| Server IP : 3.147.158.171 / Your IP : 216.73.216.216 Web Server : Apache/2.4.67 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-2-178.us-east-2.compute.internal 6.1.172-216.329.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 20 06:31:34 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /tsai/cb-build/.git/objects/ed/ |
Upload File : |
x �� blob 1437398 import{$ as we,$a as er,$b as kn,$c as We,A as vd,Aa as Ah,Ab as hs,Ac as Y,B as xb,Ba as qr,Bb as Fh,Bc as Xt,C as St,Ca as uo,Cb as fs,Cc as kd,D as Re,Da as Ne,Db as Ub,Dc as _e,E as Sl,Ea as Oe,Eb as Ol,Ec as tn,F as Zi,Fa as Rh,Fb as Lh,Fc as at,G as Dh,Ga as J,Gb as vr,Gc as Md,H as Ur,Ha as Ji,Hb as Dd,Hc as xr,I as ya,Ia as Ib,Ib as te,Ic as zh,J as kh,Ja as mo,Jb as k,Jc as Da,K as fe,Ka as Ab,Kb as M,Kc as go,L as Mh,La as po,Lb as ei,Lc as Gb,M as Sh,Ma as ms,Mb as en,Mc as Qb,N as Wr,Na as Al,Nb as Ie,Nc as Fl,O as xa,Oa as Ph,Ob as Ae,Oc as Wt,P as Eh,Pa as Oh,Pb as g,Pc as Zt,Q as Cb,Qa as ho,Qb as d,Qc as Yr,R as Th,Ra as ps,Rb as c,Rc as hi,S as wb,Sa as Rb,Sb as x,Sc as Sd,T as Db,Ta as Pb,Tb as Xe,Tc as je,U as Ih,Ua as Ob,Ub as nt,Uc as Sn,V as ds,Va as Fb,Vb as Et,Vc as Yb,W as st,Wa as Lb,Wb as ze,Wc as ve,X as _t,Xa as Nb,Xb as Be,Xc as Xr,Y as ke,Ya as zb,Yb as Tt,Yc as Xb,Z as El,Za as Dn,Zb as ee,Zc as Zb,_ as Nt,_a as Rl,_b as xt,_c as U,a as W,aa as Tl,ab as Bb,ac as Gt,ad as Kb,b as ot,ba as Bt,bb as yd,bc as E,bd as Ed,ca as N,cb as l,cc as yr,cd as Jb,d as Te,da as ie,db as fo,dc as b,e as gd,ea as kb,eb as Vb,ec as Ce,f as OM,fa as F,fb as $b,fc as se,fd as _o,g as it,ga as le,gb as Pl,gc as ye,gd as bo,h as vb,ha as p,hb as $,hc as H,i as ui,ia as so,ib as ce,ic as R,id as Cr,j as wh,ja as Mb,jb as ut,jc as P,jd as wr,k as Dl,ka as Ai,kb as rt,kc as Wb,kd as vo,l as Q,la as Ki,lb as pi,lc as Mn,m as Mt,ma as T,mb as $e,mc as Gr,n as _d,na as I,nb as S,nc as Ue,o as Ii,oa as Ut,ob as wa,oc as ti,p as mi,pa as lo,pb as bt,pc as X,q as ae,qa as be,qb as xd,qc as et,r as oo,ra as he,rb as jb,rc as m,s as kl,sa as Il,sb as Cd,sc as v,t as yb,ta as Ca,tb as D,tc as A,u as me,ua as us,ub as ne,uc as Qr,v as _r,va as Sb,vb as O,vc as Nh,w as Xi,wa as co,wb as wd,wc as qb,x as Ml,xa as B,xb as G,xc as Ri,y as bd,ya as Eb,yb as Hb,yc as Pi,z as br,za as Tb,zb as de,zc as Oi}from"./chunk-ANEZYEOD.js";var Xo=Te((fee,$C)=>{"use strict";$C.exports=TypeError;});var jC=Te(()=>{"use strict";});var Zc=Te((bee,lw)=>{"use strict";var M0=typeof Map=="function"&&Map.prototype,_0=Object.getOwnPropertyDescriptor&&M0?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Bm=M0&&_0&&typeof _0.get=="function"?_0.get:null,HC=M0&&Map.prototype.forEach,S0=typeof Set=="function"&&Set.prototype,b0=Object.getOwnPropertyDescriptor&&S0?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Vm=S0&&b0&&typeof b0.get=="function"?b0.get:null,UC=S0&&Set.prototype.forEach,p3=typeof WeakMap=="function"&&WeakMap.prototype,Qc=p3?WeakMap.prototype.has:null,h3=typeof WeakSet=="function"&&WeakSet.prototype,Yc=h3?WeakSet.prototype.has:null,f3=typeof WeakRef=="function"&&WeakRef.prototype,WC=f3?WeakRef.prototype.deref:null,g3=Boolean.prototype.valueOf,_3=Object.prototype.toString,b3=Function.prototype.toString,v3=String.prototype.match,E0=String.prototype.slice,Ga=String.prototype.replace,y3=String.prototype.toUpperCase,qC=String.prototype.toLowerCase,tw=RegExp.prototype.test,GC=Array.prototype.concat,Or=Array.prototype.join,x3=Array.prototype.slice,QC=Math.floor,x0=typeof BigInt=="function"?BigInt.prototype.valueOf:null,v0=Object.getOwnPropertySymbols,C0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,al=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Xc=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===al||!0)?Symbol.toStringTag:null,iw=Object.prototype.propertyIsEnumerable,YC=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__;}:null);function XC(t,r){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||tw.call(/e/,r))return r;var e=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var i=t<0?-QC(-t):QC(t);if(i!==t){var n=String(i),a=E0.call(r,n.length+1);return Ga.call(n,e,"$&_")+"."+Ga.call(Ga.call(a,/([0-9]{3})/g,"$&_"),/_$/,"");}}return Ga.call(r,e,"$&_");}var w0=jC(),ZC=w0.custom,KC=aw(ZC)?ZC:null,nw={__proto__:null,double:'"',single:"'"},C3={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};lw.exports=function t(r,e,i,n){var a=e||{};if(la(a,"quoteStyle")&&!la(nw,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(la(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=la(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(la(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(la(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof r>"u")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return sw(r,a);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var u=String(r);return s?XC(r,u):u;}if(typeof r=="bigint"){var h=String(r)+"n";return s?XC(r,h):h;}var f=typeof a.depth>"u"?5:a.depth;if(typeof i>"u"&&(i=0),i>=f&&f>0&&typeof r=="object")return D0(r)?"[Array]":"[Object]";var _=V3(a,i);if(typeof n>"u")n=[];else if(ow(n,r)>=0)return"[Circular]";function y(wn,Jn,wi){if(Jn&&(n=x3.call(n),n.push(Jn)),wi){var ao={depth:a.depth};return la(a,"quoteStyle")&&(ao.quoteStyle=a.quoteStyle),t(wn,ao,i+1,n);}return t(wn,a,i+1,n);}if(typeof r=="function"&&!JC(r)){var w=A3(r),C=zm(r,y);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(C.length>0?" { "+Or.call(C,", ")+" }":"");}if(aw(r)){var z=al?Ga.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):C0.call(r);return typeof r=="object"&&!al?Gc(z):z;}if(N3(r)){for(var L="<"+qC.call(String(r.nodeName)),Z=r.attributes||[],V=0;V<Z.length;V++)L+=" "+Z[V].name+"="+rw(w3(Z[V].value),"double",a);return L+=">",r.childNodes&&r.childNodes.length&&(L+="..."),L+="</"+qC.call(String(r.nodeName))+">",L;}if(D0(r)){if(r.length===0)return"[]";var j=zm(r,y);return _&&!B3(j)?"["+k0(j,_)+"]":"[ "+Or.call(j,", ")+" ]";}if(k3(r)){var K=zm(r,y);return!("cause"in Error.prototype)&&"cause"in r&&!iw.call(r,"cause")?"{ ["+String(r)+"] "+Or.call(GC.call("[cause]: "+y(r.cause),K),", ")+" }":K.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+Or.call(K,", ")+" }";}if(typeof r=="object"&&o){if(KC&&typeof r[KC]=="function"&&w0)return w0(r,{depth:f-i});if(o!=="symbol"&&typeof r.inspect=="function")return r.inspect();}if(R3(r)){var pe=[];return HC&&HC.call(r,function(wn,Jn){pe.push(y(Jn,r,!0)+" => "+y(wn,r));}),ew("Map",Bm.call(r),pe,_);}if(F3(r)){var Ee=[];return UC&&UC.call(r,function(wn){Ee.push(y(wn,r));}),ew("Set",Vm.call(r),Ee,_);}if(P3(r))return y0("WeakMap");if(L3(r))return y0("WeakSet");if(O3(r))return y0("WeakRef");if(S3(r))return Gc(y(Number(r)));if(T3(r))return Gc(y(x0.call(r)));if(E3(r))return Gc(g3.call(r));if(M3(r))return Gc(y(String(r)));if(typeof window<"u"&&r===window)return"{ [object Window] }";if(typeof globalThis<"u"&&r===globalThis||typeof global<"u"&&r===global)return"{ [object globalThis] }";if(!D3(r)&&!JC(r)){var yt=zm(r,y),xi=YC?YC(r)===Object.prototype:r instanceof Object||r.constructor===Object,Ci=r instanceof Object?"":"null prototype",Yi=!xi&&Xc&&Object(r)===r&&Xc in r?E0.call(Qa(r),8,-1):Ci?"Object":"",ba=xi||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",va=ba+(Yi||Ci?"["+Or.call(GC.call([],Yi||[],Ci||[]),": ")+"] ":"");return yt.length===0?va+"{}":_?va+"{"+k0(yt,_)+"}":va+"{ "+Or.call(yt,", ")+" }";}return String(r);};function rw(t,r,e){var i=e.quoteStyle||r,n=nw[i];return n+t+n;}function w3(t){return Ga.call(String(t),/"/g,""");}function Zo(t){return!Xc||!(typeof t=="object"&&(Xc in t||typeof t[Xc]<"u"));}function D0(t){return Qa(t)==="[object Array]"&&Zo(t);}function D3(t){return Qa(t)==="[object Date]"&&Zo(t);}function JC(t){return Qa(t)==="[object RegExp]"&&Zo(t);}function k3(t){return Qa(t)==="[object Error]"&&Zo(t);}function M3(t){return Qa(t)==="[object String]"&&Zo(t);}function S3(t){return Qa(t)==="[object Number]"&&Zo(t);}function E3(t){return Qa(t)==="[object Boolean]"&&Zo(t);}function aw(t){if(al)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!C0)return!1;try{return C0.call(t),!0;}catch{}return!1;}function T3(t){if(!t||typeof t!="object"||!x0)return!1;try{return x0.call(t),!0;}catch{}return!1;}var I3=Object.prototype.hasOwnProperty||function(t){return t in this;};function la(t,r){return I3.call(t,r);}function Qa(t){return _3.call(t);}function A3(t){if(t.name)return t.name;var r=v3.call(b3.call(t),/^function\s*([\w$]+)/);return r?r[1]:null;}function ow(t,r){if(t.indexOf)return t.indexOf(r);for(var e=0,i=t.length;e<i;e++)if(t[e]===r)return e;return-1;}function R3(t){if(!Bm||!t||typeof t!="object")return!1;try{Bm.call(t);try{Vm.call(t);}catch{return!0;}return t instanceof Map;}catch{}return!1;}function P3(t){if(!Qc||!t||typeof t!="object")return!1;try{Qc.call(t,Qc);try{Yc.call(t,Yc);}catch{return!0;}return t instanceof WeakMap;}catch{}return!1;}function O3(t){if(!WC||!t||typeof t!="object")return!1;try{return WC.call(t),!0;}catch{}return!1;}function F3(t){if(!Vm||!t||typeof t!="object")return!1;try{Vm.call(t);try{Bm.call(t);}catch{return!0;}return t instanceof Set;}catch{}return!1;}function L3(t){if(!Yc||!t||typeof t!="object")return!1;try{Yc.call(t,Yc);try{Qc.call(t,Qc);}catch{return!0;}return t instanceof WeakSet;}catch{}return!1;}function N3(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function";}function sw(t,r){if(t.length>r.maxStringLength){var e=t.length-r.maxStringLength,i="... "+e+" more character"+(e>1?"s":"");return sw(E0.call(t,0,r.maxStringLength),r)+i;}var n=C3[r.quoteStyle||"single"];n.lastIndex=0;var a=Ga.call(Ga.call(t,n,"\\$1"),/[\x00-\x1f]/g,z3);return rw(a,"single",r);}function z3(t){var r=t.charCodeAt(0),e={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return e?"\\"+e:"\\x"+(r<16?"0":"")+y3.call(r.toString(16));}function Gc(t){return"Object("+t+")";}function y0(t){return t+" { ? }";}function ew(t,r,e,i){var n=i?k0(e,i):Or.call(e,", ");return t+" ("+r+") {"+n+"}";}function B3(t){for(var r=0;r<t.length;r++)if(ow(t[r],`
`)>=0)return!1;return!0;}function V3(t,r){var e;if(t.indent===" ")e=" ";else if(typeof t.indent=="number"&&t.indent>0)e=Or.call(Array(t.indent+1)," ");else return null;return{base:e,prev:Or.call(Array(r+1),e)};}function k0(t,r){if(t.length===0)return"";var e=`
`+r.prev+r.base;return e+Or.call(t,","+e)+`
`+r.prev;}function zm(t,r){var e=D0(t),i=[];if(e){i.length=t.length;for(var n=0;n<t.length;n++)i[n]=la(t,n)?r(t[n],t):"";}var a=typeof v0=="function"?v0(t):[],o;if(al){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s];}for(var u in t)la(t,u)&&(e&&String(Number(u))===u&&u<t.length||al&&o["$"+u]instanceof Symbol||(tw.call(/[^\w$]/,u)?i.push(r(u,t)+": "+r(t[u],t)):i.push(u+": "+r(t[u],t))));if(typeof v0=="function")for(var h=0;h<a.length;h++)iw.call(t,a[h])&&i.push("["+r(a[h])+"]: "+r(t[a[h]],t));return i;}});var dw=Te((vee,cw)=>{"use strict";var $3=Zc(),j3=Xo(),$m=function(t,r,e){for(var i=t,n;(n=i.next)!=null;i=n)if(n.key===r)return i.next=n.next,e||(n.next=t.next,t.next=n),n;},H3=function(t,r){if(t){var e=$m(t,r);return e&&e.value;}},U3=function(t,r,e){var i=$m(t,r);i?i.value=e:t.next={key:r,next:t.next,value:e};},W3=function(t,r){return t?!!$m(t,r):!1;},q3=function(t,r){if(t)return $m(t,r,!0);};cw.exports=function(){var r,e={assert:function(i){if(!e.has(i))throw new j3("Side channel does not contain "+$3(i));},delete:function(i){var n=r&&r.next,a=q3(r,i);return a&&n&&n===a&&(r=void 0),!!a;},get:function(i){return H3(r,i);},has:function(i){return W3(r,i);},set:function(i,n){r||(r={next:void 0}),U3(r,i,n);}};return e;};});var T0=Te((yee,uw)=>{"use strict";uw.exports=Object;});var pw=Te((xee,mw)=>{"use strict";mw.exports=Error;});var fw=Te((Cee,hw)=>{"use strict";hw.exports=EvalError;});var _w=Te((wee,gw)=>{"use strict";gw.exports=RangeError;});var vw=Te((Dee,bw)=>{"use strict";bw.exports=ReferenceError;});var xw=Te((kee,yw)=>{"use strict";yw.exports=SyntaxError;});var ww=Te((Mee,Cw)=>{"use strict";Cw.exports=URIError;});var kw=Te((See,Dw)=>{"use strict";Dw.exports=Math.abs;});var Sw=Te((Eee,Mw)=>{"use strict";Mw.exports=Math.floor;});var Tw=Te((Tee,Ew)=>{"use strict";Ew.exports=Math.max;});var Aw=Te((Iee,Iw)=>{"use strict";Iw.exports=Math.min;});var Pw=Te((Aee,Rw)=>{"use strict";Rw.exports=Math.pow;});var Fw=Te((Ree,Ow)=>{"use strict";Ow.exports=Math.round;});var Nw=Te((Pee,Lw)=>{"use strict";Lw.exports=Number.isNaN||function(r){return r!==r;};});var Bw=Te((Oee,zw)=>{"use strict";var G3=Nw();zw.exports=function(r){return G3(r)||r===0?r:r<0?-1:1;};});var $w=Te((Fee,Vw)=>{"use strict";Vw.exports=Object.getOwnPropertyDescriptor;});var I0=Te((Lee,jw)=>{"use strict";var jm=$w();if(jm)try{jm([],"length");}catch{jm=null;}jw.exports=jm;});var Uw=Te((Nee,Hw)=>{"use strict";var Hm=Object.defineProperty||!1;if(Hm)try{Hm({},"a",{value:1});}catch{Hm=!1;}Hw.exports=Hm;});var qw=Te((zee,Ww)=>{"use strict";Ww.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},e=Symbol("test"),i=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var n=42;r[e]=n;for(var a in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var o=Object.getOwnPropertySymbols(r);if(o.length!==1||o[0]!==e||!Object.prototype.propertyIsEnumerable.call(r,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,e);if(s.value!==n||s.enumerable!==!0)return!1;}return!0;};});var Yw=Te((Bee,Qw)=>{"use strict";var Gw=typeof Symbol<"u"&&Symbol,Q3=qw();Qw.exports=function(){return typeof Gw!="function"||typeof Symbol!="function"||typeof Gw("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Q3();};});var A0=Te((Vee,Xw)=>{"use strict";Xw.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null;});var R0=Te(($ee,Zw)=>{"use strict";var Y3=T0();Zw.exports=Y3.getPrototypeOf||null;});var eD=Te((jee,Jw)=>{"use strict";var X3="Function.prototype.bind called on incompatible ",Z3=Object.prototype.toString,K3=Math.max,J3="[object Function]",Kw=function(r,e){for(var i=[],n=0;n<r.length;n+=1)i[n]=r[n];for(var a=0;a<e.length;a+=1)i[a+r.length]=e[a];return i;},eP=function(r,e){for(var i=[],n=e||0,a=0;n<r.length;n+=1,a+=1)i[a]=r[n];return i;},tP=function(t,r){for(var e="",i=0;i<t.length;i+=1)e+=t[i],i+1<t.length&&(e+=r);return e;};Jw.exports=function(r){var e=this;if(typeof e!="function"||Z3.apply(e)!==J3)throw new TypeError(X3+e);for(var i=eP(arguments,1),n,a=function(){if(this instanceof n){var f=e.apply(this,Kw(i,arguments));return Object(f)===f?f:this;}return e.apply(r,Kw(i,arguments));},o=K3(0,e.length-i.length),s=[],u=0;u<o;u++)s[u]="$"+u;if(n=Function("binder","return function ("+tP(s,",")+"){ return binder.apply(this,arguments); }")(a),e.prototype){var h=function(){};h.prototype=e.prototype,n.prototype=new h(),h.prototype=null;}return n;};});var Kc=Te((Hee,tD)=>{"use strict";var iP=eD();tD.exports=Function.prototype.bind||iP;});var Um=Te((Uee,iD)=>{"use strict";iD.exports=Function.prototype.call;});var P0=Te((Wee,nD)=>{"use strict";nD.exports=Function.prototype.apply;});var aD=Te((qee,rD)=>{"use strict";rD.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply;});var sD=Te((Gee,oD)=>{"use strict";var nP=Kc(),rP=P0(),aP=Um(),oP=aD();oD.exports=oP||nP.call(aP,rP);});var O0=Te((Qee,lD)=>{"use strict";var sP=Kc(),lP=Xo(),cP=Um(),dP=sD();lD.exports=function(r){if(r.length<1||typeof r[0]!="function")throw new lP("a function is required");return dP(sP,cP,r);};});var hD=Te((Yee,pD)=>{"use strict";var uP=O0(),cD=I0(),uD;try{uD=[].__proto__===Array.prototype;}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t;}var F0=!!uD&&cD&&cD(Object.prototype,"__proto__"),mD=Object,dD=mD.getPrototypeOf;pD.exports=F0&&typeof F0.get=="function"?uP([F0.get]):typeof dD=="function"?function(r){return dD(r==null?r:mD(r));}:!1;});var vD=Te((Xee,bD)=>{"use strict";var fD=A0(),gD=R0(),_D=hD();bD.exports=fD?function(r){return fD(r);}:gD?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return gD(r);}:_D?function(r){return _D(r);}:null;});var xD=Te((Zee,yD)=>{"use strict";var mP=Function.prototype.call,pP=Object.prototype.hasOwnProperty,hP=Kc();yD.exports=hP.call(mP,pP);});var Gm=Te((Kee,SD)=>{"use strict";var Ke,fP=T0(),gP=pw(),_P=fw(),bP=_w(),vP=vw(),cl=xw(),ll=Xo(),yP=ww(),xP=kw(),CP=Sw(),wP=Tw(),DP=Aw(),kP=Pw(),MP=Fw(),SP=Bw(),kD=Function,L0=function(t){try{return kD('"use strict"; return ('+t+").constructor;")();}catch{}},Jc=I0(),EP=Uw(),N0=function(){throw new ll();},TP=Jc?function(){try{return arguments.callee,N0;}catch{try{return Jc(arguments,"callee").get;}catch{return N0;}}}():N0,ol=Yw()(),ci=vD(),IP=R0(),AP=A0(),MD=P0(),ed=Um(),sl={},RP=typeof Uint8Array>"u"||!ci?Ke:ci(Uint8Array),Ko={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Ke:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Ke:ArrayBuffer,"%ArrayIteratorPrototype%":ol&&ci?ci([][Symbol.iterator]()):Ke,"%AsyncFromSyncIteratorPrototype%":Ke,"%AsyncFunction%":sl,"%AsyncGenerator%":sl,"%AsyncGeneratorFunction%":sl,"%AsyncIteratorPrototype%":sl,"%Atomics%":typeof Atomics>"u"?Ke:Atomics,"%BigInt%":typeof BigInt>"u"?Ke:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Ke:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Ke:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Ke:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":gP,"%eval%":eval,"%EvalError%":_P,"%Float16Array%":typeof Float16Array>"u"?Ke:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Ke:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Ke:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Ke:FinalizationRegistry,"%Function%":kD,"%GeneratorFunction%":sl,"%Int8Array%":typeof Int8Array>"u"?Ke:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Ke:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Ke:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ol&&ci?ci(ci([][Symbol.iterator]())):Ke,"%JSON%":typeof JSON=="object"?JSON:Ke,"%Map%":typeof Map>"u"?Ke:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ol||!ci?Ke:ci(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":fP,"%Object.getOwnPropertyDescriptor%":Jc,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Ke:Promise,"%Proxy%":typeof Proxy>"u"?Ke:Proxy,"%RangeError%":bP,"%ReferenceError%":vP,"%Reflect%":typeof Reflect>"u"?Ke:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Ke:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ol||!ci?Ke:ci(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Ke:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ol&&ci?ci(""[Symbol.iterator]()):Ke,"%Symbol%":ol?Symbol:Ke,"%SyntaxError%":cl,"%ThrowTypeError%":TP,"%TypedArray%":RP,"%TypeError%":ll,"%Uint8Array%":typeof Uint8Array>"u"?Ke:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Ke:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Ke:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Ke:Uint32Array,"%URIError%":yP,"%WeakMap%":typeof WeakMap>"u"?Ke:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Ke:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Ke:WeakSet,"%Function.prototype.call%":ed,"%Function.prototype.apply%":MD,"%Object.defineProperty%":EP,"%Object.getPrototypeOf%":IP,"%Math.abs%":xP,"%Math.floor%":CP,"%Math.max%":wP,"%Math.min%":DP,"%Math.pow%":kP,"%Math.round%":MP,"%Math.sign%":SP,"%Reflect.getPrototypeOf%":AP};if(ci)try{null.error;}catch(t){CD=ci(ci(t)),Ko["%Error.prototype%"]=CD;}var CD,PP=function t(r){var e;if(r==="%AsyncFunction%")e=L0("async function () {}");else if(r==="%GeneratorFunction%")e=L0("function* () {}");else if(r==="%AsyncGeneratorFunction%")e=L0("async function* () {}");else if(r==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(e=i.prototype);}else if(r==="%AsyncIteratorPrototype%"){var n=t("%AsyncGenerator%");n&&ci&&(e=ci(n.prototype));}return Ko[r]=e,e;},wD={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},td=Kc(),Wm=xD(),OP=td.call(ed,Array.prototype.concat),FP=td.call(MD,Array.prototype.splice),DD=td.call(ed,String.prototype.replace),qm=td.call(ed,String.prototype.slice),LP=td.call(ed,RegExp.prototype.exec),NP=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,zP=/\\(\\)?/g,BP=function(r){var e=qm(r,0,1),i=qm(r,-1);if(e==="%"&&i!=="%")throw new cl("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&e!=="%")throw new cl("invalid intrinsic syntax, expected opening `%`");var n=[];return DD(r,NP,function(a,o,s,u){n[n.length]=s?DD(u,zP,"$1"):o||a;}),n;},VP=function(r,e){var i=r,n;if(Wm(wD,i)&&(n=wD[i],i="%"+n[0]+"%"),Wm(Ko,i)){var a=Ko[i];if(a===sl&&(a=PP(i)),typeof a>"u"&&!e)throw new ll("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:a};}throw new cl("intrinsic "+r+" does not exist!");};SD.exports=function(r,e){if(typeof r!="string"||r.length===0)throw new ll("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new ll('"allowMissing" argument must be a boolean');if(LP(/^%?[^%]*%?$/,r)===null)throw new cl("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=BP(r),n=i.length>0?i[0]:"",a=VP("%"+n+"%",e),o=a.name,s=a.value,u=!1,h=a.alias;h&&(n=h[0],FP(i,OP([0,1],h)));for(var f=1,_=!0;f<i.length;f+=1){var y=i[f],w=qm(y,0,1),C=qm(y,-1);if((w==='"'||w==="'"||w==="`"||C==='"'||C==="'"||C==="`")&&w!==C)throw new cl("property names with quotes must have matching quotes");if((y==="constructor"||!_)&&(u=!0),n+="."+y,o="%"+n+"%",Wm(Ko,o))s=Ko[o];else if(s!=null){if(!(y in s)){if(!e)throw new ll("base intrinsic for "+r+" exists, but the property is not available.");return;}if(Jc&&f+1>=i.length){var z=Jc(s,y);_=!!z,_&&"get"in z&&!("originalValue"in z.get)?s=z.get:s=s[y];}else _=Wm(s,y),s=s[y];_&&!u&&(Ko[o]=s);}}return s;};});var z0=Te((Jee,ID)=>{"use strict";var ED=Gm(),TD=O0(),$P=TD([ED("%String.prototype.indexOf%")]);ID.exports=function(r,e){var i=ED(r,!!e);return typeof i=="function"&&$P(r,".prototype.")>-1?TD([i]):i;};});var B0=Te((ete,RD)=>{"use strict";var jP=Gm(),id=z0(),HP=Zc(),UP=Xo(),AD=jP("%Map%",!0),WP=id("Map.prototype.get",!0),qP=id("Map.prototype.set",!0),GP=id("Map.prototype.has",!0),QP=id("Map.prototype.delete",!0),YP=id("Map.prototype.size",!0);RD.exports=!!AD&&function(){var r,e={assert:function(i){if(!e.has(i))throw new UP("Side channel does not contain "+HP(i));},delete:function(i){if(r){var n=QP(r,i);return YP(r)===0&&(r=void 0),n;}return!1;},get:function(i){if(r)return WP(r,i);},has:function(i){return r?GP(r,i):!1;},set:function(i,n){r||(r=new AD()),qP(r,i,n);}};return e;};});var OD=Te((tte,PD)=>{"use strict";var XP=Gm(),Ym=z0(),ZP=Zc(),Qm=B0(),KP=Xo(),dl=XP("%WeakMap%",!0),JP=Ym("WeakMap.prototype.get",!0),eO=Ym("WeakMap.prototype.set",!0),tO=Ym("WeakMap.prototype.has",!0),iO=Ym("WeakMap.prototype.delete",!0);PD.exports=dl?function(){var r,e,i={assert:function(n){if(!i.has(n))throw new KP("Side channel does not contain "+ZP(n));},delete:function(n){if(dl&&n&&(typeof n=="object"||typeof n=="function")){if(r)return iO(r,n);}else if(Qm&&e)return e.delete(n);return!1;},get:function(n){return dl&&n&&(typeof n=="object"||typeof n=="function")&&r?JP(r,n):e&&e.get(n);},has:function(n){return dl&&n&&(typeof n=="object"||typeof n=="function")&&r?tO(r,n):!!e&&e.has(n);},set:function(n,a){dl&&n&&(typeof n=="object"||typeof n=="function")?(r||(r=new dl()),eO(r,n,a)):Qm&&(e||(e=Qm()),e.set(n,a));}};return i;}:Qm;});var LD=Te((ite,FD)=>{"use strict";var nO=Xo(),rO=Zc(),aO=dw(),oO=B0(),sO=OD(),lO=sO||oO||aO;FD.exports=function(){var r,e={assert:function(i){if(!e.has(i))throw new nO("Side channel does not contain "+rO(i));},delete:function(i){return!!r&&r.delete(i);},get:function(i){return r&&r.get(i);},has:function(i){return!!r&&r.has(i);},set:function(i,n){r||(r=lO()),r.set(i,n);}};return e;};});var Xm=Te((nte,ND)=>{"use strict";var cO=String.prototype.replace,dO=/%20/g,V0={RFC1738:"RFC1738",RFC3986:"RFC3986"};ND.exports={default:V0.RFC3986,formatters:{RFC1738:function(t){return cO.call(t,dO,"+");},RFC3986:function(t){return String(t);}},RFC1738:V0.RFC1738,RFC3986:V0.RFC3986};});var H0=Te((rte,BD)=>{"use strict";var uO=Xm(),$0=Object.prototype.hasOwnProperty,Jo=Array.isArray,Fr=function(){for(var t=[],r=0;r<256;++r)t.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return t;}(),mO=function(r){for(;r.length>1;){var e=r.pop(),i=e.obj[e.prop];if(Jo(i)){for(var n=[],a=0;a<i.length;++a)typeof i[a]<"u"&&n.push(i[a]);e.obj[e.prop]=n;}}},zD=function(r,e){for(var i=e&&e.plainObjects?{__proto__:null}:{},n=0;n<r.length;++n)typeof r[n]<"u"&&(i[n]=r[n]);return i;},pO=function t(r,e,i){if(!e)return r;if(typeof e!="object"&&typeof e!="function"){if(Jo(r))r.push(e);else if(r&&typeof r=="object")(i&&(i.plainObjects||i.allowPrototypes)||!$0.call(Object.prototype,e))&&(r[e]=!0);else return[r,e];return r;}if(!r||typeof r!="object")return[r].concat(e);var n=r;return Jo(r)&&!Jo(e)&&(n=zD(r,i)),Jo(r)&&Jo(e)?(e.forEach(function(a,o){if($0.call(r,o)){var s=r[o];s&&typeof s=="object"&&a&&typeof a=="object"?r[o]=t(s,a,i):r.push(a);}else r[o]=a;}),r):Object.keys(e).reduce(function(a,o){var s=e[o];return $0.call(a,o)?a[o]=t(a[o],s,i):a[o]=s,a;},n);},hO=function(r,e){return Object.keys(e).reduce(function(i,n){return i[n]=e[n],i;},r);},fO=function(t,r,e){var i=t.replace(/\+/g," ");if(e==="iso-8859-1")return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i);}catch{return i;}},j0=1024,gO=function(r,e,i,n,a){if(r.length===0)return r;var o=r;if(typeof r=="symbol"?o=Symbol.prototype.toString.call(r):typeof r!="string"&&(o=String(r)),i==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(w){return"%26%23"+parseInt(w.slice(2),16)+"%3B";});for(var s="",u=0;u<o.length;u+=j0){for(var h=o.length>=j0?o.slice(u,u+j0):o,f=[],_=0;_<h.length;++_){var y=h.charCodeAt(_);if(y===45||y===46||y===95||y===126||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||a===uO.RFC1738&&(y===40||y===41)){f[f.length]=h.charAt(_);continue;}if(y<128){f[f.length]=Fr[y];continue;}if(y<2048){f[f.length]=Fr[192|y>>6]+Fr[128|y&63];continue;}if(y<55296||y>=57344){f[f.length]=Fr[224|y>>12]+Fr[128|y>>6&63]+Fr[128|y&63];continue;}_+=1,y=65536+((y&1023)<<10|h.charCodeAt(_)&1023),f[f.length]=Fr[240|y>>18]+Fr[128|y>>12&63]+Fr[128|y>>6&63]+Fr[128|y&63];}s+=f.join("");}return s;},_O=function(r){for(var e=[{obj:{o:r},prop:"o"}],i=[],n=0;n<e.length;++n)for(var a=e[n],o=a.obj[a.prop],s=Object.keys(o),u=0;u<s.length;++u){var h=s[u],f=o[h];typeof f=="object"&&f!==null&&i.indexOf(f)===-1&&(e.push({obj:o,prop:h}),i.push(f));}return mO(e),r;},bO=function(r){return Object.prototype.toString.call(r)==="[object RegExp]";},vO=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r));},yO=function(r,e){return[].concat(r,e);},xO=function(r,e){if(Jo(r)){for(var i=[],n=0;n<r.length;n+=1)i.push(e(r[n]));return i;}return e(r);};BD.exports={arrayToObject:zD,assign:hO,combine:yO,compact:_O,decode:fO,encode:gO,isBuffer:vO,isRegExp:bO,maybeMap:xO,merge:pO};});var WD=Te((ate,UD)=>{"use strict";var $D=LD(),Zm=H0(),nd=Xm(),CO=Object.prototype.hasOwnProperty,jD={brackets:function(r){return r+"[]";},comma:"comma",indices:function(r,e){return r+"["+e+"]";},repeat:function(r){return r;}},Lr=Array.isArray,wO=Array.prototype.push,HD=function(t,r){wO.apply(t,Lr(r)?r:[r]);},DO=Date.prototype.toISOString,VD=nd.default,Jt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Zm.encode,encodeValuesOnly:!1,filter:void 0,format:VD,formatter:nd.formatters[VD],indices:!1,serializeDate:function(r){return DO.call(r);},skipNulls:!1,strictNullHandling:!1},kO=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint";},U0={},MO=function t(r,e,i,n,a,o,s,u,h,f,_,y,w,C,z,L,Z,V){for(var j=r,K=V,pe=0,Ee=!1;(K=K.get(U0))!==void 0&&!Ee;){var yt=K.get(r);if(pe+=1,typeof yt<"u"){if(yt===pe)throw new RangeError("Cyclic object value");Ee=!0;}typeof K.get(U0)>"u"&&(pe=0);}if(typeof f=="function"?j=f(e,j):j instanceof Date?j=w(j):i==="comma"&&Lr(j)&&(j=Zm.maybeMap(j,function(Ch){return Ch instanceof Date?w(Ch):Ch;})),j===null){if(o)return h&&!L?h(e,Jt.encoder,Z,"key",C):e;j="";}if(kO(j)||Zm.isBuffer(j)){if(h){var xi=L?e:h(e,Jt.encoder,Z,"key",C);return[z(xi)+"="+z(h(j,Jt.encoder,Z,"value",C))];}return[z(e)+"="+z(String(j))];}var Ci=[];if(typeof j>"u")return Ci;var Yi;if(i==="comma"&&Lr(j))L&&h&&(j=Zm.maybeMap(j,h)),Yi=[{value:j.length>0?j.join(",")||null:void 0}];else if(Lr(f))Yi=f;else{var ba=Object.keys(j);Yi=_?ba.sort(_):ba;}var va=u?String(e).replace(/\./g,"%2E"):String(e),wn=n&&Lr(j)&&j.length===1?va+"[]":va;if(a&&Lr(j)&&j.length===0)return wn+"[]";for(var Jn=0;Jn<Yi.length;++Jn){var wi=Yi[Jn],ao=typeof wi=="object"&&wi&&typeof wi.value<"u"?wi.value:j[wi];if(!(s&&ao===null)){var xh=y&&u?String(wi).replace(/\./g,"%2E"):String(wi),PM=Lr(j)?typeof i=="function"?i(wn,xh):wn:wn+(y?"."+xh:"["+xh+"]");V.set(r,pe);var bb=$D();bb.set(U0,V),HD(Ci,t(ao,PM,i,n,a,o,s,u,i==="comma"&&L&&Lr(j)?null:h,f,_,y,w,C,z,L,Z,bb));}}return Ci;},SO=function(r){if(!r)return Jt;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.encodeDotInKeys<"u"&&typeof r.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(r.encoder!==null&&typeof r.encoder<"u"&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var e=r.charset||Jt.charset;if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var i=nd.default;if(typeof r.format<"u"){if(!CO.call(nd.formatters,r.format))throw new TypeError("Unknown format option provided.");i=r.format;}var n=nd.formatters[i],a=Jt.filter;(typeof r.filter=="function"||Lr(r.filter))&&(a=r.filter);var o;if(r.arrayFormat in jD?o=r.arrayFormat:"indices"in r?o=r.indices?"indices":"repeat":o=Jt.arrayFormat,"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var s=typeof r.allowDots>"u"?r.encodeDotInKeys===!0?!0:Jt.allowDots:!!r.allowDots;return{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:Jt.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:Jt.allowEmptyArrays,arrayFormat:o,charset:e,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Jt.charsetSentinel,commaRoundTrip:!!r.commaRoundTrip,delimiter:typeof r.delimiter>"u"?Jt.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:Jt.encode,encodeDotInKeys:typeof r.encodeDotInKeys=="boolean"?r.encodeDotInKeys:Jt.encodeDotInKeys,encoder:typeof r.encoder=="function"?r.encoder:Jt.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:Jt.encodeValuesOnly,filter:a,format:i,formatter:n,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:Jt.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:Jt.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Jt.strictNullHandling};};UD.exports=function(t,r){var e=t,i=SO(r),n,a;typeof i.filter=="function"?(a=i.filter,e=a("",e)):Lr(i.filter)&&(a=i.filter,n=a);var o=[];if(typeof e!="object"||e===null)return"";var s=jD[i.arrayFormat],u=s==="comma"&&i.commaRoundTrip;n||(n=Object.keys(e)),i.sort&&n.sort(i.sort);for(var h=$D(),f=0;f<n.length;++f){var _=n[f],y=e[_];i.skipNulls&&y===null||HD(o,MO(y,_,s,u,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,h));}var w=o.join(i.delimiter),C=i.addQueryPrefix===!0?"?":"";return i.charsetSentinel&&(i.charset==="iso-8859-1"?C+="utf8=%26%2310003%3B&":C+="utf8=%E2%9C%93&"),w.length>0?C+w:"";};});var YD=Te((ote,QD)=>{"use strict";var es=H0(),W0=Object.prototype.hasOwnProperty,qD=Array.isArray,jt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:es.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},EO=function(t){return t.replace(/&#(\d+);/g,function(r,e){return String.fromCharCode(parseInt(e,10));});},GD=function(t,r,e){if(t&&typeof t=="string"&&r.comma&&t.indexOf(",")>-1)return t.split(",");if(r.throwOnLimitExceeded&&e>=r.arrayLimit)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");return t;},TO="utf8=%26%2310003%3B",IO="utf8=%E2%9C%93",AO=function(r,e){var i={__proto__:null},n=e.ignoreQueryPrefix?r.replace(/^\?/,""):r;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=e.parameterLimit===1/0?void 0:e.parameterLimit,o=n.split(e.delimiter,e.throwOnLimitExceeded?a+1:a);if(e.throwOnLimitExceeded&&o.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var s=-1,u,h=e.charset;if(e.charsetSentinel)for(u=0;u<o.length;++u)o[u].indexOf("utf8=")===0&&(o[u]===IO?h="utf-8":o[u]===TO&&(h="iso-8859-1"),s=u,u=o.length);for(u=0;u<o.length;++u)if(u!==s){var f=o[u],_=f.indexOf("]="),y=_===-1?f.indexOf("="):_+1,w,C;y===-1?(w=e.decoder(f,jt.decoder,h,"key"),C=e.strictNullHandling?null:""):(w=e.decoder(f.slice(0,y),jt.decoder,h,"key"),C=es.maybeMap(GD(f.slice(y+1),e,qD(i[w])?i[w].length:0),function(L){return e.decoder(L,jt.decoder,h,"value");})),C&&e.interpretNumericEntities&&h==="iso-8859-1"&&(C=EO(String(C))),f.indexOf("[]=")>-1&&(C=qD(C)?[C]:C);var z=W0.call(i,w);z&&e.duplicates==="combine"?i[w]=es.combine(i[w],C):(!z||e.duplicates==="last")&&(i[w]=C);}return i;},RO=function(t,r,e,i){var n=0;if(t.length>0&&t[t.length-1]==="[]"){var a=t.slice(0,-1).join("");n=Array.isArray(r)&&r[a]?r[a].length:0;}for(var o=i?r:GD(r,e,n),s=t.length-1;s>=0;--s){var u,h=t[s];if(h==="[]"&&e.parseArrays)u=e.allowEmptyArrays&&(o===""||e.strictNullHandling&&o===null)?[]:es.combine([],o);else{u=e.plainObjects?{__proto__:null}:{};var f=h.charAt(0)==="["&&h.charAt(h.length-1)==="]"?h.slice(1,-1):h,_=e.decodeDotInKeys?f.replace(/%2E/g,"."):f,y=parseInt(_,10);!e.parseArrays&&_===""?u={0:o}:!isNaN(y)&&h!==_&&String(y)===_&&y>=0&&e.parseArrays&&y<=e.arrayLimit?(u=[],u[y]=o):_!=="__proto__"&&(u[_]=o);}o=u;}return o;},PO=function(r,e,i,n){if(r){var a=i.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,u=i.depth>0&&o.exec(a),h=u?a.slice(0,u.index):a,f=[];if(h){if(!i.plainObjects&&W0.call(Object.prototype,h)&&!i.allowPrototypes)return;f.push(h);}for(var _=0;i.depth>0&&(u=s.exec(a))!==null&&_<i.depth;){if(_+=1,!i.plainObjects&&W0.call(Object.prototype,u[1].slice(1,-1))&&!i.allowPrototypes)return;f.push(u[1]);}if(u){if(i.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+i.depth+" and strictDepth is true");f.push("["+a.slice(u.index)+"]");}return RO(f,e,i,n);}},OO=function(r){if(!r)return jt;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.decodeDotInKeys<"u"&&typeof r.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(r.decoder!==null&&typeof r.decoder<"u"&&typeof r.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof r.throwOnLimitExceeded<"u"&&typeof r.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var e=typeof r.charset>"u"?jt.charset:r.charset,i=typeof r.duplicates>"u"?jt.duplicates:r.duplicates;if(i!=="combine"&&i!=="first"&&i!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var n=typeof r.allowDots>"u"?r.decodeDotInKeys===!0?!0:jt.allowDots:!!r.allowDots;return{allowDots:n,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:jt.allowEmptyArrays,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:jt.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:jt.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:jt.arrayLimit,charset:e,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:jt.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:jt.comma,decodeDotInKeys:typeof r.decodeDotInKeys=="boolean"?r.decodeDotInKeys:jt.decodeDotInKeys,decoder:typeof r.decoder=="function"?r.decoder:jt.decoder,delimiter:typeof r.delimiter=="string"||es.isRegExp(r.delimiter)?r.delimiter:jt.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:jt.depth,duplicates:i,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:jt.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:jt.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:jt.plainObjects,strictDepth:typeof r.strictDepth=="boolean"?!!r.strictDepth:jt.strictDepth,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:jt.strictNullHandling,throwOnLimitExceeded:typeof r.throwOnLimitExceeded=="boolean"?r.throwOnLimitExceeded:!1};};QD.exports=function(t,r){var e=OO(r);if(t===""||t===null||typeof t>"u")return e.plainObjects?{__proto__:null}:{};for(var i=typeof t=="string"?AO(t,e):t,n=e.plainObjects?{__proto__:null}:{},a=Object.keys(i),o=0;o<a.length;++o){var s=a[o],u=PO(s,i[s],e,typeof t=="string");n=es.merge(n,u,e);}return e.allowSparse===!0?n:es.compact(n);};});var ZD=Te((ste,XD)=>{"use strict";var FO=WD(),LO=YD(),NO=Xm();XD.exports={formats:NO,parse:LO,stringify:FO};});var JD=Te(Km=>{"use strict";Object.defineProperty(Km,"__esModule",{value:!0});Km.DrupalJsonApiParams=void 0;var KD=ZD(),q0=class{constructor(r,e){this.data={filter:{},include:[],page:void 0,sort:[],fields:{}},this.qsOptions={},this.config={useShortCutForQueryGeneration:!0,alwaysUseFieldNameForKeys:!1},e!==void 0&&(this.config=e),this.initialize(r);}addCustomParam(r){return this.data=Object.assign(Object.assign({},this.data),r),this;}addFields(r,e){return this.data.fields[r]=e.join(","),this;}addSort(r,e){let i="";return e!==void 0&&e==="DESC"&&(i="-"),this.data.sort=this.data.sort.concat(i+r),this;}addPageLimit(r){return this.data.page===void 0?this.data.page={limit:r}:this.data.page.limit=r,this;}addPageOffset(r){return this.data.page===void 0?this.data.page={offset:r}:this.data.page.offset=r,this;}addInclude(r){return this.data.include=this.data.include.concat(r),this;}addGroup(r,e="OR",i){return this.data.filter[r]={group:Object.assign({conjunction:e},i!==void 0&&{memberOf:i})},this;}addFilter(r,e,i="=",n,a){let o=this.getIndexId(this.data.filter,a||r,!!a);if((i==="IS NULL"||i==="IS NOT NULL")&&(e=null),e===null){if(!(i==="IS NULL"||i==="IS NOT NULL"))throw new TypeError(`Value cannot be null for the operator "${i}"`);return this.data.filter[o]={condition:Object.assign(Object.assign({path:r},{operator:i}),n!==void 0&&{memberOf:n})},this;}if(Array.isArray(e)){switch(i){case"BETWEEN":case"NOT BETWEEN":if(e.length!==2)throw new TypeError(`Value must consists of 2 items for the "${i}"`);break;case"IN":case"NOT IN":break;default:throw new TypeError(`Value cannot be an array for the operator "${i}"`);}return this.data.filter[o]={condition:Object.assign(Object.assign({path:r,value:e},{operator:i}),n!==void 0&&{memberOf:n})},this;}return this.config.useShortCutForQueryGeneration&&n===void 0&&r===o&&this.data.filter[r]===void 0?(i==="="?this.data.filter[o]=e:this.data.filter[o]={value:e,operator:i},this):(this.data.filter[o]={condition:Object.assign(Object.assign({path:r,value:e},this.config.useShortCutForQueryGeneration?i!=="="&&{operator:i}:{operator:i}),n!==void 0&&{memberOf:n})},this);}getIndexId(r,e,i){i=i||this.config.alwaysUseFieldNameForKeys;let n;return r[e]===void 0?n=e:n=this.generateKeyName(r,e,i),n;}generateKeyName(r,e,i=!1){let n=Object.keys(r).length;if(i)for(let a=1;a<=n;a++){let o=`${e}--${a}`;if(r[o]===void 0)return o;}return n.toString();}getQueryObject(){let r=JSON.parse(JSON.stringify(this.data));return this.data.include.length>0?r.include=this.data.include.join(","):delete r.include,this.data.sort.length>0?r.sort=this.data.sort.join(","):delete r.sort,r;}getQueryString(r){let e=this.getQueryObject(),i=r||this.getQsOption();return KD.stringify(e,i);}clear(){return this.data={filter:{},include:[],page:void 0,sort:[],fields:{}},this;}initializeWithQueryObject(r){return this.clear(),Object.keys(r).forEach(i=>{switch(i){case"sort":r.sort.length&&(this.data.sort=r.sort.split(","));break;case"include":r.include.length&&(this.data.include=r.include.split(","));break;default:this.data[i]=r[i];}}),this;}initializeWithQueryString(r,e){this.clear();let i=e||this.getQsOption();return this.initializeWithQueryObject(KD.parse(r,i)),this;}clone(r){let e=JSON.parse(JSON.stringify(r.getQueryObject()));return this.initializeWithQueryObject(e),this;}setQsOption(r){return this.qsOptions=r,this;}getQsOption(){return this.qsOptions;}initialize(r){if(r===void 0)this.initializeWithQueryString("");else if(typeof r=="object")try{r.getQueryObject(),this.clone(r);}catch{this.initializeWithQueryObject(r);}else this.initializeWithQueryString(r);return this;}};Km.DrupalJsonApiParams=q0;});var Td={production:!0,apiUrl:"https://api.johnturman.net/api/v1"};var iv=null;function Un(){return iv;}function Bh(t){iv??=t;}var Ll=class{},Nl=(()=>{class t{historyGo(e){throw new Error("");}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:()=>p(nv),providedIn:"platform"});}return t;})(),Vh=new F(""),nv=(()=>{class t extends Nl{_location;_history;_doc=p(he);constructor(){super(),this._location=window.location,this._history=window.history;}getBaseHrefFromDOM(){return Un().getBaseHref(this._doc);}onPopState(e){let i=Un().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e);}onHashChange(e){let i=Un().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e);}get href(){return this._location.href;}get protocol(){return this._location.protocol;}get hostname(){return this._location.hostname;}get port(){return this._location.port;}get pathname(){return this._location.pathname;}get search(){return this._location.search;}get hash(){return this._location.hash;}set pathname(e){this._location.pathname=e;}pushState(e,i,n){this._history.pushState(e,i,n);}replaceState(e,i,n){this._history.replaceState(e,i,n);}forward(){this._history.forward();}back(){this._history.back();}historyGo(e=0){this._history.go(e);}getState(){return this._history.state;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:()=>new t(),providedIn:"platform"});}return t;})();function Id(t,r){return t?r?t.endsWith("/")?r.startsWith("/")?t+r.slice(1):t+r:r.startsWith("/")?t+r:`${t}/${r}`:t:r;}function ev(t){let r=t.search(/#|\?|$/);return t[r-1]==="/"?t.slice(0,r-1)+t.slice(r):t;}function tr(t){return t&&t[0]!=="?"?`?${t}`:t;}var ir=(()=>{class t{historyGo(e){throw new Error("");}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:()=>p(Rd),providedIn:"root"});}return t;})(),Ad=new F(""),Rd=(()=>{class t extends ir{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(he).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 Id(this._baseHref,e);}path(e=!1){let i=this._platformLocation.pathname+tr(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${i}${n}`:i;}pushState(e,i,n,a){let o=this.prepareExternalUrl(n+tr(a));this._platformLocation.pushState(e,i,o);}replaceState(e,i,n,a){let o=this.prepareExternalUrl(n+tr(a));this._platformLocation.replaceState(e,i,o);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState();}historyGo(e=0){this._platformLocation.historyGo?.(e);}static ɵfac=function(i){return new(i||t)(le(Nl),le(Ad,8));};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Dr=(()=>{class t{_subject=new Q();_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=NM(ev(tv(i))),this._locationStrategy.onPopState(n=>{this._subject.next({url:this.path(!0),pop:!0,state:n.state,type:n.type});});}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[];}path(e=!1){return this.normalize(this._locationStrategy.path(e));}getState(){return this._locationStrategy.getState();}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+tr(i));}normalize(e){return t.stripTrailingSlash(LM(this._basePath,tv(e)));}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e);}go(e,i="",n=null){this._locationStrategy.pushState(n,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+tr(i)),n);}replaceState(e,i="",n=null){this._locationStrategy.replaceState(n,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+tr(i)),n);}forward(){this._locationStrategy.forward();}back(){this._locationStrategy.back();}historyGo(e=0){this._locationStrategy.historyGo?.(e);}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state);}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null);};}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(n=>n(e,i));}subscribe(e,i,n){return this._subject.subscribe({next:e,error:i??void 0,complete:n??void 0});}static normalizeQueryParams=tr;static joinWithSlash=Id;static stripTrailingSlash=ev;static ɵfac=function(i){return new(i||t)(le(ir));};static ɵprov=N({token:t,factory:()=>FM(),providedIn:"root"});}return t;})();function FM(){return new Dr(le(ir));}function LM(t,r){if(!t||!r.startsWith(t))return r;let e=r.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:r;}function tv(t){return t.replace(/\/index.html$/,"");}function NM(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e;}return t;}var Yh=(()=>{class t extends ir{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i);}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()();}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e));}getBaseHref(){return this._baseHref;}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i;}prepareExternalUrl(e){let i=Id(this._baseHref,e);return i.length>0?"#"+i:i;}pushState(e,i,n,a){let o=this.prepareExternalUrl(n+tr(a))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,o);}replaceState(e,i,n,a){let o=this.prepareExternalUrl(n+tr(a))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,o);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState();}historyGo(e=0){this._platformLocation.historyGo?.(e);}static ɵfac=function(i){return new(i||t)(le(Nl),le(Ad,8));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})();var Xh=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t;}(Xh||{});var Di=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t;}(Di||{}),ft=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t;}(ft||{}),nn=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t;}(nn||{}),rn={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function lv(t){return kn(t)[Gt.LocaleId];}function cv(t,r,e){let i=kn(t),n=[i[Gt.DayPeriodsFormat],i[Gt.DayPeriodsStandalone]],a=Wn(n,r);return Wn(a,e);}function dv(t,r,e){let i=kn(t),n=[i[Gt.DaysFormat],i[Gt.DaysStandalone]],a=Wn(n,r);return Wn(a,e);}function uv(t,r,e){let i=kn(t),n=[i[Gt.MonthsFormat],i[Gt.MonthsStandalone]],a=Wn(n,r);return Wn(a,e);}function mv(t,r){let i=kn(t)[Gt.Eras];return Wn(i,r);}function zl(t,r){let e=kn(t);return Wn(e[Gt.DateFormat],r);}function Bl(t,r){let e=kn(t);return Wn(e[Gt.TimeFormat],r);}function Vl(t,r){let i=kn(t)[Gt.DateTimeFormat];return Wn(i,r);}function kr(t,r){let e=kn(t),i=e[Gt.NumberSymbols][r];if(typeof i>"u"){if(r===rn.CurrencyDecimal)return e[Gt.NumberSymbols][rn.Decimal];if(r===rn.CurrencyGroup)return e[Gt.NumberSymbols][rn.Group];}return i;}function pv(t,r){return kn(t)[Gt.NumberFormats][r];}function hv(t){if(!t[Gt.ExtraData])throw new we(2303,!1);}function fv(t){let r=kn(t);return hv(r),(r[Gt.ExtraData][2]||[]).map(i=>typeof i=="string"?$h(i):[$h(i[0]),$h(i[1])]);}function gv(t,r,e){let i=kn(t);hv(i);let n=[i[Gt.ExtraData][0],i[Gt.ExtraData][1]],a=Wn(n,r)||[];return Wn(a,e)||[];}function Wn(t,r){for(let e=r;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new we(2304,!1);}function $h(t){let[r,e]=t.split(":");return{hours:+r,minutes:+e};}var zM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Pd={},BM=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function _v(t,r,e,i){let n=QM(t);r=Zr(e,r)||r;let o=[],s;for(;r;)if(s=BM.exec(r),s){o=o.concat(s.slice(1));let f=o.pop();if(!f)break;r=f;}else{o.push(r);break;}let u=n.getTimezoneOffset();i&&(u=vv(i,u),n=GM(n,i));let h="";return o.forEach(f=>{let _=WM(f);h+=_?_(n,e,u):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'");}),h;}function zd(t,r,e){let i=new Date(0);return i.setFullYear(t,r,e),i.setHours(0,0,0),i;}function Zr(t,r){let e=lv(t);if(Pd[e]??={},Pd[e][r])return Pd[e][r];let i="";switch(r){case"shortDate":i=zl(t,nn.Short);break;case"mediumDate":i=zl(t,nn.Medium);break;case"longDate":i=zl(t,nn.Long);break;case"fullDate":i=zl(t,nn.Full);break;case"shortTime":i=Bl(t,nn.Short);break;case"mediumTime":i=Bl(t,nn.Medium);break;case"longTime":i=Bl(t,nn.Long);break;case"fullTime":i=Bl(t,nn.Full);break;case"short":let n=Zr(t,"shortTime"),a=Zr(t,"shortDate");i=Od(Vl(t,nn.Short),[n,a]);break;case"medium":let o=Zr(t,"mediumTime"),s=Zr(t,"mediumDate");i=Od(Vl(t,nn.Medium),[o,s]);break;case"long":let u=Zr(t,"longTime"),h=Zr(t,"longDate");i=Od(Vl(t,nn.Long),[u,h]);break;case"full":let f=Zr(t,"fullTime"),_=Zr(t,"fullDate");i=Od(Vl(t,nn.Full),[f,_]);break;}return i&&(Pd[e][r]=i),i;}function Od(t,r){return r&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return r!=null&&i in r?r[i]:e;})),t;}function nr(t,r,e="-",i,n){let a="";(t<0||n&&t<=0)&&(n?t=-t+1:(t=-t,a=e));let o=String(t);for(;o.length<r;)o="0"+o;return i&&(o=o.slice(o.length-r)),a+o;}function VM(t,r){return nr(t,3).substring(0,r);}function Qt(t,r,e=0,i=!1,n=!1){return function(a,o){let s=$M(t,a);if((e>0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return VM(s,r);let u=kr(o,rn.MinusSign);return nr(s,r,u,i,n);};}function $M(t,r){switch(t){case 0:return r.getFullYear();case 1:return r.getMonth();case 2:return r.getDate();case 3:return r.getHours();case 4:return r.getMinutes();case 5:return r.getSeconds();case 6:return r.getMilliseconds();case 7:return r.getDay();default:throw new we(2301,!1);}}function Ct(t,r,e=Di.Format,i=!1){return function(n,a){return jM(n,a,t,r,e,i);};}function jM(t,r,e,i,n,a){switch(e){case 2:return uv(r,n,i)[t.getMonth()];case 1:return dv(r,n,i)[t.getDay()];case 0:let o=t.getHours(),s=t.getMinutes();if(a){let h=fv(r),f=gv(r,n,i),_=h.findIndex(y=>{if(Array.isArray(y)){let[w,C]=y,z=o>=w.hours&&s>=w.minutes,L=o<C.hours||o===C.hours&&s<C.minutes;if(w.hours<C.hours){if(z&&L)return!0;}else if(z||L)return!0;}else if(y.hours===o&&y.minutes===s)return!0;return!1;});if(_!==-1)return f[_];}return cv(r,n,i)[o<12?0:1];case 3:return mv(r,i)[t.getFullYear()<=0?0:1];default:let u=e;throw new we(2302,!1);}}function Fd(t){return function(r,e,i){let n=-1*i,a=kr(e,rn.MinusSign),o=n>0?Math.floor(n/60):Math.ceil(n/60);switch(t){case 0:return(n>=0?"+":"")+nr(o,2,a)+nr(Math.abs(n%60),2,a);case 1:return"GMT"+(n>=0?"+":"")+nr(o,1,a);case 2:return"GMT"+(n>=0?"+":"")+nr(o,2,a)+":"+nr(Math.abs(n%60),2,a);case 3:return i===0?"Z":(n>=0?"+":"")+nr(o,2,a)+":"+nr(Math.abs(n%60),2,a);default:throw new we(2310,!1);}};}var HM=0,Nd=4;function UM(t){let r=zd(t,HM,1).getDay();return zd(t,0,1+(r<=Nd?Nd:Nd+7)-r);}function bv(t){let r=t.getDay(),e=r===0?-3:Nd-r;return zd(t.getFullYear(),t.getMonth(),t.getDate()+e);}function jh(t,r=!1){return function(e,i){let n;if(r){let a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();n=1+Math.floor((o+a)/7);}else{let a=bv(e),o=UM(a.getFullYear()),s=a.getTime()-o.getTime();n=1+Math.round(s/6048e5);}return nr(n,t,kr(i,rn.MinusSign));};}function Ld(t,r=!1){return function(e,i){let a=bv(e).getFullYear();return nr(a,t,kr(i,rn.MinusSign),r);};}var Hh={};function WM(t){if(Hh[t])return Hh[t];let r;switch(t){case"G":case"GG":case"GGG":r=Ct(3,ft.Abbreviated);break;case"GGGG":r=Ct(3,ft.Wide);break;case"GGGGG":r=Ct(3,ft.Narrow);break;case"y":r=Qt(0,1,0,!1,!0);break;case"yy":r=Qt(0,2,0,!0,!0);break;case"yyy":r=Qt(0,3,0,!1,!0);break;case"yyyy":r=Qt(0,4,0,!1,!0);break;case"Y":r=Ld(1);break;case"YY":r=Ld(2,!0);break;case"YYY":r=Ld(3);break;case"YYYY":r=Ld(4);break;case"M":case"L":r=Qt(1,1,1);break;case"MM":case"LL":r=Qt(1,2,1);break;case"MMM":r=Ct(2,ft.Abbreviated);break;case"MMMM":r=Ct(2,ft.Wide);break;case"MMMMM":r=Ct(2,ft.Narrow);break;case"LLL":r=Ct(2,ft.Abbreviated,Di.Standalone);break;case"LLLL":r=Ct(2,ft.Wide,Di.Standalone);break;case"LLLLL":r=Ct(2,ft.Narrow,Di.Standalone);break;case"w":r=jh(1);break;case"ww":r=jh(2);break;case"W":r=jh(1,!0);break;case"d":r=Qt(2,1);break;case"dd":r=Qt(2,2);break;case"c":case"cc":r=Qt(7,1);break;case"ccc":r=Ct(1,ft.Abbreviated,Di.Standalone);break;case"cccc":r=Ct(1,ft.Wide,Di.Standalone);break;case"ccccc":r=Ct(1,ft.Narrow,Di.Standalone);break;case"cccccc":r=Ct(1,ft.Short,Di.Standalone);break;case"E":case"EE":case"EEE":r=Ct(1,ft.Abbreviated);break;case"EEEE":r=Ct(1,ft.Wide);break;case"EEEEE":r=Ct(1,ft.Narrow);break;case"EEEEEE":r=Ct(1,ft.Short);break;case"a":case"aa":case"aaa":r=Ct(0,ft.Abbreviated);break;case"aaaa":r=Ct(0,ft.Wide);break;case"aaaaa":r=Ct(0,ft.Narrow);break;case"b":case"bb":case"bbb":r=Ct(0,ft.Abbreviated,Di.Standalone,!0);break;case"bbbb":r=Ct(0,ft.Wide,Di.Standalone,!0);break;case"bbbbb":r=Ct(0,ft.Narrow,Di.Standalone,!0);break;case"B":case"BB":case"BBB":r=Ct(0,ft.Abbreviated,Di.Format,!0);break;case"BBBB":r=Ct(0,ft.Wide,Di.Format,!0);break;case"BBBBB":r=Ct(0,ft.Narrow,Di.Format,!0);break;case"h":r=Qt(3,1,-12);break;case"hh":r=Qt(3,2,-12);break;case"H":r=Qt(3,1);break;case"HH":r=Qt(3,2);break;case"m":r=Qt(4,1);break;case"mm":r=Qt(4,2);break;case"s":r=Qt(5,1);break;case"ss":r=Qt(5,2);break;case"S":r=Qt(6,1);break;case"SS":r=Qt(6,2);break;case"SSS":r=Qt(6,3);break;case"Z":case"ZZ":case"ZZZ":r=Fd(0);break;case"ZZZZZ":r=Fd(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=Fd(1);break;case"OOOO":case"ZZZZ":case"zzzz":r=Fd(2);break;default:return null;}return Hh[t]=r,r;}function vv(t,r){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?r:e;}function qM(t,r){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+r),t;}function GM(t,r,e){let n=t.getTimezoneOffset(),a=vv(r,n);return qM(t,-1*(a-n));}function QM(t){if(rv(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[n,a=1,o=1]=t.split("-").map(s=>+s);return zd(n,a-1,o);}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(zM))return YM(i);}let r=new Date(t);if(!rv(r))throw new we(2311,!1);return r;}function YM(t){let r=new Date(0),e=0,i=0,n=t[8]?r.setUTCFullYear:r.setFullYear,a=t[8]?r.setUTCHours:r.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),n.call(r,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-e,s=Number(t[5]||0)-i,u=Number(t[6]||0),h=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return a.call(r,o,s,u,h),r;}function rv(t){return t instanceof Date&&!isNaN(t.valueOf());}var XM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,av=22,Bd=".",$l="0",ZM=";",KM=",",Uh="#";function JM(t,r,e,i,n,a,o=!1){let s="",u=!1;if(!isFinite(t))s=kr(e,rn.Infinity);else{let h=i2(t);o&&(h=t2(h));let f=r.minInt,_=r.minFrac,y=r.maxFrac;if(a){let V=a.match(XM);if(V===null)throw new we(2306,!1);let j=V[1],K=V[3],pe=V[5];j!=null&&(f=Wh(j)),K!=null&&(_=Wh(K)),pe!=null?y=Wh(pe):K!=null&&_>y&&(y=_);}n2(h,_,y);let w=h.digits,C=h.integerLen,z=h.exponent,L=[];for(u=w.every(V=>!V);C<f;C++)w.unshift(0);for(;C<0;C++)w.unshift(0);C>0?L=w.splice(C,w.length):(L=w,w=[0]);let Z=[];for(w.length>=r.lgSize&&Z.unshift(w.splice(-r.lgSize,w.length).join(""));w.length>r.gSize;)Z.unshift(w.splice(-r.gSize,w.length).join(""));w.length&&Z.unshift(w.join("")),s=Z.join(kr(e,i)),L.length&&(s+=kr(e,n)+L.join("")),z&&(s+=kr(e,rn.Exponential)+"+"+z);}return t<0&&!u?s=r.negPre+s+r.negSuf:s=r.posPre+s+r.posSuf,s;}function yv(t,r,e){let i=pv(r,Xh.Decimal),n=e2(i,kr(r,rn.MinusSign));return JM(t,n,r,rn.Group,rn.Decimal,e);}function e2(t,r="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(ZM),n=i[0],a=i[1],o=n.indexOf(Bd)!==-1?n.split(Bd):[n.substring(0,n.lastIndexOf($l)+1),n.substring(n.lastIndexOf($l)+1)],s=o[0],u=o[1]||"";e.posPre=s.substring(0,s.indexOf(Uh));for(let f=0;f<u.length;f++){let _=u.charAt(f);_===$l?e.minFrac=e.maxFrac=f+1:_===Uh?e.maxFrac=f+1:e.posSuf+=_;}let h=s.split(KM);if(e.gSize=h[1]?h[1].length:0,e.lgSize=h[2]||h[1]?(h[2]||h[1]).length:0,a){let f=n.length-e.posPre.length-e.posSuf.length,_=a.indexOf(Uh);e.negPre=a.substring(0,_).replace(/'/g,""),e.negSuf=a.slice(_+f).replace(/'/g,"");}else e.negPre=r+e.posPre,e.negSuf=e.posSuf;return e;}function t2(t){if(t.digits[0]===0)return t;let r=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(r===0?t.digits.push(0,0):r===1&&t.digits.push(0),t.integerLen+=2),t;}function i2(t){let r=Math.abs(t)+"",e=0,i,n,a,o,s;for((n=r.indexOf(Bd))>-1&&(r=r.replace(Bd,"")),(a=r.search(/e/i))>0?(n<0&&(n=a),n+=+r.slice(a+1),r=r.substring(0,a)):n<0&&(n=r.length),a=0;r.charAt(a)===$l;a++);if(a===(s=r.length))i=[0],n=1;else{for(s--;r.charAt(s)===$l;)s--;for(n-=a,i=[],o=0;a<=s;a++,o++)i[o]=Number(r.charAt(a));}return n>av&&(i=i.splice(0,av-1),e=n-1,n=1),{digits:i,exponent:e,integerLen:n};}function n2(t,r,e){if(r>e)throw new we(2307,!1);let i=t.digits,n=i.length-t.integerLen,a=Math.min(Math.max(r,n),e),o=a+t.integerLen,s=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let _=o;_<i.length;_++)i[_]=0;}else{n=Math.max(0,n),t.integerLen=1,i.length=Math.max(1,o=a+1),i[0]=0;for(let _=1;_<o;_++)i[_]=0;}if(s>=5)if(o-1<0){for(let _=0;_>o;_--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++;}else i[o-1]++;for(;n<Math.max(0,a);n++)i.push(0);let u=a!==0,h=r+t.integerLen,f=i.reduceRight(function(_,y,w,C){return y=y+_,C[w]=y<10?y:y-10,u&&(C[w]===0&&w>=h?C.pop():u=!1),y>=10?1:0;},0);f&&(i.unshift(f),t.integerLen++);}function Wh(t){let r=parseInt(t);if(isNaN(r))throw new we(2305,!1);return r;}var qh=/\s+/,ov=[],Mr=(()=>{class t{_ngEl;_renderer;initialClasses=ov;rawClass;stateMap=new Map();constructor(e,i){this._ngEl=e,this._renderer=i;}set klass(e){this.initialClasses=e!=null?e.trim().split(qh):ov;}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(qh):e;}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff();}_updateState(e,i){let n=this.stateMap.get(e);n!==void 0?(n.enabled!==i&&(n.changed=!0,n.enabled=i),n.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0});}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],n=e[1];n.changed?(this._toggleClass(i,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),n.touched=!1;}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(qh).forEach(n=>{i?this._renderer.addClass(this._ngEl.nativeElement,n):this._renderer.removeClass(this._ngEl.nativeElement,n);});}static ɵfac=function(i){return new(i||t)(S(J),S($e));};static ɵdir=O({type:t,selectors:[["","ngClass",""]] ��,inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}});}return t;})();var Vd=class{$implicit;ngForOf;index;count;constructor(r,e,i,n){this.$implicit=r,this.ngForOf=e,this.index=i,this.count=n;}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;}},$d=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0;}set ngForTrackBy(e){this._trackByFn=e;}get ngForTrackBy(){return this._trackByFn;}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,n){this._viewContainer=e,this._template=i,this._differs=n;}set ngForTemplate(e){e&&(this._template=e);}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy));}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e);}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((n,a,o)=>{if(n.previousIndex==null)i.createEmbeddedView(this._template,new Vd(n.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)i.remove(a===null?void 0:a);else if(a!==null){let s=i.get(a);i.move(s,o),sv(s,n);}});for(let n=0,a=i.length;n<a;n++){let s=i.get(n).context;s.index=n,s.count=a,s.ngForOf=this._ngForOf;}e.forEachIdentityChange(n=>{let a=i.get(n.currentIndex);sv(a,n);});}static ngTemplateContextGuard(e,i){return!0;}static ɵfac=function(i){return new(i||t)(S(bt),S(rt),S(Xr));};static ɵdir=O({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}});}return t;})();function sv(t,r){t.context.$implicit=r.item;}var fi=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,i,n){this._ngEl=e,this._differs=i,this._renderer=n;}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,i){let[n,a]=e.split("."),o=n.indexOf("-")===-1?void 0:fo.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,n,a?`${i}${a}`:i,o):this._renderer.removeStyle(this._ngEl.nativeElement,n,o);}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue));}static ɵfac=function(i){return new(i||t)(S(J),S(Xb),S($e));};static ɵdir=O({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}});}return t;})(),ka=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e;}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return;}let n=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,n,{injector:this.ngTemplateOutletInjector??void 0});}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector;}_createContextForwardProxy(){return new Proxy({},{set:(e,i,n)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,n):!1,get:(e,i,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,n);}});}static ɵfac=function(i){return new(i||t)(S(bt));};static ɵdir=O({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ne]});}return t;})();function Zh(t,r){return new we(2100,!1);}var Gh=class{createSubscription(r,e,i){return Wt(()=>r.subscribe({next:e,error:i}));}dispose(r){Wt(()=>r.unsubscribe());}},Qh=class{createSubscription(r,e,i){return r.then(n=>e?.(n),n=>i?.(n)),{unsubscribe:()=>{e=null,i=null;}};}dispose(r){r.unsubscribe();}},r2=new Qh(),a2=new Gh(),jd=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(us);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,i=>this._updateLatestValue(e,i),i=>this.applicationErrorHandler(i));}_selectStrategy(e){if(fs(e))return r2;if(Ub(e))return a2;throw Zh(t,e);}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null;}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck());}static ɵfac=function(i){return new(i||t)(S(ve,16));};static ɵpipe=wd({name:"async",type:t,pure:!1});}return t;})();var o2="mediumDate",xv=new F(""),Cv=new F(""),yo=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,i,n){this.locale=e,this.defaultTimezone=i,this.defaultOptions=n;}transform(e,i,n,a){if(e==null||e===""||e!==e)return null;try{let o=i??this.defaultOptions?.dateFormat??o2,s=n??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return _v(e,o,a||this.locale,s);}catch(o){throw Zh(t,o.message);}}static ɵfac=function(i){return new(i||t)(S(Fl,16),S(xv,24),S(Cv,24));};static ɵpipe=wd({name:"date",type:t,pure:!0});}return t;})();var Kh=(()=>{class t{_locale;constructor(e){this._locale=e;}transform(e,i,n){if(!s2(e))return null;n||=this._locale;try{let a=l2(e);return yv(a,n,i);}catch(a){throw Zh(t,a.message);}}static ɵfac=function(i){return new(i||t)(S(Fl,16));};static ɵpipe=wd({name:"number",type:t,pure:!0});}return t;})();function s2(t){return!(t==null||t===""||t!==t);}function l2(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new we(2309,!1);return t;}var re=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({});}return t;})();function jl(t,r){r=encodeURIComponent(r);for(let e of t.split(";")){let i=e.indexOf("="),[n,a]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(n.trim()===r)return decodeURIComponent(a);}return null;}var xo=class{};var ef="browser";function Dv(t){return t===ef;}var kv=(()=>{class t{static ɵprov=N({token:t,providedIn:"root",factory:()=>new Jh(p(he),window)});}return t;})(),Jh=class{document;window;offset=()=>[0,0];constructor(r,e){this.document=r,this.window=e;}setOffset(r){Array.isArray(r)?this.offset=()=>r:this.offset=r;}getScrollPosition(){return[this.window.scrollX,this.window.scrollY];}scrollToPosition(r,e){this.window.scrollTo(ot(W({},e),{left:r[0],top:r[1]}));}scrollToAnchor(r,e){let i=d2(this.document,r);i&&(this.scrollToElement(i,e),i.focus());}setHistoryScrollRestoration(r){try{this.window.history.scrollRestoration=r;}catch{console.warn(Tl(2400,!1));}}scrollToElement(r,e){let i=r.getBoundingClientRect(),n=i.left+this.window.pageXOffset,a=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(ot(W({},e),{left:n-o[0],top:a-o[1]}));}};function d2(t,r){let e=t.getElementById(r)||t.getElementsByName(r)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),n=i.currentNode;for(;n;){let a=n.shadowRoot;if(a){let o=a.getElementById(r)||a.querySelector(`[name="${r}"]`);if(o)return o;}n=i.nextNode();}}return null;}var Hl=class{_doc;constructor(r){this._doc=r;}manager;},Hd=(()=>{class t extends Hl{constructor(e){super(e);}supports(e){return!0;}addEventListener(e,i,n,a){return e.addEventListener(i,n,a),()=>this.removeEventListener(e,i,n,a);}removeEventListener(e,i,n,a){return e.removeEventListener(i,n,a);}static ɵfac=function(i){return new(i||t)(le(he));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})(),Wd=new F(""),of=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map();constructor(e,i){this._zone=i,e.forEach(o=>{o.manager=this;});let n=e.filter(o=>!(o instanceof Hd));this._plugins=n.slice().reverse();let a=e.find(o=>o instanceof Hd);a&&this._plugins.push(a);}addEventListener(e,i,n,a){return this._findPluginFor(i).addEventListener(e,i,n,a);}getZone(){return this._zone;}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new we(5101,!1);return this._eventNameToPlugin.set(e,i),i;}static ɵfac=function(i){return new(i||t)(le(Wd),le(ce));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})(),tf="ng-app-id";function Mv(t){for(let r of t)r.remove();}function Sv(t,r){let e=r.createElement("style");return e.textContent=t,e;}function u2(t,r,e,i){let n=t.head?.querySelectorAll(`style[${tf}="${r}"],link[${tf}="${r}"]`);if(n)for(let a of n)a.removeAttribute(tf),a instanceof HTMLLinkElement?i.set(a.href.slice(a.href.lastIndexOf("/")+1),{usage:0,elements:[a]}):a.textContent&&e.set(a.textContent,{usage:0,elements:[a]});}function rf(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e;}var sf=(()=>{class t{doc;appId;nonce;inline=new Map();external=new Map();hosts=new Set();constructor(e,i,n,a={}){this.doc=e,this.appId=i,this.nonce=n,u2(e,i,this.inline,this.external),this.hosts.add(e.head);}addStyles(e,i){for(let n of e)this.addUsage(n,this.inline,Sv);i?.forEach(n=>this.addUsage(n,this.external,rf));}removeStyles(e,i){for(let n of e)this.removeUsage(n,this.inline);i?.forEach(n=>this.removeUsage(n,this.external));}addUsage(e,i,n){let a=i.get(e);a?a.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,n(e,this.doc)))});}removeUsage(e,i){let n=i.get(e);n&&(n.usage--,n.usage<=0&&(Mv(n.elements),i.delete(e)));}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Mv(e);this.hosts.clear();}addHost(e){this.hosts.add(e);for(let[i,{elements:n}]of this.inline)n.push(this.addElement(e,Sv(i,this.doc)));for(let[i,{elements:n}]of this.external)n.push(this.addElement(e,rf(i,this.doc)));}removeHost(e){this.hosts.delete(e);}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i);}static ɵfac=function(i){return new(i||t)(le(he),le(mo),le(Al,8),le(po));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})(),nf={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"},lf=/%COMP%/g;var Tv="%COMP%",m2=`_nghost-${Tv}`,p2=`_ngcontent-${Tv}`,h2=!0,f2=new F("",{providedIn:"root",factory:()=>h2});function g2(t){return p2.replace(lf,t);}function _2(t){return m2.replace(lf,t);}function Iv(t,r){return r.map(e=>e.replace(lf,t));}var ql=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map();defaultRenderer;platformIsServer;constructor(e,i,n,a,o,s,u,h=null,f=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=n,this.removeStylesOnCompDestroy=a,this.doc=o,this.platformId=s,this.ngZone=u,this.nonce=h,this.tracingService=f,this.platformIsServer=!1,this.defaultRenderer=new Ul(e,o,u,this.platformIsServer,this.tracingService);}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let n=this.getOrCreateRenderer(e,i);return n instanceof Ud?n.applyToHost(e):n instanceof Wl&&n.applyStyles(),n;}getOrCreateRenderer(e,i){let n=this.rendererByCompId,a=n.get(i.id);if(!a){let o=this.doc,s=this.ngZone,u=this.eventManager,h=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,_=this.platformIsServer,y=this.tracingService;switch(i.encapsulation){case Oh.Emulated:a=new Ud(u,h,i,this.appId,f,o,s,_,y);break;case Oh.ShadowDom:return new af(u,h,e,i,o,s,this.nonce,_,y);default:a=new Wl(u,h,i,f,o,s,_,y);break;}n.set(i.id,a);}return a;}ngOnDestroy(){this.rendererByCompId.clear();}componentReplaced(e){this.rendererByCompId.delete(e);}static ɵfac=function(i){return new(i||t)(le(of),le(sf),le(mo),le(f2),le(he),le(po),le(ce),le(Al),le($b,8));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})(),Ul=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,i,n,a){this.eventManager=r,this.doc=e,this.ngZone=i,this.platformIsServer=n,this.tracingService=a;}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(nf[e]||e,r):this.doc.createElement(r);}createComment(r){return this.doc.createComment(r);}createText(r){return this.doc.createTextNode(r);}appendChild(r,e){(Ev(r)?r.content:r).appendChild(e);}insertBefore(r,e,i){r&&(Ev(r)?r.content:r).insertBefore(e,i);}removeChild(r,e){e.remove();}selectRootElement(r,e){let i=typeof r=="string"?this.doc.querySelector(r):r;if(!i)throw new we(-5104,!1);return e||(i.textContent=""),i;}parentNode(r){return r.parentNode;}nextSibling(r){return r.nextSibling;}setAttribute(r,e,i,n){if(n){e=n+":"+e;let a=nf[n];a?r.setAttributeNS(a,e,i):r.setAttribute(e,i);}else r.setAttribute(e,i);}removeAttribute(r,e,i){if(i){let n=nf[i];n?r.removeAttributeNS(n,e):r.removeAttribute(`${i}:${e}`);}else r.removeAttribute(e);}addClass(r,e){r.classList.add(e);}removeClass(r,e){r.classList.remove(e);}setStyle(r,e,i,n){n&(fo.DashCase|fo.Important)?r.style.setProperty(e,i,n&fo.Important?"important":""):r.style[e]=i;}removeStyle(r,e,i){i&fo.DashCase?r.style.removeProperty(e):r.style[e]="";}setProperty(r,e,i){r!=null&&(r[e]=i);}setValue(r,e){r.nodeValue=e;}listen(r,e,i,n){if(typeof r=="string"&&(r=Un().getGlobalEventTarget(this.doc,r),!r))throw new we(5102,!1);let a=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(a=this.tracingService.wrapEventListener(r,e,a)),this.eventManager.addEventListener(r,e,a,n);}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault();};}};function Ev(t){return t.tagName==="TEMPLATE"&&t.content!==void 0;}var af=class extends Ul{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,i,n,a,o,s,u,h){super(r,a,o,u,h),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=n.styles;f=Iv(n.id,f);for(let y of f){let w=document.createElement("style");s&&w.setAttribute("nonce",s),w.textContent=y,this.shadowRoot.appendChild(w);}let _=n.getExternalStyles?.();if(_)for(let y of _){let w=rf(y,a);s&&w.setAttribute("nonce",s),this.shadowRoot.appendChild(w);}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r;}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e);}insertBefore(r,e,i){return super.insertBefore(this.nodeOrShadowRoot(r),e,i);}removeChild(r,e){return super.removeChild(null,e);}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)));}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot);}},Wl=class extends Ul{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,i,n,a,o,s,u,h){super(r,a,o,s,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=n;let f=i.styles;this.styles=h?Iv(h,f):f,this.styleUrls=i.getExternalStyles?.(h);}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls);}destroy(){this.removeStylesOnCompDestroy&&Vb.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls);}},Ud=class extends Wl{contentAttr;hostAttr;constructor(r,e,i,n,a,o,s,u,h){let f=n+"-"+i.id;super(r,e,i,a,o,s,u,h,f),this.contentAttr=g2(f),this.hostAttr=_2(f);}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"");}createElement(r,e){let i=super.createElement(r,e);return super.setAttribute(i,this.contentAttr,""),i;}};var qd=class t extends Ll{supportsDOMEvents=!0;static makeCurrent(){Bh(new t());}onAndCancel(r,e,i,n){return r.addEventListener(e,i,n),()=>{r.removeEventListener(e,i,n);};}dispatchEvent(r,e){r.dispatchEvent(e);}remove(r){r.remove();}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r);}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle");}getDefaultDocument(){return document;}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE;}isShadowRoot(r){return r instanceof DocumentFragment;}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null;}getBaseHref(r){let e=v2();return e==null?null:y2(e);}resetBaseElement(){Gl=null;}getUserAgent(){return window.navigator.userAgent;}getCookie(r){return jl(document.cookie,r);}},Gl=null;function v2(){return Gl=Gl||document.head.querySelector("base"),Gl?Gl.getAttribute("href"):null;}function y2(t){return new URL(t,document.baseURI).pathname;}var x2=(()=>{class t{build(){return new XMLHttpRequest();}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})(),Av=["alt","control","meta","shift"],C2={"\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"},w2={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Rv=(()=>{class t extends Hl{constructor(e){super(e);}supports(e){return t.parseEventName(e)!=null;}addEventListener(e,i,n,a){let o=t.parseEventName(i),s=t.eventCallback(o.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Un().onAndCancel(e,o.domEventName,s,a));}static parseEventName(e){let i=e.toLowerCase().split("."),n=i.shift();if(i.length===0||!(n==="keydown"||n==="keyup"))return null;let a=t._normalizeKey(i.pop()),o="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),o="code."),Av.forEach(h=>{let f=i.indexOf(h);f>-1&&(i.splice(f,1),o+=h+".");}),o+=a,i.length!=0||a.length===0)return null;let u={};return u.domEventName=n,u.fullKey=o,u;}static matchEventFullKeyCode(e,i){let n=C2[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(n=e.code,a="code."),n==null||!n?!1:(n=n.toLowerCase(),n===" "?n="space":n==="."&&(n="dot"),Av.forEach(o=>{if(o!==n){let s=w2[o];s(e)&&(a+=o+".");}}),a+=n,a===i);}static eventCallback(e,i,n){return a=>{t.matchEventFullKeyCode(a,e)&&n.runGuarded(()=>i(a));};}static _normalizeKey(e){return e==="esc"?"escape":e;}static ɵfac=function(i){return new(i||t)(le(he));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})();function cf(t,r,e){let i=W({rootComponent:t,platformRef:e?.platformRef},D2(r));return Zb(i);}function D2(t){return{appProviders:[...T2,...(t?.providers??[])],platformProviders:E2};}function k2(){qd.makeCurrent();}function M2(){return new Ca();}function S2(){return Ib(document),document;}var E2=[{provide:po,useValue:ef},{provide:Ab,useValue:k2,multi:!0},{provide:he,useFactory:S2}];var T2=[{provide:Mb,useValue:"root"},{provide:Ca,useFactory:M2},{provide:Wd,useClass:Hd,multi:!0,deps:[he]},{provide:Wd,useClass:Rv,multi:!0,deps:[he]},ql,sf,of,{provide:pi,useExisting:ql},{provide:xo,useClass:x2},[]];var bs=class{},Ql=class{},qe=class t{headers;normalizedNames=new Map();lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map(),r.split(`
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let n=e.slice(0,i),a=e.slice(i+1).trim();this.addHeaderEntry(n,a);}});}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map(),r.forEach((e,i)=>{this.addHeaderEntry(i,e);})):this.lazyInit=()=>{this.headers=new Map(),Object.entries(r).forEach(([e,i])=>{this.setHeaderEntries(e,i);});}:this.headers=new Map();}has(r){return this.init(),this.headers.has(r.toLowerCase());}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null;}keys(){return this.init(),Array.from(this.normalizedNames.values());}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null;}append(r,e){return this.clone({name:r,value:e,op:"a"});}set(r,e){return this.clone({name:r,value:e,op:"s"});}delete(r,e){return this.clone({name:r,value:e,op:"d"});}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r);}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null));}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e));});}clone(r){let e=new t();return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e;}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let i=r.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(r.name,e);let n=(r.op==="a"?this.headers.get(e):void 0)||[];n.push(...i),this.headers.set(e,n);break;case"d":let a=r.value;if(!a)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(s=>a.indexOf(s)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o);}break;}}addHeaderEntry(r,e){let i=r.toLowerCase();this.maybeSetNormalizedName(r,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e]);}setHeaderEntries(r,e){let i=(Array.isArray(e)?e:[e]).map(a=>a.toString()),n=r.toLowerCase();this.headers.set(n,i),this.maybeSetNormalizedName(r,n);}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)));}};var Qd=class{encodeKey(r){return Pv(r);}encodeValue(r){return Pv(r);}decodeKey(r){return decodeURIComponent(r);}decodeValue(r){return decodeURIComponent(r);}};function I2(t,r){let e=new Map();return t.length>0&&t.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[o,s]=a==-1?[r.decodeKey(n),""]:[r.decodeKey(n.slice(0,a)),r.decodeValue(n.slice(a+1))],u=e.get(o)||[];u.push(s),e.set(o,u);}),e;}var A2=/%(\d[a-f0-9])/gi,R2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pv(t){return encodeURIComponent(t).replace(A2,(r,e)=>R2[e]??r);}function Gd(t){return`${t}`;}var Kr=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new Qd(),r.fromString){if(r.fromObject)throw new we(2805,!1);this.map=I2(r.fromString,this.encoder);}else r.fromObject?(this.map=new Map(),Object.keys(r.fromObject).forEach(e=>{let i=r.fromObject[e],n=Array.isArray(i)?i.map(Gd):[Gd(i)];this.map.set(e,n);})):this.map=null;}has(r){return this.init(),this.map.has(r);}get(r){this.init();let e=this.map.get(r);return e?e[0]:null;}getAll(r){return this.init(),this.map.get(r)||null;}keys(){return this.init(),Array.from(this.map.keys());}append(r,e){return this.clone({param:r,value:e,op:"a"});}appendAll(r){let e=[];return Object.keys(r).forEach(i=>{let n=r[i];Array.isArray(n)?n.forEach(a=>{e.push({param:i,value:a,op:"a"});}):e.push({param:i,value:n,op:"a"});}),this.clone(e);}set(r,e){return this.clone({param:r,value:e,op:"s"});}delete(r,e){return this.clone({param:r,value:e,op:"d"});}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(i=>e+"="+this.encoder.encodeValue(i)).join("&");}).filter(r=>r!=="").join("&");}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e;}init(){this.map===null&&(this.map=new Map()),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Gd(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let i=this.map.get(r.param)||[],n=i.indexOf(Gd(r.value));n!==-1&&i.splice(n,1),i.length>0?this.map.set(r.param,i):this.map.delete(r.param);}else{this.map.delete(r.param);break;}}}),this.cloneFrom=this.updates=null);}};var Yd=class{map=new Map();set(r,e){return this.map.set(r,e),this;}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r);}delete(r){return this.map.delete(r),this;}has(r){return this.map.has(r);}keys(){return this.map.keys();}};function P2(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0;}}function Ov(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer;}function Fv(t){return typeof Blob<"u"&&t instanceof Blob;}function Lv(t){return typeof FormData<"u"&&t instanceof FormData;}function O2(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams;}var Nv="Content-Type",zv="Accept",Vv="X-Request-URL",$v="text/plain",jv="application/json",F2=`${jv}, ${$v}, */*`,gs=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(r,e,i,n){this.url=e,this.method=r.toUpperCase();let a;if(P2(this.method)||n?(this.body=i!==void 0?i:null,a=n):a=i,a){if(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,this.keepalive=!!a.keepalive,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),a.priority&&(this.priority=a.priority),a.cache&&(this.cache=a.cache),a.credentials&&(this.credentials=a.credentials),typeof a.timeout=="number"){if(a.timeout<1||!Number.isInteger(a.timeout))throw new we(2822,"");this.timeout=a.timeout;}a.mode&&(this.mode=a.mode),a.redirect&&(this.redirect=a.redirect),a.integrity&&(this.integrity=a.integrity),a.referrer&&(this.referrer=a.referrer),this.transferCache=a.transferCache;}if(this.headers??=new qe(),this.context??=new Yd(),!this.params)this.params=new Kr(),this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),u=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+u+o;}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ov(this.body)||Fv(this.body)||Lv(this.body)||O2(this.body)?this.body:this.body instanceof Kr?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();}detectContentTypeHeader(){return this.body===null||Lv(this.body)?null:Fv(this.body)?this.body.type||null:Ov(this.body)?null:typeof this.body=="string"?$v:this.body instanceof Kr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?jv:null;}clone(r={}){let e=r.method||this.method,i=r.url||this.url,n=r.responseType||this.responseType,a=r.keepalive??this.keepalive,o=r.priority||this.priority,s=r.cache||this.cache,u=r.mode||this.mode,h=r.redirect||this.redirect,f=r.credentials||this.credentials,_=r.referrer||this.referrer,y=r.integrity||this.integrity,w=r.transferCache??this.transferCache,C=r.timeout??this.timeout,z=r.body!==void 0?r.body:this.body,L=r.withCredentials??this.withCredentials,Z=r.reportProgress??this.reportProgress,V=r.headers||this.headers,j=r.params||this.params,K=r.context??this.context;return r.setHeaders!==void 0&&(V=Object.keys(r.setHeaders).reduce((pe,Ee)=>pe.set(Ee,r.setHeaders[Ee]),V)),r.setParams&&(j=Object.keys(r.setParams).reduce((pe,Ee)=>pe.set(Ee,r.setParams[Ee]),j)),new t(e,i,z,{params:j,headers:V,context:K,reportProgress:Z,responseType:n,withCredentials:L,transferCache:w,keepalive:a,cache:s,priority:o,timeout:C,mode:u,redirect:h,credentials:f,referrer:_,integrity:y});}},Co=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t;}(Co||{}),vs=class{headers;status;statusText;url;ok;type;redirected;constructor(r,e=200,i="OK"){this.headers=r.headers||new qe(),this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||i,this.url=r.url||null,this.redirected=r.redirected,this.ok=this.status>=200&&this.status<300;}},Xd=class t extends vs{constructor(r={}){super(r);}type=Co.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0});}},Yl=class t extends vs{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null;}type=Co.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0,redirected:r.redirected??this.redirected});}},_s=class extends vs{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null;}},L2=200,N2=204;function df(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer};}var an=(()=>{class t{handler;constructor(e){this.handler=e;}request(e,i,n={}){let a;if(e instanceof gs)a=e;else{let u;n.headers instanceof qe?u=n.headers:u=new qe(n.headers);let h;n.params&&(n.params instanceof Kr?h=n.params:h=new Kr({fromObject:n.params})),a=new gs(e,i,n.body!==void 0?n.body:null,{headers:u,context:n.context,params:h,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials,transferCache:n.transferCache,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,credentials:n.credentials,referrer:n.referrer,integrity:n.integrity,timeout:n.timeout});}let o=ae(a).pipe(Ur(u=>this.handler.handle(u)));if(e instanceof gs||n.observe==="events")return o;let s=o.pipe(Re(u=>u instanceof Yl));switch(n.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(me(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new we(2806,!1);return u.body;}));case"blob":return s.pipe(me(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new we(2807,!1);return u.body;}));case"text":return s.pipe(me(u=>{if(u.body!==null&&typeof u.body!="string")throw new we(2808,!1);return u.body;}));case"json":default:return s.pipe(me(u=>u.body));}case"response":return s;default:throw new we(2809,!1);}}delete(e,i={}){return this.request("DELETE",e,i);}get(e,i={}){return this.request("GET",e,i);}head(e,i={}){return this.request("HEAD",e,i);}jsonp(e,i){return this.request("JSONP",e,{params:new Kr().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"});}options(e,i={}){return this.request("OPTIONS",e,i);}patch(e,i,n={}){return this.request("PATCH",e,df(n,i));}post(e,i,n={}){return this.request("POST",e,df(n,i));}put(e,i,n={}){return this.request("PUT",e,df(n,i));}static ɵfac=function(i){return new(i||t)(le(bs));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})();var z2=new F("");function Hv(t,r){return r(t);}function B2(t,r){return(e,i)=>r.intercept(e,{handle:n=>t(n,i)});}function V2(t,r,e){return(i,n)=>Ki(e,()=>r(i,a=>t(a,n)));}var Uv=new F(""),mf=new F(""),Wv=new F(""),pf=new F("",{providedIn:"root",factory:()=>!0});function $2(){let t=null;return(r,e)=>{t===null&&(t=(p(Uv,{optional:!0})??[]).reduceRight(B2,Hv));let i=p(Ah);if(p(pf)){let a=i.add();return t(r,e).pipe(Wr(a));}else return t(r,e);};}var Zd=(()=>{class t extends bs{backend;injector;chain=null;pendingTasks=p(Ah);contributeToStability=p(pf);constructor(e,i){super(),this.backend=e,this.injector=i;}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(mf),...this.injector.get(Wv,[])]));this.chain=i.reduceRight((n,a)=>V2(n,a,this.injector),Hv);}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,n=>this.backend.handle(n)).pipe(Wr(i));}else return this.chain(e,i=>this.backend.handle(i));}static ɵfac=function(i){return new(i||t)(le(Ql),le(Ai));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})();var j2=/^\)\] ��\}',?\n/,H2=RegExp(`^${Vv}:`,"m");function U2(t){return"responseURL"in t&&t.responseURL?t.responseURL:H2.test(t.getAllResponseHeaders())?t.getResponseHeader(Vv):null;}var uf=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e;}handle(e){if(e.method==="JSONP")throw new we(-2800,!1);let i=this.xhrFactory;return ae(null).pipe(_t(()=>new ui(a=>{let o=i.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((L,Z)=>o.setRequestHeader(L,Z.join(","))),e.headers.has(zv)||o.setRequestHeader(zv,F2),!e.headers.has(Nv)){let L=e.detectContentTypeHeader();L!==null&&o.setRequestHeader(Nv,L);}if(e.timeout&&(o.timeout=e.timeout),e.responseType){let L=e.responseType.toLowerCase();o.responseType=L!=="json"?L:"text";}let s=e.serializeBody(),u=null,h=()=>{if(u!==null)return u;let L=o.statusText||"OK",Z=new qe(o.getAllResponseHeaders()),V=U2(o)||e.url;return u=new Xd({headers:Z,status:o.status,statusText:L,url:V}),u;},f=()=>{let{headers:L,status:Z,statusText:V,url:j}=h(),K=null;Z!==N2&&(K=typeof o.response>"u"?o.responseText:o.response),Z===0&&(Z=K?L2:0);let pe=Z>=200&&Z<300;if(e.responseType==="json"&&typeof K=="string"){let Ee=K;K=K.replace(j2,"");try{K=K!==""?JSON.parse(K):null;}catch(yt){K=Ee,pe&&(pe=!1,K={error:yt,text:K});}}pe?(a.next(new Yl({body:K,headers:L,status:Z,statusText:V,url:j||void 0})),a.complete()):a.error(new _s({error:K,headers:L,status:Z,statusText:V,url:j||void 0}));},_=L=>{let{url:Z}=h(),V=new _s({error:L,status:o.status||0,statusText:o.statusText||"Unknown Error",url:Z||void 0});a.error(V);},y=_;e.timeout&&(y=L=>{let{url:Z}=h(),V=new _s({error:new DOMException("Request timed out","TimeoutError"),status:o.status||0,statusText:o.statusText||"Request timeout",url:Z||void 0});a.error(V);});let w=!1,C=L=>{w||(a.next(h()),w=!0);let Z={type:Co.DownloadProgress,loaded:L.loaded};L.lengthComputable&&(Z.total=L.total),e.responseType==="text"&&o.responseText&&(Z.partialText=o.responseText),a.next(Z);},z=L=>{let Z={type:Co.UploadProgress,loaded:L.loaded};L.lengthComputable&&(Z.total=L.total),a.next(Z);};return o.addEventListener("load",f),o.addEventListener("error",_),o.addEventListener("timeout",y),o.addEventListener("abort",_),e.reportProgress&&(o.addEventListener("progress",C),s!==null&&o.upload&&o.upload.addEventListener("progress",z)),o.send(s),a.next({type:Co.Sent}),()=>{o.removeEventListener("error",_),o.removeEventListener("abort",_),o.removeEventListener("load",f),o.removeEventListener("timeout",y),e.reportProgress&&(o.removeEventListener("progress",C),s!==null&&o.upload&&o.upload.removeEventListener("progress",z)),o.readyState!==o.DONE&&o.abort();};})));}static ɵfac=function(i){return new(i||t)(le(xo));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})(),qv=new F(""),W2="XSRF-TOKEN",q2=new F("",{providedIn:"root",factory:()=>W2}),G2="X-XSRF-TOKEN",Q2=new F("",{providedIn:"root",factory:()=>G2}),Xl=class{},Y2=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i;}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=jl(e,this.cookieName),this.lastCookieString=e),this.lastToken;}static ɵfac=function(i){return new(i||t)(le(he),le(q2));};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})();function X2(t,r){let e=t.url.toLowerCase();if(!p(qv)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return r(t);let i=p(Xl).getToken(),n=p(Q2);return i!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,i)})),r(t);}var hf=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t;}(hf||{});function Z2(t,r){return{ɵkind:t,ɵproviders:r};}function ff(...t){let r=[an,uf,Zd,{provide:bs,useExisting:Zd},{provide:Ql,useFactory:()=>p(z2,{optional:!0})??p(uf)},{provide:mf,useValue:X2,multi:!0},{provide:qv,useValue:!0},{provide:Xl,useClass:Y2}];for(let e of t)r.push(...e.ɵproviders);return so(r);}var Bv=new F("");function gf(){return Z2(hf.LegacyInterceptors,[{provide:Bv,useFactory:$2},{provide:mf,useExisting:Bv,multi:!0}]);}var ki=(()=>{class t{_doc;constructor(e){this._doc=e;}getTitle(){return this._doc.title;}setTitle(e){this._doc.title=e||"";}static ɵfac=function(i){return new(i||t)(le(he));};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var qn=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:function(i){let n=null;return i?n=new(i||t)():n=le(J2),n;},providedIn:"root"});}return t;})(),J2=(()=>{class t extends qn{_doc;constructor(e){super(),this._doc=e;}sanitize(e,i){if(i==null)return null;switch(e){case Dn.NONE:return i;case Dn.HTML:return ps(i,"HTML")?ho(i):zb(this._doc,String(i)).toString();case Dn.STYLE:return ps(i,"Style")?ho(i):i;case Dn.SCRIPT:if(ps(i,"Script"))return ho(i);throw new we(5200,!1);case Dn.URL:return ps(i,"URL")?ho(i):Nb(String(i));case Dn.RESOURCE_URL:if(ps(i,"ResourceURL"))return ho(i);throw new we(5201,!1);default:throw new we(5202,!1);}}bypassSecurityTrustHtml(e){return Rb(e);}bypassSecurityTrustStyle(e){return Pb(e);}bypassSecurityTrustScript(e){return Ob(e);}bypassSecurityTrustUrl(e){return Fb(e);}bypassSecurityTrustResourceUrl(e){return Lb(e);}static ɵfac=function(i){return new(i||t)(le(he));};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Ve="primary",cc=Symbol("RouteTitle"),xf=class{params;constructor(r){this.params=r||{};}has(r){return Object.prototype.hasOwnProperty.call(this.params,r);}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e;}return null;}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e];}return[];}get keys(){return Object.keys(this.params);}};function ko(t){return new xf(t);}function ty(t,r,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||i.length<t.length))return null;let n={};for(let a=0;a<i.length;a++){let o=i[a],s=t[a];if(o[0]===":")n[o.substring(1)]=s;else if(o!==s.path)return null;}return{consumed:t.slice(0,i.length),posParams:n};}function eS(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!Sr(t[e],r[e]))return!1;return!0;}function Sr(t,r){let e=t?Cf(t):void 0,i=r?Cf(r):void 0;if(!e||!i||e.length!=i.length)return!1;let n;for(let a=0;a<e.length;a++)if(n=e[a],!iy(t[n],r[n]))return!1;return!0;}function Cf(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)];}function iy(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),i=[...r].sort();return e.every((n,a)=>i[a]===n);}else return t===r;}function ny(t){return t.length>0?t[t.length-1]:null;}function Jr(t){return kl(t)?t:fs(t)?mi(Promise.resolve(t)):ae(t);}var tS={exact:ay,subset:oy},ry={exact:iS,subset:nS,ignored:()=>!0};function Qv(t,r,e){return tS[e.paths](t.root,r.root,e.matrixParams)&&ry[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment);}function iS(t,r){return Sr(t,r);}function ay(t,r,e){if(!wo(t.segments,r.segments)||!eu(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let i in r.children)if(!t.children[i]||!ay(t.children[i],r.children[i],e))return!1;return!0;}function nS(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>iy(t[e],r[e]));}function oy(t,r,e){return sy(t,r,r.segments,e);}function sy(t,r,e,i){if(t.segments.length>e.length){let n=t.segments.slice(0,e.length);return!(!wo(n,e)||r.hasChildren()||!eu(n,e,i));}else if(t.segments.length===e.length){if(!wo(t.segments,e)||!eu(t.segments,e,i))return!1;for(let n in r.children)if(!t.children[n]||!oy(t.children[n],r.children[n],i))return!1;return!0;}else{let n=e.slice(0,t.segments.length),a=e.slice(t.segments.length);return!wo(t.segments,n)||!eu(t.segments,n,i)||!t.children[Ve]?!1:sy(t.children[Ve],r,a,i);}}function eu(t,r,e){return r.every((i,n)=>ry[e](t[n].parameters,i.parameters));}var Tr=class{root;queryParams;fragment;_queryParamMap;constructor(r=new dt([],{}),e={},i=null){this.root=r,this.queryParams=e,this.fragment=i;}get queryParamMap(){return this._queryParamMap??=ko(this.queryParams),this._queryParamMap;}toString(){return oS.serialize(this);}},dt=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(i=>i.parent=this);}hasChildren(){return this.numberOfChildren>0;}get numberOfChildren(){return Object.keys(this.children).length;}toString(){return tu(this);}},Sa=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e;}get parameterMap(){return this._parameterMap??=ko(this.parameters),this._parameterMap;}toString(){return cy(this);}};function rS(t,r){return wo(t,r)&&t.every((e,i)=>Sr(e.parameters,r[i].parameters));}function wo(t,r){return t.length!==r.length?!1:t.every((e,i)=>e.path===r[i].path);}function aS(t,r){let e=[];return Object.entries(t.children).forEach(([i,n])=>{i===Ve&&(e=e.concat(r(n,i)));}),Object.entries(t.children).forEach(([i,n])=>{i!==Ve&&(e=e.concat(r(n,i)));}),e;}var Mo=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:()=>new Ea(),providedIn:"root"});}return t;})(),Ea=class{parse(r){let e=new Df(r);return new Tr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment());}serialize(r){let e=`/${Zl(r.root,!0)}`,i=cS(r.queryParams),n=typeof r.fragment=="string"?`#${sS(r.fragment)}`:"";return`${e}${i}${n}`;}},oS=new Ea();function tu(t){return t.segments.map(r=>cy(r)).join("/");}function Zl(t,r){if(!t.hasChildren())return tu(t);if(r){let e=t.children[Ve]?Zl(t.children[Ve],!1):"",i=[];return Object.entries(t.children).forEach(([n,a])=>{n!==Ve&&i.push(`${n}:${Zl(a,!1)}`);}),i.length>0?`${e}(${i.join("//")})`:e;}else{let e=aS(t,(i,n)=>n===Ve?[Zl(t.children[Ve],!1)]:[`${n}:${Zl(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[Ve]!=null?`${tu(t)}/${e[0]}`:`${tu(t)}/(${e.join("//")})`;}}function ly(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",");}function Kd(t){return ly(t).replace(/%3B/gi,";");}function sS(t){return encodeURI(t);}function wf(t){return ly(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&");}function iu(t){return decodeURIComponent(t);}function Yv(t){return iu(t.replace(/\+/g,"%20"));}function cy(t){return`${wf(t.path)}${lS(t.parameters)}`;}function lS(t){return Object.entries(t).map(([r,e])=>`;${wf(r)}=${wf(e)}`).join("");}function cS(t){let r=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(n=>`${Kd(e)}=${Kd(n)}`).join("&"):`${Kd(e)}=${Kd(i)}`).filter(e=>e);return r.length?`?${r.join("&")}`:"";}var dS=/^[^\/()?;#]+/;function _f(t){let r=t.match(dS);return r?r[0]:"";}var uS=/^[^\/()?;=#]+/;function mS(t){let r=t.match(uS);return r?r[0]:"";}var pS=/^[^=?&#]+/;function hS(t){let r=t.match(pS);return r?r[0]:"";}var fS=/^[^&#]+/;function gS(t){let r=t.match(fS);return r?r[0]:"";}var Df=class{url;remaining;constructor(r){this.url=r,this.remaining=r;}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new dt([],{}):new dt([],this.parseChildren());}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r;}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null;}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(i[Ve]=new dt(r,e)),i;}parseSegment(){let r=_f(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new we(4009,!1);return this.capture(r),new Sa(iu(r),this.parseMatrixParams());}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r;}parseParam(r){let e=mS(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let n=_f(this.remaining);n&&(i=n,this.capture(i));}r[iu(e)]=iu(i);}parseQueryParam(r){let e=hS(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let o=gS(this.remaining);o&&(i=o,this.capture(i));}let n=Yv(e),a=Yv(i);if(r.hasOwnProperty(n)){let o=r[n];Array.isArray(o)||(o=[o],r[n]=o),o.push(a);}else r[n]=a;}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=_f(this.remaining),n=this.remaining[i.length];if(n!=="/"&&n!==")"&&n!==";")throw new we(4010,!1);let a;i.indexOf(":")>-1?(a=i.slice(0,i.indexOf(":")),this.capture(a),this.capture(":")):r&&(a=Ve);let o=this.parseChildren();e[a]=Object.keys(o).length===1?o[Ve]:new dt([],o),this.consumeOptional("//");}return e;}peekStartsWith(r){return this.remaining.startsWith(r);}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1;}capture(r){if(!this.consumeOptional(r))throw new we(4011,!1);}};function dy(t){return t.segments.length>0?new dt([],{[Ve]:t}):t;}function uy(t){let r={};for(let[i,n]of Object.entries(t.children)){let a=uy(n);if(i===Ve&&a.segments.length===0&&a.hasChildren())for(let[o,s]of Object.entries(a.children))r[o]=s;else(a.segments.length>0||a.hasChildren())&&(r[i]=a);}let e=new dt(t.segments,r);return _S(e);}function _S(t){if(t.numberOfChildren===1&&t.children[Ve]){let r=t.children[Ve];return new dt(t.segments.concat(r.segments),r.children);}return t;}function Ta(t){return t instanceof Tr;}function my(t,r,e=null,i=null){let n=py(t);return hy(n,r,e,i);}function py(t){let r;function e(a){let o={};for(let u of a.children){let h=e(u);o[u.outlet]=h;}let s=new dt(a.url,o);return a===t&&(r=s),s;}let i=e(t.root),n=dy(i);return r??n;}function hy(t,r,e,i){let n=t;for(;n.parent;)n=n.parent;if(r.length===0)return bf(n,n,n,e,i);let a=bS(r);if(a.toRoot())return bf(n,n,new dt([],{}),e,i);let o=vS(a,n,t),s=o.processChildren?Jl(o.segmentGroup,o.index,a.commands):gy(o.segmentGroup,o.index,a.commands);return bf(n,o.segmentGroup,s,e,i);}function nu(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath;}function tc(t){return typeof t=="object"&&t!=null&&t.outlets;}function bf(t,r,e,i,n){let a={};i&&Object.entries(i).forEach(([u,h])=>{a[u]=Array.isArray(h)?h.map(f=>`${f}`):`${h}`;});let o;t===r?o=e:o=fy(t,r,e);let s=dy(uy(o));return new Tr(s,a,n);}function fy(t,r,e){let i={};return Object.entries(t.children).forEach(([n,a])=>{a===r?i[n]=e:i[n]=fy(a,r,e);}),new dt(t.segments,i);}var ru=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,i){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=i,r&&i.length>0&&nu(i[0]))throw new we(4003,!1);let n=i.find(tc);if(n&&n!==ny(i))throw new we(4004,!1);}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/";}};function bS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ru(!0,0,t);let r=0,e=!1,i=t.reduce((n,a,o)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let s={};return Object.entries(a.outlets).forEach(([u,h])=>{s[u]=typeof h=="string"?h.split("/"):h;}),[...n,{outlets:s}];}if(a.segmentPath)return[...n,a.segmentPath];}return typeof a!="string"?[...n,a]:o===0?(a.split("/").forEach((s,u)=>{u==0&&s==="."||(u==0&&s===""?e=!0:s===".."?r++:s!=""&&n.push(s));}),n):[...n,a];},[]);return new ru(e,r,i);}var Cs=class{segmentGroup;processChildren;index;constructor(r,e,i){this.segmentGroup=r,this.processChildren=e,this.index=i;}};function vS(t,r,e){if(t.isAbsolute)return new Cs(r,!0,0);if(!e)return new Cs(r,!1,NaN);if(e.parent===null)return new Cs(e,!0,0);let i=nu(t.commands[0])?0:1,n=e.segments.length-1+i;return yS(e,n,t.numberOfDoubleDots);}function yS(t,r,e){let i=t,n=r,a=e;for(;a>n;){if(a-=n,i=i.parent,!i)throw new we(4005,!1);n=i.segments.length;}return new Cs(i,!1,n-a);}function xS(t){return tc(t[0])?t[0].outlets:{[Ve]:t};}function gy(t,r,e){if(t??=new dt([],{}),t.segments.length===0&&t.hasChildren())return Jl(t,r,e);let i=CS(t,r,e),n=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let a=new dt(t.segments.slice(0,i.pathIndex),{});return a.children[Ve]=new dt(t.segments.slice(i.pathIndex),t.children),Jl(a,0,n);}else return i.match&&n.length===0?new dt(t.segments,{}):i.match&&!t.hasChildren()?kf(t,r,e):i.match?Jl(t,0,n):kf(t,r,e);}function Jl(t,r,e){if(e.length===0)return new dt(t.segments,{});{let i=xS(e),n={};if(Object.keys(i).some(a=>a!==Ve)&&t.children[Ve]&&t.numberOfChildren===1&&t.children[Ve].segments.length===0){let a=Jl(t.children[Ve],r,e);return new dt(t.segments,a.children);}return Object.entries(i).forEach(([a,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(n[a]=gy(t.children[a],r,o));}),Object.entries(t.children).forEach(([a,o])=>{i[a]===void 0&&(n[a]=o);}),new dt(t.segments,n);}}function CS(t,r,e){let i=0,n=r,a={match:!1,pathIndex:0,commandIndex:0};for(;n<t.segments.length;){if(i>=e.length)return a;let o=t.segments[n],s=e[i];if(tc(s))break;let u=`${s}`,h=i<e.length-1?e[i+1]:null;if(n>0&&u===void 0)break;if(u&&h&&typeof h=="object"&&h.outlets===void 0){if(!Zv(u,h,o))return a;i+=2;}else{if(!Zv(u,{},o))return a;i++;}n++;}return{match:!0,pathIndex:n,commandIndex:i};}function kf(t,r,e){let i=t.segments.slice(0,r),n=0;for(;n<e.length;){let a=e[n];if(tc(a)){let u=wS(a.outlets);return new dt(i,u);}if(n===0&&nu(e[0])){let u=t.segments[r];i.push(new Sa(u.path,Xv(e[0]))),n++;continue;}let o=tc(a)?a.outlets[Ve]:`${a}`,s=n<e.length-1?e[n+1]:null;o&&s&&nu(s)?(i.push(new Sa(o,Xv(s))),n+=2):(i.push(new Sa(o,{})),n++);}return new dt(i,{});}function wS(t){let r={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(r[e]=kf(new dt([],{}),0,i));}),r;}function Xv(t){let r={};return Object.entries(t).forEach(([e,i])=>r[e]=`${i}`),r;}function Zv(t,r,e){return t==e.path&&Sr(r,e.parameters);}var ws="imperative",Kt=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t;}(Kt||{}),Tn=class{id;url;constructor(r,e){this.id=r,this.url=e;}},Gn=class extends Tn{type=Kt.NavigationStart;navigationTrigger;restoredState;constructor(r,e,i="imperative",n=null){super(r,e),this.navigationTrigger=i,this.restoredState=n;}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`;}},Li=class extends Tn{urlAfterRedirects;type=Kt.NavigationEnd;constructor(r,e,i){super(r,e),this.urlAfterRedirects=i;}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;}},Fi=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t;}(Fi||{}),ks=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t;}(ks||{}),Er=class extends Tn{reason;code;type=Kt.NavigationCancel;constructor(r,e,i,n){super(r,e),this.reason=i,this.code=n;}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`;}},Ir=class extends Tn{reason;code;type=Kt.NavigationSkipped;constructor(r,e,i,n){super(r,e),this.reason=i,this.code=n;}},Ms=class extends Tn{error;target;type=Kt.NavigationError;constructor(r,e,i,n){super(r,e),this.error=i,this.target=n;}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;}},ic=class extends Tn{urlAfterRedirects;state;type=Kt.RoutesRecognized;constructor(r,e,i,n){super(r,e),this.urlAfterRedirects=i,this.state=n;}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},au=class extends Tn{urlAfterRedirects;state;type=Kt.GuardsCheckStart;constructor(r,e,i,n){super(r,e),this.urlAfterRedirects=i,this.state=n;}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},ou=class extends Tn{urlAfterRedirects;state;shouldActivate;type=Kt.GuardsCheckEnd;constructor(r,e,i,n,a){super(r,e),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=a;}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`;}},su=class extends Tn{urlAfterRedirects;state;type=Kt.ResolveStart;constructor(r,e,i,n){super(r,e),this.urlAfterRedirects=i,this.state=n;}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},lu=class extends Tn{urlAfterRedirects;state;type=Kt.ResolveEnd;constructor(r,e,i,n){super(r,e),this.urlAfterRedirects=i,this.state=n;}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},cu=class{route;type=Kt.RouteConfigLoadStart;constructor(r){this.route=r;}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`;}},du=class{route;type=Kt.RouteConfigLoadEnd;constructor(r){this.route=r;}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`;}},uu=class{snapshot;type=Kt.ChildActivationStart;constructor(r){this.snapshot=r;}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},mu=class{snapshot;type=Kt.ChildActivationEnd;constructor(r){this.snapshot=r;}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},pu=class{snapshot;type=Kt.ActivationStart;constructor(r){this.snapshot=r;}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},hu=class{snapshot;type=Kt.ActivationEnd;constructor(r){this.snapshot=r;}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},Ss=class{routerEvent;position;anchor;type=Kt.Scroll;constructor(r,e,i){this.routerEvent=r,this.position=e,this.anchor=i;}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`;}},nc=class{},Es=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e;}};function DS(t){return!(t instanceof nc)&&!(t instanceof Es);}function kS(t,r){return t.providers&&!t._injector&&(t._injector=Cd(t.providers,r,`Route: ${t.path}`)),t._injector??r;}function ar(t){return t.outlet||Ve;}function MS(t,r){let e=t.filter(i=>ar(i)===r);return e.push(...t.filter(i=>ar(i)!==r)),e;}function As(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector;}return null;}var fu=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return As(this.route?.snapshot)??this.rootInjector;}constructor(r){this.rootInjector=r,this.children=new So(this.rootInjector);}},So=(()=>{class t{rootInjector;contexts=new Map();constructor(e){this.rootInjector=e;}onChildOutletCreated(e,i){let n=this.getOrCreateContext(e);n.outlet=i,this.contexts.set(e,n);}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null);}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map(),e;}onOutletReAttached(e){this.contexts=e;}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new fu(this.rootInjector),this.contexts.set(e,i)),i;}getContext(e){return this.contexts.get(e)||null;}static ɵfac=function(i){return new(i||t)(le(Ai));};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),gu=class{_root;constructor(r){this._root=r;}get root(){return this._root.value;}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null;}children(r){let e=Mf(r,this._root);return e?e.children.map(i=>i.value):[];}firstChild(r){let e=Mf(r,this._root);return e&&e.children.length>0?e.children[0].value:null;}siblings(r){let e=Sf(r,this._root);return e.length<2?[]:e[e.length-2].children.map(n=>n.value).filter(n=>n!==r);}pathFromRoot(r){return Sf(r,this._root).map(e=>e.value);}};function Mf(t,r){if(t===r.value)return r;for(let e of r.children){let i=Mf(t,e);if(i)return i;}return null;}function Sf(t,r){if(t===r.value)return[r];for(let e of r.children){let i=Sf(t,e);if(i.length)return i.unshift(r),i;}return[];}var En=class{value;children;constructor(r,e){this.value=r,this.children=e;}toString(){return`TreeNode(${this.value})`;}};function xs(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r;}var rc=class extends gu{snapshot;constructor(r,e){super(r),this.snapshot=e,Ff(this,r);}toString(){return this.snapshot.toString();}};function _y(t){let r=SS(t),e=new Mt([new Sa("",{})]),i=new Mt({}),n=new Mt({}),a=new Mt({}),o=new Mt(""),s=new In(e,i,a,o,n,Ve,t,r.root);return s.snapshot=r.root,new rc(new En(s,[]),r);}function SS(t){let r={},e={},i={},a=new Do([],r,i,"",e,Ve,t,null,{});return new ac("",new En(a,[]));}var In=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,i,n,a,o,s,u){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=n,this.dataSubject=a,this.outlet=o,this.component=s,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(me(h=>h[cc]))??ae(void 0),this.url=r,this.params=e,this.queryParams=i,this.fragment=n,this.data=a;}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(me(r=>ko(r))),this._paramMap;}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(me(r=>ko(r))),this._queryParamMap;}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`;}};function _u(t,r,e="emptyOnly"){let i,{routeConfig:n}=t;return r!==null&&(e==="always"||n?.path===""||!r.component&&!r.routeConfig?.loadComponent)?i={params:W(W({},r.params),t.params),data:W(W({},r.data),t.data),resolve:W(W(W(W({},t.data),r.data),n?.data),t._resolvedData)}:i={params:W({},t.params),data:W({},t.data),resolve:W(W({},t.data),t._resolvedData??{})},n&&vy(n)&&(i.resolve[cc]=n.title),i;}var Do=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[cc];}constructor(r,e,i,n,a,o,s,u,h){this.url=r,this.params=e,this.queryParams=i,this.fragment=n,this.data=a,this.outlet=o,this.component=s,this.routeConfig=u,this._resolve=h;}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??=ko(this.params),this._paramMap;}get queryParamMap(){return this._queryParamMap??=ko(this.queryParams),this._queryParamMap;}toString(){let r=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`;}},ac=class extends gu{url;constructor(r,e){super(e),this.url=r,Ff(this,e);}toString(){return by(this._root);}};function Ff(t,r){r.value._routerState=t,r.children.forEach(e=>Ff(t,e));}function by(t){let r=t.children.length>0?` { ${t.children.map(by).join(", ")} } `:"";return`${t.value}${r}`;}function vf(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Sr(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Sr(r.params,e.params)||t.paramsSubject.next(e.params),eS(r.url,e.url)||t.urlSubject.next(e.url),Sr(r.data,e.data)||t.dataSubject.next(e.data);}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data);}function Ef(t,r){let e=Sr(t.params,r.params)&&rS(t.url,r.url),i=!t.parent!=!r.parent;return e&&!i&&(!t.parent||Ef(t.parent,r.parent));}function vy(t){return typeof t.title=="string"||t.title===null;}var yy=new F(""),ea=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated;}_activatedRoute=null;name=Ve;activateEvents=new $();deactivateEvents=new $();attachEvents=new $();detachEvents=new $();routerOutletData=je(void 0);parentContexts=p(So);location=p(bt);changeDetector=p(ve);inputBinder=p(dc,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:n}=e.name;if(i)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),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 we(4012,!1);return this.activated.instance;}get activatedRoute(){if(!this.activated)throw new we(4012,!1);return this._activatedRoute;}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{};}detach(){if(!this.activated)throw new we(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e;}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance);}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e);}}activateWith(e,i){if(this.isActivated)throw new we(4013,!1);this._activatedRoute=e;let n=this.location,o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,u=new Tf(e,s,n.injector,this.routerOutletData);this.activated=n.createComponent(o,{index:n.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance);}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ne]});}return t;})(),Tf=class{route;childContexts;parent;outletData;constructor(r,e,i,n){this.route=r,this.childContexts=e,this.parent=i,this.outletData=n;}get(r,e){return r===In?this.route:r===So?this.childContexts:r===yy?this.outletData:this.parent.get(r,e);}},dc=new F(""),Lf=(()=>{class t{outletDataSubscriptions=new Map();bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeT ��oRouteData(e);}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e);}subscribeToRouteData(e){let{activatedRoute:i}=e,n=_r([i.queryParams,i.params,i.data]).pipe(_t(([a,o,s],u)=>(s=W(W(W({},a),o),s),u===0?ae(s):Promise.resolve(s)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return;}let o=Jb(i.component);if(!o){this.unsubscribeFromRouteData(e);return;}for(let{templateName:s}of o.inputs)e.activatedComponentRef.setInput(s,a[s]);});this.outletDataSubscriptions.set(e,n);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})(),Nf=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,n){i&1&&x(0,"router-outlet");},dependencies:[ea],encapsulation:2});}return t;})();function zf(t){let r=t.children&&t.children.map(zf),e=r?ot(W({},t),{children:r}):W({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==Ve&&(e.component=Nf),e;}function ES(t,r,e){let i=oc(t,r._root,e?e._root:void 0);return new rc(i,r);}function oc(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=r.value;let n=TS(t,r,e);return new En(i,n);}else{if(t.shouldAttach(r.value)){let a=t.retrieve(r.value);if(a!==null){let o=a.route;return o.value._futureSnapshot=r.value,o.children=r.children.map(s=>oc(t,s)),o;}}let i=IS(r.value),n=r.children.map(a=>oc(t,a));return new En(i,n);}}function TS(t,r,e){return r.children.map(i=>{for(let n of e.children)if(t.shouldReuseRoute(i.value,n.value.snapshot))return oc(t,i,n);return oc(t,i);});}function IS(t){return new In(new Mt(t.url),new Mt(t.params),new Mt(t.queryParams),new Mt(t.fragment),new Mt(t.data),t.outlet,t.component,t);}var Ts=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e;}},xy="ngNavigationCancelingError";function bu(t,r){let{redirectTo:e,navigationBehaviorOptions:i}=Ta(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,n=Cy(!1,Fi.Redirect);return n.url=e,n.navigationBehaviorOptions=i,n;}function Cy(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[xy]=!0,e.cancellationCode=r,e;}function AS(t){return wy(t)&&Ta(t.url);}function wy(t){return!!t&&t[xy];}var RS=(t,r,e,i)=>me(n=>(new If(r,n.targetRouterState,n.currentRouterState,e,i).activate(t),n)),If=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,i,n,a){this.routeReuseStrategy=r,this.futureState=e,this.currState=i,this.forwardEvent=n,this.inputBindingEnabled=a;}activate(r){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,r),vf(this.futureState.root),this.activateChildRoutes(e,i,r);}deactivateChildRoutes(r,e,i){let n=xs(e);r.children.forEach(a=>{let o=a.value.outlet;this.deactivateRoutes(a,n[o],i),delete n[o];}),Object.values(n).forEach(a=>{this.deactivateRouteAndItsChildren(a,i);});}deactivateRoutes(r,e,i){let n=r.value,a=e?e.value:null;if(n===a){if(n.component){let o=i.getContext(n.outlet);o&&this.deactivateChildRoutes(r,e,o.children);}else this.deactivateChildRoutes(r,e,i);}else a&&this.deactivateRouteAndItsChildren(e,i);}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e);}detachAndStoreRouteSubtree(r,e){let i=e.getContext(r.value.outlet),n=i&&r.value.component?i.children:e,a=xs(r);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,n);if(i&&i.outlet){let o=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:o,route:r,contexts:s});}}deactivateRouteAndOutlet(r,e){let i=e.getContext(r.value.outlet),n=i&&r.value.component?i.children:e,a=xs(r);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,n);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null);}activateChildRoutes(r,e,i){let n=xs(e);r.children.forEach(a=>{this.activateRoutes(a,n[a.value.outlet],i),this.forwardEvent(new hu(a.value.snapshot));}),r.children.length&&this.forwardEvent(new mu(r.value.snapshot));}activateRoutes(r,e,i){let n=r.value,a=e?e.value:null;if(vf(n),n===a){if(n.component){let o=i.getOrCreateContext(n.outlet);this.activateChildRoutes(r,e,o.children);}else this.activateChildRoutes(r,e,i);}else if(n.component){let o=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let s=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),vf(s.route.value),this.activateChildRoutes(r,null,o.children);}else o.attachRef=null,o.route=n,o.outlet&&o.outlet.activateWith(n,o.injector),this.activateChildRoutes(r,null,o.children);}else this.activateChildRoutes(r,null,i);}},vu=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1];}},Ds=class{component;route;constructor(r,e){this.component=r,this.route=e;}};function PS(t,r,e){let i=t._root,n=r?r._root:null;return Kl(i,n,e,[i.value]);}function OS(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r};}function Rs(t,r){let e=Symbol(),i=r.get(t,e);return i===e?typeof t=="function"&&!kb(t)?t:r.get(t):i;}function Kl(t,r,e,i,n={canDeactivateChecks:[],canActivateChecks:[]}){let a=xs(r);return t.children.forEach(o=>{FS(o,a[o.value.outlet],e,i.concat([o.value]),n),delete a[o.value.outlet];}),Object.entries(a).forEach(([o,s])=>ec(s,e.getContext(o),n)),n;}function FS(t,r,e,i,n={canDeactivateChecks:[],canActivateChecks:[]}){let a=t.value,o=r?r.value:null,s=e?e.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){let u=LS(o,a,a.routeConfig.runGuardsAndResolvers);u?n.canActivateChecks.push(new vu(i)):(a.data=o.data,a._resolvedData=o._resolvedData),a.component?Kl(t,r,s?s.children:null,i,n):Kl(t,r,e,i,n),u&&s&&s.outlet&&s.outlet.isActivated&&n.canDeactivateChecks.push(new Ds(s.outlet.component,o));}else o&&ec(r,s,n),n.canActivateChecks.push(new vu(i)),a.component?Kl(t,null,s?s.children:null,i,n):Kl(t,null,e,i,n);return n;}function LS(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!wo(t.url,r.url);case"pathParamsOrQueryParamsChange":return!wo(t.url,r.url)||!Sr(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ef(t,r)||!Sr(t.queryParams,r.queryParams);case"paramsChange":default:return!Ef(t,r);}}function ec(t,r,e){let i=xs(t),n=t.value;Object.entries(i).forEach(([a,o])=>{n.component?r?ec(o,r.children.getContext(a),e):ec(o,null,e):ec(o,r,e);}),n.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new Ds(r.outlet.component,n)):e.canDeactivateChecks.push(new Ds(null,n)):e.canDeactivateChecks.push(new Ds(null,n));}function uc(t){return typeof t=="function";}function NS(t){return typeof t=="boolean";}function zS(t){return t&&uc(t.canLoad);}function BS(t){return t&&uc(t.canActivate);}function VS(t){return t&&uc(t.canActivateChild);}function $S(t){return t&&uc(t.canDeactivate);}function jS(t){return t&&uc(t.canMatch);}function Dy(t){return t instanceof yb||t?.name==="EmptyError";}var Jd=Symbol("INITIAL_VALUE");function Is(){return _t(t=>_r(t.map(r=>r.pipe(fe(1),st(Jd)))).pipe(me(r=>{for(let e of r)if(e!==!0){if(e===Jd)return Jd;if(e===!1||HS(e))return e;}return!0;}),Re(r=>r!==Jd),fe(1)));}function HS(t){return Ta(t)||t instanceof Ts;}function US(t,r){return Xi(e=>{let{targetSnapshot:i,currentSnapshot:n,guards:{canActivateChecks:a,canDeactivateChecks:o}}=e;return o.length===0&&a.length===0?ae(ot(W({},e),{guardsResult:!0})):WS(o,i,n,t).pipe(Xi(s=>s&&NS(s)?qS(i,a,t,r):ae(s)),me(s=>ot(W({},e),{guardsResult:s})));});}function WS(t,r,e,i){return mi(t).pipe(Xi(n=>ZS(n.component,n.route,e,r,i)),xa(n=>n!==!0,!0));}function qS(t,r,e,i){return mi(r).pipe(Ur(n=>bd(QS(n.route.parent,i),GS(n.route,i),XS(t,n.path,e),YS(t,n.route,e))),xa(n=>n!==!0,!0));}function GS(t,r){return t!==null&&r&&r(new pu(t)),ae(!0);}function QS(t,r){return t!==null&&r&&r(new uu(t)),ae(!0);}function YS(t,r,e){let i=r.routeConfig?r.routeConfig.canActivate:null;if(!i||i.length===0)return ae(!0);let n=i.map(a=>br(()=>{let o=As(r)??e,s=Rs(a,o),u=BS(s)?s.canActivate(r,t):Ki(o,()=>s(r,t));return Jr(u).pipe(xa());}));return ae(n).pipe(Is());}function XS(t,r,e){let i=r[r.length-1],a=r.slice(0,r.length-1).reverse().map(o=>OS(o)).filter(o=>o!==null).map(o=>br(()=>{let s=o.guards.map(u=>{let h=As(o.node)??e,f=Rs(u,h),_=VS(f)?f.canActivateChild(i,t):Ki(h,()=>f(i,t));return Jr(_).pipe(xa());});return ae(s).pipe(Is());}));return ae(a).pipe(Is());}function ZS(t,r,e,i,n){let a=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!a||a.length===0)return ae(!0);let o=a.map(s=>{let u=As(r)??n,h=Rs(s,u),f=$S(h)?h.canDeactivate(t,r,e,i):Ki(u,()=>h(t,r,e,i));return Jr(f).pipe(xa());});return ae(o).pipe(Is());}function KS(t,r,e,i){let n=r.canLoad;if(n===void 0||n.length===0)return ae(!0);let a=n.map(o=>{let s=Rs(o,t),u=zS(s)?s.canLoad(r,e):Ki(t,()=>s(r,e));return Jr(u);});return ae(a).pipe(Is(),ky(i));}function ky(t){return vb(Nt(r=>{if(typeof r!="boolean")throw bu(t,r);}),me(r=>r===!0));}function JS(t,r,e,i){let n=r.canMatch;if(!n||n.length===0)return ae(!0);let a=n.map(o=>{let s=Rs(o,t),u=jS(s)?s.canMatch(r,e):Ki(t,()=>s(r,e));return Jr(u);});return ae(a).pipe(Is(),ky(i));}var sc=class{segmentGroup;constructor(r){this.segmentGroup=r||null;}},lc=class extends Error{urlTree;constructor(r){super(),this.urlTree=r;}};function ys(t){return oo(new sc(t));}function eE(t){return oo(new we(4e3,!1));}function tE(t){return oo(Cy(!1,Fi.GuardRejected));}var Af=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e;}lineralizeSegments(r,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),n.numberOfChildren===0)return ae(i);if(n.numberOfChildren>1||!n.children[Ve])return eE(`${r.redirectTo}`);n=n.children[Ve];}}applyRedirectCommands(r,e,i,n,a){return iE(e,n,a).pipe(me(o=>{if(o instanceof Tr)throw new lc(o);let s=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),r,i);if(o[0]==="/")throw new lc(s);return s;}));}applyRedirectCreateUrlTree(r,e,i,n){let a=this.createSegmentGroup(r,e.root,i,n);return new Tr(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment);}createQueryParams(r,e){let i={};return Object.entries(r).forEach(([n,a])=>{if(typeof a=="string"&&a[0]===":"){let s=a.substring(1);i[n]=e[s];}else i[n]=a;}),i;}createSegmentGroup(r,e,i,n){let a=this.createSegments(r,e.segments,i,n),o={};return Object.entries(e.children).forEach(([s,u])=>{o[s]=this.createSegmentGroup(r,u,i,n);}),new dt(a,o);}createSegments(r,e,i,n){return e.map(a=>a.path[0]===":"?this.findPosParam(r,a,n):this.findOrReturn(a,i));}findPosParam(r,e,i){let n=i[e.path.substring(1)];if(!n)throw new we(4001,!1);return n;}findOrReturn(r,e){let i=0;for(let n of e){if(n.path===r.path)return e.splice(i),n;i++;}return r;}};function iE(t,r,e){if(typeof t=="string")return ae(t);let i=t,{queryParams:n,fragment:a,routeConfig:o,url:s,outlet:u,params:h,data:f,title:_}=r;return Jr(Ki(e,()=>i({params:h,data:f,queryParams:n,fragment:a,routeConfig:o,url:s,outlet:u,title:_})));}var Rf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function nE(t,r,e,i,n){let a=My(t,r,e);return a.matched?(i=kS(r,i),JS(i,r,e,n).pipe(me(o=>o===!0?a:W({},Rf)))):ae(a);}function My(t,r,e){if(r.path==="**")return rE(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?W({},Rf):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let n=(r.matcher||ty)(e,t,r);if(!n)return W({},Rf);let a={};Object.entries(n.posParams??{}).forEach(([s,u])=>{a[s]=u.path;});let o=n.consumed.length>0?W(W({},a),n.consumed[n.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:n.consumed,remainingSegments:e.slice(n.consumed.length),parameters:o,positionalParamSegments:n.posParams??{}};}function rE(t){return{matched:!0,parameters:t.length>0?ny(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}};}function Kv(t,r,e,i){return e.length>0&&sE(t,e,i)?{segmentGroup:new dt(r,oE(i,new dt(e,t.children))),slicedSegments:[]}:e.length===0&&lE(t,e,i)?{segmentGroup:new dt(t.segments,aE(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new dt(t.segments,t.children),slicedSegments:e};}function aE(t,r,e,i){let n={};for(let a of e)if(xu(t,r,a)&&!i[ar(a)]){let o=new dt([],{});n[ar(a)]=o;}return W(W({},i),n);}function oE(t,r){let e={};e[Ve]=r;for(let i of t)if(i.path===""&&ar(i)!==Ve){let n=new dt([],{});e[ar(i)]=n;}return e;}function sE(t,r,e){return e.some(i=>xu(t,r,i)&&ar(i)!==Ve);}function lE(t,r,e){return e.some(i=>xu(t,r,i));}function xu(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path==="";}function cE(t,r,e){return r.length===0&&!t.children[e];}var Pf=class{};function dE(t,r,e,i,n,a,o="emptyOnly"){return new Of(t,r,e,i,n,o,a).recognize();}var uE=31,Of=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,i,n,a,o,s){this.injector=r,this.configLoader=e,this.rootComponentType=i,this.config=n,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.applyRedirects=new Af(this.urlSerializer,this.urlTree);}noMatchError(r){return new we(4002,`'${r.segmentGroup}'`);}recognize(){let r=Kv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(me(({children:e,rootSnapshot:i})=>{let n=new En(i,e),a=new ac("",n),o=my(i,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(o),{state:a,tree:o};}));}match(r){let e=new Do([],Object.freeze({}),Object.freeze(W({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Ve,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,Ve,e).pipe(me(i=>({children:i,rootSnapshot:e})),Zi(i=>{if(i instanceof lc)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof sc?this.noMatchError(i):i;}));}processSegmentGroup(r,e,i,n,a){return i.segments.length===0&&i.hasChildren()?this.processChildren(r,e,i,a):this.processSegment(r,e,i,i.segments,n,!0,a).pipe(me(o=>o instanceof En?[o]:[]));}processChildren(r,e,i,n){let a=[];for(let o of Object.keys(i.children))o==="primary"?a.unshift(o):a.push(o);return mi(a).pipe(Ur(o=>{let s=i.children[o],u=MS(e,o);return this.processSegmentGroup(r,u,s,o,n);}),wb((o,s)=>(o.push(...s),o)),kh(null),Cb(),Xi(o=>{if(o===null)return ys(i);let s=Sy(o);return mE(s),ae(s);}));}processSegment(r,e,i,n,a,o,s){return mi(e).pipe(Ur(u=>this.processSegmentAgainstRoute(u._injector??r,e,u,i,n,a,o,s).pipe(Zi(h=>{if(h instanceof sc)return ae(null);throw h;}))),xa(u=>!!u),Zi(u=>{if(Dy(u))return cE(i,n,a)?ae(new Pf()):ys(i);throw u;}));}processSegmentAgainstRoute(r,e,i,n,a,o,s,u){return ar(i)!==o&&(o===Ve||!xu(n,a,i))?ys(n):i.redirectTo===void 0?this.matchSegmentAgainstRoute(r,n,i,a,o,u):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(r,n,e,i,a,o,u):ys(n);}expandSegmentAgainstRouteUsingRedirect(r,e,i,n,a,o,s){let{matched:u,parameters:h,consumedSegments:f,positionalParamSegments:_,remainingSegments:y}=My(e,n,a);if(!u)return ys(e);typeof n.redirectTo=="string"&&n.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>uE&&(this.allowRedirects=!1));let w=new Do(a,h,Object.freeze(W({},this.urlTree.queryParams)),this.urlTree.fragment,Jv(n),ar(n),n.component??n._loadedComponent??null,n,ey(n)),C=_u(w,s,this.paramsInheritanceStrategy);return w.params=Object.freeze(C.params),w.data=Object.freeze(C.data),this.applyRedirects.applyRedirectCommands(f,n.redirectTo,_,w,r).pipe(_t(L=>this.applyRedirects.lineralizeSegments(n,L)),Xi(L=>this.processSegment(r,i,e,L.concat(y),o,!1,s)));}matchSegmentAgainstRoute(r,e,i,n,a,o){let s=nE(e,i,n,r,this.urlSerializer);return i.path==="**"&&(e.children={}),s.pipe(_t(u=>u.matched?(r=i._injector??r,this.getChildConfig(r,i,n).pipe(_t(({routes:h})=>{let f=i._loadedInjector??r,{parameters:_,consumedSegments:y,remainingSegments:w}=u,C=new Do(y,_,Object.freeze(W({},this.urlTree.queryParams)),this.urlTree.fragment,Jv(i),ar(i),i.component??i._loadedComponent??null,i,ey(i)),z=_u(C,o,this.paramsInheritanceStrategy);C.params=Object.freeze(z.params),C.data=Object.freeze(z.data);let{segmentGroup:L,slicedSegments:Z}=Kv(e,y,w,h);if(Z.length===0&&L.hasChildren())return this.processChildren(f,h,L,C).pipe(me(j=>new En(C,j)));if(h.length===0&&Z.length===0)return ae(new En(C,[]));let V=ar(i)===a;return this.processSegment(f,h,L,Z,V?Ve:a,!0,C).pipe(me(j=>new En(C,j instanceof En?[j]:[])));}))):ys(e)));}getChildConfig(r,e,i){return e.children?ae({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?ae({routes:e._loadedRoutes,injector:e._loadedInjector}):KS(r,e,i,this.urlSerializer).pipe(Xi(n=>n?this.configLoader.loadChildren(r,e).pipe(Nt(a=>{e._loadedRoutes=a.routes,e._loadedInjector=a.injector;})):tE(e))):ae({routes:[],injector:r});}};function mE(t){t.sort((r,e)=>r.value.outlet===Ve?-1:e.value.outlet===Ve?1:r.value.outlet.localeCompare(e.value.outlet));}function pE(t){let r=t.value.routeConfig;return r&&r.path==="";}function Sy(t){let r=[],e=new Set();for(let i of t){if(!pE(i)){r.push(i);continue;}let n=r.find(a=>i.value.routeConfig===a.value.routeConfig);n!==void 0?(n.children.push(...i.children),e.add(n)):r.push(i);}for(let i of e){let n=Sy(i.children);r.push(new En(i.value,n));}return r.filter(i=>!e.has(i));}function Jv(t){return t.data||{};}function ey(t){return t.resolve||{};}function hE(t,r,e,i,n,a){return Xi(o=>dE(t,r,e,i,o.extractedUrl,n,a).pipe(me(({state:s,tree:u})=>ot(W({},o),{targetSnapshot:s,urlAfterRedirects:u}))));}function fE(t,r){return Xi(e=>{let{targetSnapshot:i,guards:{canActivateChecks:n}}=e;if(!n.length)return ae(e);let a=new Set(n.map(u=>u.route)),o=new Set();for(let u of a)if(!o.has(u))for(let h of Ey(u))o.add(h);let s=0;return mi(o).pipe(Ur(u=>a.has(u)?gE(u,i,t,r):(u.data=_u(u,u.parent,t).resolve,ae(void 0))),Nt(()=>s++),Eh(1),Xi(u=>s===o.size?ae(e):Ii));});}function Ey(t){let r=t.children.map(e=>Ey(e)).flat();return[t,...r];}function gE(t,r,e,i){let n=t.routeConfig,a=t._resolve;return n?.title!==void 0&&!vy(n)&&(a[cc]=n.title),br(()=>(t.data=_u(t,t.parent,e).resolve,_E(a,t,r,i).pipe(me(o=>(t._resolvedData=o,t.data=W(W({},t.data),o),null)))));}function _E(t,r,e,i){let n=Cf(t);if(n.length===0)return ae({});let a={};return mi(n).pipe(Xi(o=>bE(t[o],r,e,i).pipe(xa(),Nt(s=>{if(s instanceof Ts)throw bu(new Ea(),s);a[o]=s;}))),Eh(1),me(()=>a),Zi(o=>Dy(o)?Ii:oo(o)));}function bE(t,r,e,i){let n=As(r)??i,a=Rs(t,n),o=a.resolve?a.resolve(r,e):Ki(n,()=>a(r,e));return Jr(o);}function yf(t){return _t(r=>{let e=t(r);return e?mi(e).pipe(me(()=>r)):ae(r);});}var Bf=(()=>{class t{buildTitle(e){let i,n=e.root;for(;n!==void 0;)i=this.getResolvedTitleForRoute(n)??i,n=n.children.find(a=>a.outlet===Ve);return i;}getResolvedTitleForRoute(e){return e.data[cc];}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:()=>p(Ty),providedIn:"root"});}return t;})(),Ty=(()=>{class t extends Bf{title;constructor(e){super(),this.title=e;}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i);}static ɵfac=function(i){return new(i||t)(le(ki));};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Ia=new F("",{providedIn:"root",factory:()=>({})}),Eo=new F(""),Cu=(()=>{class t{componentLoaders=new WeakMap();childrenLoaders=new WeakMap();onLoadStartListener;onLoadEndListener;compiler=p(Gb);loadComponent(e,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return ae(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let n=Jr(Ki(e,()=>i.loadComponent())).pipe(me(Ay),_t(Ry),Nt(o=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=o;}),Wr(()=>{this.componentLoaders.delete(i);})),a=new Dl(n,()=>new Q()).pipe(wh());return this.componentLoaders.set(i,a),a;}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ae({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Iy(i,this.compiler,e,this.onLoadEndListener).pipe(Wr(()=>{this.childrenLoaders.delete(i);})),o=new Dl(a,()=>new Q()).pipe(wh());return this.childrenLoaders.set(i,o),o;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function Iy(t,r,e,i){return Jr(Ki(e,()=>t.loadChildren())).pipe(me(Ay),_t(Ry),Xi(n=>n instanceof jb||Array.isArray(n)?ae(n):mi(r.compileModuleAsync(n))),me(n=>{i&&i(t);let a,o,s=!1;return Array.isArray(n)?(o=n,s=!0):(a=n.create(e).injector,o=a.get(Eo,[],{optional:!0,self:!0}).flat()),{routes:o.map(zf),injector:a};}));}function vE(t){return t&&typeof t=="object"&&"default"in t;}function Ay(t){return vE(t)?t.default:t;}function Ry(t){return ae(t);}var wu=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:()=>p(yE),providedIn:"root"});}return t;})(),yE=(()=>{class t{shouldProcessUrl(e){return!0;}extract(e){return e;}merge(e,i){return e;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Vf=new F(""),$f=new F("");function Py(t,r,e){let i=t.get($f),n=t.get(he);if(!n.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(h=>setTimeout(h));let a,o=new Promise(h=>{a=h;}),s=n.startViewTransition(()=>(a(),xE(t)));s.ready.catch(h=>{});let{onViewTransitionCreated:u}=i;return u&&Ki(t,()=>u({transition:s,from:r,to:e})),o;}function xE(t){return new Promise(r=>{ut({read:()=>setTimeout(r)},{injector:t});});}var jf=new F(""),Du=(()=>{class t{currentNavigation=B(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new Q();transitionAbortWithErrorSubject=new Q();configLoader=p(Cu);environmentInjector=p(Ai);destroyRef=p(Il);urlSerializer=p(Mo);rootContexts=p(So);location=p(Dr);inputBindingEnabled=p(dc,{optional:!0})!==null;titleStrategy=p(Bf);options=p(Ia,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(wu);createViewTransition=p(Vf,{optional:!0});navigationErrorHandler=p(jf,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0;}transitions;afterPreactivation=()=>ae(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=n=>this.events.next(new cu(n)),i=n=>this.events.next(new du(n));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0;});}complete(){this.transitions?.complete();}handleNavigationRequest(e){let i=++this.navigationId;Wt(()=>{this.transitions?.next(ot(W({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController(),id:i}));});}setupNavigations(e){return this.transitions=new Mt(null),this.transitions.pipe(Re(i=>i!==null),_t(i=>{let n=!1;return ae(i).pipe(_t(a=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",Fi.SupersededByNewNavigation),Ii;this.currentTransition=i,this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?ot(W({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>a.abortController.abort()});let o=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),s=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!o&&s!=="reload")return this.events.next(new Ir(a.id,this.urlSerializer.serialize(a.rawUrl),"",ks.IgnoredSameUrlNavigation)),a.resolve(!1),Ii;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return ae(a).pipe(_t(u=>(this.events.next(new Gn(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?Ii:Promise.resolve(u))),hE(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Nt(u=>{i.targetSnapshot=u.targetSnapshot,i.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=u.urlAfterRedirects,f));let h=new ic(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(h);}));if(o&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:u,extractedUrl:h,source:f,restoredState:_,extras:y}=a,w=new Gn(u,this.urlSerializer.serialize(h),f,_);this.events.next(w);let C=_y(this.rootComponentType).snapshot;return this.currentTransition=i=ot(W({},a),{targetSnapshot:C,urlAfterRedirects:h,extras:ot(W({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(z=>(z.finalUrl=h,z)),ae(i);}else return this.events.next(new Ir(a.id,this.urlSerializer.serialize(a.extractedUrl),"",ks.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Ii;}),Nt(a=>{let o=new au(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(o);}),me(a=>(this.currentTransition=i=ot(W({},a),{guards:PS(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),i)),US(this.environmentInjector,a=>this.events.next(a)),Nt(a=>{if(i.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw bu(this.urlSerializer,a.guardsResult);let o=new ou(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(o);}),Re(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",Fi.GuardRejected),!1)),yf(a=>{if(a.guards.canActivateChecks.length!==0)return ae(a).pipe(Nt(o=>{let s=new su(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s);}),_t(o=>{let s=!1;return ae(o).pipe(fE(this.paramsInheritanceStrategy,this.environmentInjector),Nt({next:()=>s=!0,complete:()=>{s||this.cancelNavigationTransition(o,"",Fi.NoDataFromResolver);}}));}),Nt(o=>{let s=new lu(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s);}));}),yf(a=>{let o=s=>{let u=[];if(s.routeConfig?.loadComponent){let h=As(s)??this.environmentInjector;u.push(this.configLoader.loadComponent(h,s.routeConfig).pipe(Nt(f=>{s.component=f;}),me(()=>{})));}for(let h of s.children)u.push(...o(h));return u;};return _r(o(a.targetSnapshot.root)).pipe(kh(null),fe(1));}),yf(()=>this.afterPreactivation()),_t(()=>{let{currentSnapshot:a,targetSnapshot:o}=i,s=this.createViewTransition?.(this.environmentInjector,a.root,o.root);return s?mi(s).pipe(me(()=>i)):ae(i);}),me(a=>{let o=ES(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=i=ot(W({},a),{targetRouterState:o}),this.currentNavigation.update(s=>(s.targetRouterState=o,s)),i;}),Nt(()=>{this.events.next(new nc());}),RS(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),fe(1),ke(new ui(a=>{let o=i.abortController.signal,s=()=>a.next();return o.addEventListener("abort",s),()=>o.removeEventListener("abort",s);}).pipe(Re(()=>!n&&!i.targetRouterState),Nt(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",Fi.Aborted);}))),Nt({next:a=>{n=!0,this.lastSuccessfulNavigation=Wt(this.currentNavigation),this.events.next(new Li(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0);},complete:()=>{n=!0;}}),ke(this.transitionAbortWithErrorSubject.pipe(Nt(a=>{throw a;}))),Wr(()=>{n||this.cancelNavigationTransition(i,"",Fi.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null);}),Zi(a=>{if(this.destroyed)return i.resolve(!1),Ii;if(n=!0,wy(a))this.events.next(new Er(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode)),AS(a)?this.events.next(new Es(a.url,a.navigationBehaviorOptions)):i.resolve(!1);else{let o=new Ms(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);try{let s=Ki(this.environmentInjector,()=>this.navigationErrorHandler?.(o));if(s instanceof Ts){let{message:u,cancellationCode:h}=bu(this.urlSerializer,s);this.events.next(new Er(i.id,this.urlSerializer.serialize(i.extractedUrl),u,h)),this.events.next(new Es(s.redirectTo,s.navigationBehaviorOptions));}else throw this.events.next(o),a;}catch(s){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(s);}}return Ii;}));}));}cancelNavigationTransition(e,i,n){let a=new Er(e.id,this.urlSerializer.serialize(e.extractedUrl),i,n);this.events.next(a),e.resolve(!1);}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString();}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=Wt(this.currentNavigation),n=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==n?.toString()&&!i?.extras.skipLocationChange;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function CE(t){return t!==ws;}var ku=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:()=>p(wE),providedIn:"root"});}return t;})(),yu=class{shouldDetach(r){return!1;}store(r,e){}shouldAttach(r){return!1;}retrieve(r){return null;}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig;}},wE=(()=>{class t extends yu{static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Oy=(()=>{class t{urlSerializer=p(Mo);options=p(Ia,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(Dr);urlHandlingStrategy=p(wu);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Tr();getCurrentUrlTree(){return this.currentUrlTree;}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree;}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:n}){let a=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,o=n??a;return o instanceof Tr?this.urlSerializer.serialize(o):o;}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:n}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,n),this.routerState=e):this.rawUrlTree=n;}routerState=_y(null);getRouterState(){return this.routerState;}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento();}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState};}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:()=>p(DE),providedIn:"root"});}return t;})(),DE=(()=>{class t extends Oy{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState();}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId;}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate");});});}handleRouterEvent(e,i){e instanceof Gn?this.updateStateMemento():e instanceof Ir?this.commitTransition(i):e instanceof ic?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath( ��i),i)):e instanceof nc?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Er&&e.code!==Fi.SupersededByNewNavigation&&e.code!==Fi.Redirect?this.restoreHistory(i):e instanceof Ms?this.restoreHistory(i,!0):e instanceof Li&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId);}setBrowserUrl(e,{extras:i,id:n}){let{replaceUrl:a,state:o}=i;if(this.location.isCurrentPathEqualTo(e)||a){let s=this.browserPageId,u=W(W({},o),this.generateNgRouterState(n,s));this.location.replaceState(e,"",u);}else{let s=W(W({},o),this.generateNgRouterState(n,this.browserPageId+1));this.location.go(e,"",s);}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let n=this.browserPageId,a=this.currentPageId-n;a!==0?this.location.historyGo(a):this.getCurrentUrlTree()===e.finalUrl&&a===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId));}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,ɵrouterPageId:i}:{navigationId:e};}static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function Mu(t,r){t.events.pipe(Re(e=>e instanceof Li||e instanceof Er||e instanceof Ms||e instanceof Ir),me(e=>e instanceof Li||e instanceof Ir?0:(e instanceof Er?e.code===Fi.Redirect||e.code===Fi.SupersededByNewNavigation:!1)?2:1),Re(e=>e!==2),fe(1)).subscribe(()=>{r();});}var kE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ME={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ge=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree();}get rawUrlTree(){return this.stateManager.getRawUrlTree();}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Fh);stateManager=p(Oy);options=p(Ia,{optional:!0})||{};pendingTasks=p(Tb);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Du);urlSerializer=p(Mo);location=p(Dr);urlHandlingStrategy=p(wu);injector=p(Ai);_events=new Q();get events(){return this._events;}get routerState(){return this.stateManager.getRouterState();}navigated=!1;routeReuseStrategy=p(ku);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(Eo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(dc,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e);}}),this.subscribeToNavigationEvents();}eventsSubscription=new it();subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let n=this.navigationTransitions.currentTransition,a=Wt(this.navigationTransitions.currentNavigation);if(n!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof Er&&i.code!==Fi.Redirect&&i.code!==Fi.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Li)this.navigated=!0;else if(i instanceof Es){let o=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,n.currentRawUrl),u=W({browserUrl:n.extras.browserUrl,info:n.extras.info,skipLocationChange:n.extras.skipLocationChange,replaceUrl:n.extras.replaceUrl||this.urlUpdateStrategy==="eager"||CE(n.source)},o);this.scheduleNavigation(s,ws,null,u,{resolve:n.resolve,reject:n.reject,promise:n.promise});}}DS(i)&&this._events.next(i);}catch(n){this.navigationTransitions.transitionAbortWithErrorSubject.next(n);}});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),ws,this.stateManager.restoredState());}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,n)=>{this.navigateToSyncWithBrowser(e,n,i);});}navigateToSyncWithBrowser(e,i,n){let a={replaceUrl:!0},o=n?.navigationId?n:null;if(n){let u=W({},n);delete u.navigationId,delete u.ɵrouterPageId,Object.keys(u).length!==0&&(a.state=u);}let s=this.parseUrl(e);this.scheduleNavigation(s,i,o,a).catch(u=>{this.disposed||this.injector.get(us)(u);});}get url(){return this.serializeUrl(this.currentUrlTree);}getCurrentNavigation(){return Wt(this.navigationTransitions.currentNavigation);}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation;}resetConfig(e){this.config=e.map(zf),this.navigated=!1;}ngOnDestroy(){this.dispose();}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe();}createUrlTree(e,i={}){let{relativeTo:n,queryParams:a,fragment:o,queryParamsHandling:s,preserveFragment:u}=i,h=u?this.currentUrlTree.fragment:o,f=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":f=W(W({},this.currentUrlTree.queryParams),a);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=a||null;}f!==null&&(f=this.removeEmptyProps(f));let _;try{let y=n?n.snapshot:this.routerState.snapshot.root;_=py(y);}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),_=this.currentUrlTree.root;}return hy(_,e,f,h??null);}navigateByUrl(e,i={skipLocationChange:!1}){let n=Ta(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(a,ws,null,i);}navigate(e,i={skipLocationChange:!1}){return SE(e),this.navigateByUrl(this.createUrlTree(e,i),i);}serializeUrl(e){return this.urlSerializer.serialize(e);}parseUrl(e){try{return this.urlSerializer.parse(e);}catch{return this.urlSerializer.parse("/");}}isActive(e,i){let n;if(i===!0?n=W({},kE):i===!1?n=W({},ME):n=i,Ta(e))return Qv(this.currentUrlTree,e,n);let a=this.parseUrl(e);return Qv(this.currentUrlTree,a,n);}removeEmptyProps(e){return Object.entries(e).reduce((i,[n,a])=>(a!=null&&(i[n]=a),i),{});}scheduleNavigation(e,i,n,a,o){if(this.disposed)return Promise.resolve(!1);let s,u,h;o?(s=o.resolve,u=o.reject,h=o.promise):h=new Promise((_,y)=>{s=_,u=y;});let f=this.pendingTasks.add();return Mu(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f));}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:s,reject:u,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(_=>Promise.reject(_));}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function SE(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new we(4008,!1);}var lt=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=B(null);get href(){return Wt(this.reactiveHref);}set href(e){this.reactiveHref.set(e);}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Q();applicationErrorHandler=p(us);options=p(Ia,{optional:!0});constructor(e,i,n,a,o,s){this.router=e,this.route=i,this.tabIndexAttribute=n,this.renderer=a,this.el=o,this.locationStrategy=s,this.reactiveHref.set(p(new hi("href"),{optional:!0}));let u=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area"||!!(typeof customElements=="object"&&customElements.get(u)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary();}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,i=n=>n==="merge"||n==="preserve";e||=i(this.queryParamsHandling),e||=!this.queryParamsHandling&&!i(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(n=>{n instanceof Li&&this.updateHref();}));}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e);}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this);}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Ta(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"));}onClick(e,i,n,a,o){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||i||n||a||o||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,u)?.catch(h=>{this.applicationErrorHandler(h);}),!this.isAnchorElement;}ngOnDestroy(){this.subscription?.unsubscribe();}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null);}applyAttributeValue(e,i){let n=this.renderer,a=this.el.nativeElement;i!==null?n.setAttribute(a,e,i):n.removeAttribute(a,e);}get urlTree(){return this.routerLinkInput===null?null:Ta(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 ɵfac=function(i){return new(i||t)(S(Ge),S(In),Rh("tabindex"),S($e),S(J),S(ir));};static ɵdir=O({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,n){i&1&&E("click",function(o){return n.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey);}),i&2&&te("href",n.reactiveHref(),Bb)("target",n.target);},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",U],skipLocationChange:[2,"skipLocationChange","skipLocationChange",U],replaceUrl:[2,"replaceUrl","replaceUrl",U],routerLink:"routerLink"},features:[Ne]});}return t;})(),ta=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive;}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new $();constructor(e,i,n,a,o){this.router=e,this.element=i,this.renderer=n,this.cdr=a,this.link=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof Li&&this.update();});}ngAfterContentInit(){ae(this.links.changes,ae(null)).pipe(Ml()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges();});}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=mi(e).pipe(Ml()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update();});}set routerLinkActive(e){let i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(n=>!!n);}ngOnChanges(e){this.update();}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe();}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i);}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e));});}isLinkActive(e){let i=EE(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>{let a=n.urlTree;return a?e.isActive(a,i):!1;};}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e);}static ɵfac=function(i){return new(i||t)(S(Ge),S(J),S($e),S(ve),S(lt,8));};static ɵdir=O({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(i,n,a){if(i&1&&ye(a,lt,5),i&2){let o;R(o=P())&&(n.links=o);}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Ne]});}return t;})();function EE(t){return!!t.paths;}var mc=class{};var Fy=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,n,a){this.router=e,this.injector=i,this.preloadingStrategy=n,this.loader=a;}setUpPreloading(){this.subscription=this.router.events.pipe(Re(e=>e instanceof Li),Ur(()=>this.preload())).subscribe(()=>{});}preload(){return this.processRoutes(this.injector,this.router.config);}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe();}processRoutes(e,i){let n=[];for(let a of i){a.providers&&!a._injector&&(a._injector=Cd(a.providers,e,`Route: ${a.path}`));let o=a._injector??e,s=a._loadedInjector??o;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&n.push(this.preloadConfig(o,a)),(a.children||a._loadedRoutes)&&n.push(this.processRoutes(s,a.children??a._loadedRoutes));}return mi(n).pipe(Ml());}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let n;i.loadChildren&&i.canLoad===void 0?n=this.loader.loadChildren(e,i):n=ae(null);let a=n.pipe(Xi(o=>o===null?ae(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(i.loadComponent&&!i._loadedComponent){let o=this.loader.loadComponent(e,i);return mi([a,o]).pipe(Ml());}else return a;});}static ɵfac=function(i){return new(i||t)(le(Ge),le(Ai),le(mc),le(Cu));};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Ly=new F(""),TE=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ws;restoredId=0;store={};constructor(e,i,n,a,o={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=n,this.zone=a,this.options=o,o.scrollPositionRestoration||="disabled",o.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 Gn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Li?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ir&&e.code===ks.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment));});}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Ss))return;let i={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],i):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,i):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]);});}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(async()=>{await new Promise(n=>{setTimeout(n),typeof requestAnimationFrame<"u"&&requestAnimationFrame(n);}),this.zone.run(()=>{this.transitions.events.next(new Ss(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i));});});}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe();}static ɵfac=function(i){wa();};static ɵprov=N({token:t,factory:t.ɵfac});}return t;})();function Uf(t,...r){return so([{provide:Eo,multi:!0,useValue:t},[],{provide:In,useFactory:Ny,deps:[Ge]},{provide:Lh,multi:!0,useFactory:zy},r.map(e=>e.ɵproviders)]);}function Ny(t){return t.routerState.root;}function pc(t,r){return{ɵkind:t,ɵproviders:r};}function zy(){let t=p(be);return r=>{let e=t.get(vr);if(r!==e.components[0])return;let i=t.get(Ge),n=t.get(By);t.get(Wf)===1&&i.initialNavigation(),t.get(jy,null,{optional:!0})?.setUpPreloading(),t.get(Ly,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe());};}var By=new F("",{factory:()=>new Q()}),Wf=new F("",{providedIn:"root",factory:()=>1});function Vy(){let t=[{provide:Ph,useValue:!0},{provide:Wf,useValue:0},Ol(()=>{let r=p(be);return r.get(Vh,Promise.resolve()).then(()=>new Promise(i=>{let n=r.get(Ge),a=r.get(By);Mu(n,()=>{i(!0);}),r.get(Du).afterPreactivation=()=>(i(!0),a.closed?ae(void 0):a),n.initialNavigation();}));})];return pc(2,t);}function $y(){let t=[Ol(()=>{p(Ge).setUpLocationChangeListener();}),{provide:Wf,useValue:2}];return pc(3,t);}var jy=new F("");function Hy(t){return pc(0,[{provide:jy,useExisting:Fy},{provide:mc,useExisting:t}]);}function Uy(){return pc(8,[Lf,{provide:dc,useExisting:Lf}]);}function Wy(t){Pl("NgRouterViewTransitions");let r=[{provide:Vf,useValue:Py},{provide:$f,useValue:W({skipNextTransition:!!t?.skipInitialTransition},t)}];return pc(9,r);}var qy=[Dr,{provide:Mo,useClass:Ea},Ge,So,{provide:In,useFactory:Ny,deps:[Ge]},Cu,[]],ct=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[qy,[],{provide:Eo,multi:!0,useValue:e},[],i?.errorHandler?{provide:jf,useValue:i.errorHandler}:[],{provide:Ia,useValue:i||{}},i?.useHash?AE():RE(),IE(),i?.preloadingStrategy?Hy(i.preloadingStrategy).ɵproviders:[],i?.initialNavigation?PE(i):[],i?.bindToComponentInputs?Uy().ɵproviders:[],i?.enableViewTransitions?Wy().ɵproviders:[],OE()]};}static forChild(e){return{ngModule:t,providers:[{provide:Eo,multi:!0,useValue:e}]};}static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({});}return t;})();function IE(){return{provide:Ly,useFactory:()=>{let t=p(kv),r=p(ce),e=p(Ia),i=p(Du),n=p(Mo);return e.scrollOffset&&t.setOffset(e.scrollOffset),new TE(n,i,t,r,e);}};}function AE(){return{provide:ir,useClass:Yh};}function RE(){return{provide:ir,useClass:Rd};}function PE(t){return[t.initialNavigation==="disabled"?$y().ɵproviders:[],t.initialNavigation==="enabledBlocking"?Vy().ɵproviders:[]];}var Hf=new F("");function OE(){return[{provide:Hf,useFactory:zy},{provide:Lh,multi:!0,useExisting:Hf}];}var e1=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i;}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i);}registerOnTouched(e){this.onTouched=e;}registerOnChange(e){this.onChange=e;}setDisabledState(e){this.setProperty("disabled",e);}static ɵfac=function(i){return new(i||t)(S($e),S(J));};static ɵdir=O({type:t});}return t;})(),t1=(()=>{class t extends e1{static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵdir=O({type:t,features:[G]});}return t;})(),Rn=new F("");var FE={provide:Rn,useExisting:Bt(()=>Mi),multi:!0};function LE(){let t=Un()?Un().getUserAgent():"";return /android (\d+)/.test(t.toLowerCase());}var NE=new F(""),Mi=(()=>{class t extends e1{_compositionMode;_composing=!1;constructor(e,i,n){super(e,i),this._compositionMode=n,this._compositionMode==null&&(this._compositionMode=!LE());}writeValue(e){let i=e??"";this.setProperty("value",i);}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e);}_compositionStart(){this._composing=!0;}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e);}static ɵfac=function(i){return new(i||t)(S($e),S(J),S(NE,8));};static ɵdir=O({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,n){i&1&&E("input",function(o){return n._handleInput(o.target.value);})("blur",function(){return n.onTouched();})("compositionstart",function(){return n._compositionStart();})("compositionend",function(o){return n._compositionEnd(o.target.value);});},standalone:!1,features:[_e([FE]),G]});}return t;})();function Yf(t){return t==null||Xf(t)===0;}function Xf(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null;}var Pn=new F(""),To=new F(""),zE=/^(?=.{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])?)*$/,Qe=class{static min(r){return i1(r);}static max(r){return n1(r);}static required(r){return BE(r);}static requiredTrue(r){return VE(r);}static email(r){return $E(r);}static minLength(r){return jE(r);}static maxLength(r){return HE(r);}static pattern(r){return UE(r);}static nullValidator(r){return Eu();}static compose(r){return c1(r);}static composeAsync(r){return d1(r);}};function i1(t){return r=>{if(r.value==null||t==null)return null;let e=parseFloat(r.value);return!isNaN(e)&&e<t?{min:{min:t,actual:r.value}}:null;};}function n1(t){return r=>{if(r.value==null||t==null)return null;let e=parseFloat(r.value);return!isNaN(e)&&e>t?{max:{max:t,actual:r.value}}:null;};}function BE(t){return Yf(t.value)?{required:!0}:null;}function VE(t){return t.value===!0?null:{required:!0};}function $E(t){return Yf(t.value)||zE.test(t.value)?null:{email:!0};}function jE(t){return r=>{let e=r.value?.length??Xf(r.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null;};}function HE(t){return r=>{let e=r.value?.length??Xf(r.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null;};}function UE(t){if(!t)return Eu;let r,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),r=new RegExp(e)):(e=t.toString(),r=t),i=>{if(Yf(i.value))return null;let n=i.value;return r.test(n)?null:{pattern:{requiredPattern:e,actualValue:n}};};}function Eu(t){return null;}function r1(t){return t!=null;}function a1(t){return fs(t)?mi(t):t;}function o1(t){let r={};return t.forEach(e=>{r=e!=null?W(W({},r),e):r;}),Object.keys(r).length===0?null:r;}function s1(t,r){return r.map(e=>e(t));}function WE(t){return!t.validate;}function l1(t){return t.map(r=>WE(r)?r:e=>r.validate(e));}function c1(t){if(!t)return null;let r=t.filter(r1);return r.length==0?null:function(e){return o1(s1(e,r));};}function Zf(t){return t!=null?c1(l1(t)):null;}function d1(t){if(!t)return null;let r=t.filter(r1);return r.length==0?null:function(e){let i=s1(e,r).map(a1);return vd(i).pipe(me(o1));};}function Kf(t){return t!=null?d1(l1(t)):null;}function Gy(t,r){return t===null?[r]:Array.isArray(t)?[...t,r]:[t,r];}function u1(t){return t._rawValidators;}function m1(t){return t._rawAsyncValidators;}function qf(t){return t?Array.isArray(t)?t:[t]:[];}function Tu(t,r){return Array.isArray(t)?t.includes(r):t===r;}function Qy(t,r){let e=qf(r);return qf(t).forEach(n=>{Tu(e,n)||e.push(n);}),e;}function Yy(t,r){return qf(r).filter(e=>!Tu(t,e));}var Iu=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(r){this._rawValidators=r||[],this._composedValidatorFn=Zf(this._rawValidators);}_setAsyncValidators(r){this._rawAsyncValidators=r||[],this._composedAsyncValidatorFn=Kf(this._rawAsyncValidators);}get validator(){return this._composedValidatorFn||null;}get asyncValidator(){return this._composedAsyncValidatorFn||null;}_onDestroyCallbacks=[];_registerOnDestroy(r){this._onDestroyCallbacks.push(r);}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(r=>r()),this._onDestroyCallbacks=[];}reset(r=void 0){this.control&&this.control.reset(r);}hasError(r,e){return this.control?this.control.hasError(r,e):!1;}getError(r,e){return this.control?this.control.getError(r,e):null;}},gi=class extends Iu{name;get formDirective(){return null;}get path(){return null;}},An=class extends Iu{_parent=null;name=null;valueAccessor=null;},Au=class{_cd;constructor(r){this._cd=r;}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;}},qE={"[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"},P7=ot(W({},qE),{"[class.ng-submitted]":"isSubmitted"}),on=(()=>{class t extends Au{constructor(e){super(e);}static ɵfac=function(i){return new(i||t)(S(An,2));};static ɵdir=O({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,n){i&2&&X("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending);},standalone:!1,features:[G]});}return t;})(),Io=(()=>{class t extends Au{constructor(e){super(e);}static ɵfac=function(i){return new(i||t)(S(gi,10));};static ɵdir=O({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,n){i&2&&X("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted);},standalone:!1,features:[G]});}return t;})();var hc="VALID",Su="INVALID",Ps="PENDING",fc="DISABLED",Aa=class{},Ru=class extends Aa{value;source;constructor(r,e){super(),this.value=r,this.source=e;}},_c=class extends Aa{pristine;source;constructor(r,e){super(),this.pristine=r,this.source=e;}},bc=class extends Aa{touched;source;constructor(r,e){super(),this.touched=r,this.source=e;}},Os=class extends Aa{status;source;constructor(r,e){super(),this.status=r,this.source=e;}},Pu=class extends Aa{source;constructor(r){super(),this.source=r;}},vc=class extends Aa{source;constructor(r){super(),this.source=r;}};function Jf(t){return(Nu(t)?t.validators:t)||null;}function GE(t){return Array.isArray(t)?Zf(t):t||null;}function eg(t,r){return(Nu(r)?r.asyncValidators:t)||null;}function QE(t){return Array.isArray(t)?Kf(t):t||null;}function Nu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object";}function p1(t,r,e){let i=t.controls;if(!(r?Object.keys(i):i).length)throw new we(1e3,"");if(!i[e])throw new we(1001,"");}function h1(t,r,e){t._forEachChild((i,n)=>{if(e[n]===void 0)throw new we(1002,"");});}var Fs=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(r,e){this._assignValidators(r),this._assignAsyncValidators(e);}get validator(){return this._composedValidatorFn;}set validator(r){this._rawValidators=this._composedValidatorFn=r;}get asyncValidator(){return this._composedAsyncValidatorFn;}set asyncValidator(r){this._rawAsyncValidators=this._composedAsyncValidatorFn=r;}get parent(){return this._parent;}get status(){return Wt(this.statusReactive);}set status(r){Wt(()=>this.statusReactive.set(r));}_status=Zt(()=>this.statusReactive());statusReactive=B(void 0);get valid(){return this.status===hc;}get invalid(){return this.status===Su;}get pending(){return this.status==Ps;}get disabled(){return this.status===fc;}get enabled(){return this.status!==fc;}errors;get pristine(){return Wt(this.pristineReactive);}set pristine(r){Wt(()=>this.pristineReactive.set(r));}_pristine=Zt(()=>this.pristineReactive());pristineReactive=B(!0);get dirty(){return!this.pristine;}get touched(){return Wt(this.touchedReactive);}set touched(r){Wt(()=>this.touchedReactive.set(r));}_touched=Zt(()=>this.touchedReactive());touchedReactive=B(!1);get untouched(){return!this.touched;}_events=new Q();events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change";}setValidators(r){this._assignValidators(r);}setAsyncValidators(r){this._assignAsyncValidators(r);}addValidators(r){this.setValidators(Qy(r,this._rawValidators));}addAsyncValidators(r){this.setAsyncValidators(Qy(r,this._rawAsyncValidators));}removeValidators(r){this.setValidators(Yy(r,this._rawValidators));}removeAsyncValidators(r){this.setAsyncValidators(Yy(r,this._rawAsyncValidators));}hasValidator(r){return Tu(this._rawValidators,r);}hasAsyncValidator(r){return Tu(this._rawAsyncValidators,r);}clearValidators(){this.validator=null;}clearAsyncValidators(){this.asyncValidator=null;}markAsTouched(r={}){let e=this.touched===!1;this.touched=!0;let i=r.sourceControl??this;this._parent&&!r.onlySelf&&this._parent.markAsTouched(ot(W({},r),{sourceControl:i})),e&&r.emitEvent!==!1&&this._events.next(new bc(!0,i));}markAllAsDirty(r={}){this.markAsDirty({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(r));}markAllAsTouched(r={}){this.markAsTouched({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(r));}markAsUntouched(r={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=r.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:i});}),this._parent&&!r.onlySelf&&this._parent._updateTouched(r,i),e&&r.emitEvent!==!1&&this._events.next(new bc(!1,i));}markAsDirty(r={}){let e=this.pristine===!0;this.pristine=!1;let i=r.sourceControl??this;this._parent&&!r.onlySelf&&this._parent.markAsDirty(ot(W({},r),{sourceControl:i})),e&&r.emitEvent!==!1&&this._events.next(new _c(!1,i));}markAsPristine(r={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=r.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:r.emitEvent});}),this._parent&&!r.onlySelf&&this._parent._updatePristine(r,i),e&&r.emitEvent!==!1&&this._events.next(new _c(!0,i));}markAsPending(r={}){this.status=Ps;let e=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new Os(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._pa ��rent.markAsPending(ot(W({},r),{sourceControl:e}));}disable(r={}){let e=this._parentMarkedDirty(r.onlySelf);this.status=fc,this.errors=null,this._forEachChild(n=>{n.disable(ot(W({},r),{onlySelf:!0}));}),this._updateValue();let i=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new Ru(this.value,i)),this._events.next(new Os(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ot(W({},r),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!0));}enable(r={}){let e=this._parentMarkedDirty(r.onlySelf);this.status=hc,this._forEachChild(i=>{i.enable(ot(W({},r),{onlySelf:!0}));}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent}),this._updateAncestors(ot(W({},r),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1));}_updateAncestors(r,e){this._parent&&!r.onlySelf&&(this._parent.updateValueAndValidity(r),r.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e));}setParent(r){this._parent=r;}getRawValue(){return this.value;}updateValueAndValidity(r={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===hc||this.status===Ps)&&this._runAsyncValidator(i,r.emitEvent);}let e=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new Ru(this.value,e)),this._events.next(new Os(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.updateValueAndValidity(ot(W({},r),{sourceControl:e}));}_updateTreeValidity(r={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(r)),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent});}_setInitialStatus(){this.status=this._allControlsDisabled()?fc:hc;}_runValidator(){return this.validator?this.validator(this):null;}_runAsyncValidator(r,e){if(this.asyncValidator){this.status=Ps,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:r!==!1};let i=a1(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:e,shouldHaveEmitted:r});});}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let r=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,r;}return!1;}setErrors(r,e={}){this.errors=r,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted);}get(r){let e=r;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,n)=>i&&i._find(n),this);}getError(r,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[r]:null;}hasError(r,e){return!!this.getError(r,e);}get root(){let r=this;for(;r._parent;)r=r._parent;return r;}_updateControlsErrors(r,e,i){this.status=this._calculateStatus(),r&&this.statusChanges.emit(this.status),(r||i)&&this._events.next(new Os(this.status,e)),this._parent&&this._parent._updateControlsErrors(r,e,i);}_initObservables(){this.valueChanges=new $(),this.statusChanges=new $();}_calculateStatus(){return this._allControlsDisabled()?fc:this.errors?Su:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ps)?Ps:this._anyControlsHaveStatus(Su)?Su:hc;}_anyControlsHaveStatus(r){return this._anyControls(e=>e.status===r);}_anyControlsDirty(){return this._anyControls(r=>r.dirty);}_anyControlsTouched(){return this._anyControls(r=>r.touched);}_updatePristine(r,e){let i=!this._anyControlsDirty(),n=this.pristine!==i;this.pristine=i,this._parent&&!r.onlySelf&&this._parent._updatePristine(r,e),n&&this._events.next(new _c(this.pristine,e));}_updateTouched(r={},e){this.touched=this._anyControlsTouched(),this._events.next(new bc(this.touched,e)),this._parent&&!r.onlySelf&&this._parent._updateTouched(r,e);}_onDisabledChange=[];_registerOnCollectionChange(r){this._onCollectionChange=r;}_setUpdateStrategy(r){Nu(r)&&r.updateOn!=null&&(this._updateOn=r.updateOn);}_parentMarkedDirty(r){let e=this._parent&&this._parent.dirty;return!r&&!!e&&!this._parent._anyControlsDirty();}_find(r){return null;}_assignValidators(r){this._rawValidators=Array.isArray(r)?r.slice():r,this._composedValidatorFn=GE(this._rawValidators);}_assignAsyncValidators(r){this._rawAsyncValidators=Array.isArray(r)?r.slice():r,this._composedAsyncValidatorFn=QE(this._rawAsyncValidators);}},Ls=class extends Fs{constructor(r,e,i){super(Jf(e),eg(i,e)),this.controls=r,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator});}controls;registerControl(r,e){return this.controls[r]?this.controls[r]:(this.controls[r]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e);}addControl(r,e,i={}){this.registerControl(r,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange();}removeControl(r,e={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}setControl(r,e,i={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],e&&this.registerControl(r,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange();}contains(r){return this.controls.hasOwnProperty(r)&&this.controls[r].enabled;}setValue(r,e={}){h1(this,!0,r),Object.keys(r).forEach(i=>{p1(this,!0,i),this.controls[i].setValue(r[i],{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);}patchValue(r,e={}){r!=null&&(Object.keys(r).forEach(i=>{let n=this.controls[i];n&&n.patchValue(r[i],{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(r={},e={}){this._forEachChild((i,n)=>{i.reset(r?r[n]:null,{onlySelf:!0,emitEvent:e.emitEvent});}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new vc(this));}getRawValue(){return this._reduceChildren({},(r,e,i)=>(r[i]=e.getRawValue(),r));}_syncPendingControls(){let r=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return r&&this.updateValueAndValidity({onlySelf:!0}),r;}_forEachChild(r){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&r(i,e);});}_setUpControls(){this._forEachChild(r=>{r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange);});}_updateValue(){this.value=this._reduceValue();}_anyControls(r){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&r(i))return!0;return!1;}_reduceValue(){let r={};return this._reduceChildren(r,(e,i,n)=>((i.enabled||this.disabled)&&(e[n]=i.value),e));}_reduceChildren(r,e){let i=r;return this._forEachChild((n,a)=>{i=e(i,n,a);}),i;}_allControlsDisabled(){for(let r of Object.keys(this.controls))if(this.controls[r].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled;}_find(r){return this.controls.hasOwnProperty(r)?this.controls[r]:null;}};var Gf=class extends Ls{};var Ns=new F("",{providedIn:"root",factory:()=>zu}),zu="always";function Bu(t,r){return[...r.path,t];}function yc(t,r,e=zu){tg(t,r),r.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&r.valueAccessor.setDisabledState?.(t.disabled),XE(t,r),KE(t,r),ZE(t,r),YE(t,r);}function Ou(t,r,e=!0){let i=()=>{};r.valueAccessor&&(r.valueAccessor.registerOnChange(i),r.valueAccessor.registerOnTouched(i)),Lu(t,r),t&&(r._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}));}function Fu(t,r){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(r);});}function YE(t,r){if(r.valueAccessor.setDisabledState){let e=i=>{r.valueAccessor.setDisabledState(i);};t.registerOnDisabledChange(e),r._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e);});}}function tg(t,r){let e=u1(t);r.validator!==null?t.setValidators(Gy(e,r.validator)):typeof e=="function"&&t.setValidators([e]);let i=m1(t);r.asyncValidator!==null?t.setAsyncValidators(Gy(i,r.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let n=()=>t.updateValueAndValidity();Fu(r._rawValidators,n),Fu(r._rawAsyncValidators,n);}function Lu(t,r){let e=!1;if(t!==null){if(r.validator!==null){let n=u1(t);if(Array.isArray(n)&&n.length>0){let a=n.filter(o=>o!==r.validator);a.length!==n.length&&(e=!0,t.setValidators(a));}}if(r.asyncValidator!==null){let n=m1(t);if(Array.isArray(n)&&n.length>0){let a=n.filter(o=>o!==r.asyncValidator);a.length!==n.length&&(e=!0,t.setAsyncValidators(a));}}}let i=()=>{};return Fu(r._rawValidators,i),Fu(r._rawAsyncValidators,i),e;}function XE(t,r){r.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&f1(t,r);});}function ZE(t,r){r.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&f1(t,r),t.updateOn!=="submit"&&t.markAsTouched();});}function f1(t,r){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1;}function KE(t,r){let e=(i,n)=>{r.valueAccessor.writeValue(i),n&&r.viewToModelUpdate(i);};t.registerOnChange(e),r._registerOnDestroy(()=>{t._unregisterOnChange(e);});}function g1(t,r){t==null,tg(t,r);}function JE(t,r){return Lu(t,r);}function ig(t,r){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(r,e.currentValue);}function eT(t){return Object.getPrototypeOf(t.constructor)===t1;}function _1(t,r){t._syncPendingControls(),r.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1);});}function ng(t,r){if(!r)return null;Array.isArray(r);let e,i,n;return r.forEach(a=>{a.constructor===Mi?e=a:eT(a)?i=a:n=a;}),n||i||e||null;}function tT(t,r){let e=t.indexOf(r);e>-1&&t.splice(e,1);}var iT={provide:gi,useExisting:Bt(()=>Ra)},gc=Promise.resolve(),Ra=(()=>{class t extends gi{callSetDisabledState;get submitted(){return Wt(this.submittedReactive);}_submitted=Zt(()=>this.submittedReactive());submittedReactive=B(!1);_directives=new Set();form;ngSubmit=new $();options;constructor(e,i,n){super(),this.callSetDisabledState=n,this.form=new Ls({},Zf(e),Kf(i));}ngAfterViewInit(){this._setUpdateStrategy();}get formDirective(){return this;}get control(){return this.form;}get path(){return[];}get controls(){return this.form.controls;}addControl(e){gc.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),yc(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e);});}getControl(e){return this.form.get(e.path);}removeControl(e){gc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e);});}addFormGroup(e){gc.then(()=>{let i=this._findContainer(e.path),n=new Ls({});g1(n,e),i.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1});});}removeFormGroup(e){gc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name);});}getFormGroup(e){return this.form.get(e.path);}updateModel(e,i){gc.then(()=>{this.form.get(e.path).setValue(i);});}setValue(e){this.control.setValue(e);}onSubmit(e){return this.submittedReactive.set(!0),_1(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Pu(this.control)),e?.target?.method==="dialog";}onReset(){this.resetForm();}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1);}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn);}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form;}static ɵfac=function(i){return new(i||t)(S(Pn,10),S(To,10),S(Ns,8));};static ɵdir=O({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,n){i&1&&E("submit",function(o){return n.onSubmit(o);})("reset",function(){return n.onReset();});},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[_e([iT]),G]});}return t;})();function Xy(t,r){let e=t.indexOf(r);e>-1&&t.splice(e,1);}function Zy(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t;}var zi=class extends Fs{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(r=null,e,i){super(Jf(e),eg(i,e)),this._applyFormState(r),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Nu(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Zy(r)?this.defaultValue=r.value:this.defaultValue=r);}setValue(r,e={}){this.value=this._pendingValue=r,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e);}patchValue(r,e={}){this.setValue(r,e);}reset(r=this.defaultValue,e={}){this._applyFormState(r),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new vc(this));}_updateValue(){}_anyControls(r){return!1;}_allControlsDisabled(){return this.disabled;}registerOnChange(r){this._onChange.push(r);}_unregisterOnChange(r){Xy(this._onChange,r);}registerOnDisabledChange(r){this._onDisabledChange.push(r);}_unregisterOnDisabledChange(r){Xy(this._onDisabledChange,r);}_forEachChild(r){}_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(r){Zy(r)?(this.value=this._pendingValue=r.value,r.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=r;}};var nT=t=>t instanceof zi,rT=(()=>{class t extends gi{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this);}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this);}get control(){return this.formDirective.getFormGroup(this);}get path(){return Bu(this.name==null?this.name:this.name.toString(),this._parent);}get formDirective(){return this._parent?this._parent.formDirective:null;}_checkParentType(){}static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵdir=O({type:t,standalone:!1,features:[G]});}return t;})();var aT={provide:An,useExisting:Bt(()=>ia)},Ky=Promise.resolve(),ia=(()=>{class t extends An{_changeDetectorRef;callSetDisabledState;control=new zi();static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new $();constructor(e,i,n,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=ng(this,a);}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)});}this._setUpControl();}"isDisabled"in e&&this._updateDisabled(e),ig(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(){yc(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1});}_checkForErrors(){this._checkName();}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name;}_updateValue(e){Ky.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck();});}_updateDisabled(e){let i=e.isDisabled.currentValue,n=i!==0&&U(i);Ky.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck();});}_getPath(e){return this._parent?Bu(e,this._parent):[e];}static ɵfac=function(i){return new(i||t)(S(gi,9),S(Pn,10),S(To,10),S(Rn,10),S(ve,8),S(Ns,8));};static ɵdir=O({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[_e([aT]),G,Ne]});}return t;})();var Ao=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1});}return t;})(),oT={provide:Rn,useExisting:Bt(()=>Vu),multi:!0},Vu=(()=>{class t extends t1{writeValue(e){let i=e??"";this.setProperty("value",i);}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i));};}static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵdir=O({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,n){i&1&&E("input",function(o){return n.onChange(o.target.value);})("blur",function(){return n.onTouched();});},standalone:!1,features:[_e([oT]),G]});}return t;})();var rg=new F(""),sT={provide:An,useExisting:Bt(()=>$u)},$u=(()=>{class t extends An{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new $();static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,n,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=ng(this,n);}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&Ou(i,this,!1),yc(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1});}ig(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.form&&Ou(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 ɵfac=function(i){return new(i||t)(S(Pn,10),S(To,10),S(Rn,10),S(rg,8),S(Ns,8));};static ɵdir=O({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[_e([sT]),G,Ne]});}return t;})(),lT={provide:gi,useExisting:Bt(()=>or)},or=(()=>{class t extends gi{callSetDisabledState;get submitted(){return Wt(this._submittedReactive);}set submitted(e){this._submittedReactive.set(e);}_submitted=Zt(()=>this._submittedReactive());_submittedReactive=B(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new $();constructor(e,i,n){super(),this.callSetDisabledState=n,this._setValidators(e),this._setAsyncValidators(i);}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form);}ngOnDestroy(){this.form&&(Lu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}));}get formDirective(){return this;}get control(){return this.form;}get path(){return[];}addControl(e){let i=this.form.get(e.path);return yc(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i;}getControl(e){return this.form.get(e.path);}removeControl(e){Ou(e.control||null,e,!1),tT(this.directives,e);}addFormGroup(e){this._setUpFormContainer(e);}removeFormGroup(e){this._cleanUpFormContainer(e);}getFormGroup(e){return this.form.get(e.path);}addFormArray(e){this._setUpFormContainer(e);}removeFormArray(e){this._cleanUpFormContainer(e);}getFormArray(e){return this.form.get(e.path);}updateModel(e,i){this.form.get(e.path).setValue(i);}onSubmit(e){return this._submittedReactive.set(!0),_1(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Pu(this.control)),e?.target?.method==="dialog";}onReset(){this.resetForm();}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1);}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,n=this.form.get(e.path);i!==n&&(Ou(i||null,e),nT(n)&&(yc(n,e,this.callSetDisabledState),e.control=n));}),this.form._updateTreeValidity({emitEvent:!1});}_setUpFormContainer(e){let i=this.form.get(e.path);g1(i,e),i.updateValueAndValidity({emitEvent:!1});}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&JE(i,e)&&i.updateValueAndValidity({emitEvent:!1});}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{});}_updateValidators(){tg(this.form,this),this._oldForm&&Lu(this._oldForm,this);}static ɵfac=function(i){return new(i||t)(S(Pn,10),S(To,10),S(Ns,8));};static ɵdir=O({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,n){i&1&&E("submit",function(o){return n.onSubmit(o);})("reset",function(){return n.onReset();});},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[_e([lT]),G,Ne]});}return t;})(),cT={provide:gi,useExisting:Bt(()=>ju)},ju=(()=>{class t extends rT{name=null;constructor(e,i,n){super(),this._parent=e,this._setValidators(i),this._setAsyncValidators(n);}_checkParentType(){v1(this._parent);}static ɵfac=function(i){return new(i||t)(S(gi,13),S(Pn,10),S(To,10));};static ɵdir=O({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[_e([cT]),G]});}return t;})(),dT={provide:gi,useExisting:Bt(()=>b1)},b1=(()=>{class t extends gi{_parent;name=null;constructor(e,i,n){super(),this._parent=e,this._setValidators(i),this._setAsyncValidators(n);}ngOnInit(){v1(this._parent),this.formDirective.addFormArray(this);}ngOnDestroy(){this.formDirective?.removeFormArray(this);}get control(){return this.formDirective.getFormArray(this);}get formDirective(){return this._parent?this._parent.formDirective:null;}get path(){return Bu(this.name==null?this.name:this.name.toString(),this._parent);}static ɵfac=function(i){return new(i||t)(S(gi,13),S(Pn,10),S(To,10));};static ɵdir=O({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[_e([dT]),G]});}return t;})();function v1(t){return!(t instanceof ju)&&!(t instanceof or)&&!(t instanceof b1);}var uT={provide:An,useExisting:Bt(()=>zs)},zs=(()=>{class t extends An{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new $();static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,n,a,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=ng(this,a);}ngOnChanges(e){this._added||this._setUpControl(),ig(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model));}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this);}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}get path(){return Bu(this.name==null?this.name:this.name.toString(),this._parent);}get formDirective(){return this._parent?this._parent.formDirective:null;}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0;}static ɵfac=function(i){return new(i||t)(S(gi,13),S(Pn,10),S(To,10),S(Rn,10),S(rg,8));};static ɵdir=O({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[_e([uT]),G,Ne]});}return t;})();function y1(t){return typeof t=="number"?t:parseFloat(t);}var x1=(()=>{class t{_validator=Eu;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Eu,this._onChange&&this._onChange();}}validate(e){return this._validator(e);}registerOnValidatorChange(e){this._onChange=e;}enabled(e){return e!=null;}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,features:[Ne]});}return t;})(),mT={provide:Pn,useExisting:Bt(()=>Hu),multi:!0},Hu=(()=>{class t extends x1{max;inputName="max";normalizeInput=e=>y1(e);createValidator=e=>n1(e);static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵdir=O({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,n){i&2&&te("max",n._enabled?n.max:null);},inputs:{max:"max"},standalone:!1,features:[_e([mT]),G]});}return t;})(),pT={provide:Pn,useExisting:Bt(()=>Uu),multi:!0},Uu=(()=>{class t extends x1{min;inputName="min";normalizeInput=e=>y1(e);createValidator=e=>i1(e);static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵdir=O({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,n){i&2&&te("min",n._enabled?n.min:null);},inputs:{min:"min"},standalone:!1,features:[_e([pT]),G]});}return t;})();var C1=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({});}return t;})(),Qf=class extends Fs{constructor(r,e,i){super(Jf(e),eg(i,e)),this.controls=r,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator});}controls;at(r){return this.controls[this._adjustIndex(r)];}push(r,e={}){Array.isArray(r)?r.forEach(i=>{this.controls.push(i),this._registerControl(i);}):(this.controls.push(r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}insert(r,e,i={}){this.controls.splice(r,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent});}removeAt(r,e={}){let i=this._adjustIndex(r);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent});}setControl(r,e,i={}){let n=this._adjustIndex(r);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange();}get length(){return this.controls.length;}setValue(r,e={}){h1(this,!1,r),r.forEach((i,n)=>{p1(this,!1,n),this.at(n).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);}patchValue(r,e={}){r!=null&&(r.forEach((i,n)=>{this.at(n)&&this.at(n).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(r=[],e={}){this._forEachChild((i,n)=>{i.reset(r[n],{onlySelf:!0,emitEvent:e.emitEvent});}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new vc(this));}getRawValue(){return this.controls.map(r=>r.getRawValue());}clear(r={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:r.emitEvent}));}_adjustIndex(r){return r<0?r+this.length:r;}_syncPendingControls(){let r=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return r&&this.updateValueAndValidity({onlySelf:!0}),r;}_forEachChild(r){this.controls.forEach((e,i)=>{r(e,i);});}_updateValue(){this.value=this.controls.filter(r=>r.enabled||this.disabled).map(r=>r.value);}_anyControls(r){return this.controls.some(e=>e.enabled&&r(e));}_setUpControls(){this._forEachChild(r=>this._registerControl(r));}_allControlsDisabled(){for(let r of this.controls)if(r.enabled)return!1;return this.controls.length>0||this.disabled;}_registerControl(r){r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange);}_find(r){return this.at(r)??null;}};function Jy(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0);}var xc=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t();return e.useNonNullable=!0,e;}group(e,i=null){let n=this._reduceControls(e),a={};return Jy(i)?a=i:i!==null&&(a.validators=i.validator,a.asyncValidators=i.asyncValidator),new Ls(n,a);}record(e,i=null){let n=this._reduceControls(e);return new Gf(n,i);}control(e,i,n){let a={};return this.useNonNullable?(Jy(i)?a=i:(a.validators=i,a.asyncValidators=n),new zi(e,ot(W({},a),{nonNullable:!0}))):new zi(e,i,n);}array(e,i,n){let a=e.map(o=>this._createControl(o));return new Qf(a,i,n);}_reduceControls(e){let i={};return Object.keys(e).forEach(n=>{i[n]=this._createControl(e[n]);}),i;}_createControl(e){if(e instanceof zi)return e;if(e instanceof Fs)return e;if(Array.isArray(e)){let i=e[0],n=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(i,n,a);}else return this.control(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var sn=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ns,useValue:e.callSetDisabledState??zu}]};}static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[C1]});}return t;})(),Ro=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:rg,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ns,useValue:e.callSetDisabledState??zu}]};}static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[C1]});}return t;})();function Po(t){return t.buttons===0||t.detail===0;}function Oo(t){let r=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!r&&r.identifier===-1&&(r.radiusX==null||r.radiusX===1)&&(r.radiusY==null||r.radiusY===1);}var og;function w1(){if(og==null){let t=typeof document<"u"?document.head:null;og=!!(t&&(t.createShadowRoot||t.attachShadow));}return og;}function sg(t){if(w1()){let r=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&r instanceof ShadowRoot)return r;}return null;}function Pa(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let r=t.shadowRoot.activeElement;if(r===t)break;t=r;}return t;}function Bi(t){return t.composedPath?t.composedPath()[0]:t.target;}var lg;try{lg=typeof Intl<"u"&&Intl.v8BreakIterator;}catch{lg=!1;}var Me=(()=>{class t{_platformId=p(po);isBrowser=this._platformId?Dv(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||lg)&&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 ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Cc;function D1(){if(Cc==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Cc=!0}));}finally{Cc=Cc||!1;}return Cc;}function Oa(t){return D1()?t:!!t.capture;}function Vi(t,r=0){return Wu(t)?Number(t):arguments.length===2?r:0;}function Wu(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t));}function $i(t){return t instanceof J?t.nativeElement:t;}var k1=new F("cdk-input-modality-detector-options"),M1={ignoreKeys:[18,17,224,91,16]},S1= ��650,cg={passive:!0,capture:!0},E1=(()=>{class t{_platform=p(Me);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value;}_mostRecentTarget=null;_modality=new Mt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Bi(e));};_onMousedown=e=>{Date.now()-this._lastTouchMs<S1||(this._modality.next(Po(e)?"keyboard":"mouse"),this._mostRecentTarget=Bi(e));};_onTouchstart=e=>{if(Oo(e)){this._modality.next("keyboard");return;}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Bi(e);};constructor(){let e=p(ce),i=p(he),n=p(k1,{optional:!0});if(this._options=W(W({},M1),n),this.modalityDetected=this._modality.pipe(ds(1)),this.modalityChanged=this.modalityDetected.pipe(Mh()),this._platform.isBrowser){let a=p(pi).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[a.listen(i,"keydown",this._onKeydown,cg),a.listen(i,"mousedown",this._onMousedown,cg),a.listen(i,"touchstart",this._onTouchstart,cg)]);}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e());}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),wc=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t;}(wc||{}),T1=new F("cdk-focus-monitor-default-options"),qu=Oa({passive:!0,capture:!0}),Vt=(()=>{class t{_ngZone=p(ce);_platform=p(Me);_inputModalityDetector=p(E1);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map();_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map();_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1);};_document=p(he);_stopInputModalityDetector=new Q();constructor(){let e=p(T1,{optional:!0});this._detectionMode=e?.detectionMode||wc.IMMEDIATE;}_rootNodeFocusAndBlurListener=e=>{let i=Bi(e);for(let n=i;n;n=n.parentElement)e.type==="focus"?this._onFocus(e,n):this._onBlur(e,n);};monitor(e,i=!1){let n=$i(e);if(!this._platform.isBrowser||n.nodeType!==1)return ae();let a=sg(n)||this._document,o=this._elementInfo.get(n);if(o)return i&&(o.checkChildren=!0),o.subject;let s={checkChildren:i,subject:new Q(),rootNode:a};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject;}stopMonitoring(e){let i=$i(e),n=this._elementInfo.get(i);n&&(n.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(n));}focusVia(e,i,n){let a=$i(e),o=this._document.activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,u])=>this._originChanged(s,i,u)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(n));}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i));}_getWindow(){return this._document.defaultView||window;}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program";}_shouldBeAttributedToTouch(e){return this._detectionMode===wc.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget);}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program");}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===wc.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?S1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n);}});}_onFocus(e,i){let n=this._elementInfo.get(i),a=Bi(e);!n||!n.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),n);}_onBlur(e,i){let n=this._elementInfo.get(i);!n||n.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(n,null));}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i));}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,n=this._rootNodeFocusListenerCount.get(i)||0;n||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,qu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,qu);}),this._rootNodeFocusListenerCount.set(i,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener);}),this._inputModalityDetector.modalityDetected.pipe(ke(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0);}));}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let n=this._rootNodeFocusListenerCount.get(i);n>1?this._rootNodeFocusListenerCount.set(i,n-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,qu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qu),this._rootNodeFocusListenerCount.delete(i));}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId));}_originChanged(e,i,n){this._setClasses(e,i),this._emitOrigin(n,i),this._lastFocusOrigin=i;}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((n,a)=>{(a===e||n.checkChildren&&a.contains(e))&&i.push([a,n]);}),i;}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o<a.length;o++)if(a[o].contains(i))return!0;}return!1;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),dg=(()=>{class t{_elementRef=p(J);_focusMonitor=p(Vt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new $();constructor(){}get focusOrigin(){return this._focusOrigin;}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i);});}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe();}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});}return t;})();var Gu=new WeakMap(),Ze=(()=>{class t{_appRef;_injector=p(be);_environmentInjector=p(Ai);load(e){let i=this._appRef=this._appRef||this._injector.get(vr),n=Gu.get(i);n||(n={loaders:new Set(),refs:[]},Gu.set(i,n),i.onDestroy(()=>{Gu.get(i)?.refs.forEach(a=>a.destroy()),Gu.delete(i);})),n.loaders.has(e)||(n.loaders.add(e),n.refs.push(Ed(e,{environmentInjector:this._environmentInjector})));}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Fa=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,n){},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 t;})();function Bs(t){return Array.isArray(t)?t:[t];}var I1=new Set(),Fo,Qu=(()=>{class t{_platform=p(Me);_nonce=p(Al,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fT;}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&hT(e,this._nonce),this._matchMedia(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function hT(t,r){if(!I1.has(t))try{Fo||(Fo=document.createElement("style"),r&&Fo.setAttribute("nonce",r),Fo.setAttribute("type","text/css"),document.head.appendChild(Fo)),Fo.sheet&&(Fo.sheet.insertRule(`@media ${t} {body{ }}`,0),I1.add(t));}catch(e){console.error(e);}}function fT(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}};}var La=(()=>{class t{_mediaMatcher=p(Qu);_zone=p(ce);_queries=new Map();_destroySubject=new Q();constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete();}isMatched(e){return A1(Bs(e)).some(n=>this._registerQuery(n).mql.matches);}observe(e){let n=A1(Bs(e)).map(o=>this._registerQuery(o).observable),a=_r(n);return a=bd(a.pipe(fe(1)),a.pipe(ds(1),ya(0))),a.pipe(me(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:h})=>{s.matches=s.matches||u,s.breakpoints[h]=u;}),s;}));}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new ui(o=>{let s=u=>this._zone.run(()=>o.next(u));return i.addListener(s),()=>{i.removeListener(s);};}).pipe(st(i),me(({matches:o})=>({query:e,matches:o})),ke(this._destroySubject)),mql:i};return this._queries.set(e,a),a;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function A1(t){return t.map(r=>r.split(",")).reduce((r,e)=>r.concat(e)).map(r=>r.trim());}function gT(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let r=0;r<t.addedNodes.length;r++)if(!(t.addedNodes[r]instanceof Comment))return!1;for(let r=0;r<t.removedNodes.length;r++)if(!(t.removedNodes[r]instanceof Comment))return!1;return!0;}return!1;}var R1=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),P1=(()=>{class t{_mutationObserverFactory=p(R1);_observedElements=new Map();_ngZone=p(ce);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i));}observe(e){let i=$i(e);return new ui(n=>{let o=this._observeElement(i).pipe(me(s=>s.filter(u=>!gT(u))),Re(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{n.next(s);});});return()=>{o.unsubscribe(),this._unobserveElement(i);};});}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new Q(),n=this._mutationObserverFactory.create(a=>i.next(a));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:i,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:i,stream:n}=this._observedElements.get(e);i&&i.disconnect(),n.complete(),this._observedElements.delete(e);}}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Yu=(()=>{class t{_contentObserver=p(P1);_elementRef=p(J);event=new $();get disabled(){return this._disabled;}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe();}_disabled=!1;get debounce(){return this._debounce;}set debounce(e){this._debounce=Vi(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(ya(this.debounce)):e).subscribe(this.event);}_unsubscribe(){this._currentSubscription?.unsubscribe();}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",U],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});}return t;})(),Vs=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({providers:[R1]});}return t;})();var pg=(()=>{class t{_platform=p(Me);constructor(){}isDisabled(e){return e.hasAttribute("disabled");}isVisible(e){return bT(e)&&getComputedStyle(e).visibility==="visible";}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=_T(MT(e));if(i&&(O1(i)===-1||!this.isVisible(i)))return!1;let n=e.nodeName.toLowerCase(),a=O1(e);return e.hasAttribute("contenteditable")?a!==-1:n==="iframe"||n==="object"||this._platform.WEBKIT&&this._platform.IOS&&!DT(e)?!1:n==="audio"?e.hasAttribute("controls")?a!==-1:!1:n==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0;}isFocusable(e,i){return kT(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e));}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function _T(t){try{return t.frameElement;}catch{return null;}}function bT(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length);}function vT(t){let r=t.nodeName.toLowerCase();return r==="input"||r==="select"||r==="button"||r==="textarea";}function yT(t){return CT(t)&&t.type=="hidden";}function xT(t){return wT(t)&&t.hasAttribute("href");}function CT(t){return t.nodeName.toLowerCase()=="input";}function wT(t){return t.nodeName.toLowerCase()=="a";}function N1(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let r=t.getAttribute("tabindex");return!!(r&&!isNaN(parseInt(r,10)));}function O1(t){if(!N1(t))return null;let r=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(r)?-1:r;}function DT(t){let r=t.nodeName.toLowerCase(),e=r==="input"&&t.type;return e==="text"||e==="password"||r==="select"||r==="textarea";}function kT(t){return yT(t)?!1:vT(t)||xT(t)||t.hasAttribute("contenteditable")||N1(t);}function MT(t){return t.ownerDocument&&t.ownerDocument.defaultView||window;}var mg=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled;}set enabled(r){this._enabled=r,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(r,this._startAnchor),this._toggleAnchorTabIndex(r,this._endAnchor));}_enabled=!0;constructor(r,e,i,n,a=!1,o){this._element=r,this._checker=e,this._ngZone=i,this._document=n,this._injector=o,a||this.attachAnchors();}destroy(){let r=this._startAnchor,e=this._endAnchor;r&&(r.removeEventListener("focus",this.startAnchorListener),r.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(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(r)));});}focusFirstTabbableElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(r)));});}focusLastTabbableElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(r)));});}_getRegionBoundary(r){let e=this._element.querySelectorAll(`[cdk-focus-region-${r}], [cdkFocusRegion${r}], [cdk-focus-${r}]`);return r=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element);}focusInitialElement(r){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(r),!!i;}return e.focus(r),!0;}return this.focusFirstTabbableElement(r);}focusFirstTabbableElement(r){let e=this._getRegionBoundary("start");return e&&e.focus(r),!!e;}focusLastTabbableElement(r){let e=this._getRegionBoundary("end");return e&&e.focus(r),!!e;}hasAttached(){return this._hasAttached;}_getFirstTabbableElement(r){if(this._checker.isFocusable(r)&&this._checker.isTabbable(r))return r;let e=r.children;for(let i=0;i<e.length;i++){let n=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(n)return n;}return null;}_getLastTabbableElement(r){if(this._checker.isFocusable(r)&&this._checker.isTabbable(r))return r;let e=r.children;for(let i=e.length-1;i>=0;i--){let n=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(n)return n;}return null;}_createAnchor(){let r=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,r),r.classList.add("cdk-visually-hidden"),r.classList.add("cdk-focus-trap-anchor"),r.setAttribute("aria-hidden","true"),r;}_toggleAnchorTabIndex(r,e){r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex");}toggleAnchors(r){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(r,this._startAnchor),this._toggleAnchorTabIndex(r,this._endAnchor));}_executeOnStable(r){this._injector?ut(r,{injector:this._injector}):setTimeout(r);}},hg=(()=>{class t{_checker=p(pg);_ngZone=p(ce);_document=p(he);_injector=p(be);constructor(){p(Ze).load(Fa);}create(e,i=!1){return new mg(e,this._checker,this._ngZone,this._document,i,this._injector);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var z1=new F("liveAnnouncerElement",{providedIn:"root",factory:B1});function B1(){return null;}var V1=new F("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),ST=0,Lo=(()=>{class t{_ngZone=p(ce);_defaultOptions=p(V1,{optional:!0});_liveElement;_document=p(he);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=p(z1,{optional:!0});this._liveElement=e||this._createLiveElement();}announce(e,...i){let n=this._defaultOptions,a,o;return i.length===1&&typeof i[0]=="number"?o=i[0]:[a,o]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=n&&n.politeness?n.politeness:"polite"),o==null&&n&&(o=n.duration),this._liveElement.setAttribute("aria-live",a),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 o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0;},100),this._currentPromise));}clear(){this._liveElement&&(this._liveElement.textContent="");}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0;}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),n=this._document.createElement("div");for(let a=0;a<i.length;a++)i[a].remove();return n.classList.add(e),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),n.id=`cdk-live-announcer-${ST++}`,this._document.body.appendChild(n),n;}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n<i.length;n++){let a=i[n],o=a.getAttribute("aria-owns");o?o.indexOf(e)===-1&&a.setAttribute("aria-owns",o+" "+e):a.setAttribute("aria-owns",e);}}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Na=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t;}(Na||{}),F1="cdk-high-contrast-black-on-white",L1="cdk-high-contrast-white-on-black",ug="cdk-high-contrast-active",Xu=(()=>{class t{_platform=p(Me);_hasCheckedHighContrastMode;_document=p(he);_breakpointSubscription;constructor(){this._breakpointSubscription=p(La).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses());});}getHighContrastMode(){if(!this._platform.isBrowser)return Na.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,n=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(n&&n.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Na.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Na.BLACK_ON_WHITE;}return Na.NONE;}ngOnDestroy(){this._breakpointSubscription.unsubscribe();}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(ug,F1,L1),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Na.BLACK_ON_WHITE?e.add(ug,F1):i===Na.WHITE_ON_BLACK&&e.add(ug,L1);}}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Dc=(()=>{class t{constructor(){p(Xu)._applyBodyHighContrastModeCssClasses();}static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[Vs]});}return t;})();var fg={},He=(()=>{class t{_appId=p(mo);getId(e){return this._appId!=="ng"&&(e+=this._appId),fg.hasOwnProperty(e)||(fg[e]=0),`${e}${fg[e]++}`;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var ET=200,Zu=class{_letterKeyStream=new Q();_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new Q();selectedItem=this._selectedItem;constructor(r,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:ET;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(r),this._setupKeyHandler(i);}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete();}setCurrentSelectedItemIndex(r){this._selectedItemIndex=r;}setItems(r){this._items=r;}handleKey(r){let e=r.keyCode;r.key&&r.key.length===1?this._letterKeyStream.next(r.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(r){this._letterKeyStream.pipe(Nt(e=>this._pressedLetters.push(e)),ya(r),Re(()=>this._pressedLetters.length>0),me(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let n=(this._selectedItemIndex+i)%this._items.length,a=this._items[n];if(!this._skipPredicateFn?.(a)&&a.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(a);break;}}this._pressedLetters=[];});}};function wt(t,...r){return r.length?r.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey;}var $s=class{_items;_activeItemIndex=B(-1);_activeItem=B(null);_wrap=!1;_typeaheadSubscription=it.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=r=>r.disabled;constructor(r,e){this._items=r,r instanceof Ji?this._itemChangesSubscription=r.changes.subscribe(i=>this._itemsChanged(i.toArray())):co(r)&&(this._effectRef=Yr(()=>this._itemsChanged(r()),{injector:e}));}tabOut=new Q();change=new Q();skipPredicate(r){return this._skipPredicateFn=r,this;}withWrap(r=!0){return this._wrap=r,this;}withVerticalOrientation(r=!0){return this._vertical=r,this;}withHorizontalOrientation(r){return this._horizontal=r,this;}withAllowedModifierKeys(r){return this._allowedModifierKeys=r,this;}withTypeAhead(r=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Zu(e,{debounceInterval:typeof r=="number"?r:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i);}),this;}cancelTypeahead(){return this._typeahead?.reset(),this;}withHomeAndEnd(r=!0){return this._homeAndEnd=r,this;}withPageUpDown(r=!0,e=10){return this._pageUpAndDown={enabled:r,delta:e},this;}setActiveItem(r){let e=this._activeItem();this.updateActiveItem(r),this._activeItem()!==e&&this.change.next(this._activeItemIndex());}onKeydown(r){let e=r.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!r[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break;}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break;}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break;}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break;}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break;}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break;}else return;case 33:if(this._pageUpAndDown.enabled&&n){let a=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break;}else return;case 34:if(this._pageUpAndDown.enabled&&n){let a=this._activeItemIndex()+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a<o?a:o-1,-1);break;}else return;default:(n||wt(r,"shiftKey"))&&this._typeahead?.handleKey(r);return;}this._typeahead?.reset(),r.preventDefault();}get activeItemIndex(){return this._activeItemIndex();}get activeItem(){return this._activeItem();}isTyping(){return!!this._typeahead&&this._typeahead.isTyping();}setFirstItemActive(){this._setActiveItemByIndex(0,1);}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1);}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1);}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1);}updateActiveItem(r){let e=this._getItemsArray(),i=typeof r=="number"?r:e.indexOf(r),n=e[i];this._activeItem.set(n??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i);}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete();}_setActiveItemByDelta(r){this._wrap?this._setActiveInWrapMode(r):this._setActiveInDefaultMode(r);}_setActiveInWrapMode(r){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let n=(this._activeItemIndex()+r*i+e.length)%e.length,a=e[n];if(!this._skipPredicateFn(a)){this.setActiveItem(n);return;}}}_setActiveInDefaultMode(r){this._setActiveItemByIndex(this._activeItemIndex()+r,r);}_setActiveItemByIndex(r,e){let i=this._getItemsArray();if(i[r]){for(;this._skipPredicateFn(i[r]);)if(r+=e,!i[r])return;this.setActiveItem(r);}}_getItemsArray(){return co(this._items)?this._items():this._items instanceof Ji?this._items.toArray():this._items;}_itemsChanged(r){this._typeahead?.setItems(r);let e=this._activeItem();if(e){let i=r.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i));}}};var kc=class extends $s{setActiveItem(r){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(r),this.activeItem&&this.activeItem.setActiveStyles();}};var sr=class extends $s{_origin="program";setFocusOrigin(r){return this._origin=r,this;}setActiveItem(r){super.setActiveItem(r),this.activeItem&&this.activeItem.focus(this._origin);}};var H1=" ";function bg(t,r,e){let i=Ju(t,r);e=e.trim(),!i.some(n=>n.trim()===e)&&(i.push(e),t.setAttribute(r,i.join(H1)));}function em(t,r,e){let i=Ju(t,r);e=e.trim();let n=i.filter(a=>a!==e);n.length?t.setAttribute(r,n.join(H1)):t.removeAttribute(r);}function Ju(t,r){return t.getAttribute(r)?.match(/\S+/g)??[];}var U1="cdk-describedby-message",Ku="cdk-describedby-host",_g=0,tm=(()=>{class t{_platform=p(Me);_document=p(he);_messageRegistry=new Map();_messagesContainer=null;_id=`${_g++}`;constructor(){p(Ze).load(Fa),this._id=p(mo)+"-"+_g++;}describe(e,i,n){if(!this._canBeDescribed(e,i))return;let a=gg(i,n);typeof i!="string"?(j1(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,n),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a);}removeDescription(e,i,n){if(!i||!this._isElementNode(e))return;let a=gg(i,n);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let o=this._messageRegistry.get(a);o&&o.referenceCount===0&&this._deleteMessageElement(a);}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null);}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Ku}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(Ku);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear();}_createMessageElement(e,i){let n=this._document.createElement("div");j1(n,this._id),n.textContent=e,i&&n.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(n),this._messageRegistry.set(gg(e,i),{messageElement:n,referenceCount:0});}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e);}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let a=0;a<i.length;a++)i[a].remove();let n=this._document.createElement("div");n.style.visibility="hidden",n.classList.add(e),n.classList.add("cdk-visually-hidden"),this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._messagesContainer=n;}_removeCdkDescribedByReferenceIds(e){let i=Ju(e,"aria-describedby").filter(n=>n.indexOf(U1)!=0);e.setAttribute("aria-describedby",i.join(" "));}_addMessageReference(e,i){let n=this._messageRegistry.get(i);bg(e,"aria-describedby",n.messageElement.id),e.setAttribute(Ku,this._id),n.referenceCount++;}_removeMessageReference(e,i){let n=this._messageRegistry.get(i);n.referenceCount--,em(e,"aria-describedby",n.messageElement.id),e.removeAttribute(Ku);}_isElementDescribedByMessage(e,i){let n=Ju(e,"aria-describedby"),a=this._messageRegistry.get(i),o=a&&a.messageElement.id;return!!o&&n.indexOf(o)!=-1;}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let n=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return n?!a||a.trim()!==n:!1;}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function gg(t,r){return typeof t=="string"?`${r||""}/${t}`:t;}function j1(t,r){t.id||(t.id=`${U1}-${r}-${_g++}`);}var lr=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t;}(lr||{}),im,$o;function nm(){if($o==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return $o=!1,$o;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)$o=!0;else{let t=Element.prototype.scrollTo;t?$o=!/\{\s*\[native code\]\s*\}/.test(t.toString()):$o=!1 ��;}}return $o;}function js(){if(typeof document!="object"||!document)return lr.NORMAL;if(im==null){let t=document.createElement("div"),r=t.style;t.dir="rtl",r.width="1px",r.overflow="auto",r.visibility="hidden",r.pointerEvents="none",r.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),im=lr.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,im=t.scrollLeft===0?lr.NEGATED:lr.INVERTED),t.remove();}return im;}function vg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha;}var Hs,W1=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function yg(){if(Hs)return Hs;if(typeof document!="object"||!document)return Hs=new Set(W1),Hs;let t=document.createElement("input");return Hs=new Set(W1.filter(r=>(t.setAttribute("type",r),t.type===r))),Hs;}var q1={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 AT=new F("MATERIAL_ANIMATIONS");var G1=null;function Mc(){return p(AT,{optional:!0})?.animationsDisabled||p(ms,{optional:!0})==="NoopAnimations"?"di-disabled":(G1??=p(Qu).matchMedia("(prefers-reduced-motion)").matches,G1?"reduced-motion":"enabled");}function Fe(){return Mc()!=="enabled";}function qt(t){return t==null?"":typeof t=="string"?t:`${t}px`;}function ii(t){return t!=null&&`${t}`!="false";}var ji=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t;}(ji||{}),xg=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ji.HIDDEN;constructor(r,e,i,n=!1){this._renderer=r,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=n;}fadeOut(){this._renderer.fadeOutRipple(this);}},Q1=Oa({passive:!0,capture:!0}),Cg=class{_events=new Map();addHandler(r,e,i,n){let a=this._events.get(e);if(a){let o=a.get(i);o?o.add(n):a.set(i,new Set([n]));}else this._events.set(e,new Map([[i,new Set([n])]])),r.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Q1);});}removeHandler(r,e,i){let n=this._events.get(r);if(!n)return;let a=n.get(e);a&&(a.delete(i),a.size===0&&n.delete(e),n.size===0&&(this._events.delete(r),document.removeEventListener(r,this._delegateEventHandler,Q1)));}_delegateEventHandler=r=>{let e=Bi(r);e&&this._events.get(r.type)?.forEach((i,n)=>{(n===e||n.contains(e))&&i.forEach(a=>a.handleEvent(r));});};},Sc={enterDuration:225,exitDuration:150},RT=800,Y1=Oa({passive:!0,capture:!0}),X1=["mousedown","touchstart"],Z1=["mouseup","mouseleave","touchend","touchcancel"],PT=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,n){},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 t;})(),jo=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map();_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Cg();constructor(r,e,i,n,a){this._target=r,this._ngZone=e,this._platform=n,n.isBrowser&&(this._containerElement=$i(i)),a&&a.get(Ze).load(PT);}fadeInRipple(r,e,i={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=W(W({},Sc),i.animation);i.centered&&(r=n.left+n.width/2,e=n.top+n.height/2);let o=i.radius||OT(r,e,n),s=r-n.left,u=e-n.top,h=a.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=`${s-o}px`,f.style.top=`${u-o}px`,f.style.height=`${o*2}px`,f.style.width=`${o*2}px`,i.color!=null&&(f.style.backgroundColor=i.color),f.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(f);let _=window.getComputedStyle(f),y=_.transitionProperty,w=_.transitionDuration,C=y==="none"||w==="0s"||w==="0s, 0s"||n.width===0&&n.height===0,z=new xg(this,f,i,C);f.style.transform="scale3d(1, 1, 1)",z.state=ji.FADING_IN,i.persistent||(this._mostRecentTransientRipple=z);let L=null;return!C&&(h||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Z=()=>{L&&(L.fallbackTimer=null),clearTimeout(j),this._finishRippleTransition(z);},V=()=>this._destroyRipple(z),j=setTimeout(V,h+100);f.addEventListener("transitionend",Z),f.addEventListener("transitioncancel",V),L={onTransitionEnd:Z,onTransitionCancel:V,fallbackTimer:j};}),this._activeRipples.set(z,L),(C||!h)&&this._finishRippleTransition(z),z;}fadeOutRipple(r){if(r.state===ji.FADING_OUT||r.state===ji.HIDDEN)return;let e=r.element,i=W(W({},Sc),r.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",r.state=ji.FADING_OUT,(r._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(r);}fadeOutAll(){this._getActiveRipples().forEach(r=>r.fadeOut());}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(r=>{r.config.persistent||r.fadeOut();});}setupTriggerEvents(r){let e=$i(r);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,X1.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this);}));}handleEvent(r){r.type==="mousedown"?this._onMousedown(r):r.type==="touchstart"?this._onTouchStart(r):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Z1.forEach(e=>{this._triggerElement.addEventListener(e,this,Y1);});}),this._pointerUpEventsRegistered=!0);}_finishRippleTransition(r){r.state===ji.FADING_IN?this._startFadeOutTransition(r):r.state===ji.FADING_OUT&&this._destroyRipple(r);}_startFadeOutTransition(r){let e=r===this._mostRecentTransientRipple,{persistent:i}=r.config;r.state=ji.VISIBLE,!i&&(!e||!this._isPointerDown)&&r.fadeOut();}_destroyRipple(r){let e=this._activeRipples.get(r)??null;this._activeRipples.delete(r),this._activeRipples.size||(this._containerRect=null),r===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),r.state=ji.HIDDEN,e!==null&&(r.element.removeEventListener("transitionend",e.onTransitionEnd),r.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),r.element.remove();}_onMousedown(r){let e=Po(r),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+RT;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(r.clientX,r.clientY,this._target.rippleConfig));}_onTouchStart(r){if(!this._target.rippleDisabled&&!Oo(r)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=r.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig);}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(r=>{let e=r.state===ji.VISIBLE||r.config.terminateOnPointerUp&&r.state===ji.FADING_IN;!r.config.persistent&&e&&r.fadeOut();}));}_getActiveRipples(){return Array.from(this._activeRipples.keys());}_removeTriggerEvents(){let r=this._triggerElement;r&&(X1.forEach(e=>t._eventManager.removeHandler(e,r,this)),this._pointerUpEventsRegistered&&(Z1.forEach(e=>r.removeEventListener(e,this,Y1)),this._pointerUpEventsRegistered=!1));}};function OT(t,r,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),n=Math.max(Math.abs(r-e.top),Math.abs(r-e.bottom));return Math.sqrt(i*i+n*n);}var za=new F("mat-ripple-global-options"),ni=(()=>{class t{_elementRef=p(J);_animationsDisabled=Fe();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=p(ce),i=p(Me),n=p(za,{optional:!0}),a=p(be);this._globalOptions=n||{},this._rippleRenderer=new jo(this,e,this._elementRef,i,a);}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:W(W(W({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp};}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled;}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger);}launch(e,i=0,n){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,W(W({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,W(W({},this.rippleConfig),e));}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,n){i&2&&X("mat-ripple-unbounded",n.unbounded);},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]});}return t;})();var FT={capture:!0},LT=["focus","mousedown","mouseenter","touchstart"],wg="mat-ripple-loader-uninitialized",Dg="mat-ripple-loader-class-name",K1="mat-ripple-loader-centered",rm="mat-ripple-loader-disabled",J1=(()=>{class t{_document=p(he);_animationsDisabled=Fe();_globalRippleOptions=p(za,{optional:!0});_platform=p(Me);_ngZone=p(ce);_injector=p(be);_eventCleanups;_hosts=new Map();constructor(){let e=p(pi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>LT.map(i=>e.listen(this._document,i,this._onInteraction,FT)));}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i());}configureRipple(e,i){e.setAttribute(wg,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Dg))&&e.setAttribute(Dg,i.className||""),i.centered&&e.setAttribute(K1,""),i.disabled&&e.setAttribute(rm,"");}setDisabled(e,i){let n=this._hosts.get(e);n?(n.target.rippleDisabled=i,!i&&!n.hasSetUpEvents&&(n.hasSetUpEvents=!0,n.renderer.setupTriggerEvents(e))):i?e.setAttribute(rm,""):e.removeAttribute(rm);}_onInteraction=e=>{let i=Bi(e);if(i instanceof HTMLElement){let n=i.closest(`[${wg}="${this._globalRippleOptions?.namespace??""}"]`);n&&this._createRipple(n);}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Dg)),e.append(i);let n=this._globalRippleOptions,a=this._animationsDisabled?0:n?.animation?.enterDuration??Sc.enterDuration,o=this._animationsDisabled?0:n?.animation?.exitDuration??Sc.exitDuration,s={rippleDisabled:this._animationsDisabled||n?.disabled||e.hasAttribute(rm),rippleConfig:{centered:e.hasAttribute(K1),terminateOnPointerUp:n?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:o}}},u=new jo(s,this._ngZone,i,this._platform,this._injector),h=!s.rippleDisabled;h&&u.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:u,hasSetUpEvents:h}),e.removeAttribute(wg);}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e));}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Rt=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,n){},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 t;})();var NT=["mat-icon-button",""],zT=["*"],BT=new F("MAT_BUTTON_CONFIG");function ex(t){return t==null?void 0:We(t);}var am=(()=>{class t{_elementRef=p(J);_ngZone=p(ce);_animationsDisabled=Fe();_config=p(BT,{optional:!0});_focusMonitor=p(Vt);_cleanupClick;_renderer=p($e);_rippleLoader=p(J1);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple;}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled();}_disableRipple=!1;get disabled(){return this._disabled;}set disabled(e){this._disabled=e,this._updateRippleDisabled();}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e;}constructor(){p(Ze).load(Rt);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"});}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor();}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement);}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i);}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null;}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0;}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled);}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex;}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation());}));}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,n){i&2&&(te("disabled",n._getDisabledAttribute())("aria-disabled",n._getAriaDisabled())("tabindex",n._getTabIndex()),et(n.color?"mat-"+n.color:""),X("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("mat-unthemed",!n.color)("_mat-animation-noopable",n._animationsDisabled));},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",U],disabled:[2,"disabled","disabled",U],ariaDisabled:[2,"aria-disabled","ariaDisabled",U],disabledInteractive:[2,"disabledInteractive","disabledInteractive",U],tabIndex:[2,"tabIndex","tabIndex",ex],_tabindex:[2,"tabindex","_tabindex",ex]}});}return t;})(),ri=(()=>{class t extends am{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0});}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[G],attrs:NT,ngContentSelectors:zT,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&1&&(Ce(),Et(0,"span",0),se(1),Et(2,"span",1)(3,"span",2));},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0});}return t;})();var VT=new F("cdk-dir-doc",{providedIn:"root",factory:$T});function $T(){return p(he);}var jT=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function tx(t){let r=t?.toLowerCase()||"";return r==="auto"&&typeof navigator<"u"&&navigator?.language?jT.test(navigator.language)?"rtl":"ltr":r==="rtl"?"rtl":"ltr";}var gt=(()=>{class t{get value(){return this.valueSignal();}valueSignal=B("ltr");change=new $();constructor(){let e=p(VT,{optional:!0});if(e){let i=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(tx(i||n||"ltr"));}}ngOnDestroy(){this.change.complete();}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Ar=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({});}return t;})();var ue=(()=>{class t{constructor(){p(Xu)._applyBodyHighContrastModeCssClasses();}static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[Ar,Ar]});}return t;})();var ln=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ue,ue]});}return t;})();var HT=["matButton",""],rx=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ax=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var UT=["mat-mini-fab",""],WT=`.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::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}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-touch-target-size, 48px);display:var(--mat-fab-touch-target-display, block);left:50%;width:var(--mat-fab-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-small-touch-target-size, 48px);display:var(--mat-fab-small-touch-target-display);left:50%;width:var(--mat-fab-small-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-m ��dc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}
`,ix=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),De=(()=>{class t extends am{get appearance(){return this._appearance;}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text");}_appearance=null;constructor(){super();let e=qT(this._elementRef.nativeElement);e&&this.setAppearance(e);}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,n=this._appearance?ix.get(this._appearance):null,a=ix.get(e);n&&i.remove(...n),i.add(...a),this._appearance=e;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[G],attrs:HT,ngContentSelectors:ax,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&1&&(Ce(rx),Et(0,"span",0),se(1),Xe(2,"span",1),se(3,1),nt(),se(4,2),Et(5,"span",2)(6,"span",3)),i&2&&X("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab);},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0});}return t;})();function qT(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null;}var GT=new F("mat-mdc-fab-default-options",{providedIn:"root",factory:ox});function ox(){return{color:"accent"};}var nx=ox();var Ec=(()=>{class t extends am{_options=p(GT,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||nx,this.color=this._options.color||nx.color;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[G],attrs:UT,ngContentSelectors:ax,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&1&&(Ce(rx),Et(0,"span",0),se(1),Xe(2,"span",1),se(3,1),nt(),se(4,2),Et(5,"span",2)(6,"span",3)),i&2&&X("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab);},styles:[WT],encapsulation:2,changeDetection:0});}return t;})();var ge=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ue,ln,ue]});}return t;})();var kg=class{_box;_destroyed=new Q();_resizeSubject=new Q();_resizeObserver;_elementObservables=new Map();constructor(r){this._box=r,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)));}observe(r){return this._elementObservables.has(r)||this._elementObservables.set(r,new ui(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(r,{box:this._box}),()=>{this._resizeObserver?.unobserve(r),i.unsubscribe(),this._elementObservables.delete(r);};}).pipe(Re(e=>e.some(i=>i.target===r)),Ih({bufferSize:1,refCount:!0}),ke(this._destroyed))),this._elementObservables.get(r);}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear();}},om=(()=>{class t{_cleanupErrorListener;_observers=new Map();_ngZone=p(ce);constructor(){typeof ResizeObserver<"u";}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.();}observe(e,i){let n=i?.box||"content-box";return this._observers.has(n)||this._observers.set(n,new kg(n)),this._observers.get(n).observe(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var QT=["notch"],YT=["matFormFieldNotchedOutline",""],XT=["*"],sx=["iconPrefixContainer"],lx=["textPrefixContainer"],cx=["iconSuffixContainer"],dx=["textSuffixContainer"],ZT=["textField"],KT=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],JT=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function eI(t,r){t&1&&x(0,"span",21);}function tI(t,r){if(t&1&&(d(0,"label",20),se(1,1),k(2,eI,1,0,"span",21),c()),t&2){let e=b(2);g("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),te("for",e._control.disableAutomaticLabeling?null:e._control.id),l(2),M(!e.hideRequiredMarker&&e._control.required?2:-1);}}function iI(t,r){if(t&1&&k(0,tI,3,5,"label",20),t&2){let e=b();M(e._hasFloatingLabel()?0:-1);}}function nI(t,r){t&1&&x(0,"div",7);}function rI(t,r){}function aI(t,r){if(t&1&&de(0,rI,0,0,"ng-template",13),t&2){b(2);let e=Ue(1);g("ngTemplateOutlet",e);}}function oI(t,r){if(t&1&&(d(0,"div",9),k(1,aI,1,1,null,13),c()),t&2){let e=b();g("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),l(),M(e._forceDisplayInfixLabel()?-1:1);}}function sI(t,r){t&1&&(d(0,"div",10,2),se(2,2),c());}function lI(t,r){t&1&&(d(0,"div",11,3),se(2,3),c());}function cI(t,r){}function dI(t,r){if(t&1&&de(0,cI,0,0,"ng-template",13),t&2){b();let e=Ue(1);g("ngTemplateOutlet",e);}}function uI(t,r){t&1&&(d(0,"div",14,4),se(2,4),c());}function mI(t,r){t&1&&(d(0,"div",15,5),se(2,5),c());}function pI(t,r){t&1&&x(0,"div",16);}function hI(t,r){t&1&&(d(0,"div",18),se(1,6),c());}function fI(t,r){if(t&1&&(d(0,"mat-hint",22),m(1),c()),t&2){let e=b(2);g("id",e._hintLabelId),l(),v(e.hintLabel);}}function gI(t,r){if(t&1&&(d(0,"div",19),k(1,fI,2,2,"mat-hint",22),se(2,7),x(3,"div",23),se(4,8),c()),t&2){let e=b();l(),M(e.hintLabel?1:-1);}}var Pt=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["mat-label"]]});}return t;})(),Mg=new F("MatError"),Ba=(()=>{class t{id=p(He).getId("mat-mdc-error-");constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,n){i&2&&xt("id",n.id);},inputs:{id:"id"},features:[_e([{provide:Mg,useExisting:t}])]});}return t;})(),Us=(()=>{class t{align="start";id=p(He).getId("mat-mdc-hint-");static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,n){i&2&&(xt("id",n.id),te("align",null),X("mat-mdc-form-field-hint-end",n.align==="end"));},inputs:{align:"align",id:"id"}});}return t;})(),_x=new F("MatPrefix");var bx=new F("MatSuffix");var vx=new F("FloatingLabelParent"),ux=(()=>{class t{_elementRef=p(J);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=p(om);_ngZone=p(ce);_parent=p(vx);_resizeSubscription=new it();constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe();}getWidth(){return _I(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 ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,n){i&2&&X("mdc-floating-label--float-above",n.floating);},inputs:{floating:"floating",monitorResize:"monitorResize"}});}return t;})();function _I(t){let r=t;if(r.offsetParent!==null)return r.scrollWidth;let e=r.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i;}var mx="mdc-line-ripple--active",sm="mdc-line-ripple--deact ��ivating",px=(()=>{class t{_elementRef=p(J);_cleanupTransitionEnd;constructor(){let e=p(ce),i=p($e);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd);});}activate(){let e=this._elementRef.nativeElement.classList;e.remove(sm),e.add(mx);}deactivate(){this._elementRef.nativeElement.classList.add(sm);}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,n=i.contains(sm);e.propertyName==="opacity"&&n&&i.remove(mx,sm);};ngOnDestroy(){this._cleanupTransitionEnd();}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});}return t;})(),hx=(()=>{class t{_elementRef=p(J);_ngZone=p(ce);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="");}))):e.classList.add("mdc-notched-outline--no-label");}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`;}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`);}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,n){if(i&1&&H(QT,5),i&2){let a;R(a=P())&&(n._notch=a.first);}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,n){i&2&&X("mdc-notched-outline--notched",n.open);},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:YT,ngContentSelectors:XT,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,n){i&1&&(Ce(),Et(0,"div",1),Xe(1,"div",2,0),se(3),nt(),Et(4,"div",3));},encapsulation:2,changeDetection:0});}return t;})(),Ws=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t});}return t;})();var qs=new F("MatFormField"),yx=new F("MAT_FORM_FIELD_DEFAULT_OPTIONS"),fx="fill",bI="auto",gx="fixed",vI="translateY(-50%)",Dt=(()=>{class t{_elementRef=p(J);_changeDetectorRef=p(ve);_platform=p(Me);_idGenerator=p(He);_ngZone=p(ce);_defaults=p(yx,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Sn("iconPrefixContainer");_textPrefixContainerSignal=Sn("textPrefixContainer");_iconSuffixContainerSignal=Sn("iconSuffixContainer");_textSuffixContainerSignal=Sn("textSuffixContainer");_prefixSuffixContainers=Zt(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Yb(Pt);get hideRequiredMarker(){return this._hideRequiredMarker;}set hideRequiredMarker(e){this._hideRequiredMarker=ii(e);}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||bI;}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck());}_floatLabel;get appearance(){return this._appearanceSignal();}set appearance(e){let i=e||this._defaults?.appearance||fx;this._appearanceSignal.set(i);}_appearanceSignal=B(fx);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||gx;}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||gx;}_subscriptSizing=null;get hintLabel(){return this._hintLabel;}set hintLabel(e){this._hintLabel=e,this._processHints();}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl;}set _control(e){this._explicitFormFieldControl=e;}_destroyed=new Q();_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Fe();constructor(){let e=this._defaults,i=p(gt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Yr(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset();}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled");},300);}),this._changeDetectorRef.detectChanges();}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix();}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck();}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete();}getLabelId=Zt(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef;}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always");}_initializeControl(e){let i=this._control,n="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(n+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(n+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck();}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(st([void 0,void 0]),me(()=>[i.errorState,i.userAriaDescribedBy]),Th(),Re(([[a,o],[s,u]])=>a!==s||o!==u)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(ke(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()));}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText);}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),St(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck();});}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck();}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck();}),this._validateHints(),this._syncDescribedByIds();}_assertFormFieldControl(){this._control;}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e);}_syncOutlineLabelOffset(){Kb({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset());});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"});}return this._getOutlinedLabelOffset();},write:e=>this._writeOutlinedLabelStyles(e())});}_shouldAlwaysFloat(){return this.floatLabel==="always";}_hasOutline(){return this.appearance==="outline";}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat();}_hasFloatingLabel=Zt(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1;}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e];}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint";}_handleLabelResized(){this._refreshOutlineNotchWidth();}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth());}_processHints(){this._validateHints(),this._syncDescribedByIds();}_validateHints(){this._hintChildren;}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let a=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;a?e.push(a.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id);}else this._errorChildren&&e.push(...this._errorChildren.map(a=>a.id));let i=this._control.describedByIds,n;if(i){let a=this._describedByIds||e;n=e.concat(i.filter(o=>o&&!a.includes(o)));}else n=e;this._control.setDescribedByIds(n),this._describedByIds=e;}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,n=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,o=e?.getBoundingClientRect().width??0,s=i?.getBoundingClientRect().width??0,u=n?.getBoundingClientRect().width??0,h=a?.getBoundingClientRect().width??0,f=this._currentDirection==="rtl"?"-1":"1",_=`${o+s}px`,w=`calc(${f} * (${_} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,C=`var(--mat-mdc-form-field-label-transform, ${vI} translateX(${w}))`,z=o+s+u+h;return[C,z];}_writeOutlinedLabelStyles(e){if(e!==null){let[i,n]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),n!==null&&this._notchedOutline?._setMaxWidth(n);}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e;}return document.documentElement.contains(e);}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,n,a){if(i&1&&(Wb(a,n._labelChild,Pt,5),ye(a,Ws,5),ye(a,_x,5),ye(a,bx,5),ye(a,Mg,5),ye(a,Us,5)),i&2){Gr();let o;R(o=P())&&(n._formFieldControl=o.first),R(o=P())&&(n._prefixChildren=o),R(o=P())&&(n._suffixChildren=o),R(o=P())&&(n._errorChildren=o),R(o=P())&&(n._hintChildren=o);}},viewQuery:function(i,n){if(i&1&&(Mn(n._iconPrefixContainerSignal,sx,5),Mn(n._textPrefixContainerSignal,lx,5),Mn(n._iconSuffixContainerSignal,cx,5),Mn(n._textSuffixContainerSignal,dx,5),H(ZT,5),H(sx,5),H(lx,5),H(cx,5),H(dx,5),H(ux,5),H(hx,5),H(px,5)),i&2){Gr(4);let a;R(a=P())&&(n._textField=a.first),R(a=P())&&(n._iconPrefixContainer=a.first),R(a=P())&&(n._textPrefixContainer=a.first),R(a=P())&&(n._iconSuffixContainer=a.first),R(a=P())&&(n._textSuffixContainer=a.first),R(a=P())&&(n._floatingLabel=a.first),R(a=P())&&(n._notchedOutline=a.first),R(a=P())&&(n._lineRipple=a.first);}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,n){i&2&&X("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-appearance-fill",n.appearance=="fill")("mat-form-field-appearance-outline",n.appearance=="outline")("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-primary",n.color!=="accent"&&n.color!=="warn")("mat-accent",n.color==="accent")("mat-warn",n.color==="warn")("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"));},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[_e([{provide:qs,useExisting:t},{provide:vx,useExisting:t}])],ngContentSelectors:JT,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",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,n){if(i&1){let a=ee();Ce(KT),de(0,iI,1,1,"ng-template",null,0,go),d(2,"div",6,1),E("click",function(s){return T(a),I(n._control.onContainerClick(s));}),k(4,nI,1,0,"div",7),d(5,"div",8),k(6,oI,2,2,"div",9),k(7,sI,3,0,"div",10),k(8,lI,3,0,"div",11),d(9,"div",12),k(10,dI,1,1,null,13),se(11),c(),k(12,uI,3,0,"div",14),k(13,mI,3,0,"div",15),c(),k(14,pI,1,0,"div",16),c(),d(15,"div",17),k(16,hI,2,0,"div",18)(17,gI,5,1,"div",19),c();}if(i&2){let a;l(2),X("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),l(2),M(!n._hasOutline()&&!n._control.disabled?4:-1),l(2),M(n._hasOutline()?6:-1),l(),M(n._hasIconPrefix?7:-1),l(),M(n._hasTextPrefix?8:-1),l(2),M(!n._hasOutline()||n._forceDisplayInfixLabel()?10:-1),l(2),M(n._hasTextSuffix?12:-1),l(),M(n._hasIconSuffix?13:-1),l(),M(n._hasOutline()?-1:14),l(),X("mat-mdc-form-field-subscript-dynamic-size",n.subscriptSizing==="dynamic");let o=n._getSubscriptMessageType();l(),M((a=o)==="error"?16:a==="hint"?17:-1);}},dependencies:[ux,hx,ka,px,Us],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .m ��dc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
`],encapsulation:2,changeDetection:0});}return t;})();var kt=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ue,Vs,Dt,ue]});}return t;})();var lm;function CI(){if(lm===void 0&&(lm=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(lm=t.trustedTypes.createPolicy("angular#components",{createHTML:r=>r}));}return lm;}function Ic(t){return CI()?.createHTML(t)||t;}function xx(t){return Error(`Unable to find icon with the name "${t}"`);}function wI(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.");}function Cx(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`);}function wx(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`);}var na=class{url;svgText;options;svgElement;constructor(r,e,i){this.url=r,this.svgText=e,this.options=i;}},kx=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map();_iconSetConfigs=new Map();_cachedIconsByUrl=new Map();_inProgressUrlFetches=new Map();_fontCssClassesByAlias=new Map();_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,n,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._document=n;}addSvgIcon(e,i,n){return this.addSvgIconInNamespace("",e,i,n);}addSvgIconLiteral(e,i,n){return this.addSvgIconLiteralInNamespace("",e,i,n);}addSvgIconInNamespace(e,i,n,a){return this._addSvgIconConfig(e,i,new na(n,null,a));}addSvgIconResolver(e){return this._resolvers.push(e),this;}addSvgIconLiteralInNamespace(e,i,n,a){let o=this._sanitizer.sanitize(Dn.HTML,n);if(!o)throw wx(n);let s=Ic(o);return this._addSvgIconConfig(e,i,new na("",s,a));}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i);}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i);}addSvgIconSetInNamespace(e,i,n){return this._addSvgIconSetConfig(e,new na(i,null,n));}addSvgIconSetLiteralInNamespace(e,i,n){let a=this._sanitizer.sanitize(Dn.HTML,i);if(!a)throw wx(i);let o=Ic(a);return this._addSvgIconSetConfig(e,new na("",o,n));}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this;}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e;}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this;}getDefaultFontSetClass(){return this._defaultFontSetClass;}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(Dn.RESOURCE_URL,e);if(!i)throw Cx(e);let n=this._cachedIconsByUrl.get(i);return n?ae(cm(n)):this._loadSvgIconFromConfig(new na(e,null)).pipe(Nt(a=>this._cachedIconsByUrl.set(i,a)),me(a=>cm(a)));}getNamedSvgIcon(e,i=""){let n=Dx(i,e),a=this._svgIconConfigs.get(n);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(n,a),this._getSvgFromConfig(a);let o=this._iconSetConfigs.get(i);return o?this._getSvgFromIconSetConfigs(e,o):oo(xx(n));}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear();}_getSvgFromConfig(e){return e.svgText?ae(cm(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(me(i=>cm(i)));}_getSvgFromIconSetConfigs(e,i){let n=this._extractIconWithNameFromAnySet(e,i);if(n)return ae(n);let a=i.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Zi(s=>{let h=`Loading icon set URL: ${this._sanitizer.sanitize(Dn.RESOURCE_URL,o.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(h)),ae(null);})));return vd(a).pipe(me(()=>{let o=this._extractIconWithNameFromAnySet(e,i);if(!o)throw xx(e);return o;}));}_extractIconWithNameFromAnySet(e,i){for(let n=i.length-1;n>=0;n--){let a=i[n];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let o=this._svgElementFromConfig(a),s=this._extractSvgIconFromSet(o,e,a.options);if(s)return s;}}return null;}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Nt(i=>e.svgText=i),me(()=>this._svgElementFromConfig(e)));}_loadSvgIconSetFromConfig(e){return e.svgText?ae(null):this._fetchIcon(e).pipe(Nt(i=>e.svgText=i));}_extractSvgIconFromSet(e,i,n){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let o=a.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,n);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),n);let s=this._svgElementFromString(Ic("<svg></svg>"));return s.appendChild(o),this._setSvgAttributes(s,n);}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let n=i.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n;}_toSvgElement(e){let i=this._svgElementFromString(Ic("<svg></svg>")),n=e.attributes;for(let a=0;a<n.length;a++){let{name:o,value:s}=n[a];o!=="id"&&i.setAttribute(o,s);}for(let a=0;a<e.childNodes.length;a++)e.childNodes[a].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[a].cloneNode(!0));return i;}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e;}_fetchIcon(e){let{url:i,options:n}=e,a=n?.withCredentials??!1;if(!this._httpClient)throw wI();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let o=this._sanitizer.sanitize(Dn.RESOURCE_URL,i);if(!o)throw Cx(i);let s=this._inProgressUrlFetches.get(o);if(s)return s;let u=this._httpClient.get(o,{responseType:"text",withCredentials:a}).pipe(me(h=>Ic(h)),Wr(()=>this._inProgressUrlFetches.delete(o)),Db());return this._inProgressUrlFetches.set(o,u),u;}_addSvgIconConfig(e,i,n){return this._svgIconConfigs.set(Dx(e,i),n),this;}_addSvgIconSetConfig(e,i){let n=this._iconSetConfigs.get(e);return n?n.push(i):this._iconSetConfigs.set(e,[i]),this;}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i;}return e.svgElement;}_getIconConfigFromResolvers(e,i){for(let n=0;n<this._resolvers.length;n++){let a=this._resolvers[n](i,e);if(a)return DI(a)?new na(a.url,null,a.options):new na(a,null);}}static ɵfac=function(i){return new(i||t)(le(an,8),le(qn),le(he,8),le(Ca));};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function cm(t){return t.cloneNode(!0);}function Dx(t,r){return t+":"+r;}function DI(t){return!!(t.url&&t.options);}var kI=["*"],MI=new F("MAT_ICON_DEFAULT_OPTIONS"),SI=new F("mat-icon-location",{providedIn:"root",factory:EI});function EI(){let t=p(he),r=t?t.location:null;return{getPathname:()=>r?r.pathname+r.search:""};}var Mx=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],TI=Mx.map(t=>`[${t}]`).join(", "),II=/^url\(['"]?#(.*?)['"]?\)$/,Se=(()=>{class t{_elementRef=p(J);_iconRegistry=p(kx);_location=p(SI);_errorHandler=p(Ca);_defaultColor;get color(){return this._color||this._defaultColor;}set color(e){this._color=e;}_color;inline=!1;get svgIcon(){return this._svgIcon;}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e);}_svgIcon;get fontSet(){return this._fontSet;}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses());}_fontSet;get fontIcon(){return this._fontIcon;}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses());}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=it.EMPTY;constructor(){let e=p(new hi("aria-hidden"),{optional:!0}),i=p(MI,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true");}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`);}}ngOnInit(){this._updateFontIconClasses();}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i));}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();}_usingFontIcon(){return!this.svgIcon;}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e);}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let n=e.childNodes[i];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove();}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>e.classList.remove(n)),i.forEach(n=>e.classList.add(n)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon);}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e;}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((n,a)=>{n.forEach(o=>{a.setAttribute(o.name,`url('${e}#${o.value}')`);});});}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(TI),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map();for(let a=0;a<i.length;a++)Mx.forEach(o=>{let s=i[a],u=s.getAttribute(o),h=u?u.match(II):null;if(h){let f=n.get(s);f||(f=[],n.set(s,f)),f.push({name:o,value:h[1]});}});}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,n]=this._splitIconName(e);i&&(this._svgNamespace=i),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,i).pipe(fe(1)).subscribe(a=>this._setSvgElement(a),a=>{let o=`Error retrieving icon ${i}:${n}! ${a.message}`;this._errorHandler.handleError(new Error(o));});}}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,n){i&2&&(te("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),et(n.color?"mat-"+n.color:""),X("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"));},inputs:{color:"color",inline:[2,"inline","inline",U],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:kI,decls:1,vars:0,template:function(i,n){i&1&&(Ce(),se(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 t;})(),xe=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ue,ue]});}return t;})();var Sx=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,n){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
`],encapsulation:2,changeDetection:0});}return t;})(),AI={passive:!0},Ex=(()=>{class t{_platform=p(Me);_ngZone=p(ce);_renderer=p(pi).createRenderer(null,null);_styleLoader=p(Ze);_monitoredElements=new Map();constructor(){}monitor(e){if(!this._platform.isBrowser)return Ii;this._styleLoader.load(Sx);let i=$i(e),n=this._monitoredElements.get(i);if(n)return n.subject;let a=new Q(),o="cdk-text-field-autofilled",s=h=>{h.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(o)?(i.classList.add(o),this._ngZone.run(()=>a.next({target:h.target,isAutofilled:!0}))):h.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>a.next({target:h.target,isAutofilled:!1})));},u=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(i,"animationstart",s,AI)));return this._monitoredElements.set(i,{subject:a,unlisten:u}),a;}stopMonitoring(e){let i=$i(e),n=this._monitoredElements.get(i);n&&(n.unlisten(),n.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i));}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i));}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Va=(()=>{class t{_elementRef=p(J);_platform=p(Me);_ngZone=p(ce);_renderer=p($e);_resizeEvents=new Q();_previousValue;_initialHeight;_destroyed=new Q();_listenerCleanups;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows;}set minRows(e){this._minRows=Vi(e),this._setMinHeight();}get maxRows(){return this._maxRows;}set maxRows(e){this._maxRows=Vi(e),this._setMaxHeight();}get enabled(){return this._enabled;}set enabled(e){this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):thi ��s.reset());}get placeholder(){return this._textareaElement.placeholder;}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight();}_cachedLineHeight;_cachedPlaceholderHeight;_document=p(he);_hasFocus;_isViewInited=!1;constructor(){p(Ze).load(Sx),this._textareaElement=this._elementRef.nativeElement;}_setMinHeight(){let e=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.minHeight=e);}_setMaxHeight(){let e=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.maxHeight=e);}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen("window","resize",()=>this._resizeEvents.next()),this._renderer.listen(this._textareaElement,"focus",this._handleFocusEvent),this._renderer.listen(this._textareaElement,"blur",this._handleFocusEvent)],this._resizeEvents.pipe(Sl(16)).subscribe(()=>{this._cachedLineHeight=this._cachedPlaceholderHeight=void 0,this.resizeToFitContent(!0);});}),this._isViewInited=!0,this.resizeToFitContent(!0));}ngOnDestroy(){this._listenerCleanups?.forEach(e=>e()),this._resizeEvents.complete(),this._destroyed.next(),this._destroyed.complete();}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1),i=e.style;e.rows=1,i.position="absolute",i.visibility="hidden",i.border="none",i.padding="0",i.height="",i.minHeight="",i.maxHeight="",i.top=i.bottom=i.left=i.right="auto",i.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight();}_measureScrollHeight(){let e=this._textareaElement,i=e.style.marginBottom||"",n=this._platform.FIREFOX,a=n&&this._hasFocus,o=n?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";a&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(o);let s=e.scrollHeight-4;return e.classList.remove(o),a&&(e.style.marginBottom=i),s;}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||this._cachedPlaceholderHeight!=null)return;if(!this.placeholder){this._cachedPlaceholderHeight=0;return;}let e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e;}_handleFocusEvent=e=>{this._hasFocus=e.type==="focus";};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent();}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;let i=this._elementRef.nativeElement,n=i.value;if(!e&&this._minRows===this._previousMinRows&&n===this._previousValue)return;let a=this._measureScrollHeight(),o=Math.max(a,this._cachedPlaceholderHeight||0);i.style.height=`${o}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(i)):setTimeout(()=>this._scrollToCaretPosition(i));}),this._previousValue=n,this._previousMinRows=this._minRows;}reset(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight);}_noopInputHandler(){}_scrollToCaretPosition(e){let{selectionStart:i,selectionEnd:n}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(i,n);}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(i,n){i&1&&E("input",function(){return n._noopInputHandler();});},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",U],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});}return t;})(),Tx=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({});}return t;})();var Ix=new F("MAT_INPUT_VALUE_ACCESSOR");var $a=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted));}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Gs=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(r,e,i,n,a){this._defaultMatcher=r,this.ngControl=e,this._parentFormGroup=i,this._parentForm=n,this._stateChanges=a;}updateErrorState(){let r=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,a=i?.isErrorState(n,e)??!1;a!==r&&(this.errorState=a,this._stateChanges.next());}};var RI=["button","checkbox","file","hidden","image","radio","range","reset","submit"],PI=new F("MAT_INPUT_CONFIG"),oi=(()=>{class t{_elementRef=p(J);_platform=p(Me);ngControl=p(An,{optional:!0,self:!0});_autofillMonitor=p(Ex);_ngZone=p(ce);_formField=p(qs,{optional:!0});_renderer=p($e);_uid=p(He).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=p(PI,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new Q();controlType="mat-input";autofilled=!1;get disabled(){return this._disabled;}set disabled(e){this._disabled=ii(e),this.focused&&(this.focused=!1,this.stateChanges.next());}_disabled=!1;get id(){return this._id;}set id(e){this._id=e||this._uid;}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Qe.required)??!1;}set required(e){this._required=ii(e);}_required;get type(){return this._type;}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&yg().has(this._type)&&(this._elementRef.nativeElement.type=this._type);}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher;}set errorStateMatcher(e){this._errorStateTracker.matcher=e;}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value;}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next());}get readonly(){return this._readonly;}set readonly(e){this._readonly=ii(e);}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState;}set errorState(e){this._errorStateTracker.errorState=e;}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>yg().has(e));constructor(){let e=p(Ra,{optional:!0}),i=p(or,{optional:!0}),n=p($a),a=p(Ix,{optional:!0,self:!0}),o=this._elementRef.nativeElement,s=o.nodeName.toLowerCase();a?co(a.value)?this._signalBasedValueAccessor=a:this._inputValueAccessor=a:this._inputValueAccessor=o,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(o,"keyup",this._iOSKeyupListener);}),this._errorStateTracker=new Gs(n,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=o.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Yr(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next();});}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next();});}ngOnChanges(){this.stateChanges.next();}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.();}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder();}focus(e){this._elementRef.nativeElement.focus(e);}updateErrorState(){this._errorStateTracker.updateErrorState();}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0);}this.focused=e,this.stateChanges.next();}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next());}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder");}}_getPlaceholder(){return this.placeholder||null;}_validateType(){RI.indexOf(this._type)>-1;}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1;}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput;}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled;}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label);}else return this.focused&&!this.disabled||!this.empty;}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[];}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby");}onContainerClick(){this.focused||this.focus();}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1);}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0));};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null;}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,n){i&1&&E("focus",function(){return n._focusChanged(!0);})("blur",function(){return n._focusChanged(!1);})("input",function(){return n._onInput();}),i&2&&(xt("id",n.id)("disabled",n.disabled&&!n.disabledInteractive)("required",n.required),te("name",n.name||null)("readonly",n._getReadonlyAttribute())("aria-disabled",n.disabled&&n.disabledInteractive?"true":null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),X("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mat-mdc-input-disabled-interactive",n.disabledInteractive)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()));},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",U]},exportAs:["matInput"],features:[_e([{provide:Ws,useExisting:t}]),Ne]});}return t;})(),Ot=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ue,kt,kt,Tx,ue]});}return t;})();function OI(t,r){t&1&&Et(0,"div",2);}var FI=new F("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var Eg=(()=>{class t{_elementRef=p(J);_ngZone=p(ce);_changeDetectorRef=p(ve);_renderer=p($e);_cleanupTransitionEnd;constructor(){let e=Mc(),i=p(FI,{optional:!0});this._isNoopAnimation=e==="di-disabled",e==="reduced-motion"&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),i&&(i.color&&(this.color=this._defaultColor=i.color),this.mode=i.mode||this.mode);}_isNoopAnimation;get color(){return this._color||this._defaultColor;}set color(e){this._color=e;}_color;_defaultColor="primary";get value(){return this._value;}set value(e){this._value=Ax(e||0),this._changeDetectorRef.markForCheck();}_value=0;get bufferValue(){return this._bufferValue||0;}set bufferValue(e){this._bufferValue=Ax(e||0),this._changeDetectorRef.markForCheck();}_bufferValue=0;animationEnd=new $();get mode(){return this._mode;}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck();}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler);});}ngOnDestroy(){this._cleanupTransitionEnd?.();}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`;}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`;}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query";}_transitionendHandler=e=>{this.animationEnd.observers.length===0||!e.target||!e.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}));};static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,n){i&2&&(te("aria-valuenow",n._isIndeterminate()?null:n.value)("mode",n.mode),et("mat-"+n.color),X("_mat-animation-noopable",n._isNoopAnimation)("mdc-linear-progress--animation-ready",!n._isNoopAnimation)("mdc-linear-progress--indeterminate",n._isIndeterminate()));},inputs:{color:"color",value:[2,"value","value",We],bufferValue:[2,"bufferValue","bufferValue",We],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,n){i&1&&(Xe(0,"div",0),Et(1,"div",1),k(2,OI,1,0,"div",2),nt(),Xe(3,"div",3),Et(4,"span",4),nt(),Xe(5,"div",5),Et(6,"span",4),nt()),i&2&&(l(),ti("flex-basis",n._getBufferBarFlexBasis()),l(),M(n.mode==="buffer"?2:-1),l(),ti("transform",n._getPrimaryBarTransform()));},styles:[`.mat-mdc-progress-bar{--mat-progress-bar-animation-multiplier: 1;display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mat-progress-bar-reduced-motion{--mat-progress-bar-animation-multiplier: 2}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mat-progress-bar-track-height, 4px),var(--mat-progress-bar-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mat-progress-bar-track-height, 4px);border-radius:var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{background-image:radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);background-repeat:repeat-x;background-size:calc(calc(var(--mat-progress-bar-track-height, 4px) / 2)*5);background-position:left;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}
`],encapsulation:2,changeDetection:0});}return t;})();function Ax(t,r=0,e=100){return Math.max(r,Math.min(e,t));}var ra=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ue]});}return t;})();var dm=(()=>{class t{_animationsDisabled=Fe();state="unchecked";disabled=!1;appearance="full";constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,n){i&2&&X("mat-pseudo-checkbox-indeterminate",n.state==="indeterminate")("mat-pseudo-checkbox-checked",n.state==="checked")("mat-pseudo-checkbox-disabled",n.disabled)("mat-pseudo-checkbox-minimal",n.appearance==="minimal")("mat-pseudo-checkbox-full",n.appearance==="full")("_mat-animation-noopable",n._animationsDisabled);},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,n){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
`],encapsulation:2,changeDetection:0});}return t;})();var NI=["text"],zI=[[["mat-icon"]],"*"],BI=["mat-icon","*"];function VI(t,r){if(t&1&&x(0,"mat-pseudo-checkbox",1),t&2){let e=b();g("disabled",e.disabled)("state",e.selected?"checked":"unchecked");}}function $I(t,r){if(t&1&&x(0,"mat-pseudo-checkbox",3),t&2){let e=b();g("disabled",e.disabled);}}function jI(t,r){if(t&1&&(d(0,"span",4),m(1),c()),t&2){let e=b();l(),A("(",e.group.label,")");}}var Ig=new F("MAT_OPTION_PARENT_COMPONENT"),Ag=new F("MatOptgroup");var Tg=class{source;isUserInput;constructor(r,e=!1){this.source=r,this.isUserInput=e;}},On=(()=>{class t{_element=p(J);_changeDetectorRef=p(ve);_parent=p(Ig,{optional:!0});group=p(Ag,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple;}get selected(){return this._selected;}value;id=p(He).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled();}set disabled(e){this._disabled.set(e);}_disabled=B(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple;}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator);}onSelectionChange=new $();_text;_stateChanges=new Q();constructor(){let e=p(Ze);e.load(Rt),e.load(Fa),this._signalDisableRipple=!!this._parent&&co(this._parent.disableRipple);}get active(){return this._active;}get viewValue(){return(this._text?.nativeElement.textContent||"").trim();}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent());}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent());}focus(e,i){let n=this._getHostElement();typeof n.focus=="function"&&n.focus(i);}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck());}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck());}getLabel(){return this.viewValue;}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!wt(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 Tg(this,e));}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["mat-option"]],viewQuery:function(i,n){if(i&1&&H(NI,7),i&2){let a;R(a=P())&&(n._text=a.first);}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,n){i&1&&E("click",function(){return n._selectViaInteraction();})("keydown",function(o){return n._handleKeydown(o);}),i&2&&(xt("id",n.id),te("aria-selected",n.selected)("aria-disabled",n.disabled.toString()),X("mdc-list-item--selected",n.selected)("mat-mdc-option-multiple",n.multiple)("mat-mdc-option-active",n.active)("mdc-list-item--disabled",n.disabled));},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",U]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:BI,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,n){i&1&&(Ce(zI),k(0,VI,1,2,"mat-pseudo-checkbox",1),se(1),d(2,"span",2,0),se(4,1),c(),k(5,$I,1,1,"mat-pseudo-checkbox",3),k(6,jI,2,1,"span",4),x(7,"div",5)),i&2&&(M(n.multiple?0:-1),l(5),M(!n.multiple&&n.selected&&!n.hideSingleSelectionIndicator?5:-1),l(),M(n.group&&n.group._inert?6:-1),l(),g("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple));},dependencies:[dm,ni],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0 ��}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0});}return t;})();function Rx(t,r,e){if(e.length){let i=r.toArray(),n=e.toArray(),a=0;for(let o=0;o<t+1;o++)i[o].group&&i[o].group===n[a]&&a++;return a;}return 0;}function Px(t,r,e,i){return t<e?t:t+r>e+i?Math.max(0,t-i+r):e;}var Ac=class{};function Rc(t){return t&&typeof t.connect=="function"&&!(t instanceof Dl);}var ja=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t;}(ja||{}),Ys=new F("_ViewRepeater");var HI=20,Ha=(()=>{class t{_ngZone=p(ce);_platform=p(Me);_renderer=p(pi).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new Q();_scrolledCount=0;scrollContainers=new Map();register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)));}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e));}scrolled(e=HI){return this._platform.isBrowser?new ui(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let n=e>0?this._scrolled.pipe(Sl(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0);};}):ae();}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete();}ancestorScrolled(e,i){let n=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Re(a=>!a||n.indexOf(a)>-1));}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((n,a)=>{this._scrollableContainsElement(a,e)&&i.push(a);}),i;}_scrollableContainsElement(e,i){let n=$i(i),a=e.getElementRef().nativeElement;do if(n==a)return!0;while(n=n.parentElement);return!1;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Pc=(()=>{class t{elementRef=p(J);scrollDispatcher=p(Ha);ngZone=p(ce);dir=p(gt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new Q();_renderer=p($e);_cleanupScroll;_elementScrolled=new Q();constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this);}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete();}elementScrolled(){return this._elementScrolled;}getElementRef(){return this.elementRef;}scrollTo(e){let i=this.elementRef.nativeElement,n=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=n?e.end:e.start),e.right==null&&(e.right=n?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),n&&js()!=lr.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),js()==lr.INVERTED?e.left=e.right:js()==lr.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e);}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;nm()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left));}measureScrollOffset(e){let i="left",n="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let o=this.dir&&this.dir.value=="rtl";return e=="start"?e=o?n:i:e=="end"&&(e=o?i:n),o&&js()==lr.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:o&&js()==lr.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft;}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]});}return t;})(),UI=20,Fn=(()=>{class t{_platform=p(Me);_listeners;_viewportSize;_change=new Q();_document=p(he);constructor(){let e=p(ce),i=p(pi).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let n=a=>this._change.next(a);this._listeners=[i.listen("window","resize",n),i.listen("window","orientationchange",n)];}this.change().subscribe(()=>this._viewportSize=null);});}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete();}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e;}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+i,height:n,width:i};}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),n=e.documentElement,a=n.getBoundingClientRect(),o=-a.top||e.body.scrollTop||i.scrollY||n.scrollTop||0,s=-a.left||e.body.scrollLeft||i.scrollX||n.scrollLeft||0;return{top:o,left:s};}change(e=UI){return e>0?this._change.pipe(Sl(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 ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var aa=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({});}return t;})(),Oc=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[Ar,aa,Ar,aa]});}return t;})();var Fc=class{_attachedHost;attach(r){return this._attachedHost=r,r.attach(this);}detach(){let r=this._attachedHost;r!=null&&(this._attachedHost=null,r.detach());}get isAttached(){return this._attachedHost!=null;}setAttachedHost(r){this._attachedHost=r;}},cr=class extends Fc{component;viewContainerRef;injector;projectableNodes;constructor(r,e,i,n){super(),this.component=r,this.viewContainerRef=e,this.injector=i,this.projectableNodes=n;}},si=class extends Fc{templateRef;viewContainerRef;context;injector;constructor(r,e,i,n){super(),this.templateRef=r,this.viewContainerRef=e,this.context=i,this.injector=n;}get origin(){return this.templateRef.elementRef;}attach(r,e=this.context){return this.context=e,super.attach(r);}detach(){return this.context=void 0,super.detach();}},Rg=class extends Fc{element;constructor(r){super(),this.element=r instanceof J?r.nativeElement:r;}},Ua=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal;}attach(r){if(r instanceof cr)return this._attachedPortal=r,this.attachComponentPortal(r);if(r instanceof si)return this._attachedPortal=r,this.attachTemplatePortal(r);if(this.attachDomPortal&&r instanceof Rg)return this._attachedPortal=r,this.attachDomPortal(r);}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(r){this._disposeFn=r;}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null);}},Lc=class extends Ua{outletElement;_appRef;_defaultInjector;constructor(r,e,i){super(),this.outletElement=r,this._appRef=e,this._defaultInjector=i;}attachComponentPortal(r){let e;if(r.viewContainerRef){let i=r.injector||r.viewContainerRef.injector,n=i.get(xd,null,{optional:!0})||void 0;e=r.viewContainerRef.createComponent(r.component,{index:r.viewContainerRef.length,injector:i,ngModuleRef:n,projectableNodes:r.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy());}else{let i=this._appRef,n=r.injector||this._defaultInjector||be.NULL,a=n.get(Ai,i.injector);e=Ed(r.component,{elementInjector:n,environmentInjector:a,projectableNodes:r.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy();});}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=r,e;}attachTemplatePortal(r){let e=r.viewContainerRef,i=e.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return i.rootNodes.forEach(n=>this.outletElement.appendChild(n)),i.detectChanges(),this.setDisposeFn(()=>{let n=e.indexOf(i);n!==-1&&e.remove(n);}),this._attachedPortal=r,i;}attachDomPortal=r=>{let e=r.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=r,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i);});};dispose(){super.dispose(),this.outletElement.remove();}_getComponentRootNode(r){return r.hostView.rootNodes[0];}},Ox=(()=>{class t extends si{constructor(){let e=p(rt),i=p(bt);super(e,i);}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[G]});}return t;})();var Hi=(()=>{class t extends Ua{_moduleRef=p(xd,{optional:!0});_document=p(he);_viewContainerRef=p(bt);_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 $();get attachedRef(){return this._attachedRef;}ngOnInit(){this._isInitialized=!0;}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null;}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,n=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n;}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i;}attachDomPortal=e=>{let i=e.element;i.parentNode;let n=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(n,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(i,n);});};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode;}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[G]});}return t;})();var Ln=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({});}return t;})();var Fx=nm();function Ks(t){return new um(t.get(Fn),t.get(he));}var um=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(r,e){this._viewportRuler=r,this._document=e;}attach(){}enable(){if(this._canBeEnabled()){let r=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=r.style.left||"",this._previousHTMLStyles.top=r.style.top||"",r.style.left=qt(-this._previousScrollPosition.left),r.style.top=qt(-this._previousScrollPosition.top),r.classList.add("cdk-global-scrollblock"),this._isEnabled=!0;}}disable(){if(this._isEnabled){let r=this._document.documentElement,e=this._document.body,i=r.style,n=e.style,a=i.scrollBehavior||"",o=n.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,r.classList.remove("cdk-global-scrollblock"),Fx&&(i.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Fx&&(i.scrollBehavior=a,n.scrollBehavior=o);}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width;}};function jx(t,r){return new mm(t.get(Ha),t.get(ce),t.get(Fn),r);}var mm=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(r,e,i,n){this._scrollDispatcher=r,this._ngZone=e,this._viewportRuler=i,this._config=n;}attach(r){this._overlayRef,this._overlayRef=r;}enable(){if(this._scrollSubscription)return;let r=this._scrollDispatcher.scrolled(0).pipe(Re(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=r.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition();})):this._scrollSubscription=r.subscribe(this._detach);}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach());};};var Nc=class{enable(){}disable(){}attach(){}};function Pg(t,r){return r.some(e=>{let i=t.bottom<e.top,n=t.top>e.bottom,a=t.right<e.left,o=t.left>e.right;return i||n||a||o;});}function Lx(t,r){return r.some(e=>{let i=t.top<e.top,n=t.bottom>e.bottom,a=t.left<e.left,o=t.right>e.right;return i||n||a||o;});}function Nn(t,r){return new pm(t.get(Ha),t.get(Fn),t.get(ce),r);}var pm=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(r,e,i,n){this._scrollDispatcher=r,this._viewportRuler=e,this._ngZone=i,this._config=n;}attach(r){this._overlayRef,this._overlayRef=r;}enable(){if(!this._scrollSubscription){let r=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(r).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:n}=this._viewportRuler.getViewportSize();Pg(e,[{width:i,height:n,bottom:n,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()));}});}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}},Hx=(()=>{class t{_injector=p(be);constructor(){}noop=()=>new Nc();close=e=>jx(this._injector,e);block=()=>Ks(this._injector);reposition=e=>Nn(this._injector,e);static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),dr=class{positionStrategy;scrollStrategy=new Nc();panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(r){if(r){let e=Object.keys(r);for(let i of e)r[i]!==void 0&&(this[i]=r[i]);}}};var hm=class{connectionPair;scrollableViewProperties;constructor(r,e){this.connectionPair=r,this.scrollableViewProperties=e;}};var Ux=(()=>{class t{_attachedOverlays=[];_document=p(he);_isAttached;constructor(){}ngOnDestroy(){this.detach();}add(e){this.remove(e),this._attachedOverlays.push(e);}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach();}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Wx=(()=>{class t extends Ux{_ngZone=p(ce);_renderer=p(pi).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener);}),this._isAttached=!0);}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1);}_keydownListener=e=>{let i=this._attachedOverlays;for(let n=i.length-1;n>-1;n--)if(i[n]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[n]._keydownEvents.next(e));break;}};static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),qx=(()=>{class t extends Ux{_platform=p(Me);_ngZone=p(ce);_renderer=p(pi).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,n={capture:!0},a=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[a.listen(i,"pointerdown",this._pointerDownListener,n),a.listen(i,"click",this._clickListener,n),a.listen(i,"auxclick",this._clickListener,n),a.listen(i,"contextmenu",this._clickListener,n)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0;}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1);}_pointerDownListener=e=>{this._pointerDownEventTarget=Bi(e);};_clickListener=e=>{let i=Bi(e),n=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let a=this._attachedOverlays.slice();for(let o=a.length-1;o>-1;o--){let s=a[o];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(Nx(s.overlayElement,i)||Nx(s.overlayElement,n))break;let u=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(e)):u.next(e);}};static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function Nx(t,r){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=r;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode;}return!1;}var Gx=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,n){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
`],encapsulation:2,changeDetection:0});}return t;})(),_m=(()=>{class t{_platform=p(Me);_containerElement;_document=p(he);_styleLoader=p(Ze);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||vg()){let n=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a<n.length;a++)n[a].remove();}let i=this._document.createElement("div");i.classList.add(e),vg()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i;}_loadStyles(){this._styleLoader.load(Gx);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Og=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(r,e,i,n){this._renderer=e,this._ngZone=i,this.element=r.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",n);}detach(){this._ngZone.runOutsideAngular(()=>{let r=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(r,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),r.style.pointerEvents="none",r.classList.remove("cdk-overlay-backdrop-showing");});}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove();};},Xs=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new Q();_attachments=new Q();_detachments=new Q();_positionStrategy;_scrollStrategy;_locationChanges=it.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new Q();_outsidePointerEvents=new Q();_afterNextRenderRef;constructor(r,e,i,n,a,o,s,u,h,f=!1,_,y){this._portalOutlet=r,this._host=e,this._pane=i,this._config=n,this._ngZone=a,this._keyboardDispatcher=o,this._document=s,this._location=u,this._outsideClickDispatcher=h,this._animationsDisabled=f,this._injector=_,this._renderer=y,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy;}get overlayElement(){return this._pane;}get backdropElement(){return this._backdropRef?.element||null;}get hostElement(){return this._host;}attach(r){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(r);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=ut(()=>{this.hasAttached()&&this.updatePosition();},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()));}),e;}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let r=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),r;}dispose(){let r=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,r&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent();}hasAttached(){return this._portalOutlet.hasAttached();}backdropClick(){return this._backdropClick;}attachments(){return this._attachments;}detachments(){return this._detachments;}keydownEvents(){return this._keydownEvents;}outsidePointerEvents(){return this._outsidePointerEvents;}getConfig(){return this._config;}updatePosition(){this._positionStrategy&&this._positionStrategy.apply();}updatePositionStrategy(r){r!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=r,this.hasAttached()&&(r.attach(this),this.updatePosition()));}updateSize(r){this._config=W(W({},this._config),r),this._updateElementSize();}setDirection(r){this._config=ot(W({},this._config),{direction:r}),this._updateElementDirection();}addPanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!0);}removePanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!1);}getDirection(){let r=this._config.direction;return r?typeof r=="string"?r:r.value:"ltr";}updateScrollStrategy(r){r!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=r,this.hasAttached()&&(r.attach(this),r.enable()));}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection());}_updateElementSize(){if(!this._pane)return;let r=this._pane.style;r.width=qt(this._config.width),r.height=qt(this._config.height),r.minWidth=qt(this._config.minWidth),r.minHeight=qt(this._config.minHeight),r.maxWidth=qt(this._config.maxWidth),r.maxHeight=qt(this._config.maxHeight);}_togglePointerEvents(r){this._pane.style.pointerEvents=r?"":"none";}_attachBackdrop(){let r="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Og(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e);}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(r));}):this._backdropRef.element.classList.add(r);}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host);}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach();}_toggleClasses(r,e,i){let n=Bs(e||[]).filter(a=>!!a);n.length&&(i?r.classList.add(...n):r.classList.remove(...n));}_detachContentWhenEmpty(){let r=!1;try{this._detachContentAfterRenderRef=ut(()=>{r=!0,this._detachContent();},{injector:this._injector});}catch(e){if(r)throw e;this._detachContent();}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent();}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}));}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent());}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect();}_disposeScrollStrategy(){let r=this._scrollStrategy;r?.disable(),r?.detach?.();}},zx="cdk-overlay-connected-position-bounding-box",qI=/([A-Za-z%]+)$/;function Uo(t,r){return new fm(r,t.get(Fn),t.get(he),t.get(Me),t.get(_m));}var fm=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 Q();_resizeSubscription=it.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions;}constructor(r,e,i,n,a){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=a,this.setOrigin(r);}attach(r){this._overlayRef&&this._overlayRef,this._validatePositions(),r.hostElement.classList.add(zx),this._overlayRef=r,this._boundingBox=r.hostElement,this._pane=r.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isI ��nitialRender=!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 r=this._originRect,e=this._overlayRect,i=this._viewportRect,n=this._containerRect,a=[],o;for(let s of this._preferredPositions){let u=this._getOriginPoint(r,n,s),h=this._getOverlayPoint(u,e,s),f=this._getOverlayFit(h,e,i,s);if(f.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,u);return;}if(this._canFitWithFlexibleDimensions(f,h,i)){a.push({position:s,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,s)});continue;}(!o||o.overlayFit.visibleArea<f.visibleArea)&&(o={overlayFit:f,overlayPoint:h,originPoint:u,position:s,overlayRect:e});}if(a.length){let s=null,u=-1;for(let h of a){let f=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);f>u&&(u=f,s=h);}this._isPushed=!1,this._applyPosition(s.position,s.origin);return;}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return;}this._applyPosition(o.position,o.originPoint);}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe();}dispose(){this._isDisposed||(this._boundingBox&&Ho(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(zx),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0);}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let r=this._lastPosition;if(r){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,r);this._applyPosition(r,e);}else this.apply();}withScrollableContainers(r){return this._scrollables=r,this;}withPositions(r){return this._preferredPositions=r,r.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this;}withViewportMargin(r){return this._viewportMargin=r,this;}withFlexibleDimensions(r=!0){return this._hasFlexibleDimensions=r,this;}withGrowAfterOpen(r=!0){return this._growAfterOpen=r,this;}withPush(r=!0){return this._canPush=r,this;}withLockedPosition(r=!0){return this._positionLocked=r,this;}setOrigin(r){return this._origin=r,this;}withDefaultOffsetX(r){return this._offsetX=r,this;}withDefaultOffsetY(r){return this._offsetY=r,this;}withTransformOriginOn(r){return this._transformOriginSelector=r,this;}_getOriginPoint(r,e,i){let n;if(i.originX=="center")n=r.left+r.width/2;else{let o=this._isRtl()?r.right:r.left,s=this._isRtl()?r.left:r.right;n=i.originX=="start"?o:s;}e.left<0&&(n-=e.left);let a;return i.originY=="center"?a=r.top+r.height/2:a=i.originY=="top"?r.top:r.bottom,e.top<0&&(a-=e.top),{x:n,y:a};}_getOverlayPoint(r,e,i){let n;i.overlayX=="center"?n=-e.width/2:i.overlayX==="start"?n=this._isRtl()?-e.width:0:n=this._isRtl()?0:-e.width;let a;return i.overlayY=="center"?a=-e.height/2:a=i.overlayY=="top"?0:-e.height,{x:r.x+n,y:r.y+a};}_getOverlayFit(r,e,i,n){let a=Vx(e),{x:o,y:s}=r,u=this._getOffset(n,"x"),h=this._getOffset(n,"y");u&&(o+=u),h&&(s+=h);let f=0-o,_=o+a.width-i.width,y=0-s,w=s+a.height-i.height,C=this._subtractOverflows(a.width,f,_),z=this._subtractOverflows(a.height,y,w),L=C*z;return{visibleArea:L,isCompletelyWithinViewport:a.width*a.height===L,fitsInViewportVertically:z===a.height,fitsInViewportHorizontally:C==a.width};}_canFitWithFlexibleDimensions(r,e,i){if(this._hasFlexibleDimensions){let n=i.bottom-e.y,a=i.right-e.x,o=Bx(this._overlayRef.getConfig().minHeight),s=Bx(this._overlayRef.getConfig().minWidth),u=r.fitsInViewportVertically||o!=null&&o<=n,h=r.fitsInViewportHorizontally||s!=null&&s<=a;return u&&h;}return!1;}_pushOverlayOnScreen(r,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:r.x+this._previousPushAmount.x,y:r.y+this._previousPushAmount.y};let n=Vx(e),a=this._viewportRect,o=Math.max(r.x+n.width-a.width,0),s=Math.max(r.y+n.height-a.height,0),u=Math.max(a.top-i.top-r.y,0),h=Math.max(a.left-i.left-r.x,0),f=0,_=0;return n.width<=a.width?f=h||-o:f=r.x<this._viewportMargin?a.left-i.left-r.x:0,n.height<=a.height?_=u||-s:_=r.y<this._viewportMargin?a.top-i.top-r.y:0,this._previousPushAmount={x:f,y:_},{x:r.x+f,y:r.y+_};}_applyPosition(r,e){if(this._setTransformOrigin(r),this._setOverlayElementStyles(e,r),this._setBoundingBoxStyles(e,r),r.panelClass&&this._addPanelClasses(r.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(r!==this._lastPosition||!this._lastScrollVisibility||!GI(this._lastScrollVisibility,i)){let n=new hm(r,i);this._positionChanges.next(n);}this._lastScrollVisibility=i;}this._lastPosition=r,this._isInitialRender=!1;}_setTransformOrigin(r){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,n=r.overlayY;r.overlayX==="center"?i="center":this._isRtl()?i=r.overlayX==="start"?"right":"left":i=r.overlayX==="start"?"left":"right";for(let a=0;a<e.length;a++)e[a].style.transformOrigin=`${i} ${n}`;}_calculateBoundingBoxRect(r,e){let i=this._viewportRect,n=this._isRtl(),a,o,s;if(e.overlayY==="top")o=r.y,a=i.height-o+this._viewportMargin;else if(e.overlayY==="bottom")s=i.height-r.y+this._viewportMargin*2,a=i.height-s+this._viewportMargin;else{let w=Math.min(i.bottom-r.y+i.top,r.y),C=this._lastBoundingBoxSize.height;a=w*2,o=r.y-w,a>C&&!this._isInitialRender&&!this._growAfterOpen&&(o=r.y-C/2);}let u=e.overlayX==="start"&&!n||e.overlayX==="end"&&n,h=e.overlayX==="end"&&!n||e.overlayX==="start"&&n,f,_,y;if(h)y=i.width-r.x+this._viewportMargin*2,f=r.x-this._viewportMargin;else if(u)_=r.x,f=i.right-r.x;else{let w=Math.min(i.right-r.x+i.left,r.x),C=this._lastBoundingBoxSize.width;f=w*2,_=r.x-w,f>C&&!this._isInitialRender&&!this._growAfterOpen&&(_=r.x-C/2);}return{top:o,left:_,bottom:s,right:y,width:f,height:a};}_setBoundingBoxStyles(r,e){let i=this._calculateBoundingBoxRect(r,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;n.height=qt(i.height),n.top=qt(i.top),n.bottom=qt(i.bottom),n.width=qt(i.width),n.left=qt(i.left),n.right=qt(i.right),e.overlayX==="center"?n.alignItems="center":n.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?n.justifyContent="center":n.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",a&&(n.maxHeight=qt(a)),o&&(n.maxWidth=qt(o));}this._lastBoundingBoxSize=i,Ho(this._boundingBox.style,n);}_resetBoundingBoxStyles(){Ho(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""});}_resetOverlayElementStyles(){Ho(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""});}_setOverlayElementStyles(r,e){let i={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(n){let f=this._viewportRuler.getViewportScrollPosition();Ho(i,this._getExactOverlayY(e,r,f)),Ho(i,this._getExactOverlayX(e,r,f));}else i.position="static";let s="",u=this._getOffset(e,"x"),h=this._getOffset(e,"y");u&&(s+=`translateX(${u}px) `),h&&(s+=`translateY(${h}px)`),i.transform=s.trim(),o.maxHeight&&(n?i.maxHeight=qt(o.maxHeight):a&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=qt(o.maxWidth):a&&(i.maxWidth="")),Ho(this._pane.style,i);}_getExactOverlayY(r,e,i){let n={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,r);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),r.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;n.bottom=`${o-(a.y+this._overlayRect.height)}px`;}else n.top=qt(a.y);return n;}_getExactOverlayX(r,e,i){let n={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,r);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i));let o;if(this._isRtl()?o=r.overlayX==="end"?"left":"right":o=r.overlayX==="end"?"right":"left",o==="right"){let s=this._document.documentElement.clientWidth;n.right=`${s-(a.x+this._overlayRect.width)}px`;}else n.left=qt(a.x);return n;}_getScrollVisibility(){let r=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Lx(r,i),isOriginOutsideView:Pg(r,i),isOverlayClipped:Lx(e,i),isOverlayOutsideView:Pg(e,i)};}_subtractOverflows(r,...e){return e.reduce((i,n)=>i-Math.max(n,0),r);}_getNarrowedViewportRect(){let r=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+r-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:r-2*this._viewportMargin,height:e-2*this._viewportMargin};}_isRtl(){return this._overlayRef.getDirection()==="rtl";}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed;}_getOffset(r,e){return e==="x"?r.offsetX==null?this._offsetX:r.offsetX:r.offsetY==null?this._offsetY:r.offsetY;}_validatePositions(){}_addPanelClasses(r){this._pane&&Bs(r).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e));});}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(r=>{this._pane.classList.remove(r);}),this._appliedPanelClasses=[]);}_getOriginRect(){let r=this._origin;if(r instanceof J)return r.nativeElement.getBoundingClientRect();if(r instanceof Element)return r.getBoundingClientRect();let e=r.width||0,i=r.height||0;return{top:r.y,bottom:r.y+i,left:r.x,right:r.x+e,height:i,width:e};}};function Ho(t,r){for(let e in r)r.hasOwnProperty(e)&&(t[e]=r[e]);return t;}function Bx(t){if(typeof t!="number"&&t!=null){let[r,e]=t.split(qI);return!e||e==="px"?parseFloat(r):null;}return t||null;}function Vx(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)};}function GI(t,r){return t===r?!0:t.isOriginClipped===r.isOriginClipped&&t.isOriginOutsideView===r.isOriginOutsideView&&t.isOverlayClipped===r.isOverlayClipped&&t.isOverlayOutsideView===r.isOverlayOutsideView;}var $x="cdk-global-overlay-wrapper";function Wa(t){return new gm();}var gm=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(r){let e=r.getConfig();this._overlayRef=r,this._width&&!e.width&&r.updateSize({width:this._width}),this._height&&!e.height&&r.updateSize({height:this._height}),r.hostElement.classList.add($x),this._isDisposed=!1;}top(r=""){return this._bottomOffset="",this._topOffset=r,this._alignItems="flex-start",this;}left(r=""){return this._xOffset=r,this._xPosition="left",this;}bottom(r=""){return this._topOffset="",this._bottomOffset=r,this._alignItems="flex-end",this;}right(r=""){return this._xOffset=r,this._xPosition="right",this;}start(r=""){return this._xOffset=r,this._xPosition="start",this;}end(r=""){return this._xOffset=r,this._xPosition="end",this;}width(r=""){return this._overlayRef?this._overlayRef.updateSize({width:r}):this._width=r,this;}height(r=""){return this._overlayRef?this._overlayRef.updateSize({height:r}):this._height=r,this;}centerHorizontally(r=""){return this.left(r),this._xPosition="center",this;}centerVertically(r=""){return this.top(r),this._alignItems="center",this;}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let r=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:o,maxHeight:s}=i,u=(n==="100%"||n==="100vw")&&(!o||o==="100%"||o==="100vw"),h=(a==="100%"||a==="100vh")&&(!s||s==="100%"||s==="100vh"),f=this._xPosition,_=this._xOffset,y=this._overlayRef.getConfig().direction==="rtl",w="",C="",z="";u?z="flex-start":f==="center"?(z="center",y?C=_:w=_):y?f==="left"||f==="end"?(z="flex-end",w=_):(f==="right"||f==="start")&&(z="flex-start",C=_):f==="left"||f==="start"?(z="flex-start",w=_):(f==="right"||f==="end")&&(z="flex-end",C=_),r.position=this._cssPosition,r.marginLeft=u?"0":w,r.marginTop=h?"0":this._topOffset,r.marginBottom=this._bottomOffset,r.marginRight=u?"0":C,e.justifyContent=z,e.alignItems=h?"flex-start":this._alignItems;}dispose(){if(this._isDisposed||!this._overlayRef)return;let r=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove($x),i.justifyContent=i.alignItems=r.marginTop=r.marginBottom=r.marginLeft=r.marginRight=r.position="",this._overlayRef=null,this._isDisposed=!0;}},Qx=(()=>{class t{_injector=p(be);constructor(){}global(){return Wa();}flexibleConnectedTo(e){return Uo(this._injector,e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function ur(t,r){t.get(Ze).load(Gx);let e=t.get(_m),i=t.get(he),n=t.get(He),a=t.get(vr),o=t.get(gt),s=i.createElement("div"),u=i.createElement("div");u.id=n.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),s.appendChild(u),e.getContainerElement().appendChild(s);let h=new Lc(u,a,t),f=new dr(r),_=t.get($e,null,{optional:!0})||t.get(pi).createRenderer(null,null);return f.direction=f.direction||o.value,new Xs(h,s,u,f,t.get(ce),t.get(Wx),i,t.get(Dr),t.get(qx),r?.disableAnimations??t.get(ms,null,{optional:!0})==="NoopAnimations",t.get(Ai),_);}var Yx=(()=>{class t{scrollStrategies=p(Hx);_positionBuilder=p(Qx);_injector=p(be);constructor(){}create(e){return ur(this._injector,e);}position(){return this._positionBuilder;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),QI=[{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"}],Xx=new F("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(be);return()=>Nn(t);}}),Zs=(()=>{class t{elementRef=p(J);constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]});}return t;})(),bm=(()=>{class t{_dir=p(gt,{optional:!0});_injector=p(be);_overlayRef;_templatePortal;_backdropSubscription=it.EMPTY;_attachSubscription=it.EMPTY;_detachSubscription=it.EMPTY;_positionSubscription=it.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=p(Xx);_disposeOnNavigation=!1;_ngZone=p(ce);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 $();positionChange=new $();attach=new $();detach=new $();overlayKeydown=new $();overlayOutsideClick=new $();constructor(){let e=p(rt),i=p(bt);this._templatePortal=new si(e,i),this.scrollStrategy=this._scrollStrategyFactory();}get overlayRef(){return this._overlayRef;}get dir(){return this._dir?this._dir.value:"ltr";}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose();}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay());}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=QI);let e=this._overlayRef=ur(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!wt(i)&&(i.preventDefault(),this.detachOverlay());}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let n=this._getOriginElement(),a=Bi(i);(!n||n!==a&&!n.contains(a))&&this.overlayOutsideClick.next(i);});}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new dr({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i;}_updatePositionStrategy(e){let i=this.positions.map(n=>({originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||this.offsetX,offsetY:n.offsetY||this.offsetY,panelClass:n.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector);}_createPositionStrategy(){let e=Uo(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e;}_getOrigin(){return this.origin instanceof Zs?this.origin.elementRef:this.origin;}_getOriginElement(){return this.origin instanceof Zs?this.origin.elementRef.nativeElement:this.origin instanceof J?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null;}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e);}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(El(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe();})),this.open=!0;}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1;}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",U],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",U],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",U],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",U],push:[2,"cdkConnectedOverlayPush","push",U],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",U]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ne]});}return t;})();function YI(t){let r=p(be);return()=>Nn(r);}var XI={provide:Xx,useFactory:YI},zn=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({providers:[Yx,XI],imports:[Ar,Ln,Oc,Oc]});}return t;})();var zc=(()=>{class t{_listeners=[];notify(e,i){for(let n of this._listeners)n(e,i);}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i);};}ngOnDestroy(){this._listeners=[];}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Wo=class{applyChanges(r,e,i,n,a){r.forEachOperation((o,s,u)=>{let h,f;if(o.previousIndex==null){let _=i(o,s,u);h=e.createEmbeddedView(_.templateRef,_.context,_.index),f=ja.INSERTED;}else u==null?(e.remove(s),f=ja.REMOVED):(h=e.get(s),e.move(h,u),f=ja.MOVED);a&&a({context:h?.context,operation:f,record:o});});}detach(){}};var qo=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 Q();constructor(r=!1,e,i=!0,n){this._multiple=r,this._emitChanges=i,this.compareWith=n,e&&e.length&&(r?e.forEach(a=>this._markSelected(a)):this._markSelected(e[0]),this._selectedToEmit.length=0);}select(...r){this._verifyValueAssignment(r),r.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e;}deselect(...r){this._verifyValueAssignment(r),r.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e;}setSelection(...r){this._verifyValueAssignment(r);let e=this.selected,i=new Set(r.map(a=>this._getConcreteValue(a)));r.forEach(a=>this._markSelected(a)),e.filter(a=>!i.has(this._getConcreteValue(a,i))).forEach(a=>this._unmarkSelected(a));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n;}toggle(r){return this.isSelected(r)?this.deselect(r):this.select(r);}clear(r=!0){this._unmarkAll();let e=this._hasQueuedChanges();return r&&this._emitChangeEvent(),e;}isSelected(r){return this._selection.has(this._getConcreteValue(r));}isEmpty(){return this._selection.size===0;}hasValue(){return!this.isEmpty();}sort(r){this._multiple&&this.selected&&this._selected.sort(r);}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(r){r=this._getConcreteValue(r),this.isSelected(r)||(this._multiple||this._unmarkAll(),this.isSelected(r)||this._selection.add(r),this._emitChanges&&this._selectedToEmit.push(r));}_unmarkSelected(r){r=this._getConcreteValue(r),this.isSelected(r)&&(this._selection.delete(r),this._emitChanges&&this._deselectedToEmit.push(r));}_unmarkAll(){this.isEmpty()||this._selection.forEach(r=>this._unmarkSelected(r));}_verifyValueAssignment(r){r.length>1&&this._multiple;}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length);}_getConcreteValue(r,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(r,i))return i;return r;}else return r;}};var vm=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ue]});}return t;})();var Fg=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ln,ue,vm,On]});}return t;})();var ZI=["trigger"],KI=["panel"],JI=[[["mat-select-trigger"]],"*"],eA=["mat-select-trigger","*"];function tA(t,r){if(t&1&&(d(0,"span",4),m(1),c()),t&2){let e=b();l(),v(e.placeholder);}}function iA(t,r){t&1&&se(0);}function nA(t,r){if(t&1&&(d(0,"span",11),m(1),c()),t&2){let e=b(2);l(),v(e.triggerValue);}}function rA(t,r){if(t&1&&(d(0,"span",5),k(1,iA,1,0)(2,nA,2,1,"span",11),c()),t&2){let e=b();l(),M(e.customTrigger?1:2);}}function aA(t,r){if(t&1){let e=ee();d(0,"div",12,1),E("keydown",function(n){T(e);let a=b();return I(a._handleKeydown(n));}),se(2,1),c();}if(t&2){let e=b();et(Xt("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),X("mat-select-panel-animations-enabled",!e._animationsDisabled),g("ngClass",e.panelClass),te("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby());}}var Lg=new F("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(be);return()=>Nn(t);}});function Kx(t){let r=p(be);return()=>Nn(r);}var Jx=new F("MAT_SELECT_CONFIG"),eC={provide:Lg,deps:[],useFactory:Kx},tC=new F("MatSelectTrigger"),ym=class{source;value;constructor(r,e){this.source=r,this.value=e;}},sa=(()=>{class t{_viewportRuler=p(Fn);_changeDetectorRef=p(ve);_elementRef=p(J);_dir=p(gt,{optional:!0});_idGenerator=p(He);_renderer=p($e);_parentFormField=p(qs,{optional:!0});ngControl=p(An,{self:!0,optional:!0});_liveAnnouncer=p(Lo);_defaultOptions=p(Jx,{optional:!0});_animationsDisabled=Fe();_initialized=new Q();_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let n=this.panel.nativeElement,a=Rx(e,this.options,this.optionGroups),o=i._getHostElement();e===0&&a===1?n.scrollTop=0:n.scrollTop=Px(o.offsetTop,o.offsetHeight,n.scrollTop,n.offsetHeight);}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0);}_getChangeEvent(e){return new ym(this,e);}_scrollStrategyFactory=p(Lg);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new Q();_errorStateTracker;stateChanges=new Q();disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen;}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple();}set disableRipple(e){this._disableRipple.set(e);}_disableRipple=B(!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(Qe.required)??!1;}set required(e){this._required=e,this.stateChanges.next();}_required;get multiple(){return this._multiple;}set multiple(e){this._selectionModel,this._multiple=e;}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith;}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection();}get value(){return this._value;}set value(e){this._assignValue(e)&&this._onChange(e);}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher;}set errorStateMatcher(e){this._errorStateTracker.matcher=e;}typeaheadDebounceInterval;sortComparator;get id(){return this._id;}set id(e){this._id=e||this._uid,this.stateChanges.next();}_id;get errorState(){return this._errorStateTracker.errorState;}set errorState(e){this._errorStateTracker.errorState=e;}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=br(()=>{let e=this.options;return e?e.changes.pipe(st(e),_t(()=>St(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(_t(()=>this.optionSelectionChanges));});openedChange=new $();_openedStream=this.openedChange.pipe(Re(e=>e),me(()=>{}));_closedStream=this.openedChange.pipe(Re(e=>!e),me(()=>{}));selectionChange=new $();valueChange=new $();constructor(){let e=p($a),i=p(Ra,{optional:!0}),n=p(or,{optional:!0}),a=p(new hi("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Gs(e,this.ngControl,n,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=a==null?0:parseInt(a)||0,this.id=this.id;}ngOnInit(){this._selectionModel=new qo(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(ke(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(ke(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect());}),this.options.changes.pipe(st(null),ke(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection();});}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let n=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?n.setAttribute("aria-labelledby",e):n.removeAttribute("aria-labelledby");}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState());}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval);}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal();}toggle(){this.panelOpen?this.close():this.open();}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(fe(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),thi ��s._positioningSettled();}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)));}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&em(this._trackedModal,"aria-owns",i),bg(e,"aria-owns",i),this._trackedModal=e;}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;em(this._trackedModal,"aria-owns",e),this._trackedModal=null;}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)));}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return;}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(n),this._cleanupDetach=void 0;};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",a=>{a.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay());}),n=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay();},200);e.classList.add("mat-select-panel-exit");}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck();}writeValue(e){this._assignValue(e);}registerOnChange(e){this._onChange=e;}registerOnTouched(e){this._onTouched=e;}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next();}get panelOpen(){return this._panelOpen;}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0];}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ");}return this._selectionModel.selected[0].viewValue;}updateErrorState(){this._errorStateTracker.updateErrorState();}_isRtl(){return this._dir?this._dir.value==="rtl":!1;}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e));}_handleClosedKeydown(e){let i=e.keyCode,n=i===40||i===38||i===37||i===39,a=i===13||i===32,o=this._keyManager;if(!o.isTyping()&&a&&!wt(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;o.onKeydown(e);let u=this.selected;u&&s!==u&&this._liveAnnouncer.announce(u.viewValue,1e4);}}_handleOpenKeydown(e){let i=this._keyManager,n=e.keyCode,a=n===40||n===38,o=i.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!o&&(n===13||n===32)&&i.activeItem&&!wt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!o&&this._multiple&&n===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(u=>!u.disabled&&!u.selected);this.options.forEach(u=>{u.disabled||(s?u.select():u.deselect());});}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&a&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction();}}_handleOverlayKeydown(e){e.keyCode===27&&!wt(e)&&(e.preventDefault(),this.close());}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next());}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next());}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:"";}get empty(){return!this._selectionModel||this._selectionModel.isEmpty();}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next();});}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1);}this._changeDetectorRef.markForCheck();}_selectOptionByValue(e){let i=this.options.find(n=>{if(this._selectionModel.isSelected(n))return!1;try{return(n.value!=null||this.canSelectNullableOptions)&&this._compareWith(n.value,e);}catch{return!1;}});return i&&this._selectionModel.select(i),i;}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1;}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Zs?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 kc(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close());}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction();});}_resetOptions(){let e=St(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ke(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus());}),St(...this.options.map(i=>i._stateChanges)).pipe(ke(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next();});}_onSelect(e,i){let n=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next();}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,n)=>this.sortComparator?this.sortComparator(i,n,e):e.indexOf(i)-e.indexOf(n)),this.stateChanges.next();}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(n=>n.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck();}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break;}this._keyManager.setActiveItem(e);}else this._keyManager.setActiveItem(this._selectionModel.selected[0]);}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir;}focus(e){this._elementRef.nativeElement.focus(e);}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e;}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null;}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e;}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[];}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby");}onContainerClick(){this.focus(),this.open();}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["mat-select"]],contentQueries:function(i,n,a){if(i&1&&(ye(a,tC,5),ye(a,On,5),ye(a,Ag,5)),i&2){let o;R(o=P())&&(n.customTrigger=o.first),R(o=P())&&(n.options=o),R(o=P())&&(n.optionGroups=o);}},viewQuery:function(i,n){if(i&1&&(H(ZI,5),H(KI,5),H(bm,5)),i&2){let a;R(a=P())&&(n.trigger=a.first),R(a=P())&&(n.panel=a.first),R(a=P())&&(n._overlayDir=a.first);}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(i,n){i&1&&E("keydown",function(o){return n._handleKeydown(o);})("focus",function(){return n._onFocus();})("blur",function(){return n._onBlur();}),i&2&&(te("id",n.id)("tabindex",n.disabled?-1:n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-activedescendant",n._getAriaActiveDescendant()),X("mat-mdc-select-disabled",n.disabled)("mat-mdc-select-invalid",n.errorState)("mat-mdc-select-required",n.required)("mat-mdc-select-empty",n.empty)("mat-mdc-select-multiple",n.multiple)("mat-select-open",n.panelOpen));},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",U],disableRipple:[2,"disableRipple","disableRipple",U],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:We(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",U],placeholder:"placeholder",required:[2,"required","required",U],multiple:[2,"multiple","multiple",U],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",U],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",We],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",U]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[_e([{provide:Ws,useExisting:t},{provide:Ig,useExisting:t}]),Ne],ngContentSelectors:eA,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,n){if(i&1){let a=ee();Ce(JI),d(0,"div",2,0),E("click",function(){return T(a),I(n.open());}),d(3,"div",3),k(4,tA,2,1,"span",4)(5,rA,3,1,"span",5),c(),d(6,"div",6)(7,"div",7),Ut(),d(8,"svg",8),x(9,"path",9),c()()()(),de(10,aA,3,10,"ng-template",10),E("detach",function(){return T(a),I(n.close());})("backdropClick",function(){return T(a),I(n.close());})("overlayKeydown",function(s){return T(a),I(n._handleOverlayKeydown(s));});}if(i&2){let a=Ue(1);l(3),te("id",n._valueId),l(),M(n.empty?4:5),l(6),g("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",n._preferredOverlayOrigin||a)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayWidth",n._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0);}},dependencies:[Zs,bm,Mr],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
`],encapsulation:2,changeDetection:0});}return t;})();var Rr=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({providers:[eC],imports:[zn,Fg,ue,aa,kt,Fg,ue]});}return t;})();var sA=["*",[["mat-toolbar-row"]]],lA=["*","mat-toolbar-row"],cA=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]});}return t;})(),Ui=(()=>{class t{_elementRef=p(J);_platform=p(Me);_document=p(he);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()));}_checkToolbarMixedModes(){this._toolbarRows.length;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,n,a){if(i&1&&ye(a,cA,5),i&2){let o;R(o=P())&&(n._toolbarRows=o);}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,n){i&2&&(et(n.color?"mat-"+n.color:""),X("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",n._toolbarRows.length===0));},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:lA,decls:2,vars:0,template:function(i,n){i&1&&(Ce(sA),se(0),se(1,1));},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}
`],encapsulation:2,changeDetection:0});}return t;})();var Qn=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({imports:[ue,ue]});}return t;})();var dA=["tooltip"],Ng=20;var zg=new F("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(be);return()=>Nn(t,{scrollThrottle:Ng});}});function rC(t){let r=p(be);return()=>Nn(r,{scrollThrottle:Ng});}var Bg={provide:zg,deps:[],useFactory:rC};function aC(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500};}var oC=new F("mat-tooltip-default-options",{providedIn:"root",factory:aC});var iC="tooltip-panel",nC=Oa({passive:!0}),uA=8,mA=8,pA=24,hA=200,mt=(()=>{class t{_elementRef=p(J);_ngZone=p(ce);_platform=p(Me);_ariaDescriber=p(tm);_focusMonitor=p(Vt);_dir=p(gt);_injector=p(be);_viewContainerRef=p(bt);_animationsDisabled=Fe();_defaultOptions=p(oC,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=sC;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position;}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()));}get positionAtOrigin(){return this._positionAtOrigin;}set positionAtOrigin(e){this._positionAtOrigin=ii(e),this._detach(),this._overlayRef=null;}get disabled(){return this._disabled;}set disabled(e){let i=ii(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message));}get showDelay(){return this._showDelay;}set showDelay(e){this._showDelay=Vi(e);}_showDelay;get hideDelay(){return this._hideDelay;}set hideDelay(e){this._hideDelay=Vi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay);}_hideDelay;touchGestures="auto";get message(){return this._message;}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i);}_message="";get tooltipClass(){return this._tooltipClass;}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass);}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new Q();_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=uA;}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ke(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0));});}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,n])=>{e.removeEventListener(i,n,nC);}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e);}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return;}let n=this._createOverlay(i);this._detach(),this._portal=this._portal||new cr(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=n.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(ke(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e);}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()));}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e);}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible();}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof J)return this._overlayRef;this._detach();}let i=this._injector.get(Ha).getAncestorScrollContainers(this._elementRef),n=`${this._cssClassPrefix}-${iC}`,a=Uo(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return a.positionChanges.pipe(ke(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0));}),this._overlayRef=ur(this._injector,{direction:this._dir,positionStrategy:a,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,n]:n,scrollStrategy:this._injector.get(zg)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ke(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ke(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(ke(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!wt(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)));}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(ke(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef);})),this._overlayRef;}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null;}_updatePosition(e){let i=e.getConfig().positionStrategy,n=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(W(W({},n.main),a.main)),this._addOffset(W(W({},n.fallback),a.fallback))]);}_addOffset(e){let i=mA,n=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=n?-i:i:e.originX==="end"&&(e.offsetX=n?i:-i),e;}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,n;i=="above"||i=="below"?n={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?n={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(n={originX:"end",originY:"center"});let{x:a,y:o}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:a,originY:o}};}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,n;i=="above"?n={overlayX:"center",overlayY:"bottom"}:i=="below"?n={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?n={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(n={overlayX:"start",overlayY:"center"});let{x:a,y:o}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:a,overlayY:o}};}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),ut(()=>{this._tooltipInstance&&this._overlayRef.updatePosition();},{injector:this._injector}));}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck());}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i};}_updateCurrentPositionClass(e){let{overlayY:i,originX:n,originY:a}=e,o;if(i==="center"?this._dir&&this._dir.value==="rtl"?o=n==="end"?"left":"right":o=n==="start"?"left":"right":o=i==="bottom"&&a==="top"?"above":"below",o!==this._currentPosition){let s=this._overlayRef;if(s){let u=`${this._cssClassPrefix}-${iC}-`;s.removePanelClass(u+this._currentPosition),s.addPanelClass(u+o);}this._currentPosition=o;}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i);}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],n=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,n);},this._defaultOptions?.touchLongPressShowDelay??a);}])),this._addListeners(this._passiveListeners));}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let n=i.relatedTarget;(!n||!this._overlayRef?.overlayElement.contains(n))&&this.hide();}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay);};e.push(["touchend",i],["touchcancel",i]);}this._addListeners(e),this._passiveListeners.push(...e);}_addListeners(e){e.forEach(([i,n])=>{this._elementRef.nativeElement.addEventListener(i,n,nC);});}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID;}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(he).elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;i!==n&&!n.contains(i)&&this.hide();}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,n=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),(e==="on"||!i.draggable)&&(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent";}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||ut({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip");}},{injector:this._injector}));}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,n){i&2&&X("mat-mdc-tooltip-disabled",n.disabled);},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"mat ��TooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]});}return t;})(),sC=(()=>{class t{_changeDetectorRef=p(ve);_elementRef=p(J);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=Fe();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new Q();_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0;},e);}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0;},e);}afterHidden(){return this._onHide;}isVisible(){return this._isVisible;}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null;}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0);}_markForCheck(){this._changeDetectorRef.markForCheck();}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1));}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck();}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>pA&&e.width>=hA;}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation);}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0;}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next();}_toggleVisibility(e){let i=this._tooltip.nativeElement,n=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:n),i.classList.add(e?n:a),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let o=getComputedStyle(i);(o.getPropertyValue("animation-duration")==="0s"||o.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0);}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e));}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,n){if(i&1&&H(dA,7),i&2){let a;R(a=P())&&(n._tooltip=a.first);}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,n){i&1&&E("mouseleave",function(o){return n._handleMouseLeave(o);});},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,n){if(i&1){let a=ee();d(0,"div",1,0),E("animationend",function(s){return T(a),I(n._handleAnimationEnd(s));}),d(2,"div",2),m(3),c()();}i&2&&(X("mdc-tooltip--multiline",n._isMultiline),g("ngClass",n.tooltipClass),l(3),v(n.message));},dependencies:[Mr],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
`],encapsulation:2,changeDetection:0});}return t;})();var Ye=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({providers:[Bg],imports:[Dc,zn,ue,ue,aa]});}return t;})();function fA(t,r){}var qa=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext;};var $g=(()=>{class t extends Ua{_elementRef=p(J);_focusTrapFactory=p(hg);_config;_interactivityChecker=p(pg);_ngZone=p(ce);_focusMonitor=p(Vt);_renderer=p($e);_changeDetectorRef=p(ve);_injector=p(be);_platform=p(Me);_document=p(he);_portalOutlet;_focusTrapped=new Q();_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=p(qa,{optional:!0})||new qa(),this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy);}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck();}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck());}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus();}_captureInitialFocus(){this._trapFocus();}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus();}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i;}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i;}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i;};_recaptureFocus(){this._containsFocus()||this._trapFocus();}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{a(),o(),e.removeAttribute("tabindex");},a=this._renderer.listen(e,"blur",n),o=this._renderer.listen(e,"mousedown",n);})),e.focus(i);}_focusByCssSelector(e,i){let n=this._elementRef.nativeElement.querySelector(e);n&&this._forceFocus(n,i);}_trapFocus(e){this._isDestroyed||ut(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break;}this._focusTrapped.next();},{injector:this._injector});}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let n=Pa(),a=this._elementRef.nativeElement;(!n||n===this._document.body||n===a||a.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus());}this._focusTrap&&this._focusTrap.destroy();}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e);}_containsFocus(){let e=this._elementRef.nativeElement,i=Pa();return e===i||e.contains(i);}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Pa()));}static ɵfac=function(i){return new(i||t)();};static ɵcmp=D({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,n){if(i&1&&H(Hi,7),i&2){let a;R(a=P())&&(n._portalOutlet=a.first);}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,n){i&2&&te("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null);},features:[G],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&1&&de(0,fA,0,0,"ng-template",0);},dependencies:[Hi],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
`],encapsulation:2});}return t;})(),Bc=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new Q();backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(r,e){this.overlayRef=r,this.config=e,this.disableClose=e.disableClose,this.backdropClick=r.backdropClick(),this.keydownEvents=r.keydownEvents(),this.outsidePointerEvents=r.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!wt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}));}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.();}),this._detachSubscription=r.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close();});}close(r,e){if(this._canClose(r)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(r),i.complete(),this.componentInstance=this.containerInstance=null;}}updatePosition(){return this.overlayRef.updatePosition(),this;}updateSize(r="",e=""){return this.overlayRef.updateSize({width:r,height:e}),this;}addPanelClass(r){return this.overlayRef.addPanelClass(r),this;}removePanelClass(r){return this.overlayRef.removePanelClass(r),this;}_canClose(r){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(r,e,this.componentInstance));}},gA=new F("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=p(be);return()=>Ks(t);}}),_A=new F("DialogData"),bA=new F("DefaultDialogConfig");function vA(t){let r=B(t),e=new $();return{valueSignal:r,get value(){return r();},change:e,ngOnDestroy(){e.complete();}};}var jg=(()=>{class t{_injector=p(be);_defaultOptions=p(bA,{optional:!0});_parentDialog=p(t,{optional:!0,skipSelf:!0});_overlayContainer=p(_m);_idGenerator=p(He);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new Q();_afterOpenedAtThisLevel=new Q();_ariaHiddenElements=new Map();_scrollStrategy=p(gA);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel;}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel;}afterAllClosed=br(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(st(void 0)));constructor(){}open(e,i){let n=this._defaultOptions||new qa();i=W(W({},n),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),o=ur(this._injector,a),s=new Bc(o,i),u=this._attachContainer(o,s,i);if(s.containerInstance=u,!this.openDialogs.length){let h=this._overlayContainer.getContainerElement();u._focusTrapped?u._focusTrapped.pipe(fe(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(h);}):this._hideNonDialogContentFromAssistiveTechnology(h);}return this._attachDialogContent(e,s,u,i),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s;}closeAll(){Vg(this.openDialogs,e=>e.close());}getDialogById(e){return this.openDialogs.find(i=>i.id===e);}ngOnDestroy(){Vg(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1);}),Vg(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[];}_getOverlayConfig(e){let i=new dr({positionStrategy:e.positionStrategy||Wa().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i;}_attachContainer(e,i,n){let a=n.injector||n.viewContainerRef?.injector,o=[{provide:qa,useValue:n},{provide:Bc,useValue:i},{provide:Xs,useValue:e}],s;n.container?typeof n.container=="function"?s=n.container:(s=n.container.type,o.push(...n.container.providers(n))):s=$g;let u=new cr(s,n.viewContainerRef,be.create({parent:a||this._injector,providers:o}));return e.attach(u).instance;}_attachDialogContent(e,i,n,a){if(e instanceof rt){let o=this._createInjector(a,i,n,void 0),s={$implicit:a.data,dialogRef:i};a.templateContext&&(s=W(W({},s),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),n.attachTemplatePortal(new si(e,null,s,o));}else{let o=this._createInjector(a,i,n,this._injector),s=n.attachComponentPortal(new cr(e,a.viewContainerRef,o));i.componentRef=s,i.componentInstance=s.instance;}}_createInjector(e,i,n,a){let o=e.injector||e.viewContainerRef?.injector,s=[{provide:_A,useValue:e.data},{provide:Bc,useValue:i}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(i,e,n)):s.push(...e.providers)),e.direction&&(!o||!o.get(gt,null,{optional:!0}))&&s.push({provide:gt,useValue:vA(e.direction)}),be.create({parent:o||a,providers:s});}_removeOpenDialog(e,i){let n=this.openDialogs.indexOf(e);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,o)=>{a?o.setAttribute("aria-hidden",a):o.removeAttribute("aria-hidden");}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()));}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let n=i.length-1;n>-1;n--){let a=i[n];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"));}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel;}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function Vg(t,r){let e=t.length;for(;e--;)r(t[e]);}var lC=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=ne({type:t});static ɵinj=ie({providers:[jg],imports:[zn,Ln,Dc,Ln]});}return t;})();function yA(t,r){}var $c=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration;},Hg="mdc-dialog--open",cC="mdc-dialog--opening",dC="mdc-dialog--closing",xA=150,CA=75,pC=(()=>{class t extends $g{_animationStateChanged=new $();_animationsEnabled=!Fe();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?mC(this._config.enterAnimationDuration)??xA:0;_exitAnimationDuration=this._animationsEnabled?mC(this._config.exitAnimationDuration)??CA:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation();}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(uC,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(cC,Hg)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Hg),Promise.resolve().then(()=>this._finishDialogOpen()));}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Hg),this._animationsEnabled?(this._hostElement.style.setProperty(uC,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(dC)),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(cC,dC);}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e);}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e();});}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus();}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e});}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer);}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i;}static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵcmp=D({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,n){i&2&&(xt("id",n._config.id),te("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),X("_mat-animation-noopable",!n._animationsEnabled)("mat-mdc-dialog-container-with-actions",n._actionSectionCount>0));},features:[G],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,n){i&1&&(d(0,"div",0)(1,"div",1),de(2,yA,0,0,"ng-template",2),c()());},dependencies:[Hi],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
`],encapsulation:2});}return t;})(),uC="--mat-dialog-transition-duration";function mC(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Vi(t.substring(0,t.length-2)):t.endsWith("s")?Vi(t.substring(0,t.length-1))*1e3:t==="0"?0:null;}var Vc=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t;}(Vc||{}),Yt=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new Q();_beforeClosed=new Q();_result;_closeFallbackTimeout;_state=Vc.OPEN;_closeInteractionType;constructor(r,e,i){this._ref=r,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=r.id,r.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(Re(n=>n.state==="opened"),fe(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete();}),i._animationStateChanged.pipe(Re(n=>n.state==="closed"),fe(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose();}),r.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose();}),St(this.backdropClick(),this.keydownEvents().pipe(Re(n=>n.keyCode===27&&!this.disableClose&&!wt(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Ug(this,n.type==="keydown"?"keyboard":"mouse"));});}close(r){let e=this._config.closePredicate;e&&!e(r,this._config,this.componentInstance)||(this._result=r,this._containerInstance._animationStateChanged.pipe(Re(i=>i.state==="closing"),fe(1)).subscribe(i=>{this._beforeClosed.next(r),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100);}),this._state=Vc.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(r){let e=this._ref.config.positionStrategy;return r&&(r.left||r.right)?r.left?e.left(r.left):e.right(r.right):e.centerHorizontally(),r&&(r.top||r.bottom)?r.top?e.top(r.top):e.bottom(r.bottom):e.centerVertically(),this._ref.updatePosition(),this;}updateSize(r="",e=""){return this._ref.updateSize(r,e),this;}addPanelClass(r){return this._ref.addPanelClass(r),this;}removePanelClass(r){return this._ref.removePanelClass(r),this;}getState(){return this._state;}_finishDialogClose(){this._state=Vc.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null;}};function Ug(t,r,e){return t._closeInteractionType=r,t.close(e);}var _i=new F("MatMdcDialogData"),hC=new F("mat-mdc-dialog-default-options"),fC=new F("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(be);return()=>Ks(t);}}),zt=(()=>{class t{_defaultOptions=p(hC,{optional:!0});_scrollStrategy=p(fC);_parentDialog=p(t,{optional:!0,skipSelf:!0});_idGenerator=p(He);_injector=p(be);_dialog=p(jg);_animationsDisabled=Fe();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new Q();_afterOpenedAtThisLevel=new Q();dialogConfigClass=$c;_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=br(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(st(void 0)));constructor(){this._dialogRefConstructor=Yt,this._dialogContainerType=pC,this._dialogDataToken=_i;}open(e,i){let n;i=W(W({},this._defaultOptions||new $c()),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,ot(W({},i),{positionStrategy:Wa(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleString()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:qa,useValue:i}]},templateContext:()=>({dialogRef:n}),providers:(o,s,u)=>(n=new this._dialogRefConstructor(o,i,u),n.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:u},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentRef=a.componentRef,n.componentInstance=a.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let o=this.openDialogs.indexOf(n);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next());}),n;}closeAll(){this._closeDialogs(this.openDialogs);}getDialogById(e){return this.openDialogs.find(i=>i.id===e);}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete();}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close();}static ɵfac=function(i){return new(i||t)();};static ɵprov=N({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Bn=(()=>{class t{dialogRef=p(Yt,{optional:!0});_elementRef=p(J);_dialog=p(zt);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=_C(this._elementRef,this._dialog.openDialogs));}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue);}_onButtonClick(e){Ug(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult);}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,n){i&1&&E("click",function(o){return n._onButtonClick(o);}),i&2&&te("aria-label",n.ariaLabel||null)("type",n.type);},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ne]});}return t;})(),gC=(()=>{class t{_dialogRef=p(Yt,{optional:!0});_elementRef=p(J);_dialog=p(zt);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=_C(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd();});}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove();});}static ɵfac=function(i){return new(i||t)();};static ɵdir=O({type:t});}return t;})(),Wi=(()=>{class t extends gC{id=p(He).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id);}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id);}static ɵfac=(()=>{let e;return function(n){return(e||(e=Oe(t)))(n||t);};})();static ɵdir=O({type:t,selectors:[["","mat-dialog-title",""