import{$ as sg,A as Ua,B as pn,C as _c,D as Ha,E as ui,F as Wa,G as vc,H as yc,I as Cc,J as xc,K as po,L as Ar,M as Q0,N as J0,O as ar,P as Z0,Q as fo,R as Sc,S as eg,T as tg,U as ng,V as rg,W as og,X as ig,Y as wc,Z as ag,_ as $a,a as W0,aa as lg,b as hc,ba as Ka,c as $0,ca as dg,f as K0,fa as ug,g as j0,h as G0,i as Y0,j as q0,k as X0,l as In,m as rr,n as or,o as Oa,p as Vn,q as di,r as bc,s as un,t as ir,u as Wt,v as Na,w as za,x as uo,y as Er,z as Va}from"./chunk-C26NHB4X.js";import{h as pg,k as ja,m as mo,n as fg,o as mg,p as Ga,r as Sw,v as gg,w as hg,x as kc,y as Ic,z as Tc}from"./chunk-7OYTSKOZ.js";import{$ as sn,$a as u0,$c as Et,A as ba,Ab as _0,Ac as sc,Ad as pc,B as Qm,Ba as i0,Bb as v0,Bd as Ea,C as ft,Ca as _e,Cb as y0,Cd as N0,D as mt,Da as Ue,Dd as Aa,E as Nn,Ea as Tt,Eb as C0,Fa as a0,Fb as ic,Fd as lo,G as Jm,Gb as ln,Gc as Ee,Gd as z0,H as Zm,Ha as ec,Hb as Ir,Hc as cn,Hd as V0,I as jo,Ia as Jo,Ic as lc,Id as Ma,J as _a,Ja as zn,Jb as ac,Jc as ri,Jd as Da,K as Go,Ka as s0,Kc as T0,Kd as fc,Lc as tr,Ld as Ba,M as Jl,Mc as oi,Md as U0,N as Yo,Nc as ii,Nd as H0,O as xn,Oc as Tr,Od as mc,P as e0,Pc as wa,Pd as Ra,Q as N,Qa as oo,Qc as ai,R as t0,Ra as l0,Rb as x0,S as yt,Sa as c0,Sd as nr,T as Ct,Ta as d0,Tb as Sa,Td as Pa,U as Sn,V as wn,Vc as dn,Vd as co,Wc as si,X as Pe,Xc as li,Y as xr,Z as n0,Za as Sr,_a as Zo,_c as ka,a as Vm,aa as rt,ab as tc,ad as E0,af as cg,ba as ot,bb as ei,bd as cc,c as Um,cb as nc,cd as Ia,ce as Fa,db as rc,dd as A0,de as gc,e as Hm,ed as M0,f as ga,fa as z,fb as p0,fd as D0,g as ha,ga as re,gb as wr,gd as ao,h as Wm,ha as oe,hb as Ca,ia as we,id as so,ie as ci,j as $m,ja as qo,jb as f0,jd as B0,k as Km,ka as Xo,kb as m0,kd as R0,lb as ti,ld as Ta,m as jm,ma as xt,na as St,nd as P0,o as Gm,oa as r0,ob as io,oe as La,p as Ql,pa as kn,pc as S0,pd as dc,r as Ym,ra as Zt,rd as uc,s as Ko,sa as F,sb as g0,ta as o0,u as Re,ua as Zl,ub as ni,ud as F0,v as qm,va as Qo,vb as oc,w as yn,wa as va,wb as h0,wd as L0,x as Cn,xa as Zn,xb as kr,xc as w0,xd as O0,y as Xm,ya as er,yb as b0,yc as k0,z as an,za as ya,zb as xa,zc as I0}from"./chunk-7QNGSTYJ.js";import{a as nt,b as Pt,c as Nm,d as zm,f as Xl}from"./chunk-JTGFI4FN.js";var kg=zm((go,pi)=>{"use strict";(function(){var r,n="4.17.21",t=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",h=1,v=2,w=4,k=1,P=2,M=1,V=2,Q=4,Z=8,ee=16,de=32,ue=64,ce=128,y=256,x=512,A=30,K="...",W=800,pe=16,Fe=1,Qe=2,fe=3,q=1/0,T=9007199254740991,R=17976931348623157e292,U=NaN,O=4294967295,j=O-1,H=O>>>1,Ce=[["ary",ce],["bind",M],["bindKey",V],["curry",Z],["curryRight",ee],["flip",x],["partial",de],["partialRight",ue],["rearg",y]],ve="[object Arguments]",te="[object Array]",ut="[object AsyncFunction]",ge="[object Boolean]",J="[object Date]",Le="[object DOMException]",X="[object Error]",Me="[object Function]",Ke="[object GeneratorFunction]",Ie="[object Map]",De="[object Number]",xe="[object Null]",He="[object Object]",Be="[object Promise]",We="[object Proxy]",je="[object RegExp]",st="[object Set]",gt="[object String]",gn="[object Symbol]",lt="[object Undefined]",ht="[object WeakMap]",et="[object WeakSet]",tt="[object ArrayBuffer]",bt="[object DataView]",pr="[object Float32Array]",Wr="[object Float64Array]",hn="[object Int8Array]",At="[object Int16Array]",En="[object Int32Array]",$r="[object Uint8Array]",Fs="[object Uint8ClampedArray]",Ls="[object Uint16Array]",Os="[object Uint32Array]",$b=/\b__p \+= '';/g,Kb=/\b(__p \+=) '' \+/g,jb=/(__e\(.*?\)|\b__t\)) \+\n'';/g,lp=/&(?:amp|lt|gt|quot|#39);/g,cp=/[&<>"']/g,Gb=RegExp(lp.source),Yb=RegExp(cp.source),qb=/<%-([\s\S]+?)%>/g,Xb=/<%([\s\S]+?)%>/g,dp=/<%=([\s\S]+?)%>/g,Qb=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Jb=/^\w*$/,Zb=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ns=/[\\^$.*+?()[\]{}|]/g,e_=RegExp(Ns.source),zs=/^\s+/,t_=/\s/,n_=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,r_=/\{\n\/\* \[wrapped with (.+)\] \*/,o_=/,? & /,i_=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,a_=/[()=,{}\[\]\/\s]/,s_=/\\(\\)?/g,l_=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,up=/\w*$/,c_=/^[-+]0x[0-9a-f]+$/i,d_=/^0b[01]+$/i,u_=/^\[object .+?Constructor\]$/,p_=/^0o[0-7]+$/i,f_=/^(?:0|[1-9]\d*)$/,m_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ti=/($^)/,g_=/['\n\r\u2028\u2029\\]/g,Ei="\\ud800-\\udfff",h_="\\u0300-\\u036f",b_="\\ufe20-\\ufe2f",__="\\u20d0-\\u20ff",pp=h_+b_+__,fp="\\u2700-\\u27bf",mp="a-z\\xdf-\\xf6\\xf8-\\xff",v_="\\xac\\xb1\\xd7\\xf7",y_="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",C_="\\u2000-\\u206f",x_=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",gp="A-Z\\xc0-\\xd6\\xd8-\\xde",hp="\\ufe0e\\ufe0f",bp=v_+y_+C_+x_,Vs="['\u2019]",S_="["+Ei+"]",_p="["+bp+"]",Ai="["+pp+"]",vp="\\d+",w_="["+fp+"]",yp="["+mp+"]",Cp="[^"+Ei+bp+vp+fp+mp+gp+"]",Us="\\ud83c[\\udffb-\\udfff]",k_="(?:"+Ai+"|"+Us+")",xp="[^"+Ei+"]",Hs="(?:\\ud83c[\\udde6-\\uddff]){2}",Ws="[\\ud800-\\udbff][\\udc00-\\udfff]",Kr="["+gp+"]",Sp="\\u200d",wp="(?:"+yp+"|"+Cp+")",I_="(?:"+Kr+"|"+Cp+")",kp="(?:"+Vs+"(?:d|ll|m|re|s|t|ve))?",Ip="(?:"+Vs+"(?:D|LL|M|RE|S|T|VE))?",Tp=k_+"?",Ep="["+hp+"]?",T_="(?:"+Sp+"(?:"+[xp,Hs,Ws].join("|")+")"+Ep+Tp+")*",E_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",A_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ap=Ep+Tp+T_,M_="(?:"+[w_,Hs,Ws].join("|")+")"+Ap,D_="(?:"+[xp+Ai+"?",Ai,Hs,Ws,S_].join("|")+")",B_=RegExp(Vs,"g"),R_=RegExp(Ai,"g"),$s=RegExp(Us+"(?="+Us+")|"+D_+Ap,"g"),P_=RegExp([Kr+"?"+yp+"+"+kp+"(?="+[_p,Kr,"$"].join("|")+")",I_+"+"+Ip+"(?="+[_p,Kr+wp,"$"].join("|")+")",Kr+"?"+wp+"+"+kp,Kr+"+"+Ip,A_,E_,vp,M_].join("|"),"g"),F_=RegExp("["+Sp+Ei+pp+hp+"]"),L_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,O_=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],N_=-1,Ge={};Ge[pr]=Ge[Wr]=Ge[hn]=Ge[At]=Ge[En]=Ge[$r]=Ge[Fs]=Ge[Ls]=Ge[Os]=!0,Ge[ve]=Ge[te]=Ge[tt]=Ge[ge]=Ge[bt]=Ge[J]=Ge[X]=Ge[Me]=Ge[Ie]=Ge[De]=Ge[He]=Ge[je]=Ge[st]=Ge[gt]=Ge[ht]=!1;var $e={};$e[ve]=$e[te]=$e[tt]=$e[bt]=$e[ge]=$e[J]=$e[pr]=$e[Wr]=$e[hn]=$e[At]=$e[En]=$e[Ie]=$e[De]=$e[He]=$e[je]=$e[st]=$e[gt]=$e[gn]=$e[$r]=$e[Fs]=$e[Ls]=$e[Os]=!0,$e[X]=$e[Me]=$e[ht]=!1;var z_={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},V_={"&":"&","<":"<",">":">",'"':""","'":"'"},U_={"&":"&","<":"<",">":">",""":'"',"'":"'"},H_={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},W_=parseFloat,$_=parseInt,Mp=typeof global=="object"&&global&&global.Object===Object&&global,K_=typeof self=="object"&&self&&self.Object===Object&&self,ct=Mp||K_||Function("return this")(),Ks=typeof go=="object"&&go&&!go.nodeType&&go,fr=Ks&&typeof pi=="object"&&pi&&!pi.nodeType&&pi,Dp=fr&&fr.exports===Ks,js=Dp&&Mp.process,Kt=(function(){try{var C=fr&&fr.require&&fr.require("util").types;return C||js&&js.binding&&js.binding("util")}catch{}})(),Bp=Kt&&Kt.isArrayBuffer,Rp=Kt&&Kt.isDate,Pp=Kt&&Kt.isMap,Fp=Kt&&Kt.isRegExp,Lp=Kt&&Kt.isSet,Op=Kt&&Kt.isTypedArray;function Ot(C,E,I){switch(I.length){case 0:return C.call(E);case 1:return C.call(E,I[0]);case 2:return C.call(E,I[0],I[1]);case 3:return C.call(E,I[0],I[1],I[2])}return C.apply(E,I)}function j_(C,E,I,G){for(var me=-1,Oe=C==null?0:C.length;++me-1}function Gs(C,E,I){for(var G=-1,me=C==null?0:C.length;++G-1;);return I}function Kp(C,E){for(var I=C.length;I--&&jr(E,C[I],0)>-1;);return I}function tv(C,E){for(var I=C.length,G=0;I--;)C[I]===E&&++G;return G}var nv=Qs(z_),rv=Qs(V_);function ov(C){return"\\"+H_[C]}function iv(C,E){return C==null?r:C[E]}function Gr(C){return F_.test(C)}function av(C){return L_.test(C)}function sv(C){for(var E,I=[];!(E=C.next()).done;)I.push(E.value);return I}function tl(C){var E=-1,I=Array(C.size);return C.forEach(function(G,me){I[++E]=[me,G]}),I}function jp(C,E){return function(I){return C(E(I))}}function Kn(C,E){for(var I=-1,G=C.length,me=0,Oe=[];++I-1}function Yv(e,i){var s=this.__data__,d=Gi(s,e);return d<0?(++this.size,s.push([e,i])):s[d][1]=i,this}An.prototype.clear=$v,An.prototype.delete=Kv,An.prototype.get=jv,An.prototype.has=Gv,An.prototype.set=Yv;function Mn(e){var i=-1,s=e==null?0:e.length;for(this.clear();++i=i?e:i)),e}function qt(e,i,s,d,p,g){var b,_=i&h,S=i&v,D=i&w;if(s&&(b=p?s(e,d,p,g):s(e)),b!==r)return b;if(!qe(e))return e;var B=he(e);if(B){if(b=Jy(e),!_)return Mt(e,b)}else{var L=vt(e),$=L==Me||L==Ke;if(Jn(e))return Af(e,_);if(L==He||L==ve||$&&!p){if(b=S||$?{}:Yf(e),!_)return S?Uy(e,dy(b,e)):Vy(e,of(b,e))}else{if(!$e[L])return p?e:{};b=Zy(e,L,_)}}g||(g=new nn);var Y=g.get(e);if(Y)return Y;g.set(e,b),Sm(e)?e.forEach(function(se){b.add(qt(se,i,s,se,e,g))}):Cm(e)&&e.forEach(function(se,ke){b.set(ke,qt(se,i,s,ke,e,g))});var ae=D?S?Tl:Il:S?Bt:dt,ye=B?r:ae(e);return jt(ye||e,function(se,ke){ye&&(ke=se,se=e[ke]),Lo(b,ke,qt(se,i,s,ke,e,g))}),b}function uy(e){var i=dt(e);return function(s){return af(s,e,i)}}function af(e,i,s){var d=s.length;if(e==null)return!d;for(e=Ve(e);d--;){var p=s[d],g=i[p],b=e[p];if(b===r&&!(p in e)||!g(b))return!1}return!0}function sf(e,i,s){if(typeof e!="function")throw new Gt(a);return Wo(function(){e.apply(r,s)},i)}function Oo(e,i,s,d){var p=-1,g=Mi,b=!0,_=e.length,S=[],D=i.length;if(!_)return S;s&&(i=Ye(i,Nt(s))),d?(g=Gs,b=!1):i.length>=t&&(g=Mo,b=!1,i=new hr(i));e:for(;++p<_;){var B=e[p],L=s==null?B:s(B);if(B=d||B!==0?B:0,b&&L===L){for(var $=D;$--;)if(i[$]===L)continue e;S.push(B)}else g(i,L,d)||S.push(B)}return S}var Yn=Pf(bn),lf=Pf(cl,!0);function py(e,i){var s=!0;return Yn(e,function(d,p,g){return s=!!i(d,p,g),s}),s}function Yi(e,i,s){for(var d=-1,p=e.length;++dp?0:p+s),d=d===r||d>p?p:be(d),d<0&&(d+=p),d=s>d?0:km(d);s0&&s(_)?i>1?pt(_,i-1,s,d,p):$n(p,_):d||(p[p.length]=_)}return p}var ll=Ff(),df=Ff(!0);function bn(e,i){return e&&ll(e,i,dt)}function cl(e,i){return e&&df(e,i,dt)}function qi(e,i){return Wn(i,function(s){return Fn(e[s])})}function _r(e,i){i=Xn(i,e);for(var s=0,d=i.length;e!=null&&si}function my(e,i){return e!=null&&ze.call(e,i)}function gy(e,i){return e!=null&&i in Ve(e)}function hy(e,i,s){return e>=_t(i,s)&&e=120&&B.length>=120)?new hr(b&&B):r}B=e[0];var L=-1,$=_[0];e:for(;++L-1;)_!==e&&Vi.call(_,S,1),Vi.call(e,S,1);return e}function Cf(e,i){for(var s=e?i.length:0,d=s-1;s--;){var p=i[s];if(s==d||p!==g){var g=p;Pn(p)?Vi.call(e,p,1):vl(e,p)}}return e}function hl(e,i){return e+Wi(ef()*(i-e+1))}function Ay(e,i,s,d){for(var p=-1,g=at(Hi((i-e)/(s||1)),0),b=I(g);g--;)b[d?g:++p]=e,e+=s;return b}function bl(e,i){var s="";if(!e||i<1||i>T)return s;do i%2&&(s+=e),i=Wi(i/2),i&&(e+=e);while(i);return s}function Se(e,i){return Pl(Qf(e,i,Rt),e+"")}function My(e){return rf(ro(e))}function Dy(e,i){var s=ro(e);return aa(s,br(i,0,s.length))}function Vo(e,i,s,d){if(!qe(e))return e;i=Xn(i,e);for(var p=-1,g=i.length,b=g-1,_=e;_!=null&&++pp?0:p+i),s=s>p?p:s,s<0&&(s+=p),p=i>s?0:s-i>>>0,i>>>=0;for(var g=I(p);++d>>1,b=e[g];b!==null&&!Vt(b)&&(s?b<=i:b=t){var D=i?null:Ky(e);if(D)return Bi(D);b=!1,p=Mo,S=new hr}else S=i?[]:_;e:for(;++d=d?e:Xt(e,i,s)}var Ef=xv||function(e){return ct.clearTimeout(e)};function Af(e,i){if(i)return e.slice();var s=e.length,d=qp?qp(s):new e.constructor(s);return e.copy(d),d}function Sl(e){var i=new e.constructor(e.byteLength);return new Ni(i).set(new Ni(e)),i}function Ly(e,i){var s=i?Sl(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.byteLength)}function Oy(e){var i=new e.constructor(e.source,up.exec(e));return i.lastIndex=e.lastIndex,i}function Ny(e){return Fo?Ve(Fo.call(e)):{}}function Mf(e,i){var s=i?Sl(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function Df(e,i){if(e!==i){var s=e!==r,d=e===null,p=e===e,g=Vt(e),b=i!==r,_=i===null,S=i===i,D=Vt(i);if(!_&&!D&&!g&&e>i||g&&b&&S&&!_&&!D||d&&b&&S||!s&&S||!p)return 1;if(!d&&!g&&!D&&e=_)return S;var D=s[d];return S*(D=="desc"?-1:1)}}return e.index-i.index}function Bf(e,i,s,d){for(var p=-1,g=e.length,b=s.length,_=-1,S=i.length,D=at(g-b,0),B=I(S+D),L=!d;++_1?s[p-1]:r,b=p>2?s[2]:r;for(g=e.length>3&&typeof g=="function"?(p--,g):r,b&&kt(s[0],s[1],b)&&(g=p<3?r:g,p=1),i=Ve(i);++d-1?p[g?i[b]:b]:r}}function Nf(e){return Rn(function(i){var s=i.length,d=s,p=Yt.prototype.thru;for(e&&i.reverse();d--;){var g=i[d];if(typeof g!="function")throw new Gt(a);if(p&&!b&&oa(g)=="wrapper")var b=new Yt([],!0)}for(d=b?d:s;++d1&&Ae.reverse(),B&&S_))return!1;var D=g.get(e),B=g.get(i);if(D&&B)return D==i&&B==e;var L=-1,$=!0,Y=s&P?new hr:r;for(g.set(e,i),g.set(i,e);++L<_;){var ae=e[L],ye=i[L];if(d)var se=b?d(ye,ae,L,i,e,g):d(ae,ye,L,e,i,g);if(se!==r){if(se)continue;$=!1;break}if(Y){if(!qs(i,function(ke,Ae){if(!Mo(Y,Ae)&&(ae===ke||p(ae,ke,s,d,g)))return Y.push(Ae)})){$=!1;break}}else if(!(ae===ye||p(ae,ye,s,d,g))){$=!1;break}}return g.delete(e),g.delete(i),$}function Gy(e,i,s,d,p,g,b){switch(s){case bt:if(e.byteLength!=i.byteLength||e.byteOffset!=i.byteOffset)return!1;e=e.buffer,i=i.buffer;case tt:return!(e.byteLength!=i.byteLength||!g(new Ni(e),new Ni(i)));case ge:case J:case De:return rn(+e,+i);case X:return e.name==i.name&&e.message==i.message;case je:case gt:return e==i+"";case Ie:var _=tl;case st:var S=d&k;if(_||(_=Bi),e.size!=i.size&&!S)return!1;var D=b.get(e);if(D)return D==i;d|=P,b.set(e,i);var B=Kf(_(e),_(i),d,p,g,b);return b.delete(e),B;case gn:if(Fo)return Fo.call(e)==Fo.call(i)}return!1}function Yy(e,i,s,d,p,g){var b=s&k,_=Il(e),S=_.length,D=Il(i),B=D.length;if(S!=B&&!b)return!1;for(var L=S;L--;){var $=_[L];if(!(b?$ in i:ze.call(i,$)))return!1}var Y=g.get(e),ae=g.get(i);if(Y&&ae)return Y==i&&ae==e;var ye=!0;g.set(e,i),g.set(i,e);for(var se=b;++L1?"& ":"")+i[d],i=i.join(s>2?", ":" "),e.replace(n_,`{ /* [wrapped with `+i+`] */ `)}function tC(e){return he(e)||Cr(e)||!!(Jp&&e&&e[Jp])}function Pn(e,i){var s=typeof e;return i=i??T,!!i&&(s=="number"||s!="symbol"&&f_.test(e))&&e>-1&&e%1==0&&e0){if(++i>=W)return arguments[0]}else i=0;return e.apply(r,arguments)}}function aa(e,i){var s=-1,d=e.length,p=d-1;for(i=i===r?d:i;++s1?e[i-1]:r;return s=typeof s=="function"?(e.pop(),s):r,cm(e,s)});function dm(e){var i=m(e);return i.__chain__=!0,i}function px(e,i){return i(e),e}function sa(e,i){return i(e)}var fx=Rn(function(e){var i=e.length,s=i?e[0]:0,d=this.__wrapped__,p=function(g){return sl(g,e)};return i>1||this.__actions__.length||!(d instanceof Te)||!Pn(s)?this.thru(p):(d=d.slice(s,+s+(i?1:0)),d.__actions__.push({func:sa,args:[p],thisArg:r}),new Yt(d,this.__chain__).thru(function(g){return i&&!g.length&&g.push(r),g}))});function mx(){return dm(this)}function gx(){return new Yt(this.value(),this.__chain__)}function hx(){this.__values__===r&&(this.__values__=wm(this.value()));var e=this.__index__>=this.__values__.length,i=e?r:this.__values__[this.__index__++];return{done:e,value:i}}function bx(){return this}function _x(e){for(var i,s=this;s instanceof ji;){var d=rm(s);d.__index__=0,d.__values__=r,i?p.__wrapped__=d:i=d;var p=d;s=s.__wrapped__}return p.__wrapped__=e,i}function vx(){var e=this.__wrapped__;if(e instanceof Te){var i=e;return this.__actions__.length&&(i=new Te(this)),i=i.reverse(),i.__actions__.push({func:sa,args:[Fl],thisArg:r}),new Yt(i,this.__chain__)}return this.thru(Fl)}function yx(){return If(this.__wrapped__,this.__actions__)}var Cx=Zi(function(e,i,s){ze.call(e,s)?++e[s]:Dn(e,s,1)});function xx(e,i,s){var d=he(e)?Np:py;return s&&kt(e,i,s)&&(i=r),d(e,ne(i,3))}function Sx(e,i){var s=he(e)?Wn:cf;return s(e,ne(i,3))}var wx=Of(om),kx=Of(im);function Ix(e,i){return pt(la(e,i),1)}function Tx(e,i){return pt(la(e,i),q)}function Ex(e,i,s){return s=s===r?1:be(s),pt(la(e,i),s)}function um(e,i){var s=he(e)?jt:Yn;return s(e,ne(i,3))}function pm(e,i){var s=he(e)?G_:lf;return s(e,ne(i,3))}var Ax=Zi(function(e,i,s){ze.call(e,s)?e[s].push(i):Dn(e,s,[i])});function Mx(e,i,s,d){e=Dt(e)?e:ro(e),s=s&&!d?be(s):0;var p=e.length;return s<0&&(s=at(p+s,0)),fa(e)?s<=p&&e.indexOf(i,s)>-1:!!p&&jr(e,i,s)>-1}var Dx=Se(function(e,i,s){var d=-1,p=typeof i=="function",g=Dt(e)?I(e.length):[];return Yn(e,function(b){g[++d]=p?Ot(i,b,s):No(b,i,s)}),g}),Bx=Zi(function(e,i,s){Dn(e,s,i)});function la(e,i){var s=he(e)?Ye:gf;return s(e,ne(i,3))}function Rx(e,i,s,d){return e==null?[]:(he(i)||(i=i==null?[]:[i]),s=d?r:s,he(s)||(s=s==null?[]:[s]),vf(e,i,s))}var Px=Zi(function(e,i,s){e[s?0:1].push(i)},function(){return[[],[]]});function Fx(e,i,s){var d=he(e)?Ys:Hp,p=arguments.length<3;return d(e,ne(i,4),s,p,Yn)}function Lx(e,i,s){var d=he(e)?Y_:Hp,p=arguments.length<3;return d(e,ne(i,4),s,p,lf)}function Ox(e,i){var s=he(e)?Wn:cf;return s(e,ua(ne(i,3)))}function Nx(e){var i=he(e)?rf:My;return i(e)}function zx(e,i,s){(s?kt(e,i,s):i===r)?i=1:i=be(i);var d=he(e)?sy:Dy;return d(e,i)}function Vx(e){var i=he(e)?ly:Ry;return i(e)}function Ux(e){if(e==null)return 0;if(Dt(e))return fa(e)?Yr(e):e.length;var i=vt(e);return i==Ie||i==st?e.size:fl(e).length}function Hx(e,i,s){var d=he(e)?qs:Py;return s&&kt(e,i,s)&&(i=r),d(e,ne(i,3))}var Wx=Se(function(e,i){if(e==null)return[];var s=i.length;return s>1&&kt(e,i[0],i[1])?i=[]:s>2&&kt(i[0],i[1],i[2])&&(i=[i[0]]),vf(e,pt(i,1),[])}),ca=Sv||function(){return ct.Date.now()};function $x(e,i){if(typeof i!="function")throw new Gt(a);return e=be(e),function(){if(--e<1)return i.apply(this,arguments)}}function fm(e,i,s){return i=s?r:i,i=e&&i==null?e.length:i,Bn(e,ce,r,r,r,r,i)}function mm(e,i){var s;if(typeof i!="function")throw new Gt(a);return e=be(e),function(){return--e>0&&(s=i.apply(this,arguments)),e<=1&&(i=r),s}}var Ol=Se(function(e,i,s){var d=M;if(s.length){var p=Kn(s,to(Ol));d|=de}return Bn(e,d,i,s,p)}),gm=Se(function(e,i,s){var d=M|V;if(s.length){var p=Kn(s,to(gm));d|=de}return Bn(i,d,e,s,p)});function hm(e,i,s){i=s?r:i;var d=Bn(e,Z,r,r,r,r,r,i);return d.placeholder=hm.placeholder,d}function bm(e,i,s){i=s?r:i;var d=Bn(e,ee,r,r,r,r,r,i);return d.placeholder=bm.placeholder,d}function _m(e,i,s){var d,p,g,b,_,S,D=0,B=!1,L=!1,$=!0;if(typeof e!="function")throw new Gt(a);i=Jt(i)||0,qe(s)&&(B=!!s.leading,L="maxWait"in s,g=L?at(Jt(s.maxWait)||0,i):g,$="trailing"in s?!!s.trailing:$);function Y(Ze){var on=d,On=p;return d=p=r,D=Ze,b=e.apply(On,on),b}function ae(Ze){return D=Ze,_=Wo(ke,i),B?Y(Ze):b}function ye(Ze){var on=Ze-S,On=Ze-D,Om=i-on;return L?_t(Om,g-On):Om}function se(Ze){var on=Ze-S,On=Ze-D;return S===r||on>=i||on<0||L&&On>=g}function ke(){var Ze=ca();if(se(Ze))return Ae(Ze);_=Wo(ke,ye(Ze))}function Ae(Ze){return _=r,$&&d?Y(Ze):(d=p=r,b)}function Ut(){_!==r&&Ef(_),D=0,d=S=p=_=r}function It(){return _===r?b:Ae(ca())}function Ht(){var Ze=ca(),on=se(Ze);if(d=arguments,p=this,S=Ze,on){if(_===r)return ae(S);if(L)return Ef(_),_=Wo(ke,i),Y(S)}return _===r&&(_=Wo(ke,i)),b}return Ht.cancel=Ut,Ht.flush=It,Ht}var Kx=Se(function(e,i){return sf(e,1,i)}),jx=Se(function(e,i,s){return sf(e,Jt(i)||0,s)});function Gx(e){return Bn(e,x)}function da(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new Gt(a);var s=function(){var d=arguments,p=i?i.apply(this,d):d[0],g=s.cache;if(g.has(p))return g.get(p);var b=e.apply(this,d);return s.cache=g.set(p,b)||g,b};return s.cache=new(da.Cache||Mn),s}da.Cache=Mn;function ua(e){if(typeof e!="function")throw new Gt(a);return function(){var i=arguments;switch(i.length){case 0:return!e.call(this);case 1:return!e.call(this,i[0]);case 2:return!e.call(this,i[0],i[1]);case 3:return!e.call(this,i[0],i[1],i[2])}return!e.apply(this,i)}}function Yx(e){return mm(2,e)}var qx=Fy(function(e,i){i=i.length==1&&he(i[0])?Ye(i[0],Nt(ne())):Ye(pt(i,1),Nt(ne()));var s=i.length;return Se(function(d){for(var p=-1,g=_t(d.length,s);++p=i}),Cr=pf((function(){return arguments})())?pf:function(e){return Xe(e)&&ze.call(e,"callee")&&!Qp.call(e,"callee")},he=I.isArray,d1=Bp?Nt(Bp):_y;function Dt(e){return e!=null&&pa(e.length)&&!Fn(e)}function Je(e){return Xe(e)&&Dt(e)}function u1(e){return e===!0||e===!1||Xe(e)&&wt(e)==ge}var Jn=kv||ql,p1=Rp?Nt(Rp):vy;function f1(e){return Xe(e)&&e.nodeType===1&&!$o(e)}function m1(e){if(e==null)return!0;if(Dt(e)&&(he(e)||typeof e=="string"||typeof e.splice=="function"||Jn(e)||no(e)||Cr(e)))return!e.length;var i=vt(e);if(i==Ie||i==st)return!e.size;if(Ho(e))return!fl(e).length;for(var s in e)if(ze.call(e,s))return!1;return!0}function g1(e,i){return zo(e,i)}function h1(e,i,s){s=typeof s=="function"?s:r;var d=s?s(e,i):r;return d===r?zo(e,i,r,s):!!d}function zl(e){if(!Xe(e))return!1;var i=wt(e);return i==X||i==Le||typeof e.message=="string"&&typeof e.name=="string"&&!$o(e)}function b1(e){return typeof e=="number"&&Zp(e)}function Fn(e){if(!qe(e))return!1;var i=wt(e);return i==Me||i==Ke||i==ut||i==We}function ym(e){return typeof e=="number"&&e==be(e)}function pa(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=T}function qe(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function Xe(e){return e!=null&&typeof e=="object"}var Cm=Pp?Nt(Pp):Cy;function _1(e,i){return e===i||pl(e,i,Al(i))}function v1(e,i,s){return s=typeof s=="function"?s:r,pl(e,i,Al(i),s)}function y1(e){return xm(e)&&e!=+e}function C1(e){if(oC(e))throw new me(o);return ff(e)}function x1(e){return e===null}function S1(e){return e==null}function xm(e){return typeof e=="number"||Xe(e)&&wt(e)==De}function $o(e){if(!Xe(e)||wt(e)!=He)return!1;var i=zi(e);if(i===null)return!0;var s=ze.call(i,"constructor")&&i.constructor;return typeof s=="function"&&s instanceof s&&Fi.call(s)==vv}var Vl=Fp?Nt(Fp):xy;function w1(e){return ym(e)&&e>=-T&&e<=T}var Sm=Lp?Nt(Lp):Sy;function fa(e){return typeof e=="string"||!he(e)&&Xe(e)&&wt(e)==gt}function Vt(e){return typeof e=="symbol"||Xe(e)&&wt(e)==gn}var no=Op?Nt(Op):wy;function k1(e){return e===r}function I1(e){return Xe(e)&&vt(e)==ht}function T1(e){return Xe(e)&&wt(e)==et}var E1=ra(ml),A1=ra(function(e,i){return e<=i});function wm(e){if(!e)return[];if(Dt(e))return fa(e)?tn(e):Mt(e);if(Do&&e[Do])return sv(e[Do]());var i=vt(e),s=i==Ie?tl:i==st?Bi:ro;return s(e)}function Ln(e){if(!e)return e===0?e:0;if(e=Jt(e),e===q||e===-q){var i=e<0?-1:1;return i*R}return e===e?e:0}function be(e){var i=Ln(e),s=i%1;return i===i?s?i-s:i:0}function km(e){return e?br(be(e),0,O):0}function Jt(e){if(typeof e=="number")return e;if(Vt(e))return U;if(qe(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=qe(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=Wp(e);var s=d_.test(e);return s||p_.test(e)?$_(e.slice(2),s?2:8):c_.test(e)?U:+e}function Im(e){return _n(e,Bt(e))}function M1(e){return e?br(be(e),-T,T):e===0?e:0}function Ne(e){return e==null?"":zt(e)}var D1=Zr(function(e,i){if(Ho(i)||Dt(i)){_n(i,dt(i),e);return}for(var s in i)ze.call(i,s)&&Lo(e,s,i[s])}),Tm=Zr(function(e,i){_n(i,Bt(i),e)}),ma=Zr(function(e,i,s,d){_n(i,Bt(i),e,d)}),B1=Zr(function(e,i,s,d){_n(i,dt(i),e,d)}),R1=Rn(sl);function P1(e,i){var s=Jr(e);return i==null?s:of(s,i)}var F1=Se(function(e,i){e=Ve(e);var s=-1,d=i.length,p=d>2?i[2]:r;for(p&&kt(i[0],i[1],p)&&(d=1);++s1),g}),_n(e,Tl(e),s),d&&(s=qt(s,h|v|w,jy));for(var p=i.length;p--;)vl(s,i[p]);return s});function Z1(e,i){return Am(e,ua(ne(i)))}var eS=Rn(function(e,i){return e==null?{}:Ty(e,i)});function Am(e,i){if(e==null)return{};var s=Ye(Tl(e),function(d){return[d]});return i=ne(i),yf(e,s,function(d,p){return i(d,p[0])})}function tS(e,i,s){i=Xn(i,e);var d=-1,p=i.length;for(p||(p=1,e=r);++di){var d=e;e=i,i=d}if(s||e%1||i%1){var p=ef();return _t(e+p*(i-e+W_("1e-"+((p+"").length-1))),i)}return hl(e,i)}var pS=eo(function(e,i,s){return i=i.toLowerCase(),e+(s?Bm(i):i)});function Bm(e){return Wl(Ne(e).toLowerCase())}function Rm(e){return e=Ne(e),e&&e.replace(m_,nv).replace(R_,"")}function fS(e,i,s){e=Ne(e),i=zt(i);var d=e.length;s=s===r?d:br(be(s),0,d);var p=s;return s-=i.length,s>=0&&e.slice(s,p)==i}function mS(e){return e=Ne(e),e&&Yb.test(e)?e.replace(cp,rv):e}function gS(e){return e=Ne(e),e&&e_.test(e)?e.replace(Ns,"\\$&"):e}var hS=eo(function(e,i,s){return e+(s?"-":"")+i.toLowerCase()}),bS=eo(function(e,i,s){return e+(s?" ":"")+i.toLowerCase()}),_S=Lf("toLowerCase");function vS(e,i,s){e=Ne(e),i=be(i);var d=i?Yr(e):0;if(!i||d>=i)return e;var p=(i-d)/2;return na(Wi(p),s)+e+na(Hi(p),s)}function yS(e,i,s){e=Ne(e),i=be(i);var d=i?Yr(e):0;return i&&d>>0,s?(e=Ne(e),e&&(typeof i=="string"||i!=null&&!Vl(i))&&(i=zt(i),!i&&Gr(e))?Qn(tn(e),0,s):e.split(i,s)):[]}var TS=eo(function(e,i,s){return e+(s?" ":"")+Wl(i)});function ES(e,i,s){return e=Ne(e),s=s==null?0:br(be(s),0,e.length),i=zt(i),e.slice(s,s+i.length)==i}function AS(e,i,s){var d=m.templateSettings;s&&kt(e,i,s)&&(i=r),e=Ne(e),i=ma({},i,d,Wf);var p=ma({},i.imports,d.imports,Wf),g=dt(p),b=el(p,g),_,S,D=0,B=i.interpolate||Ti,L="__p += '",$=nl((i.escape||Ti).source+"|"+B.source+"|"+(B===dp?l_:Ti).source+"|"+(i.evaluate||Ti).source+"|$","g"),Y="//# sourceURL="+(ze.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++N_+"]")+` `;e.replace($,function(se,ke,Ae,Ut,It,Ht){return Ae||(Ae=Ut),L+=e.slice(D,Ht).replace(g_,ov),ke&&(_=!0,L+=`' + __e(`+ke+`) + '`),It&&(S=!0,L+=`'; `+It+`; __p += '`),Ae&&(L+=`' + ((__t = (`+Ae+`)) == null ? '' : __t) + '`),D=Ht+se.length,se}),L+=`'; `;var ae=ze.call(i,"variable")&&i.variable;if(!ae)L=`with (obj) { `+L+` } `;else if(a_.test(ae))throw new me(l);L=(S?L.replace($b,""):L).replace(Kb,"$1").replace(jb,"$1;"),L="function("+(ae||"obj")+`) { `+(ae?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(_?", __e = _.escape":"")+(S?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+L+`return __p }`;var ye=Fm(function(){return Oe(g,Y+"return "+L).apply(r,b)});if(ye.source=L,zl(ye))throw ye;return ye}function MS(e){return Ne(e).toLowerCase()}function DS(e){return Ne(e).toUpperCase()}function BS(e,i,s){if(e=Ne(e),e&&(s||i===r))return Wp(e);if(!e||!(i=zt(i)))return e;var d=tn(e),p=tn(i),g=$p(d,p),b=Kp(d,p)+1;return Qn(d,g,b).join("")}function RS(e,i,s){if(e=Ne(e),e&&(s||i===r))return e.slice(0,Gp(e)+1);if(!e||!(i=zt(i)))return e;var d=tn(e),p=Kp(d,tn(i))+1;return Qn(d,0,p).join("")}function PS(e,i,s){if(e=Ne(e),e&&(s||i===r))return e.replace(zs,"");if(!e||!(i=zt(i)))return e;var d=tn(e),p=$p(d,tn(i));return Qn(d,p).join("")}function FS(e,i){var s=A,d=K;if(qe(i)){var p="separator"in i?i.separator:p;s="length"in i?be(i.length):s,d="omission"in i?zt(i.omission):d}e=Ne(e);var g=e.length;if(Gr(e)){var b=tn(e);g=b.length}if(s>=g)return e;var _=s-Yr(d);if(_<1)return d;var S=b?Qn(b,0,_).join(""):e.slice(0,_);if(p===r)return S+d;if(b&&(_+=S.length-_),Vl(p)){if(e.slice(_).search(p)){var D,B=S;for(p.global||(p=nl(p.source,Ne(up.exec(p))+"g")),p.lastIndex=0;D=p.exec(B);)var L=D.index;S=S.slice(0,L===r?_:L)}}else if(e.indexOf(zt(p),_)!=_){var $=S.lastIndexOf(p);$>-1&&(S=S.slice(0,$))}return S+d}function LS(e){return e=Ne(e),e&&Gb.test(e)?e.replace(lp,uv):e}var OS=eo(function(e,i,s){return e+(s?" ":"")+i.toUpperCase()}),Wl=Lf("toUpperCase");function Pm(e,i,s){return e=Ne(e),i=s?r:i,i===r?av(e)?mv(e):Q_(e):e.match(i)||[]}var Fm=Se(function(e,i){try{return Ot(e,r,i)}catch(s){return zl(s)?s:new me(s)}}),NS=Rn(function(e,i){return jt(i,function(s){s=vn(s),Dn(e,s,Ol(e[s],e))}),e});function zS(e){var i=e==null?0:e.length,s=ne();return e=i?Ye(e,function(d){if(typeof d[1]!="function")throw new Gt(a);return[s(d[0]),d[1]]}):[],Se(function(d){for(var p=-1;++pT)return[];var s=O,d=_t(e,O);i=ne(i),e-=O;for(var p=Zs(d,i);++s0||i<0)?new Te(s):(e<0?s=s.takeRight(-e):e&&(s=s.drop(e)),i!==r&&(i=be(i),s=i<0?s.dropRight(-i):s.take(i-e)),s)},Te.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Te.prototype.toArray=function(){return this.take(O)},bn(Te.prototype,function(e,i){var s=/^(?:filter|find|map|reject)|While$/.test(i),d=/^(?:head|last)$/.test(i),p=m[d?"take"+(i=="last"?"Right":""):i],g=d||/^find/.test(i);p&&(m.prototype[i]=function(){var b=this.__wrapped__,_=d?[1]:arguments,S=b instanceof Te,D=_[0],B=S||he(b),L=function(ke){var Ae=p.apply(m,$n([ke],_));return d&&$?Ae[0]:Ae};B&&s&&typeof D=="function"&&D.length!=1&&(S=B=!1);var $=this.__chain__,Y=!!this.__actions__.length,ae=g&&!$,ye=S&&!Y;if(!g&&B){b=ye?b:new Te(this);var se=e.apply(b,_);return se.__actions__.push({func:sa,args:[L],thisArg:r}),new Yt(se,$)}return ae&&ye?e.apply(this,_):(se=this.thru(L),ae?d?se.value()[0]:se.value():se)})}),jt(["pop","push","shift","sort","splice","unshift"],function(e){var i=Ri[e],s=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",d=/^(?:pop|shift)$/.test(e);m.prototype[e]=function(){var p=arguments;if(d&&!this.__chain__){var g=this.value();return i.apply(he(g)?g:[],p)}return this[s](function(b){return i.apply(he(b)?b:[],p)})}}),bn(Te.prototype,function(e,i){var s=m[i];if(s){var d=s.name+"";ze.call(Qr,d)||(Qr[d]=[]),Qr[d].push({name:i,func:s})}}),Qr[ea(r,V).name]=[{name:"wrapper",func:r}],Te.prototype.clone=Lv,Te.prototype.reverse=Ov,Te.prototype.value=Nv,m.prototype.at=fx,m.prototype.chain=mx,m.prototype.commit=gx,m.prototype.next=hx,m.prototype.plant=_x,m.prototype.reverse=vx,m.prototype.toJSON=m.prototype.valueOf=m.prototype.value=yx,m.prototype.first=m.prototype.head,Do&&(m.prototype[Do]=bx),m},jn=gv();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(ct._=jn,define(function(){return jn})):fr?((fr.exports=jn)._=jn,Ks._=jn):ct._=jn}).call(go)});var kh=zm((Kc,jc)=>{"use strict";((r,n)=>{typeof define=="function"&&define.amd?define([],n):typeof jc=="object"&&typeof Kc<"u"?jc.exports=n():r.Papa=n()})(Kc,function r(){var n=typeof self<"u"?self:typeof window<"u"?window:n!==void 0?n:{},t,o=!n.document&&!!n.postMessage,a=n.IS_PAPA_WORKER||!1,l={},c=0,u={};function f(y){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(x){var A=de(x);A.chunkSize=parseInt(A.chunkSize),x.step||x.chunk||(A.chunkSize=null),this._handle=new P(A),(this._handle.streamer=this)._config=A}.call(this,y),this.parseChunk=function(x,A){var K=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0=this._config.preview),a)n.postMessage({results:W,workerId:u.WORKER_ID,finished:K});else if(ce(this._config.chunk)&&!A){if(this._config.chunk(W,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=W=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(W.data),this._completeResults.errors=this._completeResults.errors.concat(W.errors),this._completeResults.meta=W.meta),this._completed||!K||!ce(this._config.complete)||W&&W.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),K||W&&W.meta.paused||this._nextChunk(),W}this._halted=!0},this._sendError=function(x){ce(this._config.error)?this._config.error(x):a&&this._config.error&&n.postMessage({workerId:u.WORKER_ID,error:x,finished:!1})}}function h(y){var x;(y=y||{}).chunkSize||(y.chunkSize=u.RemoteChunkSize),f.call(this,y),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(A){this._input=A,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(x=new XMLHttpRequest,this._config.withCredentials&&(x.withCredentials=this._config.withCredentials),o||(x.onload=ue(this._chunkLoaded,this),x.onerror=ue(this._chunkError,this)),x.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var A,K=this._config.downloadRequestHeaders;for(A in K)x.setRequestHeader(A,K[A])}var W;this._config.chunkSize&&(W=this._start+this._config.chunkSize-1,x.setRequestHeader("Range","bytes="+this._start+"-"+W));try{x.send(this._config.downloadRequestBody)}catch(pe){this._chunkError(pe.message)}o&&x.status===0&&this._chunkError()}},this._chunkLoaded=function(){x.readyState===4&&(x.status<200||400<=x.status?this._chunkError():(this._start+=this._config.chunkSize||x.responseText.length,this._finished=!this._config.chunkSize||this._start>=(A=>(A=A.getResponseHeader("Content-Range"))!==null?parseInt(A.substring(A.lastIndexOf("/")+1)):-1)(x),this.parseChunk(x.responseText)))},this._chunkError=function(A){A=x.statusText||A,this._sendError(new Error(A))}}function v(y){(y=y||{}).chunkSize||(y.chunkSize=u.LocalChunkSize),f.call(this,y);var x,A,K=typeof FileReader<"u";this.stream=function(W){this._input=W,A=W.slice||W.webkitSlice||W.mozSlice,K?((x=new FileReader).onload=ue(this._chunkLoaded,this),x.onerror=ue(this._chunkError,this)):x=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(W.target.result)},this._chunkError=function(){this._sendError(x.error)}}function w(y){var x;f.call(this,y=y||{}),this.stream=function(A){return x=A,this._nextChunk()},this._nextChunk=function(){var A,K;if(!this._finished)return A=this._config.chunkSize,x=A?(K=x.substring(0,A),x.substring(A)):(K=x,""),this._finished=!x,this.parseChunk(K)}}function k(y){f.call(this,y=y||{});var x=[],A=!0,K=!1;this.pause=function(){f.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){f.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(W){this._input=W,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){K&&x.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),x.length?this.parseChunk(x.shift()):A=!0},this._streamData=ue(function(W){try{x.push(typeof W=="string"?W:W.toString(this._config.encoding)),A&&(A=!1,this._checkIsFinished(),this.parseChunk(x.shift()))}catch(pe){this._streamError(pe)}},this),this._streamError=ue(function(W){this._streamCleanUp(),this._sendError(W)},this),this._streamEnd=ue(function(){this._streamCleanUp(),K=!0,this._streamData("")},this),this._streamCleanUp=ue(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function P(y){var x,A,K,W,pe=Math.pow(2,53),Fe=-pe,Qe=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,fe=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,q=this,T=0,R=0,U=!1,O=!1,j=[],H={data:[],errors:[],meta:{}};function Ce(ge){return y.skipEmptyLines==="greedy"?ge.join("").trim()==="":ge.length===1&&ge[0].length===0}function ve(){if(H&&K&&(ut("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+u.DefaultDelimiter+"'"),K=!1),y.skipEmptyLines&&(H.data=H.data.filter(function(Me){return!Ce(Me)})),te()){let Me=function(Ke,Ie){ce(y.transformHeader)&&(Ke=y.transformHeader(Ke,Ie)),j.push(Ke)};var X=Me;if(H)if(Array.isArray(H.data[0])){for(var ge=0;te()&&ge(je=>(y.dynamicTypingFunction&&y.dynamicTyping[je]===void 0&&(y.dynamicTyping[je]=y.dynamicTypingFunction(je)),(y.dynamicTyping[je]||y.dynamicTyping)===!0))(Be)?We==="true"||We==="TRUE"||We!=="false"&&We!=="FALSE"&&((je=>{if(Qe.test(je)&&(je=parseFloat(je),Fe=j.length?"__parsed_extra":j[De]:xe,He=y.transform?y.transform(He,xe):He);xe==="__parsed_extra"?(Ie[xe]=Ie[xe]||[],Ie[xe].push(He)):Ie[xe]=He}return y.header&&(De>j.length?ut("FieldMismatch","TooManyFields","Too many fields: expected "+j.length+" fields but parsed "+De,R+Ke):Dey.preview?A.abort():(H.data=H.data[0],W(H,q))))}),this.parse=function(ge,J,Le){var X=y.quoteChar||'"',X=(y.newline||(y.newline=this.guessLineEndings(ge,X)),K=!1,y.delimiter?ce(y.delimiter)&&(y.delimiter=y.delimiter(ge),H.meta.delimiter=y.delimiter):((X=((Me,Ke,Ie,De,xe)=>{var He,Be,We,je;xe=xe||[","," ","|",";",u.RECORD_SEP,u.UNIT_SEP];for(var st=0;st=Le.length/2?`\r `:"\r"}}function M(y){return y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function V(y){var x=(y=y||{}).delimiter,A=y.newline,K=y.comments,W=y.step,pe=y.preview,Fe=y.fastMode,Qe=null,fe=!1,q=y.quoteChar==null?'"':y.quoteChar,T=q;if(y.escapeChar!==void 0&&(T=y.escapeChar),(typeof x!="string"||-1=pe)return lt(!0);break}Le.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:J.length,index:R}),Be++}}else if(K&&X.length===0&&O.substring(R,R+ut)===K){if(xe===-1)return lt();R=xe+te,xe=O.indexOf(A,R),De=O.indexOf(x,R)}else if(De!==-1&&(De=pe)return lt(!0)}return gt();function je(et){J.push(et),Me=R}function st(et){var tt=0;return tt=et!==-1&&(et=O.substring(Be+1,et))&&et.trim()===""?et.length:tt}function gt(et){return H||(et===void 0&&(et=O.substring(R)),X.push(et),R=Ce,je(X),ge&&ht()),lt()}function gn(et){R=et,je(X),X=[],xe=O.indexOf(A,R)}function lt(et){if(y.header&&!j&&J.length&&!fe){var tt=J[0],bt=Object.create(null),pr=new Set(tt);let Wr=!1;for(let hn=0;hnK.charCodeAt(0)!==65279?K:K.slice(1))(y),A=new(x.download?h:w)(x)):y.readable===!0&&ce(y.read)&&ce(y.on)?A=new k(x):(n.File&&y instanceof File||y instanceof Object)&&(A=new v(x)),A.stream(y);(A=(()=>{var K;return!!u.WORKERS_SUPPORTED&&(K=(()=>{var W=n.URL||n.webkitURL||null,pe=r.toString();return u.BLOB_URL||(u.BLOB_URL=W.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",pe,")();"],{type:"text/javascript"})))})(),(K=new n.Worker(K)).onmessage=Q,K.id=c++,l[K.id]=K)})()).userStep=x.step,A.userChunk=x.chunk,A.userComplete=x.complete,A.userError=x.error,x.step=ce(x.step),x.chunk=ce(x.chunk),x.complete=ce(x.complete),x.error=ce(x.error),delete x.worker,A.postMessage({input:y,config:x,workerId:A.id})},u.unparse=function(y,x){var A=!1,K=!0,W=",",pe=`\r `,Fe='"',Qe=Fe+Fe,fe=!1,q=null,T=!1,R=((()=>{if(typeof x=="object"){if(typeof x.delimiter!="string"||u.BAD_DELIMITERS.filter(function(j){return x.delimiter.indexOf(j)!==-1}).length||(W=x.delimiter),typeof x.quotes!="boolean"&&typeof x.quotes!="function"&&!Array.isArray(x.quotes)||(A=x.quotes),typeof x.skipEmptyLines!="boolean"&&typeof x.skipEmptyLines!="string"||(fe=x.skipEmptyLines),typeof x.newline=="string"&&(pe=x.newline),typeof x.quoteChar=="string"&&(Fe=x.quoteChar),typeof x.header=="boolean"&&(K=x.header),Array.isArray(x.columns)){if(x.columns.length===0)throw new Error("Option columns is empty");q=x.columns}x.escapeChar!==void 0&&(Qe=x.escapeChar+Fe),x.escapeFormulae instanceof RegExp?T=x.escapeFormulae:typeof x.escapeFormulae=="boolean"&&x.escapeFormulae&&(T=/^[=+\-@\t\r].*$/)}})(),new RegExp(M(Fe),"g"));if(typeof y=="string"&&(y=JSON.parse(y)),Array.isArray(y)){if(!y.length||Array.isArray(y[0]))return U(null,y,fe);if(typeof y[0]=="object")return U(q||Object.keys(y[0]),y,fe)}else if(typeof y=="object")return typeof y.data=="string"&&(y.data=JSON.parse(y.data)),Array.isArray(y.data)&&(y.fields||(y.fields=y.meta&&y.meta.fields||q),y.fields||(y.fields=Array.isArray(y.data[0])?y.fields:typeof y.data[0]=="object"?Object.keys(y.data[0]):[]),Array.isArray(y.data[0])||typeof y.data[0]=="object"||(y.data=[y.data])),U(y.fields||[],y.data||[],fe);throw new Error("Unable to serialize unrecognized input");function U(j,H,Ce){var ve="",te=(typeof j=="string"&&(j=JSON.parse(j)),typeof H=="string"&&(H=JSON.parse(H)),Array.isArray(j)&&0{for(var ge=0;ge{class r{constructor(t){this._authenticationService=t,this.accountInfo=null,this._authenticationService.accountInfo$.subscribe(o=>{this.accountInfo=o})}static{this.\u0275fac=function(o){return new(o||r)(yt(lo))}}static{this.\u0275cmp=Ct({type:r,selectors:[["ng-component"]],decls:2,vars:2,template:function(o,a){o&1&&(rt(0,Tw,2,1,"span"),rt(1,Ew,2,0,"span")),o&2&&(ot(a.accountInfo?0:-1),N(),ot(a.accountInfo?-1:1))},encapsulation:2})}}return r})();var Xa=[{path:"home",component:Cg},{path:"virtual-clinics",canActivate:[],canActivateChild:[],loadChildren:()=>import("./chunk-HPBQ36PR.js").then(r=>r.VirtualClinicFeatureChModule)},{path:"user",canActivate:[mc],canActivateChild:[mc],data:{featureId:Ba.id},loadChildren:()=>import("./chunk-ORLVXY7R.js").then(r=>r.BdUserFeatureModule)},{path:"**",redirectTo:"home"}];var xg=(()=>{class r{static{this.\u0275fac=function(o){return new(o||r)}}static{this.\u0275mod=Sn({type:r})}static{this.\u0275inj=Cn({imports:[kr.forRoot(Xa,{enableTracing:!1}),kr]})}}return r})();var Qa=(()=>{class r{constructor(){this.title$=new Vm,this.title=""}setTitle(t){this.title=t,this.title$.next(t)}static{this.\u0275fac=function(o){return new(o||r)}}static{this.\u0275prov=yn({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Ja={privacy:{enabled:!0,link:"https://www.bindoc.de/datenschutz"},documentation:{enabled:!0,link:"https://bindoc.atlassian.net/wiki/spaces/HP/overview"},siteNotice:{enabled:!0,link:"https://www.bindoc.de/impressum"},status:{enabled:!1,link:"https://status.bindoc.de/"}};var Sg=(()=>{class r{static{this.\u0275fac=function(o){return new(o||r)}}static{this.\u0275cmp=Ct({type:r,selectors:[["bd-user-cookie-reset-link"]],decls:3,vars:0,consts:[["href","#CCM.openWidget"],[1,"mat-caption"]],template:function(o,a){o&1&&(qo(0,"a",0)(1,"span",1),Ue(2,"Cookie Einstellungen"),Xo()())},styles:["a[_ngcontent-%COMP%]{vertical-align:middle;text-decoration:none;color:#0000008a;cursor:pointer}a[_ngcontent-%COMP%]:hover{color:#000}"]})}}return r})();function Mw(r,n){if(r&1&&(re(0,"li",6)(1,"a",8)(2,"span",5),Ue(3,"Datenschutz"),oe()()()),r&2){let t=F();N(),z("href",t.options.privacy.link,xn)}}function Dw(r,n){if(r&1&&(re(0,"li",6)(1,"a",8)(2,"span",5),Ue(3,"Dokumentation"),oe()()()),r&2){let t=F();N(),z("href",t.options.documentation.link,xn)}}function Bw(r,n){if(r&1&&(re(0,"li")(1,"a",8)(2,"span",5),Ue(3,"Impressum"),oe()()()),r&2){let t=F();N(),z("href",t.options.siteNotice.link,xn)}}function Rw(r,n){if(r&1&&(re(0,"li",6)(1,"a",8)(2,"span",5),Ue(3,"Status"),oe()()()),r&2){let t=F();N(),z("href",t.options.status.link,xn)}}var wg=(()=>{class r{constructor(){this.options=Ja}static{this.\u0275fac=function(o){return new(o||r)}}static{this.\u0275cmp=Ct({type:r,selectors:[["bd-footer"]],inputs:{options:"options"},decls:20,vars:4,consts:[[1,"flex","flex-row","justify-center"],[1,""],[1,"flex","flex-wrap","items-center","justify-center"],["href","https://www.bindoc.de","target","_blank","rel","noopener"],["alt","BinDoc GmbH","height","40px","src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNjEuODYgMzYxLjg2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6IzQ1MmE3MTt9LmNscy0ye2ZpbGw6I2Y1OGIyNTt9LmNscy0ze2ZpbGw6IzNmOTg0Njt9LmNscy00e2ZpbGw6I2E2MjE2Yjt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPkFzIGZhdmljb24gZm9yIGJyb3dzZXINPC90aXRsZT48ZyBpZD0ibG9nbyI+PGNpcmNsZSBjbGFzcz0iY2xzLTEiIGN4PSIyOC4xOCIgY3k9IjEyNi45MSIgcj0iMjcuMjciLz48Y2lyY2xlIGNsYXNzPSJjbHMtMiIgY3g9Ijg4Ljc5IiBjeT0iMTI2LjkxIiByPSIyNy4yNyIvPjxjaXJjbGUgY2xhc3M9ImNscy0zIiBjeD0iMTUwLjMxIiBjeT0iMTI2LjkxIiByPSIyNy4yNyIvPjxjaXJjbGUgY2xhc3M9ImNscy00IiBjeD0iMjExLjE2IiBjeT0iMTI2LjkxIiByPSIyNy4yNyIvPjxjaXJjbGUgY2xhc3M9ImNscy0xIiBjeD0iMjcxLjM0IiBjeT0iMTI2LjkxIiByPSIyNy4yNyIvPjxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iMzMzLjY4IiBjeT0iMTI2LjkxIiByPSIyNy4yNyIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTMzMy42OCwxMjQuNGEyLjUxLDIuNTEsMCwwLDAtMi41MiwyLjUxVjI0My4zOUgyMDEuNTJhMi41MiwyLjUyLDAsMCwwLTIuNTIsMi41MnYxNi4zaDVWMjQ4LjQzSDMzMy42OGEyLjUxLDIuNTEsMCwwLDAsMi41MS0yLjUydi0xMTlBMi41MSwyLjUxLDAsMCwwLDMzMy42OCwxMjQuNFoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNzEuMzQsMTE0LjMyYTIuNTEsMi41MSwwLDAsMC0yLjUxLDIuNTJWMjMxLjdIMTkwLjI2YTIuNTEsMi41MSwwLDAsMC0yLjUyLDIuNTF2MjhoNVYyMzYuNzNoNzguNTZhMi41MiwyLjUyLDAsMCwwLDIuNTItMi41MlYxMTYuODRBMi41MiwyLjUyLDAsMCwwLDI3MS4zNCwxMTQuMzJaIi8+PHBhdGggY2xhc3M9ImNscy00IiBkPSJNMTgwLjgyLDI2Mi4yMVYyMjUuOTRoMzAuMzRhMi41MiwyLjUyLDAsMCwwLDIuNTItMi41MlYxMDUuODdhMi41MiwyLjUyLDAsMCwwLTUsMHYxMTVIMTc4LjMxYTIuNTIsMi41MiwwLDAsMC0yLjUyLDIuNTJ2MzguNzlaIi8+PHBhdGggY2xhc3M9ImNscy0zIiBkPSJNMTUwLjMxLDIyNS45NEgxNjIuNHYzNi4yN2g1VjIyMy40MmEyLjUyLDIuNTIsMCwwLDAtMi41Mi0yLjUySDE1Mi44M3YtMTE1YTIuNTIsMi41MiwwLDAsMC01LDBWMjIzLjQyQTIuNTIsMi41MiwwLDAsMCwxNTAuMzEsMjI1Ljk0WiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTg4Ljc5LDIzNi43M2g2Mi44MnYyNS40OGg1di0yOGEyLjUxLDIuNTEsMCwwLDAtMi41Mi0yLjUxSDkxLjMxVjExNi44NGEyLjUyLDIuNTIsMCwxLDAtNSwwVjIzNC4yMUEyLjUyLDIuNTIsMCwwLDAsODguNzksMjM2LjczWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTE0MC42MywyNjIuMjFoNVYyNDQuMjlhMi41MiwyLjUyLDAsMCwwLTIuNTItMi41MkgzMC43VjEyNi45MWEyLjUyLDIuNTIsMCwwLDAtNSwwVjI0NC4yOWEyLjUyLDIuNTIsMCwwLDAsMi41MiwyLjUySDE0MC42M1oiLz48L2c+PC9zdmc+"],[1,"mat-caption"],[1,"hidden","sm:block"],["rel","nofollow noopener","target","_blank","href","https://bindocwebassets.z1.web.core.windows.net/legal/licenses-combined.min.html"],["target","_blank","rel","noopener",3,"href"]],template:function(o,a){o&1&&(re(0,"div",0)(1,"div",1)(2,"ul",2)(3,"li")(4,"a",3),we(5,"img",4),oe()(),re(6,"li")(7,"a",3)(8,"span",5),Ue(9,"BinDoc GmbH"),oe()()(),rt(10,Mw,4,1,"li",6),rt(11,Dw,4,1,"li",6),rt(12,Bw,4,1,"li"),rt(13,Rw,4,1,"li",6),re(14,"li")(15,"a",7)(16,"span",5),Ue(17,"Drittanbieter Lizenzen"),oe()()(),re(18,"li"),we(19,"bd-user-cookie-reset-link"),oe()()()()),o&2&&(N(10),ot(a.options.privacy.enabled?10:-1),N(),ot(a.options.documentation.enabled?11:-1),N(),ot(a.options.siteNotice.enabled?12:-1),N(),ot(a.options.status.enabled?13:-1))},dependencies:[Sg],styles:["span.mat-caption[_ngcontent-%COMP%]{padding:0 12px}li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{vertical-align:middle;text-decoration:none;color:#0000008a}li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{color:#000}li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{filter:grayscale(100%);width:40px;height:40px;display:inline-block}li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]:hover{filter:none}"]})}}return r})();var Ig=Xl(kg()),Za=class extends Ir{constructor(n,t,o,a,l){super(),this._availableFeatures=n,this._authentication$=t,this._msalInitialized=o,this._featureStatusService=a,this._featurePermissionService=l,this.menu$=new Um(1),this._init()}_init(){let n=Km(0,6e4).pipe(Ko(()=>this._msalInitialized),Ko(()=>this._featureStatusService.getFeatureStatus(this._availableFeatures.map(a=>a.id))),Ql((a,l)=>JSON.stringify(a)===JSON.stringify(l))),t=this._msalInitialized.pipe(Ko(()=>this._authentication$),Ql(),Ko(a=>a?this._featurePermissionService.getPermissions(!0):ga(new Array))),o=Wm([n,t]).subscribe(a=>{this._update(a[0],a[1])});this._subs.push(o)}_update(n,t){let o=(0,Ig.groupBy)(this._availableFeatures,l=>l.type),a=Object.keys(o).map(l=>{let c;switch(l){case"tool":c=[{label:"Tools",expanded:!0,items:o[l].map(u=>this._getMenuItem(u,n,t))}];break;case"resource":c=[{label:"Ressourcen",expanded:!1,items:o[l].map(u=>this._getMenuItem(u,n,t))}];break;case"users":c=[{label:"Nutzer",expanded:!1,items:o[l].map(u=>this._getMenuItem(u,n,t))}];break;case"companies":c=[{label:"Kunden",expanded:!0,items:o[l].map(u=>this._getMenuItem(u,n,t))}];break;default:c=[{label:"Sonstige",expanded:!1,items:o[l].map(u=>this._getMenuItem(u,n,t))}];break}return c}).flat();this.menu$.next(a)}_getMenuItem(n,t,o){let a={id:n.id,label:n.displayName,disabled:!1};return n?.navigation?.externalLink?a.url=n.navigation.externalLink:a.routerLink=n?.navigation?.path,t[n.id]===!1?(a.icon="pi pi-exclamation-triangle",a.disabled=!0):this._needsPermission(n)&&o.indexOf(`${n.id}:BASE`)===-1&&(a.icon="pi pi-lock",a.disabled=!0),n?.navigation?.children&&n.navigation.children.length>0&&(a.items=n.navigation.children.map(l=>({label:l.title,routerLink:l.path,disabled:a.disabled}))),a}_needsPermission(n){let t=!0;return(n.permissions===null||n.permissions.length>0&&n.permissions?.indexOf(`${n.id}:BASE`)===-1)&&(t=!1),t}};var Tg=` .p-panelmenu { display: flex; flex-direction: column; gap: dt('panelmenu.gap'); } .p-panelmenu-panel { background: dt('panelmenu.panel.background'); border-width: dt('panelmenu.panel.border.width'); border-style: solid; border-color: dt('panelmenu.panel.border.color'); color: dt('panelmenu.panel.color'); border-radius: dt('panelmenu.panel.border.radius'); padding: dt('panelmenu.panel.padding'); } .p-panelmenu-panel:first-child { border-width: dt('panelmenu.panel.first.border.width'); border-start-start-radius: dt('panelmenu.panel.first.top.border.radius'); border-start-end-radius: dt('panelmenu.panel.first.top.border.radius'); } .p-panelmenu-panel:last-child { border-width: dt('panelmenu.panel.last.border.width'); border-end-start-radius: dt('panelmenu.panel.last.bottom.border.radius'); border-end-end-radius: dt('panelmenu.panel.last.bottom.border.radius'); } .p-panelmenu-header { outline: 0 none; } .p-panelmenu-header-content { border-radius: dt('panelmenu.item.border.radius'); transition: background dt('panelmenu.transition.duration'), color dt('panelmenu.transition.duration'), outline-color dt('panelmenu.transition.duration'), box-shadow dt('panelmenu.transition.duration'); outline-color: transparent; color: dt('panelmenu.item.color'); } .p-panelmenu-header-link { display: flex; gap: dt('panelmenu.item.gap'); padding: dt('panelmenu.item.padding'); align-items: center; user-select: none; cursor: pointer; position: relative; text-decoration: none; color: inherit; } .p-panelmenu-header-icon, .p-panelmenu-item-icon { color: dt('panelmenu.item.icon.color'); } .p-panelmenu-submenu-icon { color: dt('panelmenu.submenu.icon.color'); } .p-panelmenu-submenu-icon:dir(rtl) { transform: rotate(180deg); } .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content { background: dt('panelmenu.item.focus.background'); color: dt('panelmenu.item.focus.color'); } .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-panelmenu-header-icon { color: dt('panelmenu.item.icon.focus.color'); } .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-panelmenu-submenu-icon { color: dt('panelmenu.submenu.icon.focus.color'); } .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover { background: dt('panelmenu.item.focus.background'); color: dt('panelmenu.item.focus.color'); } .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-panelmenu-header-icon { color: dt('panelmenu.item.icon.focus.color'); } .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-panelmenu-submenu-icon { color: dt('panelmenu.submenu.icon.focus.color'); } .p-panelmenu-submenu { margin: 0; padding: 0 0 0 dt('panelmenu.submenu.indent'); outline: 0; list-style: none; } .p-panelmenu-submenu:dir(rtl) { padding: 0 dt('panelmenu.submenu.indent') 0 0; } .p-panelmenu-item-link { display: flex; gap: dt('panelmenu.item.gap'); padding: dt('panelmenu.item.padding'); align-items: center; user-select: none; cursor: pointer; text-decoration: none; color: inherit; position: relative; overflow: hidden; } .p-panelmenu-item-label { line-height: 1; } .p-panelmenu-item-content { border-radius: dt('panelmenu.item.border.radius'); transition: background dt('panelmenu.transition.duration'), color dt('panelmenu.transition.duration'), outline-color dt('panelmenu.transition.duration'), box-shadow dt('panelmenu.transition.duration'); color: dt('panelmenu.item.color'); outline-color: transparent; } .p-panelmenu-item.p-focus > .p-panelmenu-item-content { background: dt('panelmenu.item.focus.background'); color: dt('panelmenu.item.focus.color'); } .p-panelmenu-item.p-focus > .p-panelmenu-item-content .p-panelmenu-item-icon { color: dt('panelmenu.item.focus.color'); } .p-panelmenu-item.p-focus > .p-panelmenu-item-content .p-panelmenu-submenu-icon { color: dt('panelmenu.submenu.icon.focus.color'); } .p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover { background: dt('panelmenu.item.focus.background'); color: dt('panelmenu.item.focus.color'); } .p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover .p-panelmenu-item-icon { color: dt('panelmenu.item.icon.focus.color'); } .p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover .p-panelmenu-submenu-icon { color: dt('panelmenu.submenu.icon.focus.color'); } `;var Lw=["list"],Ec=r=>({processedItem:r}),Eg=()=>({exact:!1}),Ag=r=>({$implicit:r});function Ow(r,n){if(r&1&&we(0,"li",6),r&2){let t=F().$implicit,o=F();_e(o.cn(o.cx("separator"),o.getItemProp(t,"styleClass")))}}function Nw(r,n){if(r&1&&(Nn(),we(0,"svg",19)),r&2){let t=F(6).$implicit,o=F();_e(o.cn(o.cx("submenuIcon"),o.getItemProp(t,"icon"))),z("ngStyle",o.getItemProp(t,"iconStyle"))}}function zw(r,n){if(r&1&&(Nn(),we(0,"svg",20)),r&2){let t=F(6).$implicit,o=F();_e(o.cn(o.cx("submenuIcon"),o.getItemProp(t,"icon"))),z("ngStyle",o.getItemProp(t,"iconStyle"))}}function Vw(r,n){if(r&1&&(xt(0),Pe(1,Nw,1,3,"svg",17)(2,zw,1,3,"svg",18),St()),r&2){let t=F(5).$implicit,o=F();N(),z("ngIf",o.isItemActive(t)),N(),z("ngIf",!o.isItemActive(t))}}function Uw(r,n){}function Hw(r,n){r&1&&Pe(0,Uw,0,0,"ng-template")}function Ww(r,n){if(r&1&&(xt(0),Pe(1,Vw,3,2,"ng-container",9)(2,Hw,1,0,null,16),St()),r&2){let t=F(5);N(),z("ngIf",!t.panelMenu.submenuIconTemplate&&!t.panelMenu._submenuIconTemplate),N(),z("ngTemplateOutlet",t.panelMenu.submenuIconTemplate||t.panelMenu._submenuIconTemplate)}}function $w(r,n){if(r&1&&we(0,"span",21),r&2){let t=F(4).$implicit,o=F();_e(o.cx("itemIcon",zn(3,Ec,t))),z("ngStyle",o.getItemProp(t,"iconStyle"))}}function Kw(r,n){if(r&1&&(re(0,"span"),Ue(1),oe()),r&2){let t=F(4).$implicit,o=F();_e(o.cx("itemLabel")),N(),Tt(o.getItemProp(t,"label"))}}function jw(r,n){if(r&1&&we(0,"span",22),r&2){let t=F(4).$implicit,o=F();_e(o.cx("itemLabel")),z("innerHTML",o.getItemProp(t,"label"),Yo)}}function Gw(r,n){if(r&1&&(re(0,"a",13),Pe(1,Ww,3,2,"ng-container",9)(2,$w,1,5,"span",14)(3,Kw,2,3,"span",15)(4,jw,1,3,"ng-template",null,1,oo),oe()),r&2){let t=ya(5),o=F(3).$implicit,a=F();_e(a.cx("itemLink")),z("target",a.getItemProp(o,"target")),sn("href",a.getItemProp(o,"url"),xn)("data-pc-section","action")("tabindex",a.parentExpanded?"0":"-1"),N(),z("ngIf",a.isItemGroup(o)),N(),z("ngIf",o.icon),N(),z("ngIf",(o.item==null?null:o.item.escape)!==!1)("ngIfElse",t)}}function Yw(r,n){if(r&1&&(Nn(),we(0,"svg",19)),r&2){let t=F(6).$implicit,o=F();_e(o.cn(o.cx("submenuIcon"),o.getItemProp(t,"icon"))),z("ngStyle",o.getItemProp(t,"iconStyle"))}}function qw(r,n){if(r&1&&(Nn(),we(0,"svg",20)),r&2){let t=F(6).$implicit,o=F();_e(o.cn(o.cx("submenuIcon"),o.getItemProp(t,"icon"))),z("ngStyle",o.getItemProp(t,"iconStyle"))}}function Xw(r,n){if(r&1&&(xt(0),Pe(1,Yw,1,3,"svg",17)(2,qw,1,3,"svg",18),St()),r&2){let t=F(5).$implicit,o=F();N(),z("ngIf",o.isItemActive(t)),N(),z("ngIf",!o.isItemActive(t))}}function Qw(r,n){}function Jw(r,n){r&1&&Pe(0,Qw,0,0,"ng-template")}function Zw(r,n){if(r&1&&(xt(0),Pe(1,Xw,3,2,"ng-container",9)(2,Jw,1,0,null,16),St()),r&2){let t=F(5);N(),z("ngIf",!t.panelMenu.submenuIconTemplate&&!t.panelMenu._submenuIconTemplate),N(),z("ngTemplateOutlet",t.panelMenu.submenuIconTemplate&&t.panelMenu._submenuIconTemplate)}}function ek(r,n){if(r&1&&we(0,"span",21),r&2){let t=F(4).$implicit,o=F();_e(o.cn(o.cx("itemIcon"),o.getItemProp(t,"icon"))),z("ngStyle",o.getItemProp(t,"iconStyle"))}}function tk(r,n){if(r&1&&we(0,"span",22),r&2){let t=F(4).$implicit,o=F();_e(o.cx("itemLabel")),z("innerHTML",o.getItemProp(t,"label"),Yo)}}function nk(r,n){if(r&1&&(re(0,"span"),Ue(1),oe()),r&2){let t=F(4).$implicit,o=F();_e(o.cn(o.cx("badge"),o.getItemProp(t,"badgeStyleClass"))),N(),Tt(t.badge)}}function rk(r,n){if(r&1&&(re(0,"a",23),Pe(1,Zw,3,2,"ng-container",9)(2,ek,1,3,"span",14)(3,tk,1,3,"span",24)(4,nk,2,3,"span",25),oe()),r&2){let t=F(3).$implicit,o=F();_e(o.cx("itemLink")),z("routerLink",o.getItemProp(t,"routerLink"))("queryParams",o.getItemProp(t,"queryParams"))("routerLinkActive","p-panelmenu-item-link-active")("routerLinkActiveOptions",o.getItemProp(t,"routerLinkActiveOptions")||Jo(20,Eg))("target",o.getItemProp(t,"target"))("fragment",o.getItemProp(t,"fragment"))("queryParamsHandling",o.getItemProp(t,"queryParamsHandling"))("preserveFragment",o.getItemProp(t,"preserveFragment"))("skipLocationChange",o.getItemProp(t,"skipLocationChange"))("replaceUrl",o.getItemProp(t,"replaceUrl"))("state",o.getItemProp(t,"state")),sn("title",o.getItemProp(t,"title"))("data-pc-section","action")("tabindex",o.parentExpanded?"0":"-1"),N(),z("ngIf",o.isItemGroup(t)),N(),z("ngIf",t.icon),N(),z("ngIf",o.getItemProp(t,"label")),N(),z("ngIf",t.badge)}}function ok(r,n){if(r&1&&(xt(0),Pe(1,Gw,6,10,"a",11)(2,rk,5,21,"a",12),St()),r&2){let t=F(2).$implicit,o=F();N(),z("ngIf",!o.getItemProp(t,"routerLink")),N(),z("ngIf",o.getItemProp(t,"routerLink"))}}function ik(r,n){}function ak(r,n){r&1&&Pe(0,ik,0,0,"ng-template")}function sk(r,n){if(r&1&&(xt(0),Pe(1,ak,1,0,null,26),St()),r&2){let t=F(2).$implicit,o=F();N(),z("ngTemplateOutlet",o.itemTemplate)("ngTemplateOutletContext",zn(2,Ag,t.item))}}function lk(r,n){if(r&1){let t=kn();re(0,"p-panelmenu-sub",27),Zt("itemToggle",function(a){ft(t);let l=F(3);return mt(l.onItemToggle(a))}),oe()}if(r&2){let t=F(2).$implicit,o=F();z("id",o.getItemId(t)+"_list")("panelId",o.panelId)("items",t==null?null:t.items)("itemTemplate",o.itemTemplate)("transitionOptions",o.transitionOptions)("focusedItemId",o.focusedItemId)("activeItemPath",o.activeItemPath)("level",o.level+1)("parentExpanded",!!o.parentExpanded&&o.isItemExpanded(t))}}function ck(r,n){if(r&1){let t=kn();re(0,"li",7)(1,"div",8),Zt("click",function(a){ft(t);let l=F().$implicit,c=F();return mt(c.onItemClick(a,l))}),Pe(2,ok,3,2,"ng-container",9)(3,sk,2,4,"ng-container",9),oe(),re(4,"div"),Pe(5,lk,1,9,"p-panelmenu-sub",10),oe()()}if(r&2){let t=F(),o=t.$implicit,a=t.index,l=F();_e(l.cn(l.cx("item",zn(18,Ec,o)),l.getItemProp(o,"styleClass"))),z("ngStyle",l.getItemProp(o,"style"))("pTooltip",l.getItemProp(o,"tooltip"))("tooltipOptions",l.getItemProp(o,"tooltipOptions")),sn("id",l.getItemId(o))("aria-label",l.getItemProp(o,"label"))("aria-expanded",l.isItemGroup(o)?l.isItemActive(o):void 0)("aria-level",l.level+1)("aria-setsize",l.getAriaSetSize())("aria-posinset",l.getAriaPosInset(a))("data-p-disabled",l.isItemDisabled(o)),N(),_e(l.cx("itemContent")),N(),z("ngIf",!l.itemTemplate),N(),z("ngIf",l.itemTemplate),N(),z("@submenu",l.getAnimation(o)),N(),z("ngIf",l.isItemVisible(o)&&l.isItemGroup(o)&&l.isItemExpanded(o))}}function dk(r,n){if(r&1&&Pe(0,Ow,1,2,"li",4)(1,ck,6,20,"li",5),r&2){let t=n.$implicit,o=F();z("ngIf",t.separator),N(),z("ngIf",!t.separator&&o.isItemVisible(t))}}var uk=["submenu"],pk=["submenuicon"],fk=["headericon"],mk=["item"],gk=["container"],hk=r=>({item:r});function bk(r,n){if(r&1&&(Nn(),we(0,"svg",17)),r&2){let t=F(7);_e(t.cx("headerIcon"))}}function _k(r,n){if(r&1&&(Nn(),we(0,"svg",18)),r&2){let t=F(7);_e(t.cx("headerIcon"))}}function vk(r,n){if(r&1&&(xt(0),Pe(1,bk,1,2,"svg",15)(2,_k,1,2,"svg",16),St()),r&2){let t=F(5).$implicit,o=F();N(),z("ngIf",o.isItemActive(t)),N(),z("ngIf",!o.isItemActive(t))}}function yk(r,n){}function Ck(r,n){r&1&&Pe(0,yk,0,0,"ng-template")}function xk(r,n){if(r&1&&(xt(0),Pe(1,vk,3,2,"ng-container",6)(2,Ck,1,0,null,14),St()),r&2){let t=F(5);N(),z("ngIf",!t.headerIconTemplate&&!t._headerIconTemplate),N(),z("ngTemplateOutlet",t.headerIconTemplate||t._headerIconTemplate)}}function Sk(r,n){if(r&1&&we(0,"span",4),r&2){let t=F(4).$implicit,o=F();_e(o.cn(o.cx("headerIcon"),t.icon)),z("ngStyle",o.getItemProp(t,"iconStyle"))}}function wk(r,n){if(r&1&&(re(0,"span"),Ue(1),oe()),r&2){let t=F(4).$implicit,o=F();_e(o.cx("headerLabel")),N(),Tt(o.getItemProp(t,"label"))}}function kk(r,n){if(r&1&&we(0,"span",19),r&2){let t=F(4).$implicit,o=F();_e(o.cx("headerLabel")),z("innerHTML",o.getItemProp(t,"label"),Yo)}}function Ik(r,n){if(r&1&&(re(0,"span"),Ue(1),oe()),r&2){let t=F(4).$implicit,o=F();_e(o.cn(o.cx("badge"),o.getItemProp(t,"badgeStyleClass"))),N(),Tt(o.getItemProp(t,"badge"))}}function Tk(r,n){if(r&1&&(re(0,"a",11),Pe(1,xk,3,2,"ng-container",6)(2,Sk,1,3,"span",3)(3,wk,2,3,"span",12)(4,kk,1,3,"ng-template",null,0,oo)(6,Ik,2,3,"span",13),oe()),r&2){let t=ya(5),o=F(3).$implicit,a=F();_e(a.cx("headerLink")),z("target",a.getItemProp(o,"target")),sn("href",a.getItemProp(o,"url"),xn)("tabindex",-1)("title",a.getItemProp(o,"title"))("data-pc-section","headeraction"),N(),z("ngIf",a.isItemGroup(o)),N(),z("ngIf",o.icon),N(),z("ngIf",a.getItemProp(o,"escape")!==!1)("ngIfElse",t),N(3),z("ngIf",a.getItemProp(o,"badge"))}}function Ek(r,n){if(r&1&&(xt(0),Pe(1,Tk,7,12,"a",10),St()),r&2){let t=F(2).$implicit,o=F();N(),z("ngIf",!o.getItemProp(t,"routerLink"))}}function Ak(r,n){r&1&&r0(0)}function Mk(r,n){if(r&1&&(Nn(),we(0,"svg",17)),r&2){let t=F(6);_e(t.cx("headerIcon"))}}function Dk(r,n){if(r&1&&(Nn(),we(0,"svg",18)),r&2){let t=F(6);_e(t.cx("headerIcon"))}}function Bk(r,n){if(r&1&&(xt(0),Pe(1,Mk,1,2,"svg",15)(2,Dk,1,2,"svg",16),St()),r&2){let t=F(4).$implicit,o=F();N(),z("ngIf",o.isItemActive(t)),N(),z("ngIf",!o.isItemActive(t))}}function Rk(r,n){}function Pk(r,n){r&1&&Pe(0,Rk,0,0,"ng-template")}function Fk(r,n){if(r&1&&(xt(0),Pe(1,Bk,3,2,"ng-container",6)(2,Pk,1,0,null,14),St()),r&2){let t=F(4);N(),z("ngIf",!t.headerIconTemplate&&!t._headerIconTemplate),N(),z("ngTemplateOutlet",t.headerIconTemplate||t._headerIconTemplate)}}function Lk(r,n){if(r&1&&we(0,"span",4),r&2){let t=F(3).$implicit,o=F();_e(o.cn(o.cx("headerIcon"),t.icon)),z("ngStyle",o.getItemProp(t,"iconStyle"))}}function Ok(r,n){if(r&1&&(re(0,"span"),Ue(1),oe()),r&2){let t=F(3).$implicit,o=F();_e(o.cx("headerLabel")),N(),Tt(o.getItemProp(t,"label"))}}function Nk(r,n){if(r&1&&we(0,"span",19),r&2){let t=F(3).$implicit,o=F();_e(o.cx("headerLabel")),z("innerHTML",o.getItemProp(t,"label"),Yo)}}function zk(r,n){if(r&1&&(re(0,"span"),Ue(1),oe()),r&2){let t=F(3).$implicit,o=F();_e(o.cn(o.cx("badge"),o.getItemProp(t,"badgeStyleClass"))),N(),Tt(o.getItemProp(t,"badge"))}}function Vk(r,n){if(r&1&&(re(0,"a",20),Pe(1,Fk,3,2,"ng-container",6)(2,Lk,1,3,"span",3)(3,Ok,2,3,"span",12)(4,Nk,1,3,"ng-template",null,1,oo)(6,zk,2,3,"span",13),oe()),r&2){let t=ya(5),o=F(2).$implicit,a=F();_e(a.cx("headerLink")),z("routerLink",a.getItemProp(o,"routerLink"))("queryParams",a.getItemProp(o,"queryParams"))("routerLinkActive","p-panelmenu-item-link-active")("routerLinkActiveOptions",a.getItemProp(o,"routerLinkActiveOptions")||Jo(20,Eg))("target",a.getItemProp(o,"target"))("fragment",a.getItemProp(o,"fragment"))("queryParamsHandling",a.getItemProp(o,"queryParamsHandling"))("preserveFragment",a.getItemProp(o,"preserveFragment"))("skipLocationChange",a.getItemProp(o,"skipLocationChange"))("replaceUrl",a.getItemProp(o,"replaceUrl"))("state",a.getItemProp(o,"state")),sn("tabindex",-1)("data-pc-section","headeraction"),N(),z("ngIf",a.isItemGroup(o)),N(),z("ngIf",o.icon),N(),z("ngIf",a.getItemProp(o,"escape")!==!1)("ngIfElse",t),N(3),z("ngIf",a.getItemProp(o,"badge"))}}function Uk(r,n){if(r&1){let t=kn();re(0,"div",21),Zt("@rootItem.done",function(){ft(t);let a=F(3);return mt(a.onToggleDone())}),re(1,"div")(2,"p-panelMenuList",22),Zt("headerFocus",function(a){ft(t);let l=F(3);return mt(l.updateFocusedHeader(a))}),oe()()()}if(r&2){let t=F(2),o=t.$implicit,a=t.index,l=F();_e(l.cx("contentContainer",zn(17,Ec,o))),z("@rootItem",l.getAnimation(o)),sn("id",l.getContentId(o,a))("aria-labelledby",l.getHeaderId(o,a))("data-pc-section","toggleablecontent"),N(),_e(l.cx("content")),sn("data-pc-section","menucontent"),N(),z("panelId",l.getPanelId(a,o))("items",l.getItemProp(o,"items"))("itemTemplate",l.itemTemplate||l._itemTemplate)("transitionOptions",l.transitionOptions)("root",!0)("activeItem",l.activeItem())("tabindex",l.tabindex)("parentExpanded",l.isItemActive(o))}}function Hk(r,n){if(r&1){let t=kn();re(0,"div",4)(1,"div",5),Zt("click",function(a){ft(t);let l=F(),c=l.$implicit,u=l.index,f=F();return mt(f.onHeaderClick(a,c,u))})("keydown",function(a){ft(t);let l=F(),c=l.$implicit,u=l.index,f=F();return mt(f.onHeaderKeyDown(a,c,u))}),re(2,"div"),Pe(3,Ek,2,1,"ng-container",6)(4,Ak,1,0,"ng-container",7)(5,Vk,7,21,"a",8),oe()(),Pe(6,Uk,3,19,"div",9),oe()}if(r&2){let t=F(),o=t.$implicit,a=t.index,l=F();_e(l.cn(l.cx("panel"),l.getItemProp(o,"headerClass"))),z("ngStyle",l.getItemProp(o,"style")),sn("data-pc-section","panel"),N(),_e(l.cn(l.cx("header",zn(25,hk,o)),l.getItemProp(o,"styleClass"))),z("ngStyle",l.getItemProp(o,"style"))("pTooltip",l.getItemProp(o,"tooltip"))("tabindex",0)("tooltipOptions",l.getItemProp(o,"tooltipOptions")),sn("id",l.getHeaderId(o,a))("aria-expanded",l.isItemActive(o))("aria-label",l.getItemProp(o,"label"))("aria-controls",l.getContentId(o,a))("aria-disabled",l.isItemDisabled(o))("data-p-highlight",l.isItemActive(o))("data-p-disabled",l.isItemDisabled(o))("data-pc-section","header"),N(),_e(l.cx("headerContent")),N(),z("ngIf",!l.itemTemplate&&!l._itemTemplate),N(),z("ngTemplateOutlet",l.itemTemplate)("ngTemplateOutletContext",zn(27,Ag,o)),N(),z("ngIf",l.getItemProp(o,"routerLink")),N(),z("ngIf",l.isItemGroup(o))}}function Wk(r,n){if(r&1&&(xt(0),Pe(1,Hk,7,29,"div",3),St()),r&2){let t=n.$implicit,o=F();N(),z("ngIf",o.isItemVisible(t))}}var $k=` ${Tg} /*For PrimeNG*/ .p-panelmenu-item:not(.ng-animating) { overflow: hidden; } .p-panelmenu-panel { overflow: hidden; } .p-panelmenu-root-list, .p-panelmenu-submenu, .p-panelmenu-item-link { outline: 0 none; } `,Kk={root:()=>["p-panelmenu p-component"],panel:"p-panelmenu-panel",header:({instance:r,item:n})=>["p-panelmenu-header",{"p-panelmenu-header-active":r.isItemActive(n)&&!!n.items,"p-disabled":r.isItemDisabled(n)}],headerContent:"p-panelmenu-header-content",headerLink:"p-panelmenu-header-link",headerIcon:"p-panelmenu-header-icon",headerLabel:"p-panelmenu-header-label",contentContainer:({instance:r,processedItem:n})=>["p-panelmenu-content-container",{"p-panelmenu-expanded":r.isItemActive(n)}],content:"p-panelmenu-content",rootList:"p-panelmenu-root-list",item:({instance:r,processedItem:n})=>["p-panelmenu-item",{"p-focus":r.isItemFocused(n)&&!r.isItemDisabled(n),"p-disabled":r.isItemDisabled(n)}],itemContent:"p-panelmenu-item-content",itemLink:"p-panelmenu-item-link",itemIcon:"p-panelmenu-item-icon",itemLabel:"p-panelmenu-item-label",submenuIcon:"p-panelmenu-submenu-icon",submenu:"p-panelmenu-submenu",separator:"p-menuitem-separator",badge:"p-menuitem-badge"},es=(()=>{class r extends B0{name="panelmenu";theme=$k;classes=Kk;static \u0275fac=(()=>{let t;return function(a){return(t||(t=Go(r)))(a||r)}})();static \u0275prov=yn({token:r,factory:r.\u0275fac})}return r})();var jk=(()=>{class r extends Ta{panelId;focusedItemId;items;itemTemplate;level=0;activeItemPath;root;tabindex;transitionOptions;parentExpanded;itemToggle=new xr;menuFocus=new xr;menuBlur=new xr;menuKeyDown=new xr;listViewChild;panelMenu=ba(qm(()=>ts));_componentStyle=ba(es);getItemId(t){return t.item?.id??`${this.panelId}_${t.key}`}getItemKey(t){return this.getItemId(t)}getItemClass(t){return{"p-panelmenu-item":!0,"p-disabled":this.isItemDisabled(t),"p-focus":this.isItemFocused(t)}}getItemProp(t,o,a){return t&&t.item?Ia(t.item[o],a):void 0}getItemLabel(t){return this.getItemProp(t,"label")}isItemExpanded(t){return t.expanded}isItemActive(t){return this.isItemExpanded(t)||this.activeItemPath.some(o=>o&&o.key===t.key)}isItemVisible(t){return this.getItemProp(t,"visible")!==!1}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemFocused(t){return this.focusedItemId===this.getItemId(t)}isItemGroup(t){return Et(t.items)}getAnimation(t){return this.isItemActive(t)?{value:"visible",params:{transitionParams:this.transitionOptions,height:"*"}}:{value:"hidden",params:{transitionParams:this.transitionOptions,height:"0"}}}getAriaSetSize(){return this.items.filter(t=>this.isItemVisible(t)&&!this.getItemProp(t,"separator")).length}getAriaPosInset(t){return t-this.items.slice(0,t).filter(o=>this.isItemVisible(o)&&this.getItemProp(o,"separator")).length+1}onItemClick(t,o){this.isItemDisabled(o)||(this.getItemProp(o,"command",{originalEvent:t,item:o.item}),this.itemToggle.emit({processedItem:o,expanded:!this.isItemActive(o)}))}onItemToggle(t){this.itemToggle.emit(t)}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Go(r)))(a||r)}})();static \u0275cmp=Ct({type:r,selectors:[["p-panelMenuSub"],["p-panelmenu-sub"]],viewQuery:function(o,a){if(o&1&&va(Lw,5),o&2){let l;Zn(l=er())&&(a.listViewChild=l.first)}},inputs:{panelId:"panelId",focusedItemId:"focusedItemId",items:"items",itemTemplate:"itemTemplate",level:[2,"level","level",Zo],activeItemPath:"activeItemPath",root:[2,"root","root",Sr],tabindex:[2,"tabindex","tabindex",Zo],transitionOptions:"transitionOptions",parentExpanded:[2,"parentExpanded","parentExpanded",Sr]},outputs:{itemToggle:"itemToggle",menuFocus:"menuFocus",menuBlur:"menuBlur",menuKeyDown:"menuKeyDown"},features:[ec([es]),wn],decls:3,vars:7,consts:[["list",""],["htmlLabel",""],["role","tree",3,"focusin","focusout","keydown","tabindex"],["ngFor","",3,"ngForOf"],["role","separator",3,"class",4,"ngIf"],["role","treeitem",3,"class","ngStyle","pTooltip","tooltipOptions",4,"ngIf"],["role","separator"],["role","treeitem",3,"ngStyle","pTooltip","tooltipOptions"],[3,"click"],[4,"ngIf"],[3,"id","panelId","items","itemTemplate","transitionOptions","focusedItemId","activeItemPath","level","parentExpanded","itemToggle",4,"ngIf"],[3,"class","target",4,"ngIf"],[3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","class","target","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],[3,"target"],[3,"class","ngStyle",4,"ngIf"],[3,"class",4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["data-p-icon","chevron-down",3,"class","ngStyle",4,"ngIf"],["data-p-icon","chevron-right",3,"class","ngStyle",4,"ngIf"],["data-p-icon","chevron-down",3,"ngStyle"],["data-p-icon","chevron-right",3,"ngStyle"],[3,"ngStyle"],[3,"innerHTML"],[3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[3,"class","innerHTML",4,"ngIf"],[3,"class",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"itemToggle","id","panelId","items","itemTemplate","transitionOptions","focusedItemId","activeItemPath","level","parentExpanded"]],template:function(o,a){if(o&1){let l=kn();re(0,"ul",2,0),Zt("focusin",function(u){return ft(l),mt(a.menuFocus.emit(u))})("focusout",function(u){return ft(l),mt(a.menuBlur.emit(u))})("keydown",function(u){return ft(l),mt(a.menuKeyDown.emit(u))}),Pe(2,dk,2,2,"ng-template",3),oe()}o&2&&(_e(a.root?a.cn(a.cx("rootList"),a.cx("submenu")):a.cx("submenu")),z("tabindex",-1),sn("aria-activedescendant",a.focusedItemId)("data-pc-section","menu")("aria-hidden",!a.parentExpanded),N(2),z("ngForOf",a.items))},dependencies:[r,wr,tc,ei,rc,nc,kr,ni,oc,Ea,pc,dc,uc,ao],encapsulation:2,data:{animation:[lc("submenu",[oi("hidden",tr({height:"0"})),oi("visible",tr({height:"*"})),ii("visible <=> hidden",[ri("{{transitionParams}}")]),ii("void => *",ri(0))])]}})}return r})(),Gk=(()=>{class r extends Ta{panelId;id;items;itemTemplate;parentExpanded;expanded;transitionOptions;root;tabindex;activeItem;itemToggle=new xr;headerFocus=new xr;subMenuViewChild;searchTimeout;searchValue;focused;focusedItem=jo(null);activeItemPath=jo([]);processedItems=jo([]);visibleItems=d0(()=>{let t=this.processedItems();return this.flatItems(t)});get focusedItemId(){let t=this.focusedItem();return t&&t.item?.id?t.item.id:Et(this.focusedItem())?`${this.panelId}_${this.focusedItem().key}`:void 0}ngOnChanges(t){this.processedItems.set(this.createProcessedItems(t?.items?.currentValue||this.items||[]))}getItemProp(t,o){return t&&t.item?Ia(t.item[o]):void 0}getItemLabel(t){return this.getItemProp(t,"label")}isItemVisible(t){return this.getItemProp(t,"visible")!==!1}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemActive(t){return this.activeItemPath().some(o=>o.key===t.parentKey)}isItemGroup(t){return Et(t.items)}isElementInPanel(t,o){let a=t.currentTarget.closest('[data-pc-section="panel"]');return a&&a.contains(o)}isItemMatched(t){return this.isValidItem(t)&&this.getItemLabel(t).toLocaleLowerCase().startsWith(this.searchValue.toLocaleLowerCase())}isVisibleItem(t){return!!t&&(t.level===0||this.isItemActive(t))&&this.isItemVisible(t)}isValidItem(t){return!!t&&!this.isItemDisabled(t)&&!t.separator}findFirstItem(){return this.visibleItems().find(t=>this.isValidItem(t))}findLastItem(){return cc(this.visibleItems(),t=>this.isValidItem(t))}findItemByEventTarget(t){let o=t;for(;o&&o.tagName?.toLowerCase()!=="li";)o=o?.parentNode;return o?.id&&this.visibleItems().find(a=>this.isValidItem(a)&&`${this.panelId}_${a.key}`===o.id)}createProcessedItems(t,o=0,a={},l=""){let c=[];return t&&t.forEach((u,f)=>{let h=(l!==""?l+"_":"")+f,v={icon:u.icon,expanded:u.expanded,separator:u.separator,item:u,index:f,level:o,key:h,parent:a,parentKey:l};v.items=this.createProcessedItems(u.items,o+1,v,h),c.push(v)}),c}findProcessedItemByItemKey(t,o,a=0){if(o=o||this.processedItems(),o&&o.length)for(let l=0;l{this.isVisibleItem(a)&&(o.push(a),this.flatItems(a.items,o))}),o}changeFocusedItem(t){let{originalEvent:o,processedItem:a,focusOnNext:l,selfCheck:c,allowHeaderFocus:u=!0}=t;Et(this.focusedItem())&&this.focusedItem().key!==a.key?(this.focusedItem.set(a),this.scrollInView()):u&&this.headerFocus.emit({originalEvent:o,focusOnNext:l,selfCheck:c})}scrollInView(){let t=dn(this.subMenuViewChild.listViewChild.nativeElement,`li[id="${`${this.focusedItemId}`}"]`);t&&t.scrollIntoView&&t.scrollIntoView({block:"nearest",inline:"nearest"})}onFocus(t){if(!this.focused){this.focused=!0;let o=this.focusedItem()||(this.isElementInPanel(t,t.relatedTarget)?this.findItemByEventTarget(t.target)||this.findFirstItem():this.findLastItem());t.relatedTarget!==null&&this.focusedItem.set(o)}}onBlur(t){let o=t.relatedTarget;this.focused&&!this.el.nativeElement.contains(o)&&(this.focused=!1,this.focusedItem.set(null),this.searchValue="")}onItemToggle(t){let{processedItem:o,expanded:a}=t;o.item&&(o.item.expanded=!o.item.expanded),this.processedItems.set(this.createProcessedItems(this.items||[],0,{},""));let l=this.activeItemPath().filter(c=>c.parentKey!==o.parentKey);a&&l.push(o),this.activeItemPath.set(l),this.focusedItem.set(o)}onKeyDown(t){let o=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"ArrowLeft":this.onArrowLeftKey(t);break;case"ArrowRight":this.onArrowRightKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"Space":this.onSpaceKey(t);break;case"Enter":this.onEnterKey(t);break;case"Escape":case"Tab":case"PageDown":case"PageUp":case"Backspace":case"ShiftLeft":case"ShiftRight":break;default:!o&&A0(t.key)&&this.searchItems(t,t.key);break}}onArrowDownKey(t){let o=Et(this.focusedItem())?this.findNextItem(this.focusedItem()):this.findFirstItem();this.changeFocusedItem({originalEvent:t,processedItem:o,focusOnNext:!0}),t.preventDefault()}onArrowUpKey(t){let o=Et(this.focusedItem())?this.findPrevItem(this.focusedItem()):this.findLastItem();this.changeFocusedItem({originalEvent:t,processedItem:o,selfCheck:!0}),t.preventDefault()}onArrowLeftKey(t){if(Et(this.focusedItem())){if(this.activeItemPath().some(a=>a.key===this.focusedItem().key)){let a=this.activeItemPath().filter(l=>l.key!==this.focusedItem().key);this.activeItemPath.set(a)}else{let a=Et(this.focusedItem().parent)?this.focusedItem().parent:this.focusedItem();this.focusedItem.set(a)}t.preventDefault()}}onArrowRightKey(t){if(Et(this.focusedItem())){if(this.isItemGroup(this.focusedItem()))if(this.activeItemPath().some(l=>l.key===this.focusedItem().key))this.onArrowDownKey(t);else{let l=this.activeItemPath().filter(c=>c.parentKey!==this.focusedItem().parentKey);l.push(this.focusedItem()),this.activeItemPath.set(l)}t.preventDefault()}}onHomeKey(t){this.changeFocusedItem({originalEvent:t,processedItem:this.findFirstItem(),allowHeaderFocus:!1}),t.preventDefault()}onEndKey(t){this.changeFocusedItem({originalEvent:t,processedItem:this.findLastItem(),focusOnNext:!0,allowHeaderFocus:!1}),t.preventDefault()}onEnterKey(t){if(Et(this.focusedItem())){let o=dn(this.subMenuViewChild.listViewChild.nativeElement,`li[id="${`${this.focusedItemId}`}"]`),a=o&&(dn(o,'[data-pc-section="action"]')||dn(o,"a,button"));a?a.click():o&&o.click()}t.preventDefault()}onSpaceKey(t){this.onEnterKey(t)}findNextItem(t){let o=this.visibleItems().findIndex(l=>l.key===t.key);return(othis.isValidItem(l)):void 0)||t}findPrevItem(t){let o=this.visibleItems().findIndex(l=>l.key===t.key);return(o>0?cc(this.visibleItems().slice(0,o),l=>this.isValidItem(l)):void 0)||t}searchItems(t,o){this.searchValue=(this.searchValue||"")+o;let a=null,l=!1;if(Et(this.focusedItem())){let c=this.visibleItems().findIndex(u=>u.key===this.focusedItem().key);a=this.visibleItems().slice(c).find(u=>this.isItemMatched(u)),a=ka(a)?this.visibleItems().slice(0,c).find(u=>this.isItemMatched(u)):a}else a=this.visibleItems().find(c=>this.isItemMatched(c));return Et(a)&&(l=!0),ka(a)&&ka(this.focusedItem())&&(a=this.findFirstItem()),Et(a)&&this.changeFocusedItem({originalEvent:t,processedItem:a,allowHeaderFocus:!1}),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),l}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Go(r)))(a||r)}})();static \u0275cmp=Ct({type:r,selectors:[["p-panelMenuList"],["p-panel-menu-list"]],viewQuery:function(o,a){if(o&1&&va(uk,5),o&2){let l;Zn(l=er())&&(a.subMenuViewChild=l.first)}},inputs:{panelId:"panelId",id:"id",items:"items",itemTemplate:"itemTemplate",parentExpanded:[2,"parentExpanded","parentExpanded",Sr],expanded:[2,"expanded","expanded",Sr],transitionOptions:"transitionOptions",root:[2,"root","root",Sr],tabindex:[2,"tabindex","tabindex",Zo],activeItem:"activeItem"},outputs:{itemToggle:"itemToggle",headerFocus:"headerFocus"},features:[wn,_a],decls:2,vars:10,consts:[["submenu",""],[3,"itemToggle","keydown","menuFocus","menuBlur","root","id","panelId","tabindex","itemTemplate","focusedItemId","activeItemPath","transitionOptions","items","parentExpanded"]],template:function(o,a){if(o&1){let l=kn();re(0,"p-panelmenu-sub",1,0),Zt("itemToggle",function(u){return ft(l),mt(a.onItemToggle(u))})("keydown",function(u){return ft(l),mt(a.onKeyDown(u))})("menuFocus",function(u){return ft(l),mt(a.onFocus(u))})("menuBlur",function(u){return ft(l),mt(a.onBlur(u))}),oe()}o&2&&z("root",!0)("id",a.panelId+"_list")("panelId",a.panelId)("tabindex",a.tabindex)("itemTemplate",a.itemTemplate)("focusedItemId",a.focused?a.focusedItemId:void 0)("activeItemPath",a.activeItemPath())("transitionOptions",a.transitionOptions)("items",a.processedItems())("parentExpanded",a.parentExpanded)},dependencies:[wr,jk,kr,Ea,ao],encapsulation:2,changeDetection:0})}return r})(),ts=(()=>{class r extends Ta{model;styleClass;multiple=!1;transitionOptions="400ms cubic-bezier(0.86, 0, 0.07, 1)";id;tabindex=0;containerViewChild;submenuIconTemplate;headerIconTemplate;itemTemplate;templates;_submenuIconTemplate;_headerIconTemplate;_itemTemplate;animating;activeItem=jo(null);_componentStyle=ba(es);ngOnInit(){super.ngOnInit(),this.id=this.id||M0("pn_id_")}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"submenuicon":this._submenuIconTemplate=t.template;break;case"headericon":this._headerIconTemplate=t.template;break;case"item":this._itemTemplate=t.template;break;default:this._itemTemplate=t.template;break}})}collapseAll(){for(let t of this.model)t.expanded&&(t.expanded=!1);this.cd.detectChanges()}onToggleDone(){this.animating=!1,this.cd.markForCheck()}changeActiveItem(t,o,a,l=!1){if(!this.isItemDisabled(o)){let c=l?o:this.activeItem&&E0(o,this.activeItem)?null:o;this.activeItem.set(c)}}getAnimation(t){return t.expanded?{value:"visible",params:{transitionParams:this.animating?this.transitionOptions:"0ms",height:"*"}}:{value:"hidden",params:{transitionParams:this.transitionOptions,height:"0"}}}getItemProp(t,o){return t?Ia(t[o]):void 0}getItemLabel(t){return this.getItemProp(t,"label")}isItemActive(t){return t.expanded}isItemVisible(t){return this.getItemProp(t,"visible")!==!1}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemGroup(t){return Et(t.items)}getPanelId(t,o){return o&&o.id?o.id:`${this.id}_${t}`}getHeaderId(t,o){return t.id?t.id+"_header":`${this.getPanelId(o)}_header`}getContentId(t,o){return t.id?t.id+"_content":`${this.getPanelId(o)}_content`}updateFocusedHeader(t){let{originalEvent:o,focusOnNext:a,selfCheck:l}=t,c=o.currentTarget.closest('[data-pc-section="panel"]'),u=l?dn(c,'[data-pc-section="header"]'):a?this.findNextHeader(c):this.findPrevHeader(c);u?this.changeFocusedHeader(o,u):a?this.onHeaderHomeKey(o):this.onHeaderEndKey(o)}changeFocusedHeader(t,o){o&&si(o)}findNextHeader(t,o=!1){let a=o?t:t.nextElementSibling,l=dn(a,'[data-pc-section="header"]');return l?li(l,"data-p-disabled")?this.findNextHeader(l.parentElement):l:null}findPrevHeader(t,o=!1){let a=o?t:t.previousElementSibling,l=dn(a,'[data-pc-section="header"]');return l?li(l,"data-p-disabled")?this.findPrevHeader(l.parentElement):l:null}findFirstHeader(){return this.findNextHeader(this.containerViewChild.nativeElement.firstElementChild,!0)}findLastHeader(){return this.findPrevHeader(this.containerViewChild.nativeElement.lastElementChild,!0)}onHeaderClick(t,o,a){if(this.isItemDisabled(o)){t.preventDefault();return}if(o.command&&o.command({originalEvent:t,item:o}),!this.multiple)for(let l of this.model)o!==l&&l.expanded&&(l.expanded=!1);o.expanded=!o.expanded,this.changeActiveItem(t,o,a),this.animating=!0,si(t.currentTarget)}onHeaderKeyDown(t,o,a){switch(t.code){case"ArrowDown":this.onHeaderArrowDownKey(t);break;case"ArrowUp":this.onHeaderArrowUpKey(t);break;case"Home":this.onHeaderHomeKey(t);break;case"End":this.onHeaderEndKey(t);break;case"Enter":case"Space":this.onHeaderEnterKey(t,o,a);break;default:break}}onHeaderArrowDownKey(t){let o=li(t.currentTarget,"data-p-highlight")===!0?dn(t.currentTarget.nextElementSibling,'[data-pc-section="menu"]'):null;o?si(o):this.updateFocusedHeader({originalEvent:t,focusOnNext:!0}),t.preventDefault()}onHeaderArrowUpKey(t){let o=this.findPrevHeader(t.currentTarget.parentElement)||this.findLastHeader(),a=li(o,"data-p-highlight")===!0?dn(o.nextElementSibling,'[data-pc-section="menu"]'):null;a?si(a):this.updateFocusedHeader({originalEvent:t,focusOnNext:!1}),t.preventDefault()}onHeaderHomeKey(t){this.changeFocusedHeader(t,this.findFirstHeader()),t.preventDefault()}onHeaderEndKey(t){this.changeFocusedHeader(t,this.findLastHeader()),t.preventDefault()}onHeaderEnterKey(t,o,a){let l=dn(t.currentTarget,'[data-pc-section="headeraction"]');l?l.click():this.onHeaderClick(t,o,a),t.preventDefault()}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Go(r)))(a||r)}})();static \u0275cmp=Ct({type:r,selectors:[["p-panelMenu"],["p-panelmenu"],["p-panel-menu"]],contentQueries:function(o,a,l){if(o&1&&(Qo(l,pk,4),Qo(l,fk,4),Qo(l,mk,4),Qo(l,D0,4)),o&2){let c;Zn(c=er())&&(a.submenuIconTemplate=c.first),Zn(c=er())&&(a.headerIconTemplate=c.first),Zn(c=er())&&(a.itemTemplate=c.first),Zn(c=er())&&(a.templates=c)}},viewQuery:function(o,a){if(o&1&&va(gk,5),o&2){let l;Zn(l=er())&&(a.containerViewChild=l.first)}},hostAttrs:["data-pc-section","root","data-pc-name","panelmenu"],hostVars:2,hostBindings:function(o,a){o&2&&_e(a.cn(a.cx("root"),a.styleClass))},inputs:{model:"model",styleClass:"styleClass",multiple:[2,"multiple","multiple",Sr],transitionOptions:"transitionOptions",id:"id",tabindex:[2,"tabindex","tabindex",Zo]},features:[ec([es]),wn],decls:1,vars:1,consts:[["htmlLabel",""],["htmlRouteLabel",""],[4,"ngFor","ngForOf"],[3,"class","ngStyle",4,"ngIf"],[3,"ngStyle"],["role","button",3,"click","keydown","ngStyle","pTooltip","tabindex","tooltipOptions"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","class","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],["role","region",3,"class",4,"ngIf"],[3,"target","class",4,"ngIf"],[3,"target"],[3,"class",4,"ngIf","ngIfElse"],[3,"class",4,"ngIf"],[4,"ngTemplateOutlet"],["data-p-icon","chevron-down",3,"class",4,"ngIf"],["data-p-icon","chevron-right",3,"class",4,"ngIf"],["data-p-icon","chevron-down"],["data-p-icon","chevron-right"],[3,"innerHTML"],[3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],["role","region"],[3,"headerFocus","panelId","items","itemTemplate","transitionOptions","root","activeItem","tabindex","parentExpanded"]],template:function(o,a){o&1&&Pe(0,Wk,2,1,"ng-container",2),o&2&&z("ngForOf",a.model)},dependencies:[wr,tc,ei,rc,nc,Gk,kr,ni,oc,Ea,pc,dc,uc,ao],encapsulation:2,data:{animation:[lc("rootItem",[oi("hidden",tr({height:"0",visibility:"hidden"})),oi("visible",tr({height:"*",visibility:"*"})),ii("visible <=> hidden",[ri("{{transitionParams}}")]),ii("void => *",ri(0))])]},changeDetection:0})}return r})(),Mg=(()=>{class r{static \u0275fac=function(o){return new(o||r)};static \u0275mod=Sn({type:r});static \u0275inj=Cn({imports:[ts,ao,ao]})}return r})();var qk=()=>({border:"none"});function Xk(r,n){if(r&1&&we(0,"p-badge",6),r&2){let t=F(2).$implicit;z("value",t.badge)}}function Qk(r,n){if(r&1&&(re(0,"span",7),Ue(1),oe()),r&2){let t=F(2).$implicit;N(),Tt(t.shortcut)}}function Jk(r,n){r&1&&we(0,"i",8)}function Zk(r,n){if(r&1&&(re(0,"a",2)(1,"span",5),Ue(2),oe(),we(3,"span"),rt(4,Xk,1,1,"p-badge",6),rt(5,Qk,2,1,"span",7),rt(6,Jk,1,0,"i",8),oe()),r&2){let t=F().$implicit;z("routerLink",t.routerLink),N(2),Tt(t.label),N(),_e(t.icon),N(),ot(t.badge?4:-1),N(),ot(t.shortcut?5:-1),N(),ot(t.items?6:-1)}}function eI(r,n){if(r&1&&(re(0,"a",3)(1,"span",9),Ue(2),oe(),we(3,"span"),oe()),r&2){let t=F().$implicit;z("href",t.url,xn),N(2),Tt(t.label),N(),_e(t.icon)}}function tI(r,n){if(r&1&&we(0,"p-badge",6),r&2){let t=F(2).$implicit;z("value",t.badge)}}function nI(r,n){if(r&1&&(re(0,"span",7),Ue(1),oe()),r&2){let t=F(2).$implicit;N(),Tt(t.shortcut)}}function rI(r,n){r&1&&we(0,"i",8)}function oI(r,n){if(r&1&&(re(0,"a",4)(1,"span",9),Ue(2),oe(),we(3,"span"),rt(4,tI,1,1,"p-badge",6),rt(5,nI,2,1,"span",7),rt(6,rI,1,0,"i",8),oe()),r&2){let t=F().$implicit;N(2),Tt(t.label),N(),_e(t.icon),N(),ot(t.badge?4:-1),N(),ot(t.shortcut?5:-1),N(),ot(t.items?6:-1)}}function iI(r,n){if(r&1&&rt(0,Zk,7,7,"a",2)(1,eI,4,4,"a",3)(2,oI,7,6,"a",4),r&2){let t=n.$implicit;ot(t.routerLink?0:t.url?1:2)}}var ns=(()=>{class r extends Ir{constructor(t,o,a){super(),this._authenticationService=t,this._featurePermissionService=o,this._featureStatusService=a}ngOnChanges(t){t.features&&this.initMenuHandler()}ngOnDestroy(){this.unsubscribeAll()}initMenuHandler(){this.menuHandler=new Za(this.features,this._authenticationService.authentication$,this._authenticationService.msalInitialized,this._featureStatusService,this._featurePermissionService),this.menuHandler.menu$.subscribe(t=>{this.items=t})}static{this.\u0275fac=function(o){return new(o||r)(yt(lo),yt(cg),yt(H0))}}static{this.\u0275cmp=Ct({type:r,selectors:[["ays-menu"]],inputs:{features:"features"},features:[wn,_a],decls:3,vars:5,consts:[["item",""],[3,"model","multiple"],["pRipple","",1,"flex","items-center","px-4","py-2","app-menu-router-link",3,"routerLink"],["pRipple","",1,"flex","items-center","px-4","py-2","app-menu-url",3,"href"],["pRipple","",1,"flex","items-center","px-4","py-2","app-menu-empty"],[1,"ml-2","flex-1"],[1,"ml-auto",3,"value"],[1,"ml-auto","border","border-surface","rounded","bg-emphasis","text-muted-color","text-xs","p-1"],[1,"pi","pi-angle-down","text-primary","ml-auto"],[1,"flex-1","ml-2"]],template:function(o,a){o&1&&(re(0,"p-panelMenu",1),Pe(1,iI,3,1,"ng-template",null,0,oo),oe()),o&2&&(i0(Jo(4,qk)),z("model",a.items)("multiple",!0))},dependencies:[P0,F0,ni,Mg,ts],encapsulation:2})}}return r})();var aI=[[["","bd-app-top-right-action",""]],[["","bd-app-content",""]]],sI=["[bd-app-top-right-action]","[bd-app-content]"],lI=r=>({"lg:pl-64":r}),cI=(r,n)=>({"-translate-x-full":r,"translate-x-0":n});function dI(r,n){if(r&1){let t=kn();re(0,"button",10),Zt("click",function(){ft(t);let a=F();return mt(a.toggleSidebar())}),we(1,"i",11),oe()}}function uI(r,n){if(r&1){let t=kn();re(0,"div",12),Zt("click",function(){ft(t);let a=F();return mt(a.closeSidebar())}),oe()}}function pI(r,n){if(r&1&&(re(0,"aside",6),we(1,"ays-menu",13),oe()),r&2){let t=F();z("ngClass",s0(2,cI,!t.sidebarOpen,t.sidebarOpen)),N(),z("features",t.features)}}var rs=(()=>{class r extends Ir{onResize(){this.isLargeScreen=window.innerWidth>=1024,!this.isLargeScreen&&!this.sidebarOpen&&(this.sidebarOpen=!1,this._updateDocumentStyles())}constructor(t){super(),this._appService=t,this.footerOptions=Ja,this.config={menu:!0},this.title="",this.sidebarOpen=!1,this.isLargeScreen=window.innerWidth>=1024,this._subs.push(this._appService.title$.pipe(Ym(this._appService.title)).subscribe(o=>this.title=o))}ngOnInit(){this.isLargeScreen=window.innerWidth>=1024,this.sidebarOpen=this.isLargeScreen,this._updateDocumentStyles()}ngOnDestroy(){this.unsubscribeAll()}toggleSidebar(){this.sidebarOpen=!this.sidebarOpen,this._updateDocumentStyles()}closeSidebar(){this.sidebarOpen=!1,this._updateDocumentStyles()}_updateDocumentStyles(){this.sidebarOpen?document.documentElement.style.setProperty("--bd-app-container-width","calc(100vw - 256px)"):document.documentElement.style.removeProperty("--bd-app-container-width")}static{this.\u0275fac=function(o){return new(o||r)(yt(Qa))}}static{this.\u0275cmp=Ct({type:r,selectors:[["bd-app-container"]],hostBindings:function(o,a){o&1&&Zt("resize",function(){return a.onResize()},e0)},inputs:{footerOptions:"footerOptions",features:"features",config:"config"},features:[wn],ngContentSelectors:sI,decls:14,vars:8,consts:[[1,"flex","flex-col","h-screen"],[1,"fixed","top-0","left-0","right-0","h-12","bg-(--app-shell-color)","text-(--app-shell-contrast-color)","flex","items-center","px-4","z-50","shadow-xl"],["pButton","",1,"mr-4","text-2xl","bg-(--app-shell-color)!","border-(--app-shell-color)!","text-(--app-shell-contrast-color)!"],[1,"text-lg","font-semibold","flex-1"],[1,"action"],[1,"fixed","inset-0","bg-black/50","z-40","transition-opacity","duration-300"],[1,"fixed","top-12","left-0","w-64","h-sidebar","bg-(--app-shell-contrast-color)","transform","transition-transform","duration-300","ease-in-out","z-50","shadow-lg","overflow-y-auto",3,"ngClass"],[1,"flex-1","pt-12","pb-12","bg-(--p-content-background)","min-h-screen","pb-8","transition-all","duration-300","w-full",3,"ngClass"],[1,"fixed","bottom-0","left-0","right-0","h-12","bg-(--app-shell-contrast-color)","text-(--p-primary-surface-color)","flex","items-center","justify-center","z-50"],[3,"options"],["pButton","",1,"mr-4","text-2xl","bg-(--app-shell-color)!","border-(--app-shell-color)!","text-(--app-shell-contrast-color)!",3,"click"],["pButtonIcon","",1,"pi","pi-bars"],[1,"fixed","inset-0","bg-black/50","z-40","transition-opacity","duration-300",3,"click"],[3,"features"]],template:function(o,a){o&1&&(o0(aI),re(0,"div",0)(1,"header",1),rt(2,dI,2,0,"button",2),re(3,"h1",3),Ue(4),oe(),re(5,"div",4),Zl(6),oe()(),re(7,"div"),rt(8,uI,1,0,"div",5),rt(9,pI,2,5,"aside",6),re(10,"main",7),Zl(11,1),oe()(),re(12,"footer",8),we(13,"bd-footer",9),oe()()),o&2&&(N(2),ot(a.config.menu?2:-1),N(2),Tt(a.title),N(4),ot(a.sidebarOpen&&!a.isLargeScreen?8:-1),N(),ot(a.config.menu?9:-1),N(),z("ngClass",zn(6,lI,a.sidebarOpen&&a.isLargeScreen&&a.config.menu)),N(3),z("options",a.footerOptions))},dependencies:[O0,L0,wg,ns,u0],styles:[".h-sidebar[_ngcontent-%COMP%]{height:calc(100vh - 96px)}"]})}}return r})();function gI(r,n){r&1&&we(0,"router-outlet")}var Dg=(()=>{class r extends V0{constructor(t,o,a,l,c,u,f){super(c,u,f,o),this._appService=t,this._snackBar=a,this._environmentService=l,this.features=[U0,Ba],this._appService.setTitle("BinDoc Meta CH")}ngOnInit(){this._initAuthenticationRoot(),this._initBanner(this._snackBar,this._environmentService)}static{this.\u0275fac=function(o){return new(o||r)(yt(Qa),yt(lo),yt(z0),yt(ln),yt(xa),yt(v0),yt(y0))}}static{this.\u0275cmp=Ct({type:r,selectors:[["app-root"]],standalone:!1,features:[wn],decls:11,vars:2,consts:[[3,"features"],["bd-app-top-right-action",""],[1,"flex","content-center"],[1,"hidden","sm:block"],["bd-app-content",""],[4,"ngIf"]],template:function(o,a){o&1&&(re(0,"bd-app-container",0),xt(1,1),re(2,"div",2)(3,"div",3),we(4,"bd-user-authentication-state"),oe(),re(5,"div"),we(6,"bd-user-zendesk-button"),oe(),re(7,"div"),we(8,"bd-authentication-menu"),oe()(),St(),xt(9,4),Pe(10,gI,1,0,"router-outlet",5),St(),oe()),o&2&&(z("features",a.features),N(10),z("ngIf",!a.isIframe))},dependencies:[ei,g0,hg,mg,Ma,rs],encapsulation:2})}}return r})();var Bg={modes:{point(r,n){return os(r,n,{intersect:!0})},nearest(r,n,t){return _I(r,n,t)},x(r,n,t){return os(r,n,{intersect:t.intersect,axis:"x"})},y(r,n,t){return os(r,n,{intersect:t.intersect,axis:"y"})}}};function Oc(r,n,t){return(Bg.modes[t.mode]||Bg.modes.nearest)(r,n,t)}function hI(r,n,t){return t!=="x"&&t!=="y"?r.inRange(n.x,n.y,"x",!0)||r.inRange(n.x,n.y,"y",!0):r.inRange(n.x,n.y,t,!0)}function bI(r,n,t){return t==="x"?{x:r.x,y:n.y}:t==="y"?{x:n.x,y:r.y}:n}function os(r,n,t){return r.filter(o=>t.intersect?o.inRange(n.x,n.y):hI(o,n,t.axis))}function _I(r,n,t){let o=Number.POSITIVE_INFINITY;return os(r,n,t).reduce((a,l)=>{let c=l.getCenterPoint(),u=bI(n,c,t.axis),f=ui(n,u);return fa._index-l._index).slice(0,1)}function Pr(r,n,t){let o=Math.cos(t),a=Math.sin(t),l=n.x,c=n.y;return{x:l+o*(r.x-l)-a*(r.y-c),y:c+a*(r.x-l)+o*(r.y-c)}}var vI=(r,n)=>n>r||r.length>n.length&&r.slice(0,n.length)===n,Mr=.001,as=(r,n,t)=>Math.min(t,Math.max(n,r)),Jg=(r,n)=>r.value>=r.start-n&&r.value<=r.end+n;function yI(r,n,t){for(let o of Object.keys(r))r[o]=as(r[o],n,t);return r}function CI(r,n,t,o){return!r||!n||t<=0?!1:Math.pow(r.x-n.x,2)+Math.pow(r.y-n.y,2)<=Math.pow(t+o,2)}function Zg(r,{x:n,y:t,x2:o,y2:a},l,{borderWidth:c,hitTolerance:u}){let f=(c+u)/2,h=r.x>=n-f-Mr&&r.x<=o+f+Mr,v=r.y>=t-f-Mr&&r.y<=a+f+Mr;return l==="x"?h:(l==="y"||h)&&v}function eh(r,{rect:n,center:t},o,{rotation:a,borderWidth:l,hitTolerance:c}){let u=Pr(r,t,pn(-a));return Zg(u,n,o,{borderWidth:l,hitTolerance:c})}function Fr(r,n){let{centerX:t,centerY:o}=r.getProps(["centerX","centerY"],n);return{x:t,y:o}}function xI(r,n,t,o=!0){let a=t.split("."),l=0;for(let c of n.split(".")){let u=a[l++];if(parseInt(c,10)typeof r=="string"&&r.endsWith("%"),nh=r=>parseFloat(r)/100,rh=r=>as(nh(r),0,1),mi=(r,n)=>({x:r,y:n,x2:r,y2:n,width:0,height:0}),SI={box:r=>mi(r.centerX,r.centerY),doughnutLabel:r=>mi(r.centerX,r.centerY),ellipse:r=>({centerX:r.centerX,centerY:r.centerX,radius:0,width:0,height:0}),label:r=>mi(r.centerX,r.centerY),line:r=>mi(r.x,r.y),point:r=>({centerX:r.centerX,centerY:r.centerY,radius:0,width:0,height:0}),polygon:r=>mi(r.centerX,r.centerY)};function Nc(r,n){return n==="start"?0:n==="end"?r:th(n)?rh(n)*r:r/2}function cr(r,n,t=!0){return typeof n=="number"?n:th(n)?(t?rh(n):nh(n))*r:r}function wI(r,n){let{x:t,width:o}=r,a=n.textAlign;return a==="center"?t+o/2:a==="end"||a==="right"?t+o:t}function oh(r,n,{borderWidth:t,position:o,xAdjust:a,yAdjust:l},c){let u=or(c),f=n.width+(u?c.width:0)+t,h=n.height+(u?c.height:0)+t,v=zc(o),w=Rg(r.x,f,a,v.x),k=Rg(r.y,h,l,v.y);return{x:w,y:k,x2:w+f,y2:k+h,width:f,height:h,centerX:w+f/2,centerY:k+h/2}}function zc(r,n="center"){return or(r)?{x:Vn(r.x,n),y:Vn(r.y,n)}:(r=Vn(r,n),{x:r,y:r})}var ih=(r,n)=>r&&r.autoFit&&n<1;function ah(r,n){let t=r.font,o=rr(t)?t:[t];return ih(r,n)?o.map(function(a){let l=Ar(a);return l.size=Math.floor(a.size*n),l.lineHeight=a.lineHeight,Ar(l)}):o.map(a=>Ar(a))}function sh(r){return r&&(un(r.xValue)||un(r.yValue))}function Rg(r,n,t=0,o){return r-Nc(n,o)+t}function yo(r,n,t){let o=t.init;if(o){if(o===!0)return ch(n,t)}else return;return kI(r,n,t)}function lh(r,n,t){let o=!1;return n.forEach(a=>{ir(r[a])?(o=!0,t[a]=r[a]):un(t[a])&&delete t[a]}),o}function ch(r,n){let t=n.type||"line";return SI[t](r)}function kI(r,n,t){let o=di(t.init,[{chart:r,properties:n,options:t}]);if(o===!0)return ch(n,t);if(or(o))return o}var Ac=new Map,II=r=>isNaN(r)||r<=0,TI=r=>r.reduce(function(n,t){return n+=t.string,n},"");function ss(r){if(r&&typeof r=="object"){let n=r.toString();return n==="[object HTMLImageElement]"||n==="[object HTMLCanvasElement]"}}function ls(r,{x:n,y:t},o){o&&(r.translate(n,t),r.rotate(pn(o)),r.translate(-n,-t))}function Un(r,n){if(n&&n.borderWidth)return r.lineCap=n.borderCapStyle||"butt",r.setLineDash(n.borderDash),r.lineDashOffset=n.borderDashOffset,r.lineJoin=n.borderJoinStyle||"miter",r.lineWidth=n.borderWidth,r.strokeStyle=n.borderColor,!0}function Co(r,n){r.shadowColor=n.backgroundShadowColor,r.shadowBlur=n.shadowBlur,r.shadowOffsetX=n.shadowOffsetX,r.shadowOffsetY=n.shadowOffsetY}function cs(r,n){let t=n.content;if(ss(t))return{width:cr(t.width,n.width),height:cr(t.height,n.height)};let o=ah(n),a=n.textStrokeWidth,l=rr(t)?t:[t],c=l.join()+TI(o)+a+(r._measureText?"-spriting":"");return Ac.has(c)||Ac.set(c,DI(r,l,o,a)),Ac.get(c)}function dh(r,n,t){let{x:o,y:a,width:l,height:c}=n;r.save(),Co(r,t);let u=Un(r,t);r.fillStyle=t.backgroundColor,r.beginPath(),Cc(r,{x:o,y:a,w:l,h:c,radius:yI(xc(t.borderRadius),0,Math.min(l,c)/2)}),r.closePath(),r.fill(),u&&(r.shadowColor=t.borderShadowColor,r.stroke()),r.restore()}function uh(r,n,t,o){let a=t.content;if(ss(a)){r.save(),r.globalAlpha=PI(t.opacity,a.style.opacity),r.drawImage(a,n.x,n.y,n.width,n.height),r.restore();return}let l=rr(a)?a:[a],c=ah(t,o),u=t.color,f=rr(u)?u:[u],h=wI(n,t),v=n.y+t.textStrokeWidth/2;r.save(),r.textBaseline="middle",r.textAlign=t.textAlign,EI(r,t)&&BI(r,{x:h,y:v},l,c),RI(r,{x:h,y:v},l,{fonts:c,colors:f}),r.restore()}function EI(r,n){if(n.textStrokeWidth>0)return r.lineJoin="round",r.miterLimit=2,r.lineWidth=n.textStrokeWidth,r.strokeStyle=n.textStrokeColor,!0}function AI(r,n,t,o){let{radius:a,options:l}=n,c=l.pointStyle,u=l.rotation,f=(u||0)*za;if(ss(c)){r.save(),r.translate(t,o),r.rotate(f),r.drawImage(c,-c.width/2,-c.height/2,c.width,c.height),r.restore();return}II(a)||MI(r,{x:t,y:o,radius:a,rotation:u,style:c,rad:f})}function MI(r,{x:n,y:t,radius:o,rotation:a,style:l,rad:c}){let u,f,h,v;switch(r.beginPath(),l){default:r.arc(n,t,o,0,Na),r.closePath();break;case"triangle":r.moveTo(n+Math.sin(c)*o,t-Math.cos(c)*o),c+=Va,r.lineTo(n+Math.sin(c)*o,t-Math.cos(c)*o),c+=Va,r.lineTo(n+Math.sin(c)*o,t-Math.cos(c)*o),r.closePath();break;case"rectRounded":v=o*.516,h=o-v,u=Math.cos(c+Er)*h,f=Math.sin(c+Er)*h,r.arc(n-u,t-f,v,c-Wt,c-uo),r.arc(n+f,t-u,v,c-uo,c),r.arc(n+u,t+f,v,c,c+uo),r.arc(n-f,t+u,v,c+uo,c+Wt),r.closePath();break;case"rect":if(!a){h=Math.SQRT1_2*o,r.rect(n-h,t-h,2*h,2*h);break}c+=Er;case"rectRot":u=Math.cos(c)*o,f=Math.sin(c)*o,r.moveTo(n-u,t-f),r.lineTo(n+f,t-u),r.lineTo(n+u,t+f),r.lineTo(n-f,t+u),r.closePath();break;case"crossRot":c+=Er;case"cross":u=Math.cos(c)*o,f=Math.sin(c)*o,r.moveTo(n-u,t-f),r.lineTo(n+u,t+f),r.moveTo(n+f,t-u),r.lineTo(n-f,t+u);break;case"star":u=Math.cos(c)*o,f=Math.sin(c)*o,r.moveTo(n-u,t-f),r.lineTo(n+u,t+f),r.moveTo(n+f,t-u),r.lineTo(n-f,t+u),c+=Er,u=Math.cos(c)*o,f=Math.sin(c)*o,r.moveTo(n-u,t-f),r.lineTo(n+u,t+f),r.moveTo(n+f,t-u),r.lineTo(n-f,t+u);break;case"line":u=Math.cos(c)*o,f=Math.sin(c)*o,r.moveTo(n-u,t-f),r.lineTo(n+u,t+f);break;case"dash":r.moveTo(n,t),r.lineTo(n+Math.cos(c)*o,t+Math.sin(c)*o);break}r.fill()}function DI(r,n,t,o){r.save();let a=n.length,l=0,c=o;for(let u=0;u0||a.borderWidth===0)&&(r.moveTo(f.x,f.y),r.lineTo(h.x,h.y)),r.moveTo(v.x,v.y),r.lineTo(w.x,w.y);let k=Pr({x:t,y:o},n.getCenterPoint(),pn(-n.rotation));r.lineTo(k.x,k.y),r.stroke(),r.restore()}function LI(r,n){let{x:t,y:o,x2:a,y2:l}=r,c=OI(r,n),u,f;return n==="left"||n==="right"?(u={x:t+c,y:o},f={x:u.x,y:l}):(u={x:t,y:o+c},f={x:a,y:u.y}),{separatorStart:u,separatorEnd:f}}function OI(r,n){let{width:t,height:o,options:a}=r,l=a.callout.margin+a.borderWidth/2;return n==="right"?t+l:n==="bottom"?o+l:-l}function NI(r,n,t){let{y:o,width:a,height:l,options:c}=r,u=c.callout.start,f=zI(n,c.callout),h,v;return n==="left"||n==="right"?(h={x:t.x,y:o+cr(l,u)},v={x:h.x+f,y:h.y}):(h={x:t.x+cr(a,u),y:t.y},v={x:h.x,y:h.y+f}),{sideStart:h,sideEnd:v}}function zI(r,n){let t=n.side;return r==="left"||r==="top"?-t:t}function VI(r,n){let t=n.position;return ph.includes(t)?t:UI(r,n)}function UI(r,n){let{x:t,y:o,x2:a,y2:l,width:c,height:u,pointX:f,pointY:h,centerX:v,centerY:w,rotation:k}=r,P={x:v,y:w},M=n.start,V=cr(c,M),Q=cr(u,M),Z=[t,t+V,t+V,a],ee=[o+Q,l,o,l],de=[];for(let ue=0;ue<4;ue++){let ce=Pr({x:Z[ue],y:ee[ue]},P,pn(k));de.push({position:ph[ue],distance:ui(ce,{x:f,y:h})})}return de.sort((ue,ce)=>ue.distance-ce.distance)[0].position}function HI(r,n,t){let{pointX:o,pointY:a}=r,l=n.margin,c=o,u=a;return t==="left"?c+=l:t==="right"?c-=l:t==="top"?u+=l:t==="bottom"&&(u-=l),r.inRange(c,u)}var Pg={xScaleID:{min:"xMin",max:"xMax",start:"left",end:"right",startProp:"x",endProp:"x2"},yScaleID:{min:"yMin",max:"yMax",start:"bottom",end:"top",startProp:"y",endProp:"y2"}};function ho(r,n,t){return n=typeof n=="number"?n:r.parse(n),Oa(n)?r.getPixelForValue(n):t}function Dr(r,n,t){let o=n[t];if(o||t==="scaleID")return o;let a=t.charAt(0),l=Object.values(r).filter(c=>c.axis&&c.axis===a);return l.length?l[0].id:a}function fh(r,n){if(r){let t=r.options.reverse,o=ho(r,n.min,t?n.end:n.start),a=ho(r,n.max,t?n.start:n.end);return{start:o,end:a}}}function mh(r,n){let{chartArea:t,scales:o}=r,a=o[Dr(o,n,"xScaleID")],l=o[Dr(o,n,"yScaleID")],c=t.width/2,u=t.height/2;return a&&(c=ho(a,n.xValue,a.left+a.width/2)),l&&(u=ho(l,n.yValue,l.top+l.height/2)),{x:c,y:u}}function Vc(r,n){let t=r.scales,o=t[Dr(t,n,"xScaleID")],a=t[Dr(t,n,"yScaleID")];if(!o&&!a)return{};let{left:l,right:c}=o||r.chartArea,{top:u,bottom:f}=a||r.chartArea,h=Fg(o,{min:n.xMin,max:n.xMax,start:l,end:c});l=h.start,c=h.end;let v=Fg(a,{min:n.yMin,max:n.yMax,start:f,end:u});return u=v.start,f=v.end,{x:l,y:u,x2:c,y2:f,width:c-l,height:f-u,centerX:l+(c-l)/2,centerY:u+(f-u)/2}}function gh(r,n){if(!sh(n)){let t=Vc(r,n),o=n.radius;(!o||isNaN(o))&&(o=Math.min(t.width,t.height)/2,n.radius=o);let a=o*2,l=t.centerX+n.xAdjust,c=t.centerY+n.yAdjust;return{x:l-o,y:c-o,x2:l+o,y2:c+o,centerX:l,centerY:c,width:a,height:a,radius:o}}return $I(r,n)}function WI(r,n){let{scales:t,chartArea:o}=r,a=t[n.scaleID],l={x:o.left,y:o.top,x2:o.right,y2:o.bottom};return a?KI(a,l,n):jI(t,l,n),l}function hh(r,n){let t=Vc(r,n);return t.initProperties=yo(r,t,n),t.elements=[{type:"label",optionScope:"label",properties:qI(r,t,n),initProperties:t.initProperties}],t}function $I(r,n){let t=mh(r,n),o=n.radius*2;return{x:t.x-n.radius+n.xAdjust,y:t.y-n.radius+n.yAdjust,x2:t.x+n.radius+n.xAdjust,y2:t.y+n.radius+n.yAdjust,centerX:t.x+n.xAdjust,centerY:t.y+n.yAdjust,radius:n.radius,width:o,height:o}}function Fg(r,n){let t=fh(r,n)||n;return{start:Math.min(t.start,t.end),end:Math.max(t.start,t.end)}}function KI(r,n,t){let o=ho(r,t.value,NaN),a=ho(r,t.endValue,o);r.isHorizontal()?(n.x=o,n.x2=a):(n.y=o,n.y2=a)}function jI(r,n,t){for(let o of Object.keys(Pg)){let a=r[Dr(r,t,o)];if(a){let{min:l,max:c,start:u,end:f,startProp:h,endProp:v}=Pg[o],w=fh(a,{min:t[l],max:t[c],start:a[u],end:a[f]});n[h]=w.start,n[v]=w.end}}}function GI({properties:r,options:n},t,o,a){let{x:l,x2:c,width:u}=r;return bh({start:l,end:c,size:u,borderWidth:n.borderWidth},{position:o.x,padding:{start:a.left,end:a.right},adjust:n.label.xAdjust,size:t.width})}function YI({properties:r,options:n},t,o,a){let{y:l,y2:c,height:u}=r;return bh({start:l,end:c,size:u,borderWidth:n.borderWidth},{position:o.y,padding:{start:a.top,end:a.bottom},adjust:n.label.yAdjust,size:t.height})}function bh(r,n){let{start:t,end:o,borderWidth:a}=r,{position:l,padding:{start:c,end:u},adjust:f}=n,h=o-a-t-c-u-n.size;return t+a/2+f+Nc(h,l)}function qI(r,n,t){let o=t.label;o.backgroundColor="transparent",o.callout.display=!1;let a=zc(o.position),l=po(o.padding),c=cs(r.ctx,o),u=GI({properties:n,options:t},c,a,l),f=YI({properties:n,options:t},c,a,l),h=c.width+l.width,v=c.height+l.height;return{x:u,y:f,x2:u+h,y2:f+v,width:h,height:v,centerX:u+h/2,centerY:f+v/2,rotation:o.rotation}}var Mc=["enter","leave"],Uc=Mc.concat("click");function XI(r,n,t){n.listened=lh(t,Uc,n.listeners),n.moveListened=!1,Mc.forEach(o=>{ir(t[o])&&(n.moveListened=!0)}),(!n.listened||!n.moveListened)&&n.annotations.forEach(o=>{!n.listened&&ir(o.click)&&(n.listened=!0),n.moveListened||Mc.forEach(a=>{ir(o[a])&&(n.listened=!0,n.moveListened=!0)})})}function QI(r,n,t){if(r.listened)switch(n.type){case"mousemove":case"mouseout":return JI(r,n,t);case"click":return ZI(r,n,t)}}function JI(r,n,t){if(!r.moveListened)return;let o;n.type==="mousemove"?o=Oc(r.visibleElements,n,t.interaction):o=[];let a=r.hovered;r.hovered=o;let l={state:r,event:n},c=Lg(l,"leave",a,o);return Lg(l,"enter",o,a)||c}function Lg({state:r,event:n},t,o,a){let l;for(let c of o)a.indexOf(c)<0&&(l=_h(c.options[t]||r.listeners[t],c,n)||l);return l}function ZI(r,n,t){let o=r.listeners,a=Oc(r.visibleElements,n,t.interaction),l;for(let c of a)l=_h(c.options.click||o.click,c,n)||l;return l}function _h(r,n,t){return di(r,[n.$context,t])===!0}var is=["afterDraw","beforeDraw"];function e2(r,n,t){let o=n.visibleElements;n.hooked=lh(t,is,n.hooks),n.hooked||o.forEach(a=>{n.hooked||is.forEach(l=>{ir(a.options[l])&&(n.hooked=!0)})})}function Og(r,n,t){if(r.hooked){let o=n.options[t]||r.hooks[t];return di(o,[n.$context])}}function t2(r,n,t){let o=a2(r.scales,n,t),a=Ng(n,o,"min","suggestedMin");a=Ng(n,o,"max","suggestedMax")||a,a&&ir(n.handleTickRangeOptions)&&n.handleTickRangeOptions()}function n2(r,n){for(let t of r)o2(t,n)}function Ng(r,n,t,o){if(Oa(n[t])&&!r2(r.options,t,o)){let a=r[t]!==n[t];return r[t]=n[t],a}}function r2(r,n,t){return un(r[n])||un(r[t])}function o2(r,n){for(let t of["scaleID","xScaleID","yScaleID"]){let o=Dr(n,r,t);o&&!n[o]&&i2(r,t)&&console.warn(`No scale found with id '${o}' for annotation '${r.id}'`)}}function i2(r,n){if(n==="scaleID")return!0;let t=n.charAt(0);for(let o of["Min","Max","Value"])if(un(r[t+o]))return!0;return!1}function a2(r,n,t){let o=n.axis,a=n.id,l=o+"ScaleID",c={min:Vn(n.min,Number.NEGATIVE_INFINITY),max:Vn(n.max,Number.POSITIVE_INFINITY)};for(let u of t)u.scaleID===a?zg(u,n,["value","endValue"],c):Dr(r,u,l)===a&&zg(u,n,[o+"Min",o+"Max",o+"Value"],c);return c}function zg(r,n,t,o){for(let a of t){let l=r[a];if(un(l)){let c=n.parse(l);o.min=Math.min(o.min,c),o.max=Math.max(o.max,c)}}}var dr=class extends ar{inRange(n,t,o,a){let{x:l,y:c}=Pr({x:n,y:t},this.getCenterPoint(a),pn(-this.options.rotation));return Zg({x:l,y:c},this.getProps(["x","y","x2","y2"],a),o,this.options)}getCenterPoint(n){return Fr(this,n)}draw(n){n.save(),ls(n,this.getCenterPoint(),this.options.rotation),dh(n,this,this.options),n.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(n,t){return hh(n,t)}};dr.id="boxAnnotation";dr.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,hitTolerance:0,label:{backgroundColor:"transparent",borderWidth:0,callout:{display:!1},color:"black",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:"center",rotation:void 0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0};dr.defaultRoutes={borderColor:"color",backgroundColor:"color"};dr.descriptors={label:{_fallback:!0}};var bo=class extends ar{inRange(n,t,o,a){return eh({x:n,y:t},{rect:this.getProps(["x","y","x2","y2"],a),center:this.getCenterPoint(a)},o,{rotation:this.rotation,borderWidth:0,hitTolerance:this.options.hitTolerance})}getCenterPoint(n){return Fr(this,n)}draw(n){let t=this.options;!t.display||!t.content||(p2(n,this),n.save(),ls(n,this.getCenterPoint(),this.rotation),uh(n,this,t,this._fitRatio),n.restore())}resolveElementProperties(n,t){let o=s2(n,t);if(!o)return{};let{controllerMeta:a,point:l,radius:c}=c2(n,t,o),u=cs(n.ctx,t),f=d2(u,c);ih(t,f)&&(u={width:u.width*f,height:u.height*f});let{position:h,xAdjust:v,yAdjust:w}=t,k=oh(l,u,{borderWidth:0,position:h,xAdjust:v,yAdjust:w});return Pt(nt(nt({initProperties:yo(n,k,t)},k),a),{rotation:t.rotation,_fitRatio:f})}};bo.id="doughnutLabelAnnotation";bo.defaults={autoFit:!0,autoHide:!0,backgroundColor:"transparent",backgroundShadowColor:"transparent",borderColor:"transparent",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderShadowColor:"transparent",borderWidth:0,color:"black",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,spacing:1,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0};bo.defaultRoutes={};function s2(r,n){return r.getSortedVisibleDatasetMetas().reduce(function(t,o){let a=o.controller;return a instanceof J0&&l2(r,n,o.data)&&(!t||a.innerRadius=90?o:t},void 0)}function l2(r,n,t){if(!n.autoHide)return!0;for(let o=0;ow,Z=Q?a+M:c-M,ee=u2(Z,v,w,V);return{controllerMeta:nt({_centerX:v,_centerY:w,_radius:V,_counterclockwise:Q},ee),point:P,radius:Math.min(u,Math.min(k.right-k.left,k.bottom-k.top)/2)}}function d2({width:r,height:n},t){let o=Math.sqrt(Math.pow(r,2)+Math.pow(n,2));return t*2/o}function u2(r,n,t,o){let a=Math.pow(t-r,2),l=Math.pow(o,2),c=n*-2,u=Math.pow(n,2)+a-l,f=Math.pow(c,2)-4*u;if(f<=0)return{_startAngle:0,_endAngle:Na};let h=(-c-Math.sqrt(f))/2,v=(-c+Math.sqrt(f))/2;return{_startAngle:Ha({x:n,y:t},{x:h,y:r}).angle,_endAngle:Ha({x:n,y:t},{x:v,y:r}).angle}}function p2(r,n){let{_centerX:t,_centerY:o,_radius:a,_startAngle:l,_endAngle:c,_counterclockwise:u,options:f}=n;r.save();let h=Un(r,f);r.fillStyle=f.backgroundColor,r.beginPath(),r.arc(t,o,a,l,c,u),r.closePath(),r.fill(),h&&r.stroke(),r.restore()}var Br=class extends ar{inRange(n,t,o,a){return eh({x:n,y:t},{rect:this.getProps(["x","y","x2","y2"],a),center:this.getCenterPoint(a)},o,{rotation:this.rotation,borderWidth:this.options.borderWidth,hitTolerance:this.options.hitTolerance})}getCenterPoint(n){return Fr(this,n)}draw(n){let t=this.options,o=!un(this._visible)||this._visible;!t.display||!t.content||!o||(n.save(),ls(n,this.getCenterPoint(),this.rotation),FI(n,this),dh(n,this,t),uh(n,f2(this),t),n.restore())}resolveElementProperties(n,t){let o;if(sh(t))o=mh(n,t);else{let{centerX:u,centerY:f}=Vc(n,t);o={x:u,y:f}}let a=po(t.padding),l=cs(n.ctx,t),c=oh(o,l,t,a);return Pt(nt({initProperties:yo(n,c,t),pointX:o.x,pointY:o.y},c),{rotation:t.rotation})}};Br.id="labelAnnotation";Br.defaults={adjustScaleRange:!0,backgroundColor:"transparent",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:0,callout:{borderCapStyle:"butt",borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:1,display:!1,margin:5,position:"auto",side:5,start:"50%"},color:"black",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0};Br.defaultRoutes={borderColor:"color"};function f2({x:r,y:n,width:t,height:o,options:a}){let l=a.borderWidth/2,c=po(a.padding);return{x:r+c.left+l,y:n+c.top+l,width:t-c.left-c.right-a.borderWidth,height:o-c.top-c.bottom-a.borderWidth}}var Hc=(r,n,t)=>({x:r.x+t*(n.x-r.x),y:r.y+t*(n.y-r.y)}),Dc=(r,n,t)=>Hc(n,t,Math.abs((r-n.y)/(t.y-n.y))).x,Vg=(r,n,t)=>Hc(n,t,Math.abs((r-n.x)/(t.x-n.x))).y,hi=r=>r*r,m2=(r,n,{x:t,y:o,x2:a,y2:l},c)=>c==="y"?{start:Math.min(o,l),end:Math.max(o,l),value:n}:{start:Math.min(t,a),end:Math.max(t,a),value:r},Ug=(r,n,t,o)=>(1-o)*(1-o)*r+2*(1-o)*o*n+o*o*t,Bc=(r,n,t,o)=>({x:Ug(r.x,n.x,t.x,o),y:Ug(r.y,n.y,t.y,o)}),Hg=(r,n,t,o)=>2*(1-o)*(n-r)+2*o*(t-n),Wg=(r,n,t,o)=>-Math.atan2(Hg(r.x,n.x,t.x,o),Hg(r.y,n.y,t.y,o))+.5*Wt,ds=(()=>{class r extends ar{inRange(t,o,a,l){let c=(this.options.borderWidth+this.options.hitTolerance)/2;if(a!=="x"&&a!=="y"){let u={mouseX:t,mouseY:o},{path:f,ctx:h}=this;if(f){Un(h,this.options),h.lineWidth+=this.options.hitTolerance;let{chart:w}=this.$context,k=t*w.currentDevicePixelRatio,P=o*w.currentDevicePixelRatio,M=h.isPointInStroke(f,k,P)||Rc(this,u,l);return h.restore(),M}let v=hi(c);return _2(this,u,v,l)||Rc(this,u,l)}return g2(this,{mouseX:t,mouseY:o},a,{hitSize:c,useFinalPosition:l})}getCenterPoint(t){return Fr(this,t)}draw(t){let{x:o,y:a,x2:l,y2:c,cp:u,options:f}=this;if(t.save(),!Un(t,f))return t.restore();Co(t,f);let h=Math.sqrt(Math.pow(l-o,2)+Math.pow(c-a,2));if(f.curve&&u)return I2(t,this,u,h),t.restore();let{startOpts:v,endOpts:w,startAdjust:k,endAdjust:P}=vh(this),M=Math.atan2(c-a,l-o);t.translate(o,a),t.rotate(M),t.beginPath(),t.moveTo(0+k,0),t.lineTo(h-P,0),t.shadowColor=f.borderShadowColor,t.stroke(),Pc(t,0,k,v),Pc(t,h,-P,w),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,o){let a=WI(t,o),{x:l,y:c,x2:u,y2:f}=a,h=h2(a,t.chartArea),v=h?b2({x:l,y:c},{x:u,y:f},t.chartArea):{x:l,y:c,x2:u,y2:f,width:Math.abs(u-l),height:Math.abs(f-c)};if(v.centerX=(u+l)/2,v.centerY=(f+c)/2,v.initProperties=yo(t,v,o),o.curve){let k={x:v.x,y:v.y},P={x:v.x2,y:v.y2};v.cp=k2(v,o,ui(k,P))}let w=v2(t,v,o.label);return w._visible=h,v.elements=[{type:"label",optionScope:"label",properties:w,initProperties:v.initProperties}],v}}return r.id="lineAnnotation",r})(),$g={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};ds.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},$g),fill:!1,length:12,start:Object.assign({},$g),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:2,curve:!1,controlPoint:{y:"-50%"},display:!0,endValue:void 0,init:void 0,hitTolerance:0,label:{backgroundColor:"rgba(0,0,0,0.8)",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderColor:"black",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:6,borderShadowColor:"transparent",borderWidth:0,callout:Object.assign({},Br.defaults.callout),color:"#fff",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0};ds.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}};ds.defaultRoutes={borderColor:"color"};function g2(r,{mouseX:n,mouseY:t},o,{hitSize:a,useFinalPosition:l}){let c=m2(n,t,r.getProps(["x","y","x2","y2"],l),o);return Jg(c,a)||Rc(r,{mouseX:n,mouseY:t},l,o)}function h2({x:r,y:n,x2:t,y2:o},{top:a,right:l,bottom:c,left:u}){return!(rl&&t>l||nc&&o>c)}function Kg({x:r,y:n},t,{top:o,right:a,bottom:l,left:c}){return ra&&(n=Vg(a,{x:r,y:n},t),r=a),nl&&(r=Dc(l,{x:r,y:n},t),n=l),{x:r,y:n}}function b2(r,n,t){let{x:o,y:a}=Kg(r,n,t),{x:l,y:c}=Kg(n,r,t);return{x:o,y:a,x2:l,y2:c,width:Math.abs(l-o),height:Math.abs(c-a)}}function _2(r,{mouseX:n,mouseY:t},o=Mr,a){let{x:l,y:c,x2:u,y2:f}=r.getProps(["x","y","x2","y2"],a),h=u-l,v=f-c,w=hi(h)+hi(v),k=w===0?-1:((n-l)*h+(t-c)*v)/w,P,M;return k<0?(P=l,M=c):k>1?(P=u,M=f):(P=l+k*h,M=c+k*v),hi(n-P)+hi(t-M)<=o}function Rc(r,{mouseX:n,mouseY:t},o,a){let l=r.label;return l.options.display&&l.inRange(n,t,a,o)}function v2(r,n,t){let o=t.borderWidth,a=po(t.padding),l=cs(r.ctx,t),c=l.width+a.width+o,u=l.height+a.height+o;return C2(n,t,{width:c,height:u,padding:a},r.chartArea)}function y2(r){let{x:n,y:t,x2:o,y2:a}=r,l=Math.atan2(a-t,o-n);return l>Wt/2?l-Wt:l0&&(a.w/2+l.left-o.x)/c,h=u>0&&(a.h/2+l.top-o.y)/u;return as(Math.max(f,h),0,.25)}function w2(r,n){let{x:t,x2:o,y:a,y2:l}=r,c=Math.min(a,l)-n.top,u=Math.min(t,o)-n.left,f=n.bottom-Math.max(a,l),h=n.right-Math.max(t,o);return{x:Math.min(u,h),y:Math.min(c,f),dx:u<=h?1:-1,dy:c<=f?1:-1}}function Gg(r,n){let{size:t,min:o,max:a,padding:l}=n,c=t/2;return t>a-o?(a+o)/2:(o>=r-l-c&&(r=o+l+c),a<=r+l+c&&(r=a-l-c),r)}function vh(r){let n=r.options,t=n.arrowHeads&&n.arrowHeads.start,o=n.arrowHeads&&n.arrowHeads.end;return{startOpts:t,endOpts:o,startAdjust:Yg(r,t),endAdjust:Yg(r,o)}}function Yg(r,n){if(!n||!n.display)return 0;let{length:t,width:o}=n,a=r.options.borderWidth/2,l={x:t,y:o+a};return Math.abs(Dc(0,l,{x:0,y:a}))}function Pc(r,n,t,o){if(!o||!o.display)return;let{length:a,width:l,fill:c,backgroundColor:u,borderColor:f}=o,h=Math.abs(n-a)+t;r.beginPath(),Co(r,o),Un(r,o),r.moveTo(h,-l),r.lineTo(n+t,0),r.lineTo(h,l),c===!0?(r.fillStyle=u||f,r.closePath(),r.fill(),r.shadowColor="transparent"):r.shadowColor=o.borderShadowColor,r.stroke()}function k2(r,n,t){let{x:o,y:a,x2:l,y2:c,centerX:u,centerY:f}=r,h=Math.atan2(c-a,l-o),v=zc(n.controlPoint,0),w={x:u+cr(t,v.x,!1),y:f+cr(t,v.y,!1)};return Pr(w,{x:u,y:f},h)}function qg(r,{x:n,y:t},{angle:o,adjust:a},l){!l||!l.display||(r.save(),r.translate(n,t),r.rotate(o),Pc(r,0,-a,l),r.restore())}function I2(r,n,t,o){let{x:a,y:l,x2:c,y2:u,options:f}=n,{startOpts:h,endOpts:v,startAdjust:w,endAdjust:k}=vh(n),P={x:a,y:l},M={x:c,y:u},V=Wg(P,t,M,0),Q=Wg(P,t,M,1)-Wt,Z=Bc(P,t,M,w/o),ee=Bc(P,t,M,1-k/o),de=new Path2D;r.beginPath(),de.moveTo(Z.x,Z.y),de.quadraticCurveTo(t.x,t.y,ee.x,ee.y),r.shadowColor=f.borderShadowColor,r.stroke(de),n.path=de,n.ctx=r,qg(r,Z,{angle:V,adjust:w},h),qg(r,ee,{angle:Q,adjust:k},v)}var Rr=class extends ar{inRange(n,t,o,a){let l=this.options.rotation,c=(this.options.borderWidth+this.options.hitTolerance)/2;if(o!=="x"&&o!=="y")return T2({x:n,y:t},this.getProps(["width","height","centerX","centerY"],a),l,c);let{x:u,y:f,x2:h,y2:v}=this.getProps(["x","y","x2","y2"],a),w=o==="y"?{start:f,end:v}:{start:u,end:h},k=Pr({x:n,y:t},this.getCenterPoint(a),pn(-l));return k[o]>=w.start-c-Mr&&k[o]<=w.end+c+Mr}getCenterPoint(n){return Fr(this,n)}draw(n){let{width:t,height:o,centerX:a,centerY:l,options:c}=this;n.save(),ls(n,this.getCenterPoint(),c.rotation),Co(n,this.options),n.beginPath(),n.fillStyle=c.backgroundColor;let u=Un(n,c);n.ellipse(a,l,o/2,t/2,Wt/2,0,2*Wt),n.fill(),u&&(n.shadowColor=c.borderShadowColor,n.stroke()),n.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(n,t){return hh(n,t)}};Rr.id="ellipseAnnotation";Rr.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,hitTolerance:0,init:void 0,label:Object.assign({},dr.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0};Rr.defaultRoutes={borderColor:"color",backgroundColor:"color"};Rr.descriptors={label:{_fallback:!0}};function T2(r,n,t,o){let{width:a,height:l,centerX:c,centerY:u}=n,f=a/2,h=l/2;if(f<=0||h<=0)return!1;let v=pn(t||0),w=Math.cos(v),k=Math.sin(v),P=Math.pow(w*(r.x-c)+k*(r.y-u),2),M=Math.pow(k*(r.x-c)-w*(r.y-u),2);return P/Math.pow(f+o,2)+M/Math.pow(h+o,2)<=1.0001}var _o=class extends ar{inRange(n,t,o,a){let{x:l,y:c,x2:u,y2:f,width:h}=this.getProps(["x","y","x2","y2","width"],a),v=(this.options.borderWidth+this.options.hitTolerance)/2;return o!=="x"&&o!=="y"?CI({x:n,y:t},this.getCenterPoint(a),h/2,v):Jg(o==="y"?{start:c,end:f,value:t}:{start:l,end:u,value:n},v)}getCenterPoint(n){return Fr(this,n)}draw(n){let t=this.options,o=t.borderWidth;if(t.radius<.1)return;n.save(),n.fillStyle=t.backgroundColor,Co(n,t);let a=Un(n,t);AI(n,this,this.centerX,this.centerY),a&&!ss(t.pointStyle)&&(n.shadowColor=t.borderShadowColor,n.stroke()),n.restore(),t.borderWidth=o}resolveElementProperties(n,t){let o=gh(n,t);return o.initProperties=yo(n,o,t),o}};_o.id="pointAnnotation";_o.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,hitTolerance:0,init:void 0,pointStyle:"circle",radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0};_o.defaultRoutes={borderColor:"color",backgroundColor:"color"};var vo=class extends ar{inRange(n,t,o,a){if(o!=="x"&&o!=="y")return this.options.radius>=.1&&this.elements.length>1&&A2(this.elements,n,t,a);let l=Pr({x:n,y:t},this.getCenterPoint(a),pn(-this.options.rotation)),c=this.elements.map(h=>o==="y"?h.bY:h.bX),u=Math.min(...c),f=Math.max(...c);return l[o]>=u&&l[o]<=f}getCenterPoint(n){return Fr(this,n)}draw(n){let{elements:t,options:o}=this;n.save(),n.beginPath(),n.fillStyle=o.backgroundColor,Co(n,o);let a=Un(n,o),l=!0;for(let c of t)l?(n.moveTo(c.x,c.y),l=!1):n.lineTo(c.x,c.y);n.closePath(),n.fill(),a&&(n.shadowColor=o.borderShadowColor,n.stroke()),n.restore()}resolveElementProperties(n,t){let o=gh(n,t),{sides:a,rotation:l}=t,c=[],u=2*Wt/a,f=l*za;for(let h=0;ht!=l.bY>t&&n<(l.bX-u.bX)*(t-u.bY)/(l.bY-u.bY)+u.bX&&(a=!a),l=u}return a}var lr={box:dr,doughnutLabel:bo,ellipse:Rr,label:Br,line:ds,point:_o,polygon:vo};Object.keys(lr).forEach(r=>{Wa.describe(`elements.${lr[r].id}`,{_fallback:"plugins.annotation.common"})});var M2={update:Object.assign},D2=Uc.concat(is),Xg=(r,n)=>or(n)?Lc(r,n):r,Fc=r=>r==="color"||r==="font";function Wc(r="line"){return lr[r]?r:(console.warn(`Unknown annotation type: '${r}', defaulting to 'line'`),"line")}function B2(r,n,t,o){let a=P2(r,t.animations,o),l=n.annotations,c=O2(n.elements,l);for(let u=0;uXg(c,a)):t[o]=Xg(l,a)}return t}function L2(r,n,t,o){return n.$context||(n.$context=Object.assign(Object.create(r.getContext()),{element:n,get elements(){return t.filter(a=>a&&a.options)},id:o.id,type:"annotation"}))}function O2(r,n){let t=n.length,o=r.length;if(ot&&r.splice(t,o-t);return r}var N2="3.1.0",sr=new Map,Qg=r=>r.type!=="doughnutLabel",z2=Uc.concat(is),xh={id:"annotation",version:N2,beforeRegister(){xI("chart.js","4.0",fo.version)},afterRegister(){fo.register(lr)},afterUnregister(){fo.unregister(lr)},beforeInit(r){sr.set(r,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(r,n,t){let o=sr.get(r),a=o.annotations=[],l=t.annotations;or(l)?Object.keys(l).forEach(c=>{let u=l[c];or(u)&&(u.id=c,a.push(u))}):rr(l)&&a.push(...l),n2(a.filter(Qg),r.scales)},afterDataLimits(r,n){let t=sr.get(r);t2(r,n.scale,t.annotations.filter(Qg).filter(o=>o.display&&o.adjustScaleRange))},afterUpdate(r,n,t){let o=sr.get(r);XI(r,o,t),B2(r,o,t,n.mode),o.visibleElements=o.elements.filter(a=>!a.skip&&a.options.display),e2(r,o,t)},beforeDatasetsDraw(r,n,t){gi(r,"beforeDatasetsDraw",t.clip)},afterDatasetsDraw(r,n,t){gi(r,"afterDatasetsDraw",t.clip)},beforeDatasetDraw(r,n,t){gi(r,n.index,t.clip)},beforeDraw(r,n,t){gi(r,"beforeDraw",t.clip)},afterDraw(r,n,t){gi(r,"afterDraw",t.clip)},beforeEvent(r,n,t){let o=sr.get(r);QI(o,n.event,t)&&(n.changed=!0)},afterDestroy(r){sr.delete(r)},getAnnotations(r){let n=sr.get(r);return n?n.elements:[]},_getAnnotationElementsAtEventForMode(r,n,t){return Oc(r,n,t)},defaults:{animations:{numbers:{properties:["x","y","x2","y2","width","height","centerX","centerY","pointX","pointY","radius"],type:"number"},colors:{properties:["backgroundColor","borderColor"],type:"color"}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:"afterDatasetsDraw",init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:r=>!z2.includes(r)&&r!=="init",annotations:{_allKeys:!1,_fallback:(r,n)=>`elements.${lr[Wc(n.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:Fc,_fallback:!0},_indexable:Fc}},additionalOptionScopes:[""]};function gi(r,n,t){let{ctx:o,chartArea:a}=r,l=sr.get(r);t&&vc(o,a);let c=V2(l.visibleElements,n).sort((u,f)=>u.element.options.z-f.element.options.z);for(let u of c)U2(o,a,l,u);t&&yc(o)}function V2(r,n){let t=[];for(let o of r)if(o.options.drawTime===n&&t.push({element:o,main:!0}),o.elements&&o.elements.length)for(let a of o.elements)a.options.display&&a.options.drawTime===n&&t.push({element:a});return t}function U2(r,n,t,o){let a=o.element;o.main?(Og(t,a,"beforeDraw"),a.draw(r,n),Og(t,a,"afterDraw")):a.draw(r,n)}var Ih=Xl(kh());var X2=Xl(Sw());var Th={type:"clinicIds",category:"clinic",displayName:{de:"Kliniken"},sortingIndex:8,occurrence:"single",fromObject(r){let n=null,t=null;return r.includes&&(n=r.includes.map(o=>In.fromString(o))),r.excludes&&(t=r.excludes.map(o=>In.fromString(o))),Promise.resolve(new _i(n,t))},fromCondition(r){let n=null,t=null;return r.includes&&(n=r.includes.map(o=>In.fromObj(o))),r.excludes&&(t=r.excludes.map(o=>In.fromObj(o))),Promise.resolve(new _i(n,t))},newInstance(){return Promise.resolve(new _i([]))}},_i=(()=>{class r extends W0{static{this.Specification=Th}constructor(t,o=null){super(Th.type),this.includes=t,this.excludes=o}clone(){return new r(this.includes?[...this.includes.map(t=>t.clone())]:null,this.excludes?[...this.excludes.map(t=>t.clone())]:null)}equals(t){return super.equals(t)&&ci.equals(this.includes,t.includes,(o,a)=>o.equals(a))&&ci.equals(this.excludes,t.excludes,(o,a)=>o.equals(a))}valid(){return!0}validationToText(){return this.valid()?"":"Mindestens eine Klinik als Basismenge oder Ausschluss ausw\xE4hlen"}toCondition(t){if(t&&t.clinicIds){let o=this.includes?this.includes.map(l=>t.clinicIds.resolve(l)):[],a=this.excludes?this.excludes.map(l=>t.clinicIds.resolve(l)):[];return Promise.all(o).then(l=>Promise.all(a).then(c=>({includes:l,excludes:c}))).then(l=>new La(l.includes,l.excludes))}else return Promise.resolve(new La(this.includes,this.excludes))}toJSON(){return{type:this.type,includes:this.includes?this.includes.map(t=>t.toString()):null,excludes:this.excludes?this.excludes.map(t=>t.toString()):null}}toText(){let t="alle Kliniken werden als Basismenge genutzt";if(this.includes&&this.includes.length>0)switch(this.includes.length){case 0:t="alle Kliniken werden als Basismenge genutzt";break;case 1:t="1 Klinik wird als Basismenge genutzt";break;default:t=`eine von ${this.includes.length} Kliniken`;break}if(this.excludes&&this.excludes.length>0)switch(this.includes.length>0&&(t=t+", aber"),this.excludes.length){case 0:break;case 1:t=t+" 1 Klinik ausgeschlossen";break;default:t=t+` ${this.excludes.length} Kliniken ausgeschlossen`;break}return t}toValue(){return{includes:this.includes,excludes:this.excludes}}}return r})();var Gc=class r extends sg{static fromObj(n,t){let o=null,a=null;n.createdDate&&(o=new Date(n.createdDate)),n.modifiedDate&&(a=new Date(n.modifiedDate));let l=Promise.resolve($a.EMPTY());return n.condition&&(l=$a.fromConditionJson(n.condition,t)),l.then(c=>new r(n.id,n.name,o,a,n.highestPermission,c))}static{this.SPECIFICATION=[{specification:ig.Specification,needsAuthentication:!1},{specification:hc.Specification,needsAuthentication:!1},{specification:$0.Specification,needsAuthentication:!1},{specification:K0.Specification,needsAuthentication:!1},{specification:wc.Specification,needsAuthentication:!1},{specification:_i.Specification,needsAuthentication:!0},{specification:ng.Specification,needsAuthentication:!1},{specification:Y0.Specification,needsAuthentication:!1},{specification:X0.Specification,needsAuthentication:!1},{specification:og.Specification,needsAuthentication:!1},{specification:rg.Specification,needsAuthentication:!1},{specification:j0.Specification,needsAuthentication:!1},{specification:q0.Specification,needsAuthentication:!1},{specification:G0.Specification,needsAuthentication:!1},{specification:tg.Specification,needsAuthentication:!0},{specification:ag.Specification,needsAuthentication:!1}]}constructor(n,t,o,a,l,c=$a.EMPTY()){super("clinics-filter",c),this.id=n,this.name=t,this.createdDate=o,this.modifiedDate=a,this.highestPermission=l,this.resourceName=co.CLINICS_FILTER}toJSON(){return Pt(nt({},super.toJSON()),{id:this.id,name:this.name,createdDate:this.createdDate,modifiedDate:this.modifiedDate,highestPermission:this.highestPermission})}clone(){return new r(this.id,this.name,this.createdDate,this.modifiedDate,this.highestPermission,this.expression.clone())}overrideClone(n){return new r(this.id,this.name,this.createdDate,this.modifiedDate,this.highestPermission,this.expression.overrideClone(n))}equals(n){return super.equals(n)&&gc.equals(this.id,n.id)&&gc.equals(this.name,n.name)}toRequestFormat(n){return this.toRequestBody(n).then(t=>({id:this.id,name:this.name,createdDate:this.createdDate,modifiedDate:this.modifiedDate,highestPermission:this.highestPermission,condition:t}))}};var us=class{constructor(n){this._environmentService=n}indexResource(){return`${this._environmentService.load("AYS_FAB_RESOURCE_URL")}/`}byFabKeyResource(n){return`${this.indexResource()}${n}`}};var xo=(()=>{class r{constructor(t,o){this._http=t,this._environmentService=o,this._store=new us(this._environmentService)}index(){let t=this._store.indexResource();return this._http.get(t).pipe(ha(o=>o.map(a=>new fc(a.fabKey,a.name))))}get(t){let o=this._store.byFabKeyResource(t);return this._http.get(o).pipe(Gm(1),ha(a=>new fc(a.fabKey,a.name)))}getAll(t){let o=t.map(a=>Hm(this.get(a)).pipe(jm(()=>ga(null))));return $m(o).pipe(ha(a=>a.filter(l=>!!l).reduce((l,c)=>(l[c.fabKey]=c,l),{})))}static{this.\u0275fac=function(o){return new(o||r)(an(io),an(ln))}}static{this.\u0275prov=yn({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var le=class{constructor(n,t){this.specialityName=n,this.specialityId=t}parent(){let n=this.specialityId.slice(0,3).concat("0");return sT.find(t=>t.specialityId===n)}},sT=[new le("Allgemeinchirurgie","1000"),new le("Allgemeinmedizin","1100"),new le("An\xE4sthesiologie","1200"),new le("Arbeitsmedizin","1300"),new le("Augenheilkunde","1400"),new le("Biochemie","1500"),new le("Diagnostische Radiologie","1600"),new le("Frauenheilkunde und Geburtshilfe","1700"),new le("Gef\xE4\xDFchirurgie","1800"),new le("Hals-Nasen-Ohrenheilkunde","1900"),new le("Haut- und Geschlechtskrankheiten","2000"),new le("Herzchirurgie","2100"),new le("Humangenetik","2200"),new le("Hygiene und Umweltmedizin","2300"),new le("Innere Medizin","2400"),new le("Angiologie","2401"),new le("Endokrinologie und Diabetologie","2402"),new le("Gastroenterologie","2403"),new le("Geriatrie","2404"),new le("H\xE4matologie und Onkologie","2405"),new le("Kardiologie","2406"),new le("Nephrologie","2407"),new le("Pneumologie","2408"),new le("Rheumatologie","2409"),new le("Mund-Kiefer-Gesichtschirurgie","2500"),new le("Kinderheilkunde / Kinder- und Jugendmedizin","2600"),new le("Kinderchirurgie","2700"),new le("Pharmakologie und Toxikologie","2800"),new le("Laboratoriumsmedizin","2900"),new le("Mikrobiologie","3000"),new le("Neurochirurgie","3100"),new le("Neurologie","3200"),new le("Neurologie und Psychiatrie","3300"),new le("Neuropathologie","3400"),new le("Nuklearmedizin","3500"),new le("Orthop\xE4die und Unfallchirurgie","3600"),new le("Pathologie","3700"),new le("Phoniatrie und P\xE4daudiologie","3800"),new le("Physikalische und Rehabilitative Medizin","3900"),new le("Plastische Chirurgie","4000"),new le("Psychiatrie und Psychotherapie","4100"),new le("Rechtsmedizin","4200"),new le("Strahlentherapie","4300"),new le("Thoraxchirurgie","4400"),new le("Transfusionsmedizin","4500"),new le("Urologie","4600"),new le("Virologie","4700"),new le("Viszeralchirurgie","4800")];var ie=class{constructor(n,t,o,a,l){this.specialityName=n,this.children=t,this.level=o,this.expandable=a,this.specialityId=l}},lT=[new ie("Allgemeinchirurgie",[],0,!1,"1000"),new ie("Allgemeinmedizin",[],0,!1,"1100"),new ie("An\xE4sthesiologie",[],0,!1,"1200"),new ie("Arbeitsmedizin",[],0,!1,"1300"),new ie("Augenheilkunde",[],0,!1,"1400"),new ie("Biochemie",[],0,!1,"1500"),new ie("Diagnostische Radiologie",[],0,!1,"1600"),new ie("Frauenheilkunde und Geburtshilfe",[],0,!1,"1700"),new ie("Gef\xE4\xDFchirurgie",[],0,!1,"1800"),new ie("Hals-Nasen-Ohrenheilkunde",[],0,!1,"1900"),new ie("Haut- und Geschlechtskrankheiten",[],0,!1,"2000"),new ie("Herzchirurgie",[],0,!1,"2100"),new ie("Humangenetik",[],0,!1,"2200"),new ie("Hygiene und Umweltmedizin",[],0,!1,"2300"),new ie("Innere Medizin",[new ie("Angiologie",[],1,!1,"2401"),new ie("Endokrinologie und Diabetologie",[],1,!1,"2402"),new ie("Gastroenterologie",[],1,!1,"2403"),new ie("Geriatrie",[],1,!1,"2404"),new ie("H\xE4matologie und Onkologie",[],1,!1,"2405"),new ie("Kardiologie",[],1,!1,"2406"),new ie("Nephrologie",[],1,!1,"2407"),new ie("Pneumologie",[],1,!1,"2408"),new ie("Rheumatologie",[],1,!1,"2409")],0,!0,"2400"),new ie("Mund-Kiefer-Gesichtschirurgie",[],0,!1,"2500"),new ie("Kinderheilkunde / Kinder- und Jugendmedizin",[],0,!1,"2600"),new ie("Kinderchirurgie",[],0,!1,"2700"),new ie("Pharmakologie und Toxikologie",[],0,!1,"2800"),new ie("Laboratoriumsmedizin",[],0,!1,"2900"),new ie("Mikrobiologie",[],0,!1,"3000"),new ie("Neurochirurgie",[],0,!1,"3100"),new ie("Neurologie",[],0,!1,"3200"),new ie("Neurologie und Psychiatrie",[],0,!1,"3300"),new ie("Neuropathologie",[],0,!1,"3400"),new ie("Nuklearmedizin",[],0,!1,"3500"),new ie("Orthop\xE4die und Unfallchirurgie",[],0,!1,"3600"),new ie("Pathologie",[],0,!1,"3700"),new ie("Phoniatrie und P\xE4daudiologie",[],0,!1,"3800"),new ie("Physikalische und Rehabilitative Medizin",[],0,!1,"3900"),new ie("Plastische Chirurgie",[],0,!1,"4000"),new ie("Psychiatrie und Psychotherapie",[],0,!1,"4100"),new ie("Rechtsmedizin",[],0,!1,"4200"),new ie("Strahlentherapie",[],0,!1,"4300"),new ie("Thoraxchirurgie",[],0,!1,"4400"),new ie("Transfusionsmedizin",[],0,!1,"4500"),new ie("Urologie",[],0,!1,"4600"),new ie("Virologie",[],0,!1,"4700"),new ie("Viszeralchirurgie",[],0,!1,"4800")];var U7=new Xm("FILTER_REGISTRATION");var ps=(()=>{class r{constructor(t,o,a){o.init(),a.init(),t.init()}static{this.\u0275fac=function(o){return new(o||r)(an(gg),an(nr),an(mo))}}static{this.\u0275mod=Sn({type:r})}static{this.\u0275inj=Cn({providers:[p0,xo,nr,mo,{provide:ja,useClass:Ic,multi:!0},{provide:ja,useClass:Tc,multi:!0},{provide:Zm,useClass:kc}],imports:[Ra,Sa,Aa,fg,wr,x0,S0,w0,wr]})}}return r})();function Dh(r){return new Re(3e3,!1)}function hT(){return new Re(3100,!1)}function bT(){return new Re(3101,!1)}function _T(r){return new Re(3001,!1)}function vT(r){return new Re(3003,!1)}function yT(r){return new Re(3004,!1)}function Rh(r,n){return new Re(3005,!1)}function Ph(){return new Re(3006,!1)}function Fh(){return new Re(3007,!1)}function Lh(r,n){return new Re(3008,!1)}function Oh(r){return new Re(3002,!1)}function Nh(r,n,t,o,a){return new Re(3010,!1)}function zh(){return new Re(3011,!1)}function Vh(){return new Re(3012,!1)}function Uh(){return new Re(3200,!1)}function Hh(){return new Re(3202,!1)}function Wh(){return new Re(3013,!1)}function $h(r){return new Re(3014,!1)}function Kh(r){return new Re(3015,!1)}function jh(r){return new Re(3016,!1)}function Gh(r,n){return new Re(3404,!1)}function CT(r){return new Re(3502,!1)}function Yh(r){return new Re(3503,!1)}function qh(){return new Re(3300,!1)}function Xh(r){return new Re(3504,!1)}function Qh(r){return new Re(3301,!1)}function Jh(r,n){return new Re(3302,!1)}function Zh(r){return new Re(3303,!1)}function eb(r,n){return new Re(3400,!1)}function tb(r){return new Re(3401,!1)}function nb(r){return new Re(3402,!1)}function rb(r,n){return new Re(3505,!1)}function Hn(r){switch(r.length){case 0:return new Tr;case 1:return r[0];default:return new wa(r)}}function Qc(r,n,t=new Map,o=new Map){let a=[],l=[],c=-1,u=null;if(n.forEach(f=>{let h=f.get("offset"),v=h==c,w=v&&u||new Map;f.forEach((k,P)=>{let M=P,V=k;if(P!=="offset")switch(M=r.normalizePropertyName(M,a),V){case ai:V=t.get(P);break;case cn:V=o.get(P);break;default:V=r.normalizeStyleValue(P,M,V,a);break}w.set(M,V)}),v||l.push(w),u=w,c=h}),a.length)throw CT(a);return l}function fs(r,n,t,o){switch(n){case"start":r.onStart(()=>o(t&&Yc(t,"start",r)));break;case"done":r.onDone(()=>o(t&&Yc(t,"done",r)));break;case"destroy":r.onDestroy(()=>o(t&&Yc(t,"destroy",r)));break}}function Yc(r,n,t){let o=t.totalTime,a=!!t.disabled,l=ms(r.element,r.triggerName,r.fromState,r.toState,n||r.phaseName,o??r.totalTime,a),c=r._data;return c!=null&&(l._data=c),l}function ms(r,n,t,o,a="",l=0,c){return{element:r,triggerName:n,fromState:t,toState:o,phaseName:a,totalTime:l,disabled:!!c}}function Ft(r,n,t){let o=r.get(n);return o||r.set(n,o=t),o}function Jc(r){let n=r.indexOf(":"),t=r.substring(1,n),o=r.slice(n+1);return[t,o]}var xT=typeof document>"u"?null:document.documentElement;function gs(r){let n=r.parentNode||r.host||null;return n===xT?null:n}function ST(r){return r.substring(1,6)=="ebkit"}var Nr=null,Bh=!1;function ob(r){Nr||(Nr=wT()||{},Bh=Nr.style?"WebkitAppearance"in Nr.style:!1);let n=!0;return Nr.style&&!ST(r)&&(n=r in Nr.style,!n&&Bh&&(n="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Nr.style)),n}function wT(){return typeof document<"u"?document.body:null}function Zc(r,n){for(;n;){if(n===r)return!0;n=gs(n)}return!1}function ed(r,n,t){if(t)return Array.from(r.querySelectorAll(n));let o=r.querySelector(n);return o?[o]:[]}var kT=1e3,td="{{",IT="}}",nd="ng-enter",hs="ng-leave",vi="ng-trigger",yi=".ng-trigger",rd="ng-animating",bs=".ng-animating";function Tn(r){if(typeof r=="number")return r;let n=r.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:qc(parseFloat(n[1]),n[2])}function qc(r,n){switch(n){case"s":return r*kT;default:return r}}function Ci(r,n,t){return r.hasOwnProperty("duration")?r:ET(r,n,t)}var TT=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function ET(r,n,t){let o,a=0,l="";if(typeof r=="string"){let c=r.match(TT);if(c===null)return n.push(Dh(r)),{duration:0,delay:0,easing:""};o=qc(parseFloat(c[1]),c[2]);let u=c[3];u!=null&&(a=qc(parseFloat(u),c[4]));let f=c[5];f&&(l=f)}else o=r;if(!t){let c=!1,u=n.length;o<0&&(n.push(hT()),c=!0),a<0&&(n.push(bT()),c=!0),c&&n.splice(u,0,Dh(r))}return{duration:o,delay:a,easing:l}}function ib(r){return r.length?r[0]instanceof Map?r:r.map(n=>new Map(Object.entries(n))):[]}function fn(r,n,t){n.forEach((o,a)=>{let l=_s(a);t&&!t.has(a)&&t.set(a,r.style[l]),r.style[l]=o})}function ur(r,n){n.forEach((t,o)=>{let a=_s(o);r.style[a]=""})}function So(r){return Array.isArray(r)?r.length==1?r[0]:T0(r):r}function ab(r,n,t){let o=n.params||{},a=od(r);a.length&&a.forEach(l=>{o.hasOwnProperty(l)||t.push(_T(l))})}var Xc=new RegExp(`${td}\\s*(.+?)\\s*${IT}`,"g");function od(r){let n=[];if(typeof r=="string"){let t;for(;t=Xc.exec(r);)n.push(t[1]);Xc.lastIndex=0}return n}function wo(r,n,t){let o=`${r}`,a=o.replace(Xc,(l,c)=>{let u=n[c];return u==null&&(t.push(vT(c)),u=""),u.toString()});return a==o?r:a}var AT=/-+([a-z0-9])/g;function _s(r){return r.replace(AT,(...n)=>n[1].toUpperCase())}function sb(r,n){return r===0||n===0}function lb(r,n,t){if(t.size&&n.length){let o=n[0],a=[];if(t.forEach((l,c)=>{o.has(c)||a.push(c),o.set(c,l)}),a.length)for(let l=1;lc.set(u,vs(r,u)))}}return n}function Lt(r,n,t){switch(n.type){case Ee.Trigger:return r.visitTrigger(n,t);case Ee.State:return r.visitState(n,t);case Ee.Transition:return r.visitTransition(n,t);case Ee.Sequence:return r.visitSequence(n,t);case Ee.Group:return r.visitGroup(n,t);case Ee.Animate:return r.visitAnimate(n,t);case Ee.Keyframes:return r.visitKeyframes(n,t);case Ee.Style:return r.visitStyle(n,t);case Ee.Reference:return r.visitReference(n,t);case Ee.AnimateChild:return r.visitAnimateChild(n,t);case Ee.AnimateRef:return r.visitAnimateRef(n,t);case Ee.Query:return r.visitQuery(n,t);case Ee.Stagger:return r.visitStagger(n,t);default:throw yT(n.type)}}function vs(r,n){return window.getComputedStyle(r)[n]}var Cd=(()=>{class r{validateStyleProperty(t){return ob(t)}containsElement(t,o){return Zc(t,o)}getParentElement(t){return gs(t)}query(t,o,a){return ed(t,o,a)}computeStyle(t,o,a){return a||""}animate(t,o,a,l,c,u=[],f){return new Tr(a,l)}static \u0275fac=function(o){return new(o||r)};static \u0275prov=yn({token:r,factory:r.\u0275fac})}return r})(),Vr=class{static NOOP=new Cd},Ur=class{};var MT=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),ws=class extends Ur{normalizePropertyName(n,t){return _s(n)}normalizeStyleValue(n,t,o,a){let l="",c=o.toString().trim();if(MT.has(t)&&o!==0&&o!=="0")if(typeof o=="number")l="px";else{let u=o.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&u[1].length==0&&a.push(Rh(n,o))}return c+l}};var ks="*";function DT(r,n){let t=[];return typeof r=="string"?r.split(/\s*,\s*/).forEach(o=>BT(o,t,n)):t.push(r),t}function BT(r,n,t){if(r[0]==":"){let f=RT(r,t);if(typeof f=="function"){n.push(f);return}r=f}let o=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(o==null||o.length<4)return t.push(Kh(r)),n;let a=o[1],l=o[2],c=o[3];n.push(cb(a,c));let u=a==ks&&c==ks;l[0]=="<"&&!u&&n.push(cb(c,a))}function RT(r,n){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,o)=>parseFloat(o)>parseFloat(t);case":decrement":return(t,o)=>parseFloat(o) *"}}var ys=new Set(["true","1"]),Cs=new Set(["false","0"]);function cb(r,n){let t=ys.has(r)||Cs.has(r),o=ys.has(n)||Cs.has(n);return(a,l)=>{let c=r==ks||r==a,u=n==ks||n==l;return!c&&t&&typeof a=="boolean"&&(c=a?ys.has(r):Cs.has(r)),!u&&o&&typeof l=="boolean"&&(u=l?ys.has(n):Cs.has(n)),c&&u}}var vb=":self",PT=new RegExp(`s*${vb}s*,?`,"g");function yb(r,n,t,o){return new dd(r).build(n,t,o)}var db="",dd=class{_driver;constructor(n){this._driver=n}build(n,t,o){let a=new ud(t);return this._resetContextStyleTimingState(a),Lt(this,So(n),a)}_resetContextStyleTimingState(n){n.currentQuerySelector=db,n.collectedStyles=new Map,n.collectedStyles.set(db,new Map),n.currentTime=0}visitTrigger(n,t){let o=t.queryCount=0,a=t.depCount=0,l=[],c=[];return n.name.charAt(0)=="@"&&t.errors.push(Ph()),n.definitions.forEach(u=>{if(this._resetContextStyleTimingState(t),u.type==Ee.State){let f=u,h=f.name;h.toString().split(/\s*,\s*/).forEach(v=>{f.name=v,l.push(this.visitState(f,t))}),f.name=h}else if(u.type==Ee.Transition){let f=this.visitTransition(u,t);o+=f.queryCount,a+=f.depCount,c.push(f)}else t.errors.push(Fh())}),{type:Ee.Trigger,name:n.name,states:l,transitions:c,queryCount:o,depCount:a,options:null}}visitState(n,t){let o=this.visitStyle(n.styles,t),a=n.options&&n.options.params||null;if(o.containsDynamicStyles){let l=new Set,c=a||{};o.styles.forEach(u=>{u instanceof Map&&u.forEach(f=>{od(f).forEach(h=>{c.hasOwnProperty(h)||l.add(h)})})}),l.size&&t.errors.push(Lh(n.name,[...l.values()]))}return{type:Ee.State,name:n.name,style:o,options:a?{params:a}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;let o=Lt(this,So(n.animation),t),a=DT(n.expr,t.errors);return{type:Ee.Transition,matchers:a,animation:o,queryCount:t.queryCount,depCount:t.depCount,options:zr(n.options)}}visitSequence(n,t){return{type:Ee.Sequence,steps:n.steps.map(o=>Lt(this,o,t)),options:zr(n.options)}}visitGroup(n,t){let o=t.currentTime,a=0,l=n.steps.map(c=>{t.currentTime=o;let u=Lt(this,c,t);return a=Math.max(a,t.currentTime),u});return t.currentTime=a,{type:Ee.Group,steps:l,options:zr(n.options)}}visitAnimate(n,t){let o=NT(n.timings,t.errors);t.currentAnimateTimings=o;let a,l=n.styles?n.styles:tr({});if(l.type==Ee.Keyframes)a=this.visitKeyframes(l,t);else{let c=n.styles,u=!1;if(!c){u=!0;let h={};o.easing&&(h.easing=o.easing),c=tr(h)}t.currentTime+=o.duration+o.delay;let f=this.visitStyle(c,t);f.isEmptyStep=u,a=f}return t.currentAnimateTimings=null,{type:Ee.Animate,timings:o,style:a,options:null}}visitStyle(n,t){let o=this._makeStyleAst(n,t);return this._validateStyleAst(o,t),o}_makeStyleAst(n,t){let o=[],a=Array.isArray(n.styles)?n.styles:[n.styles];for(let u of a)typeof u=="string"?u===cn?o.push(u):t.errors.push(Oh(u)):o.push(new Map(Object.entries(u)));let l=!1,c=null;return o.forEach(u=>{if(u instanceof Map&&(u.has("easing")&&(c=u.get("easing"),u.delete("easing")),!l)){for(let f of u.values())if(f.toString().indexOf(td)>=0){l=!0;break}}}),{type:Ee.Style,styles:o,easing:c,offset:n.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(n,t){let o=t.currentAnimateTimings,a=t.currentTime,l=t.currentTime;o&&l>0&&(l-=o.duration+o.delay),n.styles.forEach(c=>{typeof c!="string"&&c.forEach((u,f)=>{let h=t.collectedStyles.get(t.currentQuerySelector),v=h.get(f),w=!0;v&&(l!=a&&l>=v.startTime&&a<=v.endTime&&(t.errors.push(Nh(f,v.startTime,v.endTime,l,a)),w=!1),l=v.startTime),w&&h.set(f,{startTime:l,endTime:a}),t.options&&ab(u,t.options,t.errors)})})}visitKeyframes(n,t){let o={type:Ee.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(zh()),o;let a=1,l=0,c=[],u=!1,f=!1,h=0,v=n.steps.map(Z=>{let ee=this._makeStyleAst(Z,t),de=ee.offset!=null?ee.offset:OT(ee.styles),ue=0;return de!=null&&(l++,ue=ee.offset=de),f=f||ue<0||ue>1,u=u||ue0&&l{let de=k>0?ee==P?1:k*ee:c[ee],ue=de*Q;t.currentTime=M+V.delay+ue,V.duration=ue,this._validateStyleAst(Z,t),Z.offset=de,o.styles.push(Z)}),o}visitReference(n,t){return{type:Ee.Reference,animation:Lt(this,So(n.animation),t),options:zr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:Ee.AnimateChild,options:zr(n.options)}}visitAnimateRef(n,t){return{type:Ee.AnimateRef,animation:this.visitReference(n.animation,t),options:zr(n.options)}}visitQuery(n,t){let o=t.currentQuerySelector,a=n.options||{};t.queryCount++,t.currentQuery=n;let[l,c]=FT(n.selector);t.currentQuerySelector=o.length?o+" "+l:l,Ft(t.collectedStyles,t.currentQuerySelector,new Map);let u=Lt(this,So(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=o,{type:Ee.Query,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:c,animation:u,originalSelector:n.selector,options:zr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(Wh());let o=n.timings==="full"?{duration:0,delay:0,easing:"full"}:Ci(n.timings,t.errors,!0);return{type:Ee.Stagger,animation:Lt(this,So(n.animation),t),timings:o,options:null}}};function FT(r){let n=!!r.split(/\s*,\s*/).find(t=>t==vb);return n&&(r=r.replace(PT,"")),r=r.replace(/@\*/g,yi).replace(/@\w+/g,t=>yi+"-"+t.slice(1)).replace(/:animating/g,bs),[r,n]}function LT(r){return r?nt({},r):null}var ud=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};function OT(r){if(typeof r=="string")return null;let n=null;if(Array.isArray(r))r.forEach(t=>{if(t instanceof Map&&t.has("offset")){let o=t;n=parseFloat(o.get("offset")),o.delete("offset")}});else if(r instanceof Map&&r.has("offset")){let t=r;n=parseFloat(t.get("offset")),t.delete("offset")}return n}function NT(r,n){if(r.hasOwnProperty("duration"))return r;if(typeof r=="number"){let l=Ci(r,n).duration;return id(l,0,"")}let t=r;if(t.split(/\s+/).some(l=>l.charAt(0)=="{"&&l.charAt(1)=="{")){let l=id(0,0,"");return l.dynamic=!0,l.strValue=t,l}let a=Ci(t,n);return id(a.duration,a.delay,a.easing)}function zr(r){return r?(r=nt({},r),r.params&&(r.params=LT(r.params))):r={},r}function id(r,n,t){return{duration:r,delay:n,easing:t}}function xd(r,n,t,o,a,l,c=null,u=!1){return{type:1,element:r,keyframes:n,preStyleProps:t,postStyleProps:o,duration:a,delay:l,totalTime:a+l,easing:c,subTimeline:u}}var Si=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,t){let o=this._map.get(n);o||this._map.set(n,o=[]),o.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}},zT=1,VT=":enter",UT=new RegExp(VT,"g"),HT=":leave",WT=new RegExp(HT,"g");function Cb(r,n,t,o,a,l=new Map,c=new Map,u,f,h=[]){return new pd().buildKeyframes(r,n,t,o,a,l,c,u,f,h)}var pd=class{buildKeyframes(n,t,o,a,l,c,u,f,h,v=[]){h=h||new Si;let w=new fd(n,t,h,a,l,v,[]);w.options=f;let k=f.delay?Tn(f.delay):0;w.currentTimeline.delayNextStep(k),w.currentTimeline.setStyles([c],null,w.errors,f),Lt(this,o,w);let P=w.timelines.filter(M=>M.containsAnimation());if(P.length&&u.size){let M;for(let V=P.length-1;V>=0;V--){let Q=P[V];if(Q.element===t){M=Q;break}}M&&!M.allowOnlyTimelineStyles()&&M.setStyles([u],null,w.errors,f)}return P.length?P.map(M=>M.buildKeyframes()):[xd(t,[],[],[],0,k,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){let o=t.subInstructions.get(t.element);if(o){let a=t.createSubContext(n.options),l=t.currentTimeline.currentTime,c=this._visitSubInstructions(o,a,a.options);l!=c&&t.transformIntoNewTimeline(c)}t.previousNode=n}visitAnimateRef(n,t){let o=t.createSubContext(n.options);o.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,o),this.visitReference(n.animation,o),t.transformIntoNewTimeline(o.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,o){for(let a of n){let l=a?.delay;if(l){let c=typeof l=="number"?l:Tn(wo(l,a?.params??{},t.errors));o.delayNextStep(c)}}}_visitSubInstructions(n,t,o){let l=t.currentTimeline.currentTime,c=o.duration!=null?Tn(o.duration):null,u=o.delay!=null?Tn(o.delay):null;return c!==0&&n.forEach(f=>{let h=t.appendInstructionToTimeline(f,c,u);l=Math.max(l,h.duration+h.delay)}),l}visitReference(n,t){t.updateOptions(n.options,!0),Lt(this,n.animation,t),t.previousNode=n}visitSequence(n,t){let o=t.subContextCount,a=t,l=n.options;if(l&&(l.params||l.delay)&&(a=t.createSubContext(l),a.transformIntoNewTimeline(),l.delay!=null)){a.previousNode.type==Ee.Style&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Is);let c=Tn(l.delay);a.delayNextStep(c)}n.steps.length&&(n.steps.forEach(c=>Lt(this,c,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>o&&a.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){let o=[],a=t.currentTimeline.currentTime,l=n.options&&n.options.delay?Tn(n.options.delay):0;n.steps.forEach(c=>{let u=t.createSubContext(n.options);l&&u.delayNextStep(l),Lt(this,c,u),a=Math.max(a,u.currentTimeline.currentTime),o.push(u.currentTimeline)}),o.forEach(c=>t.currentTimeline.mergeTimelineCollectedStyles(c)),t.transformIntoNewTimeline(a),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){let o=n.strValue,a=t.params?wo(o,t.params,t.errors):o;return Ci(a,t.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){let o=t.currentAnimateTimings=this._visitTiming(n.timings,t),a=t.currentTimeline;o.delay&&(t.incrementTime(o.delay),a.snapshotCurrentStyles());let l=n.style;l.type==Ee.Keyframes?this.visitKeyframes(l,t):(t.incrementTime(o.duration),this.visitStyle(l,t),a.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){let o=t.currentTimeline,a=t.currentAnimateTimings;!a&&o.hasCurrentStyleProperties()&&o.forwardFrame();let l=a&&a.easing||n.easing;n.isEmptyStep?o.applyEmptyStep(l):o.setStyles(n.styles,l,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){let o=t.currentAnimateTimings,a=t.currentTimeline.duration,l=o.duration,u=t.createSubContext().currentTimeline;u.easing=o.easing,n.styles.forEach(f=>{let h=f.offset||0;u.forwardTime(h*l),u.setStyles(f.styles,f.easing,t.errors,t.options),u.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(u),t.transformIntoNewTimeline(a+l),t.previousNode=n}visitQuery(n,t){let o=t.currentTimeline.currentTime,a=n.options||{},l=a.delay?Tn(a.delay):0;l&&(t.previousNode.type===Ee.Style||o==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Is);let c=o,u=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=u.length;let f=null;u.forEach((h,v)=>{t.currentQueryIndex=v;let w=t.createSubContext(n.options,h);l&&w.delayNextStep(l),h===t.element&&(f=w.currentTimeline),Lt(this,n.animation,w),w.currentTimeline.applyStylesToKeyframe();let k=w.currentTimeline.currentTime;c=Math.max(c,k)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(c),f&&(t.currentTimeline.mergeTimelineCollectedStyles(f),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){let o=t.parentContext,a=t.currentTimeline,l=n.timings,c=Math.abs(l.duration),u=c*(t.currentQueryTotal-1),f=c*t.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":f=u-f;break;case"full":f=o.currentStaggerTime;break}let v=t.currentTimeline;f&&v.delayNextStep(f);let w=v.currentTime;Lt(this,n.animation,t),t.previousNode=n,o.currentStaggerTime=a.currentTime-w+(a.startTime-o.currentTimeline.startTime)}},Is={},fd=class r{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Is;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,t,o,a,l,c,u,f){this._driver=n,this.element=t,this.subInstructions=o,this._enterClassName=a,this._leaveClassName=l,this.errors=c,this.timelines=u,this.currentTimeline=f||new Ts(this._driver,t,0),u.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;let o=n,a=this.options;o.duration!=null&&(a.duration=Tn(o.duration)),o.delay!=null&&(a.delay=Tn(o.delay));let l=o.params;if(l){let c=a.params;c||(c=this.options.params={}),Object.keys(l).forEach(u=>{(!t||!c.hasOwnProperty(u))&&(c[u]=wo(l[u],c,this.errors))})}}_copyOptions(){let n={};if(this.options){let t=this.options.params;if(t){let o=n.params={};Object.keys(t).forEach(a=>{o[a]=t[a]})}}return n}createSubContext(n=null,t,o){let a=t||this.element,l=new r(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,o||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(n),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(n){return this.previousNode=Is,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,o){let a={duration:t??n.duration,delay:this.currentTimeline.currentTime+(o??0)+n.delay,easing:""},l=new md(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,a,n.stretchStartingKeyframe);return this.timelines.push(l),a}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,o,a,l,c){let u=[];if(a&&u.push(this.element),n.length>0){n=n.replace(UT,"."+this._enterClassName),n=n.replace(WT,"."+this._leaveClassName);let f=o!=1,h=this._driver.query(this.element,n,f);o!==0&&(h=o<0?h.slice(h.length+o,h.length):h.slice(0,o)),u.push(...h)}return!l&&u.length==0&&c.push($h(t)),u}},Ts=class r{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,t,o,a){this._driver=n,this.element=t,this.startTime=o,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new r(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=zT,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,o]of this._globalTimelineStyles)this._backFill.set(t,o||cn),this._currentKeyframe.set(t,cn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,o,a){t&&this._previousKeyframe.set("easing",t);let l=a&&a.params||{},c=$T(n,this._globalTimelineStyles);for(let[u,f]of c){let h=wo(f,l,o);this._pendingStyles.set(u,h),this._localTimelineStyles.has(u)||this._backFill.set(u,this._globalTimelineStyles.get(u)??cn),this._updateStyle(u,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,o)=>{let a=this._styleSummary.get(o);(!a||t.time>a.time)&&this._updateStyle(o,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,t=new Set,o=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((u,f)=>{let h=new Map([...this._backFill,...u]);h.forEach((v,w)=>{v===ai?n.add(w):v===cn&&t.add(w)}),o||h.set("offset",f/this.duration),a.push(h)});let l=[...n.values()],c=[...t.values()];if(o){let u=a[0],f=new Map(u);u.set("offset",0),f.set("offset",1),a=[u,f]}return xd(this.element,a,l,c,this.duration,this.startTime,this.easing,!1)}},md=class extends Ts{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,t,o,a,l,c,u=!1){super(n,t,c.delay),this.keyframes=o,this.preStyleProps=a,this.postStyleProps=l,this._stretchStartingKeyframe=u,this.timings={duration:c.duration,delay:c.delay,easing:c.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:o,easing:a}=this.timings;if(this._stretchStartingKeyframe&&t){let l=[],c=o+t,u=t/c,f=new Map(n[0]);f.set("offset",0),l.push(f);let h=new Map(n[0]);h.set("offset",ub(u)),l.push(h);let v=n.length-1;for(let w=1;w<=v;w++){let k=new Map(n[w]),P=k.get("offset"),M=t+P*o;k.set("offset",ub(M/c)),l.push(k)}o=c,t=0,a="",n=l}return xd(this.element,n,this.preStyleProps,this.postStyleProps,o,t,a,!0)}};function ub(r,n=3){let t=Math.pow(10,n-1);return Math.round(r*t)/t}function $T(r,n){let t=new Map,o;return r.forEach(a=>{if(a==="*"){o??=n.keys();for(let l of o)t.set(l,cn)}else for(let[l,c]of a)t.set(l,c)}),t}function pb(r,n,t,o,a,l,c,u,f,h,v,w,k){return{type:0,element:r,triggerName:n,isRemovalTransition:a,fromState:t,fromStyles:l,toState:o,toStyles:c,timelines:u,queriedElements:f,preStyleProps:h,postStyleProps:v,totalTime:w,errors:k}}var ad={},Es=class{_triggerName;ast;_stateStyles;constructor(n,t,o){this._triggerName=n,this.ast=t,this._stateStyles=o}match(n,t,o,a){return KT(this.ast.matchers,n,t,o,a)}buildStyles(n,t,o){let a=this._stateStyles.get("*");return n!==void 0&&(a=this._stateStyles.get(n?.toString())||a),a?a.buildStyles(t,o):new Map}build(n,t,o,a,l,c,u,f,h,v){let w=[],k=this.ast.options&&this.ast.options.params||ad,P=u&&u.params||ad,M=this.buildStyles(o,P,w),V=f&&f.params||ad,Q=this.buildStyles(a,V,w),Z=new Set,ee=new Map,de=new Map,ue=a==="void",ce={params:xb(V,k),delay:this.ast.options?.delay},y=v?[]:Cb(n,t,this.ast.animation,l,c,M,Q,ce,h,w),x=0;return y.forEach(A=>{x=Math.max(A.duration+A.delay,x)}),w.length?pb(t,this._triggerName,o,a,ue,M,Q,[],[],ee,de,x,w):(y.forEach(A=>{let K=A.element,W=Ft(ee,K,new Set);A.preStyleProps.forEach(Fe=>W.add(Fe));let pe=Ft(de,K,new Set);A.postStyleProps.forEach(Fe=>pe.add(Fe)),K!==t&&Z.add(K)}),pb(t,this._triggerName,o,a,ue,M,Q,y,[...Z.values()],ee,de,x))}};function KT(r,n,t,o,a){return r.some(l=>l(n,t,o,a))}function xb(r,n){let t=nt({},n);return Object.entries(r).forEach(([o,a])=>{a!=null&&(t[o]=a)}),t}var gd=class{styles;defaultParams;normalizer;constructor(n,t,o){this.styles=n,this.defaultParams=t,this.normalizer=o}buildStyles(n,t){let o=new Map,a=xb(n,this.defaultParams);return this.styles.styles.forEach(l=>{typeof l!="string"&&l.forEach((c,u)=>{c&&(c=wo(c,a,t));let f=this.normalizer.normalizePropertyName(u,t);c=this.normalizer.normalizeStyleValue(u,f,c,t),o.set(u,c)})}),o}};function jT(r,n,t){return new hd(r,n,t)}var hd=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,t,o){this.name=n,this.ast=t,this._normalizer=o,t.states.forEach(a=>{let l=a.options&&a.options.params||{};this.states.set(a.name,new gd(a.style,l,o))}),fb(this.states,"true","1"),fb(this.states,"false","0"),t.transitions.forEach(a=>{this.transitionFactories.push(new Es(n,a,this.states))}),this.fallbackTransition=GT(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,o,a){return this.transitionFactories.find(c=>c.match(n,t,o,a))||null}matchStyles(n,t,o){return this.fallbackTransition.buildStyles(n,t,o)}};function GT(r,n,t){let o=[(c,u)=>!0],a={type:Ee.Sequence,steps:[],options:null},l={type:Ee.Transition,animation:a,matchers:o,options:null,queryCount:0,depCount:0};return new Es(r,l,n)}function fb(r,n,t){r.has(n)?r.has(t)||r.set(t,r.get(n)):r.has(t)&&r.set(n,r.get(t))}var YT=new Si,bd=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,t,o){this.bodyNode=n,this._driver=t,this._normalizer=o}register(n,t){let o=[],a=[],l=yb(this._driver,t,o,a);if(o.length)throw Yh(o);this._animations.set(n,l)}_buildPlayer(n,t,o){let a=n.element,l=Qc(this._normalizer,n.keyframes,t,o);return this._driver.animate(a,l,n.duration,n.delay,n.easing,[],!0)}create(n,t,o={}){let a=[],l=this._animations.get(n),c,u=new Map;if(l?(c=Cb(this._driver,t,l,nd,hs,new Map,new Map,o,YT,a),c.forEach(v=>{let w=Ft(u,v.element,new Map);v.postStyleProps.forEach(k=>w.set(k,null))})):(a.push(qh()),c=[]),a.length)throw Xh(a);u.forEach((v,w)=>{v.forEach((k,P)=>{v.set(P,this._driver.computeStyle(w,P,cn))})});let f=c.map(v=>{let w=u.get(v.element);return this._buildPlayer(v,new Map,w)}),h=Hn(f);return this._playersById.set(n,h),h.onDestroy(()=>this.destroy(n)),this.players.push(h),h}destroy(n){let t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);let o=this.players.indexOf(t);o>=0&&this.players.splice(o,1)}_getPlayer(n){let t=this._playersById.get(n);if(!t)throw Qh(n);return t}listen(n,t,o,a){let l=ms(t,"","","");return fs(this._getPlayer(n),o,l,a),()=>{}}command(n,t,o,a){if(o=="register"){this.register(n,a[0]);return}if(o=="create"){let c=a[0]||{};this.create(n,t,c);return}let l=this._getPlayer(n);switch(o){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(n);break}}},mb="ng-animate-queued",qT=".ng-animate-queued",sd="ng-animate-disabled",XT=".ng-animate-disabled",QT="ng-star-inserted",JT=".ng-star-inserted",ZT=[],Sb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},eE={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},mn="__ng_removed",wi=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;let o=n&&n.hasOwnProperty("value"),a=o?n.value:n;if(this.value=nE(a),o){let l=n,{value:c}=l,u=Nm(l,["value"]);this.options=u}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let t=n.params;if(t){let o=this.options.params;Object.keys(t).forEach(a=>{o[a]==null&&(o[a]=t[a])})}}},xi="void",ld=new wi(xi),_d=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,t,o){this.id=n,this.hostElement=t,this._engine=o,this._hostClassName="ng-tns-"+n,en(t,this._hostClassName)}listen(n,t,o,a){if(!this._triggers.has(t))throw Jh(o,t);if(o==null||o.length==0)throw Zh(t);if(!rE(o))throw eb(o,t);let l=Ft(this._elementListeners,n,[]),c={name:t,phase:o,callback:a};l.push(c);let u=Ft(this._engine.statesByElement,n,new Map);return u.has(t)||(en(n,vi),en(n,vi+"-"+t),u.set(t,ld)),()=>{this._engine.afterFlush(()=>{let f=l.indexOf(c);f>=0&&l.splice(f,1),this._triggers.has(t)||u.delete(t)})}}register(n,t){return this._triggers.has(n)?!1:(this._triggers.set(n,t),!0)}_getTrigger(n){let t=this._triggers.get(n);if(!t)throw tb(n);return t}trigger(n,t,o,a=!0){let l=this._getTrigger(t),c=new ki(this.id,t,n),u=this._engine.statesByElement.get(n);u||(en(n,vi),en(n,vi+"-"+t),this._engine.statesByElement.set(n,u=new Map));let f=u.get(t),h=new wi(o,this.id);if(!(o&&o.hasOwnProperty("value"))&&f&&h.absorbOptions(f.options),u.set(t,h),f||(f=ld),!(h.value===xi)&&f.value===h.value){if(!aE(f.params,h.params)){let V=[],Q=l.matchStyles(f.value,f.params,V),Z=l.matchStyles(h.value,h.params,V);V.length?this._engine.reportError(V):this._engine.afterFlush(()=>{ur(n,Q),fn(n,Z)})}return}let k=Ft(this._engine.playersByElement,n,[]);k.forEach(V=>{V.namespaceId==this.id&&V.triggerName==t&&V.queued&&V.destroy()});let P=l.matchTransition(f.value,h.value,n,h.params),M=!1;if(!P){if(!a)return;P=l.fallbackTransition,M=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:P,fromState:f,toState:h,player:c,isFallbackTransition:M}),M||(en(n,mb),c.onStart(()=>{ko(n,mb)})),c.onDone(()=>{let V=this.players.indexOf(c);V>=0&&this.players.splice(V,1);let Q=this._engine.playersByElement.get(n);if(Q){let Z=Q.indexOf(c);Z>=0&&Q.splice(Z,1)}}),this.players.push(c),k.push(c),c}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,o)=>{this._elementListeners.set(o,t.filter(a=>a.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let t=this._engine.playersByElement.get(n);t&&(t.forEach(o=>o.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){let o=this._engine.driver.query(n,yi,!0);o.forEach(a=>{if(a[mn])return;let l=this._engine.fetchNamespacesByElement(a);l.size?l.forEach(c=>c.triggerLeaveAnimation(a,t,!1,!0)):this.clearElementCache(a)}),this._engine.afterFlushAnimationsDone(()=>o.forEach(a=>this.clearElementCache(a)))}triggerLeaveAnimation(n,t,o,a){let l=this._engine.statesByElement.get(n),c=new Map;if(l){let u=[];if(l.forEach((f,h)=>{if(c.set(h,f.value),this._triggers.has(h)){let v=this.trigger(n,h,xi,a);v&&u.push(v)}}),u.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,c),o&&Hn(u).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let t=this._elementListeners.get(n),o=this._engine.statesByElement.get(n);if(t&&o){let a=new Set;t.forEach(l=>{let c=l.name;if(a.has(c))return;a.add(c);let f=this._triggers.get(c).fallbackTransition,h=o.get(c)||ld,v=new wi(xi),w=new ki(this.id,c,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:c,transition:f,fromState:h,toState:v,player:w,isFallbackTransition:!0})})}}removeNode(n,t){let o=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let a=!1;if(o.totalAnimations){let l=o.players.length?o.playersByQueriedElement.get(n):[];if(l&&l.length)a=!0;else{let c=n;for(;c=c.parentNode;)if(o.statesByElement.get(c)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(n),a)o.markElementAsRemoved(this.id,n,!1,t);else{let l=n[mn];(!l||l===Sb)&&(o.afterFlush(()=>this.clearElementCache(n)),o.destroyInnerAnimations(n),o._onRemovalComplete(n,t))}}insertNode(n,t){en(n,this._hostClassName)}drainQueuedTransitions(n){let t=[];return this._queue.forEach(o=>{let a=o.player;if(a.destroyed)return;let l=o.element,c=this._elementListeners.get(l);c&&c.forEach(u=>{if(u.name==o.triggerName){let f=ms(l,o.triggerName,o.fromState.value,o.toState.value);f._data=n,fs(o.player,u.phase,f,u.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):t.push(o)}),this._queue=[],t.sort((o,a)=>{let l=o.transition.ast.depCount,c=a.transition.ast.depCount;return l==0||c==0?l-c:this._engine.driver.containsElement(o.element,a.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},vd=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,t)=>{};_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,o){this.bodyNode=n,this.driver=t,this._normalizer=o}get queuedPlayers(){let n=[];return this._namespaceList.forEach(t=>{t.players.forEach(o=>{o.queued&&n.push(o)})}),n}createNamespace(n,t){let o=new _d(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(o,t):(this.newHostElements.set(t,o),this.collectEnterElement(t)),this._namespaceLookup[n]=o}_balanceNamespaceList(n,t){let o=this._namespaceList,a=this.namespacesByHostElement;if(o.length-1>=0){let c=!1,u=this.driver.getParentElement(t);for(;u;){let f=a.get(u);if(f){let h=o.indexOf(f);o.splice(h+1,0,n),c=!0;break}u=this.driver.getParentElement(u)}c||o.unshift(n)}else o.push(n);return a.set(t,n),n}register(n,t){let o=this._namespaceLookup[n];return o||(o=this.createNamespace(n,t)),o}registerTrigger(n,t,o){let a=this._namespaceLookup[n];a&&a.register(t,o)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let o=this._fetchNamespace(n);this.namespacesByHostElement.delete(o.hostElement);let a=this._namespaceList.indexOf(o);a>=0&&this._namespaceList.splice(a,1),o.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let t=new Set,o=this.statesByElement.get(n);if(o){for(let a of o.values())if(a.namespaceId){let l=this._fetchNamespace(a.namespaceId);l&&t.add(l)}}return t}trigger(n,t,o,a){if(xs(t)){let l=this._fetchNamespace(n);if(l)return l.trigger(t,o,a),!0}return!1}insertNode(n,t,o,a){if(!xs(t))return;let l=t[mn];if(l&&l.setForRemoval){l.setForRemoval=!1,l.setForMove=!0;let c=this.collectedLeaveElements.indexOf(t);c>=0&&this.collectedLeaveElements.splice(c,1)}if(n){let c=this._fetchNamespace(n);c&&c.insertNode(t,o)}a&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),en(n,sd)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),ko(n,sd))}removeNode(n,t,o){if(xs(t)){let a=n?this._fetchNamespace(n):null;a?a.removeNode(t,o):this.markElementAsRemoved(n,t,!1,o);let l=this.namespacesByHostElement.get(t);l&&l.id!==n&&l.removeNode(t,o)}else this._onRemovalComplete(t,o)}markElementAsRemoved(n,t,o,a,l){this.collectedLeaveElements.push(t),t[mn]={namespaceId:n,setForRemoval:a,hasAnimation:o,removedBeforeQueried:!1,previousTriggersValues:l}}listen(n,t,o,a,l){return xs(t)?this._fetchNamespace(n).listen(t,o,a,l):()=>{}}_buildInstruction(n,t,o,a,l){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,o,a,n.fromState.options,n.toState.options,t,l)}destroyInnerAnimations(n){let t=this.driver.query(n,yi,!0);t.forEach(o=>this.destroyActiveAnimationsForElement(o)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(n,bs,!0),t.forEach(o=>this.finishActiveQueriedAnimationOnElement(o)))}destroyActiveAnimationsForElement(n){let t=this.playersByElement.get(n);t&&t.forEach(o=>{o.queued?o.markedForDestroy=!0:o.destroy()})}finishActiveQueriedAnimationOnElement(n){let t=this.playersByQueriedElement.get(n);t&&t.forEach(o=>o.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Hn(this.players).onDone(()=>n());n()})}processLeaveNode(n){let t=n[mn];if(t&&t.setForRemoval){if(n[mn]=Sb,t.namespaceId){this.destroyInnerAnimations(n);let o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(sd)&&this.markElementAsDisabled(n,!1),this.driver.query(n,XT,!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((o,a)=>this._balanceNamespaceList(o,a)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let o=0;oo()),this._flushFns=[],this._whenQuietFns.length){let o=this._whenQuietFns;this._whenQuietFns=[],t.length?Hn(t).onDone(()=>{o.forEach(a=>a())}):o.forEach(a=>a())}}reportError(n){throw nb(n)}_flushAnimations(n,t){let o=new Si,a=[],l=new Map,c=[],u=new Map,f=new Map,h=new Map,v=new Set;this.disabledNodes.forEach(T=>{v.add(T);let R=this.driver.query(T,qT,!0);for(let U=0;U{let U=nd+V++;M.set(R,U),T.forEach(O=>en(O,U))});let Q=[],Z=new Set,ee=new Set;for(let T=0;TZ.add(O)):ee.add(R))}let de=new Map,ue=bb(k,Array.from(Z));ue.forEach((T,R)=>{let U=hs+V++;de.set(R,U),T.forEach(O=>en(O,U))}),n.push(()=>{P.forEach((T,R)=>{let U=M.get(R);T.forEach(O=>ko(O,U))}),ue.forEach((T,R)=>{let U=de.get(R);T.forEach(O=>ko(O,U))}),Q.forEach(T=>{this.processLeaveNode(T)})});let ce=[],y=[];for(let T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach(U=>{let O=U.player,j=U.element;if(ce.push(O),this.collectedEnterElements.length){let J=j[mn];if(J&&J.setForMove){if(J.previousTriggersValues&&J.previousTriggersValues.has(U.triggerName)){let Le=J.previousTriggersValues.get(U.triggerName),X=this.statesByElement.get(U.element);if(X&&X.has(U.triggerName)){let Me=X.get(U.triggerName);Me.value=Le,X.set(U.triggerName,Me)}}O.destroy();return}}let H=!w||!this.driver.containsElement(w,j),Ce=de.get(j),ve=M.get(j),te=this._buildInstruction(U,o,ve,Ce,H);if(te.errors&&te.errors.length){y.push(te);return}if(H){O.onStart(()=>ur(j,te.fromStyles)),O.onDestroy(()=>fn(j,te.toStyles)),a.push(O);return}if(U.isFallbackTransition){O.onStart(()=>ur(j,te.fromStyles)),O.onDestroy(()=>fn(j,te.toStyles)),a.push(O);return}let ut=[];te.timelines.forEach(J=>{J.stretchStartingKeyframe=!0,this.disabledNodes.has(J.element)||ut.push(J)}),te.timelines=ut,o.append(j,te.timelines);let ge={instruction:te,player:O,element:j};c.push(ge),te.queriedElements.forEach(J=>Ft(u,J,[]).push(O)),te.preStyleProps.forEach((J,Le)=>{if(J.size){let X=f.get(Le);X||f.set(Le,X=new Set),J.forEach((Me,Ke)=>X.add(Ke))}}),te.postStyleProps.forEach((J,Le)=>{let X=h.get(Le);X||h.set(Le,X=new Set),J.forEach((Me,Ke)=>X.add(Ke))})});if(y.length){let T=[];y.forEach(R=>{T.push(rb(R.triggerName,R.errors))}),ce.forEach(R=>R.destroy()),this.reportError(T)}let x=new Map,A=new Map;c.forEach(T=>{let R=T.element;o.has(R)&&(A.set(R,R),this._beforeAnimationBuild(T.player.namespaceId,T.instruction,x))}),a.forEach(T=>{let R=T.element;this._getPreviousPlayers(R,!1,T.namespaceId,T.triggerName,null).forEach(O=>{Ft(x,R,[]).push(O),O.destroy()})});let K=Q.filter(T=>_b(T,f,h)),W=new Map;hb(W,this.driver,ee,h,cn).forEach(T=>{_b(T,f,h)&&K.push(T)});let Fe=new Map;P.forEach((T,R)=>{hb(Fe,this.driver,new Set(T),f,ai)}),K.forEach(T=>{let R=W.get(T),U=Fe.get(T);W.set(T,new Map([...R?.entries()??[],...U?.entries()??[]]))});let Qe=[],fe=[],q={};c.forEach(T=>{let{element:R,player:U,instruction:O}=T;if(o.has(R)){if(v.has(R)){U.onDestroy(()=>fn(R,O.toStyles)),U.disabled=!0,U.overrideTotalTime(O.totalTime),a.push(U);return}let j=q;if(A.size>1){let Ce=R,ve=[];for(;Ce=Ce.parentNode;){let te=A.get(Ce);if(te){j=te;break}ve.push(Ce)}ve.forEach(te=>A.set(te,j))}let H=this._buildAnimation(U.namespaceId,O,x,l,Fe,W);if(U.setRealPlayer(H),j===q)Qe.push(U);else{let Ce=this.playersByElement.get(j);Ce&&Ce.length&&(U.parentPlayer=Hn(Ce)),a.push(U)}}else ur(R,O.fromStyles),U.onDestroy(()=>fn(R,O.toStyles)),fe.push(U),v.has(R)&&a.push(U)}),fe.forEach(T=>{let R=l.get(T.element);if(R&&R.length){let U=Hn(R);T.setRealPlayer(U)}}),a.forEach(T=>{T.parentPlayer?T.syncPlayerEvents(T.parentPlayer):T.destroy()});for(let T=0;T!H.destroyed);j.length?oE(this,R,j):this.processLeaveNode(R)}return Q.length=0,Qe.forEach(T=>{this.players.push(T),T.onDone(()=>{T.destroy();let R=this.players.indexOf(T);this.players.splice(R,1)}),T.play()}),Qe}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,o,a,l){let c=[];if(t){let u=this.playersByQueriedElement.get(n);u&&(c=u)}else{let u=this.playersByElement.get(n);if(u){let f=!l||l==xi;u.forEach(h=>{h.queued||!f&&h.triggerName!=a||c.push(h)})}}return(o||a)&&(c=c.filter(u=>!(o&&o!=u.namespaceId||a&&a!=u.triggerName))),c}_beforeAnimationBuild(n,t,o){let a=t.triggerName,l=t.element,c=t.isRemovalTransition?void 0:n,u=t.isRemovalTransition?void 0:a;for(let f of t.timelines){let h=f.element,v=h!==l,w=Ft(o,h,[]);this._getPreviousPlayers(h,v,c,u,t.toState).forEach(P=>{let M=P.getRealPlayer();M.beforeDestroy&&M.beforeDestroy(),P.destroy(),w.push(P)})}ur(l,t.fromStyles)}_buildAnimation(n,t,o,a,l,c){let u=t.triggerName,f=t.element,h=[],v=new Set,w=new Set,k=t.timelines.map(M=>{let V=M.element;v.add(V);let Q=V[mn];if(Q&&Q.removedBeforeQueried)return new Tr(M.duration,M.delay);let Z=V!==f,ee=iE((o.get(V)||ZT).map(x=>x.getRealPlayer())).filter(x=>{let A=x;return A.element?A.element===V:!1}),de=l.get(V),ue=c.get(V),ce=Qc(this._normalizer,M.keyframes,de,ue),y=this._buildPlayer(M,ce,ee);if(M.subTimeline&&a&&w.add(V),Z){let x=new ki(n,u,V);x.setRealPlayer(y),h.push(x)}return y});h.forEach(M=>{Ft(this.playersByQueriedElement,M.element,[]).push(M),M.onDone(()=>tE(this.playersByQueriedElement,M.element,M))}),v.forEach(M=>en(M,rd));let P=Hn(k);return P.onDestroy(()=>{v.forEach(M=>ko(M,rd)),fn(f,t.toStyles)}),w.forEach(M=>{Ft(a,M,[]).push(P)}),P}_buildPlayer(n,t,o){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,o):new Tr(n.duration,n.delay)}},ki=class{namespaceId;triggerName;element;_player=new Tr;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,t,o){this.namespaceId=n,this.triggerName=t,this.element=o}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,o)=>{t.forEach(a=>fs(n,o,void 0,a))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){Ft(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let t=this._player;t.triggerCallback&&t.triggerCallback(n)}};function tE(r,n,t){let o=r.get(n);if(o){if(o.length){let a=o.indexOf(t);o.splice(a,1)}o.length==0&&r.delete(n)}return o}function nE(r){return r??null}function xs(r){return r&&r.nodeType===1}function rE(r){return r=="start"||r=="done"}function gb(r,n){let t=r.style.display;return r.style.display=n??"none",t}function hb(r,n,t,o,a){let l=[];t.forEach(f=>l.push(gb(f)));let c=[];o.forEach((f,h)=>{let v=new Map;f.forEach(w=>{let k=n.computeStyle(h,w,a);v.set(w,k),(!k||k.length==0)&&(h[mn]=eE,c.push(h))}),r.set(h,v)});let u=0;return t.forEach(f=>gb(f,l[u++])),c}function bb(r,n){let t=new Map;if(r.forEach(u=>t.set(u,[])),n.length==0)return t;let o=1,a=new Set(n),l=new Map;function c(u){if(!u)return o;let f=l.get(u);if(f)return f;let h=u.parentNode;return t.has(h)?f=h:a.has(h)?f=o:f=c(h),l.set(u,f),f}return n.forEach(u=>{let f=c(u);f!==o&&t.get(f).push(u)}),t}function en(r,n){r.classList?.add(n)}function ko(r,n){r.classList?.remove(n)}function oE(r,n,t){Hn(t).onDone(()=>r.processLeaveNode(n))}function iE(r){let n=[];return wb(r,n),n}function wb(r,n){for(let t=0;ta.add(l)):n.set(r,o),t.delete(r),!0}var Io=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,t)=>{};constructor(n,t,o){this._driver=t,this._normalizer=o,this._transitionEngine=new vd(n.body,t,o),this._timelineEngine=new bd(n.body,t,o),this._transitionEngine.onRemovalComplete=(a,l)=>this.onRemovalComplete(a,l)}registerTrigger(n,t,o,a,l){let c=n+"-"+a,u=this._triggerCache[c];if(!u){let f=[],h=[],v=yb(this._driver,l,f,h);if(f.length)throw Gh(a,f);u=jT(a,v,this._normalizer),this._triggerCache[c]=u}this._transitionEngine.registerTrigger(t,a,u)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,o,a){this._transitionEngine.insertNode(n,t,o,a)}onRemove(n,t,o){this._transitionEngine.removeNode(n,t,o)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,o,a){if(o.charAt(0)=="@"){let[l,c]=Jc(o),u=a;this._timelineEngine.command(l,t,c,u)}else this._transitionEngine.trigger(n,t,o,a)}listen(n,t,o,a,l){if(o.charAt(0)=="@"){let[c,u]=Jc(o);return this._timelineEngine.listen(c,t,u,l)}return this._transitionEngine.listen(n,t,o,a,l)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function sE(r,n){let t=null,o=null;return Array.isArray(n)&&n.length?(t=cd(n[0]),n.length>1&&(o=cd(n[n.length-1]))):n instanceof Map&&(t=cd(n)),t||o?new lE(r,t,o):null}var lE=(()=>{class r{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,o,a){this._element=t,this._startStyles=o,this._endStyles=a;let l=r.initialStylesByElement.get(t);l||r.initialStylesByElement.set(t,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&fn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fn(this._element,this._initialStyles),this._endStyles&&(fn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(ur(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ur(this._element,this._endStyles),this._endStyles=null),fn(this._element,this._initialStyles),this._state=3)}}return r})();function cd(r){let n=null;return r.forEach((t,o)=>{cE(o)&&(n=n||new Map,n.set(o,t))}),n}function cE(r){return r==="display"||r==="position"}var As=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,t,o,a){this.element=n,this.keyframes=t,this.options=o,this._specialStyles=a,this._duration=o.duration,this._delay=o.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){let t=[];return n.forEach(o=>{t.push(Object.fromEntries(o))}),t}_triggerWebAnimation(n,t,o){return n.animate(this._convertKeyframesToObject(t),o)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((o,a)=>{a!=="offset"&&n.set(a,this._finished?o:vs(this.element,a))}),this.currentSnapshot=n}triggerCallback(n){let t=n==="start"?this._onStartFns:this._onDoneFns;t.forEach(o=>o()),t.length=0}},Ms=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return Zc(n,t)}getParentElement(n){return gs(n)}query(n,t,o){return ed(n,t,o)}computeStyle(n,t,o){return vs(n,t)}animate(n,t,o,a,l,c=[]){let u=a==0?"both":"forwards",f={duration:o,delay:a,fill:u};l&&(f.easing=l);let h=new Map,v=c.filter(P=>P instanceof As);sb(o,a)&&v.forEach(P=>{P.currentSnapshot.forEach((M,V)=>h.set(V,M))});let w=ib(t).map(P=>new Map(P));w=lb(n,w,h);let k=sE(n,w);return new As(n,w,f,k)}};var Ss="@",kb="@.disabled",Ds=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,t,o,a){this.namespaceId=n,this.delegate=t,this.engine=o,this._onDestroy=a}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,o,a=!0){this.delegate.insertBefore(n,t,o),this.engine.onInsert(this.namespaceId,t,n,a)}removeChild(n,t,o){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,o,a){this.delegate.setAttribute(n,t,o,a)}removeAttribute(n,t,o){this.delegate.removeAttribute(n,t,o)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,o,a){this.delegate.setStyle(n,t,o,a)}removeStyle(n,t,o){this.delegate.removeStyle(n,t,o)}setProperty(n,t,o){t.charAt(0)==Ss&&t==kb?this.disableAnimations(n,!!o):this.delegate.setProperty(n,t,o)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,o,a){return this.delegate.listen(n,t,o,a)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}},yd=class extends Ds{factory;constructor(n,t,o,a,l){super(t,o,a,l),this.factory=n,this.namespaceId=t}setProperty(n,t,o){t.charAt(0)==Ss?t.charAt(1)=="."&&t==kb?(o=o===void 0?!0:!!o,this.disableAnimations(n,o)):this.engine.process(this.namespaceId,n,t.slice(1),o):this.delegate.setProperty(n,t,o)}listen(n,t,o,a){if(t.charAt(0)==Ss){let l=dE(n),c=t.slice(1),u="";return c.charAt(0)!=Ss&&([c,u]=uE(c)),this.engine.listen(this.namespaceId,l,c,u,f=>{let h=f._data||-1;this.factory.scheduleListenerCallback(h,o,f)})}return this.delegate.listen(n,t,o,a)}};function dE(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}function uE(r){let n=r.indexOf("."),t=r.substring(0,n),o=r.slice(n+1);return[t,o]}var Bs=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,t,o){this.delegate=n,this.engine=t,this._zone=o,t.onRemovalComplete=(a,l)=>{l?.removeChild(null,a)}}createRenderer(n,t){let a=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){let h=this._rendererCache,v=h.get(a);if(!v){let w=()=>h.delete(a);v=new Ds("",a,this.engine,w),h.set(a,v)}return v}let l=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,n);let u=h=>{Array.isArray(h)?h.forEach(u):this.engine.registerTrigger(l,c,n,h.name,h)};return t.data.animation.forEach(u),new yd(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,o){if(n>=0&&nt(o));return}let a=this._animationCallbacksBuffer;a.length==0&&queueMicrotask(()=>{this._zone.run(()=>{a.forEach(l=>{let[c,u]=l;c(u)}),this._animationCallbacksBuffer=[]})}),a.push([t,o])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}};var fE=(()=>{class r extends Io{constructor(t,o,a){super(t,o,a)}ngOnDestroy(){this.flush()}static \u0275fac=function(o){return new(o||r)(an(Jm),an(Vr),an(Ur))};static \u0275prov=yn({token:r,factory:r.\u0275fac})}return r})();function mE(){return new ws}function gE(r,n,t){return new Bs(r,n,t)}var Tb=[{provide:Ur,useFactory:mE},{provide:Io,useClass:fE},{provide:t0,useFactory:gE,deps:[f0,Io,n0]}],hE=[{provide:Vr,useClass:Cd},{provide:Jl,useValue:"NoopAnimations"},...Tb],Ib=[{provide:Vr,useFactory:()=>new Ms},{provide:Jl,useFactory:()=>"BrowserAnimations"},...Tb],Sd=(()=>{class r{static withConfig(t){return{ngModule:r,providers:t.disableAnimations?hE:Ib}}static \u0275fac=function(o){return new(o||r)};static \u0275mod=Sn({type:r});static \u0275inj=Cn({providers:Ib,imports:[ti]})}return r})();function Eb(r){return r!=null&&Array.isArray(r.children)}function Db(r,n){var t;let o={index:0,relIndex:0,label:"",children:[],expand:!1,parent:n?n.index:-1,level:n?n.level+1:0,center:Number.NaN,width:0,hidden:!1,major:!n,toString(){return this.label}};return typeof r=="string"?o.label=r:Object.assign(o,Pt(nt({},r),{children:((t=r.children)!==null&&t!==void 0?t:[]).map(a=>Db(a,o))})),o}function Bb(r,n,t,o){r.relIndex=n,r.index=t.length,r.parent=o?o.index:-1,r.hidden=!!(o&&o.expand===!1||r.expand),t.push(r),r.children.forEach((a,l)=>Bb(a,l,t,r))}function bE(r){let n=r.map(o=>Db(o)),t=[];return n.forEach((o,a)=>Bb(o,a,t)),t}function Hr(r,n){let t=[r];for(;t[0].parent>=0;)t.unshift(n[t[0].parent]);return t}function kd(r){return!r.expand||r.children.length===0?r:kd(r.children[r.children.length-1])}function _E(r,n){var t;if(r.parent>-1){let a=n[r.parent];return kd(a.children[a.children.length-1])}let o=(t=n.slice().reverse().find(a=>a.parent===-1))!==null&&t!==void 0?t:n[0];return kd(o)}function Ii(r,n){n(r)!==!1&&r.children.forEach(o=>Ii(o,n))}function Rs(r,n,t){let o=Hr(r,n),a={children:t,value:Number.NaN},l=o.map(u=>(a=a&&Eb(a)?a.children[u.relIndex]:Number.NaN,a)),c=l[l.length-1];return Eb(c)?c.value:c}function Id(r){return r.expand?r.children.reduce((n,t)=>n+Id(t),0):1}function Rb(r,n){if(r.children.length===0)return[];let t=r.children[0];if(r.parent>=0&&r.relIndexa.levelt.expand==="focus");return n?r.slice(n.index+1).filter(t=>!t.hidden&&Hr(t,r).includes(n)):r.filter(t=>!t.hidden)}function Ab(r,n,t,o="between-first-and-second"){if(r.children.length===0||!r.expand)return!1;let a=r.children[0],l=r.children[r.children.length-1],c=Rb(r,n),u=c.find(Q=>t.has(Q)),f=c.slice().reverse().find(Q=>t.has(Q));if(!u||!f)return!1;let h=Hr(u,n),v=Hr(f,n),w=h[r.level+1]===a,k=v[r.level+1]===l,P=w&&r.expand!=="focus",M=w&&k&&r.children.length>1,V=0;switch(o){case"between-first-and-second":{let Q=n.slice(u.index+1,f.index+1).find(Z=>t.has(Z));V=Q?(u.center+Q.center)/2:u.center}break;case"center":V=(u.center+f.center)/2;break;case"last":V=f.center;break;case"first":default:V=u.center;break}return{hasCollapseBox:P,hasFocusBox:M,leftVisible:u,rightVisible:f,groupLabelCenter:V,leftFirstVisible:w,rightLastVisible:k}}function Pb(r){let n=[],t=o=>(n.push(o.level),o.expand&&o.children.length>0);return r.forEach(o=>Ii(o,t)),Math.max(...n)}function Fb(r){let n="",t=o=>{if(typeof o=="string"){n+=o;return}n+=`(l=${o.label},e=${o.expand},c=[`,(o.children||[]).forEach(t),n+="])"};return r.forEach(t),n}function Mb(r,n){var t;let o=(t=r.config.options)===null||t===void 0?void 0:t.scales;return!o||!Object.prototype.hasOwnProperty.call(o,n)?!1:Object.prototype.hasOwnProperty.call(o[n],"type")}function wd(r){var n;let{options:t}=r.config;if(!t||!Object.prototype.hasOwnProperty.call(t,"scales"))return null;let o=(n=r.config.options)===null||n===void 0?void 0:n.scales;return o&&Mb(r,"x")&&o.x.type==="hierarchical"?"x":o&&Mb(r,"y")&&o.y.type==="hierarchical"?"y":null}function yE(r){if(r.data.labels&&r.data._verify===Fb(r.data.labels))return;let n=bE(r.data.labels);r.data.flatLabels=n,r.data.rootNodes=n.filter(o=>o.parent===-1);let t=vE(n);r.data.labels=t,Lb(r),r.data.datasets.forEach(o=>{o.tree==null&&(o.tree=o.data.slice()),o.data=t.map(a=>Rs(a,n,o.tree))}),Ob(r)}function Lb(r){r.data._verify=Fb(r.data.labels)}function Ob(r){var n;let t=To(r);if(!t)return;let{attributes:o}=t.options,a=r.data.labels,l=(n=r.data.flatLabels)!==null&&n!==void 0?n:[];Object.keys(o).forEach(c=>{r.data.datasets.forEach(u=>{let f=a.map(h=>{for(;h;){if(h[c]!==void 0)return h[c];h=h.parent>=0?l[h.parent]:null}return o[c]});u[c]=f.length>=1&&f.every(h=>h===f[0])?f[0]:f})})}function To(r){return Object.keys(r.scales).map(t=>r.scales[t]).find(t=>t.type==="hierarchical")}function Ps(r){Lb(r),Ob(r),r.update()}function Nb(r,n,t,o){var a,l;let c=r.data.labels,u=(a=r.data.flatLabels)!==null&&a!==void 0?a:[],f=r.data.datasets;c.splice(n,t,...o).forEach(v=>{v.hidden=!0}),o.forEach(v=>{v.hidden=!1}),(l=To(r))===null||l===void 0||l.determineDataLimits(),f.forEach(v=>{var w;let k=o.map(P=>Rs(P,u,v.tree));(w=v.data)===null||w===void 0||w.splice(n,t,...k)})}function CE(r,n,t){let o=Id(t);t.children.forEach(a=>Ii(a,l=>{l.expand=!1})),Nb(r,n,o,[t]),t.expand=!1,Ps(r)}function xE(r,n,t){Nb(r,n,1,t.children),t.expand=!0,Ps(r)}function SE(r,n,t,o){var a;let l=Id(t);o.forEach(h=>{h.expand==="focus"&&(h.expand=!0)}),t.expand="focus";let c=n-l+1,{labels:u}=r.data;u.splice(n+1,u.length),u.splice(0,c),(a=To(r))===null||a===void 0||a.determineDataLimits(),r.data.datasets.forEach(h=>{h.data&&(h.data.splice(n+1,h.data.length),h.data.splice(0,c))}),Ps(r)}function wE(r,n){var t,o;let a=r.data.labels,l=(t=r.data.flatLabels)!==null&&t!==void 0?t:[];n.expand=!0;let c=l.filter(v=>!v.hidden),u=c.indexOf(a[0]),f=a.length;a.splice(a.length,0,...c.slice(u+f)),a.splice(0,0,...c.slice(0,u)),(o=To(r))===null||o===void 0||o.determineDataLimits(),r.data.datasets.forEach(v=>{let w=c.slice(0,u).map(P=>Rs(P,l,v.tree)),k=c.slice(u+f).map(P=>Rs(P,l,v.tree));v.data&&(v.data.splice(v.data.length,0,...k),v.data.splice(0,0,...w))}),Ps(r)}function kE(r,n){let t=n.isHorizontal(),o=t?n.bottom+n.options.padding:n.left-n.options.padding;if(t&&r.y<=o||!t&&r.x>o)return null;let a=n.getValueForPixel(t?r.x-n.left:r.y-n.top);return{offset:o,index:a}}function IE(r,n,t,o,a,l=!1){var c,u;let f=r,{offset:h}=t,{index:v}=t,w=(c=f.data.flatLabels)!==null&&c!==void 0?c:[],k=(u=f.data.labels)===null||u===void 0?void 0:u[v];if(!k)return;let P=Hr(k,w),M=Pb(f.data.rootNodes||[]);l&&(h+=M*o);for(let V=1;Vue.expand!=="focus")){SE(f,v,ee,w);return}}k.children.length>0&&a(h)&&xE(f,v,k)}var TE={id:"hierarchical",beforeUpdate(r){wd(r)&&yE(r)},beforeDatasetsDraw(r){var n,t;if(!wd(r))return;let o=r,a=To(r),{ctx:l}=r;if(!a||!l)return;let c=(n=o.data.flatLabels)!==null&&n!==void 0?n:[],u=r.data.labels,f=(t=o.data.rootNodes)!==null&&t!==void 0?t:[],h=new Set(u),v=a.isHorizontal(),w=a.options.hierarchyBoxSize,k=w*.5,P=w*.1,M=a.options.hierarchyBoxLineHeight,V=a.options.hierarchyBoxColor,Q=a.options.hierarchyBoxWidth,Z=a.options.hierarchySpanColor,ee=a.options.hierarchySpanWidth,de=a.options.hierarchyLabelPosition,ue=a.options.hierarchyGroupLabelPosition,ce=a.options.static,y=a.options.title,x=a.options.reverseOrder,A=Vn(y.color,Wa.color),K=Ar(y.font);function W(fe,q,T,R){if(ce){if(fe==="expand")return;l.save(),l.strokeStyle=Z,l.lineWidth=ee,l.beginPath(),q?(l.moveTo(T-P,R),l.lineTo(T-k,R)):(l.moveTo(T,R+P),l.lineTo(T,R+k),l.lineTo(T+(fe==="collapse"?k:-k),R+k)),l.stroke(),l.restore();return}let U=T-(q?w:k),O=R-(q?k:0);switch(l.strokeRect(U,O,w,w),fe){case"expand":l.fillRect(U+2,O+k-1,w-4,2),l.fillRect(U+k-1,O+2,2,w-4);break;case"collapse":l.fillRect(U+2,O+k-1,w-4,2);break;case"focus":l.fillRect(U+k-2,O+k-2,4,4)}}l.save(),l.strokeStyle=V,l.lineWidth=Q,l.fillStyle=A,l.font=K.string;let pe=(fe,q=0)=>{if(fe.children.length===0)return!1;let T=fe.level*M;if(x&&(T=q*M-fe.level*M),!fe.expand)return h.has(fe)&&W("expand",!1,fe.center,T),!1;let R=Ab(fe,c,h,ue);if(!R)return!1;let{hasFocusBox:U,hasCollapseBox:O,leftVisible:j,rightVisible:H,leftFirstVisible:Ce,rightLastVisible:ve,groupLabelCenter:te}=R;return de==="below"?l.fillText(fe.label,te,T+w):de==="above"&&l.fillText(fe.label,te,T-w),O&&W("collapse",!1,j.center,T),U&&W("focus",!1,H.center,T),j!==H&&(l.strokeStyle=Z,l.lineWidth=ee,l.beginPath(),O?l.moveTo(j.center+k,T+k):Ce?(l.moveTo(j.center,T+P),l.lineTo(j.center,T+k)):l.moveTo(j.center,T+k),U?l.lineTo(H.center-k,T+k):ve?(l.lineTo(H.center,T+k),l.lineTo(H.center,T+P)):l.lineTo(H.center,T+k),l.stroke(),l.strokeStyle=V,l.lineWidth=Q),!0},Fe=(fe,q=0)=>{if(fe.children.length===0)return!1;let T=fe.level*M*-1;if(x&&(T=(q*M-fe.level*M)*-1),!fe.expand)return h.has(fe)&&W("expand",!0,T,fe.center),!1;let R=Ab(fe,c,h,ue);if(!R)return!1;let{hasFocusBox:U,hasCollapseBox:O,leftVisible:j,rightVisible:H,leftFirstVisible:Ce,rightLastVisible:ve,groupLabelCenter:te}=R;return l.fillText(fe.label,T-w,te),O&&W("collapse",!0,T,j.center),U&&W("focus",!0,T,H.center),j!==H&&(l.strokeStyle=Z,l.lineWidth=ee,l.beginPath(),O?l.moveTo(T-k,j.center+k):(Ce&&l.moveTo(T-P,j.center),l.lineTo(T-k,j.center)),U?l.lineTo(T-k,H.center-k):ve?(l.lineTo(T-k,H.center-k),l.lineTo(T-P,H.center-k)):l.lineTo(T-k,H.center),l.stroke(),l.strokeStyle=V,l.lineWidth=Q),!0},Qe=Pb(f);v?(l.textAlign="center",l.textBaseline=de==="above"?"bottom":"top",l.translate(a.left,a.bottom+a.options.padding),f.forEach(fe=>Ii(fe,q=>pe(q,Qe)))):(l.textAlign="right",l.textBaseline="middle",l.translate(a.left-a.options.padding,a.top),f.forEach(fe=>Ii(fe,q=>Fe(q,Qe)))),l.restore()},beforeEvent(r,{event:n}){if(n.type!=="click"||!wd(r))return;let t=n,o=To(r);if(!o||o.options.static)return;let a=o.isHorizontal(),l=kE(t,o);if(!l)return;let c=o.options.hierarchyBoxLineHeight,u=o.options.reverseOrder,f=a?v=>t.y>=v&&t.y<=v+c:v=>t.x<=v&&t.x>=v-c,h=a?c:-c;IE(r,n,l,h,f,u)}},EE={offset:!0,grid:{offset:!0},static:!1,levelPercentage:.75,padding:5,hierarchyLabelPosition:"below",hierarchyGroupLabelPosition:"between-first-and-second",hierarchyBoxSize:14,hierarchyBoxLineHeight:30,hierarchySpanColor:"gray",hierarchySpanWidth:2,hierarchyBoxColor:"gray",hierarchyBoxWidth:1,attributes:{},reverseOrder:!1},Eo=class extends Sc{constructor(){super(...arguments),this._nodes=[]}determineDataLimits(){let n=this.getLabels();this._nodes=n.slice(),super.determineDataLimits()}buildTicks(){let n=this._nodes.slice(this.min,this.max+1),t=this;return t._valueRange=Math.max(n.length,1),t._startValue=this.min-.5,n.length===0?[]:n.map((o,a)=>({label:o.label,value:a}))}configure(){var n;super.configure();let t=this._nodes.slice(this.min,this.max+1),o=(n=this.chart.data.flatLabels)!==null&&n!==void 0?n:[],a=this._length;if(t.length===0)return;let l=this.options.levelPercentage,c=[],u=t[0],f=Hr(u,o);c.push(.5);for(let k=1;kk+P,0),v=a/h,w=c[0]*v;t.forEach((k,P)=>{let M=c[P]*v,V=c[P+1]*v;k.center=w,w+=V,k.width=Math.min(V,M)/2})}getPixelForDecimal(n){let t=Math.min(Math.floor(n*this._nodes.length),this._nodes.length-1);return t===1&&this._nodes.length===1?this._nodes[0].width:this._centerBase(t)}_centerBase(n){let t=this.options.offset,o=this._startPixel,a=this._nodes[n];if(a==null)return o;let l=a.center!=null?a.center:0,c=a.width!=null?a.width:0;return o+l-(t?0:c/2)}getValueForPixel(n){return this._nodes.findIndex(t=>n>=t.center-t.width/2&&n<=t.center+t.width/2)}static afterRegister(){Z0.addPlugins(TE)}};Eo.id="hierarchical";Eo.defaults=bc({},[Sc.defaults,EE]);var zb=[{provide:Ka,deps:[ln,Pa,io,lg,ug,dg],useFactory:(r,n,t,o,a,l)=>new Ka({API_TOKENS:{BASE:"AYS_VIRTUAL_CLINIC_RESOURCE_URL"}},r,n,t,o,a,l)},{provide:Fa,useValue:{resourceName:co.CH_VIRTUAL_CLINIC,resourceService:Ka},multi:!0}];var Vb=[{provide:Ga,deps:[io,ln,Pa],useFactory:(r,n,t)=>new Ga({API_TOKENS:{BASE:"BD_FILES_RESOURCE_URL"}},n,t,r)},{provide:Fa,useValue:{resourceName:co.FILE,resourceService:Ga},multi:!0}];var AE={transitionDuration:"{transition.duration}"},ME={borderWidth:"0",borderColor:"{content.border.color}"},DE={color:"{text.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}",padding:"1.25rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.hover.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.muted.color}",activeColor:"{text.muted.color}",activeHoverColor:"{text.muted.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},BE={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.25rem 1.25rem 1.25rem"},RE=` .p-accordionpanel { box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12); transition: margin dt('accordion.transition.duration'); } .p-accordionpanel-active { margin: 1rem 0; } .p-accordionpanel:first-child { border-top-left-radius: dt('content.border.radius'); border-top-right-radius: dt('content.border.radius'); margin-top: 0; } .p-accordionpanel:last-child { border-bottom-left-radius: dt('content.border.radius'); border-bottom-right-radius: dt('content.border.radius'); margin-bottom: 0; } .p-accordionpanel:not(.p-disabled) .p-accordionheader:focus-visible { background: dt('navigation.item.active.background'); } `,Td={root:AE,panel:ME,header:DE,content:BE,css:RE};var PE={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},FE={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},LE={padding:"{list.padding}",gap:"{list.gap}"},OE={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},NE={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},zE={width:"3rem",sm:{width:"2.5rem"},lg:{width:"3.5rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},VE={borderRadius:"{border.radius.sm}"},UE={padding:"{list.option.padding}"},HE={light:{chip:{focusBackground:"{surface.300}",focusColor:"{surface.950}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.600}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},WE=` .p-autocomplete-dropdown:focus-visible { background: dt('autocomplete.dropdown.hover.background'); border-color: dt('autocomplete.dropdown.hover.border.color'); color: dt('autocomplete.dropdown.hover.color'); } .p-variant-filled.p-autocomplete-input-multiple { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border: 1px solid transparent; background: dt('autocomplete.filled.background') no-repeat; background-image: linear-gradient(to bottom, dt('autocomplete.focus.border.color'), dt('autocomplete.focus.border.color')), linear-gradient(to bottom, dt('autocomplete.border.color'), dt('autocomplete.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); } .p-autocomplete:not(.p-disabled):hover .p-variant-filled.p-autocomplete-input-multiple { background: dt('autocomplete.filled.hover.background') no-repeat; background-image: linear-gradient(to bottom, dt('autocomplete.focus.border.color'), dt('autocomplete.focus.border.color')), linear-gradient(to bottom, dt('autocomplete.hover.border.color'), dt('autocomplete.hover.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-autocomplete:not(.p-disabled).p-focus .p-variant-filled.p-autocomplete-input-multiple { outline: 0 none; background: dt('autocomplete.filled.focus.background') no-repeat; background-image: linear-gradient(to bottom, dt('autocomplete.focus.border.color'), dt('autocomplete.focus.border.color')), linear-gradient(to bottom, dt('autocomplete.border.color'), dt('autocomplete.border.color')); background-size: 100% 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-autocomplete:not(.p-disabled).p-focus:hover .p-variant-filled.p-autocomplete-input-multiple { background-image: linear-gradient(to bottom, dt('autocomplete.focus.border.color'), dt('autocomplete.focus.border.color')), linear-gradient(to bottom, dt('autocomplete.hover.border.color'), dt('autocomplete.hover.border.color')); } .p-autocomplete.p-invalid .p-autocomplete-input-multiple { background-image: linear-gradient(to bottom, dt('autocomplete.invalid.border.color'), dt('autocomplete.invalid.border.color')), linear-gradient(to bottom, dt('autocomplete.invalid.border.color'), dt('autocomplete.invalid.border.color')); } .p-autocomplete.p-invalid.p-focus .p-autocomplete-input-multiple { background-image: linear-gradient(to bottom, dt('autocomplete.invalid.border.color'), dt('autocomplete.invalid.border.color')), linear-gradient(to bottom, dt('autocomplete.invalid.border.color'), dt('autocomplete.invalid.border.color')); } .p-autocomplete-option { transition: none; } `,Ed={root:PE,overlay:FE,list:LE,option:OE,optionGroup:NE,dropdown:zE,chip:VE,emptyMessage:UE,colorScheme:HE,css:WE};var $E={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},KE={size:"1rem"},jE={borderColor:"{content.background}",offset:"-0.75rem"},GE={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},YE={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}};var Ad={root:$E,icon:KE,group:jE,lg:GE,xl:YE,css:""};var qE={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},XE={size:"0.5rem"},QE={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},JE={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},ZE={fontSize:"1rem",minWidth:"2rem",height:"2rem"},eA={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}};var Md={root:qE,dot:XE,sm:QE,lg:JE,xl:ZE,colorScheme:eA,css:""};var tA={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#E8F6F1",100:"#C5EBE1",200:"#9EDFCF",300:"#76D3BD",400:"#58C9AF",500:"#3BBFA1",600:"#35AF94",700:"#2D9B83",800:"#268873",900:"#1A6657",950:"#0d3329"},green:{50:"#E8F5E9",100:"#C8E6C9",200:"#A5D6A7",300:"#81C784",400:"#66BB6A",500:"#4CAF50",600:"#43A047",700:"#388E3C",800:"#2E7D32",900:"#1B5E20",950:"#0e2f10"},lime:{50:"#F9FBE7",100:"#F0F4C3",200:"#E6EE9C",300:"#DCE775",400:"#D4E157",500:"#CDDC39",600:"#C0CA33",700:"#AFB42B",800:"#9E9D24",900:"#827717",950:"#413c0c"},red:{50:"#FFEBEE",100:"#FFCDD2",200:"#EF9A9A",300:"#E57373",400:"#EF5350",500:"#F44336",600:"#E53935",700:"#D32F2F",800:"#C62828",900:"#B71C1C",950:"#5c0e0e"},orange:{50:"#FFF3E0",100:"#FFE0B2",200:"#FFCC80",300:"#FFB74D",400:"#FFA726",500:"#FF9800",600:"#FB8C00",700:"#F57C00",800:"#EF6C00",900:"#E65100",950:"#732900"},amber:{50:"#FFF8E1",100:"#FFECB3",200:"#FFE082",300:"#FFD54F",400:"#FFCA28",500:"#FFC107",600:"#FFB300",700:"#FFA000",800:"#FF8F00",900:"#FF6F00",950:"#803800"},yellow:{50:"#FFFDE7",100:"#FFF9C4",200:"#FFF59D",300:"#FFF176",400:"#FFEE58",500:"#FFEB3B",600:"#FDD835",700:"#FBC02D",800:"#F9A825",900:"#F57F17",950:"#7b400c"},teal:{50:"#E0F2F1",100:"#B2DFDB",200:"#80CBC4",300:"#4DB6AC",400:"#26A69A",500:"#009688",600:"#00897B",700:"#00796B",800:"#00695C",900:"#004D40",950:"#002720"},cyan:{50:"#E0F7FA",100:"#B2EBF2",200:"#80DEEA",300:"#4DD0E1",400:"#26C6DA",500:"#00BCD4",600:"#00ACC1",700:"#0097A7",800:"#00838F",900:"#006064",950:"#003032"},sky:{50:"#E1F5FE",100:"#B3E5FC",200:"#81D4FA",300:"#4FC3F7",400:"#29B6F6",500:"#03A9F4",600:"#039BE5",700:"#0288D1",800:"#0277BD",900:"#01579B",950:"#012c4e"},blue:{50:"#E3F2FD",100:"#BBDEFB",200:"#90CAF9",300:"#64B5F6",400:"#42A5F5",500:"#2196F3",600:"#1E88E5",700:"#1976D2",800:"#1565C0",900:"#0D47A1",950:"#072451"},indigo:{50:"#E8EAF6",100:"#C5CAE9",200:"#9FA8DA",300:"#7986CB",400:"#5C6BC0",500:"#3F51B5",600:"#3949AB",700:"#303F9F",800:"#283593",900:"#1A237E",950:"#0d123f"},violet:{50:"#EDE7F6",100:"#D1C4E9",200:"#B39DDB",300:"#9575CD",400:"#7E57C2",500:"#673AB7",600:"#5E35B1",700:"#512DA8",800:"#4527A0",900:"#311B92",950:"#190e49"},purple:{50:"#F3E5F5",100:"#E1BEE7",200:"#CE93D8",300:"#BA68C8",400:"#AB47BC",500:"#9C27B0",600:"#8E24AA",700:"#7B1FA2",800:"#6A1B9A",900:"#4A148C",950:"#250a46"},fuchsia:{50:"#FDE6F3",100:"#FBC1E3",200:"#F897D1",300:"#F56DBF",400:"#F34DB2",500:"#F12DA5",600:"#E0289D",700:"#CC2392",800:"#B81E88",900:"#951777",950:"#4b0c3c"},pink:{50:"#FCE4EC",100:"#F8BBD0",200:"#F48FB1",300:"#F06292",400:"#EC407A",500:"#E91E63",600:"#D81B60",700:"#C2185B",800:"#AD1457",900:"#880E4F",950:"#440728"},rose:{50:"#FFF0F0",100:"#FFD9D9",200:"#FFC0C0",300:"#FFA7A7",400:"#FF8E8E",500:"#FF7575",600:"#FF5252",700:"#FF3838",800:"#F71C1C",900:"#D50000",950:"#3E0000"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},nA={transitionDuration:"0.2s",focusRing:{width:"0",style:"none",color:"unset",offset:"0"},disabledOpacity:"0.38",iconSize:"1rem",anchorGutter:"0",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.75rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.625rem"},lg:{fontSize:"1.125rem",paddingX:"0.825rem",paddingY:"0.825rem"},borderRadius:"{border.radius.sm}",focusRing:{width:"2px",style:"solid",color:"{primary.color}",offset:"-2px",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.5rem 0",gap:"0",header:{padding:"0.75rem 1rem"},option:{padding:"0.75rem 1rem",borderRadius:"{border.radius.none}"},optionGroup:{padding:"0.75rem 1rem",fontWeight:"700"}},content:{borderRadius:"{border.radius.sm}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.5rem 0",gap:"0"},item:{padding:"0.75rem 1rem",borderRadius:"{border.radius.none}",gap:"0.5rem"},submenuLabel:{padding:"0.75rem 1rem",fontWeight:"700"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.sm}",shadow:"0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12)"},popover:{borderRadius:"{border.radius.sm}",padding:"1rem",shadow:"0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12)"},modal:{borderRadius:"{border.radius.sm}",padding:"1.5rem",shadow:"0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12)"},navigation:{shadow:"0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12)"}},colorScheme:{light:{focusRing:{shadow:"0 0 1px 4px {surface.200}"},surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.400}",activeColor:"{primary.300}"},highlight:{background:"color-mix(in srgb, {primary.color}, transparent 88%)",focusBackground:"color-mix(in srgb, {primary.color}, transparent 76%)",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.32)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.300}",filledBackground:"{surface.100}",filledHoverBackground:"{surface.200}",filledFocusBackground:"{surface.100}",borderColor:"{surface.400}",hoverBorderColor:"{surface.900}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.800}",color:"{surface.900}",disabledColor:"{surface.600}",placeholderColor:"{surface.600}",invalidPlaceholderColor:"{red.800}",floatLabelColor:"{surface.600}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.600}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.600}",shadow:"none"},text:{color:"{surface.900}",hoverColor:"{surface.900}",mutedColor:"{surface.600}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.300}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.0}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.0}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.0}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.600}",focusColor:"{surface.600}"}},optionGroup:{background:"transparent",color:"{text.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.200}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.600}",focusColor:"{surface.600}",activeColor:"{surface.600}"}},submenuLabel:{background:"transparent",color:"{text.color}"},submenuIcon:{color:"{surface.600}",focusColor:"{surface.600}",activeColor:"{surface.600}"}}},dark:{focusRing:{shadow:"0 0 1px 4px {surface.700}"},surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.700}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.300}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"none"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.400}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.900}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.900}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.900}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},Dd={primitive:tA,semantic:nA};var rA={borderRadius:"{content.border.radius}"};var Bd={root:rA,css:""};var oA={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},iA={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},aA={color:"{navigation.item.icon.color}"};var Rd={root:oA,item:iA,separator:aA,css:""};var sA={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"1rem",paddingY:"0.625rem",iconOnlyWidth:"3rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2.5rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3.5rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},lA={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.400}",activeBackground:"{sky.300}",borderColor:"{sky.500}",hoverBorderColor:"{sky.400}",activeBorderColor:"{sky.300}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.400}",activeBackground:"{green.300}",borderColor:"{green.500}",hoverBorderColor:"{green.400}",activeBorderColor:"{green.300}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.400}",activeBackground:"{orange.300}",borderColor:"{orange.500}",hoverBorderColor:"{orange.400}",activeBorderColor:"{orange.300}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.400}",activeBackground:"{purple.300}",borderColor:"{purple.500}",hoverBorderColor:"{purple.400}",activeBorderColor:"{purple.300}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.400}",activeBackground:"{red.300}",borderColor:"{red.500}",hoverBorderColor:"{red.400}",activeBorderColor:"{red.300}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.950}",hoverBorderColor:"{surface.800}",activeBorderColor:"{surface.700}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.color}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.600}",color:"{surface.600}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.500}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.500}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.500}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.500}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.500}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.950}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.900}",color:"{surface.900}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.600}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.900}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},cA=` .p-button:focus-visible { background: dt('button.primary.active.background'); border-color: dt('button.primary.active.background'); } .p-button-secondary:focus-visible { background: dt('button.secondary.active.background'); border-color: dt('button.secondary.active.background'); } .p-button-success:focus-visible { background: dt('button.success.active.background'); border-color: dt('button.success.active.background'); } .p-button-info:focus-visible { background: dt('button.info.active.background'); border-color: dt('button.info.active.background'); } .p-button-warn:focus-visible { background: dt('button.warn.active.background'); border-color: dt('button.warn.active.background'); } .p-button-help:focus-visible { background: dt('button.help.active.background'); border-color: dt('button.help.active.background'); } .p-button-danger:focus-visible { background: dt('button.danger.active.background'); border-color: dt('button.danger.active.background'); } .p-button-contrast:focus-visible { background: dt('button.contrast.active.background'); border-color: dt('button.contrast.active.background'); } .p-button-link:focus-visible { background: color-mix(in srgb, dt('primary.color'), transparent 84%); border-color: transparent; } .p-button-text:focus-visible { background: dt('button.text.primary.active.background'); border-color: transparent; } .p-button-secondary.p-button-text:focus-visible { background: dt('button.text.secondary.active.background'); border-color: transparent; } .p-button-success.p-button-text:focus-visible { background: dt('button.text.success.active.background'); border-color: transparent; } .p-button-info.p-button-text:focus-visible { background: dt('button.text.info.active.background'); border-color: transparent; } .p-button-warn.p-button-text:focus-visible { background: dt('button.text.warn.active.background'); border-color: transparent; } .p-button-help.p-button-text:focus-visible { background: dt('button.text.help.active.background'); border-color: transparent; } .p-button-danger.p-button-text:focus-visible { background: dt('button.text.danger.active.background'); border-color: transparent; } .p-button-contrast.p-button-text:focus-visible { background: dt('button.text.contrast.active.background'); border-color: transparent; } .p-button-plain.p-button-text:focus-visible { background: dt('button.text.plain.active.background'); border-color: transparent; } .p-button-outlined:focus-visible { background: dt('button.outlined.primary.active.background'); } .p-button-secondary.p-button-outlined:focus-visible { background: dt('button.outlined.secondary.active.background'); border-color: dt('button.outlined.secondary.border.color'); } .p-button-success.p-button-outlined:focus-visible { background: dt('button.outlined.success.active.background'); } .p-button-info.p-button-outlined:focus-visible { background: dt('button.outlined.info.active.background'); } .p-button-warn.p-button-outlined:focus-visible { background: dt('button.outlined.warn.active.background'); } .p-button-help.p-button-outlined:focus-visible { background: dt('button.outlined.help.active.background'); } .p-button-danger.p-button-outlined:focus-visible { background: dt('button.outlined.danger.active.background'); } .p-button-contrast.p-button-outlined:focus-visible { background: dt('button.outlined.contrast.active.background'); } .p-button-plain.p-button-outlined:focus-visible { background: dt('button.outlined.plain.active.background'); } `,Pd={root:sA,colorScheme:lA,css:cA};var dA={background:"{content.background}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12)"},uA={padding:"1.5rem",gap:"0.75rem"},pA={gap:"0.5rem"},fA={fontSize:"1.25rem",fontWeight:"500"},mA={color:"{text.muted.color}"};var Fd={root:dA,body:uA,caption:pA,title:fA,subtitle:mA,css:""};var gA={transitionDuration:"{transition.duration}"},hA={gap:"0.25rem"},bA={padding:"1rem",gap:"1rem"},_A={width:"1.25rem",height:"1.25rem",borderRadius:"50%",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},vA={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},yA=` .p-carousel-indicator-button:hover { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('text.color'), transparent 96%); } .p-carousel-indicator-button:focus-visible { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('text.color'), transparent 96%); } .p-carousel-indicator-active .p-carousel-indicator-button:hover { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('carousel.indicator.active.background'), transparent 92%); } .p-carousel-indicator-active .p-carousel-indicator-button:focus-visible { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('carousel.indicator.active.background'), transparent 84%); } `,Ld={root:gA,content:hA,indicatorList:bA,indicator:_A,colorScheme:vA,css:yA};var CA={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},xA={width:"2.5rem",color:"{form.field.icon.color}"},SA={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},wA={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},kA={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},IA={color:"{form.field.icon.color}"},TA=` .p-cascadeselect.p-variant-filled { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border: 1px solid transparent; background: dt('cascadeselect.filled.background') no-repeat; background-image: linear-gradient(to bottom, dt('cascadeselect.focus.border.color'), dt('cascadeselect.focus.border.color')), linear-gradient(to bottom, dt('cascadeselect.border.color'), dt('cascadeselect.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); } .p-cascadeselect.p-variant-filled:not(.p-disabled):hover { background: dt('cascadeselect.filled.hover.background') no-repeat; background-image: linear-gradient(to bottom, dt('cascadeselect.focus.border.color'), dt('cascadeselect.focus.border.color')), linear-gradient(to bottom, dt('cascadeselect.hover.border.color'), dt('cascadeselect.hover.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-cascadeselect.p-variant-filled:not(.p-disabled).p-focus { outline: 0 none; background: dt('cascadeselect.filled.focus.background') no-repeat; background-image: linear-gradient(to bottom, dt('cascadeselect.focus.border.color'), dt('cascadeselect.focus.border.color')), linear-gradient(to bottom, dt('cascadeselect.border.color'), dt('cascadeselect.border.color')); background-size: 100% 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-cascadeselect.p-variant-filled:not(.p-disabled).p-focus:hover { background-image: linear-gradient(to bottom, dt('cascadeselect.focus.border.color'), dt('cascadeselect.focus.border.color')), linear-gradient(to bottom, dt('cascadeselect.hover.border.color'), dt('cascadeselect.hover.border.color')); } .p-cascadeselect.p-variant-filled.p-invalid { background-image: linear-gradient(to bottom, dt('cascadeselect.invalid.border.color'), dt('cascadeselect.invalid.border.color')), linear-gradient(to bottom, dt('cascadeselect.invalid.border.color'), dt('cascadeselect.invalid.border.color')); } .p-cascadeselect.p-variant-filled.p-invalid:not(.p-disabled).p-focus { background-image: linear-gradient(to bottom, dt('cascadeselect.invalid.border.color'), dt('cascadeselect.invalid.border.color')), linear-gradient(to bottom, dt('cascadeselect.invalid.border.color'), dt('cascadeselect.invalid.border.color')); } .p-cascadeselect-option { transition: none; } `,Od={root:CA,dropdown:xA,overlay:SA,list:wA,option:kA,clearIcon:IA,css:TA};var EA={borderRadius:"{border.radius.xs}",width:"18px",height:"18px",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"},transitionDuration:"{form.field.transition.duration}",sm:{width:"14px",height:"14px"},lg:{width:"22px",height:"22px"}},AA={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},MA=` .p-checkbox { border-radius: 50%; transition: box-shadow dt('checkbox.transition.duration'); } .p-checkbox-box { border-width: 2px; } .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('text.color'), transparent 96%); } .p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('text.color'), transparent 88%); } .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('checkbox.checked.background'), transparent 92%); } .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('checkbox.checked.background'), transparent 84%); } .p-checkbox-checked .p-checkbox-box:before { content: ""; position: absolute; top: var(--p-md-check-icon-t); left: 2px; border-right: 2px solid transparent; border-bottom: 2px solid transparent; transform: rotate(45deg); transform-origin: 0% 100%; animation: p-md-check 125ms 50ms linear forwards; } .p-checkbox-checked .p-checkbox-icon { display: none; } .p-checkbox { --p-md-check-icon-t: 10px; --p-md-check-icon-w: 6px; --p-md-check-icon-h: 12px; } .p-checkbox-sm { --p-md-check-icon-t: 8px; --p-md-check-icon-w: 4px; --p-md-check-icon-h: 10px; } .p-checkbox-lg { --p-md-check-icon-t: 12px; --p-md-check-icon-w: 8px; --p-md-check-icon-h: 16px; } @keyframes p-md-check { 0%{ width: 0; height: 0; border-color: dt('checkbox.icon.checked.color'); transform: translate3d(0,0,0) rotate(45deg); } 33%{ width: var(--p-md-check-icon-w); height: 0; transform: translate3d(0,0,0) rotate(45deg); } 100%{ width: var(--p-md-check-icon-w); height: var(--p-md-check-icon-h); border-color: dt('checkbox.icon.checked.color'); transform: translate3d(0,calc(-1 * var(--p-md-check-icon-h)),0) rotate(45deg); } } `,Nd={root:EA,icon:AA,css:MA};var DA={borderRadius:"2rem",paddingX:"0.75rem",paddingY:"0.75rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},BA={width:"2.25rem",height:"2.25rem"},RA={size:"1rem"},PA={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}"}},FA={light:{root:{background:"{surface.200}",color:"{surface.900}"},icon:{color:"{surface.600}"},removeIcon:{color:"{surface.600}",focusRing:{shadow:"0 0 1px 4px {surface.300}"}}},dark:{root:{background:"{surface.700}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}",focusRing:{shadow:"0 0 1px 4px {surface.600}"}}}};var zd={root:DA,image:BA,icon:RA,removeIcon:PA,colorScheme:FA,css:""};var LA={transitionDuration:"{transition.duration}"},OA={width:"2rem",height:"2rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},NA={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},zA={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}};var Vd={root:LA,preview:OA,panel:NA,colorScheme:zA,css:""};var VA={size:"2rem",color:"{overlay.modal.color}"},UA={gap:"1rem"};var Ud={icon:VA,content:UA,css:""};var HA={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},WA={padding:"{overlay.popover.padding}",gap:"1rem"},$A={size:"1.5rem",color:"{overlay.popover.color}"},KA={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"};var Hd={root:HA,content:WA,icon:$A,footer:KA,css:""};var jA={background:"{content.background}",borderColor:"transparent",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},GA={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},YA={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},qA={mobileIndent:"1rem"},XA={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},QA={borderColor:"{content.border.color}"};var Wd={root:jA,list:GA,item:YA,submenu:qA,submenuIcon:XA,separator:QA,css:""};var JA={transitionDuration:"{transition.duration}"},ZA={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},eM={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},tM={fontWeight:"600"},nM={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},rM={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},oM={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},iM={fontWeight:"600"},aM={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},sM={color:"{primary.color}"},lM={width:"0.5rem"},cM={width:"1px",color:"{primary.color}"},dM={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},uM={size:"2rem"},pM={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},fM={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},mM={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},gM={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},hM={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},bM=` .p-datatable-header-cell, .p-datatable-tbody > tr { transition: none; } `,$d={root:JA,header:ZA,headerCell:eM,columnTitle:tM,row:nM,bodyCell:rM,footerCell:oM,columnFooter:iM,footer:aM,dropPoint:sM,columnResizer:lM,resizeIndicator:cM,sortIcon:dM,loadingIcon:uM,rowToggleButton:pM,filter:fM,paginatorTop:mM,paginatorBottom:gM,colorScheme:hM,css:bM};var _M={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},vM={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},yM={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},CM={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},xM={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},SM={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"};var Kd={root:_M,header:vM,content:yM,footer:CM,paginatorTop:xM,paginatorBottom:SM,css:""};var wM={transitionDuration:"{transition.duration}"},kM={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"0.5rem"},IM={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},TM={gap:"0.5rem",fontWeight:"700"},EM={width:"3rem",sm:{width:"2.5rem"},lg:{width:"3.5rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},AM={color:"{form.field.icon.color}"},MM={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.5rem 0.75rem",borderRadius:"{content.border.radius}"},DM={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.5rem 0.75rem",borderRadius:"{content.border.radius}"},BM={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},RM={margin:"0.5rem 0 0 0"},PM={padding:"0.5rem",fontWeight:"700",color:"{content.color}"},FM={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",padding:"0.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},LM={margin:"0.5rem 0 0 0"},OM={padding:"0.625rem",borderRadius:"{content.border.radius}"},NM={margin:"0.5rem 0 0 0"},zM={padding:"0.625rem",borderRadius:"{content.border.radius}"},VM={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},UM={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},HM={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},WM=` .p-datepicker-header { justify-content: start; } .p-datepicker-title { order: 1; } .p-datepicker-prev-button { order: 2; margin-inline-start: auto; } .p-datepicker-next-button { order: 2; margin-inline-start: 0.5rem; } .p-datepicker-select-month:focus-visible { background: dt('datepicker.select.month.hover.background'); color: dt('datepicker.select.month.hover.color'); outline: 0 none; } .p-datepicker-select-year:focus-visible { background: dt('datepicker.select.year.hover.background'); color: dt('datepicker.select.year.hover.color'); outline: 0 none; } .p-datepicker-dropdown:focus-visible { outline: 0 none; background: dt('datepicker.dropdown.hover.background'); border-color: dt('datepicker.dropdown.hover.border.color'); color: dt('datepicker.dropdown.hover.color'); } `,jd={root:wM,panel:kM,header:IM,title:TM,dropdown:EM,inputIcon:AM,selectMonth:MM,selectYear:DM,group:BM,dayView:RM,weekDay:PM,date:FM,monthView:LM,month:OM,yearView:NM,year:zM,buttonbar:VM,timePicker:UM,colorScheme:HM,css:WM};var $M={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},KM={padding:"{overlay.modal.padding}",gap:"0.5rem"},jM={fontSize:"1.25rem",fontWeight:"600"},GM={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},YM={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"};var Gd={root:$M,header:KM,title:jM,content:GM,footer:YM,css:""};var qM={borderColor:"{content.border.color}"},XM={background:"{content.background}",color:"{text.color}"},QM={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},JM={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}};var Yd={root:qM,content:XM,horizontal:QM,vertical:JM,css:""};var ZM={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},eD={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}};var qd={root:ZM,item:eD,css:""};var tD={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},nD={padding:"{overlay.modal.padding}"},rD={fontSize:"1.5rem",fontWeight:"600"},oD={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},iD={padding:"{overlay.modal.padding}"};var Xd={root:tD,header:nD,title:rD,content:oD,footer:iD,css:""};var aD={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},sD={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},lD={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},cD={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},dD={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},uD=` .p-editor .p-editor-toolbar { padding: 0.75rem } `,Qd={toolbar:aD,toolbarItem:sD,overlay:lD,overlayOption:cD,content:dD,css:uD};var pD={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.25rem 1.25rem 1.25rem",transitionDuration:"{transition.duration}"},fD={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.75rem 1rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},mD={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},gD={padding:"0"},hD=` .p-fieldset-toggle-button:focus-visible { background: dt('navigation.item.active.background'); } `,Jd={root:pD,legend:fD,toggleIcon:mD,content:gD,css:hD};var bD={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},_D={background:"transparent",color:"{text.color}",padding:"1.25rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},vD={highlightBorderColor:"{primary.color}",padding:"0 1.25rem 1.25rem 1.25rem",gap:"1rem"},yD={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},CD={gap:"0.5rem"},xD={height:"0.25rem"},SD={gap:"0.5rem"};var Zd={root:bD,header:_D,content:vD,file:yD,fileList:CD,progressbar:xD,basic:SD,css:""};var wD={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},kD={active:{top:"-1.25rem"}},ID={input:{paddingTop:"1.5rem",paddingBottom:"0.5rem"},active:{top:"0.5rem"}},TD={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}};var eu={root:wD,over:kD,in:ID,on:TD,css:""};var ED={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},AD={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},MD={size:"1.5rem"},DD={background:"{content.background}",padding:"1rem 0.25rem"},BD={size:"2rem",borderRadius:"50%",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},RD={size:"1rem"},PD={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},FD={gap:"0.5rem",padding:"1rem"},LD={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},OD={background:"rgba(0, 0, 0, 0.5)"},ND={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},zD={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},VD={size:"1.5rem"},UD={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}};var tu={root:ED,navButton:AD,navIcon:MD,thumbnailsContent:DD,thumbnailNavButton:BD,thumbnailNavButtonIcon:RD,caption:PD,indicatorList:FD,indicatorButton:LD,insetIndicatorList:OD,insetIndicatorButton:ND,closeButton:zD,closeButtonIcon:VD,colorScheme:UD,css:""};var HD={color:"{form.field.icon.color}"};var nu={icon:HD,css:""};var WD={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"0.5rem",fontSize:"0.75rem",fontWeight:"400"},$D={paddingTop:"1.5rem",paddingBottom:"0.5rem"};var ru={root:WD,input:$D,css:""};var KD={transitionDuration:"{transition.duration}"},jD={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},GD={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},YD={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}};var ou={root:KD,preview:jD,toolbar:GD,action:YD,css:""};var qD={size:"20px",hoverSize:"40px",background:"rgba(255,255,255,0.4)",hoverBackground:"rgba(255,255,255,0.6)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}};var iu={handle:qD,css:""};var XD={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},QD={fontWeight:"500"},JD={size:"1rem"},ZD={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}};var au={root:XD,text:QD,icon:JD,colorScheme:ZD,css:""};var e5={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},t5={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"};var su={root:e5,display:t5,css:""};var n5={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},r5={borderRadius:"{border.radius.sm}"},o5={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}};var lu={root:n5,chip:r5,colorScheme:o5,css:""};var i5={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.75rem",minWidth:"3rem"},a5=` .p-inputgroup:has(.p-variant-filled) .p-inputgroupaddon { border-block-start-color: dt('inputtext.filled.background'); border-inline-color: dt('inputtext.filled.background'); background: dt('inputtext.filled.background') no-repeat; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } `,cu={addon:i5,css:a5};var s5={transitionDuration:"{transition.duration}"},l5={width:"3rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},c5={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},d5=` .p-inputnumber-stacked .p-inputnumber-button-group { top: 2px; right: 2px; height: calc(100% - 4px); } .p-inputnumber-horizontal:has(.p-variant-filled) .p-inputnumber-button { border-block-start-color: dt('inputtext.filled.background'); border-inline-color: dt('inputtext.filled.background'); background: dt('inputtext.filled.background') no-repeat; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .p-inputnumber-vertical:has(.p-variant-filled) .p-inputnumber-button { border-block-color: dt('inputtext.filled.background'); border-inline-color: dt('inputtext.filled.background'); background: dt('inputtext.filled.background') no-repeat; } .p-inputnumber-vertical:has(.p-variant-filled) .p-inputnumber-increment-button { border-block-end: 1px solid dt('inputtext.border.color') } `,du={root:s5,button:l5,colorScheme:c5,css:d5};var u5={gap:"0.5rem"},p5={width:"3rem",sm:{width:"2.5rem"},lg:{width:"3.5rem"}};var uu={root:u5,input:p5,css:""};var f5={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},m5=` .p-inputtext.p-variant-filled { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border: 1px solid transparent; background: dt('inputtext.filled.background') no-repeat; background-image: linear-gradient(to bottom, dt('inputtext.focus.border.color'), dt('inputtext.focus.border.color')), linear-gradient(to bottom, dt('inputtext.border.color'), dt('inputtext.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); } .p-inputtext.p-variant-filled:enabled:hover { background: dt('inputtext.filled.hover.background') no-repeat; background-image: linear-gradient(to bottom, dt('inputtext.focus.border.color'), dt('inputtext.focus.border.color')), linear-gradient(to bottom, dt('inputtext.hover.border.color'), dt('inputtext.hover.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-inputtext.p-variant-filled:enabled:focus { outline: 0 none; background: dt('inputtext.filled.focus.background') no-repeat; background-image: linear-gradient(to bottom, dt('inputtext.focus.border.color'), dt('inputtext.focus.border.color')), linear-gradient(to bottom, dt('inputtext.border.color'), dt('inputtext.border.color')); background-size: 100% 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-inputtext.p-variant-filled:enabled:hover:focus { background-image: linear-gradient(to bottom, dt('inputtext.focus.border.color'), dt('inputtext.focus.border.color')), linear-gradient(to bottom, dt('inputtext.hover.border.color'), dt('inputtext.hover.border.color')); } .p-inputtext.p-variant-filled.p-invalid { background-image: linear-gradient(to bottom, dt('inputtext.invalid.border.color'), dt('inputtext.invalid.border.color')), linear-gradient(to bottom, dt('inputtext.invalid.border.color'), dt('inputtext.invalid.border.color')); } .p-inputtext.p-variant-filled.p-invalid:enabled:focus { background-image: linear-gradient(to bottom, dt('inputtext.invalid.border.color'), dt('inputtext.invalid.border.color')), linear-gradient(to bottom, dt('inputtext.invalid.border.color'), dt('inputtext.invalid.border.color')); } .p-inputtext.p-variant-filled:disabled { background: dt('inputtext.disabled.background') no-repeat; background-image: linear-gradient(to bottom, dt('inputtext.border.color'), dt('inputtext.border.color')), linear-gradient(to bottom, dt('inputtext.border.color'), dt('inputtext.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } `,pu={root:f5,css:m5};var g5={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},h5={background:"{primary.color}"},b5={background:"{content.border.color}"},_5={color:"{text.muted.color}"};var fu={root:g5,value:h5,range:b5,text:_5,css:""};var v5={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},y5={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},C5={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},x5={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},S5={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},w5={padding:"{list.option.padding}"},k5={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},I5=` .p-listbox-option { transition: none; } `,mu={root:v5,list:y5,option:C5,optionGroup:x5,checkmark:S5,emptyMessage:w5,colorScheme:k5,css:I5};var T5={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},E5={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},A5={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},M5={padding:"0",background:"{content.background}",borderColor:"transparent",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},D5={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},B5={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},R5={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},P5={borderColor:"{content.border.color}"},F5={borderRadius:"50%",size:"2.5rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},L5=` .p-megamenu-button:focus-visible { background: dt('navigation.item.active.background'); } `,gu={root:T5,baseItem:E5,item:A5,overlay:M5,submenu:D5,submenuLabel:B5,submenuIcon:R5,separator:P5,mobileButton:F5,css:L5};var O5={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},N5={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},z5={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},V5={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},U5={borderColor:"{content.border.color}"},H5=` .p-menu-overlay { border-color: transparent; } `,hu={root:O5,list:N5,item:z5,submenuLabel:V5,separator:U5,css:H5};var W5={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},$5={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},K5={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},j5={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"transparent",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},G5={borderColor:"{content.border.color}"},Y5={borderRadius:"50%",size:"2.5rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},q5=` .p-menubar-button:focus-visible { background: dt('navigation.item.active.background'); } `,bu={root:W5,baseItem:$5,item:K5,submenu:j5,separator:G5,mobileButton:Y5,css:q5};var X5={borderRadius:"{content.border.radius}",borderWidth:"0",transitionDuration:"{transition.duration}"},Q5={padding:"1rem 1.25rem",gap:"0.5rem",sm:{padding:"0.625rem 0.625rem"},lg:{padding:"0.825rem 0.825rem"}},J5={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},Z5={size:"1.25rem",sm:{size:"1rem"},lg:{size:"1.5rem"}},eB={width:"2rem",height:"2rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},tB={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},nB={root:{borderWidth:"1px"}},rB={content:{padding:"0"}},oB={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"none",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"none",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.900}",shadow:"none",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.900}",borderColor:"{yellow.900}"},simple:{color:"{yellow.900}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"none",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"none",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.600}",borderColor:"{surface.600}"},simple:{color:"{surface.600}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"none",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"none",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"none",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"none",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"none",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"none",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"none",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}};var _u={root:X5,content:Q5,text:J5,icon:Z5,closeButton:eB,closeIcon:tB,outlined:nB,simple:rB,colorScheme:oB,css:""};var iB={borderRadius:"{content.border.radius}",gap:"1rem"},aB={background:"{content.border.color}",size:"0.5rem"},sB={gap:"0.5rem"},lB={size:"0.5rem"},cB={size:"1rem"},dB={verticalGap:"0.5rem",horizontalGap:"1rem"};var vu={root:iB,meters:aB,label:sB,labelMarker:lB,labelIcon:cB,labelList:dB,css:""};var uB={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},pB={width:"2.5rem",color:"{form.field.icon.color}"},fB={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},mB={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},gB={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.75rem"},hB={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},bB={color:"{form.field.icon.color}"},_B={borderRadius:"{border.radius.sm}"},vB={padding:"{list.option.padding}"},yB=` .p-multiselect.p-variant-filled { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border: 1px solid transparent; background: dt('multiselect.filled.background') no-repeat; background-image: linear-gradient(to bottom, dt('multiselect.focus.border.color'), dt('multiselect.focus.border.color')), linear-gradient(to bottom, dt('multiselect.border.color'), dt('multiselect.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); } .p-multiselect.p-variant-filled:not(.p-disabled):hover { background: dt('multiselect.filled.hover.background') no-repeat; background-image: linear-gradient(to bottom, dt('multiselect.focus.border.color'), dt('multiselect.focus.border.color')), linear-gradient(to bottom, dt('multiselect.hover.border.color'), dt('multiselect.hover.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-multiselect.p-variant-filled:not(.p-disabled).p-focus { outline: 0 none; background: dt('multiselect.filled.focus.background') no-repeat; background-image: linear-gradient(to bottom, dt('multiselect.focus.border.color'), dt('multiselect.focus.border.color')), linear-gradient(to bottom, dt('multiselect.border.color'), dt('multiselect.border.color')); background-size: 100% 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-multiselect.p-variant-filled:not(.p-disabled).p-focus:hover { background-image: linear-gradient(to bottom, dt('multiselect.focus.border.color'), dt('multiselect.focus.border.color')), linear-gradient(to bottom, dt('multiselect.hover.border.color'), dt('multiselect.hover.border.color')); } .p-multiselect.p-variant-filled.p-invalid { background-image: linear-gradient(to bottom, dt('multiselect.invalid.border.color'), dt('multiselect.invalid.border.color')), linear-gradient(to bottom, dt('multiselect.invalid.border.color'), dt('multiselect.invalid.border.color')); } .p-multiselect.p-variant-filled.p-invalid:not(.p-disabled).p-focus { background-image: linear-gradient(to bottom, dt('multiselect.invalid.border.color'), dt('multiselect.invalid.border.color')), linear-gradient(to bottom, dt('multiselect.invalid.border.color'), dt('multiselect.invalid.border.color')); } .p-multiselect-option { transition: none; } `,yu={root:uB,dropdown:pB,overlay:fB,list:mB,option:gB,optionGroup:hB,chip:_B,clearIcon:bB,emptyMessage:vB,css:yB};var CB={gap:"1.125rem"},xB={gap:"0.5rem"};var Cu={root:CB,controls:xB,css:""};var SB={gutter:"0.75rem",transitionDuration:"{transition.duration}"},wB={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"1rem 1.25rem",toggleablePadding:"1rem 1.25rem 1.5rem 1.25rem",borderRadius:"{content.border.radius}"},kB={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},IB={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"};var xu={root:SB,node:wB,nodeToggleButton:kB,connector:IB,css:""};var TB={outline:{width:"2px",color:"{content.background}"}};var Su={root:TB,css:""};var EB={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},AB={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},MB={color:"{text.muted.color}"},DB={maxWidth:"2.5rem"};var wu={root:EB,navButton:AB,currentPageReport:MB,jumpToPageInput:DB,css:""};var BB={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},RB={background:"transparent",color:"{text.color}",padding:"1.25rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},PB={padding:"0.5rem 1.25rem"},FB={fontWeight:"600"},LB={padding:"0 1.25rem 1.25rem 1.25rem"},OB={padding:"0 1.25rem 1.25rem 1.25rem"};var ku={root:BB,header:RB,toggleableHeader:PB,title:FB,content:LB,footer:OB,css:""};var NB={gap:"0",transitionDuration:"{transition.duration}"},zB={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"0",color:"{content.color}",padding:"0",borderRadius:"0",first:{borderWidth:"0",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"0",bottomBorderRadius:"{content.border.radius}"}},VB={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},UB={indent:"1rem"},HB={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},WB=` .p-panelmenu-panel { box-shadow: 0 0 0 1px dt('panelmenu.panel.border.color'); transition: margin dt('panelmenu.transition.duration'); } .p-panelmenu-panel:has(.p-panelmenu-header-active) { margin: 1rem 0; } .p-panelmenu-panel:first-child { border-top-left-radius: dt('content.border.radius'); border-top-right-radius: dt('content.border.radius'); margin-top: 0; } .p-panelmenu-panel:last-child { border-bottom-left-radius: dt('content.border.radius'); border-bottom-right-radius: dt('content.border.radius'); margin-bottom: 0; } .p-accordionpanel:not(.p-disabled) .p-accordionheader:focus-visible { background: dt('navigation.item.active.background'); } `,Iu={root:NB,panel:zB,item:VB,submenu:UB,submenuIcon:HB,css:WB};var $B={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},KB={color:"{form.field.icon.color}"},jB={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},GB={gap:"0.5rem"},YB={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}};var Tu={meter:$B,icon:KB,overlay:jB,content:GB,colorScheme:YB,css:""};var qB={gap:"1.125rem"},XB={gap:"0.5rem"};var Eu={root:qB,controls:XB,css:""};var QB={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},JB={padding:"{overlay.popover.padding}"};var Au={root:QB,content:JB,css:""};var ZB={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1rem"},eR={background:"{primary.color}"},tR={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"};var Mu={root:ZB,value:eR,label:tR,css:""};var nR={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}};var Du={colorScheme:nR,css:""};var rR={width:"20px",height:"20px",background:"{form.field.background}",checkedBackground:"{primary.contrast.color}",checkedHoverBackground:"{primary.contrast.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"},transitionDuration:"{form.field.transition.duration}",sm:{width:"16px",height:"16px"},lg:{width:"24px",height:"24px"}},oR={size:"10px",checkedColor:"{primary.color}",checkedHoverColor:"{primary.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"8px"},lg:{size:"12px"}};var Bu={root:rR,icon:oR};var iR={gap:"0.5rem",transitionDuration:"{transition.duration}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},aR={size:"1.125rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},sR=` .p-rating:not(.p-disabled):not(.p-readonly) .p-rating-option:hover { background: color-mix(in srgb, dt('rating.icon.color'), transparent 96%); box-shadow: 0 0 1px 8px color-mix(in srgb, dt('rating.icon.color'), transparent 96%); } .p-rating:not(.p-disabled):not(.p-readonly) .p-rating-option-active:hover { background: color-mix(in srgb, dt('rating.icon.active.color'), transparent 92%); box-shadow: 0 0 1px 8px color-mix(in srgb, dt('rating.icon.active.color'), transparent 92%); } .p-rating-option.p-focus-visible { background: color-mix(in srgb, dt('rating.icon.active.color'), transparent 84%); box-shadow: 0 0 1px 8px color-mix(in srgb, dt('rating.icon.active.color'), transparent 84%); } `,Ru={root:iR,icon:aR,css:sR};var lR={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}};var Pu={colorScheme:lR,css:""};var cR={transitionDuration:"{transition.duration}"},dR={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},uR={light:{bar:{background:"{surface.200}"}},dark:{bar:{background:"{surface.700}"}}};var Fu={root:cR,bar:dR,colorScheme:uR,css:""};var pR={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},fR={width:"2.5rem",color:"{form.field.icon.color}"},mR={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},gR={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},hR={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},bR={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},_R={color:"{form.field.icon.color}"},vR={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},yR={padding:"{list.option.padding}"},CR=` .p-select.p-variant-filled { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border: 1px solid transparent; background: dt('select.filled.background') no-repeat; background-image: linear-gradient(to bottom, dt('select.focus.border.color'), dt('select.focus.border.color')), linear-gradient(to bottom, dt('select.border.color'), dt('select.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); } .p-select.p-variant-filled:not(.p-disabled):hover { background: dt('select.filled.hover.background') no-repeat; background-image: linear-gradient(to bottom, dt('select.focus.border.color'), dt('select.focus.border.color')), linear-gradient(to bottom, dt('select.hover.border.color'), dt('select.hover.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-select.p-variant-filled:not(.p-disabled).p-focus { outline: 0 none; background: dt('select.filled.focus.background') no-repeat; background-image: linear-gradient(to bottom, dt('select.focus.border.color'), dt('select.focus.border.color')), linear-gradient(to bottom, dt('select.border.color'), dt('select.border.color')); background-size: 100% 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-select.p-variant-filled:not(.p-disabled).p-focus:hover { background-image: linear-gradient(to bottom, dt('select.focus.border.color'), dt('select.focus.border.color')), linear-gradient(to bottom, dt('select.hover.border.color'), dt('select.hover.border.color')); } .p-select.p-variant-filled.p-invalid { background-image: linear-gradient(to bottom, dt('select.invalid.border.color'), dt('select.invalid.border.color')), linear-gradient(to bottom, dt('select.invalid.border.color'), dt('select.invalid.border.color')); } .p-select.p-variant-filled.p-invalid:not(.p-disabled).p-focus { background-image: linear-gradient(to bottom, dt('select.invalid.border.color'), dt('select.invalid.border.color')), linear-gradient(to bottom, dt('select.invalid.border.color'), dt('select.invalid.border.color')); } .p-select-option { transition: none; } `,Lu={root:pR,dropdown:fR,overlay:mR,list:gR,option:hR,optionGroup:bR,clearIcon:_R,checkmark:vR,emptyMessage:yR,css:CR};var xR={borderRadius:"{form.field.border.radius}"},SR={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}};var Ou={root:xR,colorScheme:SR,css:""};var wR={borderRadius:"{content.border.radius}"},kR={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}};var Nu={root:wR,colorScheme:kR,css:""};var IR={transitionDuration:"{transition.duration}"},TR={background:"{content.border.color}",borderRadius:"{border.radius.xs}",size:"2px"},ER={background:"{primary.color}"},AR={width:"18px",height:"18px",borderRadius:"50%",background:"{primary.color}",hoverBackground:"{primary.color}",content:{borderRadius:"50%",background:"{primary.color}",hoverBackground:"{primary.color}",width:"18px",height:"18px",shadow:"0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)"},focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},MR=` .p-slider-handle { transition: box-shadow dt('slider.transition.duration'); } .p-slider:not(.p-disabled) .p-slider-handle:hover { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('slider.handle.background'), transparent 92%); } .p-slider-handle:focus-visible, .p-slider:not(.p-disabled) .p-slider-handle:focus:hover { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('slider.handle.background'), transparent 84%); } `,zu={root:IR,track:TR,range:ER,handle:AR,css:MR};var DR={gap:"0.5rem",transitionDuration:"{transition.duration}"};var Vu={root:DR,css:""};var BR={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"};var Uu={root:BR,css:""};var RR={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},PR={background:"{content.border.color}"},FR={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}};var Hu={root:RR,gutter:PR,handle:FR,css:""};var LR={transitionDuration:"{transition.duration}"},OR={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},NR={padding:"0.5rem",gap:"1rem"},zR={padding:"0.75rem 1rem",borderRadius:"{content.border.radius}",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"},gap:"0.5rem"},VR={color:"{text.muted.color}",activeColor:"{text.color}",fontWeight:"500"},UR={activeBackground:"{primary.color}",activeBorderColor:"{primary.color}",activeColor:"{primary.contrast.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"none"},HR={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},WR={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},$R={light:{stepNumber:{background:"{surface.400}",borderColor:"{surface.400}",color:"{surface.0}"}},dark:{stepNumber:{background:"{surface.200}",borderColor:"{surface.200}",color:"{surface.900}"}}},KR=` .p-step-header:focus-visible { background: dt('navigation.item.active.background'); } `,Wu={root:LR,separator:OR,step:NR,stepHeader:zR,stepTitle:VR,stepNumber:UR,steppanels:HR,steppanel:WR,colorScheme:$R,css:KR};var jR={transitionDuration:"{transition.duration}"},GR={background:"{content.border.color}"},YR={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},qR={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},XR={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"};var $u={root:jR,separator:GR,itemLink:YR,itemLabel:qR,itemNumber:XR,css:""};var QR={transitionDuration:"{transition.duration}"},JR={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},ZR={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},eP={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},tP={height:"1px",bottom:"-1px",background:"{primary.color}"};var Ku={root:QR,tablist:JR,item:ZR,itemIcon:eP,activeBar:tP,css:""};var nP={transitionDuration:"{transition.duration}"},rP={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},oP={background:"transparent",hoverBackground:"{content.hover.background}",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.25rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},iP={background:"{content.background}",color:"{content.color}",padding:"1.25rem 1.25rem 1.25rem 1.25rem",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},aP={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"3rem",shadow:"none",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"}},sP={height:"2px",bottom:"-1px",background:"{primary.color}"},lP=` .p-tabs-scrollable .p-tab { flex-grow: 0 } .p-tab-active { --p-ripple-background: color-mix(in srgb, dt('primary.color'), transparent 90%); } .p-tab:not(.p-disabled):focus-visible { background: dt('navigation.item.active.background'); } .p-tablist-nav-button:focus-visible { background: dt('navigation.item.active.background'); } `,ju={root:nP,tablist:rP,tab:oP,tabpanel:iP,navButton:aP,activeBar:sP,css:lP};var cP={transitionDuration:"{transition.duration}"},dP={background:"{content.background}",borderColor:"{content.border.color}"},uP={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},pP={background:"{content.background}",color:"{content.color}"},fP={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},mP={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}};var Gu={root:cP,tabList:dP,tab:uP,tabPanel:pP,navButton:fP,colorScheme:mP,css:""};var gP={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},hP={size:"0.75rem"},bP={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}};var Yu={root:gP,icon:hP,colorScheme:bP,css:""};var _P={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},vP={gap:"0.25rem"},yP={margin:"2px 0"};var qu={root:_P,prompt:vP,commandResponse:yP,css:""};var CP={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},xP=` .p-textarea.p-variant-filled { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border: 1px solid transparent; background: dt('textarea.filled.background') no-repeat; background-image: linear-gradient(to bottom, dt('textarea.focus.border.color'), dt('textarea.focus.border.color')), linear-gradient(to bottom, dt('textarea.border.color'), dt('textarea.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); } .p-textarea.p-variant-filled:enabled:hover { background: dt('textarea.filled.hover.background') no-repeat; background-image: linear-gradient(to bottom, dt('textarea.focus.border.color'), dt('textarea.focus.border.color')), linear-gradient(to bottom, dt('textarea.hover.border.color'), dt('textarea.hover.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-textarea.p-variant-filled:enabled:focus { outline: 0 none; background: dt('textarea.filled.focus.background') no-repeat; background-image: linear-gradient(to bottom, dt('textarea.focus.border.color'), dt('textarea.focus.border.color')), linear-gradient(to bottom, dt('textarea.border.color'), dt('textarea.border.color')); background-size: 100% 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-textarea.p-variant-filled:enabled:hover:focus { background-image: linear-gradient(to bottom, dt('textarea.focus.border.color'), dt('textarea.focus.border.color')), linear-gradient(to bottom, dt('textarea.hover.border.color'), dt('textarea.hover.border.color')); } .p-textarea.p-variant-filled.p-invalid { background-image: linear-gradient(to bottom, dt('textarea.invalid.border.color'), dt('textarea.invalid.border.color')), linear-gradient(to bottom, dt('textarea.invalid.border.color'), dt('textarea.invalid.border.color')); } .p-textarea.p-variant-filled.p-invalid:enabled:focus { background-image: linear-gradient(to bottom, dt('textarea.invalid.border.color'), dt('textarea.invalid.border.color')), linear-gradient(to bottom, dt('textarea.invalid.border.color'), dt('textarea.invalid.border.color')); } `,Xu={root:CP,css:xP};var SP={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},wP={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},kP={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},IP={mobileIndent:"1rem"},TP={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},EP={borderColor:"{content.border.color}"},AP=` .p-tieredmenu-overlay { border-color: transparent; } `,Qu={root:SP,list:wP,item:kP,submenu:IP,submenuIcon:TP,separator:EP,css:AP};var MP={minHeight:"5rem"},DP={eventContent:{padding:"1rem 0"}},BP={eventContent:{padding:"0 1rem"}},RP={size:"1.5rem",borderRadius:"50%",borderWidth:"2px",background:"{primary.color}",content:{borderRadius:"50%",size:"0",background:"{primary.color}",insetShadow:"none"}},PP={color:"{content.border.color}",size:"2px"},FP={light:{eventMarker:{borderColor:"{surface.0}"}},dark:{eventMarker:{borderColor:"{surface.900}"}}};var Ju={event:MP,horizontal:DP,vertical:BP,eventMarker:RP,eventConnector:PP,colorScheme:FP,css:""};var LP={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"0",transitionDuration:"{transition.duration}"},OP={size:"1.25rem"},NP={padding:"{overlay.popover.padding}",gap:"0.5rem"},zP={gap:"0.5rem"},VP={fontWeight:"500",fontSize:"1rem"},UP={fontWeight:"500",fontSize:"0.875rem"},HP={width:"2rem",height:"2rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},WP={size:"1rem"},$P={light:{root:{blur:"0"},info:{background:"{blue.50}",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"{green.50}",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"{yellow.50}",borderColor:"{yellow.200}",color:"{yellow.900}",detailColor:"{surface.700}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"{red.50}",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 36%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{surface.0}",detailColor:"{blue.100}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 36%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{surface.0}",detailColor:"{green.100}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 36%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{surface.0}",detailColor:"{yellow.50}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 36%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{surface.0}",detailColor:"{red.100}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}};var Zu={root:LP,icon:OP,content:NP,text:zP,summary:VP,detail:UP,closeButton:HP,closeIcon:WP,colorScheme:$P,css:""};var KP={padding:"0.75rem 1rem",borderRadius:"{form.field.border.radius}",gap:"0.5rem",fontWeight:"500",background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",hoverColor:"{form.field.color}",checkedColor:"{form.field.color}",checkedBorderColor:"{form.field.border.color}",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"0",style:"none",offset:"0",color:"unset",shadow:"none"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.625rem 0.75rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.875rem 1.25rem"}},jP={color:"{text.muted.color}",hoverColor:"{text.muted.color}",checkedColor:"{text.muted.color}",disabledColor:"{form.field.disabled.color}"},GP={checkedBackground:"transparent",checkedShadow:"none",padding:"0",borderRadius:"0",sm:{padding:"0"},lg:{padding:"0"}},YP={light:{root:{hoverBackground:"{surface.100}",checkedBackground:"{surface.200}"}},dark:{root:{hoverBackground:"{surface.800}",checkedBackground:"{surface.700}"}}},qP=` .p-togglebutton:focus-visible { background: dt('togglebutton.hover.background'); } `,ep={root:KP,icon:jP,content:GP,colorScheme:YP,css:qP};var XP={width:"2.75rem",height:"1rem",borderRadius:"30px",gap:"0px",shadow:"none",focusRing:{width:"0",style:"none",color:"unset",offset:"0",shadow:"none"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},QP={borderRadius:"50%",size:"1.5rem"},JP={light:{root:{background:"{surface.300}",disabledBackground:"{surface.400}",hoverBackground:"{surface.300}",checkedBackground:"{primary.200}",checkedHoverBackground:"{primary.200}"},handle:{background:"{surface.0}",disabledBackground:"{surface.200}",hoverBackground:"{surface.0}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.700}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.500}",hoverBackground:"{surface.300}",checkedBackground:"{primary.200}",checkedHoverBackground:"{primary.200}",color:"{surface.800}",hoverColor:"{surface.900}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}"}}},ZP=` .p-toggleswitch-handle { box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); } .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover) .p-toggleswitch-handle { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('text.color'), transparent 96%), 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); } .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:focus-visible) .p-toggleswitch-handle { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('text.color'), transparent 88%), 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); } .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover).p-toggleswitch-checked .p-toggleswitch-handle { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('toggleswitch.handle.checked.background'), transparent 92%), 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); } .p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:focus-visible).p-toggleswitch-checked .p-toggleswitch-handle { box-shadow: 0 0 1px 10px color-mix(in srgb, dt('toggleswitch.handle.checked.background'), transparent 84%), 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); } `,tp={root:XP,handle:QP,colorScheme:JP,css:ZP};var eF={color:"{content.color}",borderRadius:"{content.border.radius}",gap:"0.5rem",padding:"1rem"},tF={light:{root:{background:"{surface.100}",borderColor:"{surface.100}"}},dark:{root:{background:"{surface.800}",borderColor:"{surface.800}"}}};var np={root:eF,colorScheme:tF,css:""};var nF={background:"{surface.600}",color:"{surface.0}",maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"};var rp={root:nF,css:""};var rF={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"2rem",transitionDuration:"{transition.duration}"},oF={padding:"0.5rem 0.75rem",borderRadius:"{border.radius.xs}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},iF={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},aF={borderRadius:"50%",size:"2rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},sF={size:"2rem"},lF={margin:"0 0 0.75rem 0"},cF=` .p-tree-node-content { transition: none; } `,op={root:rF,node:oF,nodeIcon:iF,nodeToggleButton:aF,loadingIcon:sF,filter:lF,css:cF};var dF={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},uF={width:"2.5rem",color:"{form.field.icon.color}"},pF={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},fF={padding:"{list.padding}"},mF={padding:"{list.option.padding}"},gF={borderRadius:"{border.radius.sm}"},hF={color:"{form.field.icon.color}"},bF=` .p-treeselect.p-variant-filled { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border: 1px solid transparent; background: dt('treeselect.filled.background') no-repeat; background-image: linear-gradient(to bottom, dt('treeselect.focus.border.color'), dt('treeselect.focus.border.color')), linear-gradient(to bottom, dt('treeselect.border.color'), dt('treeselect.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); } .p-treeselect.p-variant-filled:not(.p-disabled):hover { background: dt('treeselect.filled.hover.background') no-repeat; background-image: linear-gradient(to bottom, dt('treeselect.focus.border.color'), dt('treeselect.focus.border.color')), linear-gradient(to bottom, dt('treeselect.hover.border.color'), dt('treeselect.hover.border.color')); background-size: 0 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-treeselect.p-variant-filled:not(.p-disabled).p-focus { outline: 0 none; background: dt('treeselect.filled.focus.background') no-repeat; background-image: linear-gradient(to bottom, dt('treeselect.focus.border.color'), dt('treeselect.focus.border.color')), linear-gradient(to bottom, dt('treeselect.border.color'), dt('treeselect.border.color')); background-size: 100% 2px, 100% 1px; background-position: 50% 100%, 50% 100%; background-origin: border-box; border-color: transparent; } .p-treeselect.p-variant-filled:not(.p-disabled).p-focus:hover { background-image: linear-gradient(to bottom, dt('treeselect.focus.border.color'), dt('treeselect.focus.border.color')), linear-gradient(to bottom, dt('treeselect.hover.border.color'), dt('treeselect.hover.border.color')); } .p-treeselect.p-variant-filled.p-invalid { background-image: linear-gradient(to bottom, dt('treeselect.invalid.border.color'), dt('treeselect.invalid.border.color')), linear-gradient(to bottom, dt('treeselect.invalid.border.color'), dt('treeselect.invalid.border.color')); } .p-treeselect.p-variant-filled.p-invalid:not(.p-disabled).p-focus { background-image: linear-gradient(to bottom, dt('treeselect.invalid.border.color'), dt('treeselect.invalid.border.color')), linear-gradient(to bottom, dt('treeselect.invalid.border.color'), dt('treeselect.invalid.border.color')); } `,ip={root:dF,dropdown:uF,overlay:pF,tree:fF,emptyMessage:mF,chip:gF,clearIcon:hF,css:bF};var _F={transitionDuration:"{transition.duration}"},vF={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},yF={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},CF={fontWeight:"600"},xF={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},SF={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},wF={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},kF={fontWeight:"600"},IF={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},TF={width:"0.5rem"},EF={width:"1px",color:"{primary.color}"},AF={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},MF={size:"2rem"},DF={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},BF={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},RF={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},PF={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}};var ap={root:_F,header:vF,headerCell:yF,columnTitle:CF,row:xF,bodyCell:SF,footerCell:wF,columnFooter:kF,footer:IF,columnResizer:TF,resizeIndicator:EF,sortIcon:AF,loadingIcon:MF,nodeToggleButton:DF,paginatorTop:BF,paginatorBottom:RF,colorScheme:PF};var FF={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}};var sp={loader:FF,css:""};var Ao=Pt(nt({},Dd),{components:{accordion:Td,autocomplete:Ed,avatar:Ad,badge:Md,blockui:Bd,breadcrumb:Rd,button:Pd,datepicker:jd,card:Fd,carousel:Ld,cascadeselect:Od,checkbox:Nd,chip:zd,colorpicker:Vd,confirmdialog:Ud,confirmpopup:Hd,contextmenu:Wd,dataview:Kd,datatable:$d,dialog:Gd,divider:Yd,dock:qd,drawer:Xd,editor:Qd,fieldset:Jd,fileupload:Zd,iftalabel:ru,floatlabel:eu,galleria:tu,iconfield:nu,image:ou,imagecompare:iu,inlinemessage:au,inplace:su,inputchips:lu,inputgroup:cu,inputnumber:du,inputotp:uu,inputtext:pu,knob:fu,listbox:mu,megamenu:gu,menu:hu,menubar:bu,message:_u,metergroup:vu,multiselect:yu,orderlist:Cu,organizationchart:xu,overlaybadge:Su,popover:Au,paginator:wu,password:Tu,panel:ku,panelmenu:Iu,picklist:Eu,progressbar:Mu,progressspinner:Du,radiobutton:Bu,rating:Ru,ripple:Pu,scrollpanel:Fu,select:Lu,selectbutton:Ou,skeleton:Nu,slider:zu,speeddial:Vu,splitter:Hu,splitbutton:Uu,stepper:Wu,steps:$u,tabmenu:Ku,tabs:ju,tabview:Gu,textarea:Xu,tieredmenu:Qu,tag:Yu,terminal:qu,timeline:Ju,togglebutton:ep,toggleswitch:tp,tree:op,treeselect:ip,treetable:ap,toast:Zu,toolbar:np,tooltip:rp,virtualscroller:sp}});var Kq=so(Ao,{semantic:{primary:{50:"{orange.50}",100:"{orange.100}",200:"{orange.200}",300:"{orange.300}",400:"{orange.400}",500:"{orange.500}",600:"{orange.600}",700:"{orange.700}",800:"{orange.800}",900:"{orange.900}",950:"{orange.950}"},colorScheme:{light:{surface:{0:"#ffffff",50:"{gray.50}",100:"{gray.100}",200:"{gray.200}",300:"{gray.300}",400:"{gray.400}",500:"{gray.500}",600:"{gray.600}",700:"{gray.700}",800:"{gray.800}",900:"{gray.900}",950:"{gray.950}"}}}},components:{toolbar:{css:({dt:r})=>` .p-toolbar { background: var(--p-surface-200); } `},button:{colorScheme:{light:{}}}}});var Ub={accept:"Ja",after:"Nach",addRule:"Neue Regel",apply:"\xDCbernehmen",firstDayOfWeek:1,startsWith:"Startet mit",dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],today:"Heute",monthNames:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],chooseMonth:"W\xE4hle Monat",nextMonth:"N\xE4chstes Monat",prevMonth:"Vorheriges Monat"};var LF=so(Ao,{semantic:{primary:{50:"{orange.50}",100:"{orange.100}",200:"{orange.200}",300:"{orange.300}",400:"{orange.400}",500:"{orange.500}",600:"{orange.600}",700:"{orange.700}",800:"{orange.800}",900:"{orange.900}",950:"{orange.950}"},colorScheme:{light:{primary:{contrastColor:"#000000"},surface:{0:"#ffffff",50:"{gray.50}",100:"{gray.100}",200:"{gray.200}",300:"{gray.300}",400:"{gray.400}",500:"{gray.500}",600:"{gray.600}",700:"{gray.700}",800:"{gray.800}",900:"{gray.900}",950:"{gray.950}"}}}},components:{button:{css:({dt:r})=>` .p-dialog-maximize-button { background: transparent; border-color: transparent; color: ${r("button-text-secondary-color")}; } `},panel:{css:({dt:r})=>` .p-panel { border-color: transparent; } `},toolbar:{css:({dt:r})=>` .p-toolbar { background: var(--p-surface-200); } `},menubar:{css:({dt:r})=>` .p-menubar { border-color: #fff; border-radius: 0; } `}}}),Hb={theme:{preset:LF,options:{darkModeSelector:".not-existing-dark-mode-selector"}},overlayAppendTo:"body",overlayOptions:{mode:"overlay",appendTo:"body"},inputVariant:"filled",translation:Ub};var eX=so(Ao,{semantic:{primary:{50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},colorScheme:{light:{surface:{0:"#ffffff",50:"{gray.50}",100:"{gray.100}",200:"{gray.200}",300:"{gray.300}",400:"{gray.400}",500:"{gray.500}",600:"{gray.600}",700:"{gray.700}",800:"{gray.800}",900:"{gray.900}",950:"{gray.950}"}}}},components:{toolbar:{css:({dt:r})=>` .p-toolbar { background: var(--p-surface-200); } `},menubar:{css:({dt:r})=>` .p-menubar { border-color: #fff; border-radius: 0; } `}}});Ca(qa);var Wb=(()=>{class r{constructor(){fo.register(...eg,xh,Eo)}static{this.\u0275fac=function(o){return new(o||r)}}static{this.\u0275mod=Sn({type:r,bootstrap:[Dg,C0]})}static{this.\u0275inj=Cn({providers:[{provide:c0,useValue:"de"},{provide:I0,useValue:N0},{provide:k0,useClass:sc},R0(Hb),l0({eventCoalescing:!0}),h0(Xa),Qm(ps,ti,Sd),...zb,...Vb],imports:[ti,Sd,ps,xg,ns,Ma,rs]})}}return r})();Ca(qa);ac.loadFrontendConfig(vg,bg).then(r=>{let n=r,t=Da.msalInstance(n),o=Da.msalGuardConfig(n),a=Da.msalInterceptorConfig(n);(n.environment==="production"||n.environment==="staging")&&void 0,m0([{provide:b0,useValue:t},{provide:xa,useValue:o},{provide:_0,useValue:a},{provide:ic,useValue:n},pg(r)]).bootstrapModule(Wb).catch(l=>{console.error(l)})});