From ad33b1f57ab63cc04a412d04a9abeb085d71364c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Fri, 20 Dec 2024 17:07:59 +0100 Subject: [PATCH] Update integrity hashes in admin index HTML and enhance permissions handling for server groups --- server/src/uds/REST/methods/permissions.py | 14 ++++++++++++++ server/src/uds/static/admin/main.js | 2 +- server/src/uds/templates/uds/admin/index.html | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/server/src/uds/REST/methods/permissions.py b/server/src/uds/REST/methods/permissions.py index 79731c20d..b3dc7a39b 100644 --- a/server/src/uds/REST/methods/permissions.py +++ b/server/src/uds/REST/methods/permissions.py @@ -70,6 +70,9 @@ class Permissions(Handler): 'metapools': models.MetaPool, 'accounts': models.Account, 'mfa': models.MFA, + 'servers-groups': models.ServerGroup, + 'tunnels-tunnels': models.ServerGroup, # Same as servers-groups, but different items + }.get(class_name, None) if cls is None: @@ -115,6 +118,10 @@ class Permissions(Handler): Processes get requests """ logger.debug('Permissions args for GET: %s', self._args) + + # Update some XXX/YYYY to XXX-YYYY (as server/groups, that is a valid class name) + if len(self._args) == 3: + self._args = [self._args[0]+ '-' + self._args[1], self._args[2]] if len(self._args) != 2: raise exceptions.rest.RequestError('Invalid request') @@ -129,6 +136,13 @@ class Permissions(Handler): Processes put requests """ logger.debug('Put args: %s', self._args) + + # Update some XXX/YYYY to XXX-YYYY (as server/groups, that is a valid class name) + if len(self._args) == 6: + self._args = [self._args[0]+ '-' + self._args[1], self._args[2], self._args[3], self._args[4], self._args[5]] + + if len(self._args) != 5: + raise exceptions.rest.RequestError('Invalid request') perm = uds.core.types.permissions.PermissionType.from_str(self._params.get('perm', '0')) diff --git a/server/src/uds/static/admin/main.js b/server/src/uds/static/admin/main.js index 1a6f7906e..c4ce60502 100644 --- a/server/src/uds/static/admin/main.js +++ b/server/src/uds/static/admin/main.js @@ -7,7 +7,7 @@ ${e.map((t,o)=>`${o+1}) ${t.toString()}`).join(` `)}`}var Bi=SD(_D("Optional"),8);var So=SD(_D("SkipSelf"),4);function Ha(n,i){let e=n.hasOwnProperty(nm);return e?n[nm]:null}function $F(n,i,e){if(n.length!==i.length)return!1;for(let t=0;tArray.isArray(e)?Vv(e,i):i(e))}function ED(n,i,e){i>=n.length?n.push(e):n.splice(i,0,e)}function om(n,i){return i>=n.length-1?n.pop():n.splice(i,1)[0]}function YF(n,i){let e=[];for(let t=0;ti;){let r=o-2;n[o]=n[r],o--}n[i]=e,n[i+1]=t}}function Vm(n,i,e){let t=Sc(n,i);return t>=0?n[t|1]=e:(t=~t,QF(n,t,i,e)),t}function h_(n,i){let e=Sc(n,i);if(e>=0)return n[e|1]}function Sc(n,i){return KF(n,i,1)}function KF(n,i,e){let t=0,o=n.length>>e;for(;o!==t;){let r=t+(o-t>>1),a=n[r<i?o=r:t=r+1}return~(o<{e.push(a)};return Vv(i,a=>{let s=a;k_(s,r,[],t)&&(o||=[],o.push(s))}),o!==void 0&&OD(o,r),e}function OD(n,i){for(let e=0;e{i(r,t)})}}function k_(n,i,e,t){if(n=Qn(n),!n)return!1;let o=null,r=Dx(n),a=!r&&pr(n);if(!r&&!a){let l=n.ngModule;if(r=Dx(l),r)o=l;else return!1}else{if(a&&!a.standalone)return!1;o=n}let s=t.has(o);if(a){if(s)return!1;if(t.add(o),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let m of l)k_(m,i,e,t)}}else if(r){if(r.imports!=null&&!s){t.add(o);let m;try{Vv(r.imports,g=>{k_(g,i,e,t)&&(m||=[],m.push(g))})}finally{}m!==void 0&&OD(m,i)}if(!s){let m=Ha(o)||(()=>new o);i({provide:o,useFactory:m,deps:pi},o),i({provide:ID,useValue:o,multi:!0},o),i({provide:Gs,useValue:()=>oe(o),multi:!0},o)}let l=r.providers;if(l!=null&&!s){let m=n;jv(l,g=>{i(g,m)})}}else return!1;return o!==n&&n.providers!==void 0}function jv(n,i){for(let e of n)CD(e)&&(e=e.\u0275providers),Array.isArray(e)?jv(e,i):i(e)}var XF=Zt({provide:String,useValue:Zt});function PD(n){return n!==null&&typeof n=="object"&&XF in n}function JF(n){return!!(n&&n.useExisting)}function eN(n){return!!(n&&n.useFactory)}function $s(n){return typeof n=="function"}function tN(n){return!!n.useClass}var jm=new R(""),Ku={},nN={},f_;function zm(){return f_===void 0&&(f_=new rm),f_}var An=class{},_c=class extends An{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(i,e,t,o){super(),this.parent=e,this.source=t,this.scopes=o,R_(i,a=>this.processProvider(a)),this.records.set(MD,Bs(void 0,this)),o.has("environment")&&this.records.set(An,Bs(void 0,this));let r=this.records.get(jm);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(ID,pi,ht.Self))}destroy(){mc(this),this._destroyed=!0;let i=bt(null);try{for(let t of this._ngOnDestroyHooks)t.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let t of e)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),bt(i)}}onDestroy(i){return mc(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){mc(this);let e=Qr(this),t=yi(void 0),o;try{return i()}finally{Qr(e),yi(t)}}get(i,e=gc,t=ht.Default){if(mc(this),i.hasOwnProperty(Ex))return i[Ex](this);t=Lm(t);let o,r=Qr(this),a=yi(void 0);try{if(!(t&ht.SkipSelf)){let l=this.records.get(i);if(l===void 0){let m=sN(i)&&Nm(i);m&&this.injectableDefInScope(m)?l=Bs(A_(i),Ku):l=null,this.records.set(i,l)}if(l!=null)return this.hydrate(i,l)}let s=t&ht.Self?zm():this.parent;return e=t&ht.Optional&&e===gc?null:e,s.get(i,e)}catch(s){if(s.name==="NullInjectorError"){if((s[im]=s[im]||[]).unshift(hi(i)),r)throw s;return WF(s,i,"R3InjectorError",this.source)}else throw s}finally{yi(a),Qr(r)}}resolveInjectorInitializers(){let i=bt(null),e=Qr(this),t=yi(void 0),o;try{let r=this.get(Gs,pi,ht.Self);for(let a of r)a()}finally{Qr(e),yi(t),bt(i)}}toString(){let i=[],e=this.records;for(let t of e.keys())i.push(hi(t));return`R3Injector[${i.join(", ")}]`}processProvider(i){i=Qn(i);let e=$s(i)?i:Qn(i&&i.provide),t=oN(i);if(!$s(i)&&i.multi===!0){let o=this.records.get(e);o||(o=Bs(void 0,Ku,!0),o.factory=()=>T_(o.multi),this.records.set(e,o)),e=i,o.multi.push(i)}this.records.set(e,t)}hydrate(i,e){let t=bt(null);try{return e.value===Ku&&(e.value=nN,e.value=e.factory()),typeof e.value=="object"&&e.value&&aN(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{bt(t)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=Qn(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function A_(n){let i=Nm(n),e=i!==null?i.factory:Ha(n);if(e!==null)return e;if(n instanceof R)throw new K(204,!1);if(n instanceof Function)return iN(n);throw new K(204,!1)}function iN(n){if(n.length>0)throw new K(204,!1);let e=TF(n);return e!==null?()=>e.factory(n):()=>new n}function oN(n){if(PD(n))return Bs(void 0,n.useValue);{let i=FD(n);return Bs(i,Ku)}}function FD(n,i,e){let t;if($s(n)){let o=Qn(n);return Ha(o)||A_(o)}else if(PD(n))t=()=>Qn(n.useValue);else if(eN(n))t=()=>n.useFactory(...T_(n.deps||[]));else if(JF(n))t=()=>oe(Qn(n.useExisting));else{let o=Qn(n&&(n.useClass||n.provide));if(rN(n))t=()=>new o(...T_(n.deps));else return Ha(o)||A_(o)}return t}function mc(n){if(n.destroyed)throw new K(205,!1)}function Bs(n,i,e=!1){return{factory:n,value:i,multi:e?[]:void 0}}function rN(n){return!!n.deps}function aN(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function sN(n){return typeof n=="function"||typeof n=="object"&&n instanceof R}function R_(n,i){for(let e of n)Array.isArray(e)?R_(e,i):e&&CD(e)?R_(e.\u0275providers,i):i(e)}function Ci(n,i){n instanceof _c&&mc(n);let e,t=Qr(n),o=yi(void 0);try{return i()}finally{Qr(t),yi(o)}}function ND(){return xD()!==void 0||zF()!=null}function Um(n){if(!ND())throw new K(-203,!1)}function lN(n){let i=Ni.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function cN(n){return typeof n=="function"}var qo=0,ot=1,ze=2,ai=3,xo=4,xi=5,qs=6,am=7,oi=8,Ys=9,hr=10,sn=11,vc=12,Ix=13,el=14,Li=15,Wa=16,js=17,fr=18,Hm=19,LD=20,Kr=21,Zu=22,Ga=23,Fi=24,Bn=25,zv=1;var $a=7,sm=8,Qs=9,ri=10,lm=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(lm||{});function Zr(n){return Array.isArray(n)&&typeof n[zv]=="object"}function vr(n){return Array.isArray(n)&&n[zv]===!0}function Uv(n){return(n.flags&4)!==0}function Wm(n){return n.componentOffset>-1}function Gm(n){return(n.flags&1)===1}function gr(n){return!!n.template}function O_(n){return(n[ze]&512)!==0}var P_=class{previousValue;currentValue;firstChange;constructor(i,e,t){this.previousValue=i,this.currentValue=e,this.firstChange=t}isFirstChange(){return this.firstChange}};function VD(n,i,e,t){i!==null?i.applyValueToInputSignal(i,t):n[e]=t}var Ze=(()=>{let n=()=>BD;return n.ngInherit=!0,n})();function BD(n){return n.type.prototype.ngOnChanges&&(n.setInput=uN),dN}function dN(){let n=zD(this),i=n?.current;if(i){let e=n.previous;if(e===mr)n.previous=i;else for(let t in i)e[t]=i[t];n.current=null,this.ngOnChanges(i)}}function uN(n,i,e,t,o){let r=this.declaredInputs[t],a=zD(n)||mN(n,{previous:mr,current:null}),s=a.current||(a.current={}),l=a.previous,m=l[r];s[r]=new P_(m&&m.currentValue,e,l===mr),VD(n,i,o,e)}var jD="__ngSimpleChanges__";function zD(n){return n[jD]||null}function mN(n,i){return n[jD]=i}var Tx=null;var Uo=function(n,i,e){Tx?.(n,i,e)},UD="svg",pN="math";function Wo(n){for(;Array.isArray(n);)n=n[qo];return n}function hN(n){for(;Array.isArray(n);){if(typeof n[zv]=="object")return n;n=n[qo]}return null}function HD(n,i){return Wo(i[n])}function eo(n,i){return Wo(i[n.index])}function Hv(n,i){return n.data[i]}function Wv(n,i){return n[i]}function na(n,i){let e=i[n];return Zr(e)?e:e[qo]}function fN(n){return(n[ze]&4)===4}function Gv(n){return(n[ze]&128)===128}function gN(n){return vr(n[ai])}function Xr(n,i){return i==null?null:n[i]}function WD(n){n[js]=0}function $v(n){n[ze]&1024||(n[ze]|=1024,Gv(n)&&Ec(n))}function _N(n,i){for(;n>0;)i=i[el],n--;return i}function $m(n){return!!(n[ze]&9216||n[Fi]?.dirty)}function F_(n){n[hr].changeDetectionScheduler?.notify(9),n[ze]&64&&(n[ze]|=1024),$m(n)&&Ec(n)}function Ec(n){n[hr].changeDetectionScheduler?.notify(0);let i=qa(n);for(;i!==null&&!(i[ze]&8192||(i[ze]|=8192,!Gv(i)));)i=qa(i)}function GD(n,i){if((n[ze]&256)===256)throw new K(911,!1);n[Kr]===null&&(n[Kr]=[]),n[Kr].push(i)}function vN(n,i){if(n[Kr]===null)return;let e=n[Kr].indexOf(i);e!==-1&&n[Kr].splice(e,1)}function qa(n){let i=n[ai];return vr(i)?i[ai]:i}var st={lFrame:XD(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var N_=!1;function bN(){return st.lFrame.elementDepthCount}function yN(){st.lFrame.elementDepthCount++}function wN(){st.lFrame.elementDepthCount--}function $D(){return st.bindingsEnabled}function qD(){return st.skipHydrationRootTNode!==null}function CN(n){return st.skipHydrationRootTNode===n}function xN(){st.skipHydrationRootTNode=null}function Ue(){return st.lFrame.lView}function tn(){return st.lFrame.tView}function y(n){return st.lFrame.contextLView=n,n[oi]}function w(n){return st.lFrame.contextLView=null,n}function Rn(){let n=YD();for(;n!==null&&n.type===64;)n=n.parent;return n}function YD(){return st.lFrame.currentTNode}function DN(){let n=st.lFrame,i=n.currentTNode;return n.isParent?i:i.parent}function ts(n,i){let e=st.lFrame;e.currentTNode=n,e.isParent=i}function qv(){return st.lFrame.isParent}function Yv(){st.lFrame.isParent=!1}function SN(){return st.lFrame.contextLView}function QD(){return N_}function cm(n){let i=N_;return N_=n,i}function Mc(){let n=st.lFrame,i=n.bindingRootIndex;return i===-1&&(i=n.bindingRootIndex=n.tView.bindingStartIndex),i}function EN(){return st.lFrame.bindingIndex}function MN(n){return st.lFrame.bindingIndex=n}function ia(){return st.lFrame.bindingIndex++}function Qv(n){let i=st.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+n,e}function IN(){return st.lFrame.inI18n}function TN(n,i){let e=st.lFrame;e.bindingIndex=e.bindingRootIndex=n,L_(i)}function kN(){return st.lFrame.currentDirectiveIndex}function L_(n){st.lFrame.currentDirectiveIndex=n}function Kv(n){let i=st.lFrame.currentDirectiveIndex;return i===-1?null:n[i]}function Zv(){return st.lFrame.currentQueryIndex}function qm(n){st.lFrame.currentQueryIndex=n}function AN(n){let i=n[ot];return i.type===2?i.declTNode:i.type===1?n[xi]:null}function KD(n,i,e){if(e&ht.SkipSelf){let o=i,r=n;for(;o=o.parent,o===null&&!(e&ht.Host);)if(o=AN(r),o===null||(r=r[el],o.type&10))break;if(o===null)return!1;i=o,n=r}let t=st.lFrame=ZD();return t.currentTNode=i,t.lView=n,!0}function Xv(n){let i=ZD(),e=n[ot];st.lFrame=i,i.currentTNode=e.firstChild,i.lView=n,i.tView=e,i.contextLView=n,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function ZD(){let n=st.lFrame,i=n===null?null:n.child;return i===null?XD(n):i}function XD(n){let i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return n!==null&&(n.child=i),i}function JD(){let n=st.lFrame;return st.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var eS=JD;function Jv(){let n=JD();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function RN(n){return(st.lFrame.contextLView=_N(n,st.lFrame.contextLView))[oi]}function br(){return st.lFrame.selectedIndex}function Ya(n){st.lFrame.selectedIndex=n}function tl(){let n=st.lFrame;return Hv(n.tView,n.selectedIndex)}function fn(){st.lFrame.currentNamespace=UD}function yr(){ON()}function ON(){st.lFrame.currentNamespace=null}function PN(){return st.lFrame.currentNamespace}var tS=!0;function Ym(){return tS}function Qm(n){tS=n}function FN(n,i,e){let{ngOnChanges:t,ngOnInit:o,ngDoCheck:r}=i.type.prototype;if(t){let a=BD(i);(e.preOrderHooks??=[]).push(n,a),(e.preOrderCheckHooks??=[]).push(n,a)}o&&(e.preOrderHooks??=[]).push(0-n,o),r&&((e.preOrderHooks??=[]).push(n,r),(e.preOrderCheckHooks??=[]).push(n,r))}function Km(n,i){for(let e=i.directiveStart,t=i.directiveEnd;e=t)break}else i[l]<0&&(n[js]+=65536),(s>14>16&&(n[ze]&3)===i&&(n[ze]+=16384,kx(s,r)):kx(s,r)}var Ws=-1,Qa=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,t){this.factory=i,this.canSeeViewProviders=e,this.injectImpl=t}};function LN(n){return n instanceof Qa}function VN(n){return(n.flags&8)!==0}function BN(n){return(n.flags&16)!==0}function V_(n,i,e){let t=0;for(;ti){a=r-1;break}}}for(;r>16}function um(n,i){let e=zN(n),t=i;for(;e>0;)t=t[el],e--;return t}var j_=!0;function mm(n){let i=j_;return j_=n,i}var UN=256,rS=UN-1,aS=5,HN=0,Ho={};function WN(n,i,e){let t;typeof e=="string"?t=e.charCodeAt(0)||0:e.hasOwnProperty(hc)&&(t=e[hc]),t==null&&(t=e[hc]=HN++);let o=t&rS,r=1<>aS)]|=r}function pm(n,i){let e=sS(n,i);if(e!==-1)return e;let t=i[ot];t.firstCreatePass&&(n.injectorIndex=i.length,v_(t.data,n),v_(i,null),v_(t.blueprint,null));let o=eb(n,i),r=n.injectorIndex;if(oS(o)){let a=dm(o),s=um(o,i),l=s[ot].data;for(let m=0;m<8;m++)i[r+m]=s[a+m]|l[a+m]}return i[r+8]=o,r}function v_(n,i){n.push(0,0,0,0,0,0,0,0,i)}function sS(n,i){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||i[n.injectorIndex+8]===null?-1:n.injectorIndex}function eb(n,i){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let e=0,t=null,o=i;for(;o!==null;){if(t=mS(o),t===null)return Ws;if(e++,o=o[el],t.injectorIndex!==-1)return t.injectorIndex|e<<16}return Ws}function z_(n,i,e){WN(n,i,e)}function GN(n,i){if(i==="class")return n.classes;if(i==="style")return n.styles;let e=n.attrs;if(e){let t=e.length,o=0;for(;o>20,v=t?s:s+g,D=o?s+g:m;for(let S=v;S=l&&I.type===e)return S}if(o){let S=a[l];if(S&&gr(S)&&S.type===e)return l}return null}function Ka(n,i,e,t){let o=n[e],r=i.data;if(LN(o)){let a=o;a.resolving&&NF(FF(r[e]));let s=mm(a.canSeeViewProviders);a.resolving=!0;let l,m=a.injectImpl?yi(a.injectImpl):null,g=KD(n,t,ht.Default);try{o=n[e]=a.factory(void 0,r,n,t),i.firstCreatePass&&e>=t.directiveStart&&FN(e,r[e],i)}finally{m!==null&&yi(m),mm(s),a.resolving=!1,eS()}}return o}function qN(n){if(typeof n=="string")return n.charCodeAt(0)||0;let i=n.hasOwnProperty(hc)?n[hc]:void 0;return typeof i=="number"?i>=0?i&rS:YN:i}function Rx(n,i,e){let t=1<>aS)]&t)}function Ox(n,i){return!(n&ht.Self)&&!(n&ht.Host&&i)}var za=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,t){return dS(this._tNode,this._lView,i,Lm(t),e)}};function YN(){return new za(Rn(),Ue())}function at(n){return Dc(()=>{let i=n.prototype.constructor,e=i[nm]||U_(i),t=Object.prototype,o=Object.getPrototypeOf(n.prototype).constructor;for(;o&&o!==t;){let r=o[nm]||U_(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function U_(n){return vD(n)?()=>{let i=U_(Qn(n));return i&&i()}:Ha(n)}function QN(n,i,e,t,o){let r=n,a=i;for(;r!==null&&a!==null&&a[ze]&2048&&!(a[ze]&512);){let s=uS(r,a,e,t|ht.Self,Ho);if(s!==Ho)return s;let l=r.parent;if(!l){let m=a[LD];if(m){let g=m.get(e,Ho,t);if(g!==Ho)return g}l=mS(a),a=a[el]}r=l}return o}function mS(n){let i=n[ot],e=i.type;return e===2?i.declTNode:e===1?n[xi]:null}function Zm(n){return GN(Rn(),n)}function Px(n,i=null,e=null,t){let o=pS(n,i,e,t);return o.resolveInjectorInitializers(),o}function pS(n,i=null,e=null,t,o=new Set){let r=[e||pi,ZF(n)];return t=t||(typeof n=="object"?void 0:hi(n)),new _c(r,i||zm(),t||null,o)}var Ae=class n{static THROW_IF_NOT_FOUND=gc;static NULL=new rm;static create(i,e){if(Array.isArray(i))return Px({name:""},e,i,"");{let t=i.name??"";return Px({name:t},i.parent,i.providers,t)}}static \u0275prov=P({token:n,providedIn:"any",factory:()=>oe(MD)});static __NG_ELEMENT_ID__=-1};var jn=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>Zm(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},KN=new R("");KN.__NG_ELEMENT_ID__=n=>{let i=Rn();if(i===null)throw new K(204,!1);if(i.type&2)return i.value;if(n&ht.Optional)return null;throw new K(204,!1)};var hS=!1,Ic=(()=>{class n{static __NG_ELEMENT_ID__=ZN;static __NG_ENV_ID__=e=>e}return n})(),hm=class extends Ic{_lView;constructor(i){super(),this._lView=i}onDestroy(i){return GD(this._lView,i),()=>vN(this._lView,i)}};function ZN(){return new hm(Ue())}var Za=class{},tb=new R("",{providedIn:"root",factory:()=>!1});var fS=new R(""),gS=new R(""),Yo=(()=>{class n{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Gt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=P({token:n,providedIn:"root",factory:()=>new n})}return n})();var H_=class extends j{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,ND()&&(this.destroyRef=h(Ic,{optional:!0})??void 0,this.pendingTasks=h(Yo,{optional:!0})??void 0)}emit(i){let e=bt(null);try{super.next(i)}finally{bt(e)}}subscribe(i,e,t){let o=i,r=e||(()=>null),a=t;if(i&&typeof i=="object"){let l=i;o=l.next?.bind(l),r=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:o,error:r,complete:a});return i instanceof ge&&i.add(s),s}wrapInTimeout(i){return e=>{let t=this.pendingTasks?.add();setTimeout(()=>{i(e),t!==void 0&&this.pendingTasks?.remove(t)})}}},T=H_;function yc(...n){}function _S(n){let i,e;function t(){n=yc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch{}}return i=setTimeout(()=>{n(),t()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{n(),t()})),()=>t()}function Fx(n){return queueMicrotask(()=>n()),()=>{n=yc}}var nb="isAngularZone",fm=nb+"_ID",XN=0,te=class n{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new T(!1);onMicrotaskEmpty=new T(!1);onStable=new T(!1);onError=new T(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=hS}=i;if(typeof Zone>"u")throw new K(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&t,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=r,t2(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(nb)===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new K(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new K(909,!1)}run(i,e,t){return this._inner.run(i,e,t)}runTask(i,e,t,o){let r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+o,i,JN,yc,yc);try{return r.runTask(a,e,t)}finally{r.cancelTask(a)}}runGuarded(i,e,t){return this._inner.runGuarded(i,e,t)}runOutsideAngular(i){return this._outer.run(i)}},JN={};function ib(n){if(n._nesting==0&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function e2(n){if(n.isCheckStableRunning||n.callbackScheduled)return;n.callbackScheduled=!0;function i(){_S(()=>{n.callbackScheduled=!1,W_(n),n.isCheckStableRunning=!0,ib(n),n.isCheckStableRunning=!1})}n.scheduleInRootZone?Zone.root.run(()=>{i()}):n._outer.run(()=>{i()}),W_(n)}function t2(n){let i=()=>{e2(n)},e=XN++;n._inner=n._inner.fork({name:"angular",properties:{[nb]:!0,[fm]:e,[fm+e]:!0},onInvokeTask:(t,o,r,a,s,l)=>{if(n2(l))return t.invokeTask(r,a,s,l);try{return Nx(n),t.invokeTask(r,a,s,l)}finally{(n.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&i(),Lx(n)}},onInvoke:(t,o,r,a,s,l,m)=>{try{return Nx(n),t.invoke(r,a,s,l,m)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!i2(l)&&i(),Lx(n)}},onHasTask:(t,o,r,a)=>{t.hasTask(r,a),o===r&&(a.change=="microTask"?(n._hasPendingMicrotasks=a.microTask,W_(n),ib(n)):a.change=="macroTask"&&(n.hasPendingMacrotasks=a.macroTask))},onHandleError:(t,o,r,a)=>(t.handleError(r,a),n.runOutsideAngular(()=>n.onError.emit(a)),!1)})}function W_(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function Nx(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Lx(n){n._nesting--,ib(n)}var gm=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new T;onMicrotaskEmpty=new T;onStable=new T;onError=new T;run(i,e,t){return i.apply(e,t)}runGuarded(i,e,t){return i.apply(e,t)}runOutsideAngular(i){return i()}runTask(i,e,t,o){return i.apply(e,t)}};function n2(n){return vS(n,"__ignore_ng_zone__")}function i2(n){return vS(n,"__scheduler_tick__")}function vS(n,i){return!Array.isArray(n)||n.length!==1?!1:n[0]?.data?.[i]===!0}function o2(n="zone.js",i){return n==="noop"?new gm:n==="zone.js"?new te(i):n}var wi=class{_console=console;handleError(i){this._console.error("ERROR",i)}},r2=new R("",{providedIn:"root",factory:()=>{let n=h(te),i=h(wi);return e=>n.runOutsideAngular(()=>i.handleError(e))}});function Vx(n,i){return gD(n,i)}function a2(n){return gD(fD,n)}var bS=(Vx.required=a2,Vx);function s2(){return nl(Rn(),Ue())}function nl(n,i){return new Q(eo(n,i))}var Q=(()=>{class n{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=s2}return n})();function yS(n){return n instanceof Q?n.nativeElement:n}function l2(){return this._results[Symbol.iterator]()}var Ji=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new j}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let t=qF(i);(this._changesDetected=!$F(this._results,t,e))&&(this._results=t,this.length=t.length,this.last=t[this.length-1],this.first=t[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=l2};function wS(n){return(n.flags&128)===128}var CS=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(CS||{}),xS=new Map,c2=0;function d2(){return c2++}function u2(n){xS.set(n[Hm],n)}function G_(n){xS.delete(n[Hm])}var Bx="__ngContext__";function Jr(n,i){Zr(i)?(n[Bx]=i[Hm],u2(i)):n[Bx]=i}function DS(n){return ES(n[vc])}function SS(n){return ES(n[xo])}function ES(n){for(;n!==null&&!vr(n);)n=n[xo];return n}var $_;function MS(n){$_=n}function IS(){if($_!==void 0)return $_;if(typeof document<"u")return document;throw new K(210,!1)}var il=new R("",{providedIn:"root",factory:()=>m2}),m2="ng",ob=new R(""),Eo=new R("",{providedIn:"platform",factory:()=>"unknown"});var $t=new R(""),Tc=new R("",{providedIn:"root",factory:()=>IS().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var p2="h",h2="b";var TS=!1,f2=new R("",{providedIn:"root",factory:()=>TS});var jx=new Set;function to(n){jx.has(n)||(jx.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}var zs=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(zs||{}),kS=(()=>{class n{impl=null;execute(){this.impl?.execute()}static \u0275prov=P({token:n,providedIn:"root",factory:()=>new n})}return n})(),g2=[zs.EarlyRead,zs.Write,zs.MixedReadWrite,zs.Read],_2=(()=>{class n{ngZone=h(te);scheduler=h(Za);errorHandler=h(wi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(let e of g2)for(let t of this.sequences)if(!(t.erroredOrDestroyed||!t.hooks[e]))try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[e](t.pipelinedValue))}catch(o){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(7))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static \u0275prov=P({token:n,providedIn:"root",factory:()=>new n})}return n})(),q_=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,t,o){this.impl=i,this.hooks=e,this.once=t,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function kc(n,i){!i?.injector&&Um(kc);let e=i?.injector??h(Ae);return to("NgAfterRender"),AS(n,e,i,!1)}function nn(n,i){!i?.injector&&Um(nn);let e=i?.injector??h(Ae);return to("NgAfterNextRender"),AS(n,e,i,!0)}function v2(n,i){if(n instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[i]=n,e}else return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}function AS(n,i,e,t){let o=i.get(kS);o.impl??=i.get(_2);let r=e?.phase??zs.MixedReadWrite,a=e?.manualCleanup!==!0?i.get(Ic):null,s=new q_(o.impl,v2(n,r),t,a);return o.impl.register(s),s}var b2=()=>null;function rb(n,i,e=!1){return b2(n,i,e)}var Go=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}(Go||{}),Hu;function y2(){if(Hu===void 0&&(Hu=null,Ni.trustedTypes))try{Hu=Ni.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Hu}function Xm(n){return y2()?.createHTML(n)||n}var Wu;function RS(){if(Wu===void 0&&(Wu=null,Ni.trustedTypes))try{Wu=Ni.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Wu}function zx(n){return RS()?.createHTML(n)||n}function Ux(n){return RS()?.createScriptURL(n)||n}var _r=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${hD})`}},Y_=class extends _r{getTypeName(){return"HTML"}},Q_=class extends _r{getTypeName(){return"Style"}},K_=class extends _r{getTypeName(){return"Script"}},Z_=class extends _r{getTypeName(){return"URL"}},X_=class extends _r{getTypeName(){return"ResourceURL"}};function no(n){return n instanceof _r?n.changingThisBreaksApplicationSecurity:n}function wr(n,i){let e=w2(n);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${hD})`)}return e===i}function w2(n){return n instanceof _r&&n.getTypeName()||null}function OS(n){return new Y_(n)}function PS(n){return new Q_(n)}function FS(n){return new K_(n)}function NS(n){return new Z_(n)}function LS(n){return new X_(n)}function C2(n){let i=new ev(n);return x2()?new J_(i):i}var J_=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{let e=new window.DOMParser().parseFromString(Xm(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch{return null}}},ev=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=Xm(i),e}};function x2(){try{return!!new window.DOMParser().parseFromString(Xm(""),"text/html")}catch{return!1}}var D2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jm(n){return n=String(n),n.match(D2)?n:"unsafe:"+n}function Cr(n){let i={};for(let e of n.split(","))i[e]=!0;return i}function Ac(...n){let i={};for(let e of n)for(let t in e)e.hasOwnProperty(t)&&(i[t]=!0);return i}var VS=Cr("area,br,col,hr,img,wbr"),BS=Cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jS=Cr("rp,rt"),S2=Ac(jS,BS),E2=Ac(BS,Cr("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")),M2=Ac(jS,Cr("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")),Hx=Ac(VS,E2,M2,S2),zS=Cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I2=Cr("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"),T2=Cr("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"),k2=Ac(zS,I2,T2),A2=Cr("script,style,template"),tv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,t=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?t=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,t&&e.firstChild){o.push(e),e=P2(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=O2(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(i){let e=Wx(i).toLowerCase();if(!Hx.hasOwnProperty(e))return this.sanitizedSomething=!0,!A2.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let t=i.attributes;for(let o=0;o"),!0}endElement(i){let e=Wx(i).toLowerCase();Hx.hasOwnProperty(e)&&!VS.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(Gx(i))}};function R2(n,i){return(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function O2(n){let i=n.nextSibling;if(i&&n!==i.previousSibling)throw US(i);return i}function P2(n){let i=n.firstChild;if(i&&R2(n,i))throw US(i);return i}function Wx(n){let i=n.nodeName;return typeof i=="string"?i:"FORM"}function US(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}var F2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,N2=/([^\#-~ |!])/g;function Gx(n){return n.replace(/&/g,"&").replace(F2,function(i){let e=i.charCodeAt(0),t=i.charCodeAt(1);return"&#"+((e-55296)*1024+(t-56320)+65536)+";"}).replace(N2,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var Gu;function ab(n,i){let e=null;try{Gu=Gu||C2(n);let t=i?String(i):"";e=Gu.getInertBodyElement(t);let o=5,r=t;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,t=r,r=e.innerHTML,e=Gu.getInertBodyElement(t)}while(t!==r);let s=new tv().sanitizeChildren($x(e)||e);return Xm(s)}finally{if(e){let t=$x(e)||e;for(;t.firstChild;)t.firstChild.remove()}}}function $x(n){return"content"in n&&L2(n)?n.content:null}function L2(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}var Kn=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Kn||{});function qt(n){let i=sb();return i?zx(i.sanitize(Kn.HTML,n)||""):wr(n,"HTML")?zx(no(n)):ab(IS(),Ua(n))}function Se(n){let i=sb();return i?i.sanitize(Kn.URL,n)||"":wr(n,"URL")?no(n):Jm(Ua(n))}function V2(n){let i=sb();if(i)return Ux(i.sanitize(Kn.RESOURCE_URL,n)||"");if(wr(n,"ResourceURL"))return Ux(no(n));throw new K(904,!1)}function B2(n,i){return i==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||i==="href"&&(n==="base"||n==="link")?V2:Se}function HS(n,i,e){return B2(i,e)(n)}function sb(){let n=Ue();return n&&n[hr].sanitizer}var j2=/^>|^->||--!>|)/g,U2="\u200B$1\u200B";function H2(n){return n.replace(j2,i=>i.replace(z2,U2))}function ep(n){return n.ownerDocument.defaultView}function WS(n){return n.ownerDocument}function GS(n){return n instanceof Function?n():n}var ea=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(ea||{}),$o=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}($o||{}),W2;function lb(n,i){return W2(n,i)}function Us(n,i,e,t,o){if(t!=null){let r,a=!1;vr(t)?r=t:Zr(t)&&(a=!0,t=t[qo]);let s=Wo(t);n===0&&e!==null?o==null?KS(i,e,s):_m(i,e,s,o||null,!0):n===1&&e!==null?_m(i,e,s,o||null,!0):n===2?oL(i,s,a):n===3&&i.destroyNode(s),r!=null&&aL(i,n,r,e,o)}}function G2(n,i){return n.createText(i)}function $2(n,i,e){n.setValue(i,e)}function q2(n,i){return n.createComment(H2(i))}function $S(n,i,e){return n.createElement(i,e)}function Y2(n,i){qS(n,i),i[qo]=null,i[xi]=null}function Q2(n,i,e,t,o,r){t[qo]=o,t[xi]=i,ip(n,t,e,1,o,r)}function qS(n,i){i[hr].changeDetectionScheduler?.notify(10),ip(n,i,i[sn],2,null,null)}function K2(n){let i=n[vc];if(!i)return b_(n[ot],n);for(;i;){let e=null;if(Zr(i))e=i[vc];else{let t=i[ri];t&&(e=t)}if(!e){for(;i&&!i[xo]&&i!==n;)Zr(i)&&b_(i[ot],i),i=i[ai];i===null&&(i=n),Zr(i)&&b_(i[ot],i),e=i&&i[xo]}i=e}}function Z2(n,i,e,t){let o=ri+t,r=e.length;t>0&&(e[o-1][xo]=i),t0&&(n[e-1][xo]=t[xo]);let r=om(n,ri+i);Y2(t[ot],t);let a=r[fr];a!==null&&a.detachView(r[ot]),t[ai]=null,t[xo]=null,t[ze]&=-129}return t}function tp(n,i){if(!(i[ze]&256)){let e=i[sn];e.destroyNode&&ip(n,i,e,3,null,null),K2(i)}}function b_(n,i){if(i[ze]&256)return;let e=bt(null);try{i[ze]&=-129,i[ze]|=256,i[Fi]&&Ms(i[Fi]),J2(n,i),X2(n,i),i[ot].type===1&&i[sn].destroy();let t=i[Wa];if(t!==null&&vr(i[ai])){t!==i[ai]&&cb(t,i);let o=i[fr];o!==null&&o.detachView(n)}G_(i)}finally{bt(e)}}function X2(n,i){let e=n.cleanup,t=i[am];if(e!==null)for(let a=0;a=0?t[s]():t[-s].unsubscribe(),a+=2}else{let s=t[e[a+1]];e[a].call(s)}t!==null&&(i[am]=null);let o=i[Kr];if(o!==null){i[Kr]=null;for(let a=0;a-1){let{encapsulation:r}=n.data[t.directiveStart+o];if(r===Go.None||r===Go.Emulated)return null}return eo(t,e)}}function _m(n,i,e,t,o){n.insertBefore(i,e,t,o)}function KS(n,i,e){n.appendChild(i,e)}function qx(n,i,e,t,o){t!==null?_m(n,i,e,t,o):KS(n,i,e)}function ZS(n,i){return n.parentNode(i)}function tL(n,i){return n.nextSibling(i)}function XS(n,i,e){return iL(n,i,e)}function nL(n,i,e){return n.type&40?eo(n,e):null}var iL=nL,Yx;function np(n,i,e,t){let o=QS(n,t,i),r=i[sn],a=t.parent||i[xi],s=XS(a,t,i);if(o!=null)if(Array.isArray(e))for(let l=0;l-1){let r;for(;++or?v="":v=o[g+1].toLowerCase(),t&2&&m!==v){if(wo(t))return!1;a=!0}}}}return wo(t)||a}function wo(n){return(n&1)===0}function pL(n,i,e,t){if(i===null)return-1;let o=0;if(t||!e){let r=!1;for(;o-1)for(e++;e0?'="'+s+'"':"")+"]"}else t&8?o+="."+a:t&4&&(o+=" "+a);else o!==""&&!wo(a)&&(i+=Qx(r,o),o=""),t=a,r=r||!wo(t);e++}return o!==""&&(i+=Qx(r,o)),i}function bL(n){return n.map(vL).join(",")}function yL(n){let i=[],e=[],t=1,o=2;for(;tBn&&rE(n,i,Bn,!1),Uo(a?2:0,o),e(t,o)}finally{Ya(r),Uo(a?3:1,o)}}function mb(n,i,e){if(Uv(i)){let t=bt(null);try{let o=i.directiveStart,r=i.directiveEnd;for(let a=o;anull;function ML(n,i,e,t){let o=fE(i);o.push(e),n.firstCreatePass&&gE(n).push(t,o.length-1)}function IL(n,i,e,t,o,r){let a=i?i.injectorIndex:-1,s=0;return qD()&&(s|=128),{type:e,index:t,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Kx(n,i,e,t,o){for(let r in i){if(!i.hasOwnProperty(r))continue;let a=i[r];if(a===void 0)continue;t??={};let s,l=ea.None;Array.isArray(a)?(s=a[0],l=a[1]):s=a;let m=r;if(o!==null){if(!o.hasOwnProperty(r))continue;m=o[r]}n===0?Zx(t,e,m,s,l):Zx(t,e,m,s)}return t}function Zx(n,i,e,t,o){let r;n.hasOwnProperty(e)?(r=n[e]).push(i,t):r=n[e]=[i,t],o!==void 0&&r.push(o)}function TL(n,i,e){let t=i.directiveStart,o=i.directiveEnd,r=n.data,a=i.attrs,s=[],l=null,m=null;for(let g=t;g0;){let e=n[--i];if(typeof e=="number"&&e<0)return e}return 0}function PL(n,i,e,t){let o=e.directiveStart,r=e.directiveEnd;Wm(e)&&zL(i,e,n.data[o+e.componentOffset]),n.firstCreatePass||pm(e,i),Jr(t,i);let a=e.initialInputs;for(let s=o;s{Ec(n.lView)},consumerOnSignalRead(){this.lView[Fi]=this}});function eV(n){let i=n[Fi]??Object.create(tV);return i.lView=n,i}var tV=Qe(L({},Pa),{consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let i=qa(n.lView);for(;i&&!xE(i[ot]);)i=qa(i);i&&$v(i)},consumerOnSignalRead(){this.lView[Fi]=this}});function xE(n){return n.type!==2}function DE(n){if(n[Ga]===null)return;let i=!0;for(;i;){let e=!1;for(let t of n[Ga])t.dirty&&(e=!0,t.zone===null||Zone.current===t.zone?t.run():t.zone.run(()=>t.run()));i=e&&!!(n[ze]&8192)}}var nV=100;function SE(n,i=!0,e=0){let o=n[hr].rendererFactory,r=!1;r||o.begin?.();try{iV(n,e)}catch(a){throw i&&vE(n,a),a}finally{r||o.end?.()}}function iV(n,i){let e=QD();try{cm(!0),rv(n,i);let t=0;for(;$m(n);){if(t===nV)throw new K(103,!1);t++,rv(n,1)}}finally{cm(e)}}function oV(n,i,e,t){let o=i[ze];if((o&256)===256)return;let r=!1,a=!1;Xv(i);let s=!0,l=null,m=null;r||(xE(n)?(m=KL(i),l=Es(m)):FC()===null?(s=!1,m=eV(i),l=Es(m)):i[Fi]&&(Ms(i[Fi]),i[Fi]=null));try{WD(i),MN(n.bindingStartIndex),e!==null&&lE(n,i,e,2,t);let g=(o&3)===3;if(!r)if(g){let S=n.preOrderCheckHooks;S!==null&&Xu(i,S,null)}else{let S=n.preOrderHooks;S!==null&&Ju(i,S,0,null),g_(i,0)}if(a||rV(i),DE(i),EE(i,0),n.contentQueries!==null&&hE(n,i),!r)if(g){let S=n.contentCheckHooks;S!==null&&Xu(i,S)}else{let S=n.contentHooks;S!==null&&Ju(i,S,1),g_(i,1)}wL(n,i);let v=n.components;v!==null&&IE(i,v,0);let D=n.viewQuery;if(D!==null&&ov(2,D,t),!r)if(g){let S=n.viewCheckHooks;S!==null&&Xu(i,S)}else{let S=n.viewHooks;S!==null&&Ju(i,S,2),g_(i,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),i[Zu]){for(let S of i[Zu])S();i[Zu]=null}r||(i[ze]&=-73)}catch(g){throw r||Ec(i),g}finally{m!==null&&(ic(m,l),s&&XL(m)),Jv()}}function EE(n,i){for(let e=DS(n);e!==null;e=SS(e))for(let t=ri;t-1&&(wc(i,t),om(e,t))}this._attachedToViewContainer=!1}tp(this._lView[ot],this._lView)}onDestroy(i){GD(this._lView,i)}markForCheck(){bb(this._cdRefInjectingView||this._lView,4)}markForRefresh(){$v(this._cdRefInjectingView||this._lView)}detach(){this._lView[ze]&=-129}reattach(){F_(this._lView),this._lView[ze]|=128}detectChanges(){this._lView[ze]|=1024,SE(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new K(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=O_(this._lView),e=this._lView[Wa];e!==null&&!i&&cb(e,this._lView),qS(this._lView[ot],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new K(902,!1);this._appRef=i;let e=O_(this._lView),t=this._lView[Wa];t!==null&&!e&&YS(t,this._lView),F_(this._lView)}},wt=(()=>{class n{static __NG_ELEMENT_ID__=cV}return n})(),sV=wt,lV=class extends sV{_declarationLView;_declarationTContainer;elementRef;constructor(i,e,t){super(),this._declarationLView=i,this._declarationTContainer=e,this.elementRef=t}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,e){return this.createEmbeddedViewImpl(i,e)}createEmbeddedViewImpl(i,e,t){let o=Oc(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:e,dehydratedView:t});return new Xa(o)}};function cV(){return sp(Rn(),Ue())}function sp(n,i){return n.type&4?new lV(i,n,nl(n,i)):null}var av=class{resolveComponentFactory(i){throw Error(`No component factory found for ${hi(i)}.`)}},Zs=class{static NULL=new av},Do=class{},Cc=class{},sv=class{},bm=class{},ta=class{},xr=(()=>{class n{destroyNode=null;static __NG_ELEMENT_ID__=()=>dV()}return n})();function dV(){let n=Ue(),i=Rn(),e=na(i.index,n);return(Zr(e)?e:n)[sn]}var uV=(()=>{class n{static \u0275prov=P({token:n,providedIn:"root",factory:()=>null})}return n})();function ym(n,i,e){let t=e?n.styles:null,o=e?n.classes:null,r=0;if(i!==null)for(let a=0;a0&&tE(n,e,r.join(" "))}}function vV(n,i,e){let t=n.projection=[];for(let o=0;oe()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},xm=class extends Cc{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new Cm(this.moduleType,i,[])}};function yV(n,i,e){return new Cm(n,i,e,!1)}var cv=class extends Do{injector;componentFactoryResolver=new wm(this);instance=null;constructor(i){super();let e=new _c([...i.providers,{provide:Do,useValue:this},{provide:Zs,useValue:this.componentFactoryResolver}],i.parent||zm(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function lp(n,i,e=null){return new cv({providers:n,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var wV=(()=>{class n{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let t=RD(!1,e.type),o=t.length>0?lp([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=P({token:n,providedIn:"environment",factory:()=>new n(oe(An))})}return n})();function E(n){return Dc(()=>{let i=TE(n),e=Qe(L({},i),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===CS.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&n.dependencies||null,getStandaloneInjector:i.standalone?o=>o.get(wV).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Go.Emulated,styles:n.styles||pi,_:null,schemas:n.schemas||null,tView:null,id:""});i.standalone&&to("NgStandalone"),kE(e);let t=n.dependencies;return e.directiveDefs=Dm(t,!1),e.pipeDefs=Dm(t,!0),e.id=DV(e),e})}function CV(n){return pr(n)||Bv(n)}function xV(n){return n!==null}function J(n){return Dc(()=>({type:n.type,bootstrap:n.bootstrap||pi,declarations:n.declarations||pi,imports:n.imports||pi,exports:n.exports||pi,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Jx(n,i){if(n==null)return mr;let e={};for(let t in n)if(n.hasOwnProperty(t)){let o=n[t],r,a,s=ea.None;Array.isArray(o)?(s=o[0],r=o[1],a=o[2]??r):(r=o,a=o),i?(e[r]=s!==ea.None?[t,s]:t,i[r]=a):e[r]=t}return e}function N(n){return Dc(()=>{let i=TE(n);return kE(i),i})}function Qo(n){return{type:n.type,name:n.name,factory:null,pure:n.pure!==!1,standalone:n.standalone??!0,onDestroy:n.type.prototype.ngOnDestroy||null}}function TE(n){let i={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputTransforms:null,inputConfig:n.inputs||mr,exportAs:n.exportAs||null,standalone:n.standalone??!0,signals:n.signals===!0,selectors:n.selectors||pi,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jx(n.inputs,i),outputs:Jx(n.outputs),debugInfo:null}}function kE(n){n.features?.forEach(i=>i(n))}function Dm(n,i){if(!n)return null;let e=i?kD:CV;return()=>(typeof n=="function"?n():n).map(t=>e(t)).filter(xV)}function DV(n){let i=0,e=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(let o of e)i=Math.imul(31,i)+o.charCodeAt(0)<<0;return i+=2147483648,"c"+i}var cp=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function oa(n){return typeof n=="function"&&n[ti]!==void 0}var yb=new R(""),Fc=new R(""),dp=(()=>{class n{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(e,t,o){this._ngZone=e,this.registry=t,wb||(SV(o),o.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>t.updateCb&&t.updateCb(e)?(clearTimeout(t.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,o){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==r),e()},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,t,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,o),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,o){return[]}static \u0275fac=function(t){return new(t||n)(oe(te),oe(up),oe(Fc))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),up=(()=>{class n{_applications=new Map;registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return wb?.findTestabilityInTree(this,e,t)??null}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function SV(n){wb=n}var wb;function ra(n){return!!n&&typeof n.then=="function"}function Cb(n){return!!n&&typeof n.subscribe=="function"}var mp=new R("");var AE=(()=>{class n{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t});appInits=h(mp,{optional:!0})??[];injector=h(Ae);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=Ci(this.injector,o);if(ra(r))e.push(r);else if(Cb(r)){let a=new Promise((s,l)=>{r.subscribe({complete:s,error:l})});e.push(a)}}let t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(o=>{this.reject(o)}),e.length===0&&t(),this.initialized=!0}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),RE=(()=>{class n{static \u0275prov=P({token:n,providedIn:"root",factory:()=>new Sm})}return n})(),Sm=class{queuedEffectCount=0;queues=new Map;schedule(i){this.enqueue(i)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let t=this.queues.get(e);t.has(i)||(this.queuedEffectCount++,t.add(i))}flush(){for(;this.queuedEffectCount>0;)for(let[i,e]of this.queues)i===null?this.flushQueue(e):i.run(()=>this.flushQueue(e))}flushQueue(i){for(let e of i)i.delete(e),this.queuedEffectCount--,e.run()}},pp=new R("");function EV(){WC(()=>{throw new K(600,!1)})}function MV(n){return n.isBoundToModule}var IV=10;function TV(n,i,e){try{let t=e();return ra(t)?t.catch(o=>{throw i.runOutsideAngular(()=>n.handleError(o)),o}):t}catch(t){throw i.runOutsideAngular(()=>n.handleError(t)),t}}function OE(n,i){return Array.isArray(i)?i.reduce(OE,n):L(L({},n),i)}var fi=(()=>{class n{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(r2);afterRenderManager=h(kS);zonelessEnabled=h(tb);rootEffectScheduler=h(RE);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new j;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=h(Yo).hasPendingTasks.pipe(le(e=>!e));whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:o=>{o&&t()}})}).finally(()=>{e.unsubscribe()})}_injector=h(An);get injector(){return this._injector}bootstrap(e,t){let o=e instanceof bm;if(!this._injector.get(AE).done){let D=!o&&AD(e),S=!1;throw new K(405,S)}let a;o?a=e:a=this._injector.get(Zs).resolveComponentFactory(e),this.componentTypes.push(a.componentType);let s=MV(a)?void 0:this._injector.get(Do),l=t||a.selector,m=a.create(Ae.NULL,[],l,s),g=m.location.nativeElement,v=m.injector.get(yb,null);return v?.registerApplication(g),m.onDestroy(()=>{this.detachView(m.hostView),tm(this.components,m),v?.unregisterApplication(g)}),this._loadComponent(m),m}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new K(101,!1);let e=bt(null);try{this._runningTick=!0,this.synchronize()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1,bt(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(ta,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let t=0;for(;this.dirtyFlags!==0&&t++$m(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){let t=e;tm(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let t=this._injector.get(pp,[]);[...this._bootstrapListeners,...t].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>tm(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new K(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function tm(n,i){let e=n.indexOf(i);e>-1&&n.splice(e,1)}function kV(n,i,e,t){if(!e&&!$m(n))return;SE(n,i,e&&!t?0:1)}var xoe=new RegExp(`^(\\d+)*(${h2}|${p2})*(.*)`);var AV=()=>null;function Xs(n,i){return AV(n,i)}var kt=(()=>{class n{static __NG_ELEMENT_ID__=RV}return n})();function RV(){let n=Rn();return FE(n,Ue())}var OV=kt,PE=class extends OV{_lContainer;_hostTNode;_hostLView;constructor(i,e,t){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=t}get element(){return nl(this._hostTNode,this._hostLView)}get injector(){return new za(this._hostTNode,this._hostLView)}get parentInjector(){let i=eb(this._hostTNode,this._hostLView);if(oS(i)){let e=um(i,this._hostLView),t=dm(i),o=e[ot].data[t+8];return new za(o,e)}else return new za(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=eD(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-ri}createEmbeddedView(i,e,t){let o,r;typeof t=="number"?o=t:t!=null&&(o=t.index,r=t.injector);let a=Xs(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},r,a);return this.insertImpl(s,o,Ks(this._hostTNode,a)),s}createComponent(i,e,t,o,r){let a=i&&!cN(i),s;if(a)s=e;else{let I=e||{};s=I.index,t=I.injector,o=I.projectableNodes,r=I.environmentInjector||I.ngModuleRef}let l=a?i:new Ja(pr(i)),m=t||this.parentInjector;if(!r&&l.ngModule==null){let A=(a?m:this.parentInjector).get(An,null);A&&(r=A)}let g=pr(l.componentType??{}),v=Xs(this._lContainer,g?.id??null),D=v?.firstChild??null,S=l.create(m,o,D,r);return this.insertImpl(S.hostView,s,Ks(this._hostTNode,v)),S}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,t){let o=i._lView;if(gN(o)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let l=o[ai],m=new PE(l,l[xi],l[ai]);m.detach(m.indexOf(i))}}let r=this._adjustIndex(e),a=this._lContainer;return Pc(a,o,r,t),i.attachToViewContainerRef(),ED(y_(a),r,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=eD(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),t=wc(this._lContainer,e);t&&(om(y_(this._lContainer),e),tp(t[ot],t))}detach(i){let e=this._adjustIndex(i,-1),t=wc(this._lContainer,e);return t&&om(y_(this._lContainer),e)!=null?new Xa(t):null}_adjustIndex(i,e=0){return i??this.length+e}};function eD(n){return n[sm]}function y_(n){return n[sm]||(n[sm]=[])}function FE(n,i){let e,t=i[n.index];return vr(t)?e=t:(e=pE(t,i,null,n),i[n.index]=e,ap(i,e)),FV(e,i,n,t),new PE(e,n,i)}function PV(n,i){let e=n[sn],t=e.createComment(""),o=eo(i,n),r=ZS(e,o);return _m(e,r,t,tL(e,o),!1),t}var FV=VV,NV=()=>!1;function LV(n,i,e){return NV(n,i,e)}function VV(n,i,e,t){if(n[$a])return;let o;e.type&8?o=Wo(t):o=PV(i,e),n[$a]=o}var dv=class n{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},uv=class n{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let t=i.contentQueries!==null?i.contentQueries[0]:e.length,o=[];for(let r=0;r0)t.push(a[s/2]);else{let m=r[s+1],g=i[-l];for(let v=ri;vi.trim())}function BE(n,i,e){n.queries===null&&(n.queries=new mv),n.queries.track(new pv(i,e))}function GV(n,i){let e=n.contentQueries||(n.contentQueries=[]),t=e.length?e[e.length-1]:-1;i!==t&&e.push(n.queries.length-1,i)}function Db(n,i){return n.queries.getByIndex(i)}function jE(n,i){let e=n[ot],t=Db(e,i);return t.crossesNgTemplate?hv(e,n,i,[]):NE(e,n,t,i)}function Mo(n,i){to("NgSignals");let e=GC(n),t=e[ti];return i?.equal&&(t.equal=i.equal),e.set=o=>mu(t,o),e.update=o=>$C(t,o),e.asReadonly=$V.bind(e),e}function $V(){let n=this[ti];if(n.readonlyFn===void 0){let i=()=>this();i[ti]=n,n.readonlyFn=i}return n.readonlyFn}function zE(n){return oa(n)&&typeof n.set=="function"}function UE(n,i,e){let t,o=Gg(()=>{t._dirtyCounter();let r=KV(t,n);if(i&&r===void 0)throw new K(-951,!1);return r});return t=o[ti],t._dirtyCounter=Mo(0),t._flatValue=void 0,o}function qV(n){return UE(!0,!1,n)}function YV(n){return UE(!0,!0,n)}function QV(n,i){let e=n[ti];e._lView=Ue(),e._queryIndex=i,e._queryList=xb(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(t=>t+1))}function KV(n,i){let e=n._lView,t=n._queryIndex;if(e===void 0||t===void 0||e[ze]&4)return i?void 0:pi;let o=xb(e,t),r=jE(e,t);return o.reset(r,yS),i?o.first:o._changesDetected||n._flatValue===void 0?n._flatValue=o.toArray():n._flatValue}function tD(n,i){return qV(i)}function ZV(n,i){return YV(i)}var HE=(tD.required=ZV,tD);function XV(n){let i=[],e=new Map;function t(o){let r=e.get(o);if(!r){let a=n(o);e.set(o,r=a.then(n3))}return r}return Mm.forEach((o,r)=>{let a=[];o.templateUrl&&a.push(t(o.templateUrl).then(m=>{o.template=m}));let s=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=s,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let m=o.styles.length,g=o.styleUrls;o.styleUrls.forEach((v,D)=>{s.push(""),a.push(t(v).then(S=>{s[m+D]=S,g.splice(g.indexOf(v),1),g.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&a.push(t(o.styleUrl).then(m=>{s.push(m),o.styleUrl=void 0}));let l=Promise.all(a).then(()=>i3(r));i.push(l)}),e3(),Promise.all(i).then(()=>{})}var Mm=new Map,JV=new Set;function e3(){let n=Mm;return Mm=new Map,n}function t3(){return Mm.size===0}function n3(n){return typeof n=="string"?n:n.text()}function i3(n){JV.delete(n)}function o3(n){return Object.getPrototypeOf(n.prototype).constructor}function _e(n){let i=o3(n.type),e=!0,t=[n];for(;i;){let o;if(gr(n))o=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new K(903,!1);o=i.\u0275dir}if(o){if(e){t.push(o);let a=n;a.inputs=$u(n.inputs),a.inputTransforms=$u(n.inputTransforms),a.declaredInputs=$u(n.declaredInputs),a.outputs=$u(n.outputs);let s=o.hostBindings;s&&c3(n,s);let l=o.viewQuery,m=o.contentQueries;if(l&&s3(n,l),m&&l3(n,m),r3(n,o),MF(n.outputs,o.outputs),gr(o)&&o.data.animation){let g=n.data;g.animation=(g.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let a=0;a=0;t--){let o=n[t];o.hostVars=i+=o.hostVars,o.hostAttrs=bc(o.hostAttrs,e=bc(e,o.hostAttrs))}}function $u(n){return n===mr?{}:n===pi?[]:n}function s3(n,i){let e=n.viewQuery;e?n.viewQuery=(t,o)=>{i(t,o),e(t,o)}:n.viewQuery=i}function l3(n,i){let e=n.contentQueries;e?n.contentQueries=(t,o,r)=>{i(t,o,r),e(t,o,r)}:n.contentQueries=i}function c3(n,i){let e=n.hostBindings;e?n.hostBindings=(t,o)=>{i(t,o),e(t,o)}:n.hostBindings=i}function WE(n){let i=e=>{let t=Array.isArray(n);e.hostDirectives===null?(e.findHostDirectiveDefs=GE,e.hostDirectives=t?n.map(fv):[n]):t?e.hostDirectives.unshift(...n.map(fv)):e.hostDirectives.unshift(n)};return i.ngInherit=!0,i}function GE(n,i,e){if(n.hostDirectives!==null)for(let t of n.hostDirectives)if(typeof t=="function"){let o=t();for(let r of o)nD(fv(r),i,e)}else nD(t,i,e)}function nD(n,i,e){let t=Bv(n.directive);d3(t.declaredInputs,n.inputs),GE(t,i,e),e.set(t,n),i.push(t)}function fv(n){return typeof n=="function"?{directive:Qn(n),inputs:mr,outputs:mr}:{directive:Qn(n.directive),inputs:iD(n.inputs),outputs:iD(n.outputs)}}function iD(n){if(n===void 0||n.length===0)return mr;let i={};for(let e=0;e>17&32767}function v3(n){return(n&2)==2}function b3(n,i){return n&131071|i<<17}function gv(n){return n|2}function Js(n){return(n&131068)>>2}function w_(n,i){return n&-131069|i<<2}function y3(n){return(n&1)===1}function _v(n){return n|1}function w3(n,i,e,t,o,r){let a=r?i.classBindings:i.styleBindings,s=es(a),l=Js(a);n[t]=e;let m=!1,g;if(Array.isArray(e)){let v=e;g=v[1],(g===null||Sc(v,g)>0)&&(m=!0)}else g=e;if(o)if(l!==0){let D=es(n[s+1]);n[t+1]=qu(D,s),D!==0&&(n[D+1]=w_(n[D+1],t)),n[s+1]=b3(n[s+1],t)}else n[t+1]=qu(s,0),s!==0&&(n[s+1]=w_(n[s+1],t)),s=t;else n[t+1]=qu(l,0),s===0?s=t:n[l+1]=w_(n[l+1],t),l=t;m&&(n[t+1]=gv(n[t+1])),oD(n,g,t,!0),oD(n,g,t,!1),C3(i,g,n,t,r),a=qu(s,l),r?i.classBindings=a:i.styleBindings=a}function C3(n,i,e,t,o){let r=o?n.residualClasses:n.residualStyles;r!=null&&typeof i=="string"&&Sc(r,i)>=0&&(e[t+1]=_v(e[t+1]))}function oD(n,i,e,t){let o=n[e+1],r=i===null,a=t?es(o):Js(o),s=!1;for(;a!==0&&(s===!1||r);){let l=n[a],m=n[a+1];x3(l,i)&&(s=!0,n[a+1]=t?_v(m):gv(m)),a=t?es(m):Js(m)}s&&(n[e+1]=t?gv(o):_v(o))}function x3(n,i){return n===null||i==null||(Array.isArray(n)?n[1]:n)===i?!0:Array.isArray(n)&&typeof i=="string"?Sc(n,i)>=0:!1}var Co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function D3(n){return n.substring(Co.key,Co.keyEnd)}function S3(n){return E3(n),YE(n,QE(n,0,Co.textEnd))}function YE(n,i){let e=Co.textEnd;return e===i?-1:(i=Co.keyEnd=M3(n,Co.key=i,e),QE(n,i,e))}function E3(n){Co.key=0,Co.keyEnd=0,Co.value=0,Co.valueEnd=0,Co.textEnd=n.length}function QE(n,i,e){for(;i32;)i++;return i}function p(n,i,e){let t=Ue(),o=ia();if(Vi(t,o,i)){let r=tn(),a=tl();Rc(r,a,t,n,i,t[sn],e,!1)}return p}function vv(n,i,e,t,o){let r=i.inputs,a=o?"class":"style";_b(n,e,r[a],a,t)}function zn(n,i,e){return ZE(n,i,e,!1),zn}function ne(n,i){return ZE(n,i,null,!0),ne}function Yt(n){XE(O3,KE,n,!0)}function KE(n,i){for(let e=S3(i);e>=0;e=YE(i,e))Vm(n,D3(i),!0)}function ZE(n,i,e,t){let o=Ue(),r=tn(),a=Qv(2);if(r.firstUpdatePass&&eM(r,n,a,t),i!==Di&&Vi(o,a,i)){let s=r.data[br()];tM(r,s,o,o[sn],n,o[a+1]=F3(i,e),t,a)}}function XE(n,i,e,t){let o=tn(),r=Qv(2);o.firstUpdatePass&&eM(o,null,r,t);let a=Ue();if(e!==Di&&Vi(a,r,e)){let s=o.data[br()];if(nM(s,t)&&!JE(o,r)){let l=t?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=E_(l,e||"")),vv(o,s,a,e,t)}else P3(o,s,a,a[sn],a[r+1],a[r+1]=R3(n,i,e),t,r)}}function JE(n,i){return i>=n.expandoStartIndex}function eM(n,i,e,t){let o=n.data;if(o[e+1]===null){let r=o[br()],a=JE(n,e);nM(r,t)&&i===null&&!a&&(i=!1),i=I3(o,r,i,t),w3(o,r,i,e,a,t)}}function I3(n,i,e,t){let o=Kv(n),r=t?i.residualClasses:i.residualStyles;if(o===null)(t?i.classBindings:i.styleBindings)===0&&(e=C_(null,n,i,e,t),e=xc(e,i.attrs,t),r=null);else{let a=i.directiveStylingLast;if(a===-1||n[a]!==o)if(e=C_(o,n,i,e,t),r===null){let l=T3(n,i,t);l!==void 0&&Array.isArray(l)&&(l=C_(null,n,i,l[1],t),l=xc(l,i.attrs,t),k3(n,i,t,l))}else r=A3(n,i,t)}return r!==void 0&&(t?i.residualClasses=r:i.residualStyles=r),e}function T3(n,i,e){let t=e?i.classBindings:i.styleBindings;if(Js(t)!==0)return n[es(t)]}function k3(n,i,e,t){let o=e?i.classBindings:i.styleBindings;n[es(o)]=t}function A3(n,i,e){let t,o=i.directiveEnd;for(let r=1+i.directiveStylingLast;r0;){let l=n[o],m=Array.isArray(l),g=m?l[1]:l,v=g===null,D=e[o+1];D===Di&&(D=v?pi:void 0);let S=v?h_(D,t):g===t?D:void 0;if(m&&!Tm(S)&&(S=h_(l,t)),Tm(S)&&(s=S,a))return s;let I=n[o+1];o=a?es(I):Js(I)}if(i!==null){let l=r?i.residualClasses:i.residualStyles;l!=null&&(s=h_(l,t))}return s}function Tm(n){return n!==void 0}function F3(n,i){return n==null||n===""||(typeof i=="string"?n=n+i:typeof n=="object"&&(n=hi(no(n)))),n}function nM(n,i){return(n.flags&(i?8:16))!==0}function iM(n,i,e){let t=Ue(),o=Mb(t,n,i,e);XE(Vm,KE,o,!0)}var bv=class{destroy(i){}updateValue(i,e){}swap(i,e){let t=Math.min(i,e),o=Math.max(i,e),r=this.detach(o);if(o-t>1){let a=this.detach(t);this.attach(t,r),this.attach(o,a)}else this.attach(t,r)}move(i,e){this.attach(e,this.detach(i))}};function x_(n,i,e,t,o){return n===e&&Object.is(i,t)?1:Object.is(o(n,i),o(e,t))?-1:0}function N3(n,i,e){let t,o,r=0,a=n.length-1,s=void 0;if(Array.isArray(i)){let l=i.length-1;for(;r<=a&&r<=l;){let m=n.at(r),g=i[r],v=x_(r,m,r,g,e);if(v!==0){v<0&&n.updateValue(r,g),r++;continue}let D=n.at(a),S=i[l],I=x_(a,D,l,S,e);if(I!==0){I<0&&n.updateValue(a,S),a--,l--;continue}let A=e(r,m),Y=e(a,D),V=e(r,g);if(Object.is(V,Y)){let he=e(l,S);Object.is(he,A)?(n.swap(r,a),n.updateValue(a,S),l--,a--):n.move(a,r),n.updateValue(r,g),r++;continue}if(t??=new km,o??=sD(n,r,a,e),yv(n,t,r,V))n.updateValue(r,g),r++,a++;else if(o.has(V))t.set(A,n.detach(r)),a--;else{let he=n.create(r,i[r]);n.attach(r,he),r++,a++}}for(;r<=l;)aD(n,t,e,r,i[r]),r++}else if(i!=null){let l=i[Symbol.iterator](),m=l.next();for(;!m.done&&r<=a;){let g=n.at(r),v=m.value,D=x_(r,g,r,v,e);if(D!==0)D<0&&n.updateValue(r,v),r++,m=l.next();else{t??=new km,o??=sD(n,r,a,e);let S=e(r,v);if(yv(n,t,r,S))n.updateValue(r,v),r++,a++,m=l.next();else if(!o.has(S))n.attach(r,n.create(r,v)),r++,a++,m=l.next();else{let I=e(r,g);t.set(I,n.detach(r)),a--}}}for(;!m.done;)aD(n,t,e,n.length,m.value),m=l.next()}for(;r<=a;)n.destroy(n.detach(a--));t?.forEach(l=>{n.destroy(l)})}function yv(n,i,e,t){return i!==void 0&&i.has(t)?(n.attach(e,i.get(t)),i.delete(t),!0):!1}function aD(n,i,e,t,o){if(yv(n,i,t,e(t,o)))n.updateValue(t,o);else{let r=n.create(t,o);n.attach(t,r)}}function sD(n,i,e,t){let o=new Set;for(let r=i;r<=e;r++)o.add(t(r,n.at(r)));return o}var km=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let t=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(t);)t=o.get(t);o.set(t,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,t]of this.kvMap)if(i(t,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(t);)t=o.get(t),i(t,e)}}};function Ce(n,i){to("NgControlFlow");let e=Ue(),t=ia(),o=e[t]!==Di?e[t]:-1,r=o!==-1?Am(e,Bn+o):void 0,a=0;if(Vi(e,t,n)){let s=bt(null);try{if(r!==void 0&&wE(r,a),n!==-1){let l=Bn+n,m=Am(e,l),g=Dv(e[ot],l),v=Xs(m,g.tView.ssrId),D=Oc(e,g,i,{dehydratedView:v});Pc(m,D,a,Ks(g,v))}}finally{bt(s)}}else if(r!==void 0){let s=yE(r,a);s!==void 0&&(s[oi]=i)}}var wv=class{lContainer;$implicit;$index;constructor(i,e,t){this.lContainer=i,this.$implicit=e,this.$index=t}get $count(){return this.lContainer.length-ri}};function Nc(n,i){return i}var Cv=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,t){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=t}};function Dr(n,i,e,t,o,r,a,s,l,m,g,v,D){to("NgControlFlow");let S=Ue(),I=tn(),A=l!==void 0,Y=Ue(),V=s?a.bind(Y[Li][oi]):a,he=new Cv(A,V);Y[Bn+n]=he,Im(S,I,n+1,i,e,t,o,Xr(I.consts,r)),A&&Im(S,I,n+2,l,m,g,v,Xr(I.consts,D))}var xv=class extends bv{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,t){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=t}get length(){return this.lContainer.length-ri}at(i){return this.getLView(i)[oi].$implicit}attach(i,e){let t=e[qs];this.needsIndexUpdate||=i!==this.length,Pc(this.lContainer,e,i,Ks(this.templateTNode,t))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,L3(this.lContainer,i)}create(i,e){let t=Xs(this.lContainer,this.templateTNode.tView.ssrId),o=Oc(this.hostLView,this.templateTNode,new wv(this.lContainer,e,i),{dehydratedView:t});return this.operationsCounter?.recordCreate(),o}destroy(i){tp(i[ot],i),this.operationsCounter?.recordDestroy()}updateValue(i,e){this.getLView(i)[oi].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i(Qm(!0),$S(t,o,PN()));function z3(n,i,e,t,o){let r=i.consts,a=Xr(r,t),s=ol(i,n,8,"ng-container",a);a!==null&&ym(s,a,!0);let l=Xr(r,o);return gb(i,e,s,l),i.queries!==null&&i.queries.elementStart(i,s),s}function ut(n,i,e){let t=Ue(),o=tn(),r=n+Bn,a=o.firstCreatePass?z3(r,o,t,i,e):o.data[r];ts(a,!0);let s=U3(o,t,a,n);return t[r]=s,Ym()&&np(o,t,s,a),Jr(s,t),Gm(a)&&(pb(o,t,a),mb(o,a,t)),e!=null&&hb(t,a),ut}function mt(){let n=Rn(),i=tn();return qv()?Yv():(n=n.parent,ts(n,!1)),i.firstCreatePass&&(Km(i,n),Uv(n)&&i.queries.elementEnd(n)),mt}function Cn(n,i,e){return ut(n,i,e),mt(),Cn}var U3=(n,i,e,t)=>(Qm(!0),q2(i[sn],""));function k(){return Ue()}function En(n,i,e){let t=Ue(),o=ia();if(Vi(t,o,i)){let r=tn(),a=tl();Rc(r,a,t,n,i,t[sn],e,!0)}return En}function Lc(n,i,e){let t=Ue(),o=ia();if(Vi(t,o,i)){let r=tn(),a=tl(),s=Kv(r.data),l=_E(s,a,t);Rc(r,a,t,n,i,l,e,!0)}return Lc}var Rm="en-US";var H3=Rm;function W3(n){typeof n=="string"&&(H3=n.toLowerCase().replace(/_/g,"-"))}var G3=(n,i,e)=>{};function b(n,i,e,t){let o=Ue(),r=tn(),a=Rn();return Ib(r,o,o[sn],a,n,i,t),b}function Vc(n,i){let e=Rn(),t=Ue(),o=tn(),r=Kv(o.data),a=_E(r,e,t);return Ib(o,t,a,e,n,i),Vc}function $3(n,i,e,t){let o=n.cleanup;if(o!=null)for(let r=0;rl?s[l]:null}typeof a=="string"&&(r+=2)}return null}function Ib(n,i,e,t,o,r,a){let s=Gm(t),m=n.firstCreatePass&&gE(n),g=i[oi],v=fE(i),D=!0;if(t.type&3||a){let A=eo(t,i),Y=a?a(A):A,V=v.length,he=a?Dt=>a(Wo(Dt[t.index])):t.index,Ve=null;if(!a&&s&&(Ve=$3(n,i,o,t.index)),Ve!==null){let Dt=Ve.__ngLastListenerFn__||Ve;Dt.__ngNextListenerFn__=r,Ve.__ngLastListenerFn__=r,D=!1}else{r=cD(t,i,g,r),G3(A,o,r);let Dt=e.listen(Y,o,r);v.push(r,Dt),m&&m.push(o,he,V,V+1)}}else r=cD(t,i,g,r);let S=t.outputs,I;if(D&&S!==null&&(I=S[o])){let A=I.length;if(A)for(let Y=0;Y-1?na(n.index,i):i;bb(a,5);let s=lD(i,e,t,r),l=o.__ngNextListenerFn__;for(;l;)s=lD(i,e,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function _(n=1){return RN(n)}function q3(n,i){let e=null,t=hL(n);for(let o=0;o=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),i[e]=t}function be(n){let i=SN();return Wv(i,Bn+n)}function f(n,i=""){let e=Ue(),t=tn(),o=n+Bn,r=t.firstCreatePass?ol(t,o,1,i,null):t.data[o],a=K3(t,e,r,i,n);e[o]=a,Ym()&&np(t,e,a,r),ts(r,!1)}var K3=(n,i,e,t,o)=>(Qm(!0),G2(i[sn],t));function Ge(n){return O("",n,""),Ge}function O(n,i,e){let t=Ue(),o=Mb(t,n,i,e);return o!==Di&&bE(t,br(),o),O}function Er(n,i,e,t,o){let r=Ue(),a=_3(r,n,i,e,t,o);return a!==Di&&bE(r,br(),a),Er}function z(n,i,e){zE(i)&&(i=i());let t=Ue(),o=ia();if(Vi(t,o,i)){let r=tn(),a=tl();Rc(r,a,t,n,i,t[sn],e,!1)}return z}function W(n,i){let e=zE(n);return e&&n.set(i),e}function U(n,i){let e=Ue(),t=tn(),o=Rn();return Ib(t,e,e[sn],o,n,i),U}function Z3(n,i,e){let t=tn();if(t.firstCreatePass){let o=gr(n);Sv(e,t.data,t.blueprint,o,!0),Sv(i,t.data,t.blueprint,o,!1)}}function Sv(n,i,e,t,o){if(n=Qn(n),Array.isArray(n))for(let r=0;r>20;if($s(n)||!n.multi){let S=new Qa(m,o,C),I=S_(l,i,o?g:g+D,v);I===-1?(z_(pm(s,a),r,l),D_(r,n,i.length),i.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(S),a.push(S)):(e[I]=S,a[I]=S)}else{let S=S_(l,i,g+D,v),I=S_(l,i,g,g+D),A=S>=0&&e[S],Y=I>=0&&e[I];if(o&&!Y||!o&&!A){z_(pm(s,a),r,l);let V=eB(o?J3:X3,e.length,o,t,m);!o&&Y&&(e[I].providerFactory=V),D_(r,n,i.length,0),i.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(V),a.push(V)}else{let V=sM(e[o?I:S],m,!o&&t);D_(r,n,S>-1?S:I,V)}!o&&t&&Y&&e[I].componentProviders++}}}function D_(n,i,e,t){let o=$s(i),r=tN(i);if(o||r){let l=(r?Qn(i.useClass):i).prototype.ngOnDestroy;if(l){let m=n.destroyHooks||(n.destroyHooks=[]);if(!o&&i.multi){let g=m.indexOf(e);g===-1?m.push(e,[t,l]):m[g+1].push(t,l)}else m.push(e,l)}}}function sM(n,i,e){return e&&n.componentProviders++,n.multi.push(i)-1}function S_(n,i,e,t){for(let o=e;o{e.providersResolver=(t,o)=>Z3(t,o?o(n):n,i)}}function lM(n,i,e){let t=n.\u0275cmp;t.directiveDefs=Dm(i,!1),t.pipeDefs=Dm(e,!0)}function rl(n,i,e){let t=Mc()+n,o=Ue();return o[t]===Di?Eb(o,t,e?i.call(e):i()):m3(o,t)}function Un(n,i,e,t){return dM(Ue(),Mc(),n,i,e,t)}function al(n,i,e,t,o){return uM(Ue(),Mc(),n,i,e,t,o)}function cM(n,i){let e=n[i];return e===Di?void 0:e}function dM(n,i,e,t,o,r){let a=i+e;return Vi(n,a,o)?Eb(n,a+1,r?t.call(r,o):t(o)):cM(n,a+1)}function uM(n,i,e,t,o,r,a){let s=i+e;return qE(n,s,o,r)?Eb(n,s+2,a?t.call(a,o,r):t(o,r)):cM(n,s+2)}function gt(n,i){let e=tn(),t,o=n+Bn;e.firstCreatePass?(t=tB(i,e.pipeRegistry),e.data[o]=t,t.onDestroy&&(e.destroyHooks??=[]).push(o,t.onDestroy)):t=e.data[o];let r=t.factory||(t.factory=Ha(t.type,!0)),a,s=yi(C);try{let l=mm(!1),m=r();return mm(l),Q3(e,Ue(),o,m),m}finally{yi(s)}}function tB(n,i){if(i)for(let e=i.length-1;e>=0;e--){let t=i[e];if(n===t.name)return t}}function Ct(n,i,e){let t=n+Bn,o=Ue(),r=Wv(o,t);return mM(o,t)?dM(o,Mc(),i,r.transform,e,r):r.transform(e)}function Tb(n,i,e,t){let o=n+Bn,r=Ue(),a=Wv(r,o);return mM(r,o)?uM(r,Mc(),i,a.transform,e,t,a):a.transform(e,t)}function mM(n,i){return n[ot].data[i].pure}function gn(n,i){return sp(n,i)}var Yu=null;function nB(n){Yu!==null&&(n.defaultEncapsulation!==Yu.defaultEncapsulation||n.preserveWhitespaces!==Yu.preserveWhitespaces)||(Yu=n)}var Mv=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},hp=(()=>{class n{compileModuleSync(e){return new xm(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let t=this.compileModuleSync(e),o=TD(e),r=GS(o.declarations).reduce((a,s)=>{let l=pr(s);return l&&a.push(new Ja(l)),a},[]);return new Mv(t,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),iB=new R("");function oB(n,i,e){let t=new xm(e);return Promise.resolve(t)}function dD(n){for(let i=n.length-1;i>=0;i--)if(n[i]!==void 0)return n[i]}var rB=(()=>{class n{zone=h(te);changeDetectionScheduler=h(Za);applicationRef=h(fi);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function aB({ngZoneFactory:n,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return n??=()=>new te(Qe(L({},pM()),{scheduleInRootZone:e})),[{provide:te,useFactory:n},{provide:Gs,multi:!0,useFactory:()=>{let t=h(rB,{optional:!0});return()=>t.initialize()}},{provide:Gs,multi:!0,useFactory:()=>{let t=h(sB);return()=>{t.initialize()}}},i===!0?{provide:fS,useValue:!0}:[],{provide:gS,useValue:e??hS}]}function pM(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}var sB=(()=>{class n{subscription=new ge;initialized=!1;zone=h(te);pendingTasks=h(Yo);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var lB=(()=>{class n{appRef=h(fi);taskService=h(Yo);ngZone=h(te);zonelessEnabled=h(tb);disableScheduling=h(fS,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ge;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fm):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(gS,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof gm||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let t=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,t=!0;break}case 13:{this.appRef.dirtyFlags|=16,t=!0;break}case 14:{this.appRef.dirtyFlags|=2,t=!0;break}case 12:{t=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(t))return;let o=this.useMicrotaskScheduler?Fx:_S;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(fm+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){throw this.taskService.remove(e),t}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Fx(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function cB(){return typeof $localize<"u"&&$localize.locale||Rm}var Bc=new R("",{providedIn:"root",factory:()=>h(Bc,ht.Optional|ht.SkipSelf)||cB()});var Om=new R("");function Qu(n){return!n.moduleRef}function dB(n){let i=Qu(n)?n.r3Injector:n.moduleRef.injector,e=i.get(te);return e.run(()=>{Qu(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();let t=i.get(wi,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{t.handleError(r)}})}),Qu(n)){let r=()=>i.destroy(),a=n.platformInjector.get(Om);a.add(r),i.onDestroy(()=>{o.unsubscribe(),a.delete(r)})}else{let r=()=>n.moduleRef.destroy(),a=n.platformInjector.get(Om);a.add(r),n.moduleRef.onDestroy(()=>{tm(n.allPlatformModules,n.moduleRef),o.unsubscribe(),a.delete(r)})}return TV(t,e,()=>{let r=i.get(AE);return r.runInitializers(),r.donePromise.then(()=>{let a=i.get(Bc,Rm);if(W3(a||Rm),Qu(n)){let s=i.get(fi);return n.rootComponent!==void 0&&s.bootstrap(n.rootComponent),s}else return uB(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}function uB(n,i){let e=n.injector.get(fi);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(t=>e.bootstrap(t));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(e);else throw new K(-403,!1);i.push(n)}var hM=(()=>{class n{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,t){let o=t?.scheduleInRootZone,r=()=>o2(t?.ngZone,Qe(L({},pM({eventCoalescing:t?.ngZoneEventCoalescing,runCoalescing:t?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),a=t?.ignoreChangesOutsideZone,s=[aB({ngZoneFactory:r,ignoreChangesOutsideZone:a}),{provide:Za,useExisting:lB}],l=yV(e.moduleType,this.injector,s);return dB({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){let o=OE({},t);return oB(this.injector,o,e).then(r=>this.bootstrapModuleFactory(r,o))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new K(404,!1);this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t());let e=this._injector.get(Om,null);e&&(e.forEach(t=>t()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(t){return new(t||n)(oe(Ae))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})(),fc=null,fM=new R("");function mB(n){if(fc&&!fc.get(fM,!1))throw new K(400,!1);EV(),fc=n;let i=n.get(hM);return fB(n),i}function kb(n,i,e=[]){let t=`Platform: ${i}`,o=new R(t);return(r=[])=>{let a=gM();if(!a||a.injector.get(fM,!1)){let s=[...e,...r,{provide:o,useValue:!0}];n?n(s):mB(pB(s,t))}return hB(o)}}function pB(n=[],i){return Ae.create({name:i,providers:[{provide:jm,useValue:"platform"},{provide:Om,useValue:new Set([()=>fc=null])},...n]})}function hB(n){let i=gM();if(!i)throw new K(401,!1);return i}function gM(){return fc?.get(hM)??null}function fB(n){let i=n.get(ob,null);Ci(n,()=>{i?.forEach(e=>e())})}var Ee=(()=>{class n{static __NG_ELEMENT_ID__=gB}return n})();function gB(n){return _B(Rn(),Ue(),(n&16)===16)}function _B(n,i,e){if(Wm(n)&&!e){let t=na(n.index,i);return new Xa(t,t)}else if(n.type&175){let t=i[Li];return new Xa(t,i)}return null}var Iv=class{constructor(){}supports(i){return $E(i)}create(i){return new Tv(i)}},vB=(n,i)=>i,Tv=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(i){this._trackByFn=i||vB}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,t=this._removalsHead,o=0,r=null;for(;e||t;){let a=!t||e&&e.currentIndex{a=this._trackByFn(o,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,o),t=!0):(t&&(e=this._verifyReinsertion(e,s,a,o)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,t,o){let r;return i===null?r=this._itTail:(r=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,r,o)):(i=this._linkedRecords===null?null:this._linkedRecords.get(t,o),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,r,o)):i=this._addAfter(new kv(e,t),r,o)),i}_verifyReinsertion(i,e,t,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null);return r!==null?i=this._reinsertAfter(r,i._prev,o):i.currentIndex!=o&&(i.currentIndex=o,this._addToMoves(i,o)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,e,t){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let o=i._prevRemoved,r=i._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(i,e,t),this._addToMoves(i,t),i}_moveAfter(i,e,t){return this._unlink(i),this._insertAfter(i,e,t),this._addToMoves(i,t),i}_addAfter(i,e,t){return this._insertAfter(i,e,t),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,t){let o=e===null?this._itHead:e._next;return i._next=o,i._prev=e,o===null?this._itTail=i:o._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new Pm),this._linkedRecords.put(i),i.currentIndex=t,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,t=i._next;return e===null?this._itHead=t:e._next=t,t===null?this._itTail=e:t._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Pm),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},kv=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(i,e){this.item=i,this.trackById=e}},Av=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let t;for(t=this._head;t!==null;t=t._nextDup)if((e===null||e<=t.currentIndex)&&Object.is(t.trackById,i))return t;return null}remove(i){let e=i._prevDup,t=i._nextDup;return e===null?this._head=t:e._nextDup=t,t===null?this._tail=e:t._prevDup=e,this._head===null}},Pm=class{map=new Map;put(i){let e=i.trackById,t=this.map.get(e);t||(t=new Av,this.map.set(e,t)),t.add(i)}get(i,e){let t=i,o=this.map.get(t);return o?o.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function uD(n,i,e){let t=n.previousIndex;if(t===null)return t;let o=0;return e&&t{if(e&&e.key===o)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;t!==null;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let t=i._prev;return e._next=i,e._prev=t,i._prev=e,t&&(t._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let o=this._records.get(i);this._maybeAddToChanges(o,e);let r=o._prev,a=o._next;return r&&(r._next=a),a&&(a._prev=r),o._next=null,o._prev=null,o}let t=new Pv(i);return this._records.set(i,t),t.currentValue=e,this._addToAdditions(t),t}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;i!==null;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;i!=null;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){this._additionsHead===null?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){this._changesHead===null?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(t=>e(i[t],t))}},Pv=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function mD(){return new Ko([new Iv])}var Ko=(()=>{class n{factories;static \u0275prov=P({token:n,providedIn:"root",factory:mD});constructor(e){this.factories=e}static create(e,t){if(t!=null){let o=t.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:t=>n.create(e,t||mD()),deps:[[n,new So,new Bi]]}}find(e){let t=this.factories.find(o=>o.supports(e));if(t!=null)return t;throw new K(901,!1)}}return n})();function pD(){return new fp([new Rv])}var fp=(()=>{class n{static \u0275prov=P({token:n,providedIn:"root",factory:pD});factories;constructor(e){this.factories=e}static create(e,t){if(t){let o=t.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:t=>n.create(e,t||pD()),deps:[[n,new So,new Bi]]}}find(e){let t=this.factories.find(o=>o.supports(e));if(t)return t;throw new K(901,!1)}}return n})();var _M=kb(null,"core",[]),vM=(()=>{class n{constructor(e){}static \u0275fac=function(t){return new(t||n)(oe(fi))};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();function G(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function on(n,i=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):i}function Mr(n,i){to("NgSignals");let e=Gg(n);return i?.equal&&(e[ti].equal=i.equal),e}function Si(n){let i=bt(null);try{return n()}finally{bt(i)}}var bM=(()=>{class n{view;node;constructor(e,t){this.view=e,this.node=t}static __NG_ELEMENT_ID__=bB}return n})();function bB(){return new bM(Ue(),Rn())}var yB=!1,wB=(()=>{class n extends Sm{pendingTasks=h(Yo);taskId=null;schedule(e){super.schedule(e),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=P({token:n,providedIn:"root",factory:()=>new n})}return n})(),Fv=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(i,e,t,o,r,a){this.scheduler=i,this.effectFn=e,this.zone=t,this.injector=r,this.watcher=qC(s=>this.runEffect(s),()=>this.schedule(),a),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(i){try{this.effectFn(i)}catch(e){this.injector.get(wi,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function CB(){}function xB(n,i){to("NgSignals"),!i?.injector&&Um(CB);let e=i?.injector??h(Ae),t=i?.manualCleanup!==!0?e.get(Ic):null,o=new Fv(e.get(wB),n,typeof Zone>"u"?null:Zone.current,t,e,i?.allowSignalWrites??!1),r=e.get(Ee,null,{optional:!0});return!r||!(r._lView[ze]&8)?o.watcher.notify():(r._lView[Zu]??=[]).push(o.watcher.notify),o}var DB=yB;var Nv=class{[ti];constructor(i){this[ti]=i}destroy(){this[ti].destroy()}};function jc(n,i){if(DB)return xB(n,i);to("NgSignals"),!i?.injector&&Um(jc);let e=i?.injector??h(Ae),t=i?.manualCleanup!==!0?e.get(Ic):null,o,r=e.get(bM,null,{optional:!0}),a=e.get(Za);return r!==null&&!i?.forceRoot?(o=MB(r.view,a,n),t instanceof hm&&t._lView===r.view&&(t=null)):o=IB(n,e.get(RE),a),o.injector=e,t!==null&&(o.onDestroyFn=t.onDestroy(()=>o.destroy())),new Nv(o)}var yM=Qe(L({},Pa),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:yc,run(){if(this.dirty=!1,this.hasRun&&!oc(this))return;this.hasRun=!0;let n=t=>(this.cleanupFns??=[]).push(t),i=Es(this),e=cm(!1);try{this.maybeCleanup(),this.fn(n)}finally{cm(e),ic(this,i)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),SB=Qe(L({},yM),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Ms(this),this.onDestroyFn(),this.maybeCleanup()}}),EB=Qe(L({},yM),{consumerMarkedDirty(){this.view[ze]|=8192,Ec(this.view),this.notifier.notify(14)},destroy(){Ms(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ga]?.delete(this)}});function MB(n,i,e){let t=Object.create(EB);return t.view=n,t.zone=typeof Zone<"u"?Zone.current:null,t.notifier=i,t.fn=e,n[Ga]??=new Set,n[Ga].add(t),t.consumerMarkedDirty(t),t}function IB(n,i,e){let t=Object.create(SB);return t.fn=n,t.scheduler=i,t.notifier=e,t.zone=typeof Zone<"u"?Zone.current:null,t.scheduler.schedule(t),t.notifier.notify(13),t}function gp(n,i){let e=pr(n),t=i.elementInjector||zm();return new Ja(e).create(t,i.projectableNodes,i.hostElement,i.environmentInjector)}function wM(n){let i=pr(n);if(!i)return null;let e=new Ja(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var IM=null;function Zo(){return IM}function TM(n){IM??=n}var _p=class{};var de=new R(""),Vb=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(kB),providedIn:"platform"})}return n})(),kM=new R(""),kB=(()=>{class n extends Vb{_location;_history;_doc=h(de);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zo().getBaseHref(this._doc)}onPopState(e){let t=Zo().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=Zo().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,o){this._history.pushState(e,t,o)}replaceState(e,t,o){this._history.replaceState(e,t,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function Bb(n,i){if(n.length==0)return i;if(i.length==0)return n;let e=0;return n.endsWith("/")&&e++,i.startsWith("/")&&e++,e==2?n+i.substring(1):e==1?n+i:n+"/"+i}function CM(n){let i=n.match(/#|\?|$/),e=i&&i.index||n.length,t=e-(n[e-1]==="/"?1:0);return n.slice(0,t)+n.slice(e)}function Ir(n){return n&&n[0]!=="?"?"?"+n:n}var Tr=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(jb),providedIn:"root"})}return n})(),AM=new R(""),jb=(()=>{class n extends Tr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??h(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Bb(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+Ir(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${t}${o}`:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+Ir(r));this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+Ir(r));this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||n)(oe(Vb),oe(AM,8))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),RM=(()=>{class n extends Tr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,t!=null&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){let t=Bb(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+Ir(r));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+Ir(r));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||n)(oe(Vb),oe(AM,8))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),sa=(()=>{class n{_subject=new j;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=OB(CM(xM(t))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Ir(t))}normalize(e){return n.stripTrailingSlash(RB(this._basePath,xM(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",o=null){this._locationStrategy.pushState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ir(t)),o)}replaceState(e,t="",o=null){this._locationStrategy.replaceState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ir(t)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(o=>o(e,t))}subscribe(e,t,o){return this._subject.subscribe({next:e,error:t??void 0,complete:o??void 0})}static normalizeQueryParams=Ir;static joinWithSlash=Bb;static stripTrailingSlash=CM;static \u0275fac=function(t){return new(t||n)(oe(Tr))};static \u0275prov=P({token:n,factory:()=>AB(),providedIn:"root"})}return n})();function AB(){return new sa(oe(Tr))}function RB(n,i){if(!n||!i.startsWith(n))return i;let e=i.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function xM(n){return n.replace(/\/index.html$/,"")}function OB(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}function yp(n,i){i=encodeURIComponent(i);for(let e of n.split(";")){let t=e.indexOf("="),[o,r]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(o.trim()===i)return decodeURIComponent(r)}return null}var Ab=/\s+/,DM=[],Ei=(()=>{class n{_ngEl;_renderer;initialClasses=DM;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=e!=null?e.trim().split(Ab):DM}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ab):e}ngDoCheck(){for(let t of this.initialClasses)this._updateState(t,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(e!=null)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==t&&(o.changed=!0,o.enabled=t),o.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],o=e[1];o.changed?(this._toggleClass(t,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),o.touched=!1}}_toggleClass(e,t){e=e.trim(),e.length>0&&e.split(Ab).forEach(o=>{t?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(t){return new(t||n)(C(Q),C(xr))};static \u0275dir=N({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return n})();var Rb=class{$implicit;ngForOf;index;count;constructor(i,e,t,o){this.$implicit=i,this.ngForOf=e,this.index=t,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},$e=(()=>{class n{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,t,o){this._viewContainer=e,this._template=t,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let t=this._viewContainer;e.forEachOperation((o,r,a)=>{if(o.previousIndex==null)t.createEmbeddedView(this._template,new Rb(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)t.remove(r===null?void 0:r);else if(r!==null){let s=t.get(r);t.move(s,a),SM(s,o)}});for(let o=0,r=t.length;o{let r=t.get(o.currentIndex);SM(r,o)})}static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||n)(C(kt),C(wt),C(Ko))};static \u0275dir=N({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return n})();function SM(n,i){n.context.$implicit=i.item}var ue=(()=>{class n{_viewContainer;_context=new Ob;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){EM("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){EM("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||n)(C(kt),C(wt))};static \u0275dir=N({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return n})(),Ob=class{$implicit=null;ngIf=null};function EM(n,i){if(!!!(!i||i.createEmbeddedView))throw new Error(`${n} must be a TemplateRef, but received '${hi(i)}'.`)}var vp=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,e){this._viewContainerRef=i,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},ll=(()=>{class n{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let t=e===this._ngSwitch;return this._lastCasesMatched||=t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let t of this._defaultViews)t.enforceState(e)}}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return n})(),wp=(()=>{class n{ngSwitch;_view;ngSwitchCase;constructor(e,t,o){this.ngSwitch=o,o._addCase(),this._view=new vp(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(t){return new(t||n)(C(kt),C(wt),C(ll,9))};static \u0275dir=N({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return n})(),OM=(()=>{class n{constructor(e,t,o){o._addDefault(new vp(e,t))}static \u0275fac=function(t){return new(t||n)(C(kt),C(wt),C(ll,9))};static \u0275dir=N({type:n,selectors:[["","ngSwitchDefault",""]]})}return n})();var PM=(()=>{class n{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,t,o){this._ngEl=e,this._differs=t,this._renderer=o}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){let[o,r]=e.split("."),a=o.indexOf("-")===-1?void 0:$o.DashCase;t!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${t}${r}`:t,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(e){e.forEachRemovedItem(t=>this._setStyle(t.key,null)),e.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),e.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static \u0275fac=function(t){return new(t||n)(C(Q),C(fp),C(xr))};static \u0275dir=N({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return n})(),Cp=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,o):!1,get:(e,t,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,o)}})}static \u0275fac=function(t){return new(t||n)(C(kt))};static \u0275dir=N({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ze]})}return n})();function PB(n,i){return new K(2100,!1)}var Pb=class{createSubscription(i,e){return Si(()=>i.subscribe({next:e,error:t=>{throw t}}))}dispose(i){Si(()=>i.unsubscribe())}},Fb=class{createSubscription(i,e){return i.then(e,t=>{throw t})}dispose(i){}},FB=new Fb,NB=new Pb,FM=(()=>{class n{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(ra(e))return FB;if(Cb(e))return NB;throw PB(n,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(t){return new(t||n)(C(Ee,16))};static \u0275pipe=Qo({name:"async",type:n,pure:!1})}return n})();function LB(n,i){return{key:n,value:i}}var NM=(()=>{class n{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=MM;transform(e,t=MM){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let o=this.differ.diff(e),r=t!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(LB(a.key,a.currentValue))})),(o||r)&&(t&&this.keyValues.sort(t),this.compareFn=t),this.keyValues}static \u0275fac=function(t){return new(t||n)(C(fp,16))};static \u0275pipe=Qo({name:"keyvalue",type:n,pure:!1})}return n})();function MM(n,i){let e=n.key,t=i.key;if(e===t)return 0;if(e===void 0)return 1;if(t===void 0)return-1;if(e===null)return 1;if(t===null)return-1;if(typeof e=="string"&&typeof t=="string")return e{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})(),zb="browser",VB="server";function Ub(n){return n===zb}function xp(n){return n===VB}var LM=(()=>{class n{static \u0275prov=P({token:n,providedIn:"root",factory:()=>Ub(h(Eo))?new Nb(h(de),window):new Lb})}return n})(),Nb=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let e=BB(this.document,i);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let e=i.getBoundingClientRect(),t=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(t-r[0],o-r[1])}};function BB(n,i){let e=n.getElementById(i)||n.getElementsByName(i)[0];if(e)return e;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),o=t.currentNode;for(;o;){let r=o.shadowRoot;if(r){let a=r.getElementById(i)||r.querySelector(`[name="${i}"]`);if(a)return a}o=t.nextNode()}}return null}var Lb=class{setOffset(i){}getScrollPosition(){return[0,0]}scrollToPosition(i){}scrollToAnchor(i){}setHistoryScrollRestoration(i){}},sl=class{};var Uc=class{},Sp=class{},Io=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` `).forEach(e=>{let t=e.indexOf(":");if(t>0){let o=e.slice(0,t),r=e.slice(t+1).trim();this.addHeaderEntry(o,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let t=i.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(i.name,e);let o=(i.op==="a"?this.headers.get(e):void 0)||[];o.push(...t),this.headers.set(e,o);break;case"d":let r=i.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>r.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(i,e){let t=i.toLowerCase();this.maybeSetNormalizedName(i,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(i,e){let t=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=i.toLowerCase();this.headers.set(o,t),this.maybeSetNormalizedName(i,o)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Wb=class{encodeKey(i){return VM(i)}encodeValue(i){return VM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function jB(n,i){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[a,s]=r==-1?[i.decodeKey(o),""]:[i.decodeKey(o.slice(0,r)),i.decodeValue(o.slice(r+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}var zB=/%(\d[a-f0-9])/gi,UB={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function VM(n){return encodeURIComponent(n).replace(zB,(i,e)=>UB[e]??i)}function Dp(n){return`${n}`}var ca=class n{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Wb,i.fromString){if(i.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=jB(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let t=i.fromObject[e],o=Array.isArray(t)?t.map(Dp):[Dp(t)];this.map.set(e,o)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(t=>{let o=i[t];Array.isArray(o)?o.forEach(r=>{e.push({param:t,value:r,op:"a"})}):e.push({param:t,value:o,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Dp(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let t=this.map.get(i.param)||[],o=t.indexOf(Dp(i.value));o!==-1&&t.splice(o,1),t.length>0?this.map.set(i.param,t):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var Gb=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function HB(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function BM(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function jM(n){return typeof Blob<"u"&&n instanceof Blob}function zM(n){return typeof FormData<"u"&&n instanceof FormData}function WB(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var zc=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,t,o){this.url=e,this.method=i.toUpperCase();let r;if(HB(this.method)||o?(this.body=t!==void 0?t:null,r=o):r=t,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new Io,this.context??=new Gb,!this.params)this.params=new ca,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":sD.set(S,i.setHeaders[S]),m)),i.setParams&&(g=Object.keys(i.setParams).reduce((D,S)=>D.set(S,i.setParams[S]),g)),new n(e,t,a,{params:g,headers:m,context:v,reportProgress:l,responseType:o,withCredentials:s,transferCache:r})}},da=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(da||{}),Hc=class{headers;status;statusText;url;ok;type;constructor(i,e=200,t="OK"){this.headers=i.headers||new Io,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||t,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Ep=class n extends Hc{constructor(i={}){super(i)}type=da.ResponseHeader;clone(i={}){return new n({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},Wc=class n extends Hc{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=da.Response;clone(i={}){return new n({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},la=class extends Hc{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},$M=200,GB=204;function Hb(n,i){return{body:i,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Gc=(()=>{class n{handler;constructor(e){this.handler=e}request(e,t,o={}){let r;if(e instanceof zc)r=e;else{let l;o.headers instanceof Io?l=o.headers:l=new Io(o.headers);let m;o.params&&(o.params instanceof ca?m=o.params:m=new ca({fromObject:o.params})),r=new zc(e,t,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:m,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=ie(r).pipe(dr(l=>this.handler.handle(l)));if(e instanceof zc||o.observe==="events")return a;let s=a.pipe(je(l=>l instanceof Wc));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(le(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return s.pipe(le(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return s.pipe(le(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return s.pipe(le(l=>l.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new ca().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,o={}){return this.request("PATCH",e,Hb(o,t))}post(e,t,o={}){return this.request("POST",e,Hb(o,t))}put(e,t,o={}){return this.request("PUT",e,Hb(o,t))}static \u0275fac=function(t){return new(t||n)(oe(Uc))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),$B=/^\)\]\}',?\n/,qB="X-Request-URL";function UM(n){if(n.url)return n.url;let i=qB.toLocaleLowerCase();return n.headers.get(i)}var YB=(()=>{class n{fetchImpl=h($b,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=h(te);handle(e){return new Fe(t=>{let o=new AbortController;return this.doRequest(e,o.signal,t).then(qb,r=>t.error(new la({error:r}))),()=>o.abort()})}doRequest(e,t,o){return H(this,null,function*(){let r=this.createRequestInit(e),a;try{let S=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,L({signal:t},r)));QB(S),o.next({type:da.Sent}),a=yield S}catch(S){o.error(new la({error:S,status:S.status??0,statusText:S.statusText,url:e.urlWithParams,headers:S.headers}));return}let s=new Io(a.headers),l=a.statusText,m=UM(a)??e.urlWithParams,g=a.status,v=null;if(e.reportProgress&&o.next(new Ep({headers:s,status:g,statusText:l,url:m})),a.body){let S=a.headers.get("content-length"),I=[],A=a.body.getReader(),Y=0,V,he,Ve=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>H(this,null,function*(){for(;;){let{done:wn,value:Vt}=yield A.read();if(wn)break;if(I.push(Vt),Y+=Vt.length,e.reportProgress){he=e.responseType==="text"?(he??"")+(V??=new TextDecoder).decode(Vt,{stream:!0}):void 0;let an=()=>o.next({type:da.DownloadProgress,total:S?+S:void 0,loaded:Y,partialText:he});Ve?Ve.run(an):an()}}}));let Dt=this.concatChunks(I,Y);try{let wn=a.headers.get("Content-Type")??"";v=this.parseBody(e,Dt,wn)}catch(wn){o.error(new la({error:wn,headers:new Io(a.headers),status:a.status,statusText:a.statusText,url:UM(a)??e.urlWithParams}));return}}g===0&&(g=v?$M:0),g>=200&&g<300?(o.next(new Wc({body:v,headers:s,status:g,statusText:l,url:m})),o.complete()):o.error(new la({error:v,headers:s,status:g,statusText:l,url:m}))})}parseBody(e,t,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(t).replace($B,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(t);case"blob":return new Blob([t],{type:o});case"arraybuffer":return t.buffer}}createRequestInit(e){let t={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,a)=>t[r]=a.join(",")),e.headers.has("Accept")||(t.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(t["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:o}}concatChunks(e,t){let o=new Uint8Array(t),r=0;for(let a of e)o.set(a,r),r+=a.length;return o}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),$b=class{};function qb(){}function QB(n){n.then(qb,qb)}function qM(n,i){return i(n)}function KB(n,i){return(e,t)=>i.intercept(e,{handle:o=>n(o,t)})}function ZB(n,i,e){return(t,o)=>Ci(e,()=>i(t,r=>n(r,o)))}var XB=new R(""),Yb=new R(""),JB=new R(""),YM=new R("",{providedIn:"root",factory:()=>!0});function ej(){let n=null;return(i,e)=>{n===null&&(n=(h(XB,{optional:!0})??[]).reduceRight(KB,qM));let t=h(Yo);if(h(YM)){let r=t.add();return n(i,e).pipe(jo(()=>t.remove(r)))}else return n(i,e)}}var HM=(()=>{class n extends Uc{backend;injector;chain=null;pendingTasks=h(Yo);contributeToStability=h(YM);constructor(e,t){super(),this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=Array.from(new Set([...this.injector.get(Yb),...this.injector.get(JB,[])]));this.chain=t.reduceRight((o,r)=>ZB(o,r,this.injector),qM)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(jo(()=>this.pendingTasks.remove(t)))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||n)(oe(Sp),oe(An))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();var tj=/^\)\]\}',?\n/;function nj(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var WM=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new K(-2800,!1);let t=this.xhrFactory;return(t.\u0275loadImpl?Kt(t.\u0275loadImpl()):ie(null)).pipe(Tt(()=>new Fe(r=>{let a=t.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((A,Y)=>a.setRequestHeader(A,Y.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let A=e.detectContentTypeHeader();A!==null&&a.setRequestHeader("Content-Type",A)}if(e.responseType){let A=e.responseType.toLowerCase();a.responseType=A!=="json"?A:"text"}let s=e.serializeBody(),l=null,m=()=>{if(l!==null)return l;let A=a.statusText||"OK",Y=new Io(a.getAllResponseHeaders()),V=nj(a)||e.url;return l=new Ep({headers:Y,status:a.status,statusText:A,url:V}),l},g=()=>{let{headers:A,status:Y,statusText:V,url:he}=m(),Ve=null;Y!==GB&&(Ve=typeof a.response>"u"?a.responseText:a.response),Y===0&&(Y=Ve?$M:0);let Dt=Y>=200&&Y<300;if(e.responseType==="json"&&typeof Ve=="string"){let wn=Ve;Ve=Ve.replace(tj,"");try{Ve=Ve!==""?JSON.parse(Ve):null}catch(Vt){Ve=wn,Dt&&(Dt=!1,Ve={error:Vt,text:Ve})}}Dt?(r.next(new Wc({body:Ve,headers:A,status:Y,statusText:V,url:he||void 0})),r.complete()):r.error(new la({error:Ve,headers:A,status:Y,statusText:V,url:he||void 0}))},v=A=>{let{url:Y}=m(),V=new la({error:A,status:a.status||0,statusText:a.statusText||"Unknown Error",url:Y||void 0});r.error(V)},D=!1,S=A=>{D||(r.next(m()),D=!0);let Y={type:da.DownloadProgress,loaded:A.loaded};A.lengthComputable&&(Y.total=A.total),e.responseType==="text"&&a.responseText&&(Y.partialText=a.responseText),r.next(Y)},I=A=>{let Y={type:da.UploadProgress,loaded:A.loaded};A.lengthComputable&&(Y.total=A.total),r.next(Y)};return a.addEventListener("load",g),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),e.reportProgress&&(a.addEventListener("progress",S),s!==null&&a.upload&&a.upload.addEventListener("progress",I)),a.send(s),r.next({type:da.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",g),a.removeEventListener("timeout",v),e.reportProgress&&(a.removeEventListener("progress",S),s!==null&&a.upload&&a.upload.removeEventListener("progress",I)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(t){return new(t||n)(oe(sl))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),QM=new R(""),ij="XSRF-TOKEN",oj=new R("",{providedIn:"root",factory:()=>ij}),rj="X-XSRF-TOKEN",aj=new R("",{providedIn:"root",factory:()=>rj}),Mp=class{},sj=(()=>{class n{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,t,o){this.doc=e,this.platform=t,this.cookieName=o}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=yp(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||n)(oe(de),oe(Eo),oe(oj))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function lj(n,i){let e=n.url.toLowerCase();if(!h(QM)||n.method==="GET"||n.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(n);let t=h(Mp).getToken(),o=h(aj);return t!=null&&!n.headers.has(o)&&(n=n.clone({headers:n.headers.set(o,t)})),i(n)}var KM=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(KM||{});function cj(n,i){return{\u0275kind:n,\u0275providers:i}}function ZM(...n){let i=[Gc,WM,HM,{provide:Uc,useExisting:HM},{provide:Sp,useFactory:()=>h(YB,{optional:!0})??h(WM)},{provide:Yb,useValue:lj,multi:!0},{provide:QM,useValue:!0},{provide:Mp,useClass:sj}];for(let e of n)i.push(...e.\u0275providers);return Bm(i)}var GM=new R("");function XM(){return cj(KM.LegacyInterceptors,[{provide:GM,useFactory:ej},{provide:Yb,useExisting:GM,multi:!0}])}var Kb=class extends _p{supportsDOMEvents=!0},Zb=class n extends Kb{static makeCurrent(){TM(new n)}onAndCancel(i,e,t){return i.addEventListener(e,t),()=>{i.removeEventListener(e,t)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=dj();return e==null?null:uj(e)}resetBaseElement(){$c=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return yp(document.cookie,i)}},$c=null;function dj(){return $c=$c||document.querySelector("base"),$c?$c.getAttribute("href"):null}function uj(n){return new URL(n,document.baseURI).pathname}var Xb=class{addToWindow(i){Ni.getAngularTestability=(t,o=!0)=>{let r=i.findTestabilityInTree(t,o);if(r==null)throw new K(5103,!1);return r},Ni.getAllAngularTestabilities=()=>i.getAllTestabilities(),Ni.getAllAngularRootElements=()=>i.getAllRootElements();let e=t=>{let o=Ni.getAllAngularTestabilities(),r=o.length,a=function(){r--,r==0&&t()};o.forEach(s=>{s.whenStable(a)})};Ni.frameworkStabilizers||(Ni.frameworkStabilizers=[]),Ni.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,t){if(e==null)return null;let o=i.getTestability(e);return o??(t?Zo().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},mj=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),Jb=new R(""),oI=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,o){return this._findPluginFor(t).addEventListener(e,t,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new K(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(oe(Jb),oe(te))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),Ip=class{_doc;constructor(i){this._doc=i}manager},e0="ng-app-id";function eI(n){for(let i of n)i.remove()}function tI(n,i){let e=i.createElement("style");return e.textContent=n,e}function pj(n,i,e){let t=n.head?.querySelectorAll(`style[${e0}="${i}"]`);if(t)for(let o of t)o.textContent&&(o.removeAttribute(e0),e.set(o.textContent,{usage:0,elements:[o]}))}function t0(n,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var rI=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,o,r={}){this.doc=e,this.appId=t,this.nonce=o,this.isServer=xp(r),pj(e,t,this.inline),this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,tI);t?.forEach(o=>this.addUsage(o,this.external,t0))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(eI(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])eI(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,tI(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,t0(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(e0,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(oe(de),oe(il),oe(Tc,8),oe(Eo))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),Qb={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},i0=/%COMP%/g,aI="%COMP%",hj=`_nghost-${aI}`,fj=`_ngcontent-${aI}`,gj=!0,_j=new R("",{providedIn:"root",factory:()=>gj});function vj(n){return fj.replace(i0,n)}function bj(n){return hj.replace(i0,n)}function sI(n,i){return i.map(e=>e.replace(i0,n))}var Tp=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,o,r,a,s,l,m=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.platformId=s,this.ngZone=l,this.nonce=m,this.platformIsServer=xp(s),this.defaultRenderer=new qc(e,a,l,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===Go.ShadowDom&&(t=Qe(L({},t),{encapsulation:Go.Emulated}));let o=this.getOrCreateRenderer(e,t);return o instanceof kp?o.applyToHost(e):o instanceof Yc&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,r=o.get(t.id);if(!r){let a=this.doc,s=this.ngZone,l=this.eventManager,m=this.sharedStylesHost,g=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(t.encapsulation){case Go.Emulated:r=new kp(l,m,t,this.appId,g,a,s,v);break;case Go.ShadowDom:return new n0(l,m,e,t,a,s,this.nonce,v);default:r=new Yc(l,m,t,g,a,s,v);break}o.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(t){return new(t||n)(oe(oI),oe(rI),oe(il),oe(_j),oe(de),oe(Eo),oe(te),oe(Tc))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),qc=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,t,o){this.eventManager=i,this.doc=e,this.ngZone=t,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(Qb[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(nI(i)?i.content:i).appendChild(e)}insertBefore(i,e,t){i&&(nI(i)?i.content:i).insertBefore(e,t)}removeChild(i,e){e.remove()}selectRootElement(i,e){let t=typeof i=="string"?this.doc.querySelector(i):i;if(!t)throw new K(-5104,!1);return e||(t.textContent=""),t}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,t,o){if(o){e=o+":"+e;let r=Qb[o];r?i.setAttributeNS(r,e,t):i.setAttribute(e,t)}else i.setAttribute(e,t)}removeAttribute(i,e,t){if(t){let o=Qb[t];o?i.removeAttributeNS(o,e):i.removeAttribute(`${t}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,t,o){o&($o.DashCase|$o.Important)?i.style.setProperty(e,t,o&$o.Important?"important":""):i.style[e]=t}removeStyle(i,e,t){t&$o.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,t){i!=null&&(i[e]=t)}setValue(i,e){i.nodeValue=e}listen(i,e,t){if(typeof i=="string"&&(i=Zo().getGlobalEventTarget(this.doc,i),!i))throw new Error(`Unsupported event target ${i} for event ${e}`);return this.eventManager.addEventListener(i,e,this.decoratePreventDefault(t))}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;(this.platformIsServer?this.ngZone.runGuarded(()=>i(e)):i(e))===!1&&e.preventDefault()}}};function nI(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var n0=class extends qc{sharedStylesHost;hostEl;shadowRoot;constructor(i,e,t,o,r,a,s,l){super(i,r,a,l),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let m=sI(o.id,o.styles);for(let v of m){let D=document.createElement("style");s&&D.setAttribute("nonce",s),D.textContent=v,this.shadowRoot.appendChild(D)}let g=o.getExternalStyles?.();if(g)for(let v of g){let D=t0(v,r);s&&D.setAttribute("nonce",s),this.shadowRoot.appendChild(D)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,t){return super.insertBefore(this.nodeOrShadowRoot(i),e,t)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Yc=class extends qc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,t,o,r,a,s,l){super(i,r,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?sI(l,t.styles):t.styles,this.styleUrls=t.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},kp=class extends Yc{contentAttr;hostAttr;constructor(i,e,t,o,r,a,s,l){let m=o+"-"+t.id;super(i,e,t,r,a,s,l,m),this.contentAttr=vj(m),this.hostAttr=bj(m)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let t=super.createElement(i,e);return super.setAttribute(t,this.contentAttr,""),t}},yj=(()=>{class n extends Ip{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o){return e.addEventListener(t,o,!1),()=>this.removeEventListener(e,t,o)}removeEventListener(e,t,o){return e.removeEventListener(t,o)}static \u0275fac=function(t){return new(t||n)(oe(de))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),iI=["alt","control","meta","shift"],wj={"\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"},Cj={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},xj=(()=>{class n extends Ip{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,o){let r=n.parseEventName(t),a=n.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zo().onAndCancel(e,r.domEventName,a))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let r=n._normalizeKey(t.pop()),a="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),a="code."),iI.forEach(m=>{let g=t.indexOf(m);g>-1&&(t.splice(g,1),a+=m+".")}),a+=r,t.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(e,t){let o=wj[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),iI.forEach(a=>{if(a!==o){let s=Cj[a];s(e)&&(r+=a+".")}}),r+=o,r===t)}static eventCallback(e,t,o){return r=>{n.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>t(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(oe(de))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function Dj(){Zb.makeCurrent()}function Sj(){return new wi}function Ej(){return MS(document),document}var Mj=[{provide:Eo,useValue:zb},{provide:ob,useValue:Dj,multi:!0},{provide:de,useFactory:Ej,deps:[]}],lI=kb(_M,"browser",Mj),Ij=new R(""),Tj=[{provide:Fc,useClass:Xb,deps:[]},{provide:yb,useClass:dp,deps:[te,up,Fc]},{provide:dp,useClass:dp,deps:[te,up,Fc]}],kj=[{provide:jm,useValue:"root"},{provide:wi,useFactory:Sj,deps:[]},{provide:Jb,useClass:yj,multi:!0,deps:[de,te,Eo]},{provide:Jb,useClass:xj,multi:!0,deps:[de]},Tp,rI,oI,{provide:ta,useExisting:Tp},{provide:sl,useClass:mj,deps:[]},[]],Ap=(()=>{class n{constructor(e){}static \u0275fac=function(t){return new(t||n)(oe(Ij,12))};static \u0275mod=J({type:n});static \u0275inj=X({providers:[...kj,...Tj],imports:[cl,vM]})}return n})();var cI=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||n)(oe(de))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ns=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:function(t){let o=null;return t?o=new(t||n):o=oe(Aj),o},providedIn:"root"})}return n})(),Aj=(()=>{class n extends ns{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case Kn.NONE:return t;case Kn.HTML:return wr(t,"HTML")?no(t):ab(this._doc,String(t)).toString();case Kn.STYLE:return wr(t,"Style")?no(t):t;case Kn.SCRIPT:if(wr(t,"Script"))return no(t);throw new K(5200,!1);case Kn.URL:return wr(t,"URL")?no(t):Jm(String(t));case Kn.RESOURCE_URL:if(wr(t,"ResourceURL"))return no(t);throw new K(5201,!1);default:throw new K(5202,!1)}}bypassSecurityTrustHtml(e){return OS(e)}bypassSecurityTrustStyle(e){return PS(e)}bypassSecurityTrustScript(e){return FS(e)}bypassSecurityTrustUrl(e){return NS(e)}bypassSecurityTrustResourceUrl(e){return LS(e)}static \u0275fac=function(t){return new(t||n)(oe(de))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var dt="primary",cd=Symbol("RouteTitle"),l0=class{params;constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function fl(n){return new l0(n)}function Rj(n,i,e){let t=e.path.split("/");if(t.length>n.length||e.pathMatch==="full"&&(i.hasChildren()||t.lengtht[r]===o)}else return n===i}function wI(n){return n.length>0?n[n.length-1]:null}function ma(n){return Gr(n)?n:ra(n)?Kt(Promise.resolve(n)):ie(n)}var Pj={exact:xI,subset:DI},CI={exact:Fj,subset:Nj,ignored:()=>!0};function dI(n,i,e){return Pj[e.paths](n.root,i.root,e.matrixParams)&&CI[e.queryParams](n.queryParams,i.queryParams)&&!(e.fragment==="exact"&&n.fragment!==i.fragment)}function Fj(n,i){return Xo(n,i)}function xI(n,i,e){if(!os(n.segments,i.segments)||!Pp(n.segments,i.segments,e)||n.numberOfChildren!==i.numberOfChildren)return!1;for(let t in i.children)if(!n.children[t]||!xI(n.children[t],i.children[t],e))return!1;return!0}function Nj(n,i){return Object.keys(i).length<=Object.keys(n).length&&Object.keys(i).every(e=>yI(n[e],i[e]))}function DI(n,i,e){return SI(n,i,i.segments,e)}function SI(n,i,e,t){if(n.segments.length>e.length){let o=n.segments.slice(0,e.length);return!(!os(o,e)||i.hasChildren()||!Pp(o,e,t))}else if(n.segments.length===e.length){if(!os(n.segments,e)||!Pp(n.segments,e,t))return!1;for(let o in i.children)if(!n.children[o]||!DI(n.children[o],i.children[o],t))return!1;return!0}else{let o=e.slice(0,n.segments.length),r=e.slice(n.segments.length);return!os(n.segments,o)||!Pp(n.segments,o,t)||!n.children[dt]?!1:SI(n.children[dt],i,r,t)}}function Pp(n,i,e){return i.every((t,o)=>CI[e](n[o].parameters,t.parameters))}var Ar=class{root;queryParams;fragment;_queryParamMap;constructor(i=new Bt([],{}),e={},t=null){this.root=i,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=fl(this.queryParams),this._queryParamMap}toString(){return Bj.serialize(this)}},Bt=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fp(this)}},is=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=fl(this.parameters),this._parameterMap}toString(){return MI(this)}};function Lj(n,i){return os(n,i)&&n.every((e,t)=>Xo(e.parameters,i[t].parameters))}function os(n,i){return n.length!==i.length?!1:n.every((e,t)=>e.path===i[t].path)}function Vj(n,i){let e=[];return Object.entries(n.children).forEach(([t,o])=>{t===dt&&(e=e.concat(i(o,t)))}),Object.entries(n.children).forEach(([t,o])=>{t!==dt&&(e=e.concat(i(o,t)))}),e}var dd=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>new gl,providedIn:"root"})}return n})(),gl=class{parse(i){let e=new u0(i);return new Ar(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${Kc(i.root,!0)}`,t=Uj(i.queryParams),o=typeof i.fragment=="string"?`#${jj(i.fragment)}`:"";return`${e}${t}${o}`}},Bj=new gl;function Fp(n){return n.segments.map(i=>MI(i)).join("/")}function Kc(n,i){if(!n.hasChildren())return Fp(n);if(i){let e=n.children[dt]?Kc(n.children[dt],!1):"",t=[];return Object.entries(n.children).forEach(([o,r])=>{o!==dt&&t.push(`${o}:${Kc(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=Vj(n,(t,o)=>o===dt?[Kc(n.children[dt],!1)]:[`${o}:${Kc(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[dt]!=null?`${Fp(n)}/${e[0]}`:`${Fp(n)}/(${e.join("//")})`}}function EI(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rp(n){return EI(n).replace(/%3B/gi,";")}function jj(n){return encodeURI(n)}function d0(n){return EI(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Np(n){return decodeURIComponent(n)}function uI(n){return Np(n.replace(/\+/g,"%20"))}function MI(n){return`${d0(n.path)}${zj(n.parameters)}`}function zj(n){return Object.entries(n).map(([i,e])=>`;${d0(i)}=${d0(e)}`).join("")}function Uj(n){let i=Object.entries(n).map(([e,t])=>Array.isArray(t)?t.map(o=>`${Rp(e)}=${Rp(o)}`).join("&"):`${Rp(e)}=${Rp(t)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var Hj=/^[^\/()?;#]+/;function o0(n){let i=n.match(Hj);return i?i[0]:""}var Wj=/^[^\/()?;=#]+/;function Gj(n){let i=n.match(Wj);return i?i[0]:""}var $j=/^[^=?&#]+/;function qj(n){let i=n.match($j);return i?i[0]:""}var Yj=/^[^&#]+/;function Qj(n){let i=n.match(Yj);return i?i[0]:""}var u0=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Bt([],{}):new Bt([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let i=[];for(this.peekStartsWith("(")||i.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),i.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(i.length>0||Object.keys(e).length>0)&&(t[dt]=new Bt(i,e)),t}parseSegment(){let i=o0(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new K(4009,!1);return this.capture(i),new is(Np(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=Gj(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let o=o0(this.remaining);o&&(t=o,this.capture(t))}i[Np(e)]=Np(t)}parseQueryParam(i){let e=qj(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let a=Qj(this.remaining);a&&(t=a,this.capture(t))}let o=uI(e),r=uI(t);if(i.hasOwnProperty(o)){let a=i[o];Array.isArray(a)||(a=[a],i[o]=a),a.push(r)}else i[o]=r}parseParens(i){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=o0(this.remaining),o=this.remaining[t.length];if(o!=="/"&&o!==")"&&o!==";")throw new K(4010,!1);let r;t.indexOf(":")>-1?(r=t.slice(0,t.indexOf(":")),this.capture(r),this.capture(":")):i&&(r=dt);let a=this.parseChildren();e[r]=Object.keys(a).length===1?a[dt]:new Bt([],a),this.consumeOptional("//")}return e}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new K(4011,!1)}};function II(n){return n.segments.length>0?new Bt([],{[dt]:n}):n}function TI(n){let i={};for(let[t,o]of Object.entries(n.children)){let r=TI(o);if(t===dt&&r.segments.length===0&&r.hasChildren())for(let[a,s]of Object.entries(r.children))i[a]=s;else(r.segments.length>0||r.hasChildren())&&(i[t]=r)}let e=new Bt(n.segments,i);return Kj(e)}function Kj(n){if(n.numberOfChildren===1&&n.children[dt]){let i=n.children[dt];return new Bt(n.segments.concat(i.segments),i.children)}return n}function rs(n){return n instanceof Ar}function Zj(n,i,e=null,t=null){let o=kI(n);return AI(o,i,e,t)}function kI(n){let i;function e(r){let a={};for(let l of r.children){let m=e(l);a[l.outlet]=m}let s=new Bt(r.url,a);return r===n&&(i=s),s}let t=e(n.root),o=II(t);return i??o}function AI(n,i,e,t){let o=n;for(;o.parent;)o=o.parent;if(i.length===0)return r0(o,o,o,e,t);let r=Xj(i);if(r.toRoot())return r0(o,o,new Bt([],{}),e,t);let a=Jj(r,o,n),s=a.processChildren?Jc(a.segmentGroup,a.index,r.commands):OI(a.segmentGroup,a.index,r.commands);return r0(o,a.segmentGroup,s,e,t)}function Lp(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function nd(n){return typeof n=="object"&&n!=null&&n.outlets}function r0(n,i,e,t,o){let r={};t&&Object.entries(t).forEach(([l,m])=>{r[l]=Array.isArray(m)?m.map(g=>`${g}`):`${m}`});let a;n===i?a=e:a=RI(n,i,e);let s=II(TI(a));return new Ar(s,r,o)}function RI(n,i,e){let t={};return Object.entries(n.children).forEach(([o,r])=>{r===i?t[o]=e:t[o]=RI(r,i,e)}),new Bt(n.segments,t)}var Vp=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,t){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=t,i&&t.length>0&&Lp(t[0]))throw new K(4003,!1);let o=t.find(nd);if(o&&o!==wI(t))throw new K(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Xj(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Vp(!0,0,n);let i=0,e=!1,t=n.reduce((o,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([l,m])=>{s[l]=typeof m=="string"?m.split("/"):m}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:a===0?(r.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?i++:s!=""&&o.push(s))}),o):[...o,r]},[]);return new Vp(e,i,t)}var ml=class{segmentGroup;processChildren;index;constructor(i,e,t){this.segmentGroup=i,this.processChildren=e,this.index=t}};function Jj(n,i,e){if(n.isAbsolute)return new ml(i,!0,0);if(!e)return new ml(i,!1,NaN);if(e.parent===null)return new ml(e,!0,0);let t=Lp(n.commands[0])?0:1,o=e.segments.length-1+t;return ez(e,o,n.numberOfDoubleDots)}function ez(n,i,e){let t=n,o=i,r=e;for(;r>o;){if(r-=o,t=t.parent,!t)throw new K(4005,!1);o=t.segments.length}return new ml(t,!1,o-r)}function tz(n){return nd(n[0])?n[0].outlets:{[dt]:n}}function OI(n,i,e){if(n??=new Bt([],{}),n.segments.length===0&&n.hasChildren())return Jc(n,i,e);let t=nz(n,i,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndexr!==dt)&&n.children[dt]&&n.numberOfChildren===1&&n.children[dt].segments.length===0){let r=Jc(n.children[dt],i,e);return new Bt(n.segments,r.children)}return Object.entries(t).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[r]=OI(n.children[r],i,a))}),Object.entries(n.children).forEach(([r,a])=>{t[r]===void 0&&(o[r]=a)}),new Bt(n.segments,o)}}function nz(n,i,e){let t=0,o=i,r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;let a=n.segments[o],s=e[t];if(nd(s))break;let l=`${s}`,m=t0&&l===void 0)break;if(l&&m&&typeof m=="object"&&m.outlets===void 0){if(!pI(l,m,a))return r;t+=2}else{if(!pI(l,{},a))return r;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}function m0(n,i,e){let t=n.segments.slice(0,i),o=0;for(;o{typeof t=="string"&&(t=[t]),t!==null&&(i[e]=m0(new Bt([],{}),0,t))}),i}function mI(n){let i={};return Object.entries(n).forEach(([e,t])=>i[e]=`${t}`),i}function pI(n,i,e){return n==e.path&&Xo(i,e.parameters)}var ed="imperative",Hn=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Hn||{}),io=class{id;url;constructor(i,e){this.id=i,this.url=e}},_l=class extends io{type=Hn.NavigationStart;navigationTrigger;restoredState;constructor(i,e,t="imperative",o=null){super(i,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Jo=class extends io{urlAfterRedirects;type=Hn.NavigationEnd;constructor(i,e,t){super(i,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},zi=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(zi||{}),Bp=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Bp||{}),kr=class extends io{reason;code;type=Hn.NavigationCancel;constructor(i,e,t,o){super(i,e),this.reason=t,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ua=class extends io{reason;code;type=Hn.NavigationSkipped;constructor(i,e,t,o){super(i,e),this.reason=t,this.code=o}},id=class extends io{error;target;type=Hn.NavigationError;constructor(i,e,t,o){super(i,e),this.error=t,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},jp=class extends io{urlAfterRedirects;state;type=Hn.RoutesRecognized;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},p0=class extends io{urlAfterRedirects;state;type=Hn.GuardsCheckStart;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},h0=class extends io{urlAfterRedirects;state;shouldActivate;type=Hn.GuardsCheckEnd;constructor(i,e,t,o,r){super(i,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},f0=class extends io{urlAfterRedirects;state;type=Hn.ResolveStart;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},g0=class extends io{urlAfterRedirects;state;type=Hn.ResolveEnd;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_0=class{route;type=Hn.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},v0=class{route;type=Hn.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},b0=class{snapshot;type=Hn.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},y0=class{snapshot;type=Hn.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},w0=class{snapshot;type=Hn.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},C0=class{snapshot;type=Hn.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zp=class{routerEvent;position;anchor;type=Hn.Scroll;constructor(i,e,t){this.routerEvent=i,this.position=e,this.anchor=t}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},od=class{},vl=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function oz(n,i){return n.providers&&!n._injector&&(n._injector=lp(n.providers,i,`Route: ${n.path}`)),n._injector??i}function To(n){return n.outlet||dt}function rz(n,i){let e=n.filter(t=>To(t)===i);return e.push(...n.filter(t=>To(t)!==i)),e}function ud(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let i=n.parent;i;i=i.parent){let e=i.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var x0=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ud(this.route?.snapshot)??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new md(this.rootInjector)}},md=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let o=this.getOrCreateContext(e);o.outlet=t,this.contexts.set(e,o)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new x0(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||n)(oe(An))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Up=class{_root;constructor(i){this._root=i}get root(){return this._root.value}parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=D0(i,this._root);return e?e.children.map(t=>t.value):[]}firstChild(i){let e=D0(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=S0(i,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==i)}pathFromRoot(i){return S0(i,this._root).map(e=>e.value)}};function D0(n,i){if(n===i.value)return i;for(let e of i.children){let t=D0(n,e);if(t)return t}return null}function S0(n,i){if(n===i.value)return[i];for(let e of i.children){let t=S0(n,e);if(t.length)return t.unshift(i),t}return[]}var ji=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function ul(n){let i={};return n&&n.children.forEach(e=>i[e.value.outlet]=e),i}var Hp=class extends Up{snapshot;constructor(i,e){super(i),this.snapshot=e,P0(this,i)}toString(){return this.snapshot.toString()}};function PI(n){let i=az(n),e=new Gt([new is("",{})]),t=new Gt({}),o=new Gt({}),r=new Gt({}),a=new Gt(""),s=new Re(e,t,r,a,o,dt,n,i.root);return s.snapshot=i.root,new Hp(new ji(s,[]),i)}function az(n){let i={},e={},t={},o="",r=new pl([],i,t,o,e,dt,n,null,{});return new Gp("",new ji(r,[]))}var Re=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(i,e,t,o,r,a,s,l){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(le(m=>m[cd]))??ie(void 0),this.url=i,this.params=e,this.queryParams=t,this.fragment=o,this.data=r}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(le(i=>fl(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(le(i=>fl(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Wp(n,i,e="emptyOnly"){let t,{routeConfig:o}=n;return i!==null&&(e==="always"||o?.path===""||!i.component&&!i.routeConfig?.loadComponent)?t={params:L(L({},i.params),n.params),data:L(L({},i.data),n.data),resolve:L(L(L(L({},n.data),i.data),o?.data),n._resolvedData)}:t={params:L({},n.params),data:L({},n.data),resolve:L(L({},n.data),n._resolvedData??{})},o&&NI(o)&&(t.resolve[cd]=o.title),t}var pl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[cd]}constructor(i,e,t,o,r,a,s,l,m){this.url=i,this.params=e,this.queryParams=t,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=m}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??=fl(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=fl(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},Gp=class extends Up{url;constructor(i,e){super(e),this.url=i,P0(this,e)}toString(){return FI(this._root)}};function P0(n,i){i.value._routerState=n,i.children.forEach(e=>P0(n,e))}function FI(n){let i=n.children.length>0?` { ${n.children.map(FI).join(", ")} } `:"";return`${n.value}${i}`}function a0(n){if(n.snapshot){let i=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Xo(i.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),Xo(i.params,e.params)||n.paramsSubject.next(e.params),Oj(i.url,e.url)||n.urlSubject.next(e.url),Xo(i.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function E0(n,i){let e=Xo(n.params,i.params)&&Lj(n.url,i.url),t=!n.parent!=!i.parent;return e&&!t&&(!n.parent||E0(n.parent,i.parent))}function NI(n){return typeof n.title=="string"||n.title===null}var sz=new R(""),F0=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=dt;activateEvents=new T;deactivateEvents=new T;attachEvents=new T;detachEvents=new T;routerOutletData=bS(void 0);parentContexts=h(md);location=h(kt);changeDetector=h(Ee);inputBinder=h(Kp,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:o}=e.name;if(t)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(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new K(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new K(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new K(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new K(4013,!1);this._activatedRoute=e;let o=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new M0(e,s,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ze]})}return n})(),M0=class n{route;childContexts;parent;outletData;__ngOutletInjector(i){return new n(this.route,this.childContexts,i,this.outletData)}constructor(i,e,t,o){this.route=i,this.childContexts=e,this.parent=t,this.outletData=o}get(i,e){return i===Re?this.route:i===md?this.childContexts:i===sz?this.outletData:this.parent.get(i,e)}},Kp=new R(""),hI=(()=>{class n{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:t}=e,o=Pi([t.queryParams,t.params,t.data]).pipe(Tt(([r,a,s],l)=>(s=L(L(L({},r),a),s),l===0?ie(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||t.component===null){this.unsubscribeFromRouteData(e);return}let a=wM(t.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,r[s])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function lz(n,i,e){let t=rd(n,i._root,e?e._root:void 0);return new Hp(t,i)}function rd(n,i,e){if(e&&n.shouldReuseRoute(i.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=i.value;let o=cz(n,i,e);return new ji(t,o)}else{if(n.shouldAttach(i.value)){let r=n.retrieve(i.value);if(r!==null){let a=r.route;return a.value._futureSnapshot=i.value,a.children=i.children.map(s=>rd(n,s)),a}}let t=dz(i.value),o=i.children.map(r=>rd(n,r));return new ji(t,o)}}function cz(n,i,e){return i.children.map(t=>{for(let o of e.children)if(n.shouldReuseRoute(t.value,o.value.snapshot))return rd(n,t,o);return rd(n,t)})}function dz(n){return new Re(new Gt(n.url),new Gt(n.params),new Gt(n.queryParams),new Gt(n.fragment),new Gt(n.data),n.outlet,n.component,n)}var ad=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},LI="ngNavigationCancelingError";function $p(n,i){let{redirectTo:e,navigationBehaviorOptions:t}=rs(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,o=VI(!1,zi.Redirect);return o.url=e,o.navigationBehaviorOptions=t,o}function VI(n,i){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[LI]=!0,e.cancellationCode=i,e}function uz(n){return BI(n)&&rs(n.url)}function BI(n){return!!n&&n[LI]}var mz=(n,i,e,t)=>le(o=>(new I0(i,o.targetRouterState,o.currentRouterState,e,t).activate(n),o)),I0=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,t,o,r){this.routeReuseStrategy=i,this.futureState=e,this.currState=t,this.forwardEvent=o,this.inputBindingEnabled=r}activate(i){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,i),a0(this.futureState.root),this.activateChildRoutes(e,t,i)}deactivateChildRoutes(i,e,t){let o=ul(e);i.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,o[a],t),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,t)})}deactivateRoutes(i,e,t){let o=i.value,r=e?e.value:null;if(o===r)if(o.component){let a=t.getContext(o.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,t);else r&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let t=e.getContext(i.value.outlet),o=t&&i.value.component?t.children:e,r=ul(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);if(t&&t.outlet){let a=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:s})}}deactivateRouteAndOutlet(i,e){let t=e.getContext(i.value.outlet),o=t&&i.value.component?t.children:e,r=ul(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(i,e,t){let o=ul(e);i.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],t),this.forwardEvent(new C0(r.value.snapshot))}),i.children.length&&this.forwardEvent(new y0(i.value.snapshot))}activateRoutes(i,e,t){let o=i.value,r=e?e.value:null;if(a0(o),o===r)if(o.component){let a=t.getOrCreateContext(o.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,t);else if(o.component){let a=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),a0(s.route.value),this.activateChildRoutes(i,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(i,null,a.children)}else this.activateChildRoutes(i,null,t)}},qp=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},hl=class{component;route;constructor(i,e){this.component=i,this.route=e}};function pz(n,i,e){let t=n._root,o=i?i._root:null;return Zc(t,o,e,[t.value])}function hz(n){let i=n.routeConfig?n.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:n,guards:i}}function yl(n,i){let e=Symbol(),t=i.get(n,e);return t===e?typeof n=="function"&&!bD(n)?n:i.get(n):t}function Zc(n,i,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=ul(i);return n.children.forEach(a=>{fz(a,r[a.value.outlet],e,t.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>td(s,e.getContext(a),o)),o}function fz(n,i,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=n.value,a=i?i.value:null,s=e?e.getContext(n.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let l=gz(a,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new qp(t)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?Zc(n,i,s?s.children:null,t,o):Zc(n,i,e,t,o),l&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new hl(s.outlet.component,a))}else a&&td(i,s,o),o.canActivateChecks.push(new qp(t)),r.component?Zc(n,null,s?s.children:null,t,o):Zc(n,null,e,t,o);return o}function gz(n,i,e){if(typeof e=="function")return e(n,i);switch(e){case"pathParamsChange":return!os(n.url,i.url);case"pathParamsOrQueryParamsChange":return!os(n.url,i.url)||!Xo(n.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!E0(n,i)||!Xo(n.queryParams,i.queryParams);case"paramsChange":default:return!E0(n,i)}}function td(n,i,e){let t=ul(n),o=n.value;Object.entries(t).forEach(([r,a])=>{o.component?i?td(a,i.children.getContext(r),e):td(a,null,e):td(a,i,e)}),o.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new hl(i.outlet.component,o)):e.canDeactivateChecks.push(new hl(null,o)):e.canDeactivateChecks.push(new hl(null,o))}function pd(n){return typeof n=="function"}function _z(n){return typeof n=="boolean"}function vz(n){return n&&pd(n.canLoad)}function bz(n){return n&&pd(n.canActivate)}function yz(n){return n&&pd(n.canActivateChild)}function wz(n){return n&&pd(n.canDeactivate)}function Cz(n){return n&&pd(n.canMatch)}function jI(n){return n instanceof bo||n?.name==="EmptyError"}var Op=Symbol("INITIAL_VALUE");function bl(){return Tt(n=>Pi(n.map(i=>i.pipe(Rt(1),Et(Op)))).pipe(le(i=>{for(let e of i)if(e!==!0){if(e===Op)return Op;if(e===!1||xz(e))return e}return!0}),je(i=>i!==Op),Rt(1)))}function xz(n){return rs(n)||n instanceof ad}function Dz(n,i){return un(e=>{let{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=e;return a.length===0&&r.length===0?ie(Qe(L({},e),{guardsResult:!0})):Sz(a,t,o,n).pipe(un(s=>s&&_z(s)?Ez(t,r,n,i):ie(s)),le(s=>Qe(L({},e),{guardsResult:s})))})}function Sz(n,i,e,t){return Kt(n).pipe(un(o=>Az(o.component,o.route,e,i,t)),zo(o=>o!==!0,!0))}function Ez(n,i,e,t){return Kt(i).pipe(dr(o=>Bo(Iz(o.route.parent,t),Mz(o.route,t),kz(n,o.path,e),Tz(n,o.route,e))),zo(o=>o!==!0,!0))}function Mz(n,i){return n!==null&&i&&i(new w0(n)),ie(!0)}function Iz(n,i){return n!==null&&i&&i(new b0(n)),ie(!0)}function Tz(n,i,e){let t=i.routeConfig?i.routeConfig.canActivate:null;if(!t||t.length===0)return ie(!0);let o=t.map(r=>Xi(()=>{let a=ud(i)??e,s=yl(r,a),l=bz(s)?s.canActivate(i,n):Ci(a,()=>s(i,n));return ma(l).pipe(zo())}));return ie(o).pipe(bl())}function kz(n,i,e){let t=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(a=>hz(a)).filter(a=>a!==null).map(a=>Xi(()=>{let s=a.guards.map(l=>{let m=ud(a.node)??e,g=yl(l,m),v=yz(g)?g.canActivateChild(t,n):Ci(m,()=>g(t,n));return ma(v).pipe(zo())});return ie(s).pipe(bl())}));return ie(r).pipe(bl())}function Az(n,i,e,t,o){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return ie(!0);let a=r.map(s=>{let l=ud(i)??o,m=yl(s,l),g=wz(m)?m.canDeactivate(n,i,e,t):Ci(l,()=>m(n,i,e,t));return ma(g).pipe(zo())});return ie(a).pipe(bl())}function Rz(n,i,e,t){let o=i.canLoad;if(o===void 0||o.length===0)return ie(!0);let r=o.map(a=>{let s=yl(a,n),l=vz(s)?s.canLoad(i,e):Ci(n,()=>s(i,e));return ma(l)});return ie(r).pipe(bl(),zI(t))}function zI(n){return Xg(Ht(i=>{if(typeof i!="boolean")throw $p(n,i)}),le(i=>i===!0))}function Oz(n,i,e,t){let o=i.canMatch;if(!o||o.length===0)return ie(!0);let r=o.map(a=>{let s=yl(a,n),l=Cz(s)?s.canMatch(i,e):Ci(n,()=>s(i,e));return ma(l)});return ie(r).pipe(bl(),zI(t))}var sd=class{segmentGroup;constructor(i){this.segmentGroup=i||null}},ld=class extends Error{urlTree;constructor(i){super(),this.urlTree=i}};function dl(n){return Vo(new sd(n))}function Pz(n){return Vo(new K(4e3,!1))}function Fz(n){return Vo(VI(!1,zi.GuardRejected))}var T0=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),o.numberOfChildren===0)return ie(t);if(o.numberOfChildren>1||!o.children[dt])return Pz(`${i.redirectTo}`);o=o.children[dt]}}applyRedirectCommands(i,e,t,o,r){if(typeof e!="string"){let s=e,{queryParams:l,fragment:m,routeConfig:g,url:v,outlet:D,params:S,data:I,title:A}=o,Y=Ci(r,()=>s({params:S,data:I,queryParams:l,fragment:m,routeConfig:g,url:v,outlet:D,title:A}));if(Y instanceof Ar)throw new ld(Y);e=Y}let a=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),i,t);if(e[0]==="/")throw new ld(a);return a}applyRedirectCreateUrlTree(i,e,t,o){let r=this.createSegmentGroup(i,e.root,t,o);return new Ar(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let t={};return Object.entries(i).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let s=r.substring(1);t[o]=e[s]}else t[o]=r}),t}createSegmentGroup(i,e,t,o){let r=this.createSegments(i,e.segments,t,o),a={};return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(i,l,t,o)}),new Bt(r,a)}createSegments(i,e,t,o){return e.map(r=>r.path[0]===":"?this.findPosParam(i,r,o):this.findOrReturn(r,t))}findPosParam(i,e,t){let o=t[e.path.substring(1)];if(!o)throw new K(4001,!1);return o}findOrReturn(i,e){let t=0;for(let o of e){if(o.path===i.path)return e.splice(t),o;t++}return i}},k0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Nz(n,i,e,t,o){let r=UI(n,i,e);return r.matched?(t=oz(i,t),Oz(t,i,e,o).pipe(le(a=>a===!0?r:L({},k0)))):ie(r)}function UI(n,i,e){if(i.path==="**")return Lz(e);if(i.path==="")return i.pathMatch==="full"&&(n.hasChildren()||e.length>0)?L({},k0):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(i.matcher||Rj)(e,n,i);if(!o)return L({},k0);let r={};Object.entries(o.posParams??{}).forEach(([s,l])=>{r[s]=l.path});let a=o.consumed.length>0?L(L({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function Lz(n){return{matched:!0,parameters:n.length>0?wI(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function fI(n,i,e,t){return e.length>0&&jz(n,e,t)?{segmentGroup:new Bt(i,Bz(t,new Bt(e,n.children))),slicedSegments:[]}:e.length===0&&zz(n,e,t)?{segmentGroup:new Bt(n.segments,Vz(n,e,t,n.children)),slicedSegments:e}:{segmentGroup:new Bt(n.segments,n.children),slicedSegments:e}}function Vz(n,i,e,t){let o={};for(let r of e)if(Zp(n,i,r)&&!t[To(r)]){let a=new Bt([],{});o[To(r)]=a}return L(L({},t),o)}function Bz(n,i){let e={};e[dt]=i;for(let t of n)if(t.path===""&&To(t)!==dt){let o=new Bt([],{});e[To(t)]=o}return e}function jz(n,i,e){return e.some(t=>Zp(n,i,t)&&To(t)!==dt)}function zz(n,i,e){return e.some(t=>Zp(n,i,t))}function Zp(n,i,e){return(n.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Uz(n,i,e){return i.length===0&&!n.children[e]}var A0=class{};function Hz(n,i,e,t,o,r,a="emptyOnly"){return new R0(n,i,e,t,o,a,r).recognize()}var Wz=31,R0=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(i,e,t,o,r,a,s){this.injector=i,this.configLoader=e,this.rootComponentType=t,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new T0(this.urlSerializer,this.urlTree)}noMatchError(i){return new K(4002,`'${i.segmentGroup}'`)}recognize(){let i=fI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(i).pipe(le(({children:e,rootSnapshot:t})=>{let o=new ji(t,e),r=new Gp("",o),a=Zj(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),{state:r,tree:a}}))}match(i){let e=new pl([],Object.freeze({}),Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),dt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,i,dt,e).pipe(le(t=>({children:t,rootSnapshot:e})),Yn(t=>{if(t instanceof ld)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof sd?this.noMatchError(t):t}))}processSegmentGroup(i,e,t,o,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(i,e,t,r):this.processSegment(i,e,t,t.segments,o,!0,r).pipe(le(a=>a instanceof ji?[a]:[]))}processChildren(i,e,t,o){let r=[];for(let a of Object.keys(t.children))a==="primary"?r.unshift(a):r.push(a);return Kt(r).pipe(dr(a=>{let s=t.children[a],l=rz(e,a);return this.processSegmentGroup(i,l,s,a,o)}),d_((a,s)=>(a.push(...s),a)),qr(null),c_(),un(a=>{if(a===null)return dl(t);let s=HI(a);return Gz(s),ie(s)}))}processSegment(i,e,t,o,r,a,s){return Kt(e).pipe(dr(l=>this.processSegmentAgainstRoute(l._injector??i,e,l,t,o,r,a,s).pipe(Yn(m=>{if(m instanceof sd)return ie(null);throw m}))),zo(l=>!!l),Yn(l=>{if(jI(l))return Uz(t,o,r)?ie(new A0):dl(t);throw l}))}processSegmentAgainstRoute(i,e,t,o,r,a,s,l){return To(t)!==a&&(a===dt||!Zp(o,r,t))?dl(o):t.redirectTo===void 0?this.matchSegmentAgainstRoute(i,o,t,r,a,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(i,o,e,t,r,a,l):dl(o)}expandSegmentAgainstRouteUsingRedirect(i,e,t,o,r,a,s){let{matched:l,parameters:m,consumedSegments:g,positionalParamSegments:v,remainingSegments:D}=UI(e,o,r);if(!l)return dl(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Wz&&(this.allowRedirects=!1));let S=new pl(r,m,Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,gI(o),To(o),o.component??o._loadedComponent??null,o,_I(o)),I=Wp(S,s,this.paramsInheritanceStrategy);S.params=Object.freeze(I.params),S.data=Object.freeze(I.data);let A=this.applyRedirects.applyRedirectCommands(g,o.redirectTo,v,S,i);return this.applyRedirects.lineralizeSegments(o,A).pipe(un(Y=>this.processSegment(i,t,e,Y.concat(D),a,!1,s)))}matchSegmentAgainstRoute(i,e,t,o,r,a){let s=Nz(e,t,o,i,this.urlSerializer);return t.path==="**"&&(e.children={}),s.pipe(Tt(l=>l.matched?(i=t._injector??i,this.getChildConfig(i,t,o).pipe(Tt(({routes:m})=>{let g=t._loadedInjector??i,{parameters:v,consumedSegments:D,remainingSegments:S}=l,I=new pl(D,v,Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,gI(t),To(t),t.component??t._loadedComponent??null,t,_I(t)),A=Wp(I,a,this.paramsInheritanceStrategy);I.params=Object.freeze(A.params),I.data=Object.freeze(A.data);let{segmentGroup:Y,slicedSegments:V}=fI(e,D,S,m);if(V.length===0&&Y.hasChildren())return this.processChildren(g,m,Y,I).pipe(le(Ve=>new ji(I,Ve)));if(m.length===0&&V.length===0)return ie(new ji(I,[]));let he=To(t)===r;return this.processSegment(g,m,Y,V,he?dt:r,!0,I).pipe(le(Ve=>new ji(I,Ve instanceof ji?[Ve]:[])))}))):dl(e)))}getChildConfig(i,e,t){return e.children?ie({routes:e.children,injector:i}):e.loadChildren?e._loadedRoutes!==void 0?ie({routes:e._loadedRoutes,injector:e._loadedInjector}):Rz(i,e,t,this.urlSerializer).pipe(un(o=>o?this.configLoader.loadChildren(i,e).pipe(Ht(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):Fz(e))):ie({routes:[],injector:i})}};function Gz(n){n.sort((i,e)=>i.value.outlet===dt?-1:e.value.outlet===dt?1:i.value.outlet.localeCompare(e.value.outlet))}function $z(n){let i=n.value.routeConfig;return i&&i.path===""}function HI(n){let i=[],e=new Set;for(let t of n){if(!$z(t)){i.push(t);continue}let o=i.find(r=>t.value.routeConfig===r.value.routeConfig);o!==void 0?(o.children.push(...t.children),e.add(o)):i.push(t)}for(let t of e){let o=HI(t.children);i.push(new ji(t.value,o))}return i.filter(t=>!e.has(t))}function gI(n){return n.data||{}}function _I(n){return n.resolve||{}}function qz(n,i,e,t,o,r){return un(a=>Hz(n,i,e,t,a.extractedUrl,o,r).pipe(le(({state:s,tree:l})=>Qe(L({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function Yz(n,i){return un(e=>{let{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return ie(e);let r=new Set(o.map(l=>l.route)),a=new Set;for(let l of r)if(!a.has(l))for(let m of WI(l))a.add(m);let s=0;return Kt(a).pipe(dr(l=>r.has(l)?Qz(l,t,n,i):(l.data=Wp(l,l.parent,n).resolve,ie(void 0))),Ht(()=>s++),Vs(1),un(l=>s===a.size?ie(e):kn))})}function WI(n){let i=n.children.map(e=>WI(e)).flat();return[n,...i]}function Qz(n,i,e,t){let o=n.routeConfig,r=n._resolve;return o?.title!==void 0&&!NI(o)&&(r[cd]=o.title),Kz(r,n,i,t).pipe(le(a=>(n._resolvedData=a,n.data=Wp(n,n.parent,e).resolve,null)))}function Kz(n,i,e,t){let o=c0(n);if(o.length===0)return ie({});let r={};return Kt(o).pipe(un(a=>Zz(n[a],i,e,t).pipe(zo(),Ht(s=>{if(s instanceof ad)throw $p(new gl,s);r[a]=s}))),Vs(1),dc(r),Yn(a=>jI(a)?kn:Vo(a)))}function Zz(n,i,e,t){let o=ud(i)??t,r=yl(n,o),a=r.resolve?r.resolve(i,e):Ci(o,()=>r(i,e));return ma(a)}function s0(n){return Tt(i=>{let e=n(i);return e?Kt(e).pipe(le(()=>i)):ie(i)})}var GI=(()=>{class n{buildTitle(e){let t,o=e.root;for(;o!==void 0;)t=this.getResolvedTitleForRoute(o)??t,o=o.children.find(r=>r.outlet===dt);return t}getResolvedTitleForRoute(e){return e.data[cd]}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(Xz),providedIn:"root"})}return n})(),Xz=(()=>{class n extends GI{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||n)(oe(cI))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),hd=new R("",{providedIn:"root",factory:()=>({})}),Jz=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,o){t&1&&M(0,"router-outlet")},dependencies:[F0],encapsulation:2})}return n})();function N0(n){let i=n.children&&n.children.map(N0),e=i?Qe(L({},n),{children:i}):L({},n);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==dt&&(e.component=Jz),e}var Yp=new R(""),L0=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(hp);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ie(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let t=ma(e.loadComponent()).pipe(le($I),Ht(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),jo(()=>{this.componentLoaders.delete(e)})),o=new Wr(t,()=>new j).pipe(As());return this.componentLoaders.set(e,o),o}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return ie({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let r=e4(t,this.compiler,e,this.onLoadEndListener).pipe(jo(()=>{this.childrenLoaders.delete(t)})),a=new Wr(r,()=>new j).pipe(As());return this.childrenLoaders.set(t,a),a}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function e4(n,i,e,t){return ma(n.loadChildren()).pipe(le($I),un(o=>o instanceof Cc||Array.isArray(o)?ie(o):Kt(i.compileModuleAsync(o))),le(o=>{t&&t(n);let r,a,s=!1;return Array.isArray(o)?(a=o,s=!0):(r=o.create(e).injector,a=r.get(Yp,[],{optional:!0,self:!0}).flat()),{routes:a.map(N0),injector:r}}))}function t4(n){return n&&typeof n=="object"&&"default"in n}function $I(n){return t4(n)?n.default:n}var V0=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(n4),providedIn:"root"})}return n})(),n4=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),qI=new R(""),YI=new R("");function i4(n,i,e){let t=n.get(YI),o=n.get(de);return n.get(te).runOutsideAngular(()=>{if(!o.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(m=>setTimeout(m));let r,a=new Promise(m=>{r=m}),s=o.startViewTransition(()=>(r(),o4(n))),{onViewTransitionCreated:l}=t;return l&&Ci(n,()=>l({transition:s,from:i,to:e})),a})}function o4(n){return new Promise(i=>{nn({read:()=>setTimeout(i)},{injector:n})})}var QI=new R(""),B0=(()=>{class n{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new j;transitionAbortSubject=new j;configLoader=h(L0);environmentInjector=h(An);urlSerializer=h(dd);rootContexts=h(md);location=h(sa);inputBindingEnabled=h(Kp,{optional:!0})!==null;titleStrategy=h(GI);options=h(hd,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(V0);createViewTransition=h(qI,{optional:!0});navigationErrorHandler=h(QI,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>ie(void 0);rootComponentType=null;constructor(){let e=o=>this.events.next(new _0(o)),t=o=>this.events.next(new v0(o));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;this.transitions?.next(Qe(L(L({},this.transitions.value),e),{id:t}))}setupNavigations(e,t,o){return this.transitions=new Gt({id:0,currentUrlTree:t,currentRawUrl:t,extractedUrl:this.urlHandlingStrategy.extract(t),urlAfterRedirects:this.urlHandlingStrategy.extract(t),rawUrl:t,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ed,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(je(r=>r.id!==0),le(r=>Qe(L({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Tt(r=>{let a=!1,s=!1;return ie(r).pipe(Tt(l=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",zi.SupersededByNewNavigation),kn;this.currentTransition=r,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?Qe(L({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let m=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),g=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!m&&g!=="reload"){let v="";return this.events.next(new ua(l.id,this.urlSerializer.serialize(l.rawUrl),v,Bp.IgnoredSameUrlNavigation)),l.resolve(!1),kn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return ie(l).pipe(Tt(v=>{let D=this.transitions?.getValue();return this.events.next(new _l(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),D!==this.transitions?.getValue()?kn:Promise.resolve(v)}),qz(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Ht(v=>{r.targetSnapshot=v.targetSnapshot,r.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=Qe(L({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let D=new jp(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(D)}));if(m&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:v,extractedUrl:D,source:S,restoredState:I,extras:A}=l,Y=new _l(v,this.urlSerializer.serialize(D),S,I);this.events.next(Y);let V=PI(this.rootComponentType).snapshot;return this.currentTransition=r=Qe(L({},l),{targetSnapshot:V,urlAfterRedirects:D,extras:Qe(L({},A),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,ie(r)}else{let v="";return this.events.next(new ua(l.id,this.urlSerializer.serialize(l.extractedUrl),v,Bp.IgnoredByUrlHandlingStrategy)),l.resolve(!1),kn}}),Ht(l=>{let m=new p0(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(m)}),le(l=>(this.currentTransition=r=Qe(L({},l),{guards:pz(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),r)),Dz(this.environmentInjector,l=>this.events.next(l)),Ht(l=>{if(r.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw $p(this.urlSerializer,l.guardsResult);let m=new h0(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(m)}),je(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",zi.GuardRejected),!1)),s0(l=>{if(l.guards.canActivateChecks.length)return ie(l).pipe(Ht(m=>{let g=new f0(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(g)}),Tt(m=>{let g=!1;return ie(m).pipe(Yz(this.paramsInheritanceStrategy,this.environmentInjector),Ht({next:()=>g=!0,complete:()=>{g||this.cancelNavigationTransition(m,"",zi.NoDataFromResolver)}}))}),Ht(m=>{let g=new g0(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(g)}))}),s0(l=>{let m=g=>{let v=[];g.routeConfig?.loadComponent&&!g.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(g.routeConfig).pipe(Ht(D=>{g.component=D}),le(()=>{})));for(let D of g.children)v.push(...m(D));return v};return Pi(m(l.targetSnapshot.root)).pipe(qr(null),Rt(1))}),s0(()=>this.afterPreactivation()),Tt(()=>{let{currentSnapshot:l,targetSnapshot:m}=r,g=this.createViewTransition?.(this.environmentInjector,l.root,m.root);return g?Kt(g).pipe(le(()=>r)):ie(r)}),le(l=>{let m=lz(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=r=Qe(L({},l),{targetRouterState:m}),this.currentNavigation.targetRouterState=m,r}),Ht(()=>{this.events.next(new od)}),mz(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Rt(1),Ht({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Jo(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),pe(this.transitionAbortSubject.pipe(Ht(l=>{throw l}))),jo(()=>{!a&&!s&&this.cancelNavigationTransition(r,"",zi.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),Yn(l=>{if(s=!0,BI(l))this.events.next(new kr(r.id,this.urlSerializer.serialize(r.extractedUrl),l.message,l.cancellationCode)),uz(l)?this.events.next(new vl(l.url,l.navigationBehaviorOptions)):r.resolve(!1);else{let m=new id(r.id,this.urlSerializer.serialize(r.extractedUrl),l,r.targetSnapshot??void 0);try{let g=Ci(this.environmentInjector,()=>this.navigationErrorHandler?.(m));if(g instanceof ad){let{message:v,cancellationCode:D}=$p(this.urlSerializer,g);this.events.next(new kr(r.id,this.urlSerializer.serialize(r.extractedUrl),v,D)),this.events.next(new vl(g.redirectTo,g.navigationBehaviorOptions))}else throw this.events.next(m),l}catch(g){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(g)}}return kn}))}))}cancelNavigationTransition(e,t,o){let r=new kr(e.id,this.urlSerializer.serialize(e.extractedUrl),t,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function r4(n){return n!==ed}var a4=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(s4),providedIn:"root"})}return n})(),O0=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}},s4=(()=>{class n extends O0{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),KI=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(l4),providedIn:"root"})}return n})(),l4=(()=>{class n extends KI{location=h(sa);urlSerializer=h(dd);options=h(hd,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=h(V0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ar;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=PI(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&e(t.url,t.state)})}handleRouterEvent(e,t){if(e instanceof _l)this.stateMemento=this.createStateMemento();else if(e instanceof ua)this.rawUrlTree=t.initialUrl;else if(e instanceof jp){if(this.urlUpdateStrategy==="eager"&&!t.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl);this.setBrowserUrl(t.targetBrowserUrl??o,t)}}else e instanceof od?(this.currentUrlTree=t.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl),this.routerState=t.targetRouterState,this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(t.targetBrowserUrl??this.rawUrlTree,t)):e instanceof kr&&(e.code===zi.GuardRejected||e.code===zi.NoDataFromResolver)?this.restoreHistory(t):e instanceof id?this.restoreHistory(t,!0):e instanceof Jo&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){let o=e instanceof Ar?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl){let r=this.browserPageId,a=L(L({},t.extras.state),this.generateNgRouterState(t.id,r));this.location.replaceState(o,"",a)}else{let r=L(L({},t.extras.state),this.generateNgRouterState(t.id,this.browserPageId+1));this.location.go(o,"",r)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&r===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Xc=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Xc||{});function ZI(n,i){n.events.pipe(je(e=>e instanceof Jo||e instanceof kr||e instanceof id||e instanceof ua),le(e=>e instanceof Jo||e instanceof ua?Xc.COMPLETE:(e instanceof kr?e.code===zi.Redirect||e.code===zi.SupersededByNewNavigation:!1)?Xc.REDIRECTING:Xc.FAILED),je(e=>e!==Xc.REDIRECTING),Rt(1)).subscribe(()=>{i()})}var c4={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},d4={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},er=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(cp);stateManager=h(KI);options=h(hd,{optional:!0})||{};pendingTasks=h(Yo);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(B0);urlSerializer=h(dd);location=h(sa);urlHandlingStrategy=h(V0);_events=new j;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(a4);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Yp,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Kp,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ge;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(t,r),t instanceof kr&&t.code!==zi.Redirect&&t.code!==zi.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof Jo)this.navigated=!0;else if(t instanceof vl){let a=t.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(t.url,o.currentRawUrl),l=L({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||r4(o.source)},a);this.scheduleNavigation(s,ed,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}m4(t)&&this._events.next(t)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ed,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",t)},0)})}navigateToSyncWithBrowser(e,t,o){let r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=L({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(r.state=l)}let s=this.parseUrl(e);this.scheduleNavigation(s,t,a,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(N0),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:l}=t,m=l?this.currentUrlTree.fragment:a,g=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":g=L(L({},this.currentUrlTree.queryParams),r);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=r||null}g!==null&&(g=this.removeEmptyProps(g));let v;try{let D=o?o.snapshot:this.routerState.snapshot.root;v=kI(D)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root}return AI(v,e,g,m??null)}navigateByUrl(e,t={skipLocationChange:!1}){let o=rs(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,ed,null,t)}navigate(e,t={skipLocationChange:!1}){return u4(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,t){let o;if(t===!0?o=L({},c4):t===!1?o=L({},d4):o=t,rs(e))return dI(this.currentUrlTree,e,o);let r=this.parseUrl(e);return dI(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((t,[o,r])=>(r!=null&&(t[o]=r),t),{})}scheduleNavigation(e,t,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,l,m;a?(s=a.resolve,l=a.reject,m=a.promise):m=new Promise((v,D)=>{s=v,l=D});let g=this.pendingTasks.add();return ZI(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:s,reject:l,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(v=>Promise.reject(v))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function u4(n){for(let i=0;i{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new j;constructor(e,t,o,r,a,s){this.router=e,this.route=t,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(m=>{m instanceof Jo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(rs(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,o,r,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||t||o||r||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let t=this.href===null?null:HS(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(e,t){let o=this.renderer,r=this.el.nativeElement;t!==null?o.setAttribute(r,e,t):o.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:rs(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(t){return new(t||n)(C(er),C(Re),Zm("tabindex"),C(xr),C(Q),C(Tr))};static \u0275dir=N({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,o){t&1&&b("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),t&2&&ee("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",G],skipLocationChange:[2,"skipLocationChange","skipLocationChange",G],replaceUrl:[2,"replaceUrl","replaceUrl",G],routerLink:"routerLink"},features:[ce,Ze]})}return n})();var Qp=class{};var p4=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,o,r,a){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(je(e=>e instanceof Jo),dr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){let o=[];for(let r of t){r.providers&&!r._injector&&(r._injector=lp(r.providers,e,`Route: ${r.path}`));let a=r._injector??e,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return Kt(o).pipe($r())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let o;t.loadChildren&&t.canLoad===void 0?o=this.loader.loadChildren(e,t):o=ie(null);let r=o.pipe(un(a=>a===null?ie(void 0):(t._loadedRoutes=a.routes,t._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(t.loadComponent&&!t._loadedComponent){let a=this.loader.loadComponent(t);return Kt([r,a]).pipe($r())}else return r})}static \u0275fac=function(t){return new(t||n)(oe(er),oe(hp),oe(An),oe(Qp),oe(L0))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),XI=new R(""),h4=(()=>{class n{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,t,o,r,a={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=o,this.zone=r,this.options=a,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(e=>{e instanceof _l?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Jo?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ua&&e.code===Bp.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof zp&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zp(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){op()};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function f4(n){return n.routerState.root}function fd(n,i){return{\u0275kind:n,\u0275providers:i}}function g4(){let n=h(Ae);return i=>{let e=n.get(fi);if(i!==e.components[0])return;let t=n.get(er),o=n.get(JI);n.get(j0)===1&&t.initialNavigation(),n.get(e1,null,ht.Optional)?.setUpPreloading(),n.get(XI,null,ht.Optional)?.init(),t.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var JI=new R("",{factory:()=>new j}),j0=new R("",{providedIn:"root",factory:()=>1});function _4(){return fd(2,[{provide:j0,useValue:0},{provide:mp,multi:!0,deps:[Ae],useFactory:i=>{let e=i.get(kM,Promise.resolve());return()=>e.then(()=>new Promise(t=>{let o=i.get(er),r=i.get(JI);ZI(o,()=>{t(!0)}),i.get(B0).afterPreactivation=()=>(t(!0),r.closed?ie(void 0):r),o.initialNavigation()}))}}])}function v4(){return fd(3,[{provide:mp,multi:!0,useFactory:()=>{let i=h(er);return()=>{i.setUpLocationChangeListener()}}},{provide:j0,useValue:2}])}var e1=new R("");function b4(n){return fd(0,[{provide:e1,useExisting:p4},{provide:Qp,useExisting:n}])}function y4(){return fd(8,[hI,{provide:Kp,useExisting:hI}])}function w4(n){let i=[{provide:qI,useValue:i4},{provide:YI,useValue:L({skipNextTransition:!!n?.skipInitialTransition},n)}];return fd(9,i)}var vI=new R("ROUTER_FORROOT_GUARD"),C4=[sa,{provide:dd,useClass:gl},er,md,{provide:Re,useFactory:f4,deps:[er]},L0,[]],z0=(()=>{class n{constructor(e){}static forRoot(e,t){return{ngModule:n,providers:[C4,[],{provide:Yp,multi:!0,useValue:e},{provide:vI,useFactory:E4,deps:[[er,new Bi,new So]]},t?.errorHandler?{provide:QI,useValue:t.errorHandler}:[],{provide:hd,useValue:t||{}},t?.useHash?D4():S4(),x4(),t?.preloadingStrategy?b4(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?M4(t):[],t?.bindToComponentInputs?y4().\u0275providers:[],t?.enableViewTransitions?w4().\u0275providers:[],I4()]}}static forChild(e){return{ngModule:n,providers:[{provide:Yp,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||n)(oe(vI,8))};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();function x4(){return{provide:XI,useFactory:()=>{let n=h(LM),i=h(te),e=h(hd),t=h(B0),o=h(dd);return e.scrollOffset&&n.setOffset(e.scrollOffset),new h4(o,t,n,i,e)}}}function D4(){return{provide:Tr,useClass:RM}}function S4(){return{provide:Tr,useClass:jb}}function E4(n){return"guarded"}function M4(n){return[n.initialNavigation==="disabled"?v4().\u0275providers:[],n.initialNavigation==="enabledBlocking"?_4().\u0275providers:[]]}var bI=new R("");function I4(){return[{provide:bI,useFactory:g4},{provide:pp,multi:!0,useExisting:bI}]}var Xp=class{constructor(i){this.user=i.user,this.role=i.role,this.admin=i.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}};function oo(n){return n!=null&&`${n}`!="false"}function tr(n,i=0){return U0(n)?Number(n):arguments.length===2?i:0}function U0(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function wl(n){return Array.isArray(n)?n:[n]}function xn(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Mi(n){return n instanceof Q?n.nativeElement:n}function t1(n,i=/\s+/){let e=[];if(n!=null){let t=Array.isArray(n)?n:`${n}`.split(i);for(let o of t){let r=`${o}`.trim();r&&e.push(r)}}return e}var W0;try{W0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{W0=!1}var rt=(()=>{class n{_platformId=h(Eo);isBrowser=this._platformId?Ub(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||W0)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Cl,n1=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function G0(){if(Cl)return Cl;if(typeof document!="object"||!document)return Cl=new Set(n1),Cl;let n=document.createElement("input");return Cl=new Set(n1.filter(i=>(n.setAttribute("type",i),n.type===i))),Cl}var gd;function T4(){if(gd==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gd=!0}))}finally{gd=gd||!1}return gd}function Wn(n){return T4()?n:!!n.capture}var ko=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(ko||{}),Jp,as;function eh(){if(as==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return as=!1,as;if("scrollBehavior"in document.documentElement.style)as=!0;else{let n=Element.prototype.scrollTo;n?as=!/\{\s*\[native code\]\s*\}/.test(n.toString()):as=!1}}return as}function xl(){if(typeof document!="object"||!document)return ko.NORMAL;if(Jp==null){let n=document.createElement("div"),i=n.style;n.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Jp=ko.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Jp=n.scrollLeft===0?ko.NEGATED:ko.INVERTED),n.remove()}return Jp}var H0;function k4(){if(H0==null){let n=typeof document<"u"?document.head:null;H0=!!(n&&(n.createShadowRoot||n.attachShadow))}return H0}function i1(n){if(k4()){let i=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function pa(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function gi(n){return n.composedPath?n.composedPath()[0]:n.target}function $0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var A4=new R("cdk-dir-doc",{providedIn:"root",factory:R4});function R4(){return h(de)}var O4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function P4(n){let i=n?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?O4.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var jt=(()=>{class n{value="ltr";change=new T;constructor(){let e=h(A4,{optional:!0});if(e){let t=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=P4(t||o||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ha=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var th=class{};function nh(n){return n&&typeof n.connect=="function"&&!(n instanceof Wr)}var Dl=function(n){return n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED",n}(Dl||{}),_d=new R("_ViewRepeater"),Sl=class{applyChanges(i,e,t,o,r){i.forEachOperation((a,s,l)=>{let m,g;if(a.previousIndex==null){let v=t(a,s,l);m=e.createEmbeddedView(v.templateRef,v.context,v.index),g=Dl.INSERTED}else l==null?(e.remove(s),g=Dl.REMOVED):(m=e.get(s),e.move(m,l),g=Dl.MOVED);r&&r({context:m?.context,operation:g,record:a})})}detach(){}};var Rr=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new j;constructor(i=!1,e,t=!0,o){this._multiple=i,this._emitChanges=t,this.compareWith=o,e&&e.length&&(i?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);let e=this.selected,t=new Set(i);i.forEach(r=>this._markSelected(r)),e.filter(r=>!t.has(this._getConcreteValue(r,t))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}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(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(i,t))return t;return i}else return i}};var F4=20,El=(()=>{class n{_ngZone=h(te);_platform=h(rt);_document=h(de,{optional:!0});constructor(){}_scrolled=new j;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=F4){return this._platform.isBrowser?new Fe(t=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(Vu(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ie()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(je(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=Mi(t),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return mi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),vd=(()=>{class n{elementRef=h(Q);scrollDispatcher=h(El);ngZone=h(te);dir=h(jt,{optional:!0});_destroyed=new j;_elementScrolled=new Fe(e=>this.ngZone.runOutsideAngular(()=>mi(this.elementRef.nativeElement,"scroll").pipe(pe(this._destroyed)).subscribe(e)));constructor(){}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),o&&xl()!=ko.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),xl()==ko.INVERTED?e.left=e.right:xl()==ko.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;eh()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?o:t:e=="end"&&(e=a?t:o),a&&xl()==ko.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&xl()==ko.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),N4=20,Ii=(()=>{class n{_platform=h(rt);_viewportSize;_change=new j;_changeListener=e=>{this._change.next(e)};_document=h(de,{optional:!0});constructor(){h(te).runOutsideAngular(()=>{if(this._platform.isBrowser){let t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),a=-r.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,s=-r.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0;return{top:a,left:s}}change(e=N4){return e>0?this._change.pipe(Vu(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ro=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})(),bd=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[ha,ro,ha,ro]})}return n})();var yd=class{_attachedHost;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},Ti=class extends yd{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(i,e,t,o,r){super(),this.component=i,this.viewContainerRef=e,this.injector=t,this.projectableNodes=r}},On=class extends yd{templateRef;viewContainerRef;context;injector;constructor(i,e,t,o){super(),this.templateRef=i,this.viewContainerRef=e,this.context=t,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},q0=class extends yd{element;constructor(i){super(),this.element=i instanceof Q?i.nativeElement:i}},fa=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof Ti)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof On)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof q0)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ml=class extends fa{outletElement;_appRef;_defaultInjector;_document;constructor(i,e,t,o,r){super(),this.outletElement=i,this._appRef=t,this._defaultInjector=o,this._document=r}attachComponentPortal(i){let e;if(i.viewContainerRef){let t=i.injector||i.viewContainerRef.injector,o=t.get(Do,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:t,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else e=gp(i.component,{elementInjector:i.injector||this._defaultInjector||Ae.NULL,environmentInjector:this._appRef.injector,projectableNodes:i.projectableNodes||void 0}),this._appRef.attachView(e.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(e.hostView),e.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,t=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);o!==-1&&e.remove(o)}),this._attachedPortal=i,t}attachDomPortal=i=>{let e=i.element;e.parentNode;let t=this._document.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var r1=(()=>{class n extends On{constructor(){let e=h(wt),t=h(kt);super(e,t)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[_e]})}return n})();var si=(()=>{class n extends fa{_moduleRef=h(Do,{optional:!0});_document=h(de);_viewContainerRef=h(kt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new T;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=t.createComponent(e.component,{index:t.length,injector:e.injector||t.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}attachDomPortal=e=>{let t=e.element;t.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(o,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(t,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[_e]})}return n})();var Ui=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var ih=new WeakMap,Mt=(()=>{class n{_appRef;_injector=h(Ae);_environmentInjector=h(An);load(e){let t=this._appRef=this._appRef||this._injector.get(fi),o=ih.get(t);o||(o={loaders:new Set,refs:[]},ih.set(t,o),t.onDestroy(()=>{ih.get(t)?.refs.forEach(r=>r.destroy()),ih.delete(t)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(gp(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ao=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,o){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return n})();function Ot(n,...i){return i.length?i.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function L4(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let i=0;i{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),s1=(()=>{class n{_mutationObserverFactory=h(a1);_observedElements=new Map;_ngZone=h(te);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=Mi(e);return new Fe(o=>{let a=this._observeElement(t).pipe(le(s=>s.filter(l=>!L4(l))),je(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{o.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new j,o=this._mutationObserverFactory.create(r=>t.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:t,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:t,stream:o}=this._observedElements.get(e);t&&t.disconnect(),o.complete(),this._observedElements.delete(e)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),l1=(()=>{class n{_contentObserver=h(s1);_elementRef=h(Q);event=new T;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=tr(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(ur(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",G],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[ce]})}return n})(),oh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[a1]})}return n})();var c1=new Set,ss,V4=(()=>{class n{_platform=h(rt);_nonce=h(Tc,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):j4}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&B4(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function B4(n,i){if(!c1.has(n))try{ss||(ss=document.createElement("style"),i&&ss.setAttribute("nonce",i),ss.setAttribute("type","text/css"),document.head.appendChild(ss)),ss.sheet&&(ss.sheet.insertRule(`@media ${n} {body{ }}`,0),c1.add(n))}catch(e){console.error(e)}}function j4(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var Il=(()=>{class n{_mediaMatcher=h(V4);_zone=h(te);_queries=new Map;_destroySubject=new j;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return d1(wl(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=d1(wl(e)).map(a=>this._registerQuery(a).observable),r=Pi(o);return r=Bo(r.pipe(Rt(1)),r.pipe(ja(1),ur(0))),r.pipe(le(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:m})=>{s.matches=s.matches||l,s.breakpoints[m]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),r={observable:new Fe(a=>{let s=l=>this._zone.run(()=>a.next(l));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Et(t),le(({matches:a})=>({query:e,matches:a})),pe(this._destroySubject)),mql:t};return this._queries.set(e,r),r}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function d1(n){return n.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}var rh={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var f1=" ";function Ol(n,i,e){let t=ch(n,i);e=e.trim(),!t.some(o=>o.trim()===e)&&(t.push(e),n.setAttribute(i,t.join(f1)))}function _a(n,i,e){let t=ch(n,i);e=e.trim();let o=t.filter(r=>r!==e);o.length?n.setAttribute(i,o.join(f1)):n.removeAttribute(i)}function ch(n,i){return n.getAttribute(i)?.match(/\S+/g)??[]}var g1="cdk-describedby-message",ah="cdk-describedby-host",Z0=0,uh=(()=>{class n{_platform=h(rt);_document=h(de);_messageRegistry=new Map;_messagesContainer=null;_id=`${Z0++}`;constructor(){h(Mt).load(Ao),this._id=h(il)+"-"+Z0++}describe(e,t,o){if(!this._canBeDescribed(e,t))return;let r=Y0(t,o);typeof t!="string"?(u1(t,this._id),this._messageRegistry.set(r,{messageElement:t,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(t,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,t,o){if(!t||!this._isElementNode(e))return;let r=Y0(t,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),typeof t=="string"){let a=this._messageRegistry.get(r);a&&a.referenceCount===0&&this._deleteMessageElement(r)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ah}="${this._id}"]`);for(let t=0;to.indexOf(g1)!=0);e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){let o=this._messageRegistry.get(t);Ol(e,"aria-describedby",o.messageElement.id),e.setAttribute(ah,this._id),o.referenceCount++}_removeMessageReference(e,t){let o=this._messageRegistry.get(t);o.referenceCount--,_a(e,"aria-describedby",o.messageElement.id),e.removeAttribute(ah)}_isElementDescribedByMessage(e,t){let o=ch(e,"aria-describedby"),r=this._messageRegistry.get(t),a=r&&r.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&typeof t=="object")return!0;let o=t==null?"":`${t}`.trim(),r=e.getAttribute("aria-label");return o?!r||r.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Y0(n,i){return typeof n=="string"?`${i||""}/${n}`:n}function u1(n,i){n.id||(n.id=`${g1}-${i}-${Z0++}`)}var Q4=200,X0=class{_letterKeyStream=new j;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new j;selectedItem=this._selectedItem;constructor(i,e){let t=typeof e?.debounceInterval=="number"?e.debounceInterval:Q4;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Ht(e=>this._pressedLetters.push(e)),ur(i),je(()=>this._pressedLetters.length>0),le(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;ti.disabled;constructor(i,e){this._items=i,i instanceof Ji?this._itemChangesSubscription=i.changes.subscribe(t=>this._itemsChanged(t.toArray())):oa(i)&&(this._effectRef=jc(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new j;change=new j;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new X0(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(i){let e=i.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t,this._typeahead?.setCurrentSelectedItemIndex(t))}}},kl=class extends dh{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}},ga=class extends dh{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var ty=(()=>{class n{_platform=h(rt);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Z4(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=K4(rU(e));if(t&&(m1(t)===-1||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),r=m1(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!iU(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return oU(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function K4(n){try{return n.frameElement}catch{return null}}function Z4(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function X4(n){let i=n.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function J4(n){return tU(n)&&n.type=="hidden"}function eU(n){return nU(n)&&n.hasAttribute("href")}function tU(n){return n.nodeName.toLowerCase()=="input"}function nU(n){return n.nodeName.toLowerCase()=="a"}function _1(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let i=n.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function m1(n){if(!_1(n))return null;let i=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function iU(n){let i=n.nodeName.toLowerCase(),e=i==="input"&&n.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function oU(n){return J4(n)?!1:X4(n)||eU(n)||n.hasAttribute("contenteditable")||_1(n)}function rU(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var J0=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,t,o,r=!1,a){this._element=i,this._checker=e,this._ngZone=t,this._document=o,this._injector=a,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(i),!!t}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let t=0;t=0;t--){let o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?nn(i,{injector:this._injector}):setTimeout(i)}},ny=(()=>{class n{_checker=h(ty);_ngZone=h(te);_document=h(de);_injector=h(Ae);constructor(){h(Mt).load(Ao)}create(e,t=!1){return new J0(e,this._checker,this._ngZone,this._document,t,this._injector)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),v1=(()=>{class n{_elementRef=h(Q);_focusTrapFactory=h(ny);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){h(rt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=pa(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",G],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",G]},exportAs:["cdkTrapFocus"],features:[ce,Ze]})}return n})();function Cd(n){return n.buttons===0||n.detail===0}function xd(n){let i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var aU=new R("cdk-input-modality-detector-options"),sU={ignoreKeys:[18,17,224,91,16]},b1=650,Tl=Wn({passive:!0,capture:!0}),lU=(()=>{class n{_platform=h(rt);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Gt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=gi(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(xd(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=gi(e)};constructor(){let e=h(te),t=h(de),o=h(aU,{optional:!0});this._options=L(L({},sU),o),this.modalityDetected=this._modality.pipe(ja(1)),this.modalityChanged=this.modalityDetected.pipe(Ls()),this._platform.isBrowser&&e.runOutsideAngular(()=>{t.addEventListener("keydown",this._onKeydown,Tl),t.addEventListener("mousedown",this._onMousedown,Tl),t.addEventListener("touchstart",this._onTouchstart,Tl)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Tl),document.removeEventListener("mousedown",this._onMousedown,Tl),document.removeEventListener("touchstart",this._onTouchstart,Tl))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),cU=new R("liveAnnouncerElement",{providedIn:"root",factory:dU});function dU(){return null}var uU=new R("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),mU=0,mh=(()=>{class n{_ngZone=h(te);_defaultOptions=h(uU,{optional:!0});_liveElement;_document=h(de);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=h(cU,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...t){let o=this._defaultOptions,r,a;return t.length===1&&typeof t[0]=="number"?a=t[0]:[r,a]=t,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,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 e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class n{_ngZone=h(te);_platform=h(rt);_inputModalityDetector=h(lU);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=h(de,{optional:!0});_stopInputModalityDetector=new j;constructor(){let e=h(pU,{optional:!0});this._detectionMode=e?.detectionMode||lh.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=gi(e);for(let o=t;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,t=!1){let o=Mi(e);if(!this._platform.isBrowser||o.nodeType!==1)return ie();let r=i1(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return t&&(a.checkChildren=!0),a.subject;let s={checkChildren:t,subject:new j,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let t=Mi(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){let r=Mi(e),a=this._getDocument().activeElement;r===a?this._getClosestElementsInfo(r).forEach(([s,l])=>this._originChanged(s,t,l)):(this._setOrigin(t),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===lh.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===lh.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?b1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,t){let o=this._elementInfo.get(t),r=gi(e);!o||!o.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),o)}_onBlur(e,t){let o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,sh),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,sh)}),this._rootNodeFocusListenerCount.set(t,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(pe(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,sh),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,sh),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&t.push([r,o])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let a=0;a{class n{_elementRef=h(Q);_focusMonitor=h(Pn);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new T;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return n})(),ls=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(ls||{}),p1="cdk-high-contrast-black-on-white",h1="cdk-high-contrast-white-on-black",Q0="cdk-high-contrast-active",iy=(()=>{class n{_platform=h(rt);_hasCheckedHighContrastMode;_document=h(de);_breakpointSubscription;constructor(){this._breakpointSubscription=h(Il).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ls.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,o=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ls.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ls.BLACK_ON_WHITE}return ls.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Q0,p1,h1),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===ls.BLACK_ON_WHITE?e.add(Q0,p1):t===ls.WHITE_ON_BLACK&&e.add(Q0,h1)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Pl=(()=>{class n{constructor(){h(iy)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[oh]})}return n})(),K0={},ft=(()=>{class n{_appId=h(il);getId(e){return this._appId!=="ng"&&(e+=this._appId),K0.hasOwnProperty(e)||(K0[e]=0),`${e}${K0[e]++}`}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var y1=eh(),oy=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=xn(-this._previousScrollPosition.left),i.style.top=xn(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,t=i.style,o=e.style,r=t.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),y1&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),y1&&(t.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var ry=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,t,o){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(je(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},hh=class{enable(){}disable(){}attach(){}};function ay(n,i){return i.some(e=>{let t=n.bottome.bottom,r=n.righte.right;return t||o||r||a})}function w1(n,i){return i.some(e=>{let t=n.tope.bottom,r=n.lefte.right;return t||o||r||a})}var sy=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,t,o){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();ay(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},hU=(()=>{class n{_scrollDispatcher=h(El);_viewportRuler=h(Ii);_ngZone=h(te);_document=h(de);constructor(){}noop=()=>new hh;close=e=>new ry(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new oy(this._viewportRuler,this._document);reposition=e=>new sy(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ki=class{positionStrategy;scrollStrategy=new hh;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let e=Object.keys(i);for(let t of e)i[t]!==void 0&&(this[t]=i[t])}}};var ly=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var M1=(()=>{class n{_attachedOverlays=[];_document=h(de);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),fU=(()=>{class n extends M1{_ngZone=h(te,{optional:!0});add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let o=t.length-1;o>-1;o--)if(t[o]._keydownEvents.observers.length>0){let r=t[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>r.next(e)):r.next(e);break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),gU=(()=>{class n extends M1{_platform=h(rt);_ngZone=h(te,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(e){if(super.add(e),!this._isAttached){let t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=e=>{this._pointerDownEventTarget=gi(e)};_clickListener=e=>{let t=gi(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let a=r.length-1;a>-1;a--){let s=r[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(C1(s.overlayElement,t)||C1(s.overlayElement,o))break;let l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function C1(n,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=i;for(;t;){if(t===n)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var I1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return n})(),fh=(()=>{class n{_platform=h(rt);_containerElement;_document=h(de);_styleLoader=h(Mt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||$0()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(i);_backdropTransitionendHandler=i=>{this._disposeBackdrop(i.target)};_previousHostParent;_keydownEvents=new j;_outsidePointerEvents=new j;_renders=new j;_afterRenderRef;_afterNextRenderRef;constructor(i,e,t,o,r,a,s,l,m,g=!1,v){this._portalOutlet=i,this._host=e,this._pane=t,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=m,this._animationsDisabled=g,this._injector=v,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=Si(()=>kc(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=nn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,i&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=L(L({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Qe(L({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=xn(this._config.width),i.height=xn(this._config.height),i.minWidth=xn(this._config.minWidth),i.minHeight=xn(this._config.minHeight),i.maxWidth=xn(this._config.maxWidth),i.maxHeight=xn(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="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(i)})}):this._backdropElement.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let i=this._backdropElement;if(i){if(this._animationsDisabled){this._disposeBackdrop(i);return}i.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{i.addEventListener("transitionend",this._backdropTransitionendHandler)}),i.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(i)},500))}}_toggleClasses(i,e,t){let o=wl(e||[]).filter(r=>!!r);o.length&&(t?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let i=this._renders.pipe(pe(yt(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()),i.unsubscribe())})})}_disposeScrollStrategy(){let i=this._scrollStrategy;i&&(i.disable(),i.detach&&i.detach())}_disposeBackdrop(i){i&&(i.removeEventListener("click",this._backdropClickHandler),i.removeEventListener("transitionend",this._backdropTransitionendHandler),i.remove(),this._backdropElement===i&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},x1="cdk-overlay-connected-position-bounding-box",_U=/([A-Za-z%]+)$/,Dd=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new j;_resizeSubscription=ge.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,t,o,r){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=r,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(x1),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.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 i=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,r=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(i,o,s),m=this._getOverlayPoint(l,e,s),g=this._getOverlayFit(m,e,t,s);if(g.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(g,m,t)){r.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleAreal&&(l=g,s=m)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&us(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(x1),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,t){let o;if(t.originX=="center")o=i.left+i.width/2;else{let a=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;o=t.originX=="start"?a:s}e.left<0&&(o-=e.left);let r;return t.originY=="center"?r=i.top+i.height/2:r=t.originY=="top"?i.top:i.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(i,e,t){let o;t.overlayX=="center"?o=-e.width/2:t.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return t.overlayY=="center"?r=-e.height/2:r=t.overlayY=="top"?0:-e.height,{x:i.x+o,y:i.y+r}}_getOverlayFit(i,e,t,o){let r=S1(e),{x:a,y:s}=i,l=this._getOffset(o,"x"),m=this._getOffset(o,"y");l&&(a+=l),m&&(s+=m);let g=0-a,v=a+r.width-t.width,D=0-s,S=s+r.height-t.height,I=this._subtractOverflows(r.width,g,v),A=this._subtractOverflows(r.height,D,S),Y=I*A;return{visibleArea:Y,isCompletelyWithinViewport:r.width*r.height===Y,fitsInViewportVertically:A===r.height,fitsInViewportHorizontally:I==r.width}}_canFitWithFlexibleDimensions(i,e,t){if(this._hasFlexibleDimensions){let o=t.bottom-e.y,r=t.right-e.x,a=D1(this._overlayRef.getConfig().minHeight),s=D1(this._overlayRef.getConfig().minWidth),l=i.fitsInViewportVertically||a!=null&&a<=o,m=i.fitsInViewportHorizontally||s!=null&&s<=r;return l&&m}return!1}_pushOverlayOnScreen(i,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=S1(e),r=this._viewportRect,a=Math.max(i.x+o.width-r.width,0),s=Math.max(i.y+o.height-r.height,0),l=Math.max(r.top-t.top-i.y,0),m=Math.max(r.left-t.left-i.x,0),g=0,v=0;return o.width<=r.width?g=m||-a:g=i.xI&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-I/2)}let l=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,m=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,g,v,D;if(m)D=t.width-i.x+this._viewportMargin*2,g=i.x-this._viewportMargin;else if(l)v=i.x,g=t.right-i.x;else{let S=Math.min(t.right-i.x+t.left,i.x),I=this._lastBoundingBoxSize.width;g=S*2,v=i.x-S,g>I&&!this._isInitialRender&&!this._growAfterOpen&&(v=i.x-I/2)}return{top:a,left:v,bottom:s,right:D,width:g,height:r}}_setBoundingBoxStyles(i,e){let t=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=xn(t.height),o.top=xn(t.top),o.bottom=xn(t.bottom),o.width=xn(t.width),o.left=xn(t.left),o.right=xn(t.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=xn(r)),a&&(o.maxWidth=xn(a))}this._lastBoundingBoxSize=t,us(this._boundingBox.style,o)}_resetBoundingBoxStyles(){us(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){us(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let t={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){let g=this._viewportRuler.getViewportScrollPosition();us(t,this._getExactOverlayY(e,i,g)),us(t,this._getExactOverlayX(e,i,g))}else t.position="static";let s="",l=this._getOffset(e,"x"),m=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),m&&(s+=`translateY(${m}px)`),t.transform=s.trim(),a.maxHeight&&(o?t.maxHeight=xn(a.maxHeight):r&&(t.maxHeight="")),a.maxWidth&&(o?t.maxWidth=xn(a.maxWidth):r&&(t.maxWidth="")),us(this._pane.style,t)}_getExactOverlayY(i,e,t){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),i.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;o.bottom=`${a-(r.y+this._overlayRect.height)}px`}else o.top=xn(r.y);return o}_getExactOverlayX(i,e,t){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t));let a;if(this._isRtl()?a=i.overlayX==="end"?"left":"right":a=i.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;o.right=`${s-(r.x+this._overlayRect.width)}px`}else o.left=xn(r.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:w1(i,t),isOriginOutsideView:ay(i,t),isOverlayClipped:w1(e,t),isOverlayOutsideView:ay(e,t)}}_subtractOverflows(i,...e){return e.reduce((t,o)=>t-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+i-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&wl(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof Q)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,t=i.height||0;return{top:i.y,bottom:i.y+t,left:i.x,right:i.x+e,height:t,width:e}}};function us(n,i){for(let e in i)i.hasOwnProperty(e)&&(n[e]=i[e]);return n}function D1(n){if(typeof n!="number"&&n!=null){let[i,e]=n.split(_U);return!e||e==="px"?parseFloat(i):null}return n||null}function S1(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function vU(n,i){return n===i?!0:n.isOriginClipped===i.isOriginClipped&&n.isOriginOutsideView===i.isOriginOutsideView&&n.isOverlayClipped===i.isOverlayClipped&&n.isOverlayOutsideView===i.isOverlayOutsideView}var E1="cdk-global-overlay-wrapper",cy=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(E1),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=t,l=(o==="100%"||o==="100vw")&&(!a||a==="100%"||a==="100vw"),m=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),g=this._xPosition,v=this._xOffset,D=this._overlayRef.getConfig().direction==="rtl",S="",I="",A="";l?A="flex-start":g==="center"?(A="center",D?I=v:S=v):D?g==="left"||g==="end"?(A="flex-end",S=v):(g==="right"||g==="start")&&(A="flex-start",I=v):g==="left"||g==="start"?(A="flex-start",S=v):(g==="right"||g==="end")&&(A="flex-end",I=v),i.position=this._cssPosition,i.marginLeft=l?"0":S,i.marginTop=m?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=l?"0":I,e.justifyContent=A,e.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(E1),t.justifyContent=t.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},bU=(()=>{class n{_viewportRuler=h(Ii);_document=h(de);_platform=h(rt);_overlayContainer=h(fh);constructor(){}global(){return new cy}flexibleConnectedTo(e){return new Dd(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Lt=(()=>{class n{scrollStrategies=h(hU);_overlayContainer=h(fh);_positionBuilder=h(bU);_keyboardDispatcher=h(fU);_injector=h(Ae);_ngZone=h(te);_document=h(de);_directionality=h(jt);_location=h(sa);_outsideClickDispatcher=h(gU);_animationsModuleType=h($t,{optional:!0});_idGenerator=h(ft);_appRef;_styleLoader=h(Mt);constructor(){}create(e){this._styleLoader.load(I1);let t=this._createHostElement(),o=this._createPaneElement(t),r=this._createPortalOutlet(o),a=new ki(e);return a.direction=a.direction||this._directionality.value,new Fl(r,t,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(An))}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=this._idGenerator.getId("cdk-overlay-"),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(fi)),new Ml(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),yU=[{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"}],T1=new R("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition()}}),Sd=(()=>{class n{elementRef=h(Q);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),dy=(()=>{class n{_overlay=h(Lt);_dir=h(jt,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=ge.EMPTY;_attachSubscription=ge.EMPTY;_detachSubscription=ge.EMPTY;_positionSubscription=ge.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=h(T1);_disposeOnNavigation=!1;_ngZone=h(te);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new T;positionChange=new T;attach=new T;detach=new T;overlayKeydown=new T;overlayOutsideClick=new T;constructor(){let e=h(wt),t=h(kt);this._templatePortal=new On(e,t),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=yU);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!Ot(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let o=this._getOriginElement(),r=gi(t);(!o||o!==r&&!o.contains(r))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new ki({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(t.width=this.width),(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Sd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Sd?this.origin.elementRef.nativeElement:this.origin instanceof Q?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(m_(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",G],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[2,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",G]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ce,Ze]})}return n})();function wU(n){return()=>n.scrollStrategies.reposition()}var CU={provide:T1,deps:[Lt],useFactory:wU},ci=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Lt,CU],imports:[ha,Ui,bd,bd]})}return n})();function xU(n,i){}var va=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var my=(()=>{class n extends fa{_elementRef=h(Q);_focusTrapFactory=h(ny);_config;_interactivityChecker=h(ty);_ngZone=h(te);_overlayRef=h(Fl);_focusMonitor=h(Pn);_platform=h(rt);_document=h(de,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=h(Ee);_injector=h(Ae);_isDestroyed=!1;constructor(){super(),this._config=h(va,{optional:!0})||new va,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(t)}_focusByCssSelector(e,t){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,t)}_trapFocus(){this._isDestroyed||nn(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let o=pa(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,t=pa();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=pa()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(t,o){if(t&1&&se(si,7),t&2){let r;$(r=q())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,o){t&2&&ee("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[_e],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,o){t&1&&x(0,xU,0,0,"ng-template",0)},dependencies:[si],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return n})(),Ed=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new j;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Ot(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(i),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}},DU=new R("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.block()}}),SU=new R("DialogData"),EU=new R("DefaultDialogConfig");var py=(()=>{class n{_overlay=h(Lt);_injector=h(Ae);_defaultOptions=h(EU,{optional:!0});_parentDialog=h(n,{optional:!0,skipSelf:!0});_overlayContainer=h(fh);_idGenerator=h(ft);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new j;_afterOpenedAtThisLevel=new j;_ariaHiddenElements=new Map;_scrollStrategy=h(DU);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Xi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Et(void 0)));constructor(){}open(e,t){let o=this._defaultOptions||new va;t=L(L({},o),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let r=this._getOverlayConfig(t),a=this._overlay.create(r),s=new Ed(a,t),l=this._attachContainer(a,s,t);return s.containerInstance=l,this._attachDialogContent(e,s,l,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){uy(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){uy(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),uy(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new ki({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,o){let r=o.injector||o.viewContainerRef?.injector,a=[{provide:va,useValue:o},{provide:Ed,useValue:t},{provide:Fl,useValue:e}],s;o.container?typeof o.container=="function"?s=o.container:(s=o.container.type,a.push(...o.container.providers(o))):s=my;let l=new Ti(s,o.viewContainerRef,Ae.create({parent:r||this._injector,providers:a}));return e.attach(l).instance}_attachDialogContent(e,t,o,r){if(e instanceof wt){let a=this._createInjector(r,t,o,void 0),s={$implicit:r.data,dialogRef:t};r.templateContext&&(s=L(L({},s),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new On(e,null,s,a))}else{let a=this._createInjector(r,t,o,this._injector),s=o.attachComponentPortal(new Ti(e,r.viewContainerRef,a));t.componentRef=s,t.componentInstance=s.instance}}_createInjector(e,t,o,r){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:SU,useValue:e.data},{provide:Ed,useValue:t}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(t,e,o)):s.push(...e.providers)),e.direction&&(!a||!a.get(jt,null,{optional:!0}))&&s.push({provide:jt,useValue:{value:e.direction,change:ie()}}),Ae.create({parent:a||r,providers:s})}_removeOpenDialog(e,t){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let t=e.parentElement.children;for(let o=t.length-1;o>-1;o--){let r=t[o];r!==e&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function uy(n,i){let e=n.length;for(;e--;)i(n[e])}var k1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[py],imports:[ci,Ui,Pl,Ui]})}return n})();var MU=["text"],IU=[[["mat-icon"]],"*"],TU=["mat-icon","*"];function kU(n,i){if(n&1&&M(0,"mat-pseudo-checkbox",1),n&2){let e=_();p("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function AU(n,i){if(n&1&&M(0,"mat-pseudo-checkbox",3),n&2){let e=_();p("disabled",e.disabled)}}function RU(n,i){if(n&1&&(c(0,"span",4),f(1),d()),n&2){let e=_();u(),O("(",e.group.label,")")}}var OU=["mat-internal-form-field",""],PU=["*"];var V1=(()=>{class n{static STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return n})(),B1=(()=>{class n{static COMPLEX="375ms";static ENTERING="225ms";static EXITING="195ms"}return n})();var me=(()=>{class n{constructor(){h(iy)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[ha,ha]})}return n})(),Or=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,t,o,r){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=t,this._parentForm=o,this._stateChanges=r}updateErrorState(){let i=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,o=this.ngControl?this.ngControl.control:null,r=t?.isErrorState(o,e)??!1;r!==i&&(this.errorState=r,this._stateChanges.next())}},_h=new R("MAT_DATE_LOCALE",{providedIn:"root",factory:FU});function FU(){return h(Bc)}var Nl="Method not implemented",$n=class{locale;_localeChanges=new j;localeChanges=this._localeChanges;setTime(i,e,t,o){throw new Error(Nl)}getHours(i){throw new Error(Nl)}getMinutes(i){throw new Error(Nl)}getSeconds(i){throw new Error(Nl)}parseTime(i,e){throw new Error(Nl)}addSeconds(i,e){throw new Error(Nl)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let t=this.isValid(i),o=this.isValid(e);return t&&o?!this.compareDate(i,e):t==o}return i==e}sameTime(i,e){if(i&&e){let t=this.isValid(i),o=this.isValid(e);return t&&o?!this.compareTime(i,e):t==o}return i==e}clampDate(i,e,t){return e&&this.compareDate(i,e)<0?e:t&&this.compareDate(i,t)>0?t:i}},ms=new R("mat-date-formats"),NU=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,LU=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function hy(n,i){let e=Array(n);for(let t=0;t{class n extends $n{useUtcForDisplay=!1;_matDateLocale=h(_h,{optional:!0});constructor(){super();let e=h(_h,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return hy(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return hy(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){let t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return hy(7,o=>this._format(t,new Date(2017,0,o+1)))}getYearName(e){let t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),t=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return t===7?0:t}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,o){let r=this._createDateWithOverflow(e,t,o);return r.getMonth()!=t,r}today(){return new Date}parse(e,t){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Qe(L({},t),{timeZone:"utc"}));return this._format(o,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,t*12)}addCalendarMonths(e,t){let o=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(o)!=((this.getMonth(e)+t)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(NU.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,t,o,r){let a=this.clone(e);return a.setHours(t,o,r,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,t){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let o=e.trim();if(o.length===0)return null;let r=this._parseTimeString(o);if(r===null){let a=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(r=this._parseTimeString(a))}return r||this.invalid()}addSeconds(e,t){return new Date(e.getTime()+t*1e3)}_createDateWithOverflow(e,t,o){let r=new Date;return r.setFullYear(e,t,o),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,t){let o=new Date;return o.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),o.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(o)}_parseTimeString(e){let t=e.toUpperCase().match(LU);if(t){let o=parseInt(t[1]),r=parseInt(t[2]),a=t[3]==null?void 0:parseInt(t[3]),s=t[4];if(o===12?o=s==="AM"?0:o:s==="PM"&&(o+=12),fy(o,0,23)&&fy(r,0,59)&&(a==null||fy(a,0,59)))return this.setTime(this.today(),o,r,a||0)}return null}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function fy(n,i,e){return!isNaN(n)&&n>=i&&n<=e}var BU={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var j1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[jU()]})}return n})();function jU(n=BU){return[{provide:$n,useClass:VU},{provide:ms,useValue:n}]}var ba=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Dn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,o){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return n})();var ao=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(ao||{}),vy=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ao.HIDDEN;constructor(i,e,t,o=!1){this._renderer=i,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},A1=Wn({passive:!0,capture:!0}),by=class{_events=new Map;addHandler(i,e,t,o){let r=this._events.get(e);if(r){let a=r.get(t);a?a.add(o):r.set(t,new Set([o]))}else this._events.set(e,new Map([[t,new Set([o])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,A1)})}removeHandler(i,e,t){let o=this._events.get(i);if(!o)return;let r=o.get(e);r&&(r.delete(t),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,A1)))}_delegateEventHandler=i=>{let e=gi(i);e&&this._events.get(i.type)?.forEach((t,o)=>{(o===e||o.contains(e))&&t.forEach(r=>r.handleEvent(i))})}},vh={enterDuration:225,exitDuration:150},zU=800,R1=Wn({passive:!0,capture:!0}),O1=["mousedown","touchstart"],P1=["mouseup","mouseleave","touchend","touchcancel"],UU=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return n})(),bh=class n{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new by;constructor(i,e,t,o,r){this._target=i,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=Mi(t)),r&&r.get(Mt).load(UU)}fadeInRipple(i,e,t={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=L(L({},vh),t.animation);t.centered&&(i=o.left+o.width/2,e=o.top+o.height/2);let a=t.radius||HU(i,e,o),s=i-o.left,l=e-o.top,m=r.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=`${s-a}px`,g.style.top=`${l-a}px`,g.style.height=`${a*2}px`,g.style.width=`${a*2}px`,t.color!=null&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${m}ms`,this._containerElement.appendChild(g);let v=window.getComputedStyle(g),D=v.transitionProperty,S=v.transitionDuration,I=D==="none"||S==="0s"||S==="0s, 0s"||o.width===0&&o.height===0,A=new vy(this,g,t,I);g.style.transform="scale3d(1, 1, 1)",A.state=ao.FADING_IN,t.persistent||(this._mostRecentTransientRipple=A);let Y=null;return!I&&(m||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let V=()=>{Y&&(Y.fallbackTimer=null),clearTimeout(Ve),this._finishRippleTransition(A)},he=()=>this._destroyRipple(A),Ve=setTimeout(he,m+100);g.addEventListener("transitionend",V),g.addEventListener("transitioncancel",he),Y={onTransitionEnd:V,onTransitionCancel:he,fallbackTimer:Ve}}),this._activeRipples.set(A,Y),(I||!m)&&this._finishRippleTransition(A),A}fadeOutRipple(i){if(i.state===ao.FADING_OUT||i.state===ao.HIDDEN)return;let e=i.element,t=L(L({},vh),i.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",i.state=ao.FADING_OUT,(i._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=Mi(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,O1.forEach(t=>{n._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{P1.forEach(e=>{this._triggerElement.addEventListener(e,this,R1)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===ao.FADING_IN?this._startFadeOutTransition(i):i.state===ao.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:t}=i.config;i.state=ao.VISIBLE,!t&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=ao.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=Cd(i),t=this._lastTouchStartEvent&&Date.now(){let e=i.state===ao.VISIBLE||i.config.terminateOnPointerUp&&i.state===ao.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(O1.forEach(e=>n._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(P1.forEach(e=>i.removeEventListener(e,this,R1)),this._pointerUpEventsRegistered=!1))}};function HU(n,i,e){let t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),o=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(t*t+o*o)}var Id=new R("mat-ripple-global-options"),so=(()=>{class n{_elementRef=h(Q);_animationMode=h($t,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=h(te),t=h(rt),o=h(Id,{optional:!0}),r=h(Ae);this._globalOptions=o||{},this._rippleRenderer=new bh(this,e,this._elementRef,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:L(L(L({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,L(L({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,L(L({},this.rippleConfig),e))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return n})(),Pr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})(),yy=(()=>{class n{_animationMode=h($t,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,o){t&2&&ne("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,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, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return n})(),WU=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me]})}return n})(),Td=new R("MAT_OPTION_PARENT_COMPONENT"),kd=new R("MatOptgroup");var Md=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},nt=(()=>{class n{_element=h(Q);_changeDetectorRef=h(Ee);_parent=h(Td,{optional:!0});group=h(kd,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=h(ft).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new T;_text;_stateChanges=new j;constructor(){h(Mt).load(Dn),h(Mt).load(Ao),this._signalDisableRipple=!!this._parent&&oa(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Ot(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Md(this,e))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-option"]],viewQuery:function(t,o){if(t&1&&se(MU,7),t&2){let r;$(r=q())&&(o._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,o){t&1&&b("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(En("id",o.id),ee("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ne("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[ce],ngContentSelectors:TU,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,o){t&1&&(We(IU),x(0,kU,1,2,"mat-pseudo-checkbox",1),re(1),c(2,"span",2,0),re(4,1),d(),x(5,AU,1,1,"mat-pseudo-checkbox",3)(6,RU,2,1,"span",4),M(7,"div",5)),t&2&&(Ce(o.multiple?0:-1),u(5),Ce(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),u(),Ce(o.group&&o.group._inert?6:-1),u(),p("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[yy,so],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return n})();function yh(n,i,e){if(e.length){let t=i.toArray(),o=e.toArray(),r=0;for(let a=0;ae+t?Math.max(0,n-t+i):e}var Ll=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[Pr,me,WU]})}return n})(),F1={capture:!0},N1=["focus","mousedown","mouseenter","touchstart"],gy="mat-ripple-loader-uninitialized",_y="mat-ripple-loader-class-name",L1="mat-ripple-loader-centered",gh="mat-ripple-loader-disabled",Ch=(()=>{class n{_document=h(de,{optional:!0});_animationMode=h($t,{optional:!0});_globalRippleOptions=h(Id,{optional:!0});_platform=h(rt);_ngZone=h(te);_injector=h(Ae);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(let e of N1)this._document?.addEventListener(e,this._onInteraction,F1)})}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);for(let t of N1)this._document?.removeEventListener(t,this._onInteraction,F1)}configureRipple(e,t){e.setAttribute(gy,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(_y))&&e.setAttribute(_y,t.className||""),t.centered&&e.setAttribute(L1,""),t.disabled&&e.setAttribute(gh,"")}setDisabled(e,t){let o=this._hosts.get(e);o?(o.target.rippleDisabled=t,!t&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):t?e.setAttribute(gh,""):e.removeAttribute(gh)}_onInteraction=e=>{let t=gi(e);if(t instanceof HTMLElement){let o=t.closest(`[${gy}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let t=this._document.createElement("span");t.classList.add("mat-ripple",e.getAttribute(_y)),e.append(t);let o=this._animationMode==="NoopAnimations",r=this._globalRippleOptions,a=o?0:r?.animation?.enterDuration??vh.enterDuration,s=o?0:r?.animation?.exitDuration??vh.exitDuration,l={rippleDisabled:o||r?.disabled||e.hasAttribute(gh),rippleConfig:{centered:e.hasAttribute(L1),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:s}}},m=new bh(l,this._ngZone,t,this._platform,this._injector),g=!l.rippleDisabled;g&&m.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:m,hasSetUpEvents:g}),e.removeAttribute(gy)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xh=(()=>{class n{labelPosition;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:OU,ngContentSelectors:PU,decls:1,vars:0,template:function(t,o){t&1&&(We(),re(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}return n})();var it=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(it||{}),nr="*";function mn(n,i){return{type:it.Trigger,name:n,definitions:i,options:{}}}function It(n,i=null){return{type:it.Animate,styles:i,timings:n}}function z1(n,i=null){return{type:it.Group,steps:n,options:i}}function U1(n,i=null){return{type:it.Sequence,steps:n,options:i}}function Me(n){return{type:it.Style,styles:n,offset:null}}function Ft(n,i,e){return{type:it.State,name:n,styles:i,options:e}}function wa(n){return{type:it.Keyframes,steps:n}}function xt(n,i,e=null){return{type:it.Transition,expr:n,animation:i,options:e}}function Dh(n=null){return{type:it.AnimateChild,options:n}}function Sh(n,i,e=null){return{type:it.Query,selector:n,animation:i,options:e}}var ya=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(i=0,e=0){this.totalTime=i+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(i=>i()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(i){this._position=this.totalTime?i*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}},Ad=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(i){this.players=i;let e=0,t=0,o=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==r&&this._onFinish()}),a.onDestroy(()=>{++t==r&&this._onDestroy()}),a.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this.players.forEach(i=>i.init())}onStart(i){this._onStartFns.push(i)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(i=>i()),this._onStartFns=[])}onDone(i){this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(i=>i.play())}pause(){this.players.forEach(i=>i.pause())}restart(){this.players.forEach(i=>i.restart())}finish(){this._onFinish(),this.players.forEach(i=>i.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(i=>i.destroy()),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this.players.forEach(i=>i.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(i){let e=i*this.totalTime;this.players.forEach(t=>{let o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){let i=this.players.reduce((e,t)=>e===null||t.totalTime>e.totalTime?t:e,null);return i!=null?i.getPosition():0}beforeDestroy(){this.players.forEach(i=>{i.beforeDestroy&&i.beforeDestroy()})}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}},Eh="!";function GU(n,i){}var Ih=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},wy="mdc-dialog--open",H1="mdc-dialog--opening",W1="mdc-dialog--closing",$U=150,qU=75,YU=(()=>{class n extends my{_animationMode=h($t,{optional:!0});_animationStateChanged=new T;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?$1(this._config.enterAnimationDuration)??$U:0;_exitAnimationDuration=this._animationsEnabled?$1(this._config.exitAnimationDuration)??qU:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(G1,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(H1,wy)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(wy),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(wy),this._animationsEnabled?(this._hostElement.style.setProperty(G1,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(W1)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(H1,W1)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,o){t&2&&(En("id",o._config.id),ee("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),ne("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[_e],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,o){t&1&&(c(0,"div",0)(1,"div",1),x(2,GU,0,0,"ng-template",2),d()())},dependencies:[si],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}return n})(),G1="--mat-dialog-transition-duration";function $1(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?tr(n.substring(0,n.length-2)):n.endsWith("s")?tr(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var Mh=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(Mh||{}),Ne=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new j;_beforeClosed=new j;_result;_closeFallbackTimeout;_state=Mh.OPEN;_closeInteractionType;constructor(i,e,t){this._ref=i,this._containerInstance=t,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(je(o=>o.state==="opened"),Rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(je(o=>o.state==="closed"),Rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),yt(this.backdropClick(),this.keydownEvents().pipe(je(o=>o.keyCode===27&&!this.disableClose&&!Ot(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),q1(this,o.type==="keydown"?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(je(e=>e.state==="closing"),Rt(1)).subscribe(e=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Mh.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(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=Mh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function q1(n,i,e){return n._closeInteractionType=i,n.close(e)}var Ke=new R("MatMdcDialogData"),QU=new R("mat-mdc-dialog-default-options"),KU=new R("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.block()}});var Rd=(()=>{class n{_overlay=h(Lt);_defaultOptions=h(QU,{optional:!0});_scrollStrategy=h(KU);_parentDialog=h(n,{optional:!0,skipSelf:!0});_idGenerator=h(ft);_dialog=h(py);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new j;_afterOpenedAtThisLevel=new j;dialogConfigClass=Ih;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Xi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Et(void 0)));constructor(){this._dialogRefConstructor=Ne,this._dialogContainerType=YU,this._dialogDataToken=Ke}open(e,t){let o;t=L(L({},this._defaultOptions||new Ih),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(e,Qe(L({},t),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:va,useValue:t}]},templateContext:()=>({dialogRef:o}),providers:(a,s,l)=>(o=new this._dialogRefConstructor(a,t,l),o.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=r.componentRef,o.componentInstance=r.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(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Qt=(()=>{class n{dialogRef=h(Ne,{optional:!0});_elementRef=h(Q);_dialog=h(Rd);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=Q1(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){q1(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,o){t&1&&b("click",function(a){return o._onButtonClick(a)}),t&2&&ee("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ze]})}return n})(),Y1=(()=>{class n{_dialogRef=h(Ne,{optional:!0});_elementRef=h(Q);_dialog=h(Rd);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=Q1(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n})}return n})(),Xe=(()=>{class n extends Y1{id=h(ft).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,o){t&2&&En("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[_e]})}return n})(),Je=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[WE([vd])]})}return n})(),et=(()=>{class n extends Y1{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,o){t&2&&ne("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[_e]})}return n})();function Q1(n,i){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(t=>t.id===e.id):null}var K1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Rd],imports:[k1,ci,Ui,me,me]})}return n})();var Z1,X1=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],J1=[django.gettext("January"),django.gettext("February"),django.gettext("March"),django.gettext("April"),django.gettext("May"),django.gettext("June"),django.gettext("July"),django.gettext("August"),django.gettext("September"),django.gettext("October"),django.gettext("November"),django.gettext("December")];var eT=n=>{let i=[];return n.forEach(e=>{i.push(e.substring(0,3))}),i},Ca=(n,i,e)=>(typeof i>"u"&&(i=new Date),ps(n,i,e));var ps=(n,i,e,t)=>{t=t||{},i=i||new Date;let o=e||JU;o.formats=o.formats||{};let r=i.getTime();return(t.utc||typeof t.timezone=="number")&&(i=ZU(i)),typeof t.timezone=="number"&&(i=new Date(i.getTime()+t.timezone*6e4)),n.replace(/%([-_0]?.)/g,(a,s)=>{let l,m,g,v,D,S,I,A;if(g=null,D=null,s.length===2){if(g=s[0],g==="-")D="";else if(g==="_")D=" ";else if(g==="0")D="0";else return a;s=s[1]}switch(s){case"A":return o.days[i.getDay()];case"a":return o.shortDays[i.getDay()];case"B":return o.months[i.getMonth()];case"b":return o.shortMonths[i.getMonth()];case"C":return vi(Math.floor(i.getFullYear()/100),D);case"D":return ps(o.formats.D||"%m/%d/%y",i,o);case"d":return vi(i.getDate(),D);case"e":return i.getDate();case"F":return ps(o.formats.F||"%Y-%m-%d",i,o);case"H":return vi(i.getHours(),D);case"h":return o.shortMonths[i.getMonth()];case"I":return vi(tT(i),D);case"j":return I=new Date(i.getFullYear(),0,1),l=Math.ceil((i.getTime()-I.getTime())/(1e3*60*60*24)),vi(l,3);case"k":return vi(i.getHours(),D===void 0?" ":D);case"L":return vi(Math.floor(r%1e3),3);case"l":return vi(tT(i),D===void 0?" ":D);case"M":return vi(i.getMinutes(),D);case"m":return vi(i.getMonth()+1,D);case"n":return` `;case"o":return String(i.getDate())+XU(i.getDate());case"P":return"";case"p":return"";case"R":return ps(o.formats.R||"%H:%M",i,o);case"r":return ps(o.formats.r||"%I:%M:%S %p",i,o);case"S":return vi(i.getSeconds(),D);case"s":return Math.floor(r/1e3);case"T":return ps(o.formats.T||"%H:%M:%S",i,o);case"t":return" ";case"U":return vi(nT(i,"sunday"),D);case"u":return m=i.getDay(),m===0?7:m;case"v":return ps(o.formats.v||"%e-%b-%Y",i,o);case"W":return vi(nT(i,"monday"),D);case"w":return i.getDay();case"Y":return i.getFullYear();case"y":return A=String(i.getFullYear()),A.slice(A.length-2);case"Z":return t.utc?"GMT":(S=i.toString().match(/\((\w+)\)/),S&&S[1]||"");case"z":return t.utc?"+0000":(v=typeof t.timezone=="number"?t.timezone:-i.getTimezoneOffset(),(v<0?"-":"+")+vi(Math.abs(v/60))+vi(v%60));default:return s}})},ZU=n=>{let i=(n.getTimezoneOffset()||0)*6e4;return new Date(n.getTime()+i)},vi=(n,i,e)=>{typeof i=="number"&&(e=i,i="0"),i=i??"0",e=e??2;let t=String(n);if(i)for(;t.length{let i;return i=n.getHours(),i===0?i=12:i>12&&(i-=12),i},XU=n=>{let i=n%10,e=n%100;if(e>=11&&e<=13||i===0||i>=4)return"th";switch(i){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"},nT=(n,i)=>{i=i||"sunday";let e=n.getDay();i==="monday"&&(e===0?e=6:e--);let t=new Date(n.getFullYear(),0,1),o=Math.floor((n.getTime()-t.getTime())/864e5);return Math.floor((o+7-e)/7)},Cy=n=>n.replace(/./g,i=>{switch(i){case"a":case"A":return"%p";case"b":case"d":case"m":case"w":case"W":case"y":case"Y":return"%"+i;case"c":return"%FT%TZ";case"D":return"%a";case"e":return"%z";case"f":return"%I:%M";case"F":return"%F";case"h":case"g":return"%I";case"H":case"G":return"%H";case"i":return"%M";case"I":return"";case"j":return"%d";case"l":return"%A";case"L":return"";case"M":return"%b";case"n":return"%m";case"N":return"%b";case"o":return"%W";case"O":return"%z";case"P":return"%R %p";case"r":return"%a, %d %b %Y %T %z";case"s":return"%S";case"S":return"";case"t":return"";case"T":return"%Z";case"u":return"0";case"U":return"";case"z":return"%j";case"Z":return"z";default:return i}}),qn=(n,i,e=null)=>{let t;if(i==="None"||i===null||i===void 0)i=7226578800,t=django.gettext("Never");else{let o=django.get_format(n);e&&(o+=e),t=Ca(Cy(o),new Date(i*1e3))}return t},iT=n=>({1e4:"OTHER",2e4:"DEBUG",3e4:"INFO",4e4:"WARN",5e4:"ERROR",6e4:"FATAL"})[n]||"OTHER",xy=n=>!!(n==null||typeof n=="object"&&Object.keys(n).length===0&&n.constructor===Object||Array.isArray(n)&&n.length===0||typeof n=="string"&&n.trim()===""),oT=n=>n===""||n===null||n===void 0,Th=n=>n==="yes"||n===!0||n==="true"||n===1,JU={days:X1,shortDays:eT(X1),months:J1,shortMonths:eT(J1),AM:"AM",PM:"PM",am:"am",pm:"pm"},ir=(n,i)=>{let e;if(n instanceof Promise)e=n;else if(n instanceof Xt)e=n;else{if(i)return Pu(n.pipe(a_(i)));e=Pu(n)}return e},Xt=class{constructor(){this[Z1]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((i,e)=>{this.resolve=i,this.reject=e})}then(i,e){return this.promise.then(i,e)}catch(i){return this.promise.catch(i)}finally(i){return this.promise.finally(i)}};Z1=Symbol.toStringTag;var rT=["mat-button",""],aT=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],sT=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],eH='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',Dy="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}";var lT=["mat-icon-button",""],cT=["*"],tH='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',nH=new R("MAT_BUTTON_CONFIG");var iH=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Sy=(()=>{class n{_elementRef=h(Q);_platform=h(rt);_ngZone=h(te);_animationMode=h($t,{optional:!0});_focusMonitor=h(Pn);_rippleLoader=h(Ch);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){h(Mt).load(Dn);let e=h(nH,{optional:!0}),t=this._elementRef.nativeElement,o=t.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(t,{className:"mat-mdc-button-ripple"});for(let{attribute:r,mdcClasses:a}of iH)t.hasAttribute(r)&&o.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",G],disabled:[2,"disabled","disabled",G],ariaDisabled:[2,"aria-disabled","ariaDisabled",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},features:[ce]})}return n})();var dT=(()=>{class n extends Sy{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:on(e)]},features:[ce,_e]})}return n})(),Te=(()=>{class n extends Sy{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,o){t&2&&(ee("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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"],features:[_e],attrs:rT,ngContentSelectors:sT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(We(aT),M(0,"span",0),re(1),c(2,"span",1),re(3,1),d(),re(4,2),M(5,"span",2)(6,"span",3)),t&2&&ne("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return n})(),xa=(()=>{class n extends dT{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,o){t&2&&(ee("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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","matAnchor"],features:[_e],attrs:rT,ngContentSelectors:sT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(We(aT),M(0,"span",0),re(1),c(2,"span",1),re(3,1),d(),re(4,2),M(5,"span",2)(6,"span",3)),t&2&&ne("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[eH,Dy],encapsulation:2,changeDetection:0})}return n})();var Zn=(()=>{class n extends Sy{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,o){t&2&&(ee("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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"],features:[_e],attrs:lT,ngContentSelectors:cT,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(We(),M(0,"span",0),re(1),M(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Dy],encapsulation:2,changeDetection:0})}return n})(),kh=(()=>{class n extends dT{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(t,o){t&2&&(ee("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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","matAnchor"],features:[_e],attrs:lT,ngContentSelectors:cT,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(We(),M(0,"span",0),re(1),M(2,"span",1)(3,"span",2))},styles:[tH,Dy],encapsulation:2,changeDetection:0})}return n})(),or=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,Pr,me]})}return n})();var ae=(()=>{let i=class i{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim().replaceAll("&","&"))}};i.\u0275fac=function(o){return new(o||i)(C(Q))},i.\u0275dir=N({type:i,selectors:[["uds-translate"]],standalone:!1});let n=i;return n})();var Ah=(()=>{let i=class i{constructor(t){this.sanitizer=t}transform(t,o){return t=t.replace(/<\s*script\s*/gi,""),t=t.replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,""),t=t.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(t)}};i.\u0275fac=function(o){return new(o||i)(C(ns,16))},i.\u0275pipe=Qo({name:"safeHtml",type:i,pure:!0,standalone:!1});let n=i;return n})();function oH(n,i){if(n&1){let e=k();c(0,"button",4),b("click",function(){y(e);let o=_();return w(o.resolveAndClose(!1))}),c(1,"uds-translate"),f(2,"Close"),d(),f(3),d()}if(n&2){let e=_();u(3),Ge(e.extra)}}function rH(n,i){if(n&1){let e=k();c(0,"button",5),b("click",function(){y(e);let o=_();return w(o.resolveAndClose(!0))}),c(1,"uds-translate"),f(2,"Yes"),d()()}if(n&2){let e=_();p("color",e.yesColor)}}function aH(n,i){if(n&1){let e=k();c(0,"button",5),b("click",function(){y(e);let o=_();return w(o.resolveAndClose(!1))}),c(1,"uds-translate"),f(2,"No"),d()()}if(n&2){let e=_();p("color",e.noColor)}}var Od=function(n){return n[n.alert=0]="alert",n[n.question=1]="question",n}(Od||{}),Ey=(()=>{let i=class i{constructor(t,o){this.dialogRef=t,this.data=o,this.yesColor="primary",this.noColor="warn",this.extra="",this.subscription={},this.acceptance=new Xt}resolveAndClose(t){this.acceptance.resolve(t),this.close()}close(){this.dialogRef.close()}closed(){this.subscription!==null&&this.subscription.unsubscribe()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return H(this,null,function*(){let t=this.data.autoclose||0;t>0&&(this.dialogRef.afterClosed().subscribe(o=>{this.closed()}),this.setExtra(t),this.subscription=s_(1e3).subscribe(o=>{let r=t-(o+1)*1e3;this.setExtra(r),r<=0&&this.close()}))})}ngOnInit(){this.data.warnOnYes===!0&&(this.yesColor="warn",this.noColor="primary"),this.data.type===Od.alert&&this.initAlert()}};i.\u0275fac=function(o){return new(o||i)(C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-modal"]],standalone:!1,decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"color","click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"],["mat-raised-button","","mat-dialog-close","",3,"click","color"]],template:function(o,r){o&1&&(M(0,"h4",0),gt(1,"safeHtml"),M(2,"mat-dialog-content",1),gt(3,"safeHtml"),c(4,"mat-dialog-actions"),x(5,oH,4,1,"button",2)(6,rH,3,1,"button",3)(7,aH,3,1,"button",3),d()),o&2&&(p("innerHtml",Ct(1,5,r.data.title),qt),u(2),p("innerHTML",Ct(3,7,r.data.body),qt),u(3),p("ngIf",r.data.type===0),u(),p("ngIf",r.data.type===1),u(),p("ngIf",r.data.type===1))},dependencies:[ue,Te,Qt,Xe,et,Je,ae,Ah],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var Xn=function(n){return n.TEXT="text",n.TEXT_AUTOCOMPLETE="text-autocomplete",n.TEXTBOX="textbox",n.NUMERIC="numeric",n.PASSWORD="password",n.HIDDEN="hidden",n.CHOICE="choice",n.MULTI_CHOICE="multichoice",n.EDITLIST="editlist",n.CHECKBOX="checkbox",n.IMAGECHOICE="imgchoice",n.DATE="date",n.DATETIME="datetime",n.TAGLIST="taglist",n.INFO="internal-info",n}(Xn||{}),Pd=class{static locateChoice(i,e){let t=e.gui.choices;if(t===void 0)return{id:"",img:"",text:""};let o=t.find(r=>r.id===i);if(o===void 0)try{o=t[0]}catch{o={id:"",img:"",text:""}}return o}};var vT=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(t){return new(t||n)(C(xr),C(Q))};static \u0275dir=N({type:n})}return n})(),bT=(()=>{class n extends vT{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,features:[_e]})}return n})(),bi=new R("");var sH={provide:bi,useExisting:ln(()=>lt),multi:!0};function lH(){let n=Zo()?Zo().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var cH=new R(""),lt=(()=>{class n extends vT{_compositionMode;_composing=!1;constructor(e,t,o){super(e,t),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!lH())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(t){return new(t||n)(C(xr),C(Q),C(cH,8))};static \u0275dir=N({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,o){t&1&&b("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)})},standalone:!1,features:[ye([sH]),_e]})}return n})();function Da(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function yT(n){return n!=null&&typeof n.length=="number"}var lo=new R(""),Hh=new R(""),dH=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,rr=class{static min(i){return uH(i)}static max(i){return mH(i)}static required(i){return wT(i)}static requiredTrue(i){return pH(i)}static email(i){return hH(i)}static minLength(i){return fH(i)}static maxLength(i){return CT(i)}static pattern(i){return gH(i)}static nullValidator(i){return Oh(i)}static compose(i){return IT(i)}static composeAsync(i){return TT(i)}};function uH(n){return i=>{if(Da(i.value)||Da(n))return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(Da(i.value)||Da(n))return null;let e=parseFloat(i.value);return!isNaN(e)&&e>n?{max:{max:n,actual:i.value}}:null}}function wT(n){return Da(n.value)?{required:!0}:null}function pH(n){return n.value===!0?null:{required:!0}}function hH(n){return Da(n.value)||dH.test(n.value)?null:{email:!0}}function fH(n){return i=>Da(i.value)||!yT(i.value)?null:i.value.lengthyT(i.value)&&i.value.length>n?{maxlength:{requiredLength:n,actualLength:i.value.length}}:null}function gH(n){if(!n)return Oh;let i,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=n.toString(),i=n),t=>{if(Da(t.value))return null;let o=t.value;return i.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function Oh(n){return null}function xT(n){return n!=null}function DT(n){return ra(n)?Kt(n):n}function ST(n){let i={};return n.forEach(e=>{i=e!=null?L(L({},i),e):i}),Object.keys(i).length===0?null:i}function ET(n,i){return i.map(e=>e(n))}function _H(n){return!n.validate}function MT(n){return n.map(i=>_H(i)?i:e=>i.validate(e))}function IT(n){if(!n)return null;let i=n.filter(xT);return i.length==0?null:function(e){return ST(ET(e,i))}}function ky(n){return n!=null?IT(MT(n)):null}function TT(n){if(!n)return null;let i=n.filter(xT);return i.length==0?null:function(e){let t=ET(e,i).map(DT);return cc(t).pipe(le(ST))}}function Ay(n){return n!=null?TT(MT(n)):null}function mT(n,i){return n===null?[i]:Array.isArray(n)?[...n,i]:[n,i]}function kT(n){return n._rawValidators}function AT(n){return n._rawAsyncValidators}function My(n){return n?Array.isArray(n)?n:[n]:[]}function Ph(n,i){return Array.isArray(n)?n.includes(i):n===i}function pT(n,i){let e=My(i);return My(n).forEach(o=>{Ph(e,o)||e.push(o)}),e}function hT(n,i){return My(i).filter(e=>!Ph(n,e))}var Fh=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=ky(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Ay(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},Fr=class extends Fh{name;get formDirective(){return null}get path(){return null}},Ai=class extends Fh{_parent=null;name=null;valueAccessor=null},Nh=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},vH={"[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"},xce=Qe(L({},vH),{"[class.ng-submitted]":"isSubmitted"}),we=(()=>{class n extends Nh{constructor(e){super(e)}static \u0275fac=function(t){return new(t||n)(C(Ai,2))};static \u0275dir=N({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,o){t&2&&ne("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[_e]})}return n})(),Wh=(()=>{class n extends Nh{constructor(e){super(e)}static \u0275fac=function(t){return new(t||n)(C(Fr,10))};static \u0275dir=N({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,o){t&2&&ne("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[_e]})}return n})();var Fd="VALID",Rh="INVALID",Vl="PENDING",Nd="DISABLED",Sa=class{},Lh=class extends Sa{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Vd=class extends Sa{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Bd=class extends Sa{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Bl=class extends Sa{status;source;constructor(i,e){super(),this.status=i,this.source=e}},Iy=class extends Sa{source;constructor(i){super(),this.source=i}},Ty=class extends Sa{source;constructor(i){super(),this.source=i}};function RT(n){return(Gh(n)?n.validators:n)||null}function bH(n){return Array.isArray(n)?ky(n):n||null}function OT(n,i){return(Gh(i)?i.asyncValidators:n)||null}function yH(n){return Array.isArray(n)?Ay(n):n||null}function Gh(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function wH(n,i,e){let t=n.controls;if(!(i?Object.keys(t):t).length)throw new K(1e3,"");if(!t[e])throw new K(1001,"")}function CH(n,i,e){n._forEachChild((t,o)=>{if(e[o]===void 0)throw new K(1002,"")})}var Vh=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return Si(this.statusReactive)}set status(i){Si(()=>this.statusReactive.set(i))}_status=Mr(()=>this.statusReactive());statusReactive=Mo(void 0);get valid(){return this.status===Fd}get invalid(){return this.status===Rh}get pending(){return this.status==Vl}get disabled(){return this.status===Nd}get enabled(){return this.status!==Nd}errors;get pristine(){return Si(this.pristineReactive)}set pristine(i){Si(()=>this.pristineReactive.set(i))}_pristine=Mr(()=>this.pristineReactive());pristineReactive=Mo(!0);get dirty(){return!this.pristine}get touched(){return Si(this.touchedReactive)}set touched(i){Si(()=>this.touchedReactive.set(i))}_touched=Mr(()=>this.touchedReactive());touchedReactive=Mo(!1);get untouched(){return!this.touched}_events=new j;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(pT(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(pT(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(hT(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(hT(i,this._rawAsyncValidators))}hasValidator(i){return Ph(this._rawValidators,i)}hasAsyncValidator(i){return Ph(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let t=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(Qe(L({},i),{sourceControl:t})),e&&i.emitEvent!==!1&&this._events.next(new Bd(!0,t))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=i.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:t})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,t),e&&i.emitEvent!==!1&&this._events.next(new Bd(!1,t))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let t=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(Qe(L({},i),{sourceControl:t})),e&&i.emitEvent!==!1&&this._events.next(new Vd(!1,t))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=i.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,t),e&&i.emitEvent!==!1&&this._events.next(new Vd(!0,t))}markAsPending(i={}){this.status=Vl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Bl(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(Qe(L({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Nd,this.errors=null,this._forEachChild(o=>{o.disable(Qe(L({},i),{onlySelf:!0}))}),this._updateValue();let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Lh(this.value,t)),this._events.next(new Bl(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Qe(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Fd,this._forEachChild(t=>{t.enable(Qe(L({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Qe(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Fd||this.status===Vl)&&this._runAsyncValidator(t,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Lh(this.value,e)),this._events.next(new Bl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(Qe(L({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Nd:Fd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Vl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=DT(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,o)=>t&&t._find(o),this)}getError(i,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,t){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||t)&&this._events.next(new Bl(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,t)}_initObservables(){this.valueChanges=new T,this.statusChanges=new T}_calculateStatus(){return this._allControlsDisabled()?Nd:this.errors?Rh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vl)?Vl:this._anyControlsHaveStatus(Rh)?Rh:Fd}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let t=!this._anyControlsDirty(),o=this.pristine!==t;this.pristine=t,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),o&&this._events.next(new Vd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Bd(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){Gh(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=bH(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=yH(this._rawAsyncValidators)}},Bh=class extends Vh{constructor(i,e,t){super(RT(e),OT(t,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,t={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,t={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){CH(this,!0,i),Object.keys(i).forEach(t=>{wH(this,!0,t),this.controls[t].setValue(i[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(t=>{let o=this.controls[t];o&&o.patchValue(i[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((t,o)=>{t.reset(i?i[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,t)=>(i[t]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&i(t,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&i(t))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,t,o)=>((t.enabled||this.disabled)&&(e[o]=t.value),e))}_reduceChildren(i,e){let t=i;return this._forEachChild((o,r)=>{t=e(t,o,r)}),t}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var jl=new R("CallSetDisabledState",{providedIn:"root",factory:()=>$h}),$h="always";function xH(n,i){return[...i.path,n]}function jd(n,i,e=$h){Ry(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(n.disabled),SH(n,i),MH(n,i),EH(n,i),DH(n,i)}function jh(n,i,e=!0){let t=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(t),i.valueAccessor.registerOnTouched(t)),Uh(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function zh(n,i){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function DH(n,i){if(i.valueAccessor.setDisabledState){let e=t=>{i.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function Ry(n,i){let e=kT(n);i.validator!==null?n.setValidators(mT(e,i.validator)):typeof e=="function"&&n.setValidators([e]);let t=AT(n);i.asyncValidator!==null?n.setAsyncValidators(mT(t,i.asyncValidator)):typeof t=="function"&&n.setAsyncValidators([t]);let o=()=>n.updateValueAndValidity();zh(i._rawValidators,o),zh(i._rawAsyncValidators,o)}function Uh(n,i){let e=!1;if(n!==null){if(i.validator!==null){let o=kT(n);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.validator);r.length!==o.length&&(e=!0,n.setValidators(r))}}if(i.asyncValidator!==null){let o=AT(n);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.asyncValidator);r.length!==o.length&&(e=!0,n.setAsyncValidators(r))}}}let t=()=>{};return zh(i._rawValidators,t),zh(i._rawAsyncValidators,t),e}function SH(n,i){i.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&PT(n,i)})}function EH(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&PT(n,i),n.updateOn!=="submit"&&n.markAsTouched()})}function PT(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function MH(n,i){let e=(t,o)=>{i.valueAccessor.writeValue(t),o&&i.viewToModelUpdate(t)};n.registerOnChange(e),i._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function FT(n,i){n==null,Ry(n,i)}function IH(n,i){return Uh(n,i)}function NT(n,i){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function TH(n){return Object.getPrototypeOf(n.constructor)===bT}function LT(n,i){n._syncPendingControls(),i.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function VT(n,i){if(!i)return null;Array.isArray(i);let e,t,o;return i.forEach(r=>{r.constructor===lt?e=r:TH(r)?t=r:o=r}),o||t||e||null}function kH(n,i){let e=n.indexOf(i);e>-1&&n.splice(e,1)}var AH={provide:Fr,useExisting:ln(()=>co)},Ld=Promise.resolve(),co=(()=>{class n extends Fr{callSetDisabledState;get submitted(){return Si(this.submittedReactive)}_submitted=Mr(()=>this.submittedReactive());submittedReactive=Mo(!1);_directives=new Set;form;ngSubmit=new T;options;constructor(e,t,o){super(),this.callSetDisabledState=o,this.form=new Bh({},ky(e),Ay(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ld.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),jd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ld.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ld.then(()=>{let t=this._findContainer(e.path),o=new Bh({});FT(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ld.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Ld.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),LT(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(t){return new(t||n)(C(lo,10),C(Hh,10),C(jl,8))};static \u0275dir=N({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,o){t&1&&b("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ye([AH]),_e]})}return n})();function fT(n,i){let e=n.indexOf(i);e>-1&&n.splice(e,1)}function gT(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var qh=class extends Vh{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,t){super(RT(e),OT(t,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Gh(e)&&(e.nonNullable||e.initialValueIsDefault)&&(gT(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){fT(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){fT(this._onDisabledChange,i)}_forEachChild(i){}_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(i){gT(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var RH=n=>n instanceof qh;var OH={provide:Ai,useExisting:ln(()=>xe)},_T=Promise.resolve(),xe=(()=>{class n extends Ai{_changeDetectorRef;callSetDisabledState;control=new qh;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new T;constructor(e,t,o,r,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=VT(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),NT(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){jd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){_T.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let t=e.isDisabled.currentValue,o=t!==0&&G(t);_T.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?xH(e,this._parent):[e]}static \u0275fac=function(t){return new(t||n)(C(Fr,9),C(lo,10),C(Hh,10),C(bi,10),C(Ee,8),C(jl,8))};static \u0275dir=N({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ye([OH]),_e,Ze]})}return n})(),Yh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})(),PH={provide:bi,useExisting:ln(()=>Gi),multi:!0},Gi=(()=>{class n extends bT{writeValue(e){let t=e??"";this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(t==""?null:parseFloat(t))}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,o){t&1&&b("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[ye([PH]),_e]})}return n})();var BT=new R(""),FH={provide:Ai,useExisting:ln(()=>Oy)},Oy=(()=>{class n extends Ai{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new T;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,o,r,a){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=VT(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&jh(t,this,!1),jd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}NT(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&jh(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(t){return new(t||n)(C(lo,10),C(Hh,10),C(bi,10),C(BT,8),C(jl,8))};static \u0275dir=N({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ye([FH]),_e,Ze]})}return n})(),NH={provide:Fr,useExisting:ln(()=>Ea)},Ea=(()=>{class n extends Fr{callSetDisabledState;get submitted(){return Si(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Mr(()=>this._submittedReactive());_submittedReactive=Mo(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new T;constructor(e,t,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Uh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let t=this.form.get(e.path);return jd(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){jh(e.control||null,e,!1),kH(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),LT(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Iy(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Ty(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,o=this.form.get(e.path);t!==o&&(jh(t||null,e),RH(o)&&(jd(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);FT(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&IH(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ry(this.form,this),this._oldForm&&Uh(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(t){return new(t||n)(C(lo,10),C(Hh,10),C(jl,8))};static \u0275dir=N({type:n,selectors:[["","formGroup",""]],hostBindings:function(t,o){t&1&&b("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ye([NH]),_e,Ze]})}return n})();function LH(n){return typeof n=="number"?n:parseInt(n,10)}var jT=(()=>{class n{_validator=Oh;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Oh,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,features:[Ze]})}return n})();var VH={provide:lo,useExisting:ln(()=>Nn),multi:!0};var Nn=(()=>{class n extends jT{required;inputName="required";normalizeInput=G;createValidator=e=>wT;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,o){t&2&&ee("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ye([VH]),_e]})}return n})();var BH={provide:lo,useExisting:ln(()=>hs),multi:!0},hs=(()=>{class n extends jT{maxlength;inputName="maxlength";normalizeInput=e=>LH(e);createValidator=e=>CT(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,o){t&2&&ee("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ye([BH]),_e]})}return n})();var zT=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var UT=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:jl,useValue:e.callSetDisabledState??$h}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[zT]})}return n})(),Qh=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:BT,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:jl,useValue:e.callSetDisabledState??$h}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[zT]})}return n})();var Py=class{_box;_destroyed=new j;_resizeSubject=new j;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new Fe(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),t.unsubscribe(),this._elementObservables.delete(i)}}).pipe(je(e=>e.some(t=>t.target===i)),zu({bufferSize:1,refCount:!0}),pe(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Kh=(()=>{class n{_observers=new Map;_ngZone=h(te);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let o=t?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Py(o)),this._observers.get(o).observe(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Vy=["*"];function jH(n,i){n&1&&re(0)}var zH=["tabListContainer"],UH=["tabList"],HH=["tabListInner"],WH=["nextPaginator"],GH=["previousPaginator"],$H=n=>({animationDuration:n}),qH=(n,i)=>({value:n,params:i});function YH(n,i){}var QH=["tabBodyWrapper"],KH=["tabHeader"];function ZH(n,i){}function XH(n,i){if(n&1&&x(0,ZH,0,0,"ng-template",12),n&2){let e=_().$implicit;p("cdkPortalOutlet",e.templateLabel)}}function JH(n,i){if(n&1&&f(0),n&2){let e=_().$implicit;Ge(e.textLabel)}}function e5(n,i){if(n&1){let e=k();c(0,"div",7,2),b("click",function(){let o=y(e),r=o.$implicit,a=o.$index,s=_(),l=be(1);return w(s._handleClick(r,l,a))})("cdkFocusChange",function(o){let r=y(e).$index,a=_();return w(a._tabFocusChanged(o,r))}),M(2,"span",8)(3,"div",9),c(4,"span",10)(5,"span",11),x(6,XH,1,1,null,12)(7,JH,1,1),d()()()}if(n&2){let e=i.$implicit,t=i.$index,o=be(1),r=_();Yt(e.labelClass),ne("mdc-tab--active",r.selectedIndex===t),p("id",r._getTabLabelId(t))("disabled",e.disabled)("fitInkBarToContent",r.fitInkBarToContent),ee("tabIndex",r._getTabIndex(t))("aria-posinset",t+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(t))("aria-selected",r.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),u(3),p("matRippleTrigger",o)("matRippleDisabled",e.disabled||r.disableRipple),u(3),Ce(e.templateLabel?6:7)}}function t5(n,i){n&1&&re(0)}function n5(n,i){if(n&1){let e=k();c(0,"mat-tab-body",13),b("_onCentered",function(){y(e);let o=_();return w(o._removeTabBodyWrapperHeight())})("_onCentering",function(o){y(e);let r=_();return w(r._setTabBodyWrapperHeight(o))}),d()}if(n&2){let e=i.$implicit,t=i.$index,o=_();Yt(e.bodyClass),ne("mat-mdc-tab-body-active",o.selectedIndex===t),p("id",o._getTabContentId(t))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),ee("tabindex",o.contentTabIndex!=null&&o.selectedIndex===t?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(t))("aria-hidden",o.selectedIndex!==t)}}var i5=new R("MatTabContent"),o5=(()=>{class n{template=h(wt);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matTabContent",""]],features:[ye([{provide:i5,useExisting:n}])]})}return n})(),r5=new R("MatTabLabel"),GT=new R("MAT_TAB"),Jt=(()=>{class n extends r1{_closestTab=h(GT,{optional:!0});static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[ye([{provide:r5,useExisting:n}]),_e]})}return n})(),$T=new R("MAT_TAB_GROUP"),en=(()=>{class n{_viewContainerRef=h(kt);_closestTabGroup=h($T,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new j;position=null;origin=null;isActive=!1;constructor(){h(Mt).load(Dn)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new On(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-tab"]],contentQueries:function(t,o,r){if(t&1&&(He(r,Jt,5),He(r,o5,7,wt)),t&2){let a;$(a=q())&&(o.templateLabel=a.first),$(a=q())&&(o._explicitContent=a.first)}},viewQuery:function(t,o){if(t&1&&se(wt,7),t&2){let r;$(r=q())&&(o._implicitContent=r.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",G],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[ye([{provide:GT,useExisting:n}]),ce,Ze],ngContentSelectors:Vy,decls:1,vars:0,template:function(t,o){t&1&&(We(),x(0,jH,1,0,"ng-template"))},encapsulation:2})}return n})(),Fy="mdc-tab-indicator--active",HT="mdc-tab-indicator--no-transition",Ny=class{_items;_currentItem;constructor(i){this._items=i}hide(){this._items.forEach(i=>i.deactivateInkBar())}alignToElement(i){let e=this._items.find(o=>o.elementRef.nativeElement===i),t=this._currentItem;if(e!==t&&(t?.deactivateInkBar(),e)){let o=t?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(o),this._currentItem=e}}},a5=(()=>{class n{_elementRef=h(Q);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let t=this._elementRef.nativeElement;if(!e||!t.getBoundingClientRect||!this._inkBarContentElement){t.classList.add(Fy);return}let o=t.getBoundingClientRect(),r=e.width/o.width,a=e.left-o.left;t.classList.add(HT),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${r})`),t.getBoundingClientRect(),t.classList.remove(HT),t.classList.add(Fy),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Fy)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,t=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");t.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",t.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G]},features:[ce]})}return n})();var qT=(()=>{class n extends a5{elementRef=h(Q);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,o){t&2&&(ee("aria-disabled",!!o.disabled),ne("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[2,"disabled","disabled",G]},features:[ce,_e]})}return n})(),WT=Wn({passive:!0}),s5=650,l5=100,c5=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_viewportRuler=h(Ii);_dir=h(jt,{optional:!0});_ngZone=h(te);_platform=h(rt);_animationMode=h($t,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new j;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new j;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let t=isNaN(e)?0:e;this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}_selectedIndex=0;selectFocusedIndex=new T;indexFocused=new T;_sharedResizeObserver=h(Kh);_injector=h(Ae);constructor(){this._ngZone.runOutsideAngular(()=>{mi(this._elementRef.nativeElement,"mouseleave").pipe(pe(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){mi(this._previousPaginator.nativeElement,"touchstart",WT).pipe(pe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),mi(this._nextPaginator.nativeElement,"touchstart",WT).pipe(pe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:ie("ltr"),t=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(ur(32),pe(this._destroyed)),o=this._viewportRuler.change(150).pipe(pe(this._destroyed)),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new ga(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),nn(r,{injector:this._injector}),yt(e,o,t,this._items.changes,this._itemsResized()).pipe(pe(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?kn:this._items.changes.pipe(Et(this._items),Tt(e=>new Fe(t=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(r=>t.next(r));return e.forEach(r=>o.observe(r.elementRef.nativeElement)),()=>{o.disconnect()}}))),ja(1),je(e=>e.some(t=>t.contentRect.width>0&&t.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ot(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let t=this._items.get(this.focusIndex);t&&!t.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let t=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?t.scrollLeft=0:t.scrollLeft=t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,t=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let t=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*t/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let t=this._items?this._items.toArray()[e]:null;if(!t)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:r,offsetWidth:a}=t.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=r,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-r,s=l-a);let m=this.scrollDistance,g=this.scrollDistance+o;sg&&(this.scrollDistance+=Math.min(l-g,s-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,t=this._elementRef.nativeElement.offsetWidth,o=e-t>=5;o||(this.scrollDistance=0),o!==this._showPaginationControls&&(this._showPaginationControls=o,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,t=this._tabListContainer.nativeElement.offsetWidth;return e-t||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&t.button!=null&&t.button!==0||(this._stopInterval(),yo(s5,l5).pipe(pe(yt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:r}=this._scrollHeader(e);(r===0||r>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,inputs:{disablePagination:[2,"disablePagination","disablePagination",G],selectedIndex:[2,"selectedIndex","selectedIndex",on]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ce]})}return n})(),d5=(()=>{class n extends c5{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Ny(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-tab-header"]],contentQueries:function(t,o,r){if(t&1&&He(r,qT,4),t&2){let a;$(a=q())&&(o._items=a)}},viewQuery:function(t,o){if(t&1&&(se(zH,7),se(UH,7),se(HH,7),se(WH,5),se(GH,5)),t&2){let r;$(r=q())&&(o._tabListContainer=r.first),$(r=q())&&(o._tabList=r.first),$(r=q())&&(o._tabListInner=r.first),$(r=q())&&(o._nextPaginator=r.first),$(r=q())&&(o._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(t,o){t&2&&ne("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",G]},features:[ce,_e],ngContentSelectors:Vy,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(t,o){if(t&1){let r=k();We(),c(0,"div",5,0),b("click",function(){return y(r),w(o._handlePaginatorClick("before"))})("mousedown",function(s){return y(r),w(o._handlePaginatorPress("before",s))})("touchend",function(){return y(r),w(o._stopInterval())}),M(2,"div",6),d(),c(3,"div",7,1),b("keydown",function(s){return y(r),w(o._handleKeydown(s))}),c(5,"div",8,2),b("cdkObserveContent",function(){return y(r),w(o._onContentChanges())}),c(7,"div",9,3),re(9),d()()(),c(10,"div",10,4),b("mousedown",function(s){return y(r),w(o._handlePaginatorPress("after",s))})("click",function(){return y(r),w(o._handlePaginatorClick("after"))})("touchend",function(){return y(r),w(o._stopInterval())}),M(12,"div",6),d()}t&2&&(ne("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),p("matRippleDisabled",o._disableScrollBefore||o.disableRipple),u(3),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations"),u(2),ee("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby||null),u(5),ne("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),p("matRippleDisabled",o._disableScrollAfter||o.disableRipple))},dependencies:[so,l1],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}"],encapsulation:2})}return n})(),u5=new R("MAT_TABS_CONFIG"),m5={translateTab:mn("translateTab",[Ft("center, void, left-origin-center, right-origin-center",Me({transform:"none",visibility:"visible"})),Ft("left",Me({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ft("right",Me({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),xt("* => left, * => right, left => center, right => center",It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),xt("void => left-origin-center",[Me({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),xt("void => right-origin-center",[Me({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},p5=(()=>{class n extends si{_host=h(YT);_centeringSub=ge.EMPTY;_leavingSub=ge.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Et(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matTabBodyHost",""]],features:[_e]})}return n})(),YT=(()=>{class n{_elementRef=h(Q);_dir=h(jt,{optional:!0});_positionIndex;_dirChangeSubscription=ge.EMPTY;_position;_translateTabComplete=new j;_onCentering=new T;_beforeCentering=new T;_afterLeavingCenter=new T;_onCentered=new T(!0);_portalHost;_content;origin;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=h(Ee);this._dirChangeSubscription=this._dir.change.subscribe(t=>{this._computePositionAnimationState(t),e.markForCheck()})}this._translateTabComplete.subscribe(e=>{this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let t=this._getLayoutDirection();return t=="ltr"&&e<=0||t=="rtl"&&e>0?"left-origin-center":"right-origin-center"}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-tab-body"]],viewQuery:function(t,o){if(t&1&&se(si,5),t&2){let r;$(r=q())&&(o._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(t,o){if(t&1){let r=k();c(0,"div",1,0),b("@translateTab.start",function(s){return y(r),w(o._onTranslateTabStarted(s))})("@translateTab.done",function(s){return y(r),w(o._translateTabComplete.next(s))}),x(2,YH,0,0,"ng-template",2),d()}t&2&&p("@translateTab",al(3,qH,o._position,Un(1,$H,o.animationDuration)))},dependencies:[p5,vd],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[m5.translateTab]}})}return n})(),h5=!0,rn=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_animationMode=h($t,{optional:!0});_allTabs;_tabBodyWrapper;_tabHeader;_tabs=new Ji;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;_tabsSubscription=ge.EMPTY;_tabLabelSubscription=ge.EMPTY;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!h5)throw new Error("mat-tab-group background color must be set through the Sass theming API");let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new T;focusChange=new T;animationDone=new T;selectedTabChange=new T(!0);_groupId;_isServer=!h(rt).isBrowser;constructor(){let e=h(u5,{optional:!0});this._groupId=h(ft).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let t=this._selectedIndex==null;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,r)=>o.isActive=r===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,o)=>{t.position=o-e,this._selectedIndex!=null&&t.position==0&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let t=this._tabs.toArray(),o;for(let r=0;r{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Et(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let t=new Ly;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=yt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`${this._groupId}-label-${e}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,o){t.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let t=this._lastFocusedTabIndex??this.selectedIndex;return e===t?0:-1}_tabFocusChanged(e,t){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=t)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-tab-group"]],contentQueries:function(t,o,r){if(t&1&&He(r,en,5),t&2){let a;$(a=q())&&(o._allTabs=a)}},viewQuery:function(t,o){if(t&1&&(se(QH,5),se(KH,5)),t&2){let r;$(r=q())&&(o._tabBodyWrapper=r.first),$(r=q())&&(o._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(t,o){t&2&&(ee("mat-align-tabs",o.alignTabs),Yt("mat-"+(o.color||"primary")),zn("--mat-tab-animation-duration",o.animationDuration),ne("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",G],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",G],selectedIndex:[2,"selectedIndex","selectedIndex",on],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",on],disablePagination:[2,"disablePagination","disablePagination",G],disableRipple:[2,"disableRipple","disableRipple",G],preserveContent:[2,"preserveContent","preserveContent",G],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[ye([{provide:$T,useExisting:n}]),ce],ngContentSelectors:Vy,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(t,o){if(t&1){let r=k();We(),c(0,"mat-tab-header",3,0),b("indexFocused",function(s){return y(r),w(o._focusChanged(s))})("selectFocusedIndex",function(s){return y(r),w(o.selectedIndex=s)}),Dr(2,e5,8,17,"div",4,Nc),d(),x(4,t5,1,0),c(5,"div",5,1),Dr(7,n5,1,13,"mat-tab-body",6,Nc),d()}t&2&&(p("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby),u(2),Sr(o._tabs),u(2),Ce(o._isServer?4:-1),u(),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations"),u(2),Sr(o._tabs))},dependencies:[d5,qT,ph,so,si,YT],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return n})(),Ly=class{index;tab};var QT=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})();function f5(n,i){if(n&1){let e=k();c(0,"uds-field-text",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function g5(n,i){if(n&1){let e=k();c(0,"uds-field-autocomplete",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function _5(n,i){if(n&1){let e=k();c(0,"uds-field-textbox",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function v5(n,i){if(n&1){let e=k();c(0,"uds-field-numeric",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function b5(n,i){if(n&1){let e=k();c(0,"uds-field-password",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function y5(n,i){if(n&1){let e=k();c(0,"uds-field-hidden",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function w5(n,i){if(n&1){let e=k();c(0,"uds-field-choice",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function C5(n,i){if(n&1){let e=k();c(0,"uds-field-multichoice",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function x5(n,i){if(n&1){let e=k();c(0,"uds-field-editlist",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function D5(n,i){if(n&1){let e=k();c(0,"uds-field-checkbox",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function S5(n,i){if(n&1){let e=k();c(0,"uds-field-imgchoice",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function E5(n,i){if(n&1){let e=k();c(0,"uds-field-date",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function M5(n,i){if(n&1){let e=k();c(0,"uds-field-tags",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}var Zh=(()=>{let i=class i{constructor(){this.field={},this.changed=new T,this.udsGuiFieldType=Xn}ngOnInit(){}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:14,vars:15,consts:[["matTooltipShowDelay","1000",1,"field",3,"ngSwitch","matTooltip"],[3,"field","changed",4,"ngSwitchCase"],[3,"changed","field"]],template:function(o,r){o&1&&(c(0,"div",0),x(1,f5,1,1,"uds-field-text",1)(2,g5,1,1,"uds-field-autocomplete",1)(3,_5,1,1,"uds-field-textbox",1)(4,v5,1,1,"uds-field-numeric",1)(5,b5,1,1,"uds-field-password",1)(6,y5,1,1,"uds-field-hidden",1)(7,w5,1,1,"uds-field-choice",1)(8,C5,1,1,"uds-field-multichoice",1)(9,x5,1,1,"uds-field-editlist",1)(10,D5,1,1,"uds-field-checkbox",1)(11,S5,1,1,"uds-field-imgchoice",1)(12,E5,1,1,"uds-field-date",1)(13,M5,1,1,"uds-field-tags",1),d()),o&2&&(p("ngSwitch",r.field.gui.type)("matTooltip",r.field.gui.tooltip),u(),p("ngSwitchCase",r.udsGuiFieldType.TEXT),u(),p("ngSwitchCase",r.udsGuiFieldType.TEXT_AUTOCOMPLETE),u(),p("ngSwitchCase",r.udsGuiFieldType.TEXTBOX),u(),p("ngSwitchCase",r.udsGuiFieldType.NUMERIC),u(),p("ngSwitchCase",r.udsGuiFieldType.PASSWORD),u(),p("ngSwitchCase",r.udsGuiFieldType.HIDDEN),u(),p("ngSwitchCase",r.udsGuiFieldType.CHOICE),u(),p("ngSwitchCase",r.udsGuiFieldType.MULTI_CHOICE),u(),p("ngSwitchCase",r.udsGuiFieldType.EDITLIST),u(),p("ngSwitchCase",r.udsGuiFieldType.CHECKBOX),u(),p("ngSwitchCase",r.udsGuiFieldType.IMAGECHOICE),u(),p("ngSwitchCase",r.udsGuiFieldType.DATE),u(),p("ngSwitchCase",r.udsGuiFieldType.TAGLIST))},styles:["uds-field[_ngcontent-%COMP%]{flex:1 50%} .mat-mdc-form-field{width:calc(100% - 1px)} .mat-form-field-flex{padding-top:0!important} .mat-mdc-tooltip{font-size:.9rem!important;margin:0!important;max-width:26em!important}"]});let n=i;return n})();function T5(n,i){if(n&1&&f(0),n&2){let e=_().$implicit;O(" ",e," ")}}function k5(n,i){if(n&1){let e=k();c(0,"uds-field",9),b("changed",function(o){y(e);let r=_(3);return w(r.changed.emit(o))}),d()}if(n&2){let e=i.$implicit;p("field",e)}}function A5(n,i){if(n&1&&(c(0,"mat-tab",4),x(1,T5,1,1,"ng-template",5),c(2,"div",6)(3,"div",7),x(4,k5,1,1,"uds-field",8),d()()()),n&2){let e=i.$implicit,t=_(2);u(4),p("ngForOf",t.fieldsByTab[e])}}function R5(n,i){if(n&1&&(c(0,"mat-tab-group",2),x(1,A5,5,1,"mat-tab",3),d()),n&2){let e=_();p("disableRipple",!1)("@.disabled",!0),u(),p("ngForOf",e.tabs)}}function O5(n,i){if(n&1){let e=k();c(0,"div")(1,"uds-field",9),b("changed",function(o){y(e);let r=_(2);return w(r.changed.emit(o))}),d()()}if(n&2){let e=i.$implicit;u(),p("field",e)}}function P5(n,i){if(n&1&&(c(0,"div",6),x(1,O5,2,1,"div",10),d()),n&2){let e=_();u(),p("ngForOf",e.fields)}}var F5=django.gettext("Main"),KT=(()=>{let i=class i{constructor(){this.fields=[],this.changed=new T,this.tabs=new Array,this.fieldsByTab={}}ngOnInit(){this.fieldsByTab={};for(let t of this.fields){let o=t.gui.tab===void 0?F5:t.gui.tab;this.tabs.includes(o)||(this.tabs.push(o),this.fieldsByTab[o]=new Array),this.fieldsByTab[o].push(t)}}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-form"]],inputs:{fields:"fields"},outputs:{changed:"changed"},standalone:!1,decls:3,vars:2,consts:[["onlyone",""],["backgroundColor","primary",3,"disableRipple",4,"ngIf","ngIfElse"],["backgroundColor","primary",3,"disableRipple"],["class","noOverflow",4,"ngFor","ngForOf"],[1,"noOverflow"],["mat-tab-label",""],[1,"form-content"],[1,"content"],[3,"field","changed",4,"ngFor","ngForOf"],[3,"changed","field"],[4,"ngFor","ngForOf"]],template:function(o,r){if(o&1&&x(0,R5,2,3,"mat-tab-group",1)(1,P5,2,1,"ng-template",null,0,gn),o&2){let a=be(2);p("ngIf",r.tabs.length>1)("ngIfElse",a)}},dependencies:[$e,ue,Jt,en,rn,Zh],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap}.form-content[_ngcontent-%COMP%]{padding-top:1rem} .mat-mdc-tab-body-content{overflow:hidden!important} .mat-mdc-form-field-infix{min-height:3rem} .mat-mdc-tab-header{position:sticky;top:0;z-index:1000}"]});let n=i;return n})();function L5(n,i){if(n&1){let e=k();c(0,"button",10),b("click",function(){y(e);let o=_();return w(o.customButtonClicked())}),f(1),d()}if(n&2){let e=_();u(),Ge(e.data.customButton)}}var ZT=(()=>{let i=class i{constructor(t,o){this.dialogRef=t,this.data=o,this.onEvent=new T(!0),this.saving=!1}ngOnInit(){this.onEvent.emit({type:"init",data:null,dialog:this.dialogRef})}changed(t){this.onEvent.emit({type:"changed",data:t,dialog:this.dialogRef})}getFields(){let t={},o=[];return this.data.guiFields.forEach(r=>{let a=r.value;if(r.gui.required&&a!==0&&a!==!1&&(!a||a instanceof Array&&a.length===0)&&o.push(r.gui.label),typeof a=="number"){let s=parseInt((r.gui.minValue||987654321).toString(),10),l=parseInt((r.gui.maxValue||987654321).toString(),10);s!==987654321&&a= "+r.gui.minValue),l!==987654321&&a>l&&o.push(r.gui.label+" <= "+r.gui.maxValue),a=a.toString()}t[r.name]=a}),{data:t,errors:o}}save(){let t=this.getFields();if(t.errors.length>0){this.data.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+t.errors.join(", "));return}this.onEvent.emit({data:t.data,type:"save",dialog:this.dialogRef})}cancel(){this.onEvent.emit({data:null,type:"cancel",dialog:this.dialogRef})}customButtonClicked(){let t=this.getFields();this.onEvent.emit({data:t.data,type:this.data.customButton||"",errors:t.errors,dialog:this.dialogRef})}};i.\u0275fac=function(o){return new(o||i)(C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-modal-form"]],standalone:!1,decls:17,vars:7,consts:[["vc",""],["mat-dialog-title","",3,"innerHtml"],["autocomplete","off"],[3,"changed","fields"],[1,"buttons"],[1,"group1"],["ngClass","custom","mat-raised-button","",3,"click",4,"ngIf"],[1,"group2"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click","disabled"],["ngClass","custom","mat-raised-button","",3,"click"]],template:function(o,r){if(o&1){let a=k();M(0,"h4",1),gt(1,"safeHtml"),c(2,"mat-dialog-content",null,0)(4,"form",2)(5,"uds-form",3),b("changed",function(l){return y(a),w(r.changed(l))}),d()()(),c(6,"mat-dialog-actions")(7,"div",4)(8,"div",5),x(9,L5,2,1,"button",6),d(),c(10,"div",7)(11,"button",8),b("click",function(){return y(a),w(r.dialogRef.close())})("click",function(){return y(a),w(r.cancel())}),c(12,"uds-translate"),f(13,"Discard & close"),d()(),c(14,"button",9),b("click",function(){return y(a),w(r.save())}),c(15,"uds-translate"),f(16,"Save"),d()()()()()}o&2&&(p("innerHtml",Ct(1,5,r.data.title),qt),u(5),p("fields",r.data.guiFields),u(4),p("ngIf",r.data.customButton!==void 0),u(2),p("disabled",r.saving),u(3),p("disabled",r.saving))},dependencies:[Ei,ue,Yh,Wh,co,Te,Xe,et,Je,ae,KT,Ah],styles:["h4[_ngcontent-%COMP%]{margin-bottom:0}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%} uds-field{flex:1 100%}button.custom[_ngcontent-%COMP%]{background-color:#4682b4;color:#fff}.modal-form[_ngcontent-%COMP%]{padding-top:1.5rem}"]});let n=i;return n})();var Xh=class{constructor(i){this.gui=i}modalForm(i,e,t=null,o){e.sort((l,m)=>l.gui.order>m.gui.order?1:-1);let r=t!=null;t=r?t:{},e.forEach(l=>{(r===!1||l.gui.readonly===void 0)&&(l.gui.readonly=!1),l.gui.type===Xn.TEXT&&l.gui.lines&&(l.gui.type=Xn.TEXTBOX);let m=t[l.name];if(m!==void 0)if(m instanceof Array){let g=new Array;m.forEach(v=>g.push(v)),l.value=g}else l.value=m});let a=window.innerWidth<800?"80%":"50%";return this.gui.dialog.open(ZT,{position:{top:"64px"},width:a,data:{title:i,guiFields:e,customButton:o,gui:this.gui},disableClose:!0}).componentInstance.onEvent}typedForm(i,e,t,o,r,a,s){return H(this,null,function*(){let l=s||{},m=l.callback||(()=>{}),g=o||[],v=t?django.gettext("Test"):void 0,D={},S={},I=V=>{if(S.hasOwnProperty(V.name)){let he=S[V.name];V.value!==""&&V.value!==void 0&&this.executeCallback(i,V,D)}},A=l.snack||this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),Y=yield i.table.rest.gui(a);if(A.dismiss(),g!==void 0)for(let V of g)Y.push(V);for(let V of Y){if(V.gui.type===Xn.INFO){V.name==="title"&&(e+=" "+(V.value||V.gui.default||""));continue}D[V.name]=V,V.gui.fills!==void 0&&(S[V.name]=V.gui.fills)}this.modalForm(e,Y,r,v).subscribe(V=>H(this,null,function*(){switch(V.data&&(V.data.data_type=a),V.type){case v:if(V.errors&&V.errors.length>0){this.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+V.errors.join(", "));return}this.gui.snackbar.open(django.gettext("Testing..."),django.gettext("dismiss")),i.table.rest.test(a,V.data).then(he=>{he!=="ok"?this.gui.snackbar.open(django.gettext("Test failed:")+" "+he,django.gettext("dismiss")):this.gui.snackbar.open(django.gettext("Test passed successfully"),django.gettext("dismiss"),{duration:2e3})});break;case"changed":case"init":if(V.data===null)for(let he of Y)I(he);else I(V.data.field);m({on:V.data,all:D});break;case"save":if(l.save===void 0){V.dialog.componentInstance.saving=!0;try{r?yield i.table.rest.save(V.data,r.id):yield i.table.rest.create(V.data),this.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),V.dialog.close(),i.table.overview()}finally{V.dialog.componentInstance.saving=!1}}else V.dialog.close(),l.save.resolve(V.data);break;case"cancel":V.dialog.close();break}}))})}typedEditForm(i,e,t=!1,o,r=()=>{}){return H(this,null,function*(){let a=i.table.selection.selected[0],s=a.type,l=new T,m=this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),g=yield i.table.rest.get(a.id);return this.typedForm(i,e,t,o,g,s,{snack:m,callback:r})})}typedNewForm(i,e,t=!1,o,r=()=>{}){return H(this,null,function*(){let a=i.param?i.param.type:void 0;return this.typedForm(i,e,t,o,null,a,{callback:r})})}deleteForm(i,e,t){return H(this,null,function*(){let o=new Array,r=new Array;for(let l of i.table.selection.selected){let m=l.name||l.friendly_name||l[t||"name"]||l.id;m&&m.changingThisBreaksApplicationSecurity&&(m=m.changingThisBreaksApplicationSecurity),o.push(m.replace(//g,">")),r.push(l.id)}let a=django.gettext("Are you sure do you want to delete the following items?")+"
"+o.join(", ")+"";if(yield this.gui.questionDialog(e,a,!0)){for(let m of r)try{yield i.table.rest.delete(m)}catch(g){console.warn("Error deleting item",m,g)}let l=r.length;this.gui.snackbar.open(django.gettext("Deletion finished"),django.gettext("dismiss"),{duration:2e3}),i.table.overview()}})}executeCallback(r,a,s){return H(this,arguments,function*(i,e,t,o={}){let l=new Array;if(!e.gui.fills)return;for(let v of e.gui.fills.parameters)l.push(v+"="+encodeURIComponent(t[v].value));let m=yield i.table.rest.callback(e.gui.fills.callback_name,l.join("&")),g=new Array;for(let v of m){let D=t[v.name];if(D!==void 0){D.gui.fills!==void 0&&g.push(D);let S=new Array;for(let I of v.choices)S.push({id:I.id,text:I.text,img:I.img});if(D.gui.choices=S,D.value instanceof Array){let I=new Array;for(let A of D.gui.choices)D.value.indexOf(A.id)>=0&&I.push(A.id);D.value=I}else(!D.value||D.value instanceof Array&&D.value.length===0)&&(D.value=v.choices.length>0?v.choices[0].id:"")}}for(let v of g)o[v.name]===void 0&&(o[v.name]=!0,this.executeCallback(i,v,t,o))})}};var V5="display:inline-block; background-size: SIZE SIZE; background-repeat: no-repeat; width: SIZE; height: SIZE; vertical-align: middle; margin: 4px 8px 4px 0px;",Jh=class{constructor(i,e){this.dialog=i,this.snackbar=e,this.forms=new Xh(this)}alert(i,e,t=0,o){return H(this,null,function*(){let r=o||(window.innerWidth<800?"80%":"40%");return this.dialog.open(Ey,{width:r,data:{title:i,body:e,autoclose:t,type:Od.alert},disableClose:!0}).componentInstance.acceptance})}questionDialog(i,e,t=!1){return H(this,null,function*(){let o=window.innerWidth<800?"80%":"40%",r=this.dialog.open(Ey,{width:o,data:{title:i,body:e,type:Od.question,warnOnYes:t},disableClose:!0});return ir(r.componentInstance.acceptance)})}icon(i,e="24px"){return''}};var ef={production:!0};var _n=function(n){return n.NUMERIC="numeric",n.ALPHANUMERIC="alphanumeric",n.DATETIME="datetime",n.DATETIMESEC="datetimesec",n.DATE="date",n.TIME="time",n.ICON="iconType",n.CALLBACK="callback",n.DICTIONARY="dict",n.IMAGE="image",n}(_n||{}),ct=function(n){return n[n.ALWAYS=0]="ALWAYS",n[n.SINGLE_SELECT=1]="SINGLE_SELECT",n[n.MULTI_SELECT=2]="MULTI_SELECT",n[n.ONLY_MENU=3]="ONLY_MENU",n[n.ACCELERATOR=4]="ACCELERATOR",n}(ct||{});var By="provider",jy="service",zd="pool",B5="authenticator",Ud="user",zy="group",Uy="transport",Hy="osmanager",tf="calendar",Wy="poolgroup",j5={provider:django.gettext("provider"),service:django.gettext("service"),pool:django.gettext("service pool"),authenticator:django.gettext("authenticator"),mfa:django.gettext("MFA"),user:django.gettext("user"),group:django.gettext("group"),transport:django.gettext("transport"),osmanager:django.gettext("OS manager"),calendar:django.gettext("calendar"),poolgroup:django.gettext("pool group")},Mn=class{constructor(i){this.router=i}static getGotoButton(i,e,t){return{id:i,html:'link'+django.gettext("Go to")+" "+j5[i]+"",type:ct.ACCELERATOR,acceleratorProperties:[e,t||""]}}gotoProvider(i){i!==void 0?this.router.navigate(["services","providers",i]):this.router.navigate(["services","providers"])}gotoService(i,e){e!==void 0?this.router.navigate(["services","providers",i,"detail",e]):this.router.navigate(["services","providers",i,"detail"])}gotoServer(i){this.router.navigate(["services","servers",i])}gotoServerDetail(i){this.router.navigate(["services","servers",i,"detail"])}gotoServicePool(i){this.router.navigate(["pools","service-pools",i])}gotoServicePoolDetail(i){this.router.navigate(["pools","service-pools",i,"detail"])}gotoMetapool(i){this.router.navigate(["pools","meta-pools",i])}gotoMetapoolDetail(i){this.router.navigate(["pools","meta-pools",i,"detail"])}gotoCalendar(i){this.router.navigate(["pools","calendars",i])}gotoCalendarDetail(i){this.router.navigate(["pools","calendars",i,"detail"])}gotoAccount(i){this.router.navigate(["pools","accounts",i])}gotoAccountDetail(i){this.router.navigate(["pools","accounts",i,"detail"])}gotoPoolGroup(i){i=i||"",this.router.navigate(["pools","pool-groups",i])}gotoAuthenticator(i){this.router.navigate(["authenticators",i])}gotoAuthenticatorDetail(i){this.router.navigate(["authenticators",i,"detail"])}gotoMFA(i){this.router.navigate(["mfas",i])}gotoUser(i,e){this.router.navigate(["authenticators",i,"detail","users",e])}gotoGroup(i,e){this.router.navigate(["authenticators",i,"detail","groups",e])}gotoTransport(i){this.router.navigate(["connectivity/transports",i])}gotoTunnel(i){this.router.navigate(["connectivity/tunnels",i])}gotoTunnelDetail(i){this.router.navigate(["connectivity/tunnels",i,"detail"])}gotoOSManager(i){this.router.navigate(["osmanagers",i])}goto(i,e,t){let o=r=>{let a=e;if(t[r].split(".").forEach(s=>a=a[s]),!a)throw new Error("not going :)");return a};try{switch(i){case By:this.gotoProvider(o(0));break;case jy:this.gotoService(o(0),o(1));break;case zd:this.gotoServicePool(o(0));break;case B5:this.gotoAuthenticator(o(0));break;case Ud:this.gotoUser(o(0),o(1));break;case zy:this.gotoGroup(o(0),o(1));break;case Uy:this.gotoTransport(o(0));break;case Hy:this.gotoOSManager(o(0));break;case tf:this.gotoCalendar(o(0));break;case Wy:this.gotoPoolGroup(o(0));break}}catch{}}};function z5(n,i){if(n&1){let e=k();c(0,"div",1)(1,"button",2),b("click",function(){y(e);let o=_();return w(o.action())}),f(2),d()()}if(n&2){let e=_();u(2),O(" ",e.data.action," ")}}var U5=["label"];function H5(n,i){}var W5=Math.pow(2,31)-1,Hd=class{_overlayRef;instance;containerInstance;_afterDismissed=new j;_afterOpened=new j;_onAction=new j;_durationTimeoutId;_dismissedByAction=!1;constructor(i,e){this._overlayRef=e,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,W5))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},XT=new R("MatSnackBarData"),zl=class{politeness="assertive";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},G5=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return n})(),$5=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return n})(),q5=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return n})(),JT=(()=>{class n{snackBarRef=h(Hd);data=h(XT);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(t,o){t&1&&(c(0,"div",0),f(1),d(),x(2,z5,3,1,"div",1)),t&2&&(u(),O(" ",o.data.message,` -`),u(),Ce(o.hasAction?2:-1))},dependencies:[Te,G5,$5,q5],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return n})(),Y5={snackBarState:mn("state",[Ft("void, hidden",Me({transform:"scale(0.8)",opacity:0})),Ft("visible",Me({transform:"scale(1)",opacity:1})),xt("* => visible",It("150ms cubic-bezier(0, 0, 0.2, 1)")),xt("* => void, * => hidden",It("75ms cubic-bezier(0.4, 0.0, 1, 1)",Me({opacity:0})))])},Q5=(()=>{class n extends fa{_ngZone=h(te);_elementRef=h(Q);_changeDetectorRef=h(Ee);_platform=h(rt);snackBarConfig=h(zl);_document=h(de);_trackedModals=new Set;_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new j;_onExit=new j;_onEnter=new j;_animationState="void";_live;_label;_role;_liveElementId=h(ft).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),t}attachTemplatePortal(e){this._assertNotAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),t}attachDomPortal=e=>{this._assertNotAttached();let t=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),t};onAnimationEnd(e){let{fromState:t,toState:o}=e;if((o==="void"&&t!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(a=>e.classList.add(a)):e.classList.add(t)),this._exposeToModals();let o=this._label.nativeElement,r="mdc-snackbar__label";o.classList.toggle(r,!o.querySelector(`.${r}`))}_exposeToModals(){let e=this._liveElementId,t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=e.getAttribute("aria-owns");if(t){let o=t.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),t=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&t){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),t.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(t,o){if(t&1&&(se(si,7),se(U5,7)),t&2){let r;$(r=q())&&(o._portalOutlet=r.first),$(r=q())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(t,o){t&1&&Vc("@state.done",function(a){return o.onAnimationEnd(a)}),t&2&&Lc("@state",o._animationState)},features:[_e],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,o){t&1&&(c(0,"div",1)(1,"div",2,0)(3,"div",3),x(4,H5,0,0,"ng-template",4),d(),M(5,"div"),d()()),t&2&&(u(5),ee("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[si],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[Y5.snackBarState]}})}return n})();function K5(){return new zl}var Z5=new R("mat-snack-bar-default-options",{providedIn:"root",factory:K5}),Gy=(()=>{class n{_overlay=h(Lt);_live=h(mh);_injector=h(Ae);_breakpointObserver=h(Il);_parentSnackBar=h(n,{optional:!0,skipSelf:!0});_defaultConfig=h(Z5);_snackBarRefAtThisLevel=null;simpleSnackBarComponent=JT;snackBarContainerComponent=Q5;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",o){let r=L(L({},this._defaultConfig),o);return r.data={message:e,action:t},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){let o=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=Ae.create({parent:o||this._injector,providers:[{provide:zl,useValue:t}]}),a=new Ti(this.snackBarContainerComponent,t.viewContainerRef,r),s=e.attach(a);return s.instance.snackBarConfig=t,s.instance}_attach(e,t){let o=L(L(L({},new zl),this._defaultConfig),t),r=this._createOverlay(o),a=this._attachSnackBarContainer(r,o),s=new Hd(a,r);if(e instanceof wt){let l=new On(e,null,{$implicit:o.data,snackBarRef:s});s.instance=a.attachTemplatePortal(l)}else{let l=this._createInjector(o,s),m=new Ti(e,void 0,l),g=a.attachComponentPortal(m);s.instance=g.instance}return this._breakpointObserver.observe(rh.HandsetPortrait).pipe(pe(r.detachments())).subscribe(l=>{r.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(s,o),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration))}_createOverlay(e){let t=new ki;t.direction=e.direction;let o=this._overlay.position().global(),r=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!r||e.horizontalPosition==="end"&&r,s=!a&&e.horizontalPosition!=="center";return a?o.left("0"):s?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),t.positionStrategy=o,this._overlay.create(t)}_createInjector(e,t){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Ae.create({parent:o||this._injector,providers:[{provide:Hd,useValue:t},{provide:XT,useValue:e.data}]})}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ek=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Gy],imports:[ci,Ui,or,me,JT,me]})}return n})();var tk="dark-theme",nk="light-theme",B=(()=>{let i=class i{constructor(t,o,r,a,s,l){this.http=t,this.router=o,this.dialog=r,this.snackbar=a,this.sanitizer=s,this.dateAdapter=l,this.user=new Xp(udsData.profile),this.navigation=new Mn(this.router),this.gui=new Jh(this.dialog,this.snackbar),this.dateAdapter.setLocale(this.config.language)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get notices(){return udsData.errors}restPath(t){return this.config.urls.rest+t}staticURL(t){return ef.production?this.config.urls.static+t:"/static/"+t}logout(){window.location.href=this.config.urls.logout}gotoUser(){window.location.href=this.config.urls.user}putOnStorage(t,o){typeof Storage!==void 0&&sessionStorage.setItem(t,o)}getFromStorage(t){return typeof Storage!==void 0?sessionStorage.getItem(t):null}safeString(t){return this.sanitizer.bypassSecurityTrustHtml(t)}boolAsHumanString(t){return t?django.gettext("yes"):django.gettext("no")}switchTheme(t){let o=document.getElementsByTagName("html")[0];[tk,nk].forEach(r=>{o.classList.contains(r)&&o.classList.remove(r)}),o.classList.add(t?tk:nk)}};i.\u0275fac=function(o){return new(o||i)(oe(Gc),oe(er),oe(Rd),oe(Gy),oe(ns),oe($n))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var ik=(()=>{let i=class i{constructor(t){this.api=t}canActivate(t,o){return this.api.user.isStaff?!0:(window.location.href=this.api.config.urls.user,!1)}};i.\u0275fac=function(o){return new(o||i)(oe(B))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var Ul=3e4,Nr=function(n){return n[n.NONE=0]="NONE",n[n.READ=32]="READ",n[n.MANAGEMENT=64]="MANAGEMENT",n[n.ALL=96]="ALL",n}(Nr||{}),vn=class{constructor(i,e,t){this.api=i,t===void 0&&(t={}),t.base===void 0&&(t.base=e);let o=(r,a)=>r===void 0?a:r;this.id=e,this.paths={base:t.base,get:o(t.get,t.base),log:o(t.log,t.base),put:o(t.put,t.base),test:o(t.test,t.base+"/test"),delete:o(t.delete,t.base),types:o(t.types,t.base+"/types"),gui:o(t.gui,t.base+"/gui"),tableInfo:o(t.tableInfo,t.base+"/tableinfo")},this.headers=new Io().set("Content-Type","application/json; charset=utf8").set(this.api.config.auth_header,this.api.config.auth_token)}get(i){return this.typedGet(i)}getLogs(i){return this.doGet(this.getPath(this.paths.log,i)+"/log")}overview(i){return this.typedGet("overview"+(i!==void 0?"?filter="+i:""))}summary(i){return this.typedGet("overview?summarize"+(i!==void 0?"&filter="+i:""))}put(i,e){return this.typedPut(i,e)}create(i){return this.typedPut(i)}save(i,e){return e=e!==void 0?e:i.id,this.typedPut(i,e)}test(i,e){return ir(this.api.http.post(this.getPath(this.paths.test,i),e,{headers:this.headers}).pipe(Yn(t=>this.handleError(t))),Ul)}delete(i){return ir(this.api.http.delete(this.getPath(this.paths.delete,i),{headers:this.headers}).pipe(Yn(e=>this.handleError(e))),Ul)}permision(){return this.api.user.isAdmin?Nr.ALL:Nr.NONE}getPermissions(i){return this.doGet(this.getPath("permissions/"+this.paths.base+"/"+i))}addPermission(i,e,t,o){let r=this.getPath("permissions/"+this.paths.base+"/"+i+"/"+e+"/add/"+t),a={perm:o};return ir(this.api.http.put(r,a,{headers:this.headers}).pipe(Yn(s=>this.handleError(s))),Ul)}revokePermission(i){let e=this.getPath("permissions/revoke"),t={items:i};return ir(this.api.http.put(e,t,{headers:this.headers}).pipe(Yn(o=>this.handleError(o))),Ul)}types(){return this.doGet(this.getPath(this.paths.types))}gui(i){let e=this.getPath(this.paths.gui+(i!==void 0?"/"+i:""));return this.doGet(e)}callback(i,e){let t=this.getPath("gui/callback/"+i+"?"+e);return this.doGet(t)}tableInfo(){return this.doGet(this.getPath(this.paths.tableInfo))}detail(i,e){return new $y(this,i,e)}invoke(i,e){let t=i+(e?"?"+e:"");return this.typedGet(t)}getPath(i,e){if(i===void 0)throw new Error("Path is undefined");return this.api.restPath(i+(e!==void 0?"/"+e:""))}doGet(i){return ir(this.api.http.get(i,{headers:this.headers}).pipe(Yn(e=>this.handleError(e))),Ul)}typedGet(i){return this.doGet(this.getPath(this.paths.get,i))}typedPut(i,e){return ir(this.api.http.put(this.getPath(this.paths.put,e),i,{headers:this.headers}).pipe(Yn(t=>this.handleError(t,!0))),Ul)}handleError(i,e=!1){let t="";return i.error instanceof ErrorEvent?t=i.error.message:e?t=django.gettext("Error saving: ")+i.error:t=`Error ${i.status}: ${i.error}`,this.api.gui.alert(e?django.gettext("Error saving element"):django.gettext("Error handling your request"),t),Vo(()=>new Error(t))}},$y=class extends vn{constructor(i,e,t,o){super(i.api,[i.paths.base,e,t].join("/")),this.parentModel=i,this.parentId=e,this.model=t,this.perm=o}permision(){return this.perm||Nr.ALL}},nf=class extends vn{constructor(i){super(i,"providers"),this.api=i}allServices(){return this.get("allservices")}service(i){return this.get("service/"+i)}maintenance(i){return this.get(i+"/maintenance")}},of=class extends vn{constructor(i){super(i,"authenticators"),this.api=i}search(i,e,t,o=12){return this.get(i+"/search?type="+encodeURIComponent(e)+"&term="+encodeURIComponent(t)+"&limit="+o)}},rf=class extends vn{constructor(i){super(i,"osmanagers"),this.api=i}},af=class extends vn{constructor(i){super(i,"transports"),this.api=i}},sf=class extends vn{constructor(i){super(i,"networks"),this.api=i}},lf=class extends vn{constructor(i){super(i,"tunnels/tunnels"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}tunnels(i){return this.get(i+"/tunnels")}assign(i,e){return this.get(i+"/assign/"+e)}},cf=class extends vn{constructor(i){super(i,"servers/groups"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}},df=class extends vn{constructor(i){super(i,"servicespools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}actionsList(i){return this.get(i+"/actionsList")}listAssignables(i){return this.get(i+"/listAssignables")}createFromAssignable(i,e,t){return this.get(i+"/createFromAssignable?user_id="+encodeURIComponent(e)+"&assignable_id="+encodeURIComponent(t))}},uf=class extends vn{constructor(i){super(i,"metapools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}},mf=class extends vn{constructor(i){super(i,"config"),this.api=i}},pf=class extends vn{constructor(i){super(i,"gallery/images"),this.api=i}},hf=class extends vn{constructor(i){super(i,"gallery/servicespoolgroups"),this.api=i}},ff=class extends vn{constructor(i){super(i,"system"),this.api=i}information(){return this.get("overview")}stats(i,e){let t="stats/"+i;return e&&(t+="/"+e),this.get(t)}flushCache(){return this.doGet(this.getPath("cache","flush"))}},gf=class extends vn{constructor(i){super(i,"reports"),this.api=i}types(){return ir(ie([]))}},_f=class extends vn{constructor(i){super(i,"calendars"),this.api=i}},vf=class extends vn{constructor(i){super(i,"accounts"),this.api=i}timemark(i){return this.get(i+"/timemark")}},bf=class extends vn{constructor(i){super(i,"actortokens"),this.api=i}},yf=class extends vn{constructor(i){super(i,"servers/tokens"),this.api=i}},wf=class extends vn{constructor(i){super(i,"mfa"),this.api=i}},Cf=class extends vn{constructor(i){super(i,"messaging/notifiers"),this.api=i}};var Z=(()=>{let i=class i{constructor(t){this.api=t,this.providers=new nf(t),this.serverGroups=new cf(t),this.authenticators=new of(t),this.mfas=new wf(t),this.osManagers=new rf(t),this.transports=new af(t),this.networks=new sf(t),this.tunnels=new lf(t),this.servicesPools=new df(t),this.metaPools=new uf(t),this.gallery=new pf(t),this.servicesPoolGroups=new hf(t),this.calendars=new _f(t),this.accounts=new vf(t),this.system=new ff(t),this.configuration=new mf(t),this.actorToken=new bf(t),this.serversTokens=new yf(t),this.reports=new gf(t),this.notifiers=new Cf(t)}};i.\u0275fac=function(o){return new(o||i)(oe(B))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var qy=class{constructor(){this.subject=new Zi(1),this.subscriptions=new ge}doFilter(i){this.subject.next(i)}dispose(){this.subscriptions.unsubscribe()}notEmpty(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]){let o=t[i].currentValue;o!=null&&e(o)}}))}has(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]){let o=t[i].currentValue;e(o)}}))}notFirst(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]&&!t[i].isFirstChange()){let o=t[i].currentValue;e(o)}}))}notFirstAndEmpty(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]&&!t[i].isFirstChange()){let o=t[i].currentValue;o!=null&&e(o)}}))}},ok=new R("NGX_ECHARTS_CONFIG"),xf=(()=>{let i=class i{constructor(t,o,r){this.el=o,this.ngZone=r,this.options=null,this.theme=null,this.initOpts=null,this.merge=null,this.autoResize=!0,this.loading=!1,this.loadingType="default",this.loadingOpts=null,this.chartInit=new T,this.optionsError=new T,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartHighlight=this.createLazyEvent("highlight"),this.chartDownplay=this.createLazyEvent("downplay"),this.chartSelectChanged=this.createLazyEvent("selectchanged"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendLegendSelectAll=this.createLazyEvent("legendselectall"),this.chartLegendLegendInverseSelect=this.createLazyEvent("legendinverseselect"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartGraphRoam=this.createLazyEvent("graphroam"),this.chartGeoRoam=this.createLazyEvent("georoam"),this.chartTreeRoam=this.createLazyEvent("treeroam"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartGeoSelectChanged=this.createLazyEvent("geoselectchanged"),this.chartGeoSelected=this.createLazyEvent("geoselected"),this.chartGeoUnselected=this.createLazyEvent("geounselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartGlobalCursorTaken=this.createLazyEvent("globalcursortaken"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.chart$=new Zi(1),this.resize$=new j,this.changeFilter=new qy,this.resizeObFired=!1,this.echarts=t.echarts,this.theme=t.theme||null}ngOnChanges(t){this.changeFilter.doFilter(t)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(p_(100,ni,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(t=>{for(let o of t)o.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",t=>this.onOptionsChange(t)),this.changeFilter.notFirstAndEmpty("merge",t=>this.setOption(t)),this.changeFilter.has("loading",t=>this.toggleLoading(!!t)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(t){this.chart?t?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(o=>t?o.showLoading(this.loadingType,this.loadingOpts):o.hideLoading())}setOption(t,o){if(this.chart)try{this.chart.setOption(t,o)}catch(r){console.error(r),this.optionsError.emit(r)}}refreshChart(){return H(this,null,function*(){this.dispose(),yield this.initChart()})}createChart(){let t=this.el.nativeElement;if(window&&window.getComputedStyle){let o=window.getComputedStyle(t,null).getPropertyValue("height");(!o||o==="0px")&&(!t.style.height||t.style.height==="0px")&&(t.style.height="400px")}return this.ngZone.runOutsideAngular(()=>(typeof this.echarts=="function"?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:r})=>r(t,this.theme,this.initOpts)))}initChart(){return H(this,null,function*(){yield this.onOptionsChange(this.options),this.merge&&this.chart&&this.setOption(this.merge)})}onOptionsChange(t){return H(this,null,function*(){t&&(this.chart?this.setOption(this.options,!0):(this.chart=yield this.createChart(),this.chart$.next(this.chart),this.chartInit.emit(this.chart),this.setOption(this.options,!0)))})}createLazyEvent(t){return this.chartInit.pipe(Tt(o=>new Fe(r=>(o.on(t,a=>this.ngZone.run(()=>r.next(a))),()=>{this.chart&&(this.chart.isDisposed()||o.off(t))}))))}};i.\u0275fac=function(o){return new(o||i)(C(ok),C(Q),C(te))},i.\u0275dir=N({type:i,selectors:[["echarts"],["","echarts",""]],inputs:{options:"options",theme:"theme",initOpts:"initOpts",merge:"merge",autoResize:"autoResize",loading:"loading",loadingType:"loadingType",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[Ze]});let n=i;return n})();var J5=n=>({provide:ok,useValue:n}),rk=(()=>{let i=class i{static forRoot(t){return{ngModule:i,providers:[J5(t)]}}static forChild(){return{ngModule:i}}};i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({});let n=i;return n})();function e8(n,i){if(n&1&&(c(0,"div",21)(1,"div",11),M(2,"img",4),c(3,"div",12),f(4),d()(),c(5,"div",13)(6,"a",15)(7,"uds-translate"),f(8,"View service pools"),d()()()()),n&2){let e=_(2);u(2),p("src",e.api.staticURL("admin/img/icons/logs.png"),Se),u(2),O(" ",e.data.restrained," ")}}function t8(n,i){if(n&1){let e=k();c(0,"div")(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11),M(5,"img",4),c(6,"div",12),f(7),d()(),c(8,"div",13)(9,"a",14)(10,"uds-translate"),f(11,"View authenticators"),d()()()(),c(12,"div",10)(13,"div",11),M(14,"img",4),c(15,"div",12),f(16),d()(),c(17,"div",13)(18,"a",15)(19,"uds-translate"),f(20,"View service pools"),d()()()(),c(21,"div",10)(22,"div",11),M(23,"img",4),c(24,"div",12),f(25),d()(),c(26,"div",13)(27,"a",15)(28,"uds-translate"),f(29,"View service pools"),d()()()(),x(30,e8,9,2,"div",16),d(),c(31,"div",17)(32,"div",18)(33,"div",19)(34,"uds-translate"),f(35,"Assigned services chart"),d()(),c(36,"div",20),b("chartInit",function(o){y(e);let r=_();return w(r.chartInit("assigned",o))}),d()(),c(37,"div",18)(38,"div",19)(39,"uds-translate"),f(40,"In use services chart"),d()(),c(41,"div",20),b("chartInit",function(o){y(e);let r=_();return w(r.chartInit("inuse",o))}),d()()()()()}if(n&2){let e=_();u(5),p("src",e.api.staticURL("admin/img/icons/authenticators.png"),Se),u(2),O(" ",e.data.users," "),u(7),p("src",e.api.staticURL("admin/img/icons/pools.png"),Se),u(2),O(" ",e.data.pools," "),u(7),p("src",e.api.staticURL("admin/img/icons/services.png"),Se),u(2),O(" ",e.data.user_services," "),u(5),p("ngIf",e.data.restrained),u(6),p("options",e.assignedChartOpts),u(5),p("options",e.inuseChartOpts)}}function n8(n,i){n&1&&(c(0,"div",22)(1,"div",23)(2,"div",24)(3,"uds-translate"),f(4,"UDS Administration"),d()(),c(5,"div",25)(6,"p")(7,"uds-translate"),f(8,"You are accessing UDS Administration as staff member."),d()(),c(9,"p")(10,"uds-translate"),f(11,"This means that you have restricted access to elements."),d()(),c(12,"p")(13,"uds-translate"),f(14,"In order to increase your access privileges, please contact your local UDS administrator. "),d()(),M(15,"br"),c(16,"p")(17,"uds-translate"),f(18,"Thank you."),d()()()()())}var sk=(()=>{let i=class i{constructor(t,o){this.api=t,this.rest=o,this.data={},this.assignedChartInstance=null,this.assignedChartOpts={},this.inuseChartOpts={},this.inuseChartInstance=null}onResize(t){this.assignedChartInstance&&this.assignedChartInstance.resize(),this.inuseChartInstance&&this.inuseChartInstance.resize()}ngOnInit(){if(this.api.user.isAdmin){this.rest.system.information().then(t=>{this.data={users:django.gettext("#USR_NUMBER# users, #GRP_NUMBER# groups").replace("#USR_NUMBER#",t.users).replace("#GRP_NUMBER#",t.groups),pools:django.gettext("#POOLS_NUMBER# service pools").replace("#POOLS_NUMBER#",t.service_pools),user_services:django.gettext("#SERVICES_NUMBER# user services").replace("#SERVICES_NUMBER#",t.user_services)},t.restrained_services_pools>0&&(this.data.restrained=django.gettext("#RESTRAINED_NUMBER# restrained services!").replace("#RESTRAINED_NUMBER#",t.restrained_services_pools))});for(let t of["assigned","inuse"])this.rest.system.stats(t).then(o=>{let r={tooltip:{trigger:"axis"},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:o.map(a=>qn("SHORT_DATE_FORMAT",new Date(a.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:t==="assigned"?django.gettext("Assigned services"):django.gettext("Services in use"),type:"line",smooth:!0,areaStyle:{},data:o.map(a=>a.value)}]};t==="assigned"?this.assignedChartOpts=r:this.inuseChartOpts=r})}}chartInit(t,o){t==="assigned"?this.assignedChartInstance=o:this.inuseChartInstance=o}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-summary"]],hostBindings:function(o,r){o&1&&b("resize",function(s){return r.onResize(s)},!1,ep)},standalone:!1,decls:11,vars:3,consts:[["noAdmin",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-subtitle"],[1,"card-content"],[4,"ngIf","ngIfElse"],[1,"admin"],[1,"information"],[1,"info-panel"],[1,"info-panel-data"],[1,"info-text"],[1,"info-panel-link"],["mat-button","","routerLink","/authenticators"],["mat-button","","routerLink","/pools/service-pools"],["class","info-panel info-danger",4,"ngIf"],[1,"statistics"],[1,"statistics-chart"],[1,"statistics-title"],["echarts","","theme","dark-digerati",3,"chartInit","options"],[1,"info-panel","info-danger"],[1,"staff-container"],[1,"staff","mat-elevation-z8"],[1,"staff-header"],[1,"staff-content"]],template:function(o,r){if(o&1&&(c(0,"div",1)(1,"div",2)(2,"div",3),M(3,"img",4),c(4,"uds-translate"),f(5,"Dashboard"),d()(),M(6,"div",5),d(),c(7,"div",6),x(8,t8,42,9,"div",7)(9,n8,19,0,"ng-template",null,0,gn),d()()),o&2){let a=be(10);u(3),p("src",r.api.staticURL("admin/img/icons/dashboard-monitor.png"),Se),u(5),p("ngIf",r.api.user.isAdmin)("ngIfElse",a)}},dependencies:[ue,bn,xa,xf,ae],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.staff-container[_ngcontent-%COMP%]{margin-top:2rem;display:flex;justify-content:center}.staff[_ngcontent-%COMP%]{border:#337ab7;border-width:1px;border-style:solid}.staff-header[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#337ab7;color:#fff;font-weight:700;padding:.5rem 1rem}.staff-content[_ngcontent-%COMP%]{padding:.5rem 1rem}.admin[_ngcontent-%COMP%]{display:flex;flex-direction:column}.information[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.info-panel[_ngcontent-%COMP%]{border-color:#333;background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%}.info-danger[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff;font-weight:700;font-size:1.5em}.info-panel-data[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:1rem}.info-panel-data[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:1rem;width:5rem}.info-text[_ngcontent-%COMP%]{width:100%;text-align:center}.info-panel-link[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c)}.info-panel-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;color:#fff}.statistics[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.statistics-title[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c);width:100%;color:#fff;padding:1rem 0rem;text-align:center}.statistics-chart[_ngcontent-%COMP%]{border-color:#333;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%;height:400px} .dark-theme .staff{border:#337ab7} .dark-theme .staff-header{color:#fff} .dark-theme .info-panel{border-color:lightned(#303030,60%);background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;color:#b3b3b3} .dark-theme .info-danger{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff} .dark-theme .info-panel-link{background:#4682b4} .dark-theme .info-panel-link a{color:#fff} .dark-theme .statistics-title{color:#fff} .dark-theme .statistics-chart{border-color:#333;box-shadow:#00000024 0 1px 4px;color:#333}"]});let n=i;return n})();var i8=["notch"],o8=["matFormFieldNotchedOutline",""],r8=["*"],a8=["textField"],s8=["iconPrefixContainer"],l8=["textPrefixContainer"],c8=["iconSuffixContainer"],d8=["textSuffixContainer"],u8=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],m8=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function p8(n,i){n&1&&M(0,"span",21)}function h8(n,i){if(n&1&&(c(0,"label",20),re(1,1),x(2,p8,1,0,"span",21),d()),n&2){let e=_(2);p("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ee("for",e._control.disableAutomaticLabeling?null:e._control.id),u(2),Ce(!e.hideRequiredMarker&&e._control.required?2:-1)}}function f8(n,i){if(n&1&&x(0,h8,3,5,"label",20),n&2){let e=_();Ce(e._hasFloatingLabel()?0:-1)}}function g8(n,i){n&1&&M(0,"div",7)}function _8(n,i){}function v8(n,i){if(n&1&&x(0,_8,0,0,"ng-template",13),n&2){_(2);let e=be(1);p("ngTemplateOutlet",e)}}function b8(n,i){if(n&1&&(c(0,"div",9),x(1,v8,1,1,null,13),d()),n&2){let e=_();p("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),u(),Ce(e._forceDisplayInfixLabel()?-1:1)}}function y8(n,i){n&1&&(c(0,"div",10,2),re(2,2),d())}function w8(n,i){n&1&&(c(0,"div",11,3),re(2,3),d())}function C8(n,i){}function x8(n,i){if(n&1&&x(0,C8,0,0,"ng-template",13),n&2){_();let e=be(1);p("ngTemplateOutlet",e)}}function D8(n,i){n&1&&(c(0,"div",14,4),re(2,4),d())}function S8(n,i){n&1&&(c(0,"div",15,5),re(2,5),d())}function E8(n,i){n&1&&M(0,"div",16)}function M8(n,i){if(n&1&&(c(0,"div",18),re(1,6),d()),n&2){let e=_();p("@transitionMessages",e._subscriptAnimationState)}}function I8(n,i){if(n&1&&(c(0,"mat-hint",22),f(1),d()),n&2){let e=_(2);p("id",e._hintLabelId),u(),Ge(e.hintLabel)}}function T8(n,i){if(n&1&&(c(0,"div",19),x(1,I8,2,2,"mat-hint",22),re(2,7),M(3,"div",23),re(4,8),d()),n&2){let e=_();p("@transitionMessages",e._subscriptAnimationState),u(),Ce(e.hintLabel?1:-1)}}var ke=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-label"]]})}return n})(),k8=new R("MatError");var lk=(()=>{class n{align="start";id=h(ft).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,o){t&2&&(En("id",o.id),ee("align",null),ne("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),A8=new R("MatPrefix");var fk=new R("MatSuffix"),uo=(()=>{class n{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ye([{provide:fk,useExisting:n}])]})}return n})(),gk=new R("FloatingLabelParent"),ck=(()=>{class n{_elementRef=h(Q);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=h(Kh);_ngZone=h(te);_parent=h(gk);_resizeSubscription=new ge;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return R8(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function R8(n){let i=n;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var dk="mdc-line-ripple--active",Df="mdc-line-ripple--deactivating",uk=(()=>{class n{_elementRef=h(Q);constructor(){h(te).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Df),e.add(dk)}deactivate(){this._elementRef.nativeElement.classList.add(Df)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,o=t.contains(Df);e.propertyName==="opacity"&&o&&t.remove(dk,Df)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),mk=(()=>{class n{_elementRef=h(Q);_ngZone=h(te);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,o){if(t&1&&se(i8,5),t&2){let r;$(r=q())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:o8,ngContentSelectors:r8,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,o){t&1&&(We(),M(0,"div",1),c(1,"div",2,0),re(3),d(),M(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),O8={transitionMessages:mn("transitionMessages",[Ft("enter",Me({opacity:1,transform:"translateY(0%)"})),xt("void => enter",[Me({opacity:0,transform:"translateY(-5px)"}),It("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ma=(()=>{class n{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n})}return n})();var Ro=new R("MatFormField"),Yy=new R("MAT_FORM_FIELD_DEFAULT_OPTIONS"),pk="fill",P8="auto",hk="fixed",F8="translateY(-50%)",fe=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_dir=h(jt);_platform=h(rt);_idGenerator=h(ft);_defaults=h(Yy,{optional:!0});_animationMode=h($t,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=HE(ke);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=oo(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||P8}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let t=this._appearance,o=e||this._defaults?.appearance||pk;this._appearance=o,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=pk;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||hk}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||hk}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new j;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=h(Ae);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Mr(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(o+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(Et([void 0,void 0]),le(()=>[t.errorState,t.userAriaDescribedBy]),ju(),je(([[r,a],[s,l]])=>r!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(pe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),yt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),kc(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(pe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Mr(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(r=>r.align==="start"):null,o=this._hintChildren?this._hintChildren.find(r=>r.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,m=r?.getBoundingClientRect().width??0,g=a?.getBoundingClientRect().width??0,v=this._dir.value==="rtl"?"-1":"1",D=`${s+l}px`,I=`calc(${v} * (${D} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( +`),u(),Ce(o.hasAction?2:-1))},dependencies:[Te,G5,$5,q5],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return n})(),Y5={snackBarState:mn("state",[Ft("void, hidden",Me({transform:"scale(0.8)",opacity:0})),Ft("visible",Me({transform:"scale(1)",opacity:1})),xt("* => visible",It("150ms cubic-bezier(0, 0, 0.2, 1)")),xt("* => void, * => hidden",It("75ms cubic-bezier(0.4, 0.0, 1, 1)",Me({opacity:0})))])},Q5=(()=>{class n extends fa{_ngZone=h(te);_elementRef=h(Q);_changeDetectorRef=h(Ee);_platform=h(rt);snackBarConfig=h(zl);_document=h(de);_trackedModals=new Set;_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new j;_onExit=new j;_onEnter=new j;_animationState="void";_live;_label;_role;_liveElementId=h(ft).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),t}attachTemplatePortal(e){this._assertNotAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),t}attachDomPortal=e=>{this._assertNotAttached();let t=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),t};onAnimationEnd(e){let{fromState:t,toState:o}=e;if((o==="void"&&t!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(a=>e.classList.add(a)):e.classList.add(t)),this._exposeToModals();let o=this._label.nativeElement,r="mdc-snackbar__label";o.classList.toggle(r,!o.querySelector(`.${r}`))}_exposeToModals(){let e=this._liveElementId,t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=e.getAttribute("aria-owns");if(t){let o=t.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),t=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&t){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),t.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(t,o){if(t&1&&(se(si,7),se(U5,7)),t&2){let r;$(r=q())&&(o._portalOutlet=r.first),$(r=q())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(t,o){t&1&&Vc("@state.done",function(a){return o.onAnimationEnd(a)}),t&2&&Lc("@state",o._animationState)},features:[_e],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,o){t&1&&(c(0,"div",1)(1,"div",2,0)(3,"div",3),x(4,H5,0,0,"ng-template",4),d(),M(5,"div"),d()()),t&2&&(u(5),ee("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[si],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[Y5.snackBarState]}})}return n})();function K5(){return new zl}var Z5=new R("mat-snack-bar-default-options",{providedIn:"root",factory:K5}),Gy=(()=>{class n{_overlay=h(Lt);_live=h(mh);_injector=h(Ae);_breakpointObserver=h(Il);_parentSnackBar=h(n,{optional:!0,skipSelf:!0});_defaultConfig=h(Z5);_snackBarRefAtThisLevel=null;simpleSnackBarComponent=JT;snackBarContainerComponent=Q5;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",o){let r=L(L({},this._defaultConfig),o);return r.data={message:e,action:t},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){let o=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=Ae.create({parent:o||this._injector,providers:[{provide:zl,useValue:t}]}),a=new Ti(this.snackBarContainerComponent,t.viewContainerRef,r),s=e.attach(a);return s.instance.snackBarConfig=t,s.instance}_attach(e,t){let o=L(L(L({},new zl),this._defaultConfig),t),r=this._createOverlay(o),a=this._attachSnackBarContainer(r,o),s=new Hd(a,r);if(e instanceof wt){let l=new On(e,null,{$implicit:o.data,snackBarRef:s});s.instance=a.attachTemplatePortal(l)}else{let l=this._createInjector(o,s),m=new Ti(e,void 0,l),g=a.attachComponentPortal(m);s.instance=g.instance}return this._breakpointObserver.observe(rh.HandsetPortrait).pipe(pe(r.detachments())).subscribe(l=>{r.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(s,o),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration))}_createOverlay(e){let t=new ki;t.direction=e.direction;let o=this._overlay.position().global(),r=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!r||e.horizontalPosition==="end"&&r,s=!a&&e.horizontalPosition!=="center";return a?o.left("0"):s?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),t.positionStrategy=o,this._overlay.create(t)}_createInjector(e,t){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Ae.create({parent:o||this._injector,providers:[{provide:Hd,useValue:t},{provide:XT,useValue:e.data}]})}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ek=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Gy],imports:[ci,Ui,or,me,JT,me]})}return n})();var tk="dark-theme",nk="light-theme",B=(()=>{let i=class i{constructor(t,o,r,a,s,l){this.http=t,this.router=o,this.dialog=r,this.snackbar=a,this.sanitizer=s,this.dateAdapter=l,this.user=new Xp(udsData.profile),this.navigation=new Mn(this.router),this.gui=new Jh(this.dialog,this.snackbar),this.dateAdapter.setLocale(this.config.language)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get notices(){return udsData.errors}restPath(t){return this.config.urls.rest+t}staticURL(t){return ef.production?this.config.urls.static+t:"/static/"+t}logout(){window.location.href=this.config.urls.logout}gotoUser(){window.location.href=this.config.urls.user}putOnStorage(t,o){typeof Storage!==void 0&&sessionStorage.setItem(t,o)}getFromStorage(t){return typeof Storage!==void 0?localStorage.getItem(t):null}safeString(t){return this.sanitizer.bypassSecurityTrustHtml(t)}boolAsHumanString(t){return t?django.gettext("yes"):django.gettext("no")}switchTheme(t){let o=document.getElementsByTagName("html")[0];[tk,nk].forEach(r=>{o.classList.contains(r)&&o.classList.remove(r)}),o.classList.add(t?tk:nk)}};i.\u0275fac=function(o){return new(o||i)(oe(Gc),oe(er),oe(Rd),oe(Gy),oe(ns),oe($n))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var ik=(()=>{let i=class i{constructor(t){this.api=t}canActivate(t,o){return this.api.user.isStaff?!0:(window.location.href=this.api.config.urls.user,!1)}};i.\u0275fac=function(o){return new(o||i)(oe(B))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var Ul=3e4,Nr=function(n){return n[n.NONE=0]="NONE",n[n.READ=32]="READ",n[n.MANAGEMENT=64]="MANAGEMENT",n[n.ALL=96]="ALL",n}(Nr||{}),vn=class{constructor(i,e,t){this.api=i,t===void 0&&(t={}),t.base===void 0&&(t.base=e);let o=(r,a)=>r===void 0?a:r;this.id=e,this.paths={base:t.base,get:o(t.get,t.base),log:o(t.log,t.base),put:o(t.put,t.base),test:o(t.test,t.base+"/test"),delete:o(t.delete,t.base),types:o(t.types,t.base+"/types"),gui:o(t.gui,t.base+"/gui"),tableInfo:o(t.tableInfo,t.base+"/tableinfo")},this.headers=new Io().set("Content-Type","application/json; charset=utf8").set(this.api.config.auth_header,this.api.config.auth_token)}get(i){return this.typedGet(i)}getLogs(i){return this.doGet(this.getPath(this.paths.log,i)+"/log")}overview(i){return this.typedGet("overview"+(i!==void 0?"?filter="+i:""))}summary(i){return this.typedGet("overview?summarize"+(i!==void 0?"&filter="+i:""))}put(i,e){return this.typedPut(i,e)}create(i){return this.typedPut(i)}save(i,e){return e=e!==void 0?e:i.id,this.typedPut(i,e)}test(i,e){return ir(this.api.http.post(this.getPath(this.paths.test,i),e,{headers:this.headers}).pipe(Yn(t=>this.handleError(t))),Ul)}delete(i){return ir(this.api.http.delete(this.getPath(this.paths.delete,i),{headers:this.headers}).pipe(Yn(e=>this.handleError(e))),Ul)}permision(){return this.api.user.isAdmin?Nr.ALL:Nr.NONE}getPermissions(i){return this.doGet(this.getPath("permissions/"+this.paths.base+"/"+i))}addPermission(i,e,t,o){let r=this.getPath("permissions/"+this.paths.base+"/"+i+"/"+e+"/add/"+t),a={perm:o};return ir(this.api.http.put(r,a,{headers:this.headers}).pipe(Yn(s=>this.handleError(s))),Ul)}revokePermission(i){let e=this.getPath("permissions/revoke"),t={items:i};return ir(this.api.http.put(e,t,{headers:this.headers}).pipe(Yn(o=>this.handleError(o))),Ul)}types(){return this.doGet(this.getPath(this.paths.types))}gui(i){let e=this.getPath(this.paths.gui+(i!==void 0?"/"+i:""));return this.doGet(e)}callback(i,e){let t=this.getPath("gui/callback/"+i+"?"+e);return this.doGet(t)}tableInfo(){return this.doGet(this.getPath(this.paths.tableInfo))}detail(i,e){return new $y(this,i,e)}invoke(i,e){let t=i+(e?"?"+e:"");return this.typedGet(t)}getPath(i,e){if(i===void 0)throw new Error("Path is undefined");return this.api.restPath(i+(e!==void 0?"/"+e:""))}doGet(i){return ir(this.api.http.get(i,{headers:this.headers}).pipe(Yn(e=>this.handleError(e))),Ul)}typedGet(i){return this.doGet(this.getPath(this.paths.get,i))}typedPut(i,e){return ir(this.api.http.put(this.getPath(this.paths.put,e),i,{headers:this.headers}).pipe(Yn(t=>this.handleError(t,!0))),Ul)}handleError(i,e=!1){let t="";return i.error instanceof ErrorEvent?t=i.error.message:e?t=django.gettext("Error saving: ")+i.error:t=`Error ${i.status}: ${i.error}`,this.api.gui.alert(e?django.gettext("Error saving element"):django.gettext("Error handling your request"),t),Vo(()=>new Error(t))}},$y=class extends vn{constructor(i,e,t,o){super(i.api,[i.paths.base,e,t].join("/")),this.parentModel=i,this.parentId=e,this.model=t,this.perm=o}permision(){return this.perm||Nr.ALL}},nf=class extends vn{constructor(i){super(i,"providers"),this.api=i}allServices(){return this.get("allservices")}service(i){return this.get("service/"+i)}maintenance(i){return this.get(i+"/maintenance")}},of=class extends vn{constructor(i){super(i,"authenticators"),this.api=i}search(i,e,t,o=12){return this.get(i+"/search?type="+encodeURIComponent(e)+"&term="+encodeURIComponent(t)+"&limit="+o)}},rf=class extends vn{constructor(i){super(i,"osmanagers"),this.api=i}},af=class extends vn{constructor(i){super(i,"transports"),this.api=i}},sf=class extends vn{constructor(i){super(i,"networks"),this.api=i}},lf=class extends vn{constructor(i){super(i,"tunnels/tunnels"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}tunnels(i){return this.get(i+"/tunnels")}assign(i,e){return this.get(i+"/assign/"+e)}},cf=class extends vn{constructor(i){super(i,"servers/groups"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}},df=class extends vn{constructor(i){super(i,"servicespools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}actionsList(i){return this.get(i+"/actionsList")}listAssignables(i){return this.get(i+"/listAssignables")}createFromAssignable(i,e,t){return this.get(i+"/createFromAssignable?user_id="+encodeURIComponent(e)+"&assignable_id="+encodeURIComponent(t))}},uf=class extends vn{constructor(i){super(i,"metapools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}},mf=class extends vn{constructor(i){super(i,"config"),this.api=i}},pf=class extends vn{constructor(i){super(i,"gallery/images"),this.api=i}},hf=class extends vn{constructor(i){super(i,"gallery/servicespoolgroups"),this.api=i}},ff=class extends vn{constructor(i){super(i,"system"),this.api=i}information(){return this.get("overview")}stats(i,e){let t="stats/"+i;return e&&(t+="/"+e),this.get(t)}flushCache(){return this.doGet(this.getPath("cache","flush"))}},gf=class extends vn{constructor(i){super(i,"reports"),this.api=i}types(){return ir(ie([]))}},_f=class extends vn{constructor(i){super(i,"calendars"),this.api=i}},vf=class extends vn{constructor(i){super(i,"accounts"),this.api=i}timemark(i){return this.get(i+"/timemark")}},bf=class extends vn{constructor(i){super(i,"actortokens"),this.api=i}},yf=class extends vn{constructor(i){super(i,"servers/tokens"),this.api=i}},wf=class extends vn{constructor(i){super(i,"mfa"),this.api=i}},Cf=class extends vn{constructor(i){super(i,"messaging/notifiers"),this.api=i}};var Z=(()=>{let i=class i{constructor(t){this.api=t,this.providers=new nf(t),this.serverGroups=new cf(t),this.authenticators=new of(t),this.mfas=new wf(t),this.osManagers=new rf(t),this.transports=new af(t),this.networks=new sf(t),this.tunnels=new lf(t),this.servicesPools=new df(t),this.metaPools=new uf(t),this.gallery=new pf(t),this.servicesPoolGroups=new hf(t),this.calendars=new _f(t),this.accounts=new vf(t),this.system=new ff(t),this.configuration=new mf(t),this.actorToken=new bf(t),this.serversTokens=new yf(t),this.reports=new gf(t),this.notifiers=new Cf(t)}};i.\u0275fac=function(o){return new(o||i)(oe(B))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var qy=class{constructor(){this.subject=new Zi(1),this.subscriptions=new ge}doFilter(i){this.subject.next(i)}dispose(){this.subscriptions.unsubscribe()}notEmpty(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]){let o=t[i].currentValue;o!=null&&e(o)}}))}has(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]){let o=t[i].currentValue;e(o)}}))}notFirst(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]&&!t[i].isFirstChange()){let o=t[i].currentValue;e(o)}}))}notFirstAndEmpty(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]&&!t[i].isFirstChange()){let o=t[i].currentValue;o!=null&&e(o)}}))}},ok=new R("NGX_ECHARTS_CONFIG"),xf=(()=>{let i=class i{constructor(t,o,r){this.el=o,this.ngZone=r,this.options=null,this.theme=null,this.initOpts=null,this.merge=null,this.autoResize=!0,this.loading=!1,this.loadingType="default",this.loadingOpts=null,this.chartInit=new T,this.optionsError=new T,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartHighlight=this.createLazyEvent("highlight"),this.chartDownplay=this.createLazyEvent("downplay"),this.chartSelectChanged=this.createLazyEvent("selectchanged"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendLegendSelectAll=this.createLazyEvent("legendselectall"),this.chartLegendLegendInverseSelect=this.createLazyEvent("legendinverseselect"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartGraphRoam=this.createLazyEvent("graphroam"),this.chartGeoRoam=this.createLazyEvent("georoam"),this.chartTreeRoam=this.createLazyEvent("treeroam"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartGeoSelectChanged=this.createLazyEvent("geoselectchanged"),this.chartGeoSelected=this.createLazyEvent("geoselected"),this.chartGeoUnselected=this.createLazyEvent("geounselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartGlobalCursorTaken=this.createLazyEvent("globalcursortaken"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.chart$=new Zi(1),this.resize$=new j,this.changeFilter=new qy,this.resizeObFired=!1,this.echarts=t.echarts,this.theme=t.theme||null}ngOnChanges(t){this.changeFilter.doFilter(t)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(p_(100,ni,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(t=>{for(let o of t)o.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",t=>this.onOptionsChange(t)),this.changeFilter.notFirstAndEmpty("merge",t=>this.setOption(t)),this.changeFilter.has("loading",t=>this.toggleLoading(!!t)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(t){this.chart?t?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(o=>t?o.showLoading(this.loadingType,this.loadingOpts):o.hideLoading())}setOption(t,o){if(this.chart)try{this.chart.setOption(t,o)}catch(r){console.error(r),this.optionsError.emit(r)}}refreshChart(){return H(this,null,function*(){this.dispose(),yield this.initChart()})}createChart(){let t=this.el.nativeElement;if(window&&window.getComputedStyle){let o=window.getComputedStyle(t,null).getPropertyValue("height");(!o||o==="0px")&&(!t.style.height||t.style.height==="0px")&&(t.style.height="400px")}return this.ngZone.runOutsideAngular(()=>(typeof this.echarts=="function"?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:r})=>r(t,this.theme,this.initOpts)))}initChart(){return H(this,null,function*(){yield this.onOptionsChange(this.options),this.merge&&this.chart&&this.setOption(this.merge)})}onOptionsChange(t){return H(this,null,function*(){t&&(this.chart?this.setOption(this.options,!0):(this.chart=yield this.createChart(),this.chart$.next(this.chart),this.chartInit.emit(this.chart),this.setOption(this.options,!0)))})}createLazyEvent(t){return this.chartInit.pipe(Tt(o=>new Fe(r=>(o.on(t,a=>this.ngZone.run(()=>r.next(a))),()=>{this.chart&&(this.chart.isDisposed()||o.off(t))}))))}};i.\u0275fac=function(o){return new(o||i)(C(ok),C(Q),C(te))},i.\u0275dir=N({type:i,selectors:[["echarts"],["","echarts",""]],inputs:{options:"options",theme:"theme",initOpts:"initOpts",merge:"merge",autoResize:"autoResize",loading:"loading",loadingType:"loadingType",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[Ze]});let n=i;return n})();var J5=n=>({provide:ok,useValue:n}),rk=(()=>{let i=class i{static forRoot(t){return{ngModule:i,providers:[J5(t)]}}static forChild(){return{ngModule:i}}};i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({});let n=i;return n})();function e8(n,i){if(n&1&&(c(0,"div",21)(1,"div",11),M(2,"img",4),c(3,"div",12),f(4),d()(),c(5,"div",13)(6,"a",15)(7,"uds-translate"),f(8,"View service pools"),d()()()()),n&2){let e=_(2);u(2),p("src",e.api.staticURL("admin/img/icons/logs.png"),Se),u(2),O(" ",e.data.restrained," ")}}function t8(n,i){if(n&1){let e=k();c(0,"div")(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11),M(5,"img",4),c(6,"div",12),f(7),d()(),c(8,"div",13)(9,"a",14)(10,"uds-translate"),f(11,"View authenticators"),d()()()(),c(12,"div",10)(13,"div",11),M(14,"img",4),c(15,"div",12),f(16),d()(),c(17,"div",13)(18,"a",15)(19,"uds-translate"),f(20,"View service pools"),d()()()(),c(21,"div",10)(22,"div",11),M(23,"img",4),c(24,"div",12),f(25),d()(),c(26,"div",13)(27,"a",15)(28,"uds-translate"),f(29,"View service pools"),d()()()(),x(30,e8,9,2,"div",16),d(),c(31,"div",17)(32,"div",18)(33,"div",19)(34,"uds-translate"),f(35,"Assigned services chart"),d()(),c(36,"div",20),b("chartInit",function(o){y(e);let r=_();return w(r.chartInit("assigned",o))}),d()(),c(37,"div",18)(38,"div",19)(39,"uds-translate"),f(40,"In use services chart"),d()(),c(41,"div",20),b("chartInit",function(o){y(e);let r=_();return w(r.chartInit("inuse",o))}),d()()()()()}if(n&2){let e=_();u(5),p("src",e.api.staticURL("admin/img/icons/authenticators.png"),Se),u(2),O(" ",e.data.users," "),u(7),p("src",e.api.staticURL("admin/img/icons/pools.png"),Se),u(2),O(" ",e.data.pools," "),u(7),p("src",e.api.staticURL("admin/img/icons/services.png"),Se),u(2),O(" ",e.data.user_services," "),u(5),p("ngIf",e.data.restrained),u(6),p("options",e.assignedChartOpts),u(5),p("options",e.inuseChartOpts)}}function n8(n,i){n&1&&(c(0,"div",22)(1,"div",23)(2,"div",24)(3,"uds-translate"),f(4,"UDS Administration"),d()(),c(5,"div",25)(6,"p")(7,"uds-translate"),f(8,"You are accessing UDS Administration as staff member."),d()(),c(9,"p")(10,"uds-translate"),f(11,"This means that you have restricted access to elements."),d()(),c(12,"p")(13,"uds-translate"),f(14,"In order to increase your access privileges, please contact your local UDS administrator. "),d()(),M(15,"br"),c(16,"p")(17,"uds-translate"),f(18,"Thank you."),d()()()()())}var sk=(()=>{let i=class i{constructor(t,o){this.api=t,this.rest=o,this.data={},this.assignedChartInstance=null,this.assignedChartOpts={},this.inuseChartOpts={},this.inuseChartInstance=null}onResize(t){this.assignedChartInstance&&this.assignedChartInstance.resize(),this.inuseChartInstance&&this.inuseChartInstance.resize()}ngOnInit(){if(this.api.user.isAdmin){this.rest.system.information().then(t=>{this.data={users:django.gettext("#USR_NUMBER# users, #GRP_NUMBER# groups").replace("#USR_NUMBER#",t.users).replace("#GRP_NUMBER#",t.groups),pools:django.gettext("#POOLS_NUMBER# service pools").replace("#POOLS_NUMBER#",t.service_pools),user_services:django.gettext("#SERVICES_NUMBER# user services").replace("#SERVICES_NUMBER#",t.user_services)},t.restrained_services_pools>0&&(this.data.restrained=django.gettext("#RESTRAINED_NUMBER# restrained services!").replace("#RESTRAINED_NUMBER#",t.restrained_services_pools))});for(let t of["assigned","inuse"])this.rest.system.stats(t).then(o=>{let r={tooltip:{trigger:"axis"},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:o.map(a=>qn("SHORT_DATE_FORMAT",new Date(a.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:t==="assigned"?django.gettext("Assigned services"):django.gettext("Services in use"),type:"line",smooth:!0,areaStyle:{},data:o.map(a=>a.value)}]};t==="assigned"?this.assignedChartOpts=r:this.inuseChartOpts=r})}}chartInit(t,o){t==="assigned"?this.assignedChartInstance=o:this.inuseChartInstance=o}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-summary"]],hostBindings:function(o,r){o&1&&b("resize",function(s){return r.onResize(s)},!1,ep)},standalone:!1,decls:11,vars:3,consts:[["noAdmin",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-subtitle"],[1,"card-content"],[4,"ngIf","ngIfElse"],[1,"admin"],[1,"information"],[1,"info-panel"],[1,"info-panel-data"],[1,"info-text"],[1,"info-panel-link"],["mat-button","","routerLink","/authenticators"],["mat-button","","routerLink","/pools/service-pools"],["class","info-panel info-danger",4,"ngIf"],[1,"statistics"],[1,"statistics-chart"],[1,"statistics-title"],["echarts","","theme","dark-digerati",3,"chartInit","options"],[1,"info-panel","info-danger"],[1,"staff-container"],[1,"staff","mat-elevation-z8"],[1,"staff-header"],[1,"staff-content"]],template:function(o,r){if(o&1&&(c(0,"div",1)(1,"div",2)(2,"div",3),M(3,"img",4),c(4,"uds-translate"),f(5,"Dashboard"),d()(),M(6,"div",5),d(),c(7,"div",6),x(8,t8,42,9,"div",7)(9,n8,19,0,"ng-template",null,0,gn),d()()),o&2){let a=be(10);u(3),p("src",r.api.staticURL("admin/img/icons/dashboard-monitor.png"),Se),u(5),p("ngIf",r.api.user.isAdmin)("ngIfElse",a)}},dependencies:[ue,bn,xa,xf,ae],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.staff-container[_ngcontent-%COMP%]{margin-top:2rem;display:flex;justify-content:center}.staff[_ngcontent-%COMP%]{border:#337ab7;border-width:1px;border-style:solid}.staff-header[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#337ab7;color:#fff;font-weight:700;padding:.5rem 1rem}.staff-content[_ngcontent-%COMP%]{padding:.5rem 1rem}.admin[_ngcontent-%COMP%]{display:flex;flex-direction:column}.information[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.info-panel[_ngcontent-%COMP%]{border-color:#333;background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%}.info-danger[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff;font-weight:700;font-size:1.5em}.info-panel-data[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:1rem}.info-panel-data[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:1rem;width:5rem}.info-text[_ngcontent-%COMP%]{width:100%;text-align:center}.info-panel-link[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c)}.info-panel-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;color:#fff}.statistics[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.statistics-title[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c);width:100%;color:#fff;padding:1rem 0rem;text-align:center}.statistics-chart[_ngcontent-%COMP%]{border-color:#333;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%;height:400px} .dark-theme .staff{border:#337ab7} .dark-theme .staff-header{color:#fff} .dark-theme .info-panel{border-color:lightned(#303030,60%);background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;color:#b3b3b3} .dark-theme .info-danger{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff} .dark-theme .info-panel-link{background:#4682b4} .dark-theme .info-panel-link a{color:#fff} .dark-theme .statistics-title{color:#fff} .dark-theme .statistics-chart{border-color:#333;box-shadow:#00000024 0 1px 4px;color:#333}"]});let n=i;return n})();var i8=["notch"],o8=["matFormFieldNotchedOutline",""],r8=["*"],a8=["textField"],s8=["iconPrefixContainer"],l8=["textPrefixContainer"],c8=["iconSuffixContainer"],d8=["textSuffixContainer"],u8=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],m8=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function p8(n,i){n&1&&M(0,"span",21)}function h8(n,i){if(n&1&&(c(0,"label",20),re(1,1),x(2,p8,1,0,"span",21),d()),n&2){let e=_(2);p("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ee("for",e._control.disableAutomaticLabeling?null:e._control.id),u(2),Ce(!e.hideRequiredMarker&&e._control.required?2:-1)}}function f8(n,i){if(n&1&&x(0,h8,3,5,"label",20),n&2){let e=_();Ce(e._hasFloatingLabel()?0:-1)}}function g8(n,i){n&1&&M(0,"div",7)}function _8(n,i){}function v8(n,i){if(n&1&&x(0,_8,0,0,"ng-template",13),n&2){_(2);let e=be(1);p("ngTemplateOutlet",e)}}function b8(n,i){if(n&1&&(c(0,"div",9),x(1,v8,1,1,null,13),d()),n&2){let e=_();p("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),u(),Ce(e._forceDisplayInfixLabel()?-1:1)}}function y8(n,i){n&1&&(c(0,"div",10,2),re(2,2),d())}function w8(n,i){n&1&&(c(0,"div",11,3),re(2,3),d())}function C8(n,i){}function x8(n,i){if(n&1&&x(0,C8,0,0,"ng-template",13),n&2){_();let e=be(1);p("ngTemplateOutlet",e)}}function D8(n,i){n&1&&(c(0,"div",14,4),re(2,4),d())}function S8(n,i){n&1&&(c(0,"div",15,5),re(2,5),d())}function E8(n,i){n&1&&M(0,"div",16)}function M8(n,i){if(n&1&&(c(0,"div",18),re(1,6),d()),n&2){let e=_();p("@transitionMessages",e._subscriptAnimationState)}}function I8(n,i){if(n&1&&(c(0,"mat-hint",22),f(1),d()),n&2){let e=_(2);p("id",e._hintLabelId),u(),Ge(e.hintLabel)}}function T8(n,i){if(n&1&&(c(0,"div",19),x(1,I8,2,2,"mat-hint",22),re(2,7),M(3,"div",23),re(4,8),d()),n&2){let e=_();p("@transitionMessages",e._subscriptAnimationState),u(),Ce(e.hintLabel?1:-1)}}var ke=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-label"]]})}return n})(),k8=new R("MatError");var lk=(()=>{class n{align="start";id=h(ft).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,o){t&2&&(En("id",o.id),ee("align",null),ne("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),A8=new R("MatPrefix");var fk=new R("MatSuffix"),uo=(()=>{class n{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ye([{provide:fk,useExisting:n}])]})}return n})(),gk=new R("FloatingLabelParent"),ck=(()=>{class n{_elementRef=h(Q);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=h(Kh);_ngZone=h(te);_parent=h(gk);_resizeSubscription=new ge;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return R8(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function R8(n){let i=n;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var dk="mdc-line-ripple--active",Df="mdc-line-ripple--deactivating",uk=(()=>{class n{_elementRef=h(Q);constructor(){h(te).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Df),e.add(dk)}deactivate(){this._elementRef.nativeElement.classList.add(Df)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,o=t.contains(Df);e.propertyName==="opacity"&&o&&t.remove(dk,Df)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),mk=(()=>{class n{_elementRef=h(Q);_ngZone=h(te);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,o){if(t&1&&se(i8,5),t&2){let r;$(r=q())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:o8,ngContentSelectors:r8,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,o){t&1&&(We(),M(0,"div",1),c(1,"div",2,0),re(3),d(),M(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),O8={transitionMessages:mn("transitionMessages",[Ft("enter",Me({opacity:1,transform:"translateY(0%)"})),xt("void => enter",[Me({opacity:0,transform:"translateY(-5px)"}),It("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ma=(()=>{class n{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n})}return n})();var Ro=new R("MatFormField"),Yy=new R("MAT_FORM_FIELD_DEFAULT_OPTIONS"),pk="fill",P8="auto",hk="fixed",F8="translateY(-50%)",fe=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_dir=h(jt);_platform=h(rt);_idGenerator=h(ft);_defaults=h(Yy,{optional:!0});_animationMode=h($t,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=HE(ke);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=oo(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||P8}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let t=this._appearance,o=e||this._defaults?.appearance||pk;this._appearance=o,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=pk;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||hk}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||hk}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new j;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=h(Ae);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Mr(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(o+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(Et([void 0,void 0]),le(()=>[t.errorState,t.userAriaDescribedBy]),ju(),je(([[r,a],[s,l]])=>r!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(pe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),yt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),kc(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(pe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Mr(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(r=>r.align==="start"):null,o=this._hintChildren?this._hintChildren.find(r=>r.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,m=r?.getBoundingClientRect().width??0,g=a?.getBoundingClientRect().width??0,v=this._dir.value==="rtl"?"-1":"1",D=`${s+l}px`,I=`calc(${v} * (${D} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, ${F8} translateX(${I}) )`;let A=s+l+m+g;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${A}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-form-field"]],contentQueries:function(t,o,r){if(t&1&&(rM(r,o._labelChild,ke,5),He(r,Ma,5),He(r,A8,5),He(r,fk,5),He(r,k8,5),He(r,lk,5)),t&2){aM();let a;$(a=q())&&(o._formFieldControl=a.first),$(a=q())&&(o._prefixChildren=a),$(a=q())&&(o._suffixChildren=a),$(a=q())&&(o._errorChildren=a),$(a=q())&&(o._hintChildren=a)}},viewQuery:function(t,o){if(t&1&&(se(a8,5),se(s8,5),se(l8,5),se(c8,5),se(d8,5),se(ck,5),se(mk,5),se(uk,5)),t&2){let r;$(r=q())&&(o._textField=r.first),$(r=q())&&(o._iconPrefixContainer=r.first),$(r=q())&&(o._textPrefixContainer=r.first),$(r=q())&&(o._iconSuffixContainer=r.first),$(r=q())&&(o._textSuffixContainer=r.first),$(r=q())&&(o._floatingLabel=r.first),$(r=q())&&(o._notchedOutline=r.first),$(r=q())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,o){t&2&&ne("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ye([{provide:Ro,useExisting:n},{provide:gk,useExisting:n}])],ngContentSelectors:m8,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,o){if(t&1){let r=k();We(u8),x(0,f8,1,1,"ng-template",null,0,gn),c(2,"div",6,1),b("click",function(s){return y(r),w(o._control.onContainerClick(s))}),x(4,g8,1,0,"div",7),c(5,"div",8),x(6,b8,2,2,"div",9)(7,y8,3,0,"div",10)(8,w8,3,0,"div",11),c(9,"div",12),x(10,x8,1,1,null,13),re(11),d(),x(12,D8,3,0,"div",14)(13,S8,3,0,"div",15),d(),x(14,E8,1,0,"div",16),d(),c(15,"div",17),x(16,M8,2,1,"div",18)(17,T8,5,2,"div",19),d()}if(t&2){let r;u(2),ne("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),u(2),Ce(!o._hasOutline()&&!o._control.disabled?4:-1),u(2),Ce(o._hasOutline()?6:-1),u(),Ce(o._hasIconPrefix?7:-1),u(),Ce(o._hasTextPrefix?8:-1),u(2),Ce(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),u(2),Ce(o._hasTextSuffix?12:-1),u(),Ce(o._hasIconSuffix?13:-1),u(),Ce(o._hasOutline()?-1:14),u(),ne("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),u(),Ce((r=o._getDisplayedMessages())==="error"?16:r==="hint"?17:-1)}},dependencies:[ck,mk,Cp,uk,lk],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[O8.transitionMessages]},changeDetection:0})}return n})(),fs=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,oh,me]})}return n})();var N8=["trigger"],L8=["panel"],V8=[[["mat-select-trigger"]],"*"],B8=["mat-select-trigger","*"];function j8(n,i){if(n&1&&(c(0,"span",4),f(1),d()),n&2){let e=_();u(),Ge(e.placeholder)}}function z8(n,i){n&1&&re(0)}function U8(n,i){if(n&1&&(c(0,"span",11),f(1),d()),n&2){let e=_(2);u(),Ge(e.triggerValue)}}function H8(n,i){if(n&1&&(c(0,"span",5),x(1,z8,1,0)(2,U8,2,1,"span",11),d()),n&2){let e=_();u(),Ce(e.customTrigger?1:2)}}function W8(n,i){if(n&1){let e=k();c(0,"div",12,1),b("@transformPanel.done",function(o){y(e);let r=_();return w(r._panelDoneAnimatingStream.next(o.toState))})("keydown",function(o){y(e);let r=_();return w(r._handleKeydown(o))}),re(2,1),d()}if(n&2){let e=_();iM("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),p("ngClass",e.panelClass)("@transformPanel","showing"),ee("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var G8={transformPanelWrap:mn("transformPanelWrap",[xt("* => void",Sh("@transformPanel",[Dh()],{optional:!0}))]),transformPanel:mn("transformPanel",[Ft("void",Me({opacity:0,transform:"scale(1, 0.8)"})),xt("void => showing",It("120ms cubic-bezier(0, 0, 0.2, 1)",Me({opacity:1,transform:"scale(1, 1)"}))),xt("* => void",It("100ms linear",Me({opacity:0})))])};var _k=new R("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition()}});function $8(n){return()=>n.scrollStrategies.reposition()}var q8=new R("MAT_SELECT_CONFIG"),Y8={provide:_k,deps:[Lt],useFactory:$8},vk=new R("MatSelectTrigger"),Qy=class{source;value;constructor(i,e){this.source=i,this.value=e}},vt=(()=>{class n{_viewportRuler=h(Ii);_changeDetectorRef=h(Ee);_elementRef=h(Q);_dir=h(jt,{optional:!0});_idGenerator=h(ft);_parentFormField=h(Ro,{optional:!0});ngControl=h(Ai,{self:!0,optional:!0});_liveAnnouncer=h(mh);_defaultOptions=h(q8,{optional:!0});options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let o=this.panel.nativeElement,r=yh(e,this.options,this.optionGroups),a=t._getHostElement();e===0&&r===1?o.scrollTop=0:o.scrollTop=wh(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Qy(this,e)}_scrollStrategyFactory=h(_k);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new j;_errorStateTracker;stateChanges=new j;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new j;_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(rr.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new j;optionSelectionChanges=Xi(()=>{let e=this.options;return e?e.changes.pipe(Et(e),Tt(()=>yt(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(Tt(()=>this.optionSelectionChanges))});openedChange=new T;_openedStream=this.openedChange.pipe(je(e=>e),le(()=>{}));_closedStream=this.openedChange.pipe(je(e=>!e),le(()=>{}));selectionChange=new T;valueChange=new T;constructor(){let e=h(ba),t=h(co,{optional:!0}),o=h(Ea,{optional:!0}),r=h(new jn("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Or(e,this.ngControl,o,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=r==null?0:parseInt(r)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Rr(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ls(),pe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(pe(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(pe(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Et(null),pe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&_a(this._trackedModal,"aria-owns",t),Ol(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;_a(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,o=t===40||t===38||t===37||t===39,r=t===13||t===32,a=this._keyManager;if(!a.isTyping()&&r&&!Ot(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,o=e.keyCode,r=o===40||o===38,a=t.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&t.activeItem&&!Ot(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=t.activeItemIndex;t.onKeydown(e),this._multiple&&r&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&t.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(Rt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Sd?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new kl(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=yt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(pe(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),yt(...this.options.map(t=>t._stateChanges)).pipe(pe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let o=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,o)=>this.sortComparator?this.sortComparator(t,o,e):e.indexOf(t)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(o=>o.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-select"]],contentQueries:function(t,o,r){if(t&1&&(He(r,vk,5),He(r,nt,5),He(r,kd,5)),t&2){let a;$(a=q())&&(o.customTrigger=a.first),$(a=q())&&(o.options=a),$(a=q())&&(o.optionGroups=a)}},viewQuery:function(t,o){if(t&1&&(se(N8,5),se(L8,5),se(dy,5)),t&2){let r;$(r=q())&&(o.trigger=r.first),$(r=q())&&(o.panel=r.first),$(r=q())&&(o._overlayDir=r.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,o){t&1&&b("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),t&2&&(ee("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),ne("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",G],disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:on(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[2,"required","required",G],multiple:[2,"multiple","multiple",G],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",on],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ye([{provide:Ma,useExisting:n},{provide:Td,useExisting:n}]),ce,Ze],ngContentSelectors:B8,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,o){if(t&1){let r=k();We(V8),c(0,"div",2,0),b("click",function(){return y(r),w(o.open())}),c(3,"div",3),x(4,j8,2,1,"span",4)(5,H8,3,1,"span",5),d(),c(6,"div",6)(7,"div",7),fn(),c(8,"svg",8),M(9,"path",9),d()()()(),x(10,W8,3,9,"ng-template",10),b("backdropClick",function(){return y(r),w(o.close())})("attach",function(){return y(r),w(o._onAttached())})("detach",function(){return y(r),w(o.close())})}if(t&2){let r=be(1);u(3),ee("id",o._valueId),u(),Ce(o.empty?4:5),u(6),p("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Sd,dy,Ei],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}'],encapsulation:2,data:{animation:[G8.transformPanel]},changeDetection:0})}return n})(),Sf=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-select-trigger"]],features:[ye([{provide:vk,useExisting:n}])]})}return n})(),Ef=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Y8],imports:[ci,Ll,me,ro,fs,Ll,me]})}return n})();var Q8=["tooltip"],wk=20;var Ck=new R("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition({scrollThrottle:wk})}});function K8(n){return()=>n.scrollStrategies.reposition({scrollThrottle:wk})}var Z8={provide:Ck,deps:[Lt],useFactory:K8};function X8(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var J8=new R("mat-tooltip-default-options",{providedIn:"root",factory:X8});var bk="tooltip-panel",yk=Wn({passive:!0}),e6=8,t6=8,n6=24,i6=200,ar=(()=>{class n{_overlay=h(Lt);_elementRef=h(Q);_scrollDispatcher=h(El);_viewContainerRef=h(kt);_ngZone=h(te);_platform=h(rt);_ariaDescriber=h(uh);_focusMonitor=h(Pn);_dir=h(jt);_injector=h(Ae);_defaultOptions=h(J8,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=h(Ck);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=o6;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=oo(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let t=oo(e);this._disabled!==t&&(this._disabled=t,t?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=tr(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=tr(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let t=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(t)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=h(de);_touchstartTimeout=null;_destroyed=new j;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._dir.change.pipe(pe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=e6}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(pe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,o])=>{e.removeEventListener(t,o,yk)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,t){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(t);this._detach(),this._portal=this._portal||new Ti(this._tooltipComponent,this._viewContainerRef);let r=this._tooltipInstance=o.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(pe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){let t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&r._origin instanceof Q)return this._overlayRef;this._detach()}let t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return o.positionChanges.pipe(pe(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${bk}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(pe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(pe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(pe(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&r.keyCode===27&&!Ot(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let t=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();t.withPositions([this._addOffset(L(L({},o.main),r.main)),this._addOffset(L(L({},o.fallback),r.fallback))])}_addOffset(e){let t=t6,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-t:e.originY==="bottom"?e.offsetY=t:e.originX==="start"?e.offsetX=o?-t:t:e.originX==="end"&&(e.offsetX=o?t:-t),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",t=this.position,o;t=="above"||t=="below"?o={originX:"center",originY:t=="above"?"top":"bottom"}:t=="before"||t=="left"&&e||t=="right"&&!e?o={originX:"start",originY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:r,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",t=this.position,o;t=="above"?o={overlayX:"center",overlayY:"bottom"}:t=="below"?o={overlayX:"center",overlayY:"top"}:t=="before"||t=="left"&&e||t=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:r,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),nn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return this.position==="above"||this.position==="below"?t==="top"?t="bottom":t==="bottom"&&(t="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){let{overlayY:t,originX:o,originY:r}=e,a;if(t==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=t==="bottom"&&r==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${bk}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let t;e.x!==void 0&&e.y!==void 0&&(t=e),this.show(void 0,t)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let t=e.targetTouches?.[0],o=t?{x:t.clientX,y:t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let r=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions?.touchLongPressShowDelay??r)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",t=>{let o=t.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",t=>this._wheelListener(t)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,o])=>{this._elementRef.nativeElement.addEventListener(t,o,yk)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let t=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;t!==o&&!o.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let t=this._elementRef.nativeElement,o=t.style;(e==="on"||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!t.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return n})(),o6=(()=>{class n{_changeDetectorRef=h(Ee);_elementRef=h(Q);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new j;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=h($t,{optional:!0});this._animationsDisabled=e==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>n6&&e.width>=i6}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let t=this._tooltip.nativeElement,o=this._showAnimation,r=this._hideAnimation;if(t.classList.remove(e?r:o),t.classList.add(e?o:r),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(t);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(t,o){if(t&1&&se(Q8,7),t&2){let r;$(r=q())&&(o._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(t,o){t&1&&b("mouseleave",function(a){return o._handleMouseLeave(a)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(t,o){if(t&1){let r=k();c(0,"div",1,0),b("animationend",function(s){return y(r),w(o._handleAnimationEnd(s))}),c(2,"div",2),f(3),d()()}t&2&&(ne("mdc-tooltip--multiline",o._isMultiline),p("ngClass",o.tooltipClass),u(3),Ge(o.message))},dependencies:[Ei],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return n})();var Hl=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Z8],imports:[Pl,ci,me,me,ro]})}return n})();function r6(n,i){if(n&1&&(c(0,"mat-option",17),f(1),d()),n&2){let e=i.$implicit;p("value",e),u(),O(" ",e," ")}}function a6(n,i){if(n&1){let e=k();c(0,"mat-form-field",14)(1,"mat-select",16,0),b("selectionChange",function(o){y(e);let r=_(2);return w(r._changePageSize(o.value))}),Dr(3,r6,2,2,"mat-option",17,Nc),d(),c(5,"div",18),b("click",function(){y(e);let o=be(2);return w(o.open())}),d()()}if(n&2){let e=_(2);p("appearance",e._formFieldAppearance)("color",e.color),u(),p("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),u(2),Sr(e._displayedPageSizeOptions)}}function s6(n,i){if(n&1&&(c(0,"div",15),f(1),d()),n&2){let e=_(2);u(),Ge(e.pageSize)}}function l6(n,i){if(n&1&&(c(0,"div",3)(1,"div",13),f(2),d(),x(3,a6,6,7,"mat-form-field",14)(4,s6,2,1,"div",15),d()),n&2){let e=_();u(),ee("id",e._pageSizeLabelId),u(),O(" ",e._intl.itemsPerPageLabel," "),u(),Ce(e._displayedPageSizeOptions.length>1?3:-1),u(),Ce(e._displayedPageSizeOptions.length<=1?4:-1)}}function c6(n,i){if(n&1){let e=k();c(0,"button",19),b("click",function(){y(e);let o=_();return w(o.firstPage())}),fn(),c(1,"svg",8),M(2,"path",20),d()()}if(n&2){let e=_();p("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ee("aria-label",e._intl.firstPageLabel)}}function d6(n,i){if(n&1){let e=k();c(0,"button",21),b("click",function(){y(e);let o=_();return w(o.lastPage())}),fn(),c(1,"svg",8),M(2,"path",22),d()()}if(n&2){let e=_();p("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ee("aria-label",e._intl.lastPageLabel)}}var Ia=(()=>{class n{changes=new j;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,t,o)=>{if(o==0||t==0)return`0 of ${o}`;o=Math.max(o,0);let r=e*t,a=r{class n{_intl;_changeDetectorRef;_formFieldAppearance;_pageSizeLabelId=h(ft).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new Zi(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>on(t,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new T;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(e,t,o){if(this._intl=e,this._changeDetectorRef=t,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),o){let{pageSize:r,pageSizeOptions:a,hidePageSize:s,showFirstLastButtons:l}=o;r!=null&&(this._pageSize=r),a!=null&&(this._pageSizeOptions=a),s!=null&&(this.hidePageSize=s),l!=null&&(this.showFirstLastButtons=l)}this._formFieldAppearance=o?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static \u0275fac=function(t){return new(t||n)(C(Ia),C(Ee),C(h6,8))};static \u0275cmp=E({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",on],length:[2,"length","length",on],pageSize:[2,"pageSize","pageSize",on],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",G],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",G],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",G]},outputs:{page:"page"},exportAs:["matPaginator"],features:[ce],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,o){t&1&&(c(0,"div",1)(1,"div",2),x(2,l6,5,4,"div",3),c(3,"div",4)(4,"div",5),f(5),d(),x(6,c6,3,5,"button",6),c(7,"button",7),b("click",function(){return o.previousPage()}),fn(),c(8,"svg",8),M(9,"path",9),d()(),yr(),c(10,"button",10),b("click",function(){return o.nextPage()}),fn(),c(11,"svg",8),M(12,"path",11),d()(),x(13,d6,3,5,"button",12),d()()()),t&2&&(u(2),Ce(o.hidePageSize?-1:2),u(3),O(" ",o._intl.getRangeLabel(o.pageIndex,o.pageSize,o.length)," "),u(),Ce(o.showFirstLastButtons?6:-1),u(),p("matTooltip",o._intl.previousPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("matTooltipPosition","above")("disabled",o._previousButtonsDisabled()),ee("aria-label",o._intl.previousPageLabel),u(3),p("matTooltip",o._intl.nextPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("matTooltipPosition","above")("disabled",o._nextButtonsDisabled()),ee("aria-label",o._intl.nextPageLabel),u(3),Ce(o.showFirstLastButtons?13:-1))},dependencies:[fe,vt,nt,Zn,ar],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}"],encapsulation:2,changeDetection:0})}return n})(),xk=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[m6],imports:[or,Ef,Hl,Lr]})}return n})();var f6=["mat-sort-header",""],g6=["*"];function _6(n,i){if(n&1){let e=k();c(0,"div",2),b("@arrowPosition.start",function(){y(e);let o=_();return w(o._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){y(e);let o=_();return w(o._disableViewStateAnimation=!1)}),M(1,"div",3),c(2,"div",4),M(3,"div",5)(4,"div",6)(5,"div",7),d()()}if(n&2){let e=_();p("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),u(2),p("@indicator",e._getArrowDirectionState()),u(),p("@leftPointer",e._getArrowDirectionState()),u(),p("@rightPointer",e._getArrowDirectionState())}}var Sk=new R("MAT_SORT_DEFAULT_OPTIONS"),Vr=(()=>{class n{_defaultOptions;_initializedStream=new Zi(1);sortables=new Map;_stateChanges=new j;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new T;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let t=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,o=v6(e.start||this.start,t),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(t){return new(t||n)(C(Sk,8))};static \u0275dir=N({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",G],disabled:[2,"matSortDisabled","disabled",G]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[ce,Ze]})}return n})();function v6(n,i){let e=["asc","desc"];return n=="desc"&&e.reverse(),i||e.push(""),e}var Ta=B1.ENTERING+" "+V1.STANDARD_CURVE,Wl={indicator:mn("indicator",[Ft("active-asc, asc",Me({transform:"translateY(0px)"})),Ft("active-desc, desc",Me({transform:"translateY(10px)"})),xt("active-asc <=> active-desc",It(Ta))]),leftPointer:mn("leftPointer",[Ft("active-asc, asc",Me({transform:"rotate(-45deg)"})),Ft("active-desc, desc",Me({transform:"rotate(45deg)"})),xt("active-asc <=> active-desc",It(Ta))]),rightPointer:mn("rightPointer",[Ft("active-asc, asc",Me({transform:"rotate(45deg)"})),Ft("active-desc, desc",Me({transform:"rotate(-45deg)"})),xt("active-asc <=> active-desc",It(Ta))]),arrowOpacity:mn("arrowOpacity",[Ft("desc-to-active, asc-to-active, active",Me({opacity:1})),Ft("desc-to-hint, asc-to-hint, hint",Me({opacity:.54})),Ft("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Me({opacity:0})),xt("* => asc, * => desc, * => active, * => hint, * => void",It("0ms")),xt("* <=> *",It(Ta))]),arrowPosition:mn("arrowPosition",[xt("* => desc-to-hint, * => desc-to-active",It(Ta,wa([Me({transform:"translateY(-25%)"}),Me({transform:"translateY(0)"})]))),xt("* => hint-to-desc, * => active-to-desc",It(Ta,wa([Me({transform:"translateY(0)"}),Me({transform:"translateY(25%)"})]))),xt("* => asc-to-hint, * => asc-to-active",It(Ta,wa([Me({transform:"translateY(25%)"}),Me({transform:"translateY(0)"})]))),xt("* => hint-to-asc, * => active-to-asc",It(Ta,wa([Me({transform:"translateY(0)"}),Me({transform:"translateY(-25%)"})]))),Ft("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Me({transform:"translateY(0)"})),Ft("hint-to-desc, active-to-desc, desc",Me({transform:"translateY(-25%)"})),Ft("hint-to-asc, active-to-asc, asc",Me({transform:"translateY(25%)"}))]),allowChildren:mn("allowChildren",[xt("* <=> *",[Sh("@*",Dh(),{optional:!0})])])},If=(()=>{class n{changes=new j;static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function b6(n){return n||new If}var y6={provide:If,deps:[[new Bi,new So,If]],useFactory:b6},Tf=(()=>{class n{_intl=h(If);_changeDetectorRef=h(Ee);_sort=h(Vr,{optional:!0});_columnDef=h("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_focusMonitor=h(Pn);_elementRef=h(Q);_ariaDescriber=h(uh,{optional:!0});_rerenderSubscription;_sortButton;_showIndicatorHint=!1;_viewState={};_arrowDirection="";_disableViewStateAnimation=!1;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){h(Mt).load(Dn);let e=h(Sk,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=yt(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,o){t&1&&b("click",function(){return o._handleClick()})("keydown",function(a){return o._handleKeydown(a)})("mouseenter",function(){return o._setIndicatorHintVisible(!0)})("mouseleave",function(){return o._setIndicatorHintVisible(!1)}),t&2&&(ee("aria-sort",o._getAriaSortAttribute()),ne("mat-sort-header-disabled",o._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",G],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",G]},exportAs:["matSortHeader"],features:[ce],attrs:f6,ngContentSelectors:g6,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,o){t&1&&(We(),c(0,"div",0)(1,"div",1),re(2),d(),x(3,_6,6,6,"div",2),d()),t&2&&(ne("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before",o.arrowPosition==="before"),ee("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),u(3),Ce(o._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface));opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media(forced-colors: active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media(forced-colors: active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media(forced-colors: active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Wl.indicator,Wl.leftPointer,Wl.rightPointer,Wl.arrowOpacity,Wl.arrowPosition,Wl.allowChildren]},changeDetection:0})}return n})(),Ek=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[y6],imports:[me]})}return n})();var C6=[[["caption"]],[["colgroup"],["col"]],"*"],x6=["caption","colgroup, col","*"];function D6(n,i){n&1&&re(0,2)}function S6(n,i){n&1&&(c(0,"thead",0),Cn(1,1),d(),c(2,"tbody",0),Cn(3,2)(4,3),d(),c(5,"tfoot",0),Cn(6,4),d())}function E6(n,i){n&1&&Cn(0,1)(1,2)(2,3)(3,4)}var Oo=new R("CDK_TABLE");var Ff=(()=>{class n{template=h(wt);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkCellDef",""]]})}return n})(),Nf=(()=>{class n{template=h(wt);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkHeaderCellDef",""]]})}return n})(),kk=(()=>{class n{template=h(wt);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkFooterCellDef",""]]})}return n})(),Gl=(()=>{class n{_table=h(Oo,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,o,r){if(t&1&&(He(r,Ff,5),He(r,Nf,5),He(r,kk,5)),t&2){let a;$(a=q())&&(o.cell=a.first),$(a=q())&&(o.headerCell=a.first),$(a=q())&&(o.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",G],stickyEnd:[2,"stickyEnd","stickyEnd",G]},features:[ye([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),ce]})}return n})(),Af=class{constructor(i,e){e.nativeElement.classList.add(...i._columnCssClassName)}},Ak=(()=>{class n extends Af{constructor(){super(h(Gl),h(Q))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[_e]})}return n})();var Rk=(()=>{class n extends Af{constructor(){let e=h(Gl),t=h(Q);super(e,t);let o=e._table?._getCellRole();o&&t.nativeElement.setAttribute("role",o)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[_e]})}return n})(),Rf=class{tasks=[];endTasks=[]},Of=new R("_COALESCED_STYLE_SCHEDULER"),Zy=(()=>{class n{_currentSchedule=null;_ngZone=h(te);constructor(){}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Rf,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new Rf;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();var Xy=(()=>{class n{template=h(wt);_differs=h(Ko);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Wd?e.headerCell.template:this instanceof Jy?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,features:[Ze]})}return n})(),Wd=(()=>{class n extends Xy{_table=h(Oo,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(h(wt),h(Ko))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",G]},features:[ce,_e,Ze]})}return n})(),Jy=(()=>{class n extends Xy{_table=h(Oo,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(h(wt),h(Ko))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",G]},features:[ce,_e,Ze]})}return n})(),Lf=(()=>{class n extends Xy{_table=h(Oo,{optional:!0});when;constructor(){super(h(wt),h(Ko))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[_e]})}return n})(),gs=(()=>{class n{_viewContainer=h(kt);cells;context;static mostRecentCellOutlet=null;constructor(){n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkCellOutlet",""]]})}return n})(),ew=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Cn(0,0)},dependencies:[gs],encapsulation:2})}return n})();var tw=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Cn(0,0)},dependencies:[gs],encapsulation:2})}return n})(),Ok=(()=>{class n{templateRef=h(wt);_contentClassName="cdk-no-data-row";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["ng-template","cdkNoDataRow",""]]})}return n})(),Ik=["top","bottom","left","right"],Ky=class{_isNativeHtmlTable;_stickCellCss;direction;_coalescedStyleScheduler;_isBrowser;_needsPositionStickyOnElement;_positionListener;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(i=>this._updateCachedSizes(i)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;constructor(i,e,t,o,r=!0,a=!0,s){this._isNativeHtmlTable=i,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=o,this._isBrowser=r,this._needsPositionStickyOnElement=a,this._positionListener=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(i,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(i);let t=[];for(let o of i)if(o.nodeType===o.ELEMENT_NODE){t.push(o);for(let r=0;r{for(let o of t)this._removeStickyStyle(o,e)})}updateStickyColumns(i,e,t,o=!0,r=!0){if(r&&this._updateStickyColumnReplayQueue({rows:[...i],stickyStartStates:[...e],stickyEndStates:[...t]}),!i.length||!this._isBrowser||!(e.some(a=>a)||t.some(a=>a))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let a=i[0],s=a.children.length,l=this._getCellWidths(a,o),m=this._getStickyStartColumnPositions(l,e),g=this._getStickyEndColumnPositions(l,t),v=e.lastIndexOf(!0),D=t.indexOf(!0),S=this.direction==="rtl",I=S?"right":"left",A=S?"left":"right";for(let Y of i)for(let V=0;Ve[V]?Y:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:l.slice(D).map((Y,V)=>t[V+D]?Y:null).reverse()}))})}stickRows(i,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let o=t==="bottom"?i.slice().reverse():i,r=t==="bottom"?e.slice().reverse():e,a=[],s=[],l=[];for(let g=0,v=0;g{let t=i.querySelector("tfoot");t&&(e.some(o=>!o)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(i,e){for(let o of e)i.style[o]="",i.classList.remove(this._borderCellCss[o]);Ik.some(o=>e.indexOf(o)===-1&&i.style[o])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,e,t,o){i.classList.add(this._stickCellCss),o&&i.classList.add(this._borderCellCss[e]),i.style[e]=`${t}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){let e={top:100,bottom:10,left:1,right:1},t=0;for(let o of Ik)i.style[o]&&(t+=e[o]);return t?`${t}`:""}_getCellWidths(i,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],o=i.children;for(let r=0;r0;r--)e[r]&&(t[r]=o,o+=i[r]);return t}_retrieveElementSize(i){let e=this._elemSizeCache.get(i);if(e)return e;let t=i.getBoundingClientRect(),o={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(i,o),this._resizeObserver.observe(i,{box:"border-box"})),o}_updateStickyColumnReplayQueue(i){this._removeFromStickyColumnReplayQueue(i.rows),!this._stickyColumnsReplayTimeout&&this._updatedStickyColumnsParamsToReplay.push(i)}_removeFromStickyColumnReplayQueue(i){let e=new Set(i);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(o=>!e.has(o));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(i){let e=!1;for(let t of i){let o=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};o.width!==this._elemSizeCache.get(t.target)?.width&&M6(t.target)&&(e=!0),this._elemSizeCache.set(t.target,o)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null},0))}};function M6(n){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(i=>n.classList.contains(i))}var Pf=new R("CDK_SPL");var nw=(()=>{class n{viewContainer=h(kt);elementRef=h(Q);constructor(){let e=h(Oo);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","rowOutlet",""]]})}return n})(),iw=(()=>{class n{viewContainer=h(kt);elementRef=h(Q);constructor(){let e=h(Oo);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","headerRowOutlet",""]]})}return n})(),ow=(()=>{class n{viewContainer=h(kt);elementRef=h(Q);constructor(){let e=h(Oo);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","footerRowOutlet",""]]})}return n})(),rw=(()=>{class n{viewContainer=h(kt);elementRef=h(Q);constructor(){let e=h(Oo);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","noDataRowOutlet",""]]})}return n})();var aw=(()=>{class n{_differs=h(Ko);_changeDetectorRef=h(Ee);_elementRef=h(Q);_dir=h(jt,{optional:!0});_platform=h(rt);_viewRepeater=h(_d);_coalescedStyleScheduler=h(Of);_viewportRuler=h(Ii);_stickyPositioningListener=h(Pf,{optional:!0,skipSelf:!0});_document=h(de);_data;_onDestroy=new j;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new T;viewChange=new Gt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=h(Ae);constructor(){h(new jn("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(pe(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),nh(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(o,r,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===Dl.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let r=t.get(o.currentIndex);r.context.$implicit=o.item.data}),this._updateNoDataRow(),nn(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=Tk(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=Tk(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{let a=[];for(let s=0;s{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let s=o&&o.has(a)?o.get(a):[];if(s.length){let l=s.shift();return l.dataIndex=t,l}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),kf(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=kf(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=kf(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=kf(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let l=!!s.getColumnsDiff();return a||l},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),t||o||r}_switchDataSource(e){this._data=[],nh(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;nh(this.dataSource)?e=this.dataSource.connect(this):Gr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ie(this.dataSource)),this._renderChangeSubscription=e.pipe(pe(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let o=Array.from(t.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l}),r=o.map(s=>s.sticky),a=o.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let o=0;o!r.when||r.when(t,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;r&&o.push(r)}return o.length,o}_getEmbeddedViewArgs(e,t){let o=e.rowDef,r={$implicit:e.data};return{templateRef:o.template,context:r,index:t}}_renderRow(e,t,o,r={}){let a=e.viewContainer.createEmbeddedView(t.template,r,o);return this._renderCellTemplateForItem(t,r),a}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))gs.mostRecentCellOutlet&&gs.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t{let o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,o)=>t||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new Ky(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ie()).pipe(pe(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(t){let r=o.createEmbeddedView(e.templateRef),a=r.rootNodes[0];r.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,o,r){if(t&1&&(He(r,Ok,5),He(r,Gl,5),He(r,Lf,5),He(r,Wd,5),He(r,Jy,5)),t&2){let a;$(a=q())&&(o._noDataRow=a.first),$(a=q())&&(o._contentColumnDefs=a),$(a=q())&&(o._contentRowDefs=a),$(a=q())&&(o._contentHeaderRowDefs=a),$(a=q())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,o){t&2&&ne("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",G],fixedLayout:[2,"fixedLayout","fixedLayout",G]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[ye([{provide:Oo,useExisting:n},{provide:_d,useClass:Sl},{provide:Of,useClass:Zy},{provide:Pf,useValue:null}]),ce],ngContentSelectors:x6,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(We(C6),re(0),re(1,1),x(2,D6,1,0)(3,S6,7,0)(4,E6,4,0)),t&2&&(u(2),Ce(o._isServer?2:-1),u(),Ce(o._isNativeHtmlTable?3:4))},dependencies:[iw,nw,rw,ow],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return n})();function kf(n,i){return n.concat(Array.from(i))}function Tk(n,i){let e=i.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let o=t.nodeType===1?t.nodeName:null;if(o===e)return t;if(o==="TABLE")break;t=t.parentNode}return null}var Pk=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[bd]})}return n})();var I6=[[["caption"]],[["colgroup"],["col"]],"*"],T6=["caption","colgroup, col","*"];function k6(n,i){n&1&&re(0,2)}function A6(n,i){n&1&&(c(0,"thead",0),Cn(1,1),d(),c(2,"tbody",2),Cn(3,3)(4,4),d(),c(5,"tfoot",0),Cn(6,5),d())}function R6(n,i){n&1&&Cn(0,1)(1,3)(2,4)(3,5)}var Vf=(()=>{class n extends aw{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[ye([{provide:aw,useExisting:n},{provide:Oo,useExisting:n},{provide:Of,useClass:Zy},{provide:_d,useClass:Sl},{provide:Pf,useValue:null}]),_e],ngContentSelectors:T6,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(We(I6),re(0),re(1,1),x(2,k6,1,0)(3,A6,7,0)(4,R6,4,0)),t&2&&(u(2),Ce(o._isServer?2:-1),u(),Ce(o._isNativeHtmlTable?3:4))},dependencies:[iw,nw,rw,ow],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return n})(),Bf=(()=>{class n extends Ff{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matCellDef",""]],features:[ye([{provide:Ff,useExisting:n}]),_e]})}return n})(),jf=(()=>{class n extends Nf{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matHeaderCellDef",""]],features:[ye([{provide:Nf,useExisting:n}]),_e]})}return n})();var zf=(()=>{class n extends Gl{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[ye([{provide:Gl,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),_e]})}return n})(),Uf=(()=>{class n extends Ak{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[_e]})}return n})();var Hf=(()=>{class n extends Rk{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[_e]})}return n})();var Wf=(()=>{class n extends Wd{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",G]},features:[ye([{provide:Wd,useExisting:n}]),ce,_e]})}return n})();var Gf=(()=>{class n extends Lf{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[ye([{provide:Lf,useExisting:n}]),_e]})}return n})(),$f=(()=>{class n extends ew{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[ye([{provide:ew,useExisting:n}]),_e],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Cn(0,0)},dependencies:[gs],encapsulation:2})}return n})();var qf=(()=>{class n extends tw{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[ye([{provide:tw,useExisting:n}]),_e],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Cn(0,0)},dependencies:[gs],encapsulation:2})}return n})();var Fk=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,Pk,me]})}return n})(),O6=9007199254740991,$l=class extends th{_data;_renderData=new Gt([]);_filter=new Gt("");_internalPageChanges=new j;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(i,e)=>{let t=i[e];if(U0(t)){let o=Number(t);return o{let t=e.active,o=e.direction;return!t||o==""?i:i.sort((r,a)=>{let s=this.sortingDataAccessor(r,t),l=this.sortingDataAccessor(a,t),m=typeof s,g=typeof l;m!==g&&(m==="number"&&(s+=""),g==="number"&&(l+=""));let v=0;return s!=null&&l!=null?s>l?v=1:s{let t=Object.keys(i).reduce((r,a)=>r+i[a]+"\u25EC","").toLowerCase(),o=e.trim().toLowerCase();return t.indexOf(o)!=-1};constructor(i=[]){super(),this._data=new Gt(i),this._updateChangeSubscription()}_updateChangeSubscription(){let i=this._sort?yt(this._sort.sortChange,this._sort.initialized):ie(null),e=this._paginator?yt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ie(null),t=this._data,o=Pi([t,this._filter]).pipe(le(([s])=>this._filterData(s))),r=Pi([o,i]).pipe(le(([s])=>this._orderData(s))),a=Pi([r,e]).pipe(le(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(i){return this.filteredData=this.filter==null||this.filter===""?i:i.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;let e=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(e,e+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=i,e.pageIndex>0)){let t=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,t);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var F6=["input"],N6=["label"],L6=["*"],V6=new R("mat-checkbox-default-options",{providedIn:"root",factory:Vk});function Vk(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var di=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(di||{}),B6={provide:bi,useExisting:ln(()=>Yf),multi:!0},sw=class{source;checked},Lk=Vk(),Yf=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_ngZone=h(te);_animationMode=h($t,{optional:!0});_options=h(V6,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new sw;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new T;indeterminateChange=new T;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=di.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){h(Mt).load(Dn);let e=h(new jn("tabindex"),{optional:!0});this._options=this._options||Lk,this.color=this._options.color||Lk.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=h(ft).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(di.Indeterminate):this._transitionCheckState(this.checked?di.Checked:di.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,o=this._getAnimationTargetElement();if(!(t===e||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(r)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?di.Checked:di.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case di.Init:if(t===di.Checked)return this._animationClasses.uncheckedToChecked;if(t==di.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case di.Unchecked:return t===di.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case di.Checked:return t===di.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case di.Indeterminate:return t===di.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-checkbox"]],viewQuery:function(t,o){if(t&1&&(se(F6,5),se(N6,5)),t&2){let r;$(r=q())&&(o._inputElement=r.first),$(r=q())&&(o._labelElement=r.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,o){t&2&&(En("id",o.id),ee("tabindex",null)("aria-label",null)("aria-labelledby",null),Yt(o.color?"mat-"+o.color:"mat-accent"),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked)("mat-mdc-checkbox-disabled-interactive",o.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",G],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",G],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:on(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G],checked:[2,"checked","checked",G],disabled:[2,"disabled","disabled",G],indeterminate:[2,"indeterminate","indeterminate",G]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[ye([B6,{provide:lo,useExisting:n,multi:!0}]),ce,Ze],ngContentSelectors:L6,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,o){if(t&1){let r=k();We(),c(0,"div",3),b("click",function(s){return y(r),w(o._preventBubblingFromLabel(s))}),c(1,"div",4,0)(3,"div",5),b("click",function(){return y(r),w(o._onTouchTargetClick())}),d(),c(4,"input",6,1),b("blur",function(){return y(r),w(o._onBlur())})("click",function(){return y(r),w(o._onInputClick())})("change",function(s){return y(r),w(o._onInteractionEvent(s))}),d(),M(6,"div",7),c(7,"div",8),fn(),c(8,"svg",9),M(9,"path",10),d(),yr(),M(10,"div",11),d(),M(11,"div",12),d(),c(12,"label",13,2),re(14),d()()}if(t&2){let r=be(2);p("labelPosition",o.labelPosition),u(4),ne("mdc-checkbox--selected",o.checked),p("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled&&!o.disabledInteractive)("id",o.inputId)("required",o.required)("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex),ee("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("aria-controls",o.ariaControls)("aria-disabled",o.disabled&&o.disabledInteractive?!0:null)("aria-expanded",o.ariaExpanded)("aria-owns",o.ariaOwns)("name",o.name)("value",o.value),u(7),p("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),u(),p("for",o.inputId)}},dependencies:[so,xh],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return n})();var Qf=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[Yf,me,me]})}return n})();var z6=["*"],Kf;function U6(){if(Kf===void 0&&(Kf=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(Kf=n.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return Kf}function Gd(n){return U6()?.createHTML(n)||n}function Bk(n){return Error(`Unable to find icon with the name "${n}"`)}function H6(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function jk(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function zk(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var Br=class{url;svgText;options;svgElement;constructor(i,e,t){this.url=i,this.svgText=e,this.options=t}},W6=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,o,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._document=o}addSvgIcon(e,t,o){return this.addSvgIconInNamespace("",e,t,o)}addSvgIconLiteral(e,t,o){return this.addSvgIconLiteralInNamespace("",e,t,o)}addSvgIconInNamespace(e,t,o,r){return this._addSvgIconConfig(e,t,new Br(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,r){let a=this._sanitizer.sanitize(Kn.HTML,o);if(!a)throw zk(o);let s=Gd(a);return this._addSvgIconConfig(e,t,new Br("",s,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,o){return this._addSvgIconSetConfig(e,new Br(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){let r=this._sanitizer.sanitize(Kn.HTML,t);if(!r)throw zk(t);let a=Gd(r);return this._addSvgIconSetConfig(e,new Br("",a,o))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(Kn.RESOURCE_URL,e);if(!t)throw jk(e);let o=this._cachedIconsByUrl.get(t);return o?ie(Zf(o)):this._loadSvgIconFromConfig(new Br(e,null)).pipe(Ht(r=>this._cachedIconsByUrl.set(t,r)),le(r=>Zf(r)))}getNamedSvgIcon(e,t=""){let o=Uk(t,e),r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):Vo(Bk(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ie(Zf(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(le(t=>Zf(t)))}_getSvgFromIconSetConfigs(e,t){let o=this._extractIconWithNameFromAnySet(e,t);if(o)return ie(o);let r=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Yn(s=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(Kn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(m)),ie(null)})));return cc(r).pipe(le(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw Bk(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){let r=t[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,e,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ht(t=>e.svgText=t),le(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ie(null):this._fetchIcon(e).pipe(Ht(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){let r=e.querySelector(`[id="${t}"]`);if(!r)return null;let a=r.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 s=this._svgElementFromString(Gd(""));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let o=t.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let t=this._svgElementFromString(Gd("")),o=e.attributes;for(let r=0;rGd(m)),jo(()=>this._inProgressUrlFetches.delete(a)),uc());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(Uk(e,t),o),this}_addSvgIconSetConfig(e,t){let o=this._iconSetConfigs.get(e);return o?o.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let o=0;oi?i.pathname+i.search:""}}var Hk=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Q6=Hk.map(n=>`[${n}]`).join(", "),K6=/^url\(['"]?#(.*?)['"]?\)$/,Wk=(()=>{class n{_elementRef=h(Q);_iconRegistry=h(W6);_location=h(q6);_errorHandler=h(wi);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=ge.EMPTY;constructor(){let e=h(new jn("aria-hidden"),{optional:!0}),t=h($6,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let o=e.childNodes[t];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),t.forEach(o=>e.classList.add(o)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(Q6),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let s=t[r],l=s.getAttribute(a),m=l?l.match(K6):null;if(m){let g=o.get(s);g||(g=[],o.set(s,g)),g.push({name:a,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,o]=this._splitIconName(e);t&&(this._svgNamespace=t),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,t).pipe(Rt(1)).subscribe(r=>this._setSvgElement(r),r=>{let a=`Error retrieving icon ${t}:${o}! ${r.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,o){t&2&&(ee("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),Yt(o.color?"mat-"+o.color:""),ne("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",G],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[ce],ngContentSelectors:z6,decls:1,vars:0,template:function(t,o){t&1&&(We(),re(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return n})(),Gk=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})();var X6=["determinateSpinner"];function J6(n,i){if(n&1&&(fn(),c(0,"svg",11),M(1,"circle",12),d()),n&2){let e=_();ee("viewBox",e._viewBox()),u(),zn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ee("r",e._circleRadius())}}var eW=new R("mat-progress-spinner-default-options",{providedIn:"root",factory:tW});function tW(){return{diameter:$k}}var $k=100,nW=10,Xf=(()=>{class n{_elementRef=h(Q);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=h($t,{optional:!0}),t=h(eW);this._noopAnimations=e==="NoopAnimations"&&!!t&&!t._forceAnimations,this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",t&&(t.color&&(this.color=this._defaultColor=t.color),t.diameter&&(this.diameter=t.diameter),t.strokeWidth&&(this.strokeWidth=t.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=$k;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-nW)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,o){if(t&1&&se(X6,5),t&2){let r;$(r=q())&&(o._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(t,o){t&2&&(ee("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),Yt("mat-"+o.color),zn("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),ne("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",on],diameter:[2,"diameter","diameter",on],strokeWidth:[2,"strokeWidth","strokeWidth",on]},exportAs:["matProgressSpinner"],features:[ce],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(t,o){if(t&1&&(x(0,J6,2,8,"ng-template",null,0,gn),c(2,"div",2,1),fn(),c(4,"svg",3),M(5,"circle",4),d()(),yr(),c(6,"div",5)(7,"div",6)(8,"div",7),Cn(9,8),d(),c(10,"div",9),Cn(11,8),d(),c(12,"div",10),Cn(13,8),d()()()),t&2){let r=be(1);u(4),ee("viewBox",o._viewBox()),u(),zn("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),ee("r",o._circleRadius()),u(4),p("ngTemplateOutlet",r),u(2),p("ngTemplateOutlet",r),u(2),p("ngTemplateOutlet",r)}},dependencies:[Cp],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}return n})();var Jf=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me]})}return n})();var eg=(()=>{class n{get vertical(){return this._vertical}set vertical(e){this._vertical=oo(e)}_vertical=!1;get inset(){return this._inset}set inset(e){this._inset=oo(e)}_inset=!1;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,o){t&2&&(ee("aria-orientation",o.vertical?"vertical":"horizontal"),ne("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return n})(),tg=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})();var iW=["searchSelectInput"],oW=["innerSelectSearch"],rW=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],aW=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],sW=(n,i)=>({"mat-select-search-inner-multiple":n,"mat-select-search-inner-toggle-all":i});function lW(n,i){if(n&1){let e=k();c(0,"mat-checkbox",12),b("change",function(o){y(e);let r=_();return w(r._emitSelectAllBooleanToParent(o.checked))}),d()}if(n&2){let e=_();p("color",e.matFormField==null?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function cW(n,i){n&1&&M(0,"mat-spinner",13)}function dW(n,i){n&1&&re(0,1,["*ngIf","clearIcon; else defaultIcon"])}function uW(n,i){if(n&1&&(c(0,"mat-icon",16),f(1),d()),n&2){let e=_(2);p("svgIcon",e.closeSvgIcon),u(),O(" ",e.closeSvgIcon?null:e.closeIcon," ")}}function mW(n,i){if(n&1){let e=k();c(0,"button",14),b("click",function(){y(e);let o=_();return w(o._reset(!0))}),x(1,dW,1,0,"ng-content",15)(2,uW,2,2,"ng-template",null,2,gn),d()}if(n&2){let e=be(3),t=_();u(),p("ngIf",t.clearIcon)("ngIfElse",e)}}function pW(n,i){n&1&&re(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function hW(n,i){if(n&1&&f(0),n&2){let e=_(2);Ge(e.noEntriesFoundLabel)}}function fW(n,i){if(n&1&&(c(0,"div",17),x(1,pW,1,0,"ng-content",15)(2,hW,1,1,"ng-template",null,3,gn),d()),n&2){let e=be(3),t=_();u(),p("ngIf",t.noEntriesFound)("ngIfElse",e)}}var gW=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=N({type:n,selectors:[["","ngxMatSelectSearchClear",""]],standalone:!1}),n})(),_W=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],vW=new R("mat-selectsearch-default-options"),bW=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=N({type:n,selectors:[["","ngxMatSelectNoEntriesFound",""]],standalone:!1}),n})(),Qk=(()=>{class n{constructor(e,t,o,r,a,s){this.matSelect=e,this.changeDetectorRef=t,this._viewportRuler=o,this.matOption=r,this.matFormField=a,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.recreateValuesArray=!1,this.toggleAll=new T,this.onTouched=l=>{},this._options$=new Gt(null),this.optionsList$=this._options$.pipe(Tt(l=>l?l.changes.pipe(le(m=>m.toArray()),Et(l.toArray())):ie(null))),this.optionsLength$=this.optionsList$.pipe(le(l=>l?l.length:0)),this._formControl=new qh("",{nonNullable:!0}),this._showNoEntriesFound$=Pi([this._formControl.valueChanges,this.optionsLength$]).pipe(le(([l,m])=>!!(this.noEntriesFoundLabel&&l&&m===this.getOptionsLengthOffset()))),this._onDestroy=new j,this.applyDefaultOptions(s)}get value(){return this._formControl.value}set _options(e){this._options$.next(e)}get _options(){return this._options$.getValue()}applyDefaultOptions(e){if(e)for(let t of _W)e.hasOwnProperty(t)&&(this[t]=e[t])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("role","presentation")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(Yr(1),pe(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Rt(1),Tt(e=>{this._options=this.matSelect.options;let t=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(Ht(()=>{setTimeout(()=>{let o=this._options.toArray(),r=o[this.getOptionsLengthOffset()],a=this.matSelect._keyManager;a&&this.matSelect.panelOpen&&r&&((!t||!this.matSelect.compareWith(t.value,r.value)||!a.activeItem||!o.find(l=>this.matSelect.compareWith(l.value,a.activeItem?.value)))&&a.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),t=r})}))})).pipe(pe(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(pe(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(pe(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(pe(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(e){(e.key&&e.key.length===1||this.preventHomeEndKeyPropagation&&(e.key==="Home"||e.key==="End"))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.key==="Enter"&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed&&e.key==="Escape"&&this.value&&(this._reset(!0),e.stopPropagation())}_handleKeyup(e){if(e.key==="ArrowUp"||e.key==="ArrowDown"){let t=this.matSelect._getAriaActiveDescendant(),o=this._options.toArray().findIndex(r=>r.id===t);o!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[o]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",t))}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(e){this._formControl.valueChanges.pipe(je(t=>t!==this._lastExternalInputValue),Ht(()=>this._lastExternalInputValue=void 0),pe(this._onDestroy)).subscribe(e)}registerOnTouched(e){this.onTouched=e}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let e=this.matSelect.panel.nativeElement,t=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=t}_reset(e){this._formControl.setValue(""),e&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges&&this.matSelect.ngControl.valueChanges.pipe(pe(this._onDestroy)).subscribe(e=>{let t=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let o=this.matSelect.options.map(r=>r.value);this.previousSelectedValues.forEach(r=>{!e.some(a=>this.matSelect.compareWith(a,r))&&!o.some(a=>this.matSelect.compareWith(a,r))&&(this.recreateValuesArray?e=[...e,r]:e.push(r),t=!0)})}this.previousSelectedValues=e,t&&this.matSelect._onChange(e)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e=this.innerSelectSearch.nativeElement,t=null;for(;e&&e.parentElement;)if(e=e.parentElement,e.classList.contains("mat-select-panel")){t=e;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return n.\u0275fac=function(e){return new(e||n)(C(vt),C(Ee),C(Ii),C(nt,8),C(fe,8),C(vW,8))},n.\u0275cmp=E({type:n,selectors:[["ngx-mat-select-search"]],contentQueries:function(e,t,o){if(e&1&&(He(o,gW,5),He(o,bW,5)),e&2){let r;$(r=q())&&(t.clearIcon=r.first),$(r=q())&&(t.noEntriesFound=r.first)}},viewQuery:function(e,t){if(e&1&&(se(iW,7,Q),se(oW,7,Q)),e&2){let o;$(o=q())&&(t.searchSelectInput=o.first),$(o=q())&&(t.innerSelectSearch=o.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti",recreateValuesArray:"recreateValuesArray"},outputs:{toggleAll:"toggleAll"},standalone:!1,features:[ye([{provide:bi,useExisting:ln(()=>n),multi:!0}])],ngContentSelectors:aW,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(e,t){if(e&1){let o=k();We(rW),M(0,"input",4),c(1,"div",5,0)(3,"div",6),x(4,lW,1,5,"mat-checkbox",7),c(5,"input",8,1),b("keydown",function(a){return y(o),w(t._handleKeydown(a))})("keyup",function(a){return y(o),w(t._handleKeyup(a))})("blur",function(){return y(o),w(t.onBlur())}),d(),x(7,cW,1,0,"mat-spinner",9)(8,mW,4,2,"button",10),re(9),d(),M(10,"mat-divider"),d(),x(11,fW,4,2,"div",11),gt(12,"async")}e&2&&(u(),p("ngClass",al(11,sW,t.matSelect.multiple,t._isToggleAllCheckboxVisible())),u(3),p("ngIf",t._isToggleAllCheckboxVisible()),u(),p("type",t.type)("formControl",t._formControl)("placeholder",t.placeholderLabel),ee("aria-label",t.ariaLabel),u(2),p("ngIf",t.searching),u(),p("ngIf",!t.hideClearSearchButton&&t.value&&!t.searching),u(3),p("ngIf",Ct(12,9,t._showNoEntriesFound$)))},dependencies:[Ei,ue,lt,we,Oy,Zn,Yf,Wk,Xf,ar,eg,FM],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),n})();var Kk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=J({type:n}),n.\u0275inj=X({imports:[cl,Qh,or,Qf,Gk,Jf,Hl,tg]}),n})();function wW(n,i){if(n&1){let e=k();c(0,"mat-option")(1,"ngx-mat-select-search",1),b("ngModelChange",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()()}if(n&2){let e=_();u(),p("placeholderLabel",e.placeholderLabel)("noEntriesFoundLabel",e.noEntriesFoundLabel)}}var pn=(()=>{let i=class i{constructor(){this.placeholderLabel=django.gettext("Filter"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.changed=new T,this.notIfLessThan=7}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-cond-select-search"]],inputs:{placeholderLabel:"placeholderLabel",noEntriesFoundLabel:"noEntriesFoundLabel",options:"options",notIfLessThan:"notIfLessThan"},outputs:{changed:"changed"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["ngModel","",3,"ngModelChange","placeholderLabel","noEntriesFoundLabel"]],template:function(o,r){o&1&&x(0,wW,2,2,"mat-option",0),o&2&&p("ngIf",r.options&&r.options.length>r.notIfLessThan)},dependencies:[ue,we,xe,nt,Qk],encapsulation:2});let n=i;return n})();function CW(n,i){n&1&&(c(0,"uds-translate"),f(1,"New user permission for"),d())}function xW(n,i){n&1&&(c(0,"uds-translate"),f(1,"New group permission for"),d())}function DW(n,i){if(n&1&&(c(0,"mat-option",11),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),Ge(e.text)}}function SW(n,i){if(n&1&&(c(0,"mat-option",11),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),Ge(e.text)}}function EW(n,i){if(n&1&&(c(0,"mat-option",11),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),Ge(e.text)}}var Zk=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.data=a,this.filterUser="",this.authenticators=[],this.entities=[],this.permissions=[{id:"1",text:django.gettext("Read only")},{id:"2",text:django.gettext("Full Access")}],this.authenticator="",this.entity="",this.permission="1",this.done=new Xt}static launch(t,o,r){return H(this,null,function*(){let a=window.innerWidth<800?"80%":"50%";return t.gui.dialog.open(i,{width:a,data:{type:o,item:r},disableClose:!0}).componentInstance.done})}ngOnInit(){return H(this,null,function*(){let t=yield this.rest.authenticators.summary();for(let o of t)this.authenticators.push({id:o.id,text:o.name})})}changeAuth(t){return H(this,null,function*(){this.entities.length=0,this.entity="";let o=yield this.rest.authenticators.detail(t,this.data.type+"s").summary();for(let r of o)this.entities.push({id:r.id,text:r.name})})}save(){this.done.resolve({authenticator:this.authenticator,entity:this.entity,permissision:this.permission}),this.dialogRef.close()}cancel(){this.done.resolve(null),this.dialogRef.close()}filteredEntities(){let t=new Array;return this.entities.forEach(o=>{(!this.filterUser||o.text.toLocaleLowerCase().includes(this.filterUser.toLocaleLowerCase()))&&t.push(o)}),t}getFieldLabel(t){return t==="user"?django.gettext("User"):t==="group"?django.gettext("Group"):t==="auth"?django.gettext("Authenticator"):django.gettext("Permission")}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-new-permission"]],standalone:!1,decls:24,vars:13,consts:[["titleGroup",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[3,"innerHTML"],[1,"container"],[3,"valueChange","ngModelChange","placeholder","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","placeholder","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(o,r){if(o&1){let a=k();c(0,"h4",1),x(1,CW,2,0,"uds-translate",2),M(2,"b",3),x(3,xW,2,0,"ng-template",null,0,gn),d(),c(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-select",5),b("valueChange",function(l){return y(a),w(r.changeAuth(l))}),U("ngModelChange",function(l){return y(a),W(r.authenticator,l)||(r.authenticator=l),w(l)}),x(9,DW,2,2,"mat-option",6),d()(),c(10,"mat-form-field")(11,"mat-select",7),U("ngModelChange",function(l){return y(a),W(r.entity,l)||(r.entity=l),w(l)}),c(12,"uds-cond-select-search",8),b("changed",function(l){return y(a),w(r.filterUser=l)}),d(),x(13,SW,2,2,"mat-option",6),d()(),c(14,"mat-form-field")(15,"mat-select",7),U("ngModelChange",function(l){return y(a),W(r.permission,l)||(r.permission=l),w(l)}),x(16,EW,2,2,"mat-option",6),d()()()(),c(17,"mat-dialog-actions")(18,"button",9),b("click",function(){return y(a),w(r.cancel())}),c(19,"uds-translate"),f(20,"Cancel"),d()(),c(21,"button",10),b("click",function(){return y(a),w(r.save())}),c(22,"uds-translate"),f(23,"Ok"),d()()()}if(o&2){let a=be(4);u(),p("ngIf",r.data.type==="user")("ngIfElse",a),u(),p("innerHTML",r.data.item.name,qt),u(6),p("placeholder",r.getFieldLabel("auth")),z("ngModel",r.authenticator),u(),p("ngForOf",r.authenticators),u(2),p("placeholder",r.getFieldLabel(r.data.type)),z("ngModel",r.entity),u(),p("options",r.entities),u(),p("ngForOf",r.filteredEntities()),u(2),p("placeholder",r.getFieldLabel("perm")),z("ngModel",r.permission),u(),p("ngForOf",r.permissions)}},dependencies:[$e,ue,we,xe,Te,Xe,et,Je,fe,vt,nt,ae,pn],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var MW=(n,i)=>[n,i];function IW(n,i){if(n&1){let e=k();c(0,"div",11)(1,"div",12),f(2),d(),c(3,"div",13),f(4),c(5,"a",14),b("click",function(){let o=y(e).$implicit,r=_(2);return w(r.revokePermission(o))}),c(6,"i",15),f(7,"close"),d()()()()}if(n&2){let e=i.$implicit;u(2),Er(" ",e.entity_name,"@",e.auth_name," "),u(2),O(" ",e.perm_name," \xA0")}}function TW(n,i){if(n&1){let e=k();c(0,"div",7)(1,"div",8)(2,"div",9),b("click",function(o){let r=y(e).$implicit;return _().newPermission(r),w(o.preventDefault())}),c(3,"uds-translate"),f(4,"New permission..."),d()(),x(5,IW,8,3,"div",10),d()()}if(n&2){let e=i.$implicit;u(5),p("ngForOf",e)}}var Xk=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.dialogRef=o,this.data=r,this.userPermissions=[],this.groupPermissions=[]}static launch(t,o,r){let a=window.innerWidth<800?"90%":"60%",s=t.gui.dialog.open(i,{width:a,data:{rest:o,item:r},disableClose:!1})}ngOnInit(){return H(this,null,function*(){yield this.reload()})}reload(){return H(this,null,function*(){let t=yield this.data.rest.getPermissions(this.data.item.id);this.updatePermissions(t)})}updatePermissions(t){this.userPermissions.length=0,this.groupPermissions.length=0;for(let o of t)o.type==="user"?this.userPermissions.push(o):this.groupPermissions.push(o)}revokePermission(t){return H(this,null,function*(){if(yield this.api.gui.questionDialog(django.gettext("Remove"),django.gettext("Confirm revokation of permission")+" "+t.entity_name+"@"+t.auth_name+" "+t.perm_name+"")){let o=yield this.data.rest.revokePermission([t.id]);this.reload()}})}newPermission(t){return H(this,null,function*(){let o=t===this.userPermissions?"user":"group",r=yield Zk.launch(this.api,o,this.data.item);r&&(yield this.data.rest.addPermission(this.data.item.id,o+"s",r.entity,r.permissision),this.reload())})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-permissions-form"]],standalone:!1,decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"innerHTML"],[1,"titles"],[1,"title"],[1,"permissions"],["class","content",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","primary"],[1,"content"],[1,"perms"],[1,"perm","new",3,"click"],["class","perm",4,"ngFor","ngForOf"],[1,"perm"],[1,"owner"],[1,"permission"],[3,"click"],[1,"material-icons"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Permissions for"),d(),f(3,"\xA0"),M(4,"b",1),d(),c(5,"mat-dialog-content")(6,"div",2)(7,"uds-translate",3),f(8,"Users"),d(),c(9,"uds-translate",3),f(10,"Groups"),d()(),c(11,"div",4),x(12,TW,6,1,"div",5),d()(),c(13,"mat-dialog-actions")(14,"button",6)(15,"uds-translate"),f(16,"Ok"),d()()()),o&2&&(u(4),p("innerHTML",r.data.item.name,qt),u(8),p("ngForOf",al(2,MW,r.userPermissions,r.groupPermissions)))},dependencies:[$e,Te,Qt,Xe,et,Je,ae],styles:[".titles[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;margin-bottom:.4rem}.title[_ngcontent-%COMP%]{font-size:1.4rem}.permissions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.perms[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;margin-bottom:1rem;margin-right:1rem;padding:.5rem}.perm[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.perm[_ngcontent-%COMP%]:hover:not(.new){background-color:#333;color:#fff;cursor:default}.owner[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.new[_ngcontent-%COMP%]{color:#00f;justify-content:center}.new[_ngcontent-%COMP%]:hover{color:#fff;background-color:#00f;cursor:pointer}.content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var nA=au(ng()),kW="text/csv",Jk=",",eA=`\r diff --git a/server/src/uds/templates/uds/admin/index.html b/server/src/uds/templates/uds/admin/index.html index e3fda8cb1..e6bd7de79 100644 --- a/server/src/uds/templates/uds/admin/index.html +++ b/server/src/uds/templates/uds/admin/index.html @@ -102,6 +102,6 @@ - +