@zeniai/web-cockpit-ui 2.0.0-dev → 2.0.0-qa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ScreenRoutes-5hC3wQD-.js → ScreenRoutes-Cf1NGlgl.js} +1 -1
- package/dist/assets/{SignInScreen-Bw3kDJOY.js → SignInScreen-si7quMFC.js} +1 -1
- package/dist/assets/{analyticsHelper-DvZ4fRLz.js → analyticsHelper-BviTMVeA.js} +1 -1
- package/dist/assets/{index-Obh2uEoj.js → index-BnDpf4K9.js} +4 -4
- package/dist/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{FI as Zh,FJ as ar,FK as Yh,jb as qt,hO as xl,jd as Tt,hL as Wh,hS as Il,FL as hs,hU as Kh,hV as Jh,FM as gr,FN as or,hh as Xh,FO as an,FP as Do,c_ as Qh,fh as Mo,fe as Qr,fm as jt,fk as ed,FQ as Al,FR as Cl,i7 as td,i4 as rd,FS as nd,ij as id,id as ds,ia as ad,h$ as od,FT as sd,dV as ud,d4 as cd,jp as Pl,FU as fd,be as Xr,hY as ps,i1 as ld,q9 as kl,jc as on,FV as pt,iz as Fo,FW as hd,jv as dd,B as et,bi as Bo,FX as pd,he as md,FY as gd,FZ as jl,F_ as vd,oJ as ms,oe as yd,F$ as _d,ok as En,G0 as bd,om as wd,G1 as St,ob as Ed,cO as Sd,jg as Ll,jh as ql,jf as Uo,je as $o,ji as Rd,G2 as Od,oM as Td,G3 as xd,ot as Id,oG as Ad,G4 as Cd,ox as Pd,G5 as kd,G6 as Yt,G7 as Vo,G8 as jd,G9 as Ld,nf as qd,nl as Nl,Ga as Dl,gL as Nd,EO as Ml,Gb as Dd,EI as Md,Gc as Fd,Gd as Bd,no as Ud,Ge as $d,ET as Vd,EH as Gd,rF as Fl,Gf as Sn,Gg as Bl,BQ as Go,BC as zd,BT as Ul,BF as Hd,Gh as Zd,BK as Yd,Bw as Wd,Bz as Kd,Gi as Jd,BX as Xd,BN as Qd,bl as ep,bd as tp,Gj as rp,Gk as Bt,Gl as np,Gm as ip,Gn as ap,io as jo,iu as op,ba as sp}from"./zeni-epic-state-B7yJI5lR.js";import{j as $}from"./liveblocks-CH5Ytl_r.js";import{a as le,p as ye,e as $l,d as Vl,g as up}from"./sentry-SNkBC2Al.js";import{C as cp,m as $t,K as sn,u as fp,a as $e,z as We,n as lp,Q as hp,b as ut,c as un,X as dp,M as xt,D as sr,g as Vt,h as Nt,$ as cn,o as kt,d as pp,e as mp,Z as Rt,i as fn,F as Lt,r as gp,s as vp,f as Rn,j as yp,k as Gl,L as _p,l as zl,p as Hl,q as Lo,I as bp,t as wp,v as Ep,w as Zl,x as Sp,y as Rp,A as Op,B as Tp,E as xp,G as Ip,H as Ap,J as Cp,N as Pp,O as kp,P as jp,Y as Lp,R as qp}from"./index-Obh2uEoj.js";import{f as Np}from"./analyticsHelper-DvZ4fRLz.js";import{o as Yl,i as Ve,n as Ke,p as ct,g as Oe,h as Ge,N as tr,k as bt,l as Te,u as zo,j as qo}from"./core-CrJ0HRkP.js";import{D as ln,n as tt,S as Gt}from"./mui-DzLLS9Rs.js";import{a as He,b as Dp,c as Mp,d as Fp,e as Ho,f as Bp,g as Up,h as $p,i as zt,j as Vp,k as nr,l as hn,m as Gp,n as ur,o as zp}from"./utils-CpsqBQqv.js";import{r as Zo}from"./empty-DCdjTxMk.js";import{r as cr,a as Hp}from"./index-BHVDlT_9.js";import{r as Zp}from"./index-CS2xkLsB.js";import"./recharts-DE-kxplH.js";import"./lottie-jJKhsKLZ.js";import"./analytics-Ci62SVC6.js";import"./lexical-Y1MbDrft.js";import"./url-C9VCVVAZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f630b2b9-af98-463c-8609-d628bf2409f8",e._sentryDebugIdIdentifier="sentry-dbid-f630b2b9-af98-463c-8609-d628bf2409f8")}catch{}})();var On={},gs;function dn(){return gs||(gs=1,function(e){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function o(t,r){return Object.prototype.hasOwnProperty.call(t,r)}e.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var s=r.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var d in s)o(s,d)&&(t[d]=s[d])}}return t},e.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var i={arraySet:function(t,r,s,d,f){if(r.subarray&&t.subarray){t.set(r.subarray(s,s+d),f);return}for(var l=0;l<d;l++)t[f+l]=r[s+l]},flattenChunks:function(t){var r,s,d,f,l,h;for(d=0,r=0,s=t.length;r<s;r++)d+=t[r].length;for(h=new Uint8Array(d),f=0,r=0,s=t.length;r<s;r++)l=t[r],h.set(l,f),f+=l.length;return h}},a={arraySet:function(t,r,s,d,f){for(var l=0;l<d;l++)t[f+l]=r[s+l]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,a))},e.setTyped(n)}(On)),On}var ot={},It={},vs;function Yp(){if(vs)return It;vs=1;var e=dn(),n=4,o=0,i=1,a=2;function t(A){for(var ne=A.length;--ne>=0;)A[ne]=0}var r=0,s=1,d=2,f=3,l=258,h=29,c=256,b=c+1+h,m=30,y=19,g=2*b+1,u=15,_=16,w=7,v=256,E=16,x=17,O=18,C=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],D=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],W=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=512,R=new Array((b+2)*2);t(R);var L=new Array(m*2);t(L);var N=new Array(S);t(N);var V=new Array(l-f+1);t(V);var P=new Array(h);t(P);var j=new Array(m);t(j);function k(A,ne,se,fe,Z){this.static_tree=A,this.extra_bits=ne,this.extra_base=se,this.elems=fe,this.max_length=Z,this.has_stree=A&&A.length}var F,Y,z;function B(A,ne){this.dyn_tree=A,this.max_code=0,this.stat_desc=ne}function q(A){return A<256?N[A]:N[256+(A>>>7)]}function M(A,ne){A.pending_buf[A.pending++]=ne&255,A.pending_buf[A.pending++]=ne>>>8&255}function U(A,ne,se){A.bi_valid>_-se?(A.bi_buf|=ne<<A.bi_valid&65535,M(A,A.bi_buf),A.bi_buf=ne>>_-A.bi_valid,A.bi_valid+=se-_):(A.bi_buf|=ne<<A.bi_valid&65535,A.bi_valid+=se)}function X(A,ne,se){U(A,se[ne*2],se[ne*2+1])}function J(A,ne){var se=0;do se|=A&1,A>>>=1,se<<=1;while(--ne>0);return se>>>1}function ae(A){A.bi_valid===16?(M(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):A.bi_valid>=8&&(A.pending_buf[A.pending++]=A.bi_buf&255,A.bi_buf>>=8,A.bi_valid-=8)}function ue(A,ne){var se=ne.dyn_tree,fe=ne.max_code,Z=ne.stat_desc.static_tree,ie=ne.stat_desc.has_stree,T=ne.stat_desc.extra_bits,oe=ne.stat_desc.extra_base,be=ne.stat_desc.max_length,p,te,re,I,G,ee,_e=0;for(I=0;I<=u;I++)A.bl_count[I]=0;for(se[A.heap[A.heap_max]*2+1]=0,p=A.heap_max+1;p<g;p++)te=A.heap[p],I=se[se[te*2+1]*2+1]+1,I>be&&(I=be,_e++),se[te*2+1]=I,!(te>fe)&&(A.bl_count[I]++,G=0,te>=oe&&(G=T[te-oe]),ee=se[te*2],A.opt_len+=ee*(I+G),ie&&(A.static_len+=ee*(Z[te*2+1]+G)));if(_e!==0){do{for(I=be-1;A.bl_count[I]===0;)I--;A.bl_count[I]--,A.bl_count[I+1]+=2,A.bl_count[be]--,_e-=2}while(_e>0);for(I=be;I!==0;I--)for(te=A.bl_count[I];te!==0;)re=A.heap[--p],!(re>fe)&&(se[re*2+1]!==I&&(A.opt_len+=(I-se[re*2+1])*se[re*2],se[re*2+1]=I),te--)}}function ve(A,ne,se){var fe=new Array(u+1),Z=0,ie,T;for(ie=1;ie<=u;ie++)fe[ie]=Z=Z+se[ie-1]<<1;for(T=0;T<=ne;T++){var oe=A[T*2+1];oe!==0&&(A[T*2]=J(fe[oe]++,oe))}}function me(){var A,ne,se,fe,Z,ie=new Array(u+1);for(se=0,fe=0;fe<h-1;fe++)for(P[fe]=se,A=0;A<1<<C[fe];A++)V[se++]=fe;for(V[se-1]=fe,Z=0,fe=0;fe<16;fe++)for(j[fe]=Z,A=0;A<1<<D[fe];A++)N[Z++]=fe;for(Z>>=7;fe<m;fe++)for(j[fe]=Z<<7,A=0;A<1<<D[fe]-7;A++)N[256+Z++]=fe;for(ne=0;ne<=u;ne++)ie[ne]=0;for(A=0;A<=143;)R[A*2+1]=8,A++,ie[8]++;for(;A<=255;)R[A*2+1]=9,A++,ie[9]++;for(;A<=279;)R[A*2+1]=7,A++,ie[7]++;for(;A<=287;)R[A*2+1]=8,A++,ie[8]++;for(ve(R,b+1,ie),A=0;A<m;A++)L[A*2+1]=5,L[A*2]=J(A,5);F=new k(R,C,c+1,b,u),Y=new k(L,D,0,m,u),z=new k(new Array(0),W,0,y,w)}function we(A){var ne;for(ne=0;ne<b;ne++)A.dyn_ltree[ne*2]=0;for(ne=0;ne<m;ne++)A.dyn_dtree[ne*2]=0;for(ne=0;ne<y;ne++)A.bl_tree[ne*2]=0;A.dyn_ltree[v*2]=1,A.opt_len=A.static_len=0,A.last_lit=A.matches=0}function Ce(A){A.bi_valid>8?M(A,A.bi_buf):A.bi_valid>0&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function ke(A,ne,se,fe){Ce(A),M(A,se),M(A,~se),e.arraySet(A.pending_buf,A.window,ne,se,A.pending),A.pending+=se}function je(A,ne,se,fe){var Z=ne*2,ie=se*2;return A[Z]<A[ie]||A[Z]===A[ie]&&fe[ne]<=fe[se]}function Ie(A,ne,se){for(var fe=A.heap[se],Z=se<<1;Z<=A.heap_len&&(Z<A.heap_len&&je(ne,A.heap[Z+1],A.heap[Z],A.depth)&&Z++,!je(ne,fe,A.heap[Z],A.depth));)A.heap[se]=A.heap[Z],se=Z,Z<<=1;A.heap[se]=fe}function Ee(A,ne,se){var fe,Z,ie=0,T,oe;if(A.last_lit!==0)do fe=A.pending_buf[A.d_buf+ie*2]<<8|A.pending_buf[A.d_buf+ie*2+1],Z=A.pending_buf[A.l_buf+ie],ie++,fe===0?X(A,Z,ne):(T=V[Z],X(A,T+c+1,ne),oe=C[T],oe!==0&&(Z-=P[T],U(A,Z,oe)),fe--,T=q(fe),X(A,T,se),oe=D[T],oe!==0&&(fe-=j[T],U(A,fe,oe)));while(ie<A.last_lit);X(A,v,ne)}function Ue(A,ne){var se=ne.dyn_tree,fe=ne.stat_desc.static_tree,Z=ne.stat_desc.has_stree,ie=ne.stat_desc.elems,T,oe,be=-1,p;for(A.heap_len=0,A.heap_max=g,T=0;T<ie;T++)se[T*2]!==0?(A.heap[++A.heap_len]=be=T,A.depth[T]=0):se[T*2+1]=0;for(;A.heap_len<2;)p=A.heap[++A.heap_len]=be<2?++be:0,se[p*2]=1,A.depth[p]=0,A.opt_len--,Z&&(A.static_len-=fe[p*2+1]);for(ne.max_code=be,T=A.heap_len>>1;T>=1;T--)Ie(A,se,T);p=ie;do T=A.heap[1],A.heap[1]=A.heap[A.heap_len--],Ie(A,se,1),oe=A.heap[1],A.heap[--A.heap_max]=T,A.heap[--A.heap_max]=oe,se[p*2]=se[T*2]+se[oe*2],A.depth[p]=(A.depth[T]>=A.depth[oe]?A.depth[T]:A.depth[oe])+1,se[T*2+1]=se[oe*2+1]=p,A.heap[1]=p++,Ie(A,se,1);while(A.heap_len>=2);A.heap[--A.heap_max]=A.heap[1],ue(A,ne),ve(se,be,A.bl_count)}function at(A,ne,se){var fe,Z=-1,ie,T=ne[0*2+1],oe=0,be=7,p=4;for(T===0&&(be=138,p=3),ne[(se+1)*2+1]=65535,fe=0;fe<=se;fe++)ie=T,T=ne[(fe+1)*2+1],!(++oe<be&&ie===T)&&(oe<p?A.bl_tree[ie*2]+=oe:ie!==0?(ie!==Z&&A.bl_tree[ie*2]++,A.bl_tree[E*2]++):oe<=10?A.bl_tree[x*2]++:A.bl_tree[O*2]++,oe=0,Z=ie,T===0?(be=138,p=3):ie===T?(be=6,p=3):(be=7,p=4))}function qe(A,ne,se){var fe,Z=-1,ie,T=ne[0*2+1],oe=0,be=7,p=4;for(T===0&&(be=138,p=3),fe=0;fe<=se;fe++)if(ie=T,T=ne[(fe+1)*2+1],!(++oe<be&&ie===T)){if(oe<p)do X(A,ie,A.bl_tree);while(--oe!==0);else ie!==0?(ie!==Z&&(X(A,ie,A.bl_tree),oe--),X(A,E,A.bl_tree),U(A,oe-3,2)):oe<=10?(X(A,x,A.bl_tree),U(A,oe-3,3)):(X(A,O,A.bl_tree),U(A,oe-11,7));oe=0,Z=ie,T===0?(be=138,p=3):ie===T?(be=6,p=3):(be=7,p=4)}}function De(A){var ne;for(at(A,A.dyn_ltree,A.l_desc.max_code),at(A,A.dyn_dtree,A.d_desc.max_code),Ue(A,A.bl_desc),ne=y-1;ne>=3&&A.bl_tree[H[ne]*2+1]===0;ne--);return A.opt_len+=3*(ne+1)+5+5+4,ne}function Ze(A,ne,se,fe){var Z;for(U(A,ne-257,5),U(A,se-1,5),U(A,fe-4,4),Z=0;Z<fe;Z++)U(A,A.bl_tree[H[Z]*2+1],3);qe(A,A.dyn_ltree,ne-1),qe(A,A.dyn_dtree,se-1)}function K(A){var ne=4093624447,se;for(se=0;se<=31;se++,ne>>>=1)if(ne&1&&A.dyn_ltree[se*2]!==0)return o;if(A.dyn_ltree[9*2]!==0||A.dyn_ltree[10*2]!==0||A.dyn_ltree[13*2]!==0)return i;for(se=32;se<c;se++)if(A.dyn_ltree[se*2]!==0)return i;return o}var Q=!1;function ce(A){Q||(me(),Q=!0),A.l_desc=new B(A.dyn_ltree,F),A.d_desc=new B(A.dyn_dtree,Y),A.bl_desc=new B(A.bl_tree,z),A.bi_buf=0,A.bi_valid=0,we(A)}function ge(A,ne,se,fe){U(A,(r<<1)+(fe?1:0),3),ke(A,ne,se)}function he(A){U(A,s<<1,3),X(A,v,R),ae(A)}function Se(A,ne,se,fe){var Z,ie,T=0;A.level>0?(A.strm.data_type===a&&(A.strm.data_type=K(A)),Ue(A,A.l_desc),Ue(A,A.d_desc),T=De(A),Z=A.opt_len+3+7>>>3,ie=A.static_len+3+7>>>3,ie<=Z&&(Z=ie)):Z=ie=se+5,se+4<=Z&&ne!==-1?ge(A,ne,se,fe):A.strategy===n||ie===Z?(U(A,(s<<1)+(fe?1:0),3),Ee(A,R,L)):(U(A,(d<<1)+(fe?1:0),3),Ze(A,A.l_desc.max_code+1,A.d_desc.max_code+1,T+1),Ee(A,A.dyn_ltree,A.dyn_dtree)),we(A),fe&&Ce(A)}function Re(A,ne,se){return A.pending_buf[A.d_buf+A.last_lit*2]=ne>>>8&255,A.pending_buf[A.d_buf+A.last_lit*2+1]=ne&255,A.pending_buf[A.l_buf+A.last_lit]=se&255,A.last_lit++,ne===0?A.dyn_ltree[se*2]++:(A.matches++,ne--,A.dyn_ltree[(V[se]+c+1)*2]++,A.dyn_dtree[q(ne)*2]++),A.last_lit===A.lit_bufsize-1}return It._tr_init=ce,It._tr_stored_block=ge,It._tr_flush_block=Se,It._tr_tally=Re,It._tr_align=he,It}var Tn,ys;function Wl(){if(ys)return Tn;ys=1;function e(n,o,i,a){for(var t=n&65535|0,r=n>>>16&65535|0,s=0;i!==0;){s=i>2e3?2e3:i,i-=s;do t=t+o[a++]|0,r=r+t|0;while(--s);t%=65521,r%=65521}return t|r<<16|0}return Tn=e,Tn}var xn,_s;function Kl(){if(_s)return xn;_s=1;function e(){for(var i,a=[],t=0;t<256;t++){i=t;for(var r=0;r<8;r++)i=i&1?3988292384^i>>>1:i>>>1;a[t]=i}return a}var n=e();function o(i,a,t,r){var s=n,d=r+t;i^=-1;for(var f=r;f<d;f++)i=i>>>8^s[(i^a[f])&255];return i^-1}return xn=o,xn}var In,bs;function Wp(){return bs||(bs=1,In={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}),In}var ws;function Kp(){if(ws)return ot;ws=1;var e=dn(),n=Yp(),o=Wl(),i=Kl(),a=Wp(),t=0,r=1,s=3,d=4,f=5,l=0,h=1,c=-2,b=-3,m=-5,y=-1,g=1,u=2,_=3,w=4,v=0,E=2,x=8,O=9,C=15,D=8,W=29,H=256,S=H+1+W,R=30,L=19,N=2*S+1,V=15,P=3,j=258,k=j+P+1,F=32,Y=42,z=69,B=73,q=91,M=103,U=113,X=666,J=1,ae=2,ue=3,ve=4,me=3;function we(p,te){return p.msg=a[te],te}function Ce(p){return(p<<1)-(p>4?9:0)}function ke(p){for(var te=p.length;--te>=0;)p[te]=0}function je(p){var te=p.state,re=te.pending;re>p.avail_out&&(re=p.avail_out),re!==0&&(e.arraySet(p.output,te.pending_buf,te.pending_out,re,p.next_out),p.next_out+=re,te.pending_out+=re,p.total_out+=re,p.avail_out-=re,te.pending-=re,te.pending===0&&(te.pending_out=0))}function Ie(p,te){n._tr_flush_block(p,p.block_start>=0?p.block_start:-1,p.strstart-p.block_start,te),p.block_start=p.strstart,je(p.strm)}function Ee(p,te){p.pending_buf[p.pending++]=te}function Ue(p,te){p.pending_buf[p.pending++]=te>>>8&255,p.pending_buf[p.pending++]=te&255}function at(p,te,re,I){var G=p.avail_in;return G>I&&(G=I),G===0?0:(p.avail_in-=G,e.arraySet(te,p.input,p.next_in,G,re),p.state.wrap===1?p.adler=o(p.adler,te,G,re):p.state.wrap===2&&(p.adler=i(p.adler,te,G,re)),p.next_in+=G,p.total_in+=G,G)}function qe(p,te){var re=p.max_chain_length,I=p.strstart,G,ee,_e=p.prev_length,de=p.nice_match,pe=p.strstart>p.w_size-k?p.strstart-(p.w_size-k):0,xe=p.window,gt=p.w_mask,Le=p.prev,Ae=p.strstart+j,Fe=xe[I+_e-1],Ye=xe[I+_e];p.prev_length>=p.good_match&&(re>>=2),de>p.lookahead&&(de=p.lookahead);do if(G=te,!(xe[G+_e]!==Ye||xe[G+_e-1]!==Fe||xe[G]!==xe[I]||xe[++G]!==xe[I+1])){I+=2,G++;do;while(xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&I<Ae);if(ee=j-(Ae-I),I=Ae-j,ee>_e){if(p.match_start=te,_e=ee,ee>=de)break;Fe=xe[I+_e-1],Ye=xe[I+_e]}}while((te=Le[te>])>pe&&--re!==0);return _e<=p.lookahead?_e:p.lookahead}function De(p){var te=p.w_size,re,I,G,ee,_e;do{if(ee=p.window_size-p.lookahead-p.strstart,p.strstart>=te+(te-k)){e.arraySet(p.window,p.window,te,te,0),p.match_start-=te,p.strstart-=te,p.block_start-=te,I=p.hash_size,re=I;do G=p.head[--re],p.head[re]=G>=te?G-te:0;while(--I);I=te,re=I;do G=p.prev[--re],p.prev[re]=G>=te?G-te:0;while(--I);ee+=te}if(p.strm.avail_in===0)break;if(I=at(p.strm,p.window,p.strstart+p.lookahead,ee),p.lookahead+=I,p.lookahead+p.insert>=P)for(_e=p.strstart-p.insert,p.ins_h=p.window[_e],p.ins_h=(p.ins_h<<p.hash_shift^p.window[_e+1])&p.hash_mask;p.insert&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[_e+P-1])&p.hash_mask,p.prev[_e&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=_e,_e++,p.insert--,!(p.lookahead+p.insert<P)););}while(p.lookahead<k&&p.strm.avail_in!==0)}function Ze(p,te){var re=65535;for(re>p.pending_buf_size-5&&(re=p.pending_buf_size-5);;){if(p.lookahead<=1){if(De(p),p.lookahead===0&&te===t)return J;if(p.lookahead===0)break}p.strstart+=p.lookahead,p.lookahead=0;var I=p.block_start+re;if((p.strstart===0||p.strstart>=I)&&(p.lookahead=p.strstart-I,p.strstart=I,Ie(p,!1),p.strm.avail_out===0)||p.strstart-p.block_start>=p.w_size-k&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):(p.strstart>p.block_start&&(Ie(p,!1),p.strm.avail_out===0),J)}function K(p,te){for(var re,I;;){if(p.lookahead<k){if(De(p),p.lookahead<k&&te===t)return J;if(p.lookahead===0)break}if(re=0,p.lookahead>=P&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart),re!==0&&p.strstart-re<=p.w_size-k&&(p.match_length=qe(p,re)),p.match_length>=P)if(I=n._tr_tally(p,p.strstart-p.match_start,p.match_length-P),p.lookahead-=p.match_length,p.match_length<=p.max_lazy_match&&p.lookahead>=P){p.match_length--;do p.strstart++,p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart;while(--p.match_length!==0);p.strstart++}else p.strstart+=p.match_length,p.match_length=0,p.ins_h=p.window[p.strstart],p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+1])&p.hash_mask;else I=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++;if(I&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=p.strstart<P-1?p.strstart:P-1,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function Q(p,te){for(var re,I,G;;){if(p.lookahead<k){if(De(p),p.lookahead<k&&te===t)return J;if(p.lookahead===0)break}if(re=0,p.lookahead>=P&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart),p.prev_length=p.match_length,p.prev_match=p.match_start,p.match_length=P-1,re!==0&&p.prev_length<p.max_lazy_match&&p.strstart-re<=p.w_size-k&&(p.match_length=qe(p,re),p.match_length<=5&&(p.strategy===g||p.match_length===P&&p.strstart-p.match_start>4096)&&(p.match_length=P-1)),p.prev_length>=P&&p.match_length<=p.prev_length){G=p.strstart+p.lookahead-P,I=n._tr_tally(p,p.strstart-1-p.prev_match,p.prev_length-P),p.lookahead-=p.prev_length-1,p.prev_length-=2;do++p.strstart<=G&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart);while(--p.prev_length!==0);if(p.match_available=0,p.match_length=P-1,p.strstart++,I&&(Ie(p,!1),p.strm.avail_out===0))return J}else if(p.match_available){if(I=n._tr_tally(p,0,p.window[p.strstart-1]),I&&Ie(p,!1),p.strstart++,p.lookahead--,p.strm.avail_out===0)return J}else p.match_available=1,p.strstart++,p.lookahead--}return p.match_available&&(I=n._tr_tally(p,0,p.window[p.strstart-1]),p.match_available=0),p.insert=p.strstart<P-1?p.strstart:P-1,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function ce(p,te){for(var re,I,G,ee,_e=p.window;;){if(p.lookahead<=j){if(De(p),p.lookahead<=j&&te===t)return J;if(p.lookahead===0)break}if(p.match_length=0,p.lookahead>=P&&p.strstart>0&&(G=p.strstart-1,I=_e[G],I===_e[++G]&&I===_e[++G]&&I===_e[++G])){ee=p.strstart+j;do;while(I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&G<ee);p.match_length=j-(ee-G),p.match_length>p.lookahead&&(p.match_length=p.lookahead)}if(p.match_length>=P?(re=n._tr_tally(p,1,p.match_length-P),p.lookahead-=p.match_length,p.strstart+=p.match_length,p.match_length=0):(re=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++),re&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function ge(p,te){for(var re;;){if(p.lookahead===0&&(De(p),p.lookahead===0)){if(te===t)return J;break}if(p.match_length=0,re=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++,re&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function he(p,te,re,I,G){this.good_length=p,this.max_lazy=te,this.nice_length=re,this.max_chain=I,this.func=G}var Se;Se=[new he(0,0,0,0,Ze),new he(4,4,8,4,K),new he(4,5,16,8,K),new he(4,6,32,32,K),new he(4,4,16,16,Q),new he(8,16,32,32,Q),new he(8,16,128,128,Q),new he(8,32,128,256,Q),new he(32,128,258,1024,Q),new he(32,258,258,4096,Q)];function Re(p){p.window_size=2*p.w_size,ke(p.head),p.max_lazy_match=Se[p.level].max_lazy,p.good_match=Se[p.level].good_length,p.nice_match=Se[p.level].nice_length,p.max_chain_length=Se[p.level].max_chain,p.strstart=0,p.block_start=0,p.lookahead=0,p.insert=0,p.match_length=p.prev_length=P-1,p.match_available=0,p.ins_h=0}function A(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=x,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new e.Buf16(N*2),this.dyn_dtree=new e.Buf16((2*R+1)*2),this.bl_tree=new e.Buf16((2*L+1)*2),ke(this.dyn_ltree),ke(this.dyn_dtree),ke(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(V+1),this.heap=new e.Buf16(2*S+1),ke(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(2*S+1),ke(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ne(p){var te;return!p||!p.state?we(p,c):(p.total_in=p.total_out=0,p.data_type=E,te=p.state,te.pending=0,te.pending_out=0,te.wrap<0&&(te.wrap=-te.wrap),te.status=te.wrap?Y:U,p.adler=te.wrap===2?0:1,te.last_flush=t,n._tr_init(te),l)}function se(p){var te=ne(p);return te===l&&Re(p.state),te}function fe(p,te){return!p||!p.state||p.state.wrap!==2?c:(p.state.gzhead=te,l)}function Z(p,te,re,I,G,ee){if(!p)return c;var _e=1;if(te===y&&(te=6),I<0?(_e=0,I=-I):I>15&&(_e=2,I-=16),G<1||G>O||re!==x||I<8||I>15||te<0||te>9||ee<0||ee>w)return we(p,c);I===8&&(I=9);var de=new A;return p.state=de,de.strm=p,de.wrap=_e,de.gzhead=null,de.w_bits=I,de.w_size=1<<de.w_bits,de.w_mask=de.w_size-1,de.hash_bits=G+7,de.hash_size=1<<de.hash_bits,de.hash_mask=de.hash_size-1,de.hash_shift=~~((de.hash_bits+P-1)/P),de.window=new e.Buf8(de.w_size*2),de.head=new e.Buf16(de.hash_size),de.prev=new e.Buf16(de.w_size),de.lit_bufsize=1<<G+6,de.pending_buf_size=de.lit_bufsize*4,de.pending_buf=new e.Buf8(de.pending_buf_size),de.d_buf=1*de.lit_bufsize,de.l_buf=3*de.lit_bufsize,de.level=te,de.strategy=ee,de.method=re,se(p)}function ie(p,te){return Z(p,te,x,C,D,v)}function T(p,te){var re,I,G,ee;if(!p||!p.state||te>f||te<0)return p?we(p,c):c;if(I=p.state,!p.output||!p.input&&p.avail_in!==0||I.status===X&&te!==d)return we(p,p.avail_out===0?m:c);if(I.strm=p,re=I.last_flush,I.last_flush=te,I.status===Y)if(I.wrap===2)p.adler=0,Ee(I,31),Ee(I,139),Ee(I,8),I.gzhead?(Ee(I,(I.gzhead.text?1:0)+(I.gzhead.hcrc?2:0)+(I.gzhead.extra?4:0)+(I.gzhead.name?8:0)+(I.gzhead.comment?16:0)),Ee(I,I.gzhead.time&255),Ee(I,I.gzhead.time>>8&255),Ee(I,I.gzhead.time>>16&255),Ee(I,I.gzhead.time>>24&255),Ee(I,I.level===9?2:I.strategy>=u||I.level<2?4:0),Ee(I,I.gzhead.os&255),I.gzhead.extra&&I.gzhead.extra.length&&(Ee(I,I.gzhead.extra.length&255),Ee(I,I.gzhead.extra.length>>8&255)),I.gzhead.hcrc&&(p.adler=i(p.adler,I.pending_buf,I.pending,0)),I.gzindex=0,I.status=z):(Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,I.level===9?2:I.strategy>=u||I.level<2?4:0),Ee(I,me),I.status=U);else{var _e=x+(I.w_bits-8<<4)<<8,de=-1;I.strategy>=u||I.level<2?de=0:I.level<6?de=1:I.level===6?de=2:de=3,_e|=de<<6,I.strstart!==0&&(_e|=F),_e+=31-_e%31,I.status=U,Ue(I,_e),I.strstart!==0&&(Ue(I,p.adler>>>16),Ue(I,p.adler&65535)),p.adler=1}if(I.status===z)if(I.gzhead.extra){for(G=I.pending;I.gzindex<(I.gzhead.extra.length&65535)&&!(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),je(p),G=I.pending,I.pending===I.pending_buf_size));)Ee(I,I.gzhead.extra[I.gzindex]&255),I.gzindex++;I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),I.gzindex===I.gzhead.extra.length&&(I.gzindex=0,I.status=B)}else I.status=B;if(I.status===B)if(I.gzhead.name){G=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),je(p),G=I.pending,I.pending===I.pending_buf_size)){ee=1;break}I.gzindex<I.gzhead.name.length?ee=I.gzhead.name.charCodeAt(I.gzindex++)&255:ee=0,Ee(I,ee)}while(ee!==0);I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),ee===0&&(I.gzindex=0,I.status=q)}else I.status=q;if(I.status===q)if(I.gzhead.comment){G=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),je(p),G=I.pending,I.pending===I.pending_buf_size)){ee=1;break}I.gzindex<I.gzhead.comment.length?ee=I.gzhead.comment.charCodeAt(I.gzindex++)&255:ee=0,Ee(I,ee)}while(ee!==0);I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),ee===0&&(I.status=M)}else I.status=M;if(I.status===M&&(I.gzhead.hcrc?(I.pending+2>I.pending_buf_size&&je(p),I.pending+2<=I.pending_buf_size&&(Ee(I,p.adler&255),Ee(I,p.adler>>8&255),p.adler=0,I.status=U)):I.status=U),I.pending!==0){if(je(p),p.avail_out===0)return I.last_flush=-1,l}else if(p.avail_in===0&&Ce(te)<=Ce(re)&&te!==d)return we(p,m);if(I.status===X&&p.avail_in!==0)return we(p,m);if(p.avail_in!==0||I.lookahead!==0||te!==t&&I.status!==X){var pe=I.strategy===u?ge(I,te):I.strategy===_?ce(I,te):Se[I.level].func(I,te);if((pe===ue||pe===ve)&&(I.status=X),pe===J||pe===ue)return p.avail_out===0&&(I.last_flush=-1),l;if(pe===ae&&(te===r?n._tr_align(I):te!==f&&(n._tr_stored_block(I,0,0,!1),te===s&&(ke(I.head),I.lookahead===0&&(I.strstart=0,I.block_start=0,I.insert=0))),je(p),p.avail_out===0))return I.last_flush=-1,l}return te!==d?l:I.wrap<=0?h:(I.wrap===2?(Ee(I,p.adler&255),Ee(I,p.adler>>8&255),Ee(I,p.adler>>16&255),Ee(I,p.adler>>24&255),Ee(I,p.total_in&255),Ee(I,p.total_in>>8&255),Ee(I,p.total_in>>16&255),Ee(I,p.total_in>>24&255)):(Ue(I,p.adler>>>16),Ue(I,p.adler&65535)),je(p),I.wrap>0&&(I.wrap=-I.wrap),I.pending!==0?l:h)}function oe(p){var te;return!p||!p.state?c:(te=p.state.status,te!==Y&&te!==z&&te!==B&&te!==q&&te!==M&&te!==U&&te!==X?we(p,c):(p.state=null,te===U?we(p,b):l))}function be(p,te){var re=te.length,I,G,ee,_e,de,pe,xe,gt;if(!p||!p.state||(I=p.state,_e=I.wrap,_e===2||_e===1&&I.status!==Y||I.lookahead))return c;for(_e===1&&(p.adler=o(p.adler,te,re,0)),I.wrap=0,re>=I.w_size&&(_e===0&&(ke(I.head),I.strstart=0,I.block_start=0,I.insert=0),gt=new e.Buf8(I.w_size),e.arraySet(gt,te,re-I.w_size,I.w_size,0),te=gt,re=I.w_size),de=p.avail_in,pe=p.next_in,xe=p.input,p.avail_in=re,p.next_in=0,p.input=te,De(I);I.lookahead>=P;){G=I.strstart,ee=I.lookahead-(P-1);do I.ins_h=(I.ins_h<<I.hash_shift^I.window[G+P-1])&I.hash_mask,I.prev[G&I.w_mask]=I.head[I.ins_h],I.head[I.ins_h]=G,G++;while(--ee);I.strstart=G,I.lookahead=P-1,De(I)}return I.strstart+=I.lookahead,I.block_start=I.strstart,I.insert=I.lookahead,I.lookahead=0,I.match_length=I.prev_length=P-1,I.match_available=0,p.next_in=pe,p.input=xe,p.avail_in=de,I.wrap=_e,l}return ot.deflateInit=ie,ot.deflateInit2=Z,ot.deflateReset=se,ot.deflateResetKeep=ne,ot.deflateSetHeader=fe,ot.deflate=T,ot.deflateEnd=oe,ot.deflateSetDictionary=be,ot.deflateInfo="pako deflate (from Nodeca project)",ot}var An,Es;function Jp(){if(Es)return An;Es=1;function e(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}return An=e,An}var it={},Cn,Ss;function Xp(){if(Ss)return Cn;Ss=1;var e=30,n=12;return Cn=function(i,a){var t,r,s,d,f,l,h,c,b,m,y,g,u,_,w,v,E,x,O,C,D,W,H,S,R;t=i.state,r=i.next_in,S=i.input,s=r+(i.avail_in-5),d=i.next_out,R=i.output,f=d-(a-i.avail_out),l=d+(i.avail_out-257),h=t.dmax,c=t.wsize,b=t.whave,m=t.wnext,y=t.window,g=t.hold,u=t.bits,_=t.lencode,w=t.distcode,v=(1<<t.lenbits)-1,E=(1<<t.distbits)-1;e:do{u<15&&(g+=S[r++]<<u,u+=8,g+=S[r++]<<u,u+=8),x=_[g&v];t:for(;;){if(O=x>>>24,g>>>=O,u-=O,O=x>>>16&255,O===0)R[d++]=x&65535;else if(O&16){C=x&65535,O&=15,O&&(u<O&&(g+=S[r++]<<u,u+=8),C+=g&(1<<O)-1,g>>>=O,u-=O),u<15&&(g+=S[r++]<<u,u+=8,g+=S[r++]<<u,u+=8),x=w[g&E];r:for(;;){if(O=x>>>24,g>>>=O,u-=O,O=x>>>16&255,O&16){if(D=x&65535,O&=15,u<O&&(g+=S[r++]<<u,u+=8,u<O&&(g+=S[r++]<<u,u+=8)),D+=g&(1<<O)-1,D>h){i.msg="invalid distance too far back",t.mode=e;break e}if(g>>>=O,u-=O,O=d-f,D>O){if(O=D-O,O>b&&t.sane){i.msg="invalid distance too far back",t.mode=e;break e}if(W=0,H=y,m===0){if(W+=c-O,O<C){C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}}else if(m<O){if(W+=c+m-O,O-=m,O<C){C-=O;do R[d++]=y[W++];while(--O);if(W=0,m<C){O=m,C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}}}else if(W+=m-O,O<C){C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}for(;C>2;)R[d++]=H[W++],R[d++]=H[W++],R[d++]=H[W++],C-=3;C&&(R[d++]=H[W++],C>1&&(R[d++]=H[W++]))}else{W=d-D;do R[d++]=R[W++],R[d++]=R[W++],R[d++]=R[W++],C-=3;while(C>2);C&&(R[d++]=R[W++],C>1&&(R[d++]=R[W++]))}}else if((O&64)===0){x=w[(x&65535)+(g&(1<<O)-1)];continue r}else{i.msg="invalid distance code",t.mode=e;break e}break}}else if((O&64)===0){x=_[(x&65535)+(g&(1<<O)-1)];continue t}else if(O&32){t.mode=n;break e}else{i.msg="invalid literal/length code",t.mode=e;break e}break}}while(r<s&&d<l);C=u>>3,r-=C,u-=C<<3,g&=(1<<u)-1,i.next_in=r,i.next_out=d,i.avail_in=r<s?5+(s-r):5-(r-s),i.avail_out=d<l?257+(l-d):257-(d-l),t.hold=g,t.bits=u},Cn}var Pn,Rs;function Qp(){if(Rs)return Pn;Rs=1;var e=dn(),n=15,o=852,i=592,a=0,t=1,r=2,s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],d=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];return Pn=function(c,b,m,y,g,u,_,w){var v=w.bits,E=0,x=0,O=0,C=0,D=0,W=0,H=0,S=0,R=0,L=0,N,V,P,j,k,F=null,Y=0,z,B=new e.Buf16(n+1),q=new e.Buf16(n+1),M=null,U=0,X,J,ae;for(E=0;E<=n;E++)B[E]=0;for(x=0;x<y;x++)B[b[m+x]]++;for(D=v,C=n;C>=1&&B[C]===0;C--);if(D>C&&(D=C),C===0)return g[u++]=1<<24|64<<16|0,g[u++]=1<<24|64<<16|0,w.bits=1,0;for(O=1;O<C&&B[O]===0;O++);for(D<O&&(D=O),S=1,E=1;E<=n;E++)if(S<<=1,S-=B[E],S<0)return-1;if(S>0&&(c===a||C!==1))return-1;for(q[1]=0,E=1;E<n;E++)q[E+1]=q[E]+B[E];for(x=0;x<y;x++)b[m+x]!==0&&(_[q[b[m+x]]++]=x);if(c===a?(F=M=_,z=19):c===t?(F=s,Y-=257,M=d,U-=257,z=256):(F=f,M=l,z=-1),L=0,x=0,E=O,k=u,W=D,H=0,P=-1,R=1<<D,j=R-1,c===t&&R>o||c===r&&R>i)return 1;for(;;){X=E-H,_[x]<z?(J=0,ae=_[x]):_[x]>z?(J=M[U+_[x]],ae=F[Y+_[x]]):(J=96,ae=0),N=1<<E-H,V=1<<W,O=V;do V-=N,g[k+(L>>H)+V]=X<<24|J<<16|ae|0;while(V!==0);for(N=1<<E-1;L&N;)N>>=1;if(N!==0?(L&=N-1,L+=N):L=0,x++,--B[E]===0){if(E===C)break;E=b[m+_[x]]}if(E>D&&(L&j)!==P){for(H===0&&(H=D),k+=O,W=E-H,S=1<<W;W+H<C&&(S-=B[W+H],!(S<=0));)W++,S<<=1;if(R+=1<<W,c===t&&R>o||c===r&&R>i)return 1;P=L&j,g[P]=D<<24|W<<16|k-u|0}}return L!==0&&(g[k+L]=E-H<<24|64<<16|0),w.bits=D,0},Pn}var Os;function em(){if(Os)return it;Os=1;var e=dn(),n=Wl(),o=Kl(),i=Xp(),a=Qp(),t=0,r=1,s=2,d=4,f=5,l=6,h=0,c=1,b=2,m=-2,y=-3,g=-4,u=-5,_=8,w=1,v=2,E=3,x=4,O=5,C=6,D=7,W=8,H=9,S=10,R=11,L=12,N=13,V=14,P=15,j=16,k=17,F=18,Y=19,z=20,B=21,q=22,M=23,U=24,X=25,J=26,ae=27,ue=28,ve=29,me=30,we=31,Ce=32,ke=852,je=592,Ie=15,Ee=Ie;function Ue(Z){return(Z>>>24&255)+(Z>>>8&65280)+((Z&65280)<<8)+((Z&255)<<24)}function at(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new e.Buf16(320),this.work=new e.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function qe(Z){var ie;return!Z||!Z.state?m:(ie=Z.state,Z.total_in=Z.total_out=ie.total=0,Z.msg="",ie.wrap&&(Z.adler=ie.wrap&1),ie.mode=w,ie.last=0,ie.havedict=0,ie.dmax=32768,ie.head=null,ie.hold=0,ie.bits=0,ie.lencode=ie.lendyn=new e.Buf32(ke),ie.distcode=ie.distdyn=new e.Buf32(je),ie.sane=1,ie.back=-1,h)}function De(Z){var ie;return!Z||!Z.state?m:(ie=Z.state,ie.wsize=0,ie.whave=0,ie.wnext=0,qe(Z))}function Ze(Z,ie){var T,oe;return!Z||!Z.state||(oe=Z.state,ie<0?(T=0,ie=-ie):(T=(ie>>4)+1,ie<48&&(ie&=15)),ie&&(ie<8||ie>15))?m:(oe.window!==null&&oe.wbits!==ie&&(oe.window=null),oe.wrap=T,oe.wbits=ie,De(Z))}function K(Z,ie){var T,oe;return Z?(oe=new at,Z.state=oe,oe.window=null,T=Ze(Z,ie),T!==h&&(Z.state=null),T):m}function Q(Z){return K(Z,Ee)}var ce=!0,ge,he;function Se(Z){if(ce){var ie;for(ge=new e.Buf32(512),he=new e.Buf32(32),ie=0;ie<144;)Z.lens[ie++]=8;for(;ie<256;)Z.lens[ie++]=9;for(;ie<280;)Z.lens[ie++]=7;for(;ie<288;)Z.lens[ie++]=8;for(a(r,Z.lens,0,288,ge,0,Z.work,{bits:9}),ie=0;ie<32;)Z.lens[ie++]=5;a(s,Z.lens,0,32,he,0,Z.work,{bits:5}),ce=!1}Z.lencode=ge,Z.lenbits=9,Z.distcode=he,Z.distbits=5}function Re(Z,ie,T,oe){var be,p=Z.state;return p.window===null&&(p.wsize=1<<p.wbits,p.wnext=0,p.whave=0,p.window=new e.Buf8(p.wsize)),oe>=p.wsize?(e.arraySet(p.window,ie,T-p.wsize,p.wsize,0),p.wnext=0,p.whave=p.wsize):(be=p.wsize-p.wnext,be>oe&&(be=oe),e.arraySet(p.window,ie,T-oe,be,p.wnext),oe-=be,oe?(e.arraySet(p.window,ie,T-oe,oe,0),p.wnext=oe,p.whave=p.wsize):(p.wnext+=be,p.wnext===p.wsize&&(p.wnext=0),p.whave<p.wsize&&(p.whave+=be))),0}function A(Z,ie){var T,oe,be,p,te,re,I,G,ee,_e,de,pe,xe,gt,Le=0,Ae,Fe,Ye,Xe,pr,mr,Me,nt,ze=new e.Buf8(4),vt,ht,ls=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Z||!Z.state||!Z.output||!Z.input&&Z.avail_in!==0)return m;T=Z.state,T.mode===L&&(T.mode=N),te=Z.next_out,be=Z.output,I=Z.avail_out,p=Z.next_in,oe=Z.input,re=Z.avail_in,G=T.hold,ee=T.bits,_e=re,de=I,nt=h;e:for(;;)switch(T.mode){case w:if(T.wrap===0){T.mode=N;break}for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(T.wrap&2&&G===35615){T.check=0,ze[0]=G&255,ze[1]=G>>>8&255,T.check=o(T.check,ze,2,0),G=0,ee=0,T.mode=v;break}if(T.flags=0,T.head&&(T.head.done=!1),!(T.wrap&1)||(((G&255)<<8)+(G>>8))%31){Z.msg="incorrect header check",T.mode=me;break}if((G&15)!==_){Z.msg="unknown compression method",T.mode=me;break}if(G>>>=4,ee-=4,Me=(G&15)+8,T.wbits===0)T.wbits=Me;else if(Me>T.wbits){Z.msg="invalid window size",T.mode=me;break}T.dmax=1<<Me,Z.adler=T.check=1,T.mode=G&512?S:L,G=0,ee=0;break;case v:for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(T.flags=G,(T.flags&255)!==_){Z.msg="unknown compression method",T.mode=me;break}if(T.flags&57344){Z.msg="unknown header flags set",T.mode=me;break}T.head&&(T.head.text=G>>8&1),T.flags&512&&(ze[0]=G&255,ze[1]=G>>>8&255,T.check=o(T.check,ze,2,0)),G=0,ee=0,T.mode=E;case E:for(;ee<32;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.head&&(T.head.time=G),T.flags&512&&(ze[0]=G&255,ze[1]=G>>>8&255,ze[2]=G>>>16&255,ze[3]=G>>>24&255,T.check=o(T.check,ze,4,0)),G=0,ee=0,T.mode=x;case x:for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.head&&(T.head.xflags=G&255,T.head.os=G>>8),T.flags&512&&(ze[0]=G&255,ze[1]=G>>>8&255,T.check=o(T.check,ze,2,0)),G=0,ee=0,T.mode=O;case O:if(T.flags&1024){for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.length=G,T.head&&(T.head.extra_len=G),T.flags&512&&(ze[0]=G&255,ze[1]=G>>>8&255,T.check=o(T.check,ze,2,0)),G=0,ee=0}else T.head&&(T.head.extra=null);T.mode=C;case C:if(T.flags&1024&&(pe=T.length,pe>re&&(pe=re),pe&&(T.head&&(Me=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),e.arraySet(T.head.extra,oe,p,pe,Me)),T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,T.length-=pe),T.length))break e;T.length=0,T.mode=D;case D:if(T.flags&2048){if(re===0)break e;pe=0;do Me=oe[p+pe++],T.head&&Me&&T.length<65536&&(T.head.name+=String.fromCharCode(Me));while(Me&&pe<re);if(T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,Me)break e}else T.head&&(T.head.name=null);T.length=0,T.mode=W;case W:if(T.flags&4096){if(re===0)break e;pe=0;do Me=oe[p+pe++],T.head&&Me&&T.length<65536&&(T.head.comment+=String.fromCharCode(Me));while(Me&&pe<re);if(T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,Me)break e}else T.head&&(T.head.comment=null);T.mode=H;case H:if(T.flags&512){for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(G!==(T.check&65535)){Z.msg="header crc mismatch",T.mode=me;break}G=0,ee=0}T.head&&(T.head.hcrc=T.flags>>9&1,T.head.done=!0),Z.adler=T.check=0,T.mode=L;break;case S:for(;ee<32;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}Z.adler=T.check=Ue(G),G=0,ee=0,T.mode=R;case R:if(T.havedict===0)return Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=G,T.bits=ee,b;Z.adler=T.check=1,T.mode=L;case L:if(ie===f||ie===l)break e;case N:if(T.last){G>>>=ee&7,ee-=ee&7,T.mode=ae;break}for(;ee<3;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}switch(T.last=G&1,G>>>=1,ee-=1,G&3){case 0:T.mode=V;break;case 1:if(Se(T),T.mode=z,ie===l){G>>>=2,ee-=2;break e}break;case 2:T.mode=k;break;case 3:Z.msg="invalid block type",T.mode=me}G>>>=2,ee-=2;break;case V:for(G>>>=ee&7,ee-=ee&7;ee<32;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if((G&65535)!==(G>>>16^65535)){Z.msg="invalid stored block lengths",T.mode=me;break}if(T.length=G&65535,G=0,ee=0,T.mode=P,ie===l)break e;case P:T.mode=j;case j:if(pe=T.length,pe){if(pe>re&&(pe=re),pe>I&&(pe=I),pe===0)break e;e.arraySet(be,oe,p,pe,te),re-=pe,p+=pe,I-=pe,te+=pe,T.length-=pe;break}T.mode=L;break;case k:for(;ee<14;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(T.nlen=(G&31)+257,G>>>=5,ee-=5,T.ndist=(G&31)+1,G>>>=5,ee-=5,T.ncode=(G&15)+4,G>>>=4,ee-=4,T.nlen>286||T.ndist>30){Z.msg="too many length or distance symbols",T.mode=me;break}T.have=0,T.mode=F;case F:for(;T.have<T.ncode;){for(;ee<3;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.lens[ls[T.have++]]=G&7,G>>>=3,ee-=3}for(;T.have<19;)T.lens[ls[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,vt={bits:T.lenbits},nt=a(t,T.lens,0,19,T.lencode,0,T.work,vt),T.lenbits=vt.bits,nt){Z.msg="invalid code lengths set",T.mode=me;break}T.have=0,T.mode=Y;case Y:for(;T.have<T.nlen+T.ndist;){for(;Le=T.lencode[G&(1<<T.lenbits)-1],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(Ye<16)G>>>=Ae,ee-=Ae,T.lens[T.have++]=Ye;else{if(Ye===16){for(ht=Ae+2;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(G>>>=Ae,ee-=Ae,T.have===0){Z.msg="invalid bit length repeat",T.mode=me;break}Me=T.lens[T.have-1],pe=3+(G&3),G>>>=2,ee-=2}else if(Ye===17){for(ht=Ae+3;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}G>>>=Ae,ee-=Ae,Me=0,pe=3+(G&7),G>>>=3,ee-=3}else{for(ht=Ae+7;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}G>>>=Ae,ee-=Ae,Me=0,pe=11+(G&127),G>>>=7,ee-=7}if(T.have+pe>T.nlen+T.ndist){Z.msg="invalid bit length repeat",T.mode=me;break}for(;pe--;)T.lens[T.have++]=Me}}if(T.mode===me)break;if(T.lens[256]===0){Z.msg="invalid code -- missing end-of-block",T.mode=me;break}if(T.lenbits=9,vt={bits:T.lenbits},nt=a(r,T.lens,0,T.nlen,T.lencode,0,T.work,vt),T.lenbits=vt.bits,nt){Z.msg="invalid literal/lengths set",T.mode=me;break}if(T.distbits=6,T.distcode=T.distdyn,vt={bits:T.distbits},nt=a(s,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,vt),T.distbits=vt.bits,nt){Z.msg="invalid distances set",T.mode=me;break}if(T.mode=z,ie===l)break e;case z:T.mode=B;case B:if(re>=6&&I>=258){Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=G,T.bits=ee,i(Z,de),te=Z.next_out,be=Z.output,I=Z.avail_out,p=Z.next_in,oe=Z.input,re=Z.avail_in,G=T.hold,ee=T.bits,T.mode===L&&(T.back=-1);break}for(T.back=0;Le=T.lencode[G&(1<<T.lenbits)-1],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(Fe&&(Fe&240)===0){for(Xe=Ae,pr=Fe,mr=Ye;Le=T.lencode[mr+((G&(1<<Xe+pr)-1)>>Xe)],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Xe+Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}G>>>=Xe,ee-=Xe,T.back+=Xe}if(G>>>=Ae,ee-=Ae,T.back+=Ae,T.length=Ye,Fe===0){T.mode=J;break}if(Fe&32){T.back=-1,T.mode=L;break}if(Fe&64){Z.msg="invalid literal/length code",T.mode=me;break}T.extra=Fe&15,T.mode=q;case q:if(T.extra){for(ht=T.extra;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.length+=G&(1<<T.extra)-1,G>>>=T.extra,ee-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=M;case M:for(;Le=T.distcode[G&(1<<T.distbits)-1],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if((Fe&240)===0){for(Xe=Ae,pr=Fe,mr=Ye;Le=T.distcode[mr+((G&(1<<Xe+pr)-1)>>Xe)],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Xe+Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}G>>>=Xe,ee-=Xe,T.back+=Xe}if(G>>>=Ae,ee-=Ae,T.back+=Ae,Fe&64){Z.msg="invalid distance code",T.mode=me;break}T.offset=Ye,T.extra=Fe&15,T.mode=U;case U:if(T.extra){for(ht=T.extra;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.offset+=G&(1<<T.extra)-1,G>>>=T.extra,ee-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){Z.msg="invalid distance too far back",T.mode=me;break}T.mode=X;case X:if(I===0)break e;if(pe=de-I,T.offset>pe){if(pe=T.offset-pe,pe>T.whave&&T.sane){Z.msg="invalid distance too far back",T.mode=me;break}pe>T.wnext?(pe-=T.wnext,xe=T.wsize-pe):xe=T.wnext-pe,pe>T.length&&(pe=T.length),gt=T.window}else gt=be,xe=te-T.offset,pe=T.length;pe>I&&(pe=I),I-=pe,T.length-=pe;do be[te++]=gt[xe++];while(--pe);T.length===0&&(T.mode=B);break;case J:if(I===0)break e;be[te++]=T.length,I--,T.mode=B;break;case ae:if(T.wrap){for(;ee<32;){if(re===0)break e;re--,G|=oe[p++]<<ee,ee+=8}if(de-=I,Z.total_out+=de,T.total+=de,de&&(Z.adler=T.check=T.flags?o(T.check,be,de,te-de):n(T.check,be,de,te-de)),de=I,(T.flags?G:Ue(G))!==T.check){Z.msg="incorrect data check",T.mode=me;break}G=0,ee=0}T.mode=ue;case ue:if(T.wrap&&T.flags){for(;ee<32;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(G!==(T.total&4294967295)){Z.msg="incorrect length check",T.mode=me;break}G=0,ee=0}T.mode=ve;case ve:nt=c;break e;case me:nt=y;break e;case we:return g;case Ce:default:return m}return Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=G,T.bits=ee,(T.wsize||de!==Z.avail_out&&T.mode<me&&(T.mode<ae||ie!==d))&&Re(Z,Z.output,Z.next_out,de-Z.avail_out),_e-=Z.avail_in,de-=Z.avail_out,Z.total_in+=_e,Z.total_out+=de,T.total+=de,T.wrap&&de&&(Z.adler=T.check=T.flags?o(T.check,be,de,Z.next_out-de):n(T.check,be,de,Z.next_out-de)),Z.data_type=T.bits+(T.last?64:0)+(T.mode===L?128:0)+(T.mode===z||T.mode===P?256:0),(_e===0&&de===0||ie===d)&&nt===h&&(nt=u),nt}function ne(Z){if(!Z||!Z.state)return m;var ie=Z.state;return ie.window&&(ie.window=null),Z.state=null,h}function se(Z,ie){var T;return!Z||!Z.state||(T=Z.state,(T.wrap&2)===0)?m:(T.head=ie,ie.done=!1,h)}function fe(Z,ie){var T=ie.length,oe,be,p;return!Z||!Z.state||(oe=Z.state,oe.wrap!==0&&oe.mode!==R)?m:oe.mode===R&&(be=1,be=n(be,ie,T,0),be!==oe.check)?y:(p=Re(Z,ie,T,T),p?(oe.mode=we,g):(oe.havedict=1,h))}return it.inflateReset=De,it.inflateReset2=Ze,it.inflateResetKeep=qe,it.inflateInit=Q,it.inflateInit2=K,it.inflate=A,it.inflateEnd=ne,it.inflateGetHeader=se,it.inflateSetDictionary=fe,it.inflateInfo="pako inflate (from Nodeca project)",it}var kn,Ts;function tm(){return Ts||(Ts=1,kn={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}),kn}const Dt=()=>{const[e,n]=Yl(),[o,i]=le.useState(),a=le.useRef(!1);return le.useEffect(()=>{if(a.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=cp(e);r!=null&&i(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),a.current=!0},[e,n]),o},rm={overlayWidth:new ut(100,100,50)},{common:{strings:xs}}=sr.getLocalizedStrings();function nm(e,n){return{headerActions:{onTabChange:o=>{const i=Nt(o),a=Vt(o);$e.trackCockpitTabClicked(a),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(o,i)=>{e(gr({uiState:{filterText:i}}))},onFiltersChange:(o,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&$e.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(a=>a.matchingOperator).join(xs.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(a=>a.field).join(xs.comma)}}),e(gr({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:o=>{e(Il(o))},onColumnSortConfigChanged:(o,i)=>{e(gr({uiState:{sortKey:o,sortOrder:i}}))},onCockpitReloadData:o=>{o==="healthMonitor"&&e(xl())},onFiltersChange:o=>{e(gr({uiState:{filters:o}}))}}}}function im(e,n){return{headerData:{selectedTabOption:xt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const am=Ge(im,nm)(dp);function jn({isDrawerOpen:e}){const n=Ve(),o=Ke(),i=$t(),a=sn(),{companyId:t}=ct(),[r,s]=Yl(),[d,f]=le.useState(!1),l=Dt(),h=Oe(v=>Zh(v)),c=Oe(v=>ar(v)),{additionalChurnFactors:b}=Oe(v=>Yh(v)),{selectedCompanyDetail:m,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=h,u=Oe(v=>v.companyViewState.zeniUsers.fetchState),_=Oe(v=>v.companyHealthMetricConfigViewState);if(le.useEffect(()=>{const v=E=>E==="Not-Started"||E==="Error";h.fetchState==="Completed"?o(qt(!1)):v(h.fetchState)&&(o(xl()),v(u)&&o(Tt()),v(_.fetchState)&&o(Wh()))},[h.fetchState,_.fetchState]),le.useEffect(()=>{t!=null&&h.fetchState==="Completed"&&r.has("utm_source")===!0&&(o(Il(t)),m!=null&&(fp(),$e.trackCockpitHealthMonitorNotificationAlertClicked({companyId:m.companyInfo.companyId,companyName:m.companyInfo.name,churnProbability:m.companyHealthMetric.churnProbabilityPercentage??null}),f(!0),r.delete("utm_source"),s(r)))},[h.fetchState,m?.companyInfo.companyId,m?.companyInfo.name]),We.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return $.jsxs($.Fragment,{children:[e===!0||y!=null&&m!=null?$.jsx(ln,{anchor:"right",open:y!=null,PaperProps:{style:{width:rm.overlayWidth.valuePercentage(a),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>o(hs()),children:$.jsx(lp,{roomId:`cockpit_${y}`,autoConnect:!0,children:$.jsx(hp,{onSaveClick:()=>{y!=null&&o(Jh(y))},onSaveChangesToLocalStore:v=>{h.selectedCompanyId!=null&&o(Kh({companyId:h.selectedCompanyId,updatedLocalData:v}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:h,onCloseDrawer:()=>o(hs()),analytics:$e,urlSource:d,additionalChurnFactorsOptions:b})})}):null,$.jsx(am,{initialOpenThreadRequest:l??void 0,healthView:h,managementView:c,navigate:n,mixpanelHMUrl:un.mixpanelHMUrl})]})}const Jl=(e,n)=>{const o=[...e??[]];return o.push(n),o},om=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},sm=(e=2)=>{let n="../";for(let o=0;o<e;o++)n=`${n}../`;return n},Pe=({state:e,element:n})=>We.isSignedIn()===!0?$.jsx($.Fragment,{children:n}):$.jsx(tr,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function um(){return $.jsxs(bt,{children:[$.jsx(Te,{path:"/companies/:companyId",element:$.jsx(Pe,{element:$.jsx(jn,{isDrawerOpen:!0})})}),$.jsx(Te,{path:"/",element:$.jsx(Pe,{element:$.jsx(jn,{})})}),$.jsx(Te,{path:"/*",element:$.jsx(Pe,{element:$.jsx(jn,{})})})]})}const cm={drawerLeftMargin:new ut(0,0,240)};function fr(e){const{isOpen:n,drawerLeftMargin:o,children:i,onClose:a}=e,t=sn(),r=o?.valuePx(t)??cm.drawerLeftMargin.valuePx(t),s=$t();return $.jsx(ln,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:a,children:i})}const fm=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?$.jsx(lm,{children:$.jsx(cn,{size:"ExtraLarge",start:!0})}):null,lm=tt.div`
|
|
1
|
+
import{FI as Zh,FJ as ar,FK as Yh,jb as qt,hO as xl,jd as Tt,hL as Wh,hS as Il,FL as hs,hU as Kh,hV as Jh,FM as gr,FN as or,hh as Xh,FO as an,FP as Do,c_ as Qh,fh as Mo,fe as Qr,fm as jt,fk as ed,FQ as Al,FR as Cl,i7 as td,i4 as rd,FS as nd,ij as id,id as ds,ia as ad,h$ as od,FT as sd,dV as ud,d4 as cd,jp as Pl,FU as fd,be as Xr,hY as ps,i1 as ld,q9 as kl,jc as on,FV as pt,iz as Fo,FW as hd,jv as dd,B as et,bi as Bo,FX as pd,he as md,FY as gd,FZ as jl,F_ as vd,oJ as ms,oe as yd,F$ as _d,ok as En,G0 as bd,om as wd,G1 as St,ob as Ed,cO as Sd,jg as Ll,jh as ql,jf as Uo,je as $o,ji as Rd,G2 as Od,oM as Td,G3 as xd,ot as Id,oG as Ad,G4 as Cd,ox as Pd,G5 as kd,G6 as Yt,G7 as Vo,G8 as jd,G9 as Ld,nf as qd,nl as Nl,Ga as Dl,gL as Nd,EO as Ml,Gb as Dd,EI as Md,Gc as Fd,Gd as Bd,no as Ud,Ge as $d,ET as Vd,EH as Gd,rF as Fl,Gf as Sn,Gg as Bl,BQ as Go,BC as zd,BT as Ul,BF as Hd,Gh as Zd,BK as Yd,Bw as Wd,Bz as Kd,Gi as Jd,BX as Xd,BN as Qd,bl as ep,bd as tp,Gj as rp,Gk as Bt,Gl as np,Gm as ip,Gn as ap,io as jo,iu as op,ba as sp}from"./zeni-epic-state-B7yJI5lR.js";import{j as $}from"./liveblocks-CH5Ytl_r.js";import{a as le,p as ye,e as $l,d as Vl,g as up}from"./sentry-SNkBC2Al.js";import{C as cp,m as $t,K as sn,u as fp,a as $e,z as We,n as lp,Q as hp,b as ut,c as un,X as dp,M as xt,D as sr,g as Vt,h as Nt,$ as cn,o as kt,d as pp,e as mp,Z as Rt,i as fn,F as Lt,r as gp,s as vp,f as Rn,j as yp,k as Gl,L as _p,l as zl,p as Hl,q as Lo,I as bp,t as wp,v as Ep,w as Zl,x as Sp,y as Rp,A as Op,B as Tp,E as xp,G as Ip,H as Ap,J as Cp,N as Pp,O as kp,P as jp,Y as Lp,R as qp}from"./index-BnDpf4K9.js";import{f as Np}from"./analyticsHelper-BviTMVeA.js";import{o as Yl,i as Ve,n as Ke,p as ct,g as Oe,h as Ge,N as tr,k as bt,l as Te,u as zo,j as qo}from"./core-CrJ0HRkP.js";import{D as ln,n as tt,S as Gt}from"./mui-DzLLS9Rs.js";import{a as He,b as Dp,c as Mp,d as Fp,e as Ho,f as Bp,g as Up,h as $p,i as zt,j as Vp,k as nr,l as hn,m as Gp,n as ur,o as zp}from"./utils-CpsqBQqv.js";import{r as Zo}from"./empty-DCdjTxMk.js";import{r as cr,a as Hp}from"./index-BHVDlT_9.js";import{r as Zp}from"./index-CS2xkLsB.js";import"./recharts-DE-kxplH.js";import"./lottie-jJKhsKLZ.js";import"./analytics-Ci62SVC6.js";import"./lexical-Y1MbDrft.js";import"./url-C9VCVVAZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f630b2b9-af98-463c-8609-d628bf2409f8",e._sentryDebugIdIdentifier="sentry-dbid-f630b2b9-af98-463c-8609-d628bf2409f8")}catch{}})();var On={},gs;function dn(){return gs||(gs=1,function(e){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function o(t,r){return Object.prototype.hasOwnProperty.call(t,r)}e.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var s=r.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var d in s)o(s,d)&&(t[d]=s[d])}}return t},e.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var i={arraySet:function(t,r,s,d,f){if(r.subarray&&t.subarray){t.set(r.subarray(s,s+d),f);return}for(var l=0;l<d;l++)t[f+l]=r[s+l]},flattenChunks:function(t){var r,s,d,f,l,h;for(d=0,r=0,s=t.length;r<s;r++)d+=t[r].length;for(h=new Uint8Array(d),f=0,r=0,s=t.length;r<s;r++)l=t[r],h.set(l,f),f+=l.length;return h}},a={arraySet:function(t,r,s,d,f){for(var l=0;l<d;l++)t[f+l]=r[s+l]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,a))},e.setTyped(n)}(On)),On}var ot={},It={},vs;function Yp(){if(vs)return It;vs=1;var e=dn(),n=4,o=0,i=1,a=2;function t(A){for(var ne=A.length;--ne>=0;)A[ne]=0}var r=0,s=1,d=2,f=3,l=258,h=29,c=256,b=c+1+h,m=30,y=19,g=2*b+1,u=15,_=16,w=7,v=256,E=16,x=17,O=18,C=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],D=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],W=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=512,R=new Array((b+2)*2);t(R);var L=new Array(m*2);t(L);var N=new Array(S);t(N);var V=new Array(l-f+1);t(V);var P=new Array(h);t(P);var j=new Array(m);t(j);function k(A,ne,se,fe,Z){this.static_tree=A,this.extra_bits=ne,this.extra_base=se,this.elems=fe,this.max_length=Z,this.has_stree=A&&A.length}var F,Y,z;function B(A,ne){this.dyn_tree=A,this.max_code=0,this.stat_desc=ne}function q(A){return A<256?N[A]:N[256+(A>>>7)]}function M(A,ne){A.pending_buf[A.pending++]=ne&255,A.pending_buf[A.pending++]=ne>>>8&255}function U(A,ne,se){A.bi_valid>_-se?(A.bi_buf|=ne<<A.bi_valid&65535,M(A,A.bi_buf),A.bi_buf=ne>>_-A.bi_valid,A.bi_valid+=se-_):(A.bi_buf|=ne<<A.bi_valid&65535,A.bi_valid+=se)}function X(A,ne,se){U(A,se[ne*2],se[ne*2+1])}function J(A,ne){var se=0;do se|=A&1,A>>>=1,se<<=1;while(--ne>0);return se>>>1}function ae(A){A.bi_valid===16?(M(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):A.bi_valid>=8&&(A.pending_buf[A.pending++]=A.bi_buf&255,A.bi_buf>>=8,A.bi_valid-=8)}function ue(A,ne){var se=ne.dyn_tree,fe=ne.max_code,Z=ne.stat_desc.static_tree,ie=ne.stat_desc.has_stree,T=ne.stat_desc.extra_bits,oe=ne.stat_desc.extra_base,be=ne.stat_desc.max_length,p,te,re,I,G,ee,_e=0;for(I=0;I<=u;I++)A.bl_count[I]=0;for(se[A.heap[A.heap_max]*2+1]=0,p=A.heap_max+1;p<g;p++)te=A.heap[p],I=se[se[te*2+1]*2+1]+1,I>be&&(I=be,_e++),se[te*2+1]=I,!(te>fe)&&(A.bl_count[I]++,G=0,te>=oe&&(G=T[te-oe]),ee=se[te*2],A.opt_len+=ee*(I+G),ie&&(A.static_len+=ee*(Z[te*2+1]+G)));if(_e!==0){do{for(I=be-1;A.bl_count[I]===0;)I--;A.bl_count[I]--,A.bl_count[I+1]+=2,A.bl_count[be]--,_e-=2}while(_e>0);for(I=be;I!==0;I--)for(te=A.bl_count[I];te!==0;)re=A.heap[--p],!(re>fe)&&(se[re*2+1]!==I&&(A.opt_len+=(I-se[re*2+1])*se[re*2],se[re*2+1]=I),te--)}}function ve(A,ne,se){var fe=new Array(u+1),Z=0,ie,T;for(ie=1;ie<=u;ie++)fe[ie]=Z=Z+se[ie-1]<<1;for(T=0;T<=ne;T++){var oe=A[T*2+1];oe!==0&&(A[T*2]=J(fe[oe]++,oe))}}function me(){var A,ne,se,fe,Z,ie=new Array(u+1);for(se=0,fe=0;fe<h-1;fe++)for(P[fe]=se,A=0;A<1<<C[fe];A++)V[se++]=fe;for(V[se-1]=fe,Z=0,fe=0;fe<16;fe++)for(j[fe]=Z,A=0;A<1<<D[fe];A++)N[Z++]=fe;for(Z>>=7;fe<m;fe++)for(j[fe]=Z<<7,A=0;A<1<<D[fe]-7;A++)N[256+Z++]=fe;for(ne=0;ne<=u;ne++)ie[ne]=0;for(A=0;A<=143;)R[A*2+1]=8,A++,ie[8]++;for(;A<=255;)R[A*2+1]=9,A++,ie[9]++;for(;A<=279;)R[A*2+1]=7,A++,ie[7]++;for(;A<=287;)R[A*2+1]=8,A++,ie[8]++;for(ve(R,b+1,ie),A=0;A<m;A++)L[A*2+1]=5,L[A*2]=J(A,5);F=new k(R,C,c+1,b,u),Y=new k(L,D,0,m,u),z=new k(new Array(0),W,0,y,w)}function we(A){var ne;for(ne=0;ne<b;ne++)A.dyn_ltree[ne*2]=0;for(ne=0;ne<m;ne++)A.dyn_dtree[ne*2]=0;for(ne=0;ne<y;ne++)A.bl_tree[ne*2]=0;A.dyn_ltree[v*2]=1,A.opt_len=A.static_len=0,A.last_lit=A.matches=0}function Ce(A){A.bi_valid>8?M(A,A.bi_buf):A.bi_valid>0&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function ke(A,ne,se,fe){Ce(A),M(A,se),M(A,~se),e.arraySet(A.pending_buf,A.window,ne,se,A.pending),A.pending+=se}function je(A,ne,se,fe){var Z=ne*2,ie=se*2;return A[Z]<A[ie]||A[Z]===A[ie]&&fe[ne]<=fe[se]}function Ie(A,ne,se){for(var fe=A.heap[se],Z=se<<1;Z<=A.heap_len&&(Z<A.heap_len&&je(ne,A.heap[Z+1],A.heap[Z],A.depth)&&Z++,!je(ne,fe,A.heap[Z],A.depth));)A.heap[se]=A.heap[Z],se=Z,Z<<=1;A.heap[se]=fe}function Ee(A,ne,se){var fe,Z,ie=0,T,oe;if(A.last_lit!==0)do fe=A.pending_buf[A.d_buf+ie*2]<<8|A.pending_buf[A.d_buf+ie*2+1],Z=A.pending_buf[A.l_buf+ie],ie++,fe===0?X(A,Z,ne):(T=V[Z],X(A,T+c+1,ne),oe=C[T],oe!==0&&(Z-=P[T],U(A,Z,oe)),fe--,T=q(fe),X(A,T,se),oe=D[T],oe!==0&&(fe-=j[T],U(A,fe,oe)));while(ie<A.last_lit);X(A,v,ne)}function Ue(A,ne){var se=ne.dyn_tree,fe=ne.stat_desc.static_tree,Z=ne.stat_desc.has_stree,ie=ne.stat_desc.elems,T,oe,be=-1,p;for(A.heap_len=0,A.heap_max=g,T=0;T<ie;T++)se[T*2]!==0?(A.heap[++A.heap_len]=be=T,A.depth[T]=0):se[T*2+1]=0;for(;A.heap_len<2;)p=A.heap[++A.heap_len]=be<2?++be:0,se[p*2]=1,A.depth[p]=0,A.opt_len--,Z&&(A.static_len-=fe[p*2+1]);for(ne.max_code=be,T=A.heap_len>>1;T>=1;T--)Ie(A,se,T);p=ie;do T=A.heap[1],A.heap[1]=A.heap[A.heap_len--],Ie(A,se,1),oe=A.heap[1],A.heap[--A.heap_max]=T,A.heap[--A.heap_max]=oe,se[p*2]=se[T*2]+se[oe*2],A.depth[p]=(A.depth[T]>=A.depth[oe]?A.depth[T]:A.depth[oe])+1,se[T*2+1]=se[oe*2+1]=p,A.heap[1]=p++,Ie(A,se,1);while(A.heap_len>=2);A.heap[--A.heap_max]=A.heap[1],ue(A,ne),ve(se,be,A.bl_count)}function at(A,ne,se){var fe,Z=-1,ie,T=ne[0*2+1],oe=0,be=7,p=4;for(T===0&&(be=138,p=3),ne[(se+1)*2+1]=65535,fe=0;fe<=se;fe++)ie=T,T=ne[(fe+1)*2+1],!(++oe<be&&ie===T)&&(oe<p?A.bl_tree[ie*2]+=oe:ie!==0?(ie!==Z&&A.bl_tree[ie*2]++,A.bl_tree[E*2]++):oe<=10?A.bl_tree[x*2]++:A.bl_tree[O*2]++,oe=0,Z=ie,T===0?(be=138,p=3):ie===T?(be=6,p=3):(be=7,p=4))}function qe(A,ne,se){var fe,Z=-1,ie,T=ne[0*2+1],oe=0,be=7,p=4;for(T===0&&(be=138,p=3),fe=0;fe<=se;fe++)if(ie=T,T=ne[(fe+1)*2+1],!(++oe<be&&ie===T)){if(oe<p)do X(A,ie,A.bl_tree);while(--oe!==0);else ie!==0?(ie!==Z&&(X(A,ie,A.bl_tree),oe--),X(A,E,A.bl_tree),U(A,oe-3,2)):oe<=10?(X(A,x,A.bl_tree),U(A,oe-3,3)):(X(A,O,A.bl_tree),U(A,oe-11,7));oe=0,Z=ie,T===0?(be=138,p=3):ie===T?(be=6,p=3):(be=7,p=4)}}function De(A){var ne;for(at(A,A.dyn_ltree,A.l_desc.max_code),at(A,A.dyn_dtree,A.d_desc.max_code),Ue(A,A.bl_desc),ne=y-1;ne>=3&&A.bl_tree[H[ne]*2+1]===0;ne--);return A.opt_len+=3*(ne+1)+5+5+4,ne}function Ze(A,ne,se,fe){var Z;for(U(A,ne-257,5),U(A,se-1,5),U(A,fe-4,4),Z=0;Z<fe;Z++)U(A,A.bl_tree[H[Z]*2+1],3);qe(A,A.dyn_ltree,ne-1),qe(A,A.dyn_dtree,se-1)}function K(A){var ne=4093624447,se;for(se=0;se<=31;se++,ne>>>=1)if(ne&1&&A.dyn_ltree[se*2]!==0)return o;if(A.dyn_ltree[9*2]!==0||A.dyn_ltree[10*2]!==0||A.dyn_ltree[13*2]!==0)return i;for(se=32;se<c;se++)if(A.dyn_ltree[se*2]!==0)return i;return o}var Q=!1;function ce(A){Q||(me(),Q=!0),A.l_desc=new B(A.dyn_ltree,F),A.d_desc=new B(A.dyn_dtree,Y),A.bl_desc=new B(A.bl_tree,z),A.bi_buf=0,A.bi_valid=0,we(A)}function ge(A,ne,se,fe){U(A,(r<<1)+(fe?1:0),3),ke(A,ne,se)}function he(A){U(A,s<<1,3),X(A,v,R),ae(A)}function Se(A,ne,se,fe){var Z,ie,T=0;A.level>0?(A.strm.data_type===a&&(A.strm.data_type=K(A)),Ue(A,A.l_desc),Ue(A,A.d_desc),T=De(A),Z=A.opt_len+3+7>>>3,ie=A.static_len+3+7>>>3,ie<=Z&&(Z=ie)):Z=ie=se+5,se+4<=Z&&ne!==-1?ge(A,ne,se,fe):A.strategy===n||ie===Z?(U(A,(s<<1)+(fe?1:0),3),Ee(A,R,L)):(U(A,(d<<1)+(fe?1:0),3),Ze(A,A.l_desc.max_code+1,A.d_desc.max_code+1,T+1),Ee(A,A.dyn_ltree,A.dyn_dtree)),we(A),fe&&Ce(A)}function Re(A,ne,se){return A.pending_buf[A.d_buf+A.last_lit*2]=ne>>>8&255,A.pending_buf[A.d_buf+A.last_lit*2+1]=ne&255,A.pending_buf[A.l_buf+A.last_lit]=se&255,A.last_lit++,ne===0?A.dyn_ltree[se*2]++:(A.matches++,ne--,A.dyn_ltree[(V[se]+c+1)*2]++,A.dyn_dtree[q(ne)*2]++),A.last_lit===A.lit_bufsize-1}return It._tr_init=ce,It._tr_stored_block=ge,It._tr_flush_block=Se,It._tr_tally=Re,It._tr_align=he,It}var Tn,ys;function Wl(){if(ys)return Tn;ys=1;function e(n,o,i,a){for(var t=n&65535|0,r=n>>>16&65535|0,s=0;i!==0;){s=i>2e3?2e3:i,i-=s;do t=t+o[a++]|0,r=r+t|0;while(--s);t%=65521,r%=65521}return t|r<<16|0}return Tn=e,Tn}var xn,_s;function Kl(){if(_s)return xn;_s=1;function e(){for(var i,a=[],t=0;t<256;t++){i=t;for(var r=0;r<8;r++)i=i&1?3988292384^i>>>1:i>>>1;a[t]=i}return a}var n=e();function o(i,a,t,r){var s=n,d=r+t;i^=-1;for(var f=r;f<d;f++)i=i>>>8^s[(i^a[f])&255];return i^-1}return xn=o,xn}var In,bs;function Wp(){return bs||(bs=1,In={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}),In}var ws;function Kp(){if(ws)return ot;ws=1;var e=dn(),n=Yp(),o=Wl(),i=Kl(),a=Wp(),t=0,r=1,s=3,d=4,f=5,l=0,h=1,c=-2,b=-3,m=-5,y=-1,g=1,u=2,_=3,w=4,v=0,E=2,x=8,O=9,C=15,D=8,W=29,H=256,S=H+1+W,R=30,L=19,N=2*S+1,V=15,P=3,j=258,k=j+P+1,F=32,Y=42,z=69,B=73,q=91,M=103,U=113,X=666,J=1,ae=2,ue=3,ve=4,me=3;function we(p,te){return p.msg=a[te],te}function Ce(p){return(p<<1)-(p>4?9:0)}function ke(p){for(var te=p.length;--te>=0;)p[te]=0}function je(p){var te=p.state,re=te.pending;re>p.avail_out&&(re=p.avail_out),re!==0&&(e.arraySet(p.output,te.pending_buf,te.pending_out,re,p.next_out),p.next_out+=re,te.pending_out+=re,p.total_out+=re,p.avail_out-=re,te.pending-=re,te.pending===0&&(te.pending_out=0))}function Ie(p,te){n._tr_flush_block(p,p.block_start>=0?p.block_start:-1,p.strstart-p.block_start,te),p.block_start=p.strstart,je(p.strm)}function Ee(p,te){p.pending_buf[p.pending++]=te}function Ue(p,te){p.pending_buf[p.pending++]=te>>>8&255,p.pending_buf[p.pending++]=te&255}function at(p,te,re,I){var G=p.avail_in;return G>I&&(G=I),G===0?0:(p.avail_in-=G,e.arraySet(te,p.input,p.next_in,G,re),p.state.wrap===1?p.adler=o(p.adler,te,G,re):p.state.wrap===2&&(p.adler=i(p.adler,te,G,re)),p.next_in+=G,p.total_in+=G,G)}function qe(p,te){var re=p.max_chain_length,I=p.strstart,G,ee,_e=p.prev_length,de=p.nice_match,pe=p.strstart>p.w_size-k?p.strstart-(p.w_size-k):0,xe=p.window,gt=p.w_mask,Le=p.prev,Ae=p.strstart+j,Fe=xe[I+_e-1],Ye=xe[I+_e];p.prev_length>=p.good_match&&(re>>=2),de>p.lookahead&&(de=p.lookahead);do if(G=te,!(xe[G+_e]!==Ye||xe[G+_e-1]!==Fe||xe[G]!==xe[I]||xe[++G]!==xe[I+1])){I+=2,G++;do;while(xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&xe[++I]===xe[++G]&&I<Ae);if(ee=j-(Ae-I),I=Ae-j,ee>_e){if(p.match_start=te,_e=ee,ee>=de)break;Fe=xe[I+_e-1],Ye=xe[I+_e]}}while((te=Le[te>])>pe&&--re!==0);return _e<=p.lookahead?_e:p.lookahead}function De(p){var te=p.w_size,re,I,G,ee,_e;do{if(ee=p.window_size-p.lookahead-p.strstart,p.strstart>=te+(te-k)){e.arraySet(p.window,p.window,te,te,0),p.match_start-=te,p.strstart-=te,p.block_start-=te,I=p.hash_size,re=I;do G=p.head[--re],p.head[re]=G>=te?G-te:0;while(--I);I=te,re=I;do G=p.prev[--re],p.prev[re]=G>=te?G-te:0;while(--I);ee+=te}if(p.strm.avail_in===0)break;if(I=at(p.strm,p.window,p.strstart+p.lookahead,ee),p.lookahead+=I,p.lookahead+p.insert>=P)for(_e=p.strstart-p.insert,p.ins_h=p.window[_e],p.ins_h=(p.ins_h<<p.hash_shift^p.window[_e+1])&p.hash_mask;p.insert&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[_e+P-1])&p.hash_mask,p.prev[_e&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=_e,_e++,p.insert--,!(p.lookahead+p.insert<P)););}while(p.lookahead<k&&p.strm.avail_in!==0)}function Ze(p,te){var re=65535;for(re>p.pending_buf_size-5&&(re=p.pending_buf_size-5);;){if(p.lookahead<=1){if(De(p),p.lookahead===0&&te===t)return J;if(p.lookahead===0)break}p.strstart+=p.lookahead,p.lookahead=0;var I=p.block_start+re;if((p.strstart===0||p.strstart>=I)&&(p.lookahead=p.strstart-I,p.strstart=I,Ie(p,!1),p.strm.avail_out===0)||p.strstart-p.block_start>=p.w_size-k&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):(p.strstart>p.block_start&&(Ie(p,!1),p.strm.avail_out===0),J)}function K(p,te){for(var re,I;;){if(p.lookahead<k){if(De(p),p.lookahead<k&&te===t)return J;if(p.lookahead===0)break}if(re=0,p.lookahead>=P&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart),re!==0&&p.strstart-re<=p.w_size-k&&(p.match_length=qe(p,re)),p.match_length>=P)if(I=n._tr_tally(p,p.strstart-p.match_start,p.match_length-P),p.lookahead-=p.match_length,p.match_length<=p.max_lazy_match&&p.lookahead>=P){p.match_length--;do p.strstart++,p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart;while(--p.match_length!==0);p.strstart++}else p.strstart+=p.match_length,p.match_length=0,p.ins_h=p.window[p.strstart],p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+1])&p.hash_mask;else I=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++;if(I&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=p.strstart<P-1?p.strstart:P-1,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function Q(p,te){for(var re,I,G;;){if(p.lookahead<k){if(De(p),p.lookahead<k&&te===t)return J;if(p.lookahead===0)break}if(re=0,p.lookahead>=P&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart),p.prev_length=p.match_length,p.prev_match=p.match_start,p.match_length=P-1,re!==0&&p.prev_length<p.max_lazy_match&&p.strstart-re<=p.w_size-k&&(p.match_length=qe(p,re),p.match_length<=5&&(p.strategy===g||p.match_length===P&&p.strstart-p.match_start>4096)&&(p.match_length=P-1)),p.prev_length>=P&&p.match_length<=p.prev_length){G=p.strstart+p.lookahead-P,I=n._tr_tally(p,p.strstart-1-p.prev_match,p.prev_length-P),p.lookahead-=p.prev_length-1,p.prev_length-=2;do++p.strstart<=G&&(p.ins_h=(p.ins_h<<p.hash_shift^p.window[p.strstart+P-1])&p.hash_mask,re=p.prev[p.strstart&p.w_mask]=p.head[p.ins_h],p.head[p.ins_h]=p.strstart);while(--p.prev_length!==0);if(p.match_available=0,p.match_length=P-1,p.strstart++,I&&(Ie(p,!1),p.strm.avail_out===0))return J}else if(p.match_available){if(I=n._tr_tally(p,0,p.window[p.strstart-1]),I&&Ie(p,!1),p.strstart++,p.lookahead--,p.strm.avail_out===0)return J}else p.match_available=1,p.strstart++,p.lookahead--}return p.match_available&&(I=n._tr_tally(p,0,p.window[p.strstart-1]),p.match_available=0),p.insert=p.strstart<P-1?p.strstart:P-1,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function ce(p,te){for(var re,I,G,ee,_e=p.window;;){if(p.lookahead<=j){if(De(p),p.lookahead<=j&&te===t)return J;if(p.lookahead===0)break}if(p.match_length=0,p.lookahead>=P&&p.strstart>0&&(G=p.strstart-1,I=_e[G],I===_e[++G]&&I===_e[++G]&&I===_e[++G])){ee=p.strstart+j;do;while(I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&I===_e[++G]&&G<ee);p.match_length=j-(ee-G),p.match_length>p.lookahead&&(p.match_length=p.lookahead)}if(p.match_length>=P?(re=n._tr_tally(p,1,p.match_length-P),p.lookahead-=p.match_length,p.strstart+=p.match_length,p.match_length=0):(re=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++),re&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function ge(p,te){for(var re;;){if(p.lookahead===0&&(De(p),p.lookahead===0)){if(te===t)return J;break}if(p.match_length=0,re=n._tr_tally(p,0,p.window[p.strstart]),p.lookahead--,p.strstart++,re&&(Ie(p,!1),p.strm.avail_out===0))return J}return p.insert=0,te===d?(Ie(p,!0),p.strm.avail_out===0?ue:ve):p.last_lit&&(Ie(p,!1),p.strm.avail_out===0)?J:ae}function he(p,te,re,I,G){this.good_length=p,this.max_lazy=te,this.nice_length=re,this.max_chain=I,this.func=G}var Se;Se=[new he(0,0,0,0,Ze),new he(4,4,8,4,K),new he(4,5,16,8,K),new he(4,6,32,32,K),new he(4,4,16,16,Q),new he(8,16,32,32,Q),new he(8,16,128,128,Q),new he(8,32,128,256,Q),new he(32,128,258,1024,Q),new he(32,258,258,4096,Q)];function Re(p){p.window_size=2*p.w_size,ke(p.head),p.max_lazy_match=Se[p.level].max_lazy,p.good_match=Se[p.level].good_length,p.nice_match=Se[p.level].nice_length,p.max_chain_length=Se[p.level].max_chain,p.strstart=0,p.block_start=0,p.lookahead=0,p.insert=0,p.match_length=p.prev_length=P-1,p.match_available=0,p.ins_h=0}function A(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=x,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new e.Buf16(N*2),this.dyn_dtree=new e.Buf16((2*R+1)*2),this.bl_tree=new e.Buf16((2*L+1)*2),ke(this.dyn_ltree),ke(this.dyn_dtree),ke(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(V+1),this.heap=new e.Buf16(2*S+1),ke(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(2*S+1),ke(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ne(p){var te;return!p||!p.state?we(p,c):(p.total_in=p.total_out=0,p.data_type=E,te=p.state,te.pending=0,te.pending_out=0,te.wrap<0&&(te.wrap=-te.wrap),te.status=te.wrap?Y:U,p.adler=te.wrap===2?0:1,te.last_flush=t,n._tr_init(te),l)}function se(p){var te=ne(p);return te===l&&Re(p.state),te}function fe(p,te){return!p||!p.state||p.state.wrap!==2?c:(p.state.gzhead=te,l)}function Z(p,te,re,I,G,ee){if(!p)return c;var _e=1;if(te===y&&(te=6),I<0?(_e=0,I=-I):I>15&&(_e=2,I-=16),G<1||G>O||re!==x||I<8||I>15||te<0||te>9||ee<0||ee>w)return we(p,c);I===8&&(I=9);var de=new A;return p.state=de,de.strm=p,de.wrap=_e,de.gzhead=null,de.w_bits=I,de.w_size=1<<de.w_bits,de.w_mask=de.w_size-1,de.hash_bits=G+7,de.hash_size=1<<de.hash_bits,de.hash_mask=de.hash_size-1,de.hash_shift=~~((de.hash_bits+P-1)/P),de.window=new e.Buf8(de.w_size*2),de.head=new e.Buf16(de.hash_size),de.prev=new e.Buf16(de.w_size),de.lit_bufsize=1<<G+6,de.pending_buf_size=de.lit_bufsize*4,de.pending_buf=new e.Buf8(de.pending_buf_size),de.d_buf=1*de.lit_bufsize,de.l_buf=3*de.lit_bufsize,de.level=te,de.strategy=ee,de.method=re,se(p)}function ie(p,te){return Z(p,te,x,C,D,v)}function T(p,te){var re,I,G,ee;if(!p||!p.state||te>f||te<0)return p?we(p,c):c;if(I=p.state,!p.output||!p.input&&p.avail_in!==0||I.status===X&&te!==d)return we(p,p.avail_out===0?m:c);if(I.strm=p,re=I.last_flush,I.last_flush=te,I.status===Y)if(I.wrap===2)p.adler=0,Ee(I,31),Ee(I,139),Ee(I,8),I.gzhead?(Ee(I,(I.gzhead.text?1:0)+(I.gzhead.hcrc?2:0)+(I.gzhead.extra?4:0)+(I.gzhead.name?8:0)+(I.gzhead.comment?16:0)),Ee(I,I.gzhead.time&255),Ee(I,I.gzhead.time>>8&255),Ee(I,I.gzhead.time>>16&255),Ee(I,I.gzhead.time>>24&255),Ee(I,I.level===9?2:I.strategy>=u||I.level<2?4:0),Ee(I,I.gzhead.os&255),I.gzhead.extra&&I.gzhead.extra.length&&(Ee(I,I.gzhead.extra.length&255),Ee(I,I.gzhead.extra.length>>8&255)),I.gzhead.hcrc&&(p.adler=i(p.adler,I.pending_buf,I.pending,0)),I.gzindex=0,I.status=z):(Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,0),Ee(I,I.level===9?2:I.strategy>=u||I.level<2?4:0),Ee(I,me),I.status=U);else{var _e=x+(I.w_bits-8<<4)<<8,de=-1;I.strategy>=u||I.level<2?de=0:I.level<6?de=1:I.level===6?de=2:de=3,_e|=de<<6,I.strstart!==0&&(_e|=F),_e+=31-_e%31,I.status=U,Ue(I,_e),I.strstart!==0&&(Ue(I,p.adler>>>16),Ue(I,p.adler&65535)),p.adler=1}if(I.status===z)if(I.gzhead.extra){for(G=I.pending;I.gzindex<(I.gzhead.extra.length&65535)&&!(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),je(p),G=I.pending,I.pending===I.pending_buf_size));)Ee(I,I.gzhead.extra[I.gzindex]&255),I.gzindex++;I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),I.gzindex===I.gzhead.extra.length&&(I.gzindex=0,I.status=B)}else I.status=B;if(I.status===B)if(I.gzhead.name){G=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),je(p),G=I.pending,I.pending===I.pending_buf_size)){ee=1;break}I.gzindex<I.gzhead.name.length?ee=I.gzhead.name.charCodeAt(I.gzindex++)&255:ee=0,Ee(I,ee)}while(ee!==0);I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),ee===0&&(I.gzindex=0,I.status=q)}else I.status=q;if(I.status===q)if(I.gzhead.comment){G=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),je(p),G=I.pending,I.pending===I.pending_buf_size)){ee=1;break}I.gzindex<I.gzhead.comment.length?ee=I.gzhead.comment.charCodeAt(I.gzindex++)&255:ee=0,Ee(I,ee)}while(ee!==0);I.gzhead.hcrc&&I.pending>G&&(p.adler=i(p.adler,I.pending_buf,I.pending-G,G)),ee===0&&(I.status=M)}else I.status=M;if(I.status===M&&(I.gzhead.hcrc?(I.pending+2>I.pending_buf_size&&je(p),I.pending+2<=I.pending_buf_size&&(Ee(I,p.adler&255),Ee(I,p.adler>>8&255),p.adler=0,I.status=U)):I.status=U),I.pending!==0){if(je(p),p.avail_out===0)return I.last_flush=-1,l}else if(p.avail_in===0&&Ce(te)<=Ce(re)&&te!==d)return we(p,m);if(I.status===X&&p.avail_in!==0)return we(p,m);if(p.avail_in!==0||I.lookahead!==0||te!==t&&I.status!==X){var pe=I.strategy===u?ge(I,te):I.strategy===_?ce(I,te):Se[I.level].func(I,te);if((pe===ue||pe===ve)&&(I.status=X),pe===J||pe===ue)return p.avail_out===0&&(I.last_flush=-1),l;if(pe===ae&&(te===r?n._tr_align(I):te!==f&&(n._tr_stored_block(I,0,0,!1),te===s&&(ke(I.head),I.lookahead===0&&(I.strstart=0,I.block_start=0,I.insert=0))),je(p),p.avail_out===0))return I.last_flush=-1,l}return te!==d?l:I.wrap<=0?h:(I.wrap===2?(Ee(I,p.adler&255),Ee(I,p.adler>>8&255),Ee(I,p.adler>>16&255),Ee(I,p.adler>>24&255),Ee(I,p.total_in&255),Ee(I,p.total_in>>8&255),Ee(I,p.total_in>>16&255),Ee(I,p.total_in>>24&255)):(Ue(I,p.adler>>>16),Ue(I,p.adler&65535)),je(p),I.wrap>0&&(I.wrap=-I.wrap),I.pending!==0?l:h)}function oe(p){var te;return!p||!p.state?c:(te=p.state.status,te!==Y&&te!==z&&te!==B&&te!==q&&te!==M&&te!==U&&te!==X?we(p,c):(p.state=null,te===U?we(p,b):l))}function be(p,te){var re=te.length,I,G,ee,_e,de,pe,xe,gt;if(!p||!p.state||(I=p.state,_e=I.wrap,_e===2||_e===1&&I.status!==Y||I.lookahead))return c;for(_e===1&&(p.adler=o(p.adler,te,re,0)),I.wrap=0,re>=I.w_size&&(_e===0&&(ke(I.head),I.strstart=0,I.block_start=0,I.insert=0),gt=new e.Buf8(I.w_size),e.arraySet(gt,te,re-I.w_size,I.w_size,0),te=gt,re=I.w_size),de=p.avail_in,pe=p.next_in,xe=p.input,p.avail_in=re,p.next_in=0,p.input=te,De(I);I.lookahead>=P;){G=I.strstart,ee=I.lookahead-(P-1);do I.ins_h=(I.ins_h<<I.hash_shift^I.window[G+P-1])&I.hash_mask,I.prev[G&I.w_mask]=I.head[I.ins_h],I.head[I.ins_h]=G,G++;while(--ee);I.strstart=G,I.lookahead=P-1,De(I)}return I.strstart+=I.lookahead,I.block_start=I.strstart,I.insert=I.lookahead,I.lookahead=0,I.match_length=I.prev_length=P-1,I.match_available=0,p.next_in=pe,p.input=xe,p.avail_in=de,I.wrap=_e,l}return ot.deflateInit=ie,ot.deflateInit2=Z,ot.deflateReset=se,ot.deflateResetKeep=ne,ot.deflateSetHeader=fe,ot.deflate=T,ot.deflateEnd=oe,ot.deflateSetDictionary=be,ot.deflateInfo="pako deflate (from Nodeca project)",ot}var An,Es;function Jp(){if(Es)return An;Es=1;function e(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}return An=e,An}var it={},Cn,Ss;function Xp(){if(Ss)return Cn;Ss=1;var e=30,n=12;return Cn=function(i,a){var t,r,s,d,f,l,h,c,b,m,y,g,u,_,w,v,E,x,O,C,D,W,H,S,R;t=i.state,r=i.next_in,S=i.input,s=r+(i.avail_in-5),d=i.next_out,R=i.output,f=d-(a-i.avail_out),l=d+(i.avail_out-257),h=t.dmax,c=t.wsize,b=t.whave,m=t.wnext,y=t.window,g=t.hold,u=t.bits,_=t.lencode,w=t.distcode,v=(1<<t.lenbits)-1,E=(1<<t.distbits)-1;e:do{u<15&&(g+=S[r++]<<u,u+=8,g+=S[r++]<<u,u+=8),x=_[g&v];t:for(;;){if(O=x>>>24,g>>>=O,u-=O,O=x>>>16&255,O===0)R[d++]=x&65535;else if(O&16){C=x&65535,O&=15,O&&(u<O&&(g+=S[r++]<<u,u+=8),C+=g&(1<<O)-1,g>>>=O,u-=O),u<15&&(g+=S[r++]<<u,u+=8,g+=S[r++]<<u,u+=8),x=w[g&E];r:for(;;){if(O=x>>>24,g>>>=O,u-=O,O=x>>>16&255,O&16){if(D=x&65535,O&=15,u<O&&(g+=S[r++]<<u,u+=8,u<O&&(g+=S[r++]<<u,u+=8)),D+=g&(1<<O)-1,D>h){i.msg="invalid distance too far back",t.mode=e;break e}if(g>>>=O,u-=O,O=d-f,D>O){if(O=D-O,O>b&&t.sane){i.msg="invalid distance too far back",t.mode=e;break e}if(W=0,H=y,m===0){if(W+=c-O,O<C){C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}}else if(m<O){if(W+=c+m-O,O-=m,O<C){C-=O;do R[d++]=y[W++];while(--O);if(W=0,m<C){O=m,C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}}}else if(W+=m-O,O<C){C-=O;do R[d++]=y[W++];while(--O);W=d-D,H=R}for(;C>2;)R[d++]=H[W++],R[d++]=H[W++],R[d++]=H[W++],C-=3;C&&(R[d++]=H[W++],C>1&&(R[d++]=H[W++]))}else{W=d-D;do R[d++]=R[W++],R[d++]=R[W++],R[d++]=R[W++],C-=3;while(C>2);C&&(R[d++]=R[W++],C>1&&(R[d++]=R[W++]))}}else if((O&64)===0){x=w[(x&65535)+(g&(1<<O)-1)];continue r}else{i.msg="invalid distance code",t.mode=e;break e}break}}else if((O&64)===0){x=_[(x&65535)+(g&(1<<O)-1)];continue t}else if(O&32){t.mode=n;break e}else{i.msg="invalid literal/length code",t.mode=e;break e}break}}while(r<s&&d<l);C=u>>3,r-=C,u-=C<<3,g&=(1<<u)-1,i.next_in=r,i.next_out=d,i.avail_in=r<s?5+(s-r):5-(r-s),i.avail_out=d<l?257+(l-d):257-(d-l),t.hold=g,t.bits=u},Cn}var Pn,Rs;function Qp(){if(Rs)return Pn;Rs=1;var e=dn(),n=15,o=852,i=592,a=0,t=1,r=2,s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],d=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];return Pn=function(c,b,m,y,g,u,_,w){var v=w.bits,E=0,x=0,O=0,C=0,D=0,W=0,H=0,S=0,R=0,L=0,N,V,P,j,k,F=null,Y=0,z,B=new e.Buf16(n+1),q=new e.Buf16(n+1),M=null,U=0,X,J,ae;for(E=0;E<=n;E++)B[E]=0;for(x=0;x<y;x++)B[b[m+x]]++;for(D=v,C=n;C>=1&&B[C]===0;C--);if(D>C&&(D=C),C===0)return g[u++]=1<<24|64<<16|0,g[u++]=1<<24|64<<16|0,w.bits=1,0;for(O=1;O<C&&B[O]===0;O++);for(D<O&&(D=O),S=1,E=1;E<=n;E++)if(S<<=1,S-=B[E],S<0)return-1;if(S>0&&(c===a||C!==1))return-1;for(q[1]=0,E=1;E<n;E++)q[E+1]=q[E]+B[E];for(x=0;x<y;x++)b[m+x]!==0&&(_[q[b[m+x]]++]=x);if(c===a?(F=M=_,z=19):c===t?(F=s,Y-=257,M=d,U-=257,z=256):(F=f,M=l,z=-1),L=0,x=0,E=O,k=u,W=D,H=0,P=-1,R=1<<D,j=R-1,c===t&&R>o||c===r&&R>i)return 1;for(;;){X=E-H,_[x]<z?(J=0,ae=_[x]):_[x]>z?(J=M[U+_[x]],ae=F[Y+_[x]]):(J=96,ae=0),N=1<<E-H,V=1<<W,O=V;do V-=N,g[k+(L>>H)+V]=X<<24|J<<16|ae|0;while(V!==0);for(N=1<<E-1;L&N;)N>>=1;if(N!==0?(L&=N-1,L+=N):L=0,x++,--B[E]===0){if(E===C)break;E=b[m+_[x]]}if(E>D&&(L&j)!==P){for(H===0&&(H=D),k+=O,W=E-H,S=1<<W;W+H<C&&(S-=B[W+H],!(S<=0));)W++,S<<=1;if(R+=1<<W,c===t&&R>o||c===r&&R>i)return 1;P=L&j,g[P]=D<<24|W<<16|k-u|0}}return L!==0&&(g[k+L]=E-H<<24|64<<16|0),w.bits=D,0},Pn}var Os;function em(){if(Os)return it;Os=1;var e=dn(),n=Wl(),o=Kl(),i=Xp(),a=Qp(),t=0,r=1,s=2,d=4,f=5,l=6,h=0,c=1,b=2,m=-2,y=-3,g=-4,u=-5,_=8,w=1,v=2,E=3,x=4,O=5,C=6,D=7,W=8,H=9,S=10,R=11,L=12,N=13,V=14,P=15,j=16,k=17,F=18,Y=19,z=20,B=21,q=22,M=23,U=24,X=25,J=26,ae=27,ue=28,ve=29,me=30,we=31,Ce=32,ke=852,je=592,Ie=15,Ee=Ie;function Ue(Z){return(Z>>>24&255)+(Z>>>8&65280)+((Z&65280)<<8)+((Z&255)<<24)}function at(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new e.Buf16(320),this.work=new e.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function qe(Z){var ie;return!Z||!Z.state?m:(ie=Z.state,Z.total_in=Z.total_out=ie.total=0,Z.msg="",ie.wrap&&(Z.adler=ie.wrap&1),ie.mode=w,ie.last=0,ie.havedict=0,ie.dmax=32768,ie.head=null,ie.hold=0,ie.bits=0,ie.lencode=ie.lendyn=new e.Buf32(ke),ie.distcode=ie.distdyn=new e.Buf32(je),ie.sane=1,ie.back=-1,h)}function De(Z){var ie;return!Z||!Z.state?m:(ie=Z.state,ie.wsize=0,ie.whave=0,ie.wnext=0,qe(Z))}function Ze(Z,ie){var T,oe;return!Z||!Z.state||(oe=Z.state,ie<0?(T=0,ie=-ie):(T=(ie>>4)+1,ie<48&&(ie&=15)),ie&&(ie<8||ie>15))?m:(oe.window!==null&&oe.wbits!==ie&&(oe.window=null),oe.wrap=T,oe.wbits=ie,De(Z))}function K(Z,ie){var T,oe;return Z?(oe=new at,Z.state=oe,oe.window=null,T=Ze(Z,ie),T!==h&&(Z.state=null),T):m}function Q(Z){return K(Z,Ee)}var ce=!0,ge,he;function Se(Z){if(ce){var ie;for(ge=new e.Buf32(512),he=new e.Buf32(32),ie=0;ie<144;)Z.lens[ie++]=8;for(;ie<256;)Z.lens[ie++]=9;for(;ie<280;)Z.lens[ie++]=7;for(;ie<288;)Z.lens[ie++]=8;for(a(r,Z.lens,0,288,ge,0,Z.work,{bits:9}),ie=0;ie<32;)Z.lens[ie++]=5;a(s,Z.lens,0,32,he,0,Z.work,{bits:5}),ce=!1}Z.lencode=ge,Z.lenbits=9,Z.distcode=he,Z.distbits=5}function Re(Z,ie,T,oe){var be,p=Z.state;return p.window===null&&(p.wsize=1<<p.wbits,p.wnext=0,p.whave=0,p.window=new e.Buf8(p.wsize)),oe>=p.wsize?(e.arraySet(p.window,ie,T-p.wsize,p.wsize,0),p.wnext=0,p.whave=p.wsize):(be=p.wsize-p.wnext,be>oe&&(be=oe),e.arraySet(p.window,ie,T-oe,be,p.wnext),oe-=be,oe?(e.arraySet(p.window,ie,T-oe,oe,0),p.wnext=oe,p.whave=p.wsize):(p.wnext+=be,p.wnext===p.wsize&&(p.wnext=0),p.whave<p.wsize&&(p.whave+=be))),0}function A(Z,ie){var T,oe,be,p,te,re,I,G,ee,_e,de,pe,xe,gt,Le=0,Ae,Fe,Ye,Xe,pr,mr,Me,nt,ze=new e.Buf8(4),vt,ht,ls=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Z||!Z.state||!Z.output||!Z.input&&Z.avail_in!==0)return m;T=Z.state,T.mode===L&&(T.mode=N),te=Z.next_out,be=Z.output,I=Z.avail_out,p=Z.next_in,oe=Z.input,re=Z.avail_in,G=T.hold,ee=T.bits,_e=re,de=I,nt=h;e:for(;;)switch(T.mode){case w:if(T.wrap===0){T.mode=N;break}for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(T.wrap&2&&G===35615){T.check=0,ze[0]=G&255,ze[1]=G>>>8&255,T.check=o(T.check,ze,2,0),G=0,ee=0,T.mode=v;break}if(T.flags=0,T.head&&(T.head.done=!1),!(T.wrap&1)||(((G&255)<<8)+(G>>8))%31){Z.msg="incorrect header check",T.mode=me;break}if((G&15)!==_){Z.msg="unknown compression method",T.mode=me;break}if(G>>>=4,ee-=4,Me=(G&15)+8,T.wbits===0)T.wbits=Me;else if(Me>T.wbits){Z.msg="invalid window size",T.mode=me;break}T.dmax=1<<Me,Z.adler=T.check=1,T.mode=G&512?S:L,G=0,ee=0;break;case v:for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(T.flags=G,(T.flags&255)!==_){Z.msg="unknown compression method",T.mode=me;break}if(T.flags&57344){Z.msg="unknown header flags set",T.mode=me;break}T.head&&(T.head.text=G>>8&1),T.flags&512&&(ze[0]=G&255,ze[1]=G>>>8&255,T.check=o(T.check,ze,2,0)),G=0,ee=0,T.mode=E;case E:for(;ee<32;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.head&&(T.head.time=G),T.flags&512&&(ze[0]=G&255,ze[1]=G>>>8&255,ze[2]=G>>>16&255,ze[3]=G>>>24&255,T.check=o(T.check,ze,4,0)),G=0,ee=0,T.mode=x;case x:for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.head&&(T.head.xflags=G&255,T.head.os=G>>8),T.flags&512&&(ze[0]=G&255,ze[1]=G>>>8&255,T.check=o(T.check,ze,2,0)),G=0,ee=0,T.mode=O;case O:if(T.flags&1024){for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.length=G,T.head&&(T.head.extra_len=G),T.flags&512&&(ze[0]=G&255,ze[1]=G>>>8&255,T.check=o(T.check,ze,2,0)),G=0,ee=0}else T.head&&(T.head.extra=null);T.mode=C;case C:if(T.flags&1024&&(pe=T.length,pe>re&&(pe=re),pe&&(T.head&&(Me=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),e.arraySet(T.head.extra,oe,p,pe,Me)),T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,T.length-=pe),T.length))break e;T.length=0,T.mode=D;case D:if(T.flags&2048){if(re===0)break e;pe=0;do Me=oe[p+pe++],T.head&&Me&&T.length<65536&&(T.head.name+=String.fromCharCode(Me));while(Me&&pe<re);if(T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,Me)break e}else T.head&&(T.head.name=null);T.length=0,T.mode=W;case W:if(T.flags&4096){if(re===0)break e;pe=0;do Me=oe[p+pe++],T.head&&Me&&T.length<65536&&(T.head.comment+=String.fromCharCode(Me));while(Me&&pe<re);if(T.flags&512&&(T.check=o(T.check,oe,pe,p)),re-=pe,p+=pe,Me)break e}else T.head&&(T.head.comment=null);T.mode=H;case H:if(T.flags&512){for(;ee<16;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(G!==(T.check&65535)){Z.msg="header crc mismatch",T.mode=me;break}G=0,ee=0}T.head&&(T.head.hcrc=T.flags>>9&1,T.head.done=!0),Z.adler=T.check=0,T.mode=L;break;case S:for(;ee<32;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}Z.adler=T.check=Ue(G),G=0,ee=0,T.mode=R;case R:if(T.havedict===0)return Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=G,T.bits=ee,b;Z.adler=T.check=1,T.mode=L;case L:if(ie===f||ie===l)break e;case N:if(T.last){G>>>=ee&7,ee-=ee&7,T.mode=ae;break}for(;ee<3;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}switch(T.last=G&1,G>>>=1,ee-=1,G&3){case 0:T.mode=V;break;case 1:if(Se(T),T.mode=z,ie===l){G>>>=2,ee-=2;break e}break;case 2:T.mode=k;break;case 3:Z.msg="invalid block type",T.mode=me}G>>>=2,ee-=2;break;case V:for(G>>>=ee&7,ee-=ee&7;ee<32;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if((G&65535)!==(G>>>16^65535)){Z.msg="invalid stored block lengths",T.mode=me;break}if(T.length=G&65535,G=0,ee=0,T.mode=P,ie===l)break e;case P:T.mode=j;case j:if(pe=T.length,pe){if(pe>re&&(pe=re),pe>I&&(pe=I),pe===0)break e;e.arraySet(be,oe,p,pe,te),re-=pe,p+=pe,I-=pe,te+=pe,T.length-=pe;break}T.mode=L;break;case k:for(;ee<14;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(T.nlen=(G&31)+257,G>>>=5,ee-=5,T.ndist=(G&31)+1,G>>>=5,ee-=5,T.ncode=(G&15)+4,G>>>=4,ee-=4,T.nlen>286||T.ndist>30){Z.msg="too many length or distance symbols",T.mode=me;break}T.have=0,T.mode=F;case F:for(;T.have<T.ncode;){for(;ee<3;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.lens[ls[T.have++]]=G&7,G>>>=3,ee-=3}for(;T.have<19;)T.lens[ls[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,vt={bits:T.lenbits},nt=a(t,T.lens,0,19,T.lencode,0,T.work,vt),T.lenbits=vt.bits,nt){Z.msg="invalid code lengths set",T.mode=me;break}T.have=0,T.mode=Y;case Y:for(;T.have<T.nlen+T.ndist;){for(;Le=T.lencode[G&(1<<T.lenbits)-1],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(Ye<16)G>>>=Ae,ee-=Ae,T.lens[T.have++]=Ye;else{if(Ye===16){for(ht=Ae+2;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(G>>>=Ae,ee-=Ae,T.have===0){Z.msg="invalid bit length repeat",T.mode=me;break}Me=T.lens[T.have-1],pe=3+(G&3),G>>>=2,ee-=2}else if(Ye===17){for(ht=Ae+3;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}G>>>=Ae,ee-=Ae,Me=0,pe=3+(G&7),G>>>=3,ee-=3}else{for(ht=Ae+7;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}G>>>=Ae,ee-=Ae,Me=0,pe=11+(G&127),G>>>=7,ee-=7}if(T.have+pe>T.nlen+T.ndist){Z.msg="invalid bit length repeat",T.mode=me;break}for(;pe--;)T.lens[T.have++]=Me}}if(T.mode===me)break;if(T.lens[256]===0){Z.msg="invalid code -- missing end-of-block",T.mode=me;break}if(T.lenbits=9,vt={bits:T.lenbits},nt=a(r,T.lens,0,T.nlen,T.lencode,0,T.work,vt),T.lenbits=vt.bits,nt){Z.msg="invalid literal/lengths set",T.mode=me;break}if(T.distbits=6,T.distcode=T.distdyn,vt={bits:T.distbits},nt=a(s,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,vt),T.distbits=vt.bits,nt){Z.msg="invalid distances set",T.mode=me;break}if(T.mode=z,ie===l)break e;case z:T.mode=B;case B:if(re>=6&&I>=258){Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=G,T.bits=ee,i(Z,de),te=Z.next_out,be=Z.output,I=Z.avail_out,p=Z.next_in,oe=Z.input,re=Z.avail_in,G=T.hold,ee=T.bits,T.mode===L&&(T.back=-1);break}for(T.back=0;Le=T.lencode[G&(1<<T.lenbits)-1],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(Fe&&(Fe&240)===0){for(Xe=Ae,pr=Fe,mr=Ye;Le=T.lencode[mr+((G&(1<<Xe+pr)-1)>>Xe)],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Xe+Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}G>>>=Xe,ee-=Xe,T.back+=Xe}if(G>>>=Ae,ee-=Ae,T.back+=Ae,T.length=Ye,Fe===0){T.mode=J;break}if(Fe&32){T.back=-1,T.mode=L;break}if(Fe&64){Z.msg="invalid literal/length code",T.mode=me;break}T.extra=Fe&15,T.mode=q;case q:if(T.extra){for(ht=T.extra;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.length+=G&(1<<T.extra)-1,G>>>=T.extra,ee-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=M;case M:for(;Le=T.distcode[G&(1<<T.distbits)-1],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if((Fe&240)===0){for(Xe=Ae,pr=Fe,mr=Ye;Le=T.distcode[mr+((G&(1<<Xe+pr)-1)>>Xe)],Ae=Le>>>24,Fe=Le>>>16&255,Ye=Le&65535,!(Xe+Ae<=ee);){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}G>>>=Xe,ee-=Xe,T.back+=Xe}if(G>>>=Ae,ee-=Ae,T.back+=Ae,Fe&64){Z.msg="invalid distance code",T.mode=me;break}T.offset=Ye,T.extra=Fe&15,T.mode=U;case U:if(T.extra){for(ht=T.extra;ee<ht;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}T.offset+=G&(1<<T.extra)-1,G>>>=T.extra,ee-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){Z.msg="invalid distance too far back",T.mode=me;break}T.mode=X;case X:if(I===0)break e;if(pe=de-I,T.offset>pe){if(pe=T.offset-pe,pe>T.whave&&T.sane){Z.msg="invalid distance too far back",T.mode=me;break}pe>T.wnext?(pe-=T.wnext,xe=T.wsize-pe):xe=T.wnext-pe,pe>T.length&&(pe=T.length),gt=T.window}else gt=be,xe=te-T.offset,pe=T.length;pe>I&&(pe=I),I-=pe,T.length-=pe;do be[te++]=gt[xe++];while(--pe);T.length===0&&(T.mode=B);break;case J:if(I===0)break e;be[te++]=T.length,I--,T.mode=B;break;case ae:if(T.wrap){for(;ee<32;){if(re===0)break e;re--,G|=oe[p++]<<ee,ee+=8}if(de-=I,Z.total_out+=de,T.total+=de,de&&(Z.adler=T.check=T.flags?o(T.check,be,de,te-de):n(T.check,be,de,te-de)),de=I,(T.flags?G:Ue(G))!==T.check){Z.msg="incorrect data check",T.mode=me;break}G=0,ee=0}T.mode=ue;case ue:if(T.wrap&&T.flags){for(;ee<32;){if(re===0)break e;re--,G+=oe[p++]<<ee,ee+=8}if(G!==(T.total&4294967295)){Z.msg="incorrect length check",T.mode=me;break}G=0,ee=0}T.mode=ve;case ve:nt=c;break e;case me:nt=y;break e;case we:return g;case Ce:default:return m}return Z.next_out=te,Z.avail_out=I,Z.next_in=p,Z.avail_in=re,T.hold=G,T.bits=ee,(T.wsize||de!==Z.avail_out&&T.mode<me&&(T.mode<ae||ie!==d))&&Re(Z,Z.output,Z.next_out,de-Z.avail_out),_e-=Z.avail_in,de-=Z.avail_out,Z.total_in+=_e,Z.total_out+=de,T.total+=de,T.wrap&&de&&(Z.adler=T.check=T.flags?o(T.check,be,de,Z.next_out-de):n(T.check,be,de,Z.next_out-de)),Z.data_type=T.bits+(T.last?64:0)+(T.mode===L?128:0)+(T.mode===z||T.mode===P?256:0),(_e===0&&de===0||ie===d)&&nt===h&&(nt=u),nt}function ne(Z){if(!Z||!Z.state)return m;var ie=Z.state;return ie.window&&(ie.window=null),Z.state=null,h}function se(Z,ie){var T;return!Z||!Z.state||(T=Z.state,(T.wrap&2)===0)?m:(T.head=ie,ie.done=!1,h)}function fe(Z,ie){var T=ie.length,oe,be,p;return!Z||!Z.state||(oe=Z.state,oe.wrap!==0&&oe.mode!==R)?m:oe.mode===R&&(be=1,be=n(be,ie,T,0),be!==oe.check)?y:(p=Re(Z,ie,T,T),p?(oe.mode=we,g):(oe.havedict=1,h))}return it.inflateReset=De,it.inflateReset2=Ze,it.inflateResetKeep=qe,it.inflateInit=Q,it.inflateInit2=K,it.inflate=A,it.inflateEnd=ne,it.inflateGetHeader=se,it.inflateSetDictionary=fe,it.inflateInfo="pako inflate (from Nodeca project)",it}var kn,Ts;function tm(){return Ts||(Ts=1,kn={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}),kn}const Dt=()=>{const[e,n]=Yl(),[o,i]=le.useState(),a=le.useRef(!1);return le.useEffect(()=>{if(a.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=cp(e);r!=null&&i(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),a.current=!0},[e,n]),o},rm={overlayWidth:new ut(100,100,50)},{common:{strings:xs}}=sr.getLocalizedStrings();function nm(e,n){return{headerActions:{onTabChange:o=>{const i=Nt(o),a=Vt(o);$e.trackCockpitTabClicked(a),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(o,i)=>{e(gr({uiState:{filterText:i}}))},onFiltersChange:(o,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&$e.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(a=>a.matchingOperator).join(xs.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(a=>a.field).join(xs.comma)}}),e(gr({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:o=>{e(Il(o))},onColumnSortConfigChanged:(o,i)=>{e(gr({uiState:{sortKey:o,sortOrder:i}}))},onCockpitReloadData:o=>{o==="healthMonitor"&&e(xl())},onFiltersChange:o=>{e(gr({uiState:{filters:o}}))}}}}function im(e,n){return{headerData:{selectedTabOption:xt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const am=Ge(im,nm)(dp);function jn({isDrawerOpen:e}){const n=Ve(),o=Ke(),i=$t(),a=sn(),{companyId:t}=ct(),[r,s]=Yl(),[d,f]=le.useState(!1),l=Dt(),h=Oe(v=>Zh(v)),c=Oe(v=>ar(v)),{additionalChurnFactors:b}=Oe(v=>Yh(v)),{selectedCompanyDetail:m,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=h,u=Oe(v=>v.companyViewState.zeniUsers.fetchState),_=Oe(v=>v.companyHealthMetricConfigViewState);if(le.useEffect(()=>{const v=E=>E==="Not-Started"||E==="Error";h.fetchState==="Completed"?o(qt(!1)):v(h.fetchState)&&(o(xl()),v(u)&&o(Tt()),v(_.fetchState)&&o(Wh()))},[h.fetchState,_.fetchState]),le.useEffect(()=>{t!=null&&h.fetchState==="Completed"&&r.has("utm_source")===!0&&(o(Il(t)),m!=null&&(fp(),$e.trackCockpitHealthMonitorNotificationAlertClicked({companyId:m.companyInfo.companyId,companyName:m.companyInfo.name,churnProbability:m.companyHealthMetric.churnProbabilityPercentage??null}),f(!0),r.delete("utm_source"),s(r)))},[h.fetchState,m?.companyInfo.companyId,m?.companyInfo.name]),We.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return $.jsxs($.Fragment,{children:[e===!0||y!=null&&m!=null?$.jsx(ln,{anchor:"right",open:y!=null,PaperProps:{style:{width:rm.overlayWidth.valuePercentage(a),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>o(hs()),children:$.jsx(lp,{roomId:`cockpit_${y}`,autoConnect:!0,children:$.jsx(hp,{onSaveClick:()=>{y!=null&&o(Jh(y))},onSaveChangesToLocalStore:v=>{h.selectedCompanyId!=null&&o(Kh({companyId:h.selectedCompanyId,updatedLocalData:v}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:h,onCloseDrawer:()=>o(hs()),analytics:$e,urlSource:d,additionalChurnFactorsOptions:b})})}):null,$.jsx(am,{initialOpenThreadRequest:l??void 0,healthView:h,managementView:c,navigate:n,mixpanelHMUrl:un.mixpanelHMUrl})]})}const Jl=(e,n)=>{const o=[...e??[]];return o.push(n),o},om=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},sm=(e=2)=>{let n="../";for(let o=0;o<e;o++)n=`${n}../`;return n},Pe=({state:e,element:n})=>We.isSignedIn()===!0?$.jsx($.Fragment,{children:n}):$.jsx(tr,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function um(){return $.jsxs(bt,{children:[$.jsx(Te,{path:"/companies/:companyId",element:$.jsx(Pe,{element:$.jsx(jn,{isDrawerOpen:!0})})}),$.jsx(Te,{path:"/",element:$.jsx(Pe,{element:$.jsx(jn,{})})}),$.jsx(Te,{path:"/*",element:$.jsx(Pe,{element:$.jsx(jn,{})})})]})}const cm={drawerLeftMargin:new ut(0,0,240)};function fr(e){const{isOpen:n,drawerLeftMargin:o,children:i,onClose:a}=e,t=sn(),r=o?.valuePx(t)??cm.drawerLeftMargin.valuePx(t),s=$t();return $.jsx(ln,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:a,children:i})}const fm=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?$.jsx(lm,{children:$.jsx(cn,{size:"ExtraLarge",start:!0})}):null,lm=tt.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-CH5Ytl_r.js";import{a as f,b as S,n as m}from"./sentry-SNkBC2Al.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-CrJ0HRkP.js";import{z as l,m as C,D as v,a as E,q as U,S as T,c as p}from"./index-
|
|
1
|
+
import{j as d}from"./liveblocks-CH5Ytl_r.js";import{a as f,b as S,n as m}from"./sentry-SNkBC2Al.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-CrJ0HRkP.js";import{z as l,m as C,D as v,a as E,q as U,S as T,c as p}from"./index-BnDpf4K9.js";import{Go as x,Gp as D,Gq as L,Gr as z,bi as u}from"./zeni-epic-state-B7yJI5lR.js";import{f as A}from"./analyticsHelper-BviTMVeA.js";import"./recharts-DE-kxplH.js";import"./mui-DzLLS9Rs.js";import"./lottie-jJKhsKLZ.js";import"./analytics-Ci62SVC6.js";import"./lexical-Y1MbDrft.js";import"./utils-CpsqBQqv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="be634b92-0509-4e28-9119-0ef9472a9c36",e._sentryDebugIdIdentifier="sentry-dbid-be634b92-0509-4e28-9119-0ef9472a9c36")}catch{}})();function N(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:e.tenantState.error?.error,fetchState:o,sendMagicLinkStatus:i,showEmailLogin:!1}}function k(e,o){const{location:i,navigate:r}=o;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,t)=>{m({message:`OAuth error from provider ${t} with error ${n}`,level:"error",tags:{authProvider:t,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,t)=>{const s=t==="google"?window.location.origin:window.location.origin+window.location.pathname;e(z({authCode:n,oauthProvider:t,appType:"web",redirectUri:u(s),sourceUri:u(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>l.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const P=y(N,k)(T),_=S.memo(P);function W(){const e=I(),o=w(),i=l.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=C().mode,c=h();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(D("Completed")),v.updateAppLocaleID("en"),A(t,s),setTimeout(()=>{E.trackLogin(U.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null||i!=null){const a=c.state?.origin??"/";return d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(_,{navigate:o,location:c})}export{W as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./index-
|
|
1
|
+
import{a as n}from"./index-BnDpf4K9.js";import"./sentry-SNkBC2Al.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="7b42a103-155a-44ea-b0f4-31bca932f024",a._sentryDebugIdIdentifier="sentry-dbid-7b42a103-155a-44ea-b0f4-31bca932f024")}catch{}})();const d=(a,i,e,o)=>{n.identify(a.userId,{tenant_id:e?.tenantId,tenant_email_domain:e?.tenantEmailDomain,company_id:e?.companyId,company_name:e?.companyName,user_role:e?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:i})};export{d as f};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/empty-DewRN75u.js","assets/sentry-SNkBC2Al.js","assets/empty-DCdjTxMk.js","assets/index-DrEiJ4Wx.js","assets/index-BHVDlT_9.js","assets/zeni-epic-state-B7yJI5lR.js","assets/core-CrJ0HRkP.js","assets/utils-CpsqBQqv.js","assets/recharts-DE-kxplH.js","assets/url-C9VCVVAZ.js","assets/index-BnSSVzJm.js","assets/index-CS2xkLsB.js","assets/url-h1qG-NI4.js","assets/index-C1011MmK.js","assets/ScreenRoutes-
|
|
2
|
-
import{a as f,b as k,R as kPe,c as Gg,p as zp,e as RG,r as $l,g as ON,f as SPe,s as FG,w as APe,i as EPe,S as LPe,j as jPe,k as IPe,l as MPe,m as PPe}from"./sentry-SNkBC2Al.js";import{j as cr,_ as e3e,a as ec,u as t3e,T as TPe,C as BPe,b as DPe,c as sk,d as lk,e as _Pe,f as r3e,g as zPe,h as RPe,L as FPe,i as OG,k as OPe,l as NPe,P as HPe,m as VPe,n as UPe,o as o3e,p as WPe,q as QPe,I as NG,r as GPe,s as YPe,t as KPe,v as qPe,w as ZPe,x as JPe,y as i3e,z as XPe,A as eTe,B as tTe}from"./liveblocks-CH5Ytl_r.js";import{f as n3e,R as wg,r as Rs,P as Ki,u as dk,g as Bu,h as rTe,i as NN,j as oTe,k as iTe,l as OL,N as nTe,m as aTe,n as sTe,B as lTe}from"./core-CrJ0HRkP.js";import{B as Vv,ba as bg,bb as dTe,bc as HG,bd as g3,be as Vo,bf as a3e,bg as fo,bh as cTe,bi as S5,bj as q0,bk as HN,bl as s3e,bm as uTe,bn as l3e,bo as VN,bp as pTe,bq as d3e,br as hTe,bs as vi,bt as A5,bu as uu,bv as mTe,bw as gTe,bx as fTe,by as xTe,bz as VG,bA as yTe,bB as wTe,bC as bTe,bD as vTe,bE as ck,bF as c3e,bG as Z0,bH as CTe,bI as u3e,bJ as dR,bK as UG,bL as WG,bM as QG,bN as Ps,bO as UN,bP as WN,bQ as o7,bR as QN,bS as GN,bT as YN,bU as KN,bV as $Te,bW as Uv,bX as kTe,bY as qN,bZ as STe,b_ as Zp,b$ as ATe,c0 as ETe,c1 as LTe,c2 as jTe,c3 as ITe,c4 as MTe,c5 as PTe,c6 as TTe,c7 as BTe,c8 as DTe,c9 as _Te,ca as zTe,cb as RTe,cc as FTe,cd as OTe,ce as NTe,cf as HTe,cg as VTe,ch as UTe,ci as WTe,cj as QTe,ck as ZN,cl as JN,cm as p3e,cn as GTe,co as GG,cp as YTe,cq as KTe,cr as qTe,cs as C9,ct as h3e,cu as m3e,cv as ZTe,cw as g3e,cx as YG,cy as f3e,cz as x3e,cA as y3e,cB as w3e,cC as b3e,cD as v3e,cE as JTe,cF as XTe,cG as eBe,cH as C3e,cI as cR,cJ as tBe,cK as $3e,cL as k3e,cM as rBe,cN as oBe,cO as iBe,cP as nBe,cQ as aBe,cR as sBe,cS as lBe,cT as dBe,v as cBe,cU as uk,cV as S3e,cW as A3e,cX as uBe,cY as pBe,cZ as hBe,c_ as mBe,c$ as gBe,d0 as fBe,d1 as xBe,d2 as yBe,d3 as wBe,d4 as KG,d5 as bBe,d6 as vBe,d7 as CBe,d8 as $Be}from"./zeni-epic-state-B7yJI5lR.js";import{T as E3e,j as $r,n as a,c as ge,k as Ft,C as L3e,G as mx,u as j3e,a as kBe}from"./mui-DzLLS9Rs.js";import{L as uR}from"./lottie-jJKhsKLZ.js";import{r as SBe,m as pu}from"./analytics-Ci62SVC6.js";import{r as Rn}from"./lexical-Y1MbDrft.js";import{E as ui,c as pk,P as ABe,R as pR,F as Wv,X as Xl,Y as ed,G as yh,H as Qv,I as hk,J as wh,K as I3e,L as EBe,M as LBe,N as f3,O as XN,Q as eH,S as gx,U as jBe}from"./recharts-DE-kxplH.js";import{r as IBe}from"./utils-CpsqBQqv.js";(function(){try{var e=typeof window<"u"?window:typeof Gg<"u"?Gg:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="094d65b0-a4b3-49e7-9cf7-3591ca21372d",e._sentryDebugIdIdentifier="sentry-dbid-094d65b0-a4b3-49e7-9cf7-3591ca21372d")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const d of s.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function r(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(n){if(n.ep)return;n.ep=!0;const s=r(n);fetch(n.href,s)}})();var Ey={},qG;function MBe(){if(qG)return Ey;qG=1;var e=n3e();return Ey.createRoot=e.createRoot,Ey.hydrateRoot=e.hydrateRoot,Ey}var PBe=MBe(),sl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Gg<"u"?Gg:typeof self<"u"?self:{};function oo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ZG={exports:{}},K7={},JG;function TBe(){if(JG)return K7;JG=1;var e=k,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function d(c,u,p){var h,m={},g=null,x=null;p!==void 0&&(g=""+p),u.key!==void 0&&(g=""+u.key),u.ref!==void 0&&(x=u.ref);for(h in u)i.call(u,h)&&!s.hasOwnProperty(h)&&(m[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:c,key:g,ref:x,props:m,_owner:n.current}}return K7.Fragment=r,K7.jsx=d,K7.jsxs=d,K7}var XG;function M3e(){return XG||(XG=1,ZG.exports=TBe()),ZG.exports}var l=M3e();const BBe=f.createContext(null),NL={didCatch:!1,error:null};let DBe=class extends f.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=NL}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var t,r,i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];(t=(r=this.props).onReset)===null||t===void 0||t.call(r,{args:n,reason:"imperative-api"}),this.setState(NL)}}componentDidCatch(e,t){var r,i;(r=(i=this.props).onError)===null||r===void 0||r.call(i,e,t)}componentDidUpdate(e,t){const{didCatch:r}=this.state,{resetKeys:i}=this.props;if(r&&t.error!==null&&_Be(e.resetKeys,i)){var n,s;(n=(s=this.props).onReset)===null||n===void 0||n.call(s,{next:i,prev:e.resetKeys,reason:"keys"}),this.setState(NL)}}render(){const{children:e,fallbackRender:t,FallbackComponent:r,fallback:i}=this.props,{didCatch:n,error:s}=this.state;let d=e;if(n){const c={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof t=="function")d=t(c);else if(r)d=f.createElement(r,c);else if(i!==void 0)d=i;else throw s}return f.createElement(BBe.Provider,{value:{didCatch:n,error:s,resetErrorBoundary:this.resetErrorBoundary}},d)}};function _Be(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,i)=>!Object.is(r,t[i]))}var hR={exports:{}},zBe=hR.exports,eY;function RBe(){return eY||(eY=1,function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(zBe,function(){var t,r,i="2.0.6",n={},s={},d={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:d.currentLocale,zeroFormat:d.zeroFormat,nullFormat:d.nullFormat,defaultFormat:d.defaultFormat,scalePercentBy100:d.scalePercentBy100};function u(p,h){this._input=p,this._value=h}return t=function(p){var h,m,g,x;if(t.isNumeral(p))h=p.value();else if(p===0||typeof p>"u")h=0;else if(p===null||r.isNaN(p))h=null;else if(typeof p=="string")if(c.zeroFormat&&p===c.zeroFormat)h=0;else if(c.nullFormat&&p===c.nullFormat||!p.replace(/[^0-9]+/g,"").length)h=null;else{for(m in n)if(x=typeof n[m].regexps.unformat=="function"?n[m].regexps.unformat():n[m].regexps.unformat,x&&p.match(x)){g=n[m].unformat;break}g=g||t._.stringToNumber,h=g(p)}else h=Number(p)||null;return new u(p,h)},t.version=i,t.isNumeral=function(p){return p instanceof u},t._=r={numberToFormat:function(p,h,m){var g=s[t.options.currentLocale],x=!1,y=!1,w=0,b="",C=1e12,$=1e9,A=1e6,L=1e3,I="",j=!1,T,P,B,_,O,z,G;if(p=p||0,P=Math.abs(p),t._.includes(h,"(")?(x=!0,h=h.replace(/[\(|\)]/g,"")):(t._.includes(h,"+")||t._.includes(h,"-"))&&(O=t._.includes(h,"+")?h.indexOf("+"):p<0?h.indexOf("-"):-1,h=h.replace(/[\+|\-]/g,"")),t._.includes(h,"a")&&(T=h.match(/a(k|m|b|t)?/),T=T?T[1]:!1,t._.includes(h," a")&&(b=" "),h=h.replace(new RegExp(b+"a[kmbt]?"),""),P>=C&&!T||T==="t"?(b+=g.abbreviations.trillion,p=p/C):P<C&&P>=$&&!T||T==="b"?(b+=g.abbreviations.billion,p=p/$):P<$&&P>=A&&!T||T==="m"?(b+=g.abbreviations.million,p=p/A):(P<A&&P>=L&&!T||T==="k")&&(b+=g.abbreviations.thousand,p=p/L)),t._.includes(h,"[.]")&&(y=!0,h=h.replace("[.]",".")),B=p.toString().split(".")[0],_=h.split(".")[1],z=h.indexOf(","),w=(h.split(".")[0].split(",")[0].match(/0/g)||[]).length,_?(t._.includes(_,"[")?(_=_.replace("]",""),_=_.split("["),I=t._.toFixed(p,_[0].length+_[1].length,m,_[1].length)):I=t._.toFixed(p,_.length,m),B=I.split(".")[0],t._.includes(I,".")?I=g.delimiters.decimal+I.split(".")[1]:I="",y&&Number(I.slice(1))===0&&(I="")):B=t._.toFixed(p,0,m),b&&!T&&Number(B)>=1e3&&b!==g.abbreviations.trillion)switch(B=String(Number(B)/1e3),b){case g.abbreviations.thousand:b=g.abbreviations.million;break;case g.abbreviations.million:b=g.abbreviations.billion;break;case g.abbreviations.billion:b=g.abbreviations.trillion;break}if(t._.includes(B,"-")&&(B=B.slice(1),j=!0),B.length<w)for(var Z=w-B.length;Z>0;Z--)B="0"+B;return z>-1&&(B=B.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+g.delimiters.thousands)),h.indexOf(".")===0&&(B=""),G=B+I+(b||""),x?G=(x&&j?"(":"")+G+(x&&j?")":""):O>=0?G=O===0?(j?"-":"+")+G:G+(j?"-":"+"):j&&(G="-"+G),G},stringToNumber:function(p){var h=s[c.currentLocale],m=p,g={thousand:3,million:6,billion:9,trillion:12},x,y,w;if(c.zeroFormat&&p===c.zeroFormat)y=0;else if(c.nullFormat&&p===c.nullFormat||!p.replace(/[^0-9]+/g,"").length)y=null;else{y=1,h.delimiters.decimal!=="."&&(p=p.replace(/\./g,"").replace(h.delimiters.decimal,"."));for(x in g)if(w=new RegExp("[^a-zA-Z]"+h.abbreviations[x]+"(?:\\)|(\\"+h.currency.symbol+")?(?:\\))?)?$"),m.match(w)){y*=Math.pow(10,g[x]);break}y*=(p.split("-").length+Math.min(p.split("(").length-1,p.split(")").length-1))%2?1:-1,p=p.replace(/[^0-9\.]+/g,""),y*=Number(p)}return y},isNaN:function(p){return typeof p=="number"&&isNaN(p)},includes:function(p,h){return p.indexOf(h)!==-1},insert:function(p,h,m){return p.slice(0,m)+h+p.slice(m)},reduce:function(p,h){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof h!="function")throw new TypeError(h+" is not a function");var m=Object(p),g=m.length>>>0,x=0,y;if(arguments.length===3)y=arguments[2];else{for(;x<g&&!(x in m);)x++;if(x>=g)throw new TypeError("Reduce of empty array with no initial value");y=m[x++]}for(;x<g;x++)x in m&&(y=h(y,m[x],x,m));return y},multiplier:function(p){var h=p.toString().split(".");return h.length<2?1:Math.pow(10,h[1].length)},correctionFactor:function(){var p=Array.prototype.slice.call(arguments);return p.reduce(function(h,m){var g=r.multiplier(m);return h>g?h:g},1)},toFixed:function(p,h,m,g){var x=p.toString().split("."),y=h-(g||0),w,b,C,$;return x.length===2?w=Math.min(Math.max(x[1].length,y),h):w=y,C=Math.pow(10,w),$=(m(p+"e+"+w)/C).toFixed(w),g>h-w&&(b=new RegExp("\\.?0{1,"+(g-(h-w))+"}$"),$=$.replace(b,"")),$}},t.options=c,t.formats=n,t.locales=s,t.locale=function(p){return p&&(c.currentLocale=p.toLowerCase()),c.currentLocale},t.localeData=function(p){if(!p)return s[c.currentLocale];if(p=p.toLowerCase(),!s[p])throw new Error("Unknown locale : "+p);return s[p]},t.reset=function(){for(var p in d)c[p]=d[p]},t.zeroFormat=function(p){c.zeroFormat=typeof p=="string"?p:null},t.nullFormat=function(p){c.nullFormat=typeof p=="string"?p:null},t.defaultFormat=function(p){c.defaultFormat=typeof p=="string"?p:"0.0"},t.register=function(p,h,m){if(h=h.toLowerCase(),this[p+"s"][h])throw new TypeError(h+" "+p+" already registered.");return this[p+"s"][h]=m,m},t.validate=function(p,h){var m,g,x,y,w,b,C,$;if(typeof p!="string"&&(p+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",p)),p=p.trim(),p.match(/^\d+$/))return!0;if(p==="")return!1;try{C=t.localeData(h)}catch{C=t.localeData(t.locale())}return x=C.currency.symbol,w=C.abbreviations,m=C.delimiters.decimal,C.delimiters.thousands==="."?g="\\.":g=C.delimiters.thousands,$=p.match(/^[^\d]+/),$!==null&&(p=p.substr(1),$[0]!==x)||($=p.match(/[^\d]+$/),$!==null&&(p=p.slice(0,-1),$[0]!==w.thousand&&$[0]!==w.million&&$[0]!==w.billion&&$[0]!==w.trillion))?!1:(b=new RegExp(g+"{2}"),p.match(/[^\d.,]/g)?!1:(y=p.split(m),y.length>2?!1:y.length<2?!!y[0].match(/^\d+.*\d$/)&&!y[0].match(b):y[0].length===1?!!y[0].match(/^\d+$/)&&!y[0].match(b)&&!!y[1].match(/^\d+$/):!!y[0].match(/^\d+.*\d$/)&&!y[0].match(b)&&!!y[1].match(/^\d+$/)))},t.fn=u.prototype={clone:function(){return t(this)},format:function(p,h){var m=this._value,g=p||c.defaultFormat,x,y,w;if(h=h||Math.round,m===0&&c.zeroFormat!==null)y=c.zeroFormat;else if(m===null&&c.nullFormat!==null)y=c.nullFormat;else{for(x in n)if(g.match(n[x].regexps.format)){w=n[x].format;break}w=w||t._.numberToFormat,y=w(m,g,h)}return y},value:function(){return this._value},input:function(){return this._input},set:function(p){return this._value=Number(p),this},add:function(p){var h=r.correctionFactor.call(null,this._value,p);function m(g,x,y,w){return g+Math.round(h*x)}return this._value=r.reduce([this._value,p],m,0)/h,this},subtract:function(p){var h=r.correctionFactor.call(null,this._value,p);function m(g,x,y,w){return g-Math.round(h*x)}return this._value=r.reduce([p],m,Math.round(this._value*h))/h,this},multiply:function(p){function h(m,g,x,y){var w=r.correctionFactor(m,g);return Math.round(m*w)*Math.round(g*w)/Math.round(w*w)}return this._value=r.reduce([this._value,p],h,1),this},divide:function(p){function h(m,g,x,y){var w=r.correctionFactor(m,g);return Math.round(m*w)/Math.round(g*w)}return this._value=r.reduce([this._value,p],h),this},difference:function(p){return Math.abs(t(this._value).subtract(p).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(p){var h=p%10;return~~(p%100/10)===1?"th":h===1?"st":h===2?"nd":h===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(p,h,m){var g=t._.includes(h," BPS")?" ":"",x;return p=p*1e4,h=h.replace(/\s?BPS/,""),x=t._.numberToFormat(p,h,m),t._.includes(x,")")?(x=x.split(""),x.splice(-1,0,g+"BPS"),x=x.join("")):x=x+g+"BPS",x},unformat:function(p){return+(t._.stringToNumber(p)*1e-4).toFixed(15)}})}(),function(){var p={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},h={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},m=p.suffixes.concat(h.suffixes.filter(function(x){return p.suffixes.indexOf(x)<0})),g=m.join("|");g="("+g.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(g)},format:function(x,y,w){var b,C=t._.includes(y,"ib")?h:p,$=t._.includes(y," b")||t._.includes(y," ib")?" ":"",A,L,I;for(y=y.replace(/\s?i?b/,""),A=0;A<=C.suffixes.length;A++)if(L=Math.pow(C.base,A),I=Math.pow(C.base,A+1),x===null||x===0||x>=L&&x<I){$+=C.suffixes[A],L>0&&(x=x/L);break}return b=t._.numberToFormat(x,y,w),b+$},unformat:function(x){var y=t._.stringToNumber(x),w,b;if(y){for(w=p.suffixes.length-1;w>=0;w--){if(t._.includes(x,p.suffixes[w])){b=Math.pow(p.base,w);break}if(t._.includes(x,h.suffixes[w])){b=Math.pow(h.base,w);break}}y*=b||1}return y}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(p,h,m){var g=t.locales[t.options.currentLocale],x={before:h.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:h.match(/([\+|\-|\)|\s|\$]*)$/)[0]},y,w,b;for(h=h.replace(/\s?\$\s?/,""),y=t._.numberToFormat(p,h,m),p>=0?(x.before=x.before.replace(/[\-\(]/,""),x.after=x.after.replace(/[\-\)]/,"")):p<0&&!t._.includes(x.before,"-")&&!t._.includes(x.before,"(")&&(x.before="-"+x.before),b=0;b<x.before.length;b++)switch(w=x.before[b],w){case"$":y=t._.insert(y,g.currency.symbol,b);break;case" ":y=t._.insert(y," ",b+g.currency.symbol.length-1);break}for(b=x.after.length-1;b>=0;b--)switch(w=x.after[b],w){case"$":y=b===x.after.length-1?y+g.currency.symbol:t._.insert(y,g.currency.symbol,-(x.after.length-(1+b)));break;case" ":y=b===x.after.length-1?y+" ":t._.insert(y," ",-(x.after.length-(1+b)+g.currency.symbol.length-1));break}return y}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(p,h,m){var g,x=typeof p=="number"&&!t._.isNaN(p)?p.toExponential():"0e+0",y=x.split("e");return h=h.replace(/e[\+|\-]{1}0/,""),g=t._.numberToFormat(Number(y[0]),h,m),g+"e"+y[1]},unformat:function(p){var h=t._.includes(p,"e+")?p.split("e+"):p.split("e-"),m=Number(h[0]),g=Number(h[1]);g=t._.includes(p,"e-")?g*=-1:g;function x(y,w,b,C){var $=t._.correctionFactor(y,w),A=y*$*(w*$)/($*$);return A}return t._.reduce([m,Math.pow(10,g)],x,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(p,h,m){var g=t.locales[t.options.currentLocale],x,y=t._.includes(h," o")?" ":"";return h=h.replace(/\s?o/,""),y+=g.ordinal(p),x=t._.numberToFormat(p,h,m),x+y}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(p,h,m){var g=t._.includes(h," %")?" ":"",x;return t.options.scalePercentBy100&&(p=p*100),h=h.replace(/\s?\%/,""),x=t._.numberToFormat(p,h,m),t._.includes(x,")")?(x=x.split(""),x.splice(-1,0,g+"%"),x=x.join("")):x=x+g+"%",x},unformat:function(p){var h=t._.stringToNumber(p);return t.options.scalePercentBy100?h*.01:h}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(p,h,m){var g=Math.floor(p/60/60),x=Math.floor((p-g*60*60)/60),y=Math.round(p-g*60*60-x*60);return g+":"+(x<10?"0"+x:x)+":"+(y<10?"0"+y:y)},unformat:function(p){var h=p.split(":"),m=0;return h.length===3?(m=m+Number(h[0])*60*60,m=m+Number(h[1])*60,m=m+Number(h[2])):h.length===2&&(m=m+Number(h[0])*60,m=m+Number(h[1])),Number(m)}})}(),t})}(hR)),hR.exports}var FBe=RBe();const th=oo(FBe);function lh(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(i=>r.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${r} for the full message.`}const rh="$$material";function OBe(e){for(var t=0,r,i=0,n=e.length;n>=4;++i,n-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var NBe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function HBe(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var VBe=/[A-Z]|^ms/g,UBe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,P3e=function(e){return e.charCodeAt(1)===45},tY=function(e){return e!=null&&typeof e!="boolean"},HL=HBe(function(e){return P3e(e)?e:e.replace(VBe,"-$&").toLowerCase()}),rY=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(UBe,function(r,i,n){return E0={name:i,styles:n,next:E0},i})}return NBe[e]!==1&&!P3e(e)&&typeof t=="number"&&t!==0?t+"px":t};function Gv(e,t,r){if(r==null)return"";var i=r;if(i.__emotion_styles!==void 0)return i;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return E0={name:n.name,styles:n.styles,next:E0},n.name;var s=r;if(s.styles!==void 0){var d=s.next;if(d!==void 0)for(;d!==void 0;)E0={name:d.name,styles:d.styles,next:E0},d=d.next;var c=s.styles+";";return c}return WBe(e,t,r)}}var u=r;return u}function WBe(e,t,r){var i="";if(Array.isArray(r))for(var n=0;n<r.length;n++)i+=Gv(e,t,r[n])+";";else for(var s in r){var d=r[s];if(typeof d!="object"){var c=d;tY(c)&&(i+=HL(s)+":"+rY(s,c)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&t==null)for(var u=0;u<d.length;u++)tY(d[u])&&(i+=HL(s)+":"+rY(s,d[u])+";");else{var p=Gv(e,t,d);switch(s){case"animation":case"animationName":{i+=HL(s)+":"+p+";";break}default:i+=s+"{"+p+"}"}}}return i}var oY=/label:\s*([^\s;{]+)\s*(;|$)/g,E0;function QBe(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,n="";E0=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,n+=Gv(r,t,s);else{var d=s;n+=d[0]}for(var c=1;c<e.length;c++)if(n+=Gv(r,t,e[c]),i){var u=s;n+=u[c]}oY.lastIndex=0;for(var p="",h;(h=oY.exec(n))!==null;)p+="-"+h[1];var m=OBe(n)+p;return{name:m,styles:n,next:E0}}var VL={exports:{}},UL,iY;function GBe(){if(iY)return UL;iY=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return UL=e,UL}var WL,nY;function YBe(){if(nY)return WL;nY=1;var e=GBe();function t(){}function r(){}return r.resetWarningCache=t,WL=function(){function i(d,c,u,p,h,m){if(m!==e){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}i.isRequired=i;function n(){return i}var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:n,element:i,elementType:i,instanceOf:n,node:i,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return s.PropTypes=s,s},WL}var aY;function tH(){return aY||(aY=1,VL.exports=YBe()()),VL.exports}var KBe=tH();const jt=oo(KBe);function qBe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ZBe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var T3e=function(){function e(r){var i=this;this._insertTag=function(n){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(n,s),i.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ZBe(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var n=qBe(i);try{n.insertRule(r,n.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ts="-ms-",Yv="-moz-",Fo="-webkit-",B3e="comm",rH="rule",oH="decl",JBe="@import",D3e="@keyframes",XBe="@layer",eDe=Math.abs,mk=String.fromCharCode,tDe=Object.assign;function rDe(e,t){return Fa(e,0)^45?(((t<<2^Fa(e,0))<<2^Fa(e,1))<<2^Fa(e,2))<<2^Fa(e,3):0}function _3e(e){return e.trim()}function oDe(e,t){return(e=t.exec(e))?e[0]:e}function Oo(e,t,r){return e.replace(t,r)}function mR(e,t){return e.indexOf(t)}function Fa(e,t){return e.charCodeAt(t)|0}function $9(e,t,r){return e.slice(t,r)}function hu(e){return e.length}function iH(e){return e.length}function Ly(e,t){return t.push(e),e}function iDe(e,t){return e.map(t).join("")}var gk=1,E5=1,z3e=0,yl=0,Bn=0,i7="";function fk(e,t,r,i,n,s,d){return{value:e,root:t,parent:r,type:i,props:n,children:s,line:gk,column:E5,length:d,return:""}}function q7(e,t){return tDe(fk("",null,null,"",null,null,0),e,{length:-e.length},t)}function nDe(){return Bn}function aDe(){return Bn=yl>0?Fa(i7,--yl):0,E5--,Bn===10&&(E5=1,gk--),Bn}function ql(){return Bn=yl<z3e?Fa(i7,yl++):0,E5++,Bn===10&&(E5=1,gk++),Bn}function Nu(){return Fa(i7,yl)}function cv(){return yl}function fx(e,t){return $9(i7,e,t)}function k9(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R3e(e){return gk=E5=1,z3e=hu(i7=e),yl=0,[]}function F3e(e){return i7="",e}function uv(e){return _3e(fx(yl-1,gR(e===91?e+2:e===40?e+1:e)))}function sDe(e){for(;(Bn=Nu())&&Bn<33;)ql();return k9(e)>2||k9(Bn)>3?"":" "}function lDe(e,t){for(;--t&&ql()&&!(Bn<48||Bn>102||Bn>57&&Bn<65||Bn>70&&Bn<97););return fx(e,cv()+(t<6&&Nu()==32&&ql()==32))}function gR(e){for(;ql();)switch(Bn){case e:return yl;case 34:case 39:e!==34&&e!==39&&gR(Bn);break;case 40:e===41&&gR(e);break;case 92:ql();break}return yl}function dDe(e,t){for(;ql()&&e+Bn!==57&&!(e+Bn===84&&Nu()===47););return"/*"+fx(t,yl-1)+"*"+mk(e===47?e:ql())}function cDe(e){for(;!k9(Nu());)ql();return fx(e,yl)}function uDe(e){return F3e(pv("",null,null,null,[""],e=R3e(e),0,[0],e))}function pv(e,t,r,i,n,s,d,c,u){for(var p=0,h=0,m=d,g=0,x=0,y=0,w=1,b=1,C=1,$=0,A="",L=n,I=s,j=i,T=A;b;)switch(y=$,$=ql()){case 40:if(y!=108&&Fa(T,m-1)==58){mR(T+=Oo(uv($),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:T+=uv($);break;case 9:case 10:case 13:case 32:T+=sDe(y);break;case 92:T+=lDe(cv()-1,7);continue;case 47:switch(Nu()){case 42:case 47:Ly(pDe(dDe(ql(),cv()),t,r),u);break;default:T+="/"}break;case 123*w:c[p++]=hu(T)*C;case 125*w:case 59:case 0:switch($){case 0:case 125:b=0;case 59+h:C==-1&&(T=Oo(T,/\f/g,"")),x>0&&hu(T)-m&&Ly(x>32?lY(T+";",i,r,m-1):lY(Oo(T," ","")+";",i,r,m-2),u);break;case 59:T+=";";default:if(Ly(j=sY(T,t,r,p,h,n,c,A,L=[],I=[],m),s),$===123)if(h===0)pv(T,t,j,j,L,s,m,c,I);else switch(g===99&&Fa(T,3)===110?100:g){case 100:case 108:case 109:case 115:pv(e,j,j,i&&Ly(sY(e,j,j,0,0,n,c,A,n,L=[],m),I),n,I,m,c,i?L:I);break;default:pv(T,j,j,j,[""],I,0,c,I)}}p=h=x=0,w=C=1,A=T="",m=d;break;case 58:m=1+hu(T),x=y;default:if(w<1){if($==123)--w;else if($==125&&w++==0&&aDe()==125)continue}switch(T+=mk($),$*w){case 38:C=h>0?1:(T+="\f",-1);break;case 44:c[p++]=(hu(T)-1)*C,C=1;break;case 64:Nu()===45&&(T+=uv(ql())),g=Nu(),h=m=hu(A=T+=cDe(cv())),$++;break;case 45:y===45&&hu(T)==2&&(w=0)}}return s}function sY(e,t,r,i,n,s,d,c,u,p,h){for(var m=n-1,g=n===0?s:[""],x=iH(g),y=0,w=0,b=0;y<i;++y)for(var C=0,$=$9(e,m+1,m=eDe(w=d[y])),A=e;C<x;++C)(A=_3e(w>0?g[C]+" "+$:Oo($,/&\f/g,g[C])))&&(u[b++]=A);return fk(e,t,r,n===0?rH:c,u,p,h)}function pDe(e,t,r){return fk(e,t,r,B3e,mk(nDe()),$9(e,2,-2),0)}function lY(e,t,r,i){return fk(e,t,r,oH,$9(e,0,i),$9(e,i+1,-1),i)}function e5(e,t){for(var r="",i=iH(e),n=0;n<i;n++)r+=t(e[n],n,e,t)||"";return r}function hDe(e,t,r,i){switch(e.type){case XBe:if(e.children.length)break;case JBe:case oH:return e.return=e.return||e.value;case B3e:return"";case D3e:return e.return=e.value+"{"+e5(e.children,i)+"}";case rH:e.value=e.props.join(",")}return hu(r=e5(e.children,i))?e.return=e.value+"{"+r+"}":""}function mDe(e){var t=iH(e);return function(r,i,n,s){for(var d="",c=0;c<t;c++)d+=e[c](r,i,n,s)||"";return d}}function gDe(e){return function(t){t.root||(t=t.return)&&e(t)}}var fDe=function(e,t,r){for(var i=0,n=0;i=n,n=Nu(),i===38&&n===12&&(t[r]=1),!k9(n);)ql();return fx(e,yl)},xDe=function(e,t){var r=-1,i=44;do switch(k9(i)){case 0:i===38&&Nu()===12&&(t[r]=1),e[r]+=fDe(yl-1,t,r);break;case 2:e[r]+=uv(i);break;case 4:if(i===44){e[++r]=Nu()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=mk(i)}while(i=ql());return e},yDe=function(e,t){return F3e(xDe(R3e(e),t))},dY=new WeakMap,wDe=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!dY.get(r))&&!i){dY.set(e,!0);for(var n=[],s=yDe(t,n),d=r.props,c=0,u=0;c<s.length;c++)for(var p=0;p<d.length;p++,u++)e.props[u]=n[c]?s[c].replace(/&\f/g,d[p]):d[p]+" "+s[c]}}},bDe=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function O3e(e,t){switch(rDe(e,t)){case 5103:return Fo+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fo+e+Yv+e+ts+e+e;case 6828:case 4268:return Fo+e+ts+e+e;case 6165:return Fo+e+ts+"flex-"+e+e;case 5187:return Fo+e+Oo(e,/(\w+).+(:[^]+)/,Fo+"box-$1$2"+ts+"flex-$1$2")+e;case 5443:return Fo+e+ts+"flex-item-"+Oo(e,/flex-|-self/,"")+e;case 4675:return Fo+e+ts+"flex-line-pack"+Oo(e,/align-content|flex-|-self/,"")+e;case 5548:return Fo+e+ts+Oo(e,"shrink","negative")+e;case 5292:return Fo+e+ts+Oo(e,"basis","preferred-size")+e;case 6060:return Fo+"box-"+Oo(e,"-grow","")+Fo+e+ts+Oo(e,"grow","positive")+e;case 4554:return Fo+Oo(e,/([^-])(transform)/g,"$1"+Fo+"$2")+e;case 6187:return Oo(Oo(Oo(e,/(zoom-|grab)/,Fo+"$1"),/(image-set)/,Fo+"$1"),e,"")+e;case 5495:case 3959:return Oo(e,/(image-set\([^]*)/,Fo+"$1$`$1");case 4968:return Oo(Oo(e,/(.+:)(flex-)?(.*)/,Fo+"box-pack:$3"+ts+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fo+e+e;case 4095:case 3583:case 4068:case 2532:return Oo(e,/(.+)-inline(.+)/,Fo+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(hu(e)-1-t>6)switch(Fa(e,t+1)){case 109:if(Fa(e,t+4)!==45)break;case 102:return Oo(e,/(.+:)(.+)-([^]+)/,"$1"+Fo+"$2-$3$1"+Yv+(Fa(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~mR(e,"stretch")?O3e(Oo(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Fa(e,t+1)!==115)break;case 6444:switch(Fa(e,hu(e)-3-(~mR(e,"!important")&&10))){case 107:return Oo(e,":",":"+Fo)+e;case 101:return Oo(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fo+(Fa(e,14)===45?"inline-":"")+"box$3$1"+Fo+"$2$3$1"+ts+"$2box$3")+e}break;case 5936:switch(Fa(e,t+11)){case 114:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fo+e+ts+e+e}return e}var vDe=function(e,t,r,i){if(e.length>-1&&!e.return)switch(e.type){case oH:e.return=O3e(e.value,e.length);break;case D3e:return e5([q7(e,{value:Oo(e.value,"@","@"+Fo)})],i);case rH:if(e.length)return iDe(e.props,function(n){switch(oDe(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return e5([q7(e,{props:[Oo(n,/:(read-\w+)/,":"+Yv+"$1")]})],i);case"::placeholder":return e5([q7(e,{props:[Oo(n,/:(plac\w+)/,":"+Fo+"input-$1")]}),q7(e,{props:[Oo(n,/:(plac\w+)/,":"+Yv+"$1")]}),q7(e,{props:[Oo(n,/:(plac\w+)/,ts+"input-$1")]})],i)}return""})}},CDe=[vDe],N3e=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=e.stylisPlugins||CDe,n={},s,d=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),b=1;b<w.length;b++)n[w[b]]=!0;d.push(y)});var c,u=[wDe,bDe];{var p,h=[hDe,gDe(function(y){p.insert(y)})],m=mDe(u.concat(i,h)),g=function(y){return e5(uDe(y),m)};c=function(y,w,b,C){p=b,g(y?y+"{"+w.styles+"}":w.styles),C&&(x.inserted[w.name]=!0)}}var x={key:t,sheet:new T3e({key:t,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:n,registered:{},insert:c};return x.sheet.hydrate(d),x};const QL=new Map,$De=(e,t)=>{const r=N3e(e);return r.sheet=new t({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};let p0;if(typeof document=="object"&&(p0=document.querySelector('[name="emotion-insertion-point"]'),!p0)){p0=document.createElement("meta"),p0.setAttribute("name","emotion-insertion-point"),p0.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(p0)}function kDe(e,t){if(e||t){class r extends T3e{insert(s,d){return this.key&&this.key.endsWith("global")&&(this.before=p0),super.insert(s,d)}}const i=$De({key:"css",insertionPoint:e?p0:void 0},r);if(t){const n=i.insert;i.insert=(...s)=>(s[1].styles.match(/^@layer\s+[^{]*$/)||(s[1].styles=`@layer mui {${s[1].styles}}`),n(...s))}return i}}function SDe(e){const{injectFirst:t,enableCssLayer:r,children:i}=e,n=f.useMemo(()=>{const s=`${t}-${r}`;if(typeof document=="object"&&QL.has(s))return QL.get(s);const d=kDe(t,r);return QL.set(s,d),d},[t,r]);return n?l.jsx(L3e,{value:n,children:i}):i}function ADe(e){return e==null||Object.keys(e).length===0}function H3e(e){const{styles:t,defaultTheme:r={}}=e,i=typeof t=="function"?n=>t(ADe(n)?r:n):t;return l.jsx(mx,{styles:i})}function EDe(e,t){return a(e,t)}function LDe(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const cY=[];function R0(e){return cY[0]=e,QBe(cY)}var uY={exports:{}},ni={},pY;function jDe(){if(pY)return ni;pY=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),d=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function y(w){if(typeof w=="object"&&w!==null){var b=w.$$typeof;switch(b){case e:switch(w=w.type,w){case r:case n:case i:case u:case p:case g:return w;default:switch(w=w&&w.$$typeof,w){case d:case c:case m:case h:return w;case s:return w;default:return b}}case t:return b}}}return ni.ContextConsumer=s,ni.ContextProvider=d,ni.Element=e,ni.ForwardRef=c,ni.Fragment=r,ni.Lazy=m,ni.Memo=h,ni.Portal=t,ni.Profiler=n,ni.StrictMode=i,ni.Suspense=u,ni.SuspenseList=p,ni.isContextConsumer=function(w){return y(w)===s},ni.isContextProvider=function(w){return y(w)===d},ni.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},ni.isForwardRef=function(w){return y(w)===c},ni.isFragment=function(w){return y(w)===r},ni.isLazy=function(w){return y(w)===m},ni.isMemo=function(w){return y(w)===h},ni.isPortal=function(w){return y(w)===t},ni.isProfiler=function(w){return y(w)===n},ni.isStrictMode=function(w){return y(w)===i},ni.isSuspense=function(w){return y(w)===u},ni.isSuspenseList=function(w){return y(w)===p},ni.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===n||w===i||w===u||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===h||w.$$typeof===d||w.$$typeof===s||w.$$typeof===c||w.$$typeof===x||w.getModuleId!==void 0)},ni.typeOf=y,ni}var hY;function IDe(){return hY||(hY=1,uY.exports=jDe()),uY.exports}var V3e=IDe();function Wp(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function U3e(e){if(f.isValidElement(e)||V3e.isValidElementType(e)||!Wp(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=U3e(e[r])}),t}function us(e,t,r={clone:!0}){const i=r.clone?{...e}:e;return Wp(e)&&Wp(t)&&Object.keys(t).forEach(n=>{f.isValidElement(t[n])||V3e.isValidElementType(t[n])?i[n]=t[n]:Wp(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&Wp(e[n])?i[n]=us(e[n],t[n],r):r.clone?i[n]=Wp(t[n])?U3e(t[n]):t[n]:i[n]=t[n]}),i}const MDe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,i)=>r.val-i.val),t.reduce((r,i)=>({...r,[i.key]:i.val}),{})};function PDe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5,...n}=e,s=MDe(t),d=Object.keys(s);function c(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-i/100}${r})`}function p(g,x){const y=d.indexOf(x);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[d[y]]=="number"?t[d[y]]:x)-i/100}${r})`}function h(g){return d.indexOf(g)+1<d.length?p(g,d[d.indexOf(g)+1]):c(g)}function m(g){const x=d.indexOf(g);return x===0?c(d[1]):x===d.length-1?u(d[x]):p(g,d[d.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:d,values:s,up:c,down:u,between:p,only:h,not:m,unit:r,...n}}function mY(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(i=>i.startsWith("@container")).sort((i,n)=>{const s=/min-width:\s*([0-9.]+)/;return+(i.match(s)?.[1]||0)-+(n.match(s)?.[1]||0)});return r.length?r.reduce((i,n)=>{const s=t[n];return delete i[n],i[n]=s,i},{...t}):t}function TDe(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function BDe(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,i,n]=r,s=Number.isNaN(+i)?i||0:+i;return e.containerQueries(n).up(s)}function DDe(e){const t=(s,d)=>s.replace("@media",d?`@container ${d}`:"@container");function r(s,d){s.up=(...c)=>t(e.breakpoints.up(...c),d),s.down=(...c)=>t(e.breakpoints.down(...c),d),s.between=(...c)=>t(e.breakpoints.between(...c),d),s.only=(...c)=>t(e.breakpoints.only(...c),d),s.not=(...c)=>{const u=t(e.breakpoints.not(...c),d);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const i={},n=s=>(r(i,s),i);return r(n),{...e,containerQueries:n}}const _De={borderRadius:4};function G8(e,t){return t?us(e,t,{clone:!1}):e}const xk={xs:0,sm:600,md:900,lg:1200,xl:1536},gY={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${xk[e]}px)`},zDe={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:xk[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function dh(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const n=i.breakpoints||gY;return t.reduce((s,d,c)=>(s[n.up(n.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const n=i.breakpoints||gY;return Object.keys(t).reduce((s,d)=>{if(TDe(n.keys,d)){const c=BDe(i.containerQueries?i:zDe,d);c&&(s[c]=r(t[d],d))}else if(Object.keys(n.values||xk).includes(d)){const c=n.up(d);s[c]=r(t[d],d)}else{const c=d;s[c]=t[c]}return s},{})}return r(t)}function RDe(e={}){return e.keys?.reduce((t,r)=>{const i=e.up(r);return t[i]={},t},{})||{}}function fY(e,t){return e.reduce((r,i)=>{const n=r[i];return(!n||Object.keys(n).length===0)&&delete r[i],r},t)}function Ur(e){if(typeof e!="string")throw new Error(lh(7));return e.charAt(0).toUpperCase()+e.slice(1)}function yk(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const i=`vars.${t}`.split(".").reduce((n,s)=>n&&n[s]?n[s]:null,e);if(i!=null)return i}return t.split(".").reduce((i,n)=>i&&i[n]!=null?i[n]:null,e)}function Kv(e,t,r,i=r){let n;return typeof e=="function"?n=e(r):Array.isArray(e)?n=e[r]||i:n=yk(e,r)||i,t&&(n=t(n,i,e)),n}function $n(e){const{prop:t,cssProperty:r=e.prop,themeKey:i,transform:n}=e,s=d=>{if(d[t]==null)return null;const c=d[t],u=d.theme,p=yk(u,i)||{};return dh(d,c,h=>{let m=Kv(p,n,h);return h===m&&typeof h=="string"&&(m=Kv(p,n,`${t}${h==="default"?"":Ur(h)}`,h)),r===!1?m:{[r]:m}})};return s.propTypes={},s.filterProps=[t],s}function FDe(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const ODe={m:"margin",p:"padding"},NDe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},xY={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},HDe=FDe(e=>{if(e.length>2)if(xY[e])e=xY[e];else return[e];const[t,r]=e.split(""),i=ODe[t],n=NDe[r]||"";return Array.isArray(n)?n.map(s=>i+s):[i+n]}),nH=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],aH=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...nH,...aH];function xx(e,t,r,i){const n=yk(e,t,!0)??r;return typeof n=="number"||typeof n=="string"?s=>typeof s=="string"?s:typeof n=="string"?n.startsWith("var(")&&s===0?0:n.startsWith("var(")&&s===1?n:`calc(${s} * ${n})`:n*s:Array.isArray(n)?s=>{if(typeof s=="string")return s;const d=Math.abs(s),c=n[d];return s>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${c})`:`-${c}`}:typeof n=="function"?n:()=>{}}function sH(e){return xx(e,"spacing",8)}function yx(e,t){return typeof t=="string"||t==null?t:e(t)}function VDe(e,t){return r=>e.reduce((i,n)=>(i[n]=yx(t,r),i),{})}function UDe(e,t,r,i){if(!t.includes(r))return null;const n=HDe(r),s=VDe(n,i),d=e[r];return dh(e,d,s)}function W3e(e,t){const r=sH(e.theme);return Object.keys(e).map(i=>UDe(e,t,i,r)).reduce(G8,{})}function rn(e){return W3e(e,nH)}rn.propTypes={};rn.filterProps=nH;function on(e){return W3e(e,aH)}on.propTypes={};on.filterProps=aH;function Q3e(e=8,t=sH({spacing:e})){if(e.mui)return e;const r=(...i)=>(i.length===0?[1]:i).map(n=>{const s=t(n);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function wk(...e){const t=e.reduce((i,n)=>(n.filterProps.forEach(s=>{i[s]=n}),i),{}),r=i=>Object.keys(i).reduce((n,s)=>t[s]?G8(n,t[s](i)):n,{});return r.propTypes={},r.filterProps=e.reduce((i,n)=>i.concat(n.filterProps),[]),r}function Ld(e){return typeof e!="number"?e:`${e}px solid`}function tc(e,t){return $n({prop:e,themeKey:"borders",transform:t})}const WDe=tc("border",Ld),QDe=tc("borderTop",Ld),GDe=tc("borderRight",Ld),YDe=tc("borderBottom",Ld),KDe=tc("borderLeft",Ld),qDe=tc("borderColor"),ZDe=tc("borderTopColor"),JDe=tc("borderRightColor"),XDe=tc("borderBottomColor"),e_e=tc("borderLeftColor"),t_e=tc("outline",Ld),r_e=tc("outlineColor"),bk=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=xx(e.theme,"shape.borderRadius",4),r=i=>({borderRadius:yx(t,i)});return dh(e,e.borderRadius,r)}return null};bk.propTypes={};bk.filterProps=["borderRadius"];wk(WDe,QDe,GDe,YDe,KDe,qDe,ZDe,JDe,XDe,e_e,bk,t_e,r_e);const vk=e=>{if(e.gap!==void 0&&e.gap!==null){const t=xx(e.theme,"spacing",8),r=i=>({gap:yx(t,i)});return dh(e,e.gap,r)}return null};vk.propTypes={};vk.filterProps=["gap"];const Ck=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=xx(e.theme,"spacing",8),r=i=>({columnGap:yx(t,i)});return dh(e,e.columnGap,r)}return null};Ck.propTypes={};Ck.filterProps=["columnGap"];const $k=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=xx(e.theme,"spacing",8),r=i=>({rowGap:yx(t,i)});return dh(e,e.rowGap,r)}return null};$k.propTypes={};$k.filterProps=["rowGap"];const o_e=$n({prop:"gridColumn"}),i_e=$n({prop:"gridRow"}),n_e=$n({prop:"gridAutoFlow"}),a_e=$n({prop:"gridAutoColumns"}),s_e=$n({prop:"gridAutoRows"}),l_e=$n({prop:"gridTemplateColumns"}),d_e=$n({prop:"gridTemplateRows"}),c_e=$n({prop:"gridTemplateAreas"}),u_e=$n({prop:"gridArea"});wk(vk,Ck,$k,o_e,i_e,n_e,a_e,s_e,l_e,d_e,c_e,u_e);function t5(e,t){return t==="grey"?t:e}const p_e=$n({prop:"color",themeKey:"palette",transform:t5}),h_e=$n({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:t5}),m_e=$n({prop:"backgroundColor",themeKey:"palette",transform:t5});wk(p_e,h_e,m_e);function Vl(e){return e<=1&&e!==0?`${e*100}%`:e}const g_e=$n({prop:"width",transform:Vl}),lH=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const i=e.theme?.breakpoints?.values?.[r]||xk[r];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Vl(r)}};return dh(e,e.maxWidth,t)}return null};lH.filterProps=["maxWidth"];const f_e=$n({prop:"minWidth",transform:Vl}),x_e=$n({prop:"height",transform:Vl}),y_e=$n({prop:"maxHeight",transform:Vl}),w_e=$n({prop:"minHeight",transform:Vl});$n({prop:"size",cssProperty:"width",transform:Vl});$n({prop:"size",cssProperty:"height",transform:Vl});const b_e=$n({prop:"boxSizing"});wk(g_e,lH,f_e,x_e,y_e,w_e,b_e);const kk={border:{themeKey:"borders",transform:Ld},borderTop:{themeKey:"borders",transform:Ld},borderRight:{themeKey:"borders",transform:Ld},borderBottom:{themeKey:"borders",transform:Ld},borderLeft:{themeKey:"borders",transform:Ld},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ld},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bk},color:{themeKey:"palette",transform:t5},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:t5},backgroundColor:{themeKey:"palette",transform:t5},p:{style:on},pt:{style:on},pr:{style:on},pb:{style:on},pl:{style:on},px:{style:on},py:{style:on},padding:{style:on},paddingTop:{style:on},paddingRight:{style:on},paddingBottom:{style:on},paddingLeft:{style:on},paddingX:{style:on},paddingY:{style:on},paddingInline:{style:on},paddingInlineStart:{style:on},paddingInlineEnd:{style:on},paddingBlock:{style:on},paddingBlockStart:{style:on},paddingBlockEnd:{style:on},m:{style:rn},mt:{style:rn},mr:{style:rn},mb:{style:rn},ml:{style:rn},mx:{style:rn},my:{style:rn},margin:{style:rn},marginTop:{style:rn},marginRight:{style:rn},marginBottom:{style:rn},marginLeft:{style:rn},marginX:{style:rn},marginY:{style:rn},marginInline:{style:rn},marginInlineStart:{style:rn},marginInlineEnd:{style:rn},marginBlock:{style:rn},marginBlockStart:{style:rn},marginBlockEnd:{style:rn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:vk},rowGap:{style:$k},columnGap:{style:Ck},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vl},maxWidth:{style:lH},minWidth:{transform:Vl},height:{transform:Vl},maxHeight:{transform:Vl},minHeight:{transform:Vl},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function v_e(...e){const t=e.reduce((i,n)=>i.concat(Object.keys(n)),[]),r=new Set(t);return e.every(i=>r.size===Object.keys(i).length)}function C_e(e,t){return typeof e=="function"?e(t):e}function $_e(){function e(r,i,n,s){const d={[r]:i,theme:n},c=s[r];if(!c)return{[r]:i};const{cssProperty:u=r,themeKey:p,transform:h,style:m}=c;if(i==null)return null;if(p==="typography"&&i==="inherit")return{[r]:i};const g=yk(n,p)||{};return m?m(d):dh(d,i,x=>{let y=Kv(g,h,x);return x===y&&typeof x=="string"&&(y=Kv(g,h,`${r}${x==="default"?"":Ur(x)}`,x)),u===!1?y:{[u]:y}})}function t(r){const{sx:i,theme:n={},nested:s}=r||{};if(!i)return null;const d=n.unstable_sxConfig??kk;function c(u){let p=u;if(typeof u=="function")p=u(n);else if(typeof u!="object")return u;if(!p)return null;const h=RDe(n.breakpoints),m=Object.keys(h);let g=h;return Object.keys(p).forEach(x=>{const y=C_e(p[x],n);if(y!=null)if(typeof y=="object")if(d[x])g=G8(g,e(x,y,n,d));else{const w=dh({theme:n},y,b=>({[x]:b}));v_e(w,y)?g[x]=t({sx:y,theme:n,nested:!0}):g=G8(g,w)}else g=G8(g,e(x,y,n,d))}),!s&&n.modularCssLayers?{"@layer sx":mY(n,fY(m,g))}:mY(n,fY(m,g))}return Array.isArray(i)?i.map(c):c(i)}return t}const Yg=$_e();Yg.filterProps=["sx"];function k_e(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let i=r.getColorSchemeSelector(e);return i==="&"?t:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:t})}return r.palette.mode===e?t:{}}function dH(e={},...t){const{breakpoints:r={},palette:i={},spacing:n,shape:s={},...d}=e,c=PDe(r),u=Q3e(n);let p=us({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:u,shape:{..._De,...s}},d);return p=DDe(p),p.applyStyles=k_e,p=t.reduce((h,m)=>us(h,m),p),p.unstable_sxConfig={...kk,...d?.unstable_sxConfig},p.unstable_sx=function(h){return Yg({sx:h,theme:this})},p}function S_e(e){return Object.keys(e).length===0}function cH(e=null){const t=f.useContext(E3e);return!t||S_e(t)?e:t}const A_e=dH();function G3e(e=A_e){return cH(e)}function yY(e){const t=R0(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Y3e({styles:e,themeId:t,defaultTheme:r={}}){const i=G3e(r),n=t&&i[t]||i;let s=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(s)?s=s.map(d=>yY(typeof d=="function"?d(n):d)):s=yY(s)),l.jsx(H3e,{styles:s})}const wY=e=>e,E_e=()=>{let e=wY;return{configure(t){e=t},generate(t){return e(t)},reset(){e=wY}}},L_e=E_e();function K3e(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=K3e(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function Sr(){for(var e,t,r=0,i="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=K3e(e))&&(i&&(i+=" "),i+=t);return i}const j_e={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Uo(e,t,r="Mui"){const i=j_e[t];return i?`${r}-${i}`:`${L_e.generate(e)}-${t}`}function Wo(e,t,r="Mui"){const i={};return t.forEach(n=>{i[n]=Uo(e,n,r)}),i}function q3e(e){const{variants:t,...r}=e,i={variants:t,style:R0(r),isProcessed:!0};return i.style===r||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=R0(n.style))}),i}const I_e=dH();function GL(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function vg(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function M_e(e){return e?(t,r)=>r[e]:null}function P_e(e,t,r){e.theme=D_e(e.theme)?r:e.theme[t]||e.theme}function hv(e,t,r){const i=typeof t=="function"?t(e):t;if(Array.isArray(i))return i.flatMap(n=>hv(e,n,r));if(Array.isArray(i?.variants)){let n;if(i.isProcessed)n=r?vg(i.style,r):i.style;else{const{variants:s,...d}=i;n=r?vg(R0(d),r):d}return Z3e(e,i.variants,[n],r)}return i?.isProcessed?r?vg(R0(i.style),r):i.style:r?vg(R0(i),r):i}function Z3e(e,t,r=[],i=void 0){let n;e:for(let s=0;s<t.length;s+=1){const d=t[s];if(typeof d.props=="function"){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!d.props(n))continue}else for(const c in d.props)if(e[c]!==d.props[c]&&e.ownerState?.[c]!==d.props[c])continue e;typeof d.style=="function"?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i?vg(R0(d.style(n)),i):d.style(n))):r.push(i?vg(R0(d.style),i):d.style)}return r}function T_e(e={}){const{themeId:t,defaultTheme:r=I_e,rootShouldForwardProp:i=GL,slotShouldForwardProp:n=GL}=e;function s(d){P_e(d,t,r)}return(d,c={})=>{LDe(d,I=>I.filter(j=>j!==Yg));const{name:u,slot:p,skipVariantsResolver:h,skipSx:m,overridesResolver:g=M_e(z_e(p)),...x}=c,y=u&&u.startsWith("Mui")||p?"components":"custom",w=h!==void 0?h:p&&p!=="Root"&&p!=="root"||!1,b=m||!1;let C=GL;p==="Root"||p==="root"?C=i:p?C=n:__e(d)&&(C=void 0);const $=EDe(d,{shouldForwardProp:C,label:B_e(),...x}),A=I=>{if(I.__emotion_real===I)return I;if(typeof I=="function")return function(j){return hv(j,I,j.theme.modularCssLayers?y:void 0)};if(Wp(I)){const j=q3e(I);return function(T){return j.variants?hv(T,j,T.theme.modularCssLayers?y:void 0):T.theme.modularCssLayers?vg(j.style,y):j.style}}return I},L=(...I)=>{const j=[],T=I.map(A),P=[];if(j.push(s),u&&g&&P.push(function(O){const z=O.theme.components?.[u]?.styleOverrides;if(!z)return null;const G={};for(const Z in z)G[Z]=hv(O,z[Z],O.theme.modularCssLayers?"theme":void 0);return g(O,G)}),u&&!w&&P.push(function(O){const z=O.theme?.components?.[u]?.variants;return z?Z3e(O,z,[],O.theme.modularCssLayers?"theme":void 0):null}),b||P.push(Yg),Array.isArray(T[0])){const O=T.shift(),z=new Array(j.length).fill(""),G=new Array(P.length).fill("");let Z;Z=[...z,...O,...G],Z.raw=[...z,...O.raw,...G],j.unshift(Z)}const B=[...j,...T,...P],_=$(...B);return d.muiName&&(_.muiName=d.muiName),_};return $.withConfig&&(L.withConfig=$.withConfig),L}}function B_e(e,t){return void 0}function D_e(e){for(const t in e)return!1;return!0}function __e(e){return typeof e=="string"&&e.charCodeAt(0)>96}function z_e(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function fR(e,t,r=!1){const i={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=n;if(s==="components"||s==="slots")i[s]={...e[s],...i[s]};else if(s==="componentsProps"||s==="slotProps"){const d=e[s],c=t[s];if(!c)i[s]=d||{};else if(!d)i[s]=c;else{i[s]={...c};for(const u in d)if(Object.prototype.hasOwnProperty.call(d,u)){const p=u;i[s][p]=fR(d[p],c[p],r)}}}else s==="className"&&r&&t.className?i.className=Sr(e?.className,t?.className):s==="style"&&r&&t.style?i.style={...e?.style,...t?.style}:i[s]===void 0&&(i[s]=e[s])}return i}const Yd=typeof window<"u"?f.useLayoutEffect:f.useEffect;function R_e(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function uH(e,t=0,r=1){return R_e(e,t,r)}function F_e(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(i=>i+i)),r?`rgb${r.length===4?"a":""}(${r.map((i,n)=>n<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function J0(e){if(e.type)return e;if(e.charAt(0)==="#")return J0(F_e(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(lh(9,e));let i=e.substring(t+1,e.length-1),n;if(r==="color"){if(i=i.split(" "),n=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(lh(10,n))}else i=i.split(",");return i=i.map(s=>parseFloat(s)),{type:r,values:i,colorSpace:n}}const O_e=e=>{const t=J0(e);return t.values.slice(0,3).map((r,i)=>t.type.includes("hsl")&&i!==0?`${r}%`:r).join(" ")},b8=(e,t)=>{try{return O_e(e)}catch{return e}};function Sk(e){const{type:t,colorSpace:r}=e;let{values:i}=e;return t.includes("rgb")?i=i.map((n,s)=>s<3?parseInt(n,10):n):t.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.includes("color")?i=`${r} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function J3e(e){e=J0(e);const{values:t}=e,r=t[0],i=t[1]/100,n=t[2]/100,s=i*Math.min(n,1-n),d=(p,h=(p+r/30)%12)=>n-s*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),Sk({type:c,values:u})}function xR(e){e=J0(e);let t=e.type==="hsl"||e.type==="hsla"?J0(J3e(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function N_e(e,t){const r=xR(e),i=xR(t);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function qv(e,t){return e=J0(e),t=uH(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Sk(e)}function vm(e,t,r){try{return qv(e,t)}catch{return e}}function Ak(e,t){if(e=J0(e),t=uH(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Sk(e)}function Zo(e,t,r){try{return Ak(e,t)}catch{return e}}function Ek(e,t){if(e=J0(e),t=uH(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Sk(e)}function Jo(e,t,r){try{return Ek(e,t)}catch{return e}}function H_e(e,t=.15){return xR(e)>.5?Ak(e,t):Ek(e,t)}function jy(e,t,r){try{return H_e(e,t)}catch{return e}}const X3e=f.createContext(null);function pH(){return f.useContext(X3e)}const V_e=typeof Symbol=="function"&&Symbol.for,U_e=V_e?Symbol.for("mui.nested"):"__THEME_NESTED__";function W_e(e,t){return typeof t=="function"?t(e):{...e,...t}}function Q_e(e){const{children:t,theme:r}=e,i=pH(),n=f.useMemo(()=>{const s=i===null?{...r}:W_e(i,r);return s!=null&&(s[U_e]=i!==null),s},[r,i]);return l.jsx(X3e.Provider,{value:n,children:t})}const efe=f.createContext();function G_e({value:e,...t}){return l.jsx(efe.Provider,{value:e??!0,...t})}const n7=()=>f.useContext(efe)??!1,tfe=f.createContext(void 0);function Y_e({value:e,children:t}){return l.jsx(tfe.Provider,{value:e,children:t})}function K_e(e){const{theme:t,name:r,props:i}=e;if(!t||!t.components||!t.components[r])return i;const n=t.components[r];return n.defaultProps?fR(n.defaultProps,i,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?fR(n,i,t.components.mergeClassNameAndStyle):i}function q_e({props:e,name:t}){const r=f.useContext(tfe);return K_e({props:e,name:t,theme:{components:r}})}let bY=0;function Z_e(e){const[t,r]=f.useState(e),i=e||t;return f.useEffect(()=>{t==null&&(bY+=1,r(`mui-${bY}`))},[t]),i}const J_e={...kPe},vY=J_e.useId;function Lk(e){if(vY!==void 0){const t=vY();return e??t}return Z_e(e)}function X_e(e){const t=cH(),r=Lk()||"",{modularCssLayers:i}=e;let n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||t!==null?n="":typeof i=="string"?n=i.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,Yd(()=>{const s=document.querySelector("head");if(!s)return;const d=s.firstChild;if(n){if(d&&d.hasAttribute?.("data-mui-layer-order")&&d.getAttribute("data-mui-layer-order")===r)return;const c=document.createElement("style");c.setAttribute("data-mui-layer-order",r),c.textContent=n,s.prepend(c)}else s.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[n,r]),n?l.jsx(Y3e,{styles:n}):null}const CY={};function $Y(e,t,r,i=!1){return f.useMemo(()=>{const n=e&&t[e]||t;if(typeof r=="function"){const s=r(n),d=e?{...t,[e]:s}:s;return i?()=>d:d}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,i])}function rfe(e){const{children:t,theme:r,themeId:i}=e,n=cH(CY),s=pH()||CY,d=$Y(i,n,r),c=$Y(i,s,r,!0),u=(i?d[i]:d).direction==="rtl",p=X_e(d);return l.jsx(Q_e,{theme:c,children:l.jsx(E3e.Provider,{value:d,children:l.jsx(G_e,{value:u,children:l.jsxs(Y_e,{value:i?d[i].components:d.components,children:[p,t]})})})})}const kY={theme:void 0};function eze(e){let t,r;return function(i){let n=t;return(n===void 0||i.theme!==r)&&(kY.theme=i.theme,n=q3e(e(kY)),t=n,r=i.theme),n}}const hH="mode",mH="color-scheme",tze="data-color-scheme";function rze(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:i="dark",modeStorageKey:n=hH,colorSchemeStorageKey:s=mH,attribute:d=tze,colorSchemeNode:c="document.documentElement",nonce:u}=e||{};let p="",h=d;if(d==="class"&&(h=".%s"),d==="data"&&(h="[data-%s]"),h.startsWith(".")){const g=h.substring(1);p+=`${c}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark));
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/empty-DewRN75u.js","assets/sentry-SNkBC2Al.js","assets/empty-DCdjTxMk.js","assets/index-DrEiJ4Wx.js","assets/index-BHVDlT_9.js","assets/zeni-epic-state-B7yJI5lR.js","assets/core-CrJ0HRkP.js","assets/utils-CpsqBQqv.js","assets/recharts-DE-kxplH.js","assets/url-C9VCVVAZ.js","assets/index-BnSSVzJm.js","assets/index-CS2xkLsB.js","assets/url-h1qG-NI4.js","assets/index-C1011MmK.js","assets/ScreenRoutes-Cf1NGlgl.js","assets/liveblocks-CH5Ytl_r.js","assets/analyticsHelper-BviTMVeA.js","assets/mui-DzLLS9Rs.js","assets/lottie-jJKhsKLZ.js","assets/analytics-Ci62SVC6.js","assets/lexical-Y1MbDrft.js","assets/SignInScreen-si7quMFC.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{a as f,b as k,R as kPe,c as Gg,p as zp,e as RG,r as $l,g as ON,f as SPe,s as FG,w as APe,i as EPe,S as LPe,j as jPe,k as IPe,l as MPe,m as PPe}from"./sentry-SNkBC2Al.js";import{j as cr,_ as e3e,a as ec,u as t3e,T as TPe,C as BPe,b as DPe,c as sk,d as lk,e as _Pe,f as r3e,g as zPe,h as RPe,L as FPe,i as OG,k as OPe,l as NPe,P as HPe,m as VPe,n as UPe,o as o3e,p as WPe,q as QPe,I as NG,r as GPe,s as YPe,t as KPe,v as qPe,w as ZPe,x as JPe,y as i3e,z as XPe,A as eTe,B as tTe}from"./liveblocks-CH5Ytl_r.js";import{f as n3e,R as wg,r as Rs,P as Ki,u as dk,g as Bu,h as rTe,i as NN,j as oTe,k as iTe,l as OL,N as nTe,m as aTe,n as sTe,B as lTe}from"./core-CrJ0HRkP.js";import{B as Vv,ba as bg,bb as dTe,bc as HG,bd as g3,be as Vo,bf as a3e,bg as fo,bh as cTe,bi as S5,bj as q0,bk as HN,bl as s3e,bm as uTe,bn as l3e,bo as VN,bp as pTe,bq as d3e,br as hTe,bs as vi,bt as A5,bu as uu,bv as mTe,bw as gTe,bx as fTe,by as xTe,bz as VG,bA as yTe,bB as wTe,bC as bTe,bD as vTe,bE as ck,bF as c3e,bG as Z0,bH as CTe,bI as u3e,bJ as dR,bK as UG,bL as WG,bM as QG,bN as Ps,bO as UN,bP as WN,bQ as o7,bR as QN,bS as GN,bT as YN,bU as KN,bV as $Te,bW as Uv,bX as kTe,bY as qN,bZ as STe,b_ as Zp,b$ as ATe,c0 as ETe,c1 as LTe,c2 as jTe,c3 as ITe,c4 as MTe,c5 as PTe,c6 as TTe,c7 as BTe,c8 as DTe,c9 as _Te,ca as zTe,cb as RTe,cc as FTe,cd as OTe,ce as NTe,cf as HTe,cg as VTe,ch as UTe,ci as WTe,cj as QTe,ck as ZN,cl as JN,cm as p3e,cn as GTe,co as GG,cp as YTe,cq as KTe,cr as qTe,cs as C9,ct as h3e,cu as m3e,cv as ZTe,cw as g3e,cx as YG,cy as f3e,cz as x3e,cA as y3e,cB as w3e,cC as b3e,cD as v3e,cE as JTe,cF as XTe,cG as eBe,cH as C3e,cI as cR,cJ as tBe,cK as $3e,cL as k3e,cM as rBe,cN as oBe,cO as iBe,cP as nBe,cQ as aBe,cR as sBe,cS as lBe,cT as dBe,v as cBe,cU as uk,cV as S3e,cW as A3e,cX as uBe,cY as pBe,cZ as hBe,c_ as mBe,c$ as gBe,d0 as fBe,d1 as xBe,d2 as yBe,d3 as wBe,d4 as KG,d5 as bBe,d6 as vBe,d7 as CBe,d8 as $Be}from"./zeni-epic-state-B7yJI5lR.js";import{T as E3e,j as $r,n as a,c as ge,k as Ft,C as L3e,G as mx,u as j3e,a as kBe}from"./mui-DzLLS9Rs.js";import{L as uR}from"./lottie-jJKhsKLZ.js";import{r as SBe,m as pu}from"./analytics-Ci62SVC6.js";import{r as Rn}from"./lexical-Y1MbDrft.js";import{E as ui,c as pk,P as ABe,R as pR,F as Wv,X as Xl,Y as ed,G as yh,H as Qv,I as hk,J as wh,K as I3e,L as EBe,M as LBe,N as f3,O as XN,Q as eH,S as gx,U as jBe}from"./recharts-DE-kxplH.js";import{r as IBe}from"./utils-CpsqBQqv.js";(function(){try{var e=typeof window<"u"?window:typeof Gg<"u"?Gg:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3ee77e96-c4c0-4a3f-a4a7-1f77a8fd44a1",e._sentryDebugIdIdentifier="sentry-dbid-3ee77e96-c4c0-4a3f-a4a7-1f77a8fd44a1")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const d of s.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function r(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(n){if(n.ep)return;n.ep=!0;const s=r(n);fetch(n.href,s)}})();var Ey={},qG;function MBe(){if(qG)return Ey;qG=1;var e=n3e();return Ey.createRoot=e.createRoot,Ey.hydrateRoot=e.hydrateRoot,Ey}var PBe=MBe(),sl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Gg<"u"?Gg:typeof self<"u"?self:{};function oo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ZG={exports:{}},K7={},JG;function TBe(){if(JG)return K7;JG=1;var e=k,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function d(c,u,p){var h,m={},g=null,x=null;p!==void 0&&(g=""+p),u.key!==void 0&&(g=""+u.key),u.ref!==void 0&&(x=u.ref);for(h in u)i.call(u,h)&&!s.hasOwnProperty(h)&&(m[h]=u[h]);if(c&&c.defaultProps)for(h in u=c.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:c,key:g,ref:x,props:m,_owner:n.current}}return K7.Fragment=r,K7.jsx=d,K7.jsxs=d,K7}var XG;function M3e(){return XG||(XG=1,ZG.exports=TBe()),ZG.exports}var l=M3e();const BBe=f.createContext(null),NL={didCatch:!1,error:null};let DBe=class extends f.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=NL}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var t,r,i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];(t=(r=this.props).onReset)===null||t===void 0||t.call(r,{args:n,reason:"imperative-api"}),this.setState(NL)}}componentDidCatch(e,t){var r,i;(r=(i=this.props).onError)===null||r===void 0||r.call(i,e,t)}componentDidUpdate(e,t){const{didCatch:r}=this.state,{resetKeys:i}=this.props;if(r&&t.error!==null&&_Be(e.resetKeys,i)){var n,s;(n=(s=this.props).onReset)===null||n===void 0||n.call(s,{next:i,prev:e.resetKeys,reason:"keys"}),this.setState(NL)}}render(){const{children:e,fallbackRender:t,FallbackComponent:r,fallback:i}=this.props,{didCatch:n,error:s}=this.state;let d=e;if(n){const c={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof t=="function")d=t(c);else if(r)d=f.createElement(r,c);else if(i!==void 0)d=i;else throw s}return f.createElement(BBe.Provider,{value:{didCatch:n,error:s,resetErrorBoundary:this.resetErrorBoundary}},d)}};function _Be(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,i)=>!Object.is(r,t[i]))}var hR={exports:{}},zBe=hR.exports,eY;function RBe(){return eY||(eY=1,function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(zBe,function(){var t,r,i="2.0.6",n={},s={},d={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:d.currentLocale,zeroFormat:d.zeroFormat,nullFormat:d.nullFormat,defaultFormat:d.defaultFormat,scalePercentBy100:d.scalePercentBy100};function u(p,h){this._input=p,this._value=h}return t=function(p){var h,m,g,x;if(t.isNumeral(p))h=p.value();else if(p===0||typeof p>"u")h=0;else if(p===null||r.isNaN(p))h=null;else if(typeof p=="string")if(c.zeroFormat&&p===c.zeroFormat)h=0;else if(c.nullFormat&&p===c.nullFormat||!p.replace(/[^0-9]+/g,"").length)h=null;else{for(m in n)if(x=typeof n[m].regexps.unformat=="function"?n[m].regexps.unformat():n[m].regexps.unformat,x&&p.match(x)){g=n[m].unformat;break}g=g||t._.stringToNumber,h=g(p)}else h=Number(p)||null;return new u(p,h)},t.version=i,t.isNumeral=function(p){return p instanceof u},t._=r={numberToFormat:function(p,h,m){var g=s[t.options.currentLocale],x=!1,y=!1,w=0,b="",C=1e12,$=1e9,A=1e6,L=1e3,I="",j=!1,T,P,B,_,O,z,G;if(p=p||0,P=Math.abs(p),t._.includes(h,"(")?(x=!0,h=h.replace(/[\(|\)]/g,"")):(t._.includes(h,"+")||t._.includes(h,"-"))&&(O=t._.includes(h,"+")?h.indexOf("+"):p<0?h.indexOf("-"):-1,h=h.replace(/[\+|\-]/g,"")),t._.includes(h,"a")&&(T=h.match(/a(k|m|b|t)?/),T=T?T[1]:!1,t._.includes(h," a")&&(b=" "),h=h.replace(new RegExp(b+"a[kmbt]?"),""),P>=C&&!T||T==="t"?(b+=g.abbreviations.trillion,p=p/C):P<C&&P>=$&&!T||T==="b"?(b+=g.abbreviations.billion,p=p/$):P<$&&P>=A&&!T||T==="m"?(b+=g.abbreviations.million,p=p/A):(P<A&&P>=L&&!T||T==="k")&&(b+=g.abbreviations.thousand,p=p/L)),t._.includes(h,"[.]")&&(y=!0,h=h.replace("[.]",".")),B=p.toString().split(".")[0],_=h.split(".")[1],z=h.indexOf(","),w=(h.split(".")[0].split(",")[0].match(/0/g)||[]).length,_?(t._.includes(_,"[")?(_=_.replace("]",""),_=_.split("["),I=t._.toFixed(p,_[0].length+_[1].length,m,_[1].length)):I=t._.toFixed(p,_.length,m),B=I.split(".")[0],t._.includes(I,".")?I=g.delimiters.decimal+I.split(".")[1]:I="",y&&Number(I.slice(1))===0&&(I="")):B=t._.toFixed(p,0,m),b&&!T&&Number(B)>=1e3&&b!==g.abbreviations.trillion)switch(B=String(Number(B)/1e3),b){case g.abbreviations.thousand:b=g.abbreviations.million;break;case g.abbreviations.million:b=g.abbreviations.billion;break;case g.abbreviations.billion:b=g.abbreviations.trillion;break}if(t._.includes(B,"-")&&(B=B.slice(1),j=!0),B.length<w)for(var Z=w-B.length;Z>0;Z--)B="0"+B;return z>-1&&(B=B.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+g.delimiters.thousands)),h.indexOf(".")===0&&(B=""),G=B+I+(b||""),x?G=(x&&j?"(":"")+G+(x&&j?")":""):O>=0?G=O===0?(j?"-":"+")+G:G+(j?"-":"+"):j&&(G="-"+G),G},stringToNumber:function(p){var h=s[c.currentLocale],m=p,g={thousand:3,million:6,billion:9,trillion:12},x,y,w;if(c.zeroFormat&&p===c.zeroFormat)y=0;else if(c.nullFormat&&p===c.nullFormat||!p.replace(/[^0-9]+/g,"").length)y=null;else{y=1,h.delimiters.decimal!=="."&&(p=p.replace(/\./g,"").replace(h.delimiters.decimal,"."));for(x in g)if(w=new RegExp("[^a-zA-Z]"+h.abbreviations[x]+"(?:\\)|(\\"+h.currency.symbol+")?(?:\\))?)?$"),m.match(w)){y*=Math.pow(10,g[x]);break}y*=(p.split("-").length+Math.min(p.split("(").length-1,p.split(")").length-1))%2?1:-1,p=p.replace(/[^0-9\.]+/g,""),y*=Number(p)}return y},isNaN:function(p){return typeof p=="number"&&isNaN(p)},includes:function(p,h){return p.indexOf(h)!==-1},insert:function(p,h,m){return p.slice(0,m)+h+p.slice(m)},reduce:function(p,h){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof h!="function")throw new TypeError(h+" is not a function");var m=Object(p),g=m.length>>>0,x=0,y;if(arguments.length===3)y=arguments[2];else{for(;x<g&&!(x in m);)x++;if(x>=g)throw new TypeError("Reduce of empty array with no initial value");y=m[x++]}for(;x<g;x++)x in m&&(y=h(y,m[x],x,m));return y},multiplier:function(p){var h=p.toString().split(".");return h.length<2?1:Math.pow(10,h[1].length)},correctionFactor:function(){var p=Array.prototype.slice.call(arguments);return p.reduce(function(h,m){var g=r.multiplier(m);return h>g?h:g},1)},toFixed:function(p,h,m,g){var x=p.toString().split("."),y=h-(g||0),w,b,C,$;return x.length===2?w=Math.min(Math.max(x[1].length,y),h):w=y,C=Math.pow(10,w),$=(m(p+"e+"+w)/C).toFixed(w),g>h-w&&(b=new RegExp("\\.?0{1,"+(g-(h-w))+"}$"),$=$.replace(b,"")),$}},t.options=c,t.formats=n,t.locales=s,t.locale=function(p){return p&&(c.currentLocale=p.toLowerCase()),c.currentLocale},t.localeData=function(p){if(!p)return s[c.currentLocale];if(p=p.toLowerCase(),!s[p])throw new Error("Unknown locale : "+p);return s[p]},t.reset=function(){for(var p in d)c[p]=d[p]},t.zeroFormat=function(p){c.zeroFormat=typeof p=="string"?p:null},t.nullFormat=function(p){c.nullFormat=typeof p=="string"?p:null},t.defaultFormat=function(p){c.defaultFormat=typeof p=="string"?p:"0.0"},t.register=function(p,h,m){if(h=h.toLowerCase(),this[p+"s"][h])throw new TypeError(h+" "+p+" already registered.");return this[p+"s"][h]=m,m},t.validate=function(p,h){var m,g,x,y,w,b,C,$;if(typeof p!="string"&&(p+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",p)),p=p.trim(),p.match(/^\d+$/))return!0;if(p==="")return!1;try{C=t.localeData(h)}catch{C=t.localeData(t.locale())}return x=C.currency.symbol,w=C.abbreviations,m=C.delimiters.decimal,C.delimiters.thousands==="."?g="\\.":g=C.delimiters.thousands,$=p.match(/^[^\d]+/),$!==null&&(p=p.substr(1),$[0]!==x)||($=p.match(/[^\d]+$/),$!==null&&(p=p.slice(0,-1),$[0]!==w.thousand&&$[0]!==w.million&&$[0]!==w.billion&&$[0]!==w.trillion))?!1:(b=new RegExp(g+"{2}"),p.match(/[^\d.,]/g)?!1:(y=p.split(m),y.length>2?!1:y.length<2?!!y[0].match(/^\d+.*\d$/)&&!y[0].match(b):y[0].length===1?!!y[0].match(/^\d+$/)&&!y[0].match(b)&&!!y[1].match(/^\d+$/):!!y[0].match(/^\d+.*\d$/)&&!y[0].match(b)&&!!y[1].match(/^\d+$/)))},t.fn=u.prototype={clone:function(){return t(this)},format:function(p,h){var m=this._value,g=p||c.defaultFormat,x,y,w;if(h=h||Math.round,m===0&&c.zeroFormat!==null)y=c.zeroFormat;else if(m===null&&c.nullFormat!==null)y=c.nullFormat;else{for(x in n)if(g.match(n[x].regexps.format)){w=n[x].format;break}w=w||t._.numberToFormat,y=w(m,g,h)}return y},value:function(){return this._value},input:function(){return this._input},set:function(p){return this._value=Number(p),this},add:function(p){var h=r.correctionFactor.call(null,this._value,p);function m(g,x,y,w){return g+Math.round(h*x)}return this._value=r.reduce([this._value,p],m,0)/h,this},subtract:function(p){var h=r.correctionFactor.call(null,this._value,p);function m(g,x,y,w){return g-Math.round(h*x)}return this._value=r.reduce([p],m,Math.round(this._value*h))/h,this},multiply:function(p){function h(m,g,x,y){var w=r.correctionFactor(m,g);return Math.round(m*w)*Math.round(g*w)/Math.round(w*w)}return this._value=r.reduce([this._value,p],h,1),this},divide:function(p){function h(m,g,x,y){var w=r.correctionFactor(m,g);return Math.round(m*w)/Math.round(g*w)}return this._value=r.reduce([this._value,p],h),this},difference:function(p){return Math.abs(t(this._value).subtract(p).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(p){var h=p%10;return~~(p%100/10)===1?"th":h===1?"st":h===2?"nd":h===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(p,h,m){var g=t._.includes(h," BPS")?" ":"",x;return p=p*1e4,h=h.replace(/\s?BPS/,""),x=t._.numberToFormat(p,h,m),t._.includes(x,")")?(x=x.split(""),x.splice(-1,0,g+"BPS"),x=x.join("")):x=x+g+"BPS",x},unformat:function(p){return+(t._.stringToNumber(p)*1e-4).toFixed(15)}})}(),function(){var p={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},h={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},m=p.suffixes.concat(h.suffixes.filter(function(x){return p.suffixes.indexOf(x)<0})),g=m.join("|");g="("+g.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(g)},format:function(x,y,w){var b,C=t._.includes(y,"ib")?h:p,$=t._.includes(y," b")||t._.includes(y," ib")?" ":"",A,L,I;for(y=y.replace(/\s?i?b/,""),A=0;A<=C.suffixes.length;A++)if(L=Math.pow(C.base,A),I=Math.pow(C.base,A+1),x===null||x===0||x>=L&&x<I){$+=C.suffixes[A],L>0&&(x=x/L);break}return b=t._.numberToFormat(x,y,w),b+$},unformat:function(x){var y=t._.stringToNumber(x),w,b;if(y){for(w=p.suffixes.length-1;w>=0;w--){if(t._.includes(x,p.suffixes[w])){b=Math.pow(p.base,w);break}if(t._.includes(x,h.suffixes[w])){b=Math.pow(h.base,w);break}}y*=b||1}return y}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(p,h,m){var g=t.locales[t.options.currentLocale],x={before:h.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:h.match(/([\+|\-|\)|\s|\$]*)$/)[0]},y,w,b;for(h=h.replace(/\s?\$\s?/,""),y=t._.numberToFormat(p,h,m),p>=0?(x.before=x.before.replace(/[\-\(]/,""),x.after=x.after.replace(/[\-\)]/,"")):p<0&&!t._.includes(x.before,"-")&&!t._.includes(x.before,"(")&&(x.before="-"+x.before),b=0;b<x.before.length;b++)switch(w=x.before[b],w){case"$":y=t._.insert(y,g.currency.symbol,b);break;case" ":y=t._.insert(y," ",b+g.currency.symbol.length-1);break}for(b=x.after.length-1;b>=0;b--)switch(w=x.after[b],w){case"$":y=b===x.after.length-1?y+g.currency.symbol:t._.insert(y,g.currency.symbol,-(x.after.length-(1+b)));break;case" ":y=b===x.after.length-1?y+" ":t._.insert(y," ",-(x.after.length-(1+b)+g.currency.symbol.length-1));break}return y}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(p,h,m){var g,x=typeof p=="number"&&!t._.isNaN(p)?p.toExponential():"0e+0",y=x.split("e");return h=h.replace(/e[\+|\-]{1}0/,""),g=t._.numberToFormat(Number(y[0]),h,m),g+"e"+y[1]},unformat:function(p){var h=t._.includes(p,"e+")?p.split("e+"):p.split("e-"),m=Number(h[0]),g=Number(h[1]);g=t._.includes(p,"e-")?g*=-1:g;function x(y,w,b,C){var $=t._.correctionFactor(y,w),A=y*$*(w*$)/($*$);return A}return t._.reduce([m,Math.pow(10,g)],x,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(p,h,m){var g=t.locales[t.options.currentLocale],x,y=t._.includes(h," o")?" ":"";return h=h.replace(/\s?o/,""),y+=g.ordinal(p),x=t._.numberToFormat(p,h,m),x+y}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(p,h,m){var g=t._.includes(h," %")?" ":"",x;return t.options.scalePercentBy100&&(p=p*100),h=h.replace(/\s?\%/,""),x=t._.numberToFormat(p,h,m),t._.includes(x,")")?(x=x.split(""),x.splice(-1,0,g+"%"),x=x.join("")):x=x+g+"%",x},unformat:function(p){var h=t._.stringToNumber(p);return t.options.scalePercentBy100?h*.01:h}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(p,h,m){var g=Math.floor(p/60/60),x=Math.floor((p-g*60*60)/60),y=Math.round(p-g*60*60-x*60);return g+":"+(x<10?"0"+x:x)+":"+(y<10?"0"+y:y)},unformat:function(p){var h=p.split(":"),m=0;return h.length===3?(m=m+Number(h[0])*60*60,m=m+Number(h[1])*60,m=m+Number(h[2])):h.length===2&&(m=m+Number(h[0])*60,m=m+Number(h[1])),Number(m)}})}(),t})}(hR)),hR.exports}var FBe=RBe();const th=oo(FBe);function lh(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(i=>r.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${r} for the full message.`}const rh="$$material";function OBe(e){for(var t=0,r,i=0,n=e.length;n>=4;++i,n-=4)r=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var NBe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function HBe(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var VBe=/[A-Z]|^ms/g,UBe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,P3e=function(e){return e.charCodeAt(1)===45},tY=function(e){return e!=null&&typeof e!="boolean"},HL=HBe(function(e){return P3e(e)?e:e.replace(VBe,"-$&").toLowerCase()}),rY=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(UBe,function(r,i,n){return E0={name:i,styles:n,next:E0},i})}return NBe[e]!==1&&!P3e(e)&&typeof t=="number"&&t!==0?t+"px":t};function Gv(e,t,r){if(r==null)return"";var i=r;if(i.__emotion_styles!==void 0)return i;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return E0={name:n.name,styles:n.styles,next:E0},n.name;var s=r;if(s.styles!==void 0){var d=s.next;if(d!==void 0)for(;d!==void 0;)E0={name:d.name,styles:d.styles,next:E0},d=d.next;var c=s.styles+";";return c}return WBe(e,t,r)}}var u=r;return u}function WBe(e,t,r){var i="";if(Array.isArray(r))for(var n=0;n<r.length;n++)i+=Gv(e,t,r[n])+";";else for(var s in r){var d=r[s];if(typeof d!="object"){var c=d;tY(c)&&(i+=HL(s)+":"+rY(s,c)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&t==null)for(var u=0;u<d.length;u++)tY(d[u])&&(i+=HL(s)+":"+rY(s,d[u])+";");else{var p=Gv(e,t,d);switch(s){case"animation":case"animationName":{i+=HL(s)+":"+p+";";break}default:i+=s+"{"+p+"}"}}}return i}var oY=/label:\s*([^\s;{]+)\s*(;|$)/g,E0;function QBe(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,n="";E0=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,n+=Gv(r,t,s);else{var d=s;n+=d[0]}for(var c=1;c<e.length;c++)if(n+=Gv(r,t,e[c]),i){var u=s;n+=u[c]}oY.lastIndex=0;for(var p="",h;(h=oY.exec(n))!==null;)p+="-"+h[1];var m=OBe(n)+p;return{name:m,styles:n,next:E0}}var VL={exports:{}},UL,iY;function GBe(){if(iY)return UL;iY=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return UL=e,UL}var WL,nY;function YBe(){if(nY)return WL;nY=1;var e=GBe();function t(){}function r(){}return r.resetWarningCache=t,WL=function(){function i(d,c,u,p,h,m){if(m!==e){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}i.isRequired=i;function n(){return i}var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:n,element:i,elementType:i,instanceOf:n,node:i,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:t};return s.PropTypes=s,s},WL}var aY;function tH(){return aY||(aY=1,VL.exports=YBe()()),VL.exports}var KBe=tH();const jt=oo(KBe);function qBe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ZBe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var T3e=function(){function e(r){var i=this;this._insertTag=function(n){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(n,s),i.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ZBe(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var n=qBe(i);try{n.insertRule(r,n.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ts="-ms-",Yv="-moz-",Fo="-webkit-",B3e="comm",rH="rule",oH="decl",JBe="@import",D3e="@keyframes",XBe="@layer",eDe=Math.abs,mk=String.fromCharCode,tDe=Object.assign;function rDe(e,t){return Fa(e,0)^45?(((t<<2^Fa(e,0))<<2^Fa(e,1))<<2^Fa(e,2))<<2^Fa(e,3):0}function _3e(e){return e.trim()}function oDe(e,t){return(e=t.exec(e))?e[0]:e}function Oo(e,t,r){return e.replace(t,r)}function mR(e,t){return e.indexOf(t)}function Fa(e,t){return e.charCodeAt(t)|0}function $9(e,t,r){return e.slice(t,r)}function hu(e){return e.length}function iH(e){return e.length}function Ly(e,t){return t.push(e),e}function iDe(e,t){return e.map(t).join("")}var gk=1,E5=1,z3e=0,yl=0,Bn=0,i7="";function fk(e,t,r,i,n,s,d){return{value:e,root:t,parent:r,type:i,props:n,children:s,line:gk,column:E5,length:d,return:""}}function q7(e,t){return tDe(fk("",null,null,"",null,null,0),e,{length:-e.length},t)}function nDe(){return Bn}function aDe(){return Bn=yl>0?Fa(i7,--yl):0,E5--,Bn===10&&(E5=1,gk--),Bn}function ql(){return Bn=yl<z3e?Fa(i7,yl++):0,E5++,Bn===10&&(E5=1,gk++),Bn}function Nu(){return Fa(i7,yl)}function cv(){return yl}function fx(e,t){return $9(i7,e,t)}function k9(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R3e(e){return gk=E5=1,z3e=hu(i7=e),yl=0,[]}function F3e(e){return i7="",e}function uv(e){return _3e(fx(yl-1,gR(e===91?e+2:e===40?e+1:e)))}function sDe(e){for(;(Bn=Nu())&&Bn<33;)ql();return k9(e)>2||k9(Bn)>3?"":" "}function lDe(e,t){for(;--t&&ql()&&!(Bn<48||Bn>102||Bn>57&&Bn<65||Bn>70&&Bn<97););return fx(e,cv()+(t<6&&Nu()==32&&ql()==32))}function gR(e){for(;ql();)switch(Bn){case e:return yl;case 34:case 39:e!==34&&e!==39&&gR(Bn);break;case 40:e===41&&gR(e);break;case 92:ql();break}return yl}function dDe(e,t){for(;ql()&&e+Bn!==57&&!(e+Bn===84&&Nu()===47););return"/*"+fx(t,yl-1)+"*"+mk(e===47?e:ql())}function cDe(e){for(;!k9(Nu());)ql();return fx(e,yl)}function uDe(e){return F3e(pv("",null,null,null,[""],e=R3e(e),0,[0],e))}function pv(e,t,r,i,n,s,d,c,u){for(var p=0,h=0,m=d,g=0,x=0,y=0,w=1,b=1,C=1,$=0,A="",L=n,I=s,j=i,T=A;b;)switch(y=$,$=ql()){case 40:if(y!=108&&Fa(T,m-1)==58){mR(T+=Oo(uv($),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:T+=uv($);break;case 9:case 10:case 13:case 32:T+=sDe(y);break;case 92:T+=lDe(cv()-1,7);continue;case 47:switch(Nu()){case 42:case 47:Ly(pDe(dDe(ql(),cv()),t,r),u);break;default:T+="/"}break;case 123*w:c[p++]=hu(T)*C;case 125*w:case 59:case 0:switch($){case 0:case 125:b=0;case 59+h:C==-1&&(T=Oo(T,/\f/g,"")),x>0&&hu(T)-m&&Ly(x>32?lY(T+";",i,r,m-1):lY(Oo(T," ","")+";",i,r,m-2),u);break;case 59:T+=";";default:if(Ly(j=sY(T,t,r,p,h,n,c,A,L=[],I=[],m),s),$===123)if(h===0)pv(T,t,j,j,L,s,m,c,I);else switch(g===99&&Fa(T,3)===110?100:g){case 100:case 108:case 109:case 115:pv(e,j,j,i&&Ly(sY(e,j,j,0,0,n,c,A,n,L=[],m),I),n,I,m,c,i?L:I);break;default:pv(T,j,j,j,[""],I,0,c,I)}}p=h=x=0,w=C=1,A=T="",m=d;break;case 58:m=1+hu(T),x=y;default:if(w<1){if($==123)--w;else if($==125&&w++==0&&aDe()==125)continue}switch(T+=mk($),$*w){case 38:C=h>0?1:(T+="\f",-1);break;case 44:c[p++]=(hu(T)-1)*C,C=1;break;case 64:Nu()===45&&(T+=uv(ql())),g=Nu(),h=m=hu(A=T+=cDe(cv())),$++;break;case 45:y===45&&hu(T)==2&&(w=0)}}return s}function sY(e,t,r,i,n,s,d,c,u,p,h){for(var m=n-1,g=n===0?s:[""],x=iH(g),y=0,w=0,b=0;y<i;++y)for(var C=0,$=$9(e,m+1,m=eDe(w=d[y])),A=e;C<x;++C)(A=_3e(w>0?g[C]+" "+$:Oo($,/&\f/g,g[C])))&&(u[b++]=A);return fk(e,t,r,n===0?rH:c,u,p,h)}function pDe(e,t,r){return fk(e,t,r,B3e,mk(nDe()),$9(e,2,-2),0)}function lY(e,t,r,i){return fk(e,t,r,oH,$9(e,0,i),$9(e,i+1,-1),i)}function e5(e,t){for(var r="",i=iH(e),n=0;n<i;n++)r+=t(e[n],n,e,t)||"";return r}function hDe(e,t,r,i){switch(e.type){case XBe:if(e.children.length)break;case JBe:case oH:return e.return=e.return||e.value;case B3e:return"";case D3e:return e.return=e.value+"{"+e5(e.children,i)+"}";case rH:e.value=e.props.join(",")}return hu(r=e5(e.children,i))?e.return=e.value+"{"+r+"}":""}function mDe(e){var t=iH(e);return function(r,i,n,s){for(var d="",c=0;c<t;c++)d+=e[c](r,i,n,s)||"";return d}}function gDe(e){return function(t){t.root||(t=t.return)&&e(t)}}var fDe=function(e,t,r){for(var i=0,n=0;i=n,n=Nu(),i===38&&n===12&&(t[r]=1),!k9(n);)ql();return fx(e,yl)},xDe=function(e,t){var r=-1,i=44;do switch(k9(i)){case 0:i===38&&Nu()===12&&(t[r]=1),e[r]+=fDe(yl-1,t,r);break;case 2:e[r]+=uv(i);break;case 4:if(i===44){e[++r]=Nu()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=mk(i)}while(i=ql());return e},yDe=function(e,t){return F3e(xDe(R3e(e),t))},dY=new WeakMap,wDe=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!dY.get(r))&&!i){dY.set(e,!0);for(var n=[],s=yDe(t,n),d=r.props,c=0,u=0;c<s.length;c++)for(var p=0;p<d.length;p++,u++)e.props[u]=n[c]?s[c].replace(/&\f/g,d[p]):d[p]+" "+s[c]}}},bDe=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function O3e(e,t){switch(rDe(e,t)){case 5103:return Fo+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fo+e+Yv+e+ts+e+e;case 6828:case 4268:return Fo+e+ts+e+e;case 6165:return Fo+e+ts+"flex-"+e+e;case 5187:return Fo+e+Oo(e,/(\w+).+(:[^]+)/,Fo+"box-$1$2"+ts+"flex-$1$2")+e;case 5443:return Fo+e+ts+"flex-item-"+Oo(e,/flex-|-self/,"")+e;case 4675:return Fo+e+ts+"flex-line-pack"+Oo(e,/align-content|flex-|-self/,"")+e;case 5548:return Fo+e+ts+Oo(e,"shrink","negative")+e;case 5292:return Fo+e+ts+Oo(e,"basis","preferred-size")+e;case 6060:return Fo+"box-"+Oo(e,"-grow","")+Fo+e+ts+Oo(e,"grow","positive")+e;case 4554:return Fo+Oo(e,/([^-])(transform)/g,"$1"+Fo+"$2")+e;case 6187:return Oo(Oo(Oo(e,/(zoom-|grab)/,Fo+"$1"),/(image-set)/,Fo+"$1"),e,"")+e;case 5495:case 3959:return Oo(e,/(image-set\([^]*)/,Fo+"$1$`$1");case 4968:return Oo(Oo(e,/(.+:)(flex-)?(.*)/,Fo+"box-pack:$3"+ts+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fo+e+e;case 4095:case 3583:case 4068:case 2532:return Oo(e,/(.+)-inline(.+)/,Fo+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(hu(e)-1-t>6)switch(Fa(e,t+1)){case 109:if(Fa(e,t+4)!==45)break;case 102:return Oo(e,/(.+:)(.+)-([^]+)/,"$1"+Fo+"$2-$3$1"+Yv+(Fa(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~mR(e,"stretch")?O3e(Oo(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Fa(e,t+1)!==115)break;case 6444:switch(Fa(e,hu(e)-3-(~mR(e,"!important")&&10))){case 107:return Oo(e,":",":"+Fo)+e;case 101:return Oo(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fo+(Fa(e,14)===45?"inline-":"")+"box$3$1"+Fo+"$2$3$1"+ts+"$2box$3")+e}break;case 5936:switch(Fa(e,t+11)){case 114:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fo+e+ts+Oo(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fo+e+ts+e+e}return e}var vDe=function(e,t,r,i){if(e.length>-1&&!e.return)switch(e.type){case oH:e.return=O3e(e.value,e.length);break;case D3e:return e5([q7(e,{value:Oo(e.value,"@","@"+Fo)})],i);case rH:if(e.length)return iDe(e.props,function(n){switch(oDe(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return e5([q7(e,{props:[Oo(n,/:(read-\w+)/,":"+Yv+"$1")]})],i);case"::placeholder":return e5([q7(e,{props:[Oo(n,/:(plac\w+)/,":"+Fo+"input-$1")]}),q7(e,{props:[Oo(n,/:(plac\w+)/,":"+Yv+"$1")]}),q7(e,{props:[Oo(n,/:(plac\w+)/,ts+"input-$1")]})],i)}return""})}},CDe=[vDe],N3e=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=e.stylisPlugins||CDe,n={},s,d=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),b=1;b<w.length;b++)n[w[b]]=!0;d.push(y)});var c,u=[wDe,bDe];{var p,h=[hDe,gDe(function(y){p.insert(y)})],m=mDe(u.concat(i,h)),g=function(y){return e5(uDe(y),m)};c=function(y,w,b,C){p=b,g(y?y+"{"+w.styles+"}":w.styles),C&&(x.inserted[w.name]=!0)}}var x={key:t,sheet:new T3e({key:t,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:n,registered:{},insert:c};return x.sheet.hydrate(d),x};const QL=new Map,$De=(e,t)=>{const r=N3e(e);return r.sheet=new t({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};let p0;if(typeof document=="object"&&(p0=document.querySelector('[name="emotion-insertion-point"]'),!p0)){p0=document.createElement("meta"),p0.setAttribute("name","emotion-insertion-point"),p0.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(p0)}function kDe(e,t){if(e||t){class r extends T3e{insert(s,d){return this.key&&this.key.endsWith("global")&&(this.before=p0),super.insert(s,d)}}const i=$De({key:"css",insertionPoint:e?p0:void 0},r);if(t){const n=i.insert;i.insert=(...s)=>(s[1].styles.match(/^@layer\s+[^{]*$/)||(s[1].styles=`@layer mui {${s[1].styles}}`),n(...s))}return i}}function SDe(e){const{injectFirst:t,enableCssLayer:r,children:i}=e,n=f.useMemo(()=>{const s=`${t}-${r}`;if(typeof document=="object"&&QL.has(s))return QL.get(s);const d=kDe(t,r);return QL.set(s,d),d},[t,r]);return n?l.jsx(L3e,{value:n,children:i}):i}function ADe(e){return e==null||Object.keys(e).length===0}function H3e(e){const{styles:t,defaultTheme:r={}}=e,i=typeof t=="function"?n=>t(ADe(n)?r:n):t;return l.jsx(mx,{styles:i})}function EDe(e,t){return a(e,t)}function LDe(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const cY=[];function R0(e){return cY[0]=e,QBe(cY)}var uY={exports:{}},ni={},pY;function jDe(){if(pY)return ni;pY=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),d=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function y(w){if(typeof w=="object"&&w!==null){var b=w.$$typeof;switch(b){case e:switch(w=w.type,w){case r:case n:case i:case u:case p:case g:return w;default:switch(w=w&&w.$$typeof,w){case d:case c:case m:case h:return w;case s:return w;default:return b}}case t:return b}}}return ni.ContextConsumer=s,ni.ContextProvider=d,ni.Element=e,ni.ForwardRef=c,ni.Fragment=r,ni.Lazy=m,ni.Memo=h,ni.Portal=t,ni.Profiler=n,ni.StrictMode=i,ni.Suspense=u,ni.SuspenseList=p,ni.isContextConsumer=function(w){return y(w)===s},ni.isContextProvider=function(w){return y(w)===d},ni.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},ni.isForwardRef=function(w){return y(w)===c},ni.isFragment=function(w){return y(w)===r},ni.isLazy=function(w){return y(w)===m},ni.isMemo=function(w){return y(w)===h},ni.isPortal=function(w){return y(w)===t},ni.isProfiler=function(w){return y(w)===n},ni.isStrictMode=function(w){return y(w)===i},ni.isSuspense=function(w){return y(w)===u},ni.isSuspenseList=function(w){return y(w)===p},ni.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===n||w===i||w===u||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===h||w.$$typeof===d||w.$$typeof===s||w.$$typeof===c||w.$$typeof===x||w.getModuleId!==void 0)},ni.typeOf=y,ni}var hY;function IDe(){return hY||(hY=1,uY.exports=jDe()),uY.exports}var V3e=IDe();function Wp(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function U3e(e){if(f.isValidElement(e)||V3e.isValidElementType(e)||!Wp(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=U3e(e[r])}),t}function us(e,t,r={clone:!0}){const i=r.clone?{...e}:e;return Wp(e)&&Wp(t)&&Object.keys(t).forEach(n=>{f.isValidElement(t[n])||V3e.isValidElementType(t[n])?i[n]=t[n]:Wp(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&Wp(e[n])?i[n]=us(e[n],t[n],r):r.clone?i[n]=Wp(t[n])?U3e(t[n]):t[n]:i[n]=t[n]}),i}const MDe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,i)=>r.val-i.val),t.reduce((r,i)=>({...r,[i.key]:i.val}),{})};function PDe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5,...n}=e,s=MDe(t),d=Object.keys(s);function c(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-i/100}${r})`}function p(g,x){const y=d.indexOf(x);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[d[y]]=="number"?t[d[y]]:x)-i/100}${r})`}function h(g){return d.indexOf(g)+1<d.length?p(g,d[d.indexOf(g)+1]):c(g)}function m(g){const x=d.indexOf(g);return x===0?c(d[1]):x===d.length-1?u(d[x]):p(g,d[d.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:d,values:s,up:c,down:u,between:p,only:h,not:m,unit:r,...n}}function mY(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(i=>i.startsWith("@container")).sort((i,n)=>{const s=/min-width:\s*([0-9.]+)/;return+(i.match(s)?.[1]||0)-+(n.match(s)?.[1]||0)});return r.length?r.reduce((i,n)=>{const s=t[n];return delete i[n],i[n]=s,i},{...t}):t}function TDe(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function BDe(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,i,n]=r,s=Number.isNaN(+i)?i||0:+i;return e.containerQueries(n).up(s)}function DDe(e){const t=(s,d)=>s.replace("@media",d?`@container ${d}`:"@container");function r(s,d){s.up=(...c)=>t(e.breakpoints.up(...c),d),s.down=(...c)=>t(e.breakpoints.down(...c),d),s.between=(...c)=>t(e.breakpoints.between(...c),d),s.only=(...c)=>t(e.breakpoints.only(...c),d),s.not=(...c)=>{const u=t(e.breakpoints.not(...c),d);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const i={},n=s=>(r(i,s),i);return r(n),{...e,containerQueries:n}}const _De={borderRadius:4};function G8(e,t){return t?us(e,t,{clone:!1}):e}const xk={xs:0,sm:600,md:900,lg:1200,xl:1536},gY={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${xk[e]}px)`},zDe={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:xk[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function dh(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const n=i.breakpoints||gY;return t.reduce((s,d,c)=>(s[n.up(n.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const n=i.breakpoints||gY;return Object.keys(t).reduce((s,d)=>{if(TDe(n.keys,d)){const c=BDe(i.containerQueries?i:zDe,d);c&&(s[c]=r(t[d],d))}else if(Object.keys(n.values||xk).includes(d)){const c=n.up(d);s[c]=r(t[d],d)}else{const c=d;s[c]=t[c]}return s},{})}return r(t)}function RDe(e={}){return e.keys?.reduce((t,r)=>{const i=e.up(r);return t[i]={},t},{})||{}}function fY(e,t){return e.reduce((r,i)=>{const n=r[i];return(!n||Object.keys(n).length===0)&&delete r[i],r},t)}function Ur(e){if(typeof e!="string")throw new Error(lh(7));return e.charAt(0).toUpperCase()+e.slice(1)}function yk(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const i=`vars.${t}`.split(".").reduce((n,s)=>n&&n[s]?n[s]:null,e);if(i!=null)return i}return t.split(".").reduce((i,n)=>i&&i[n]!=null?i[n]:null,e)}function Kv(e,t,r,i=r){let n;return typeof e=="function"?n=e(r):Array.isArray(e)?n=e[r]||i:n=yk(e,r)||i,t&&(n=t(n,i,e)),n}function $n(e){const{prop:t,cssProperty:r=e.prop,themeKey:i,transform:n}=e,s=d=>{if(d[t]==null)return null;const c=d[t],u=d.theme,p=yk(u,i)||{};return dh(d,c,h=>{let m=Kv(p,n,h);return h===m&&typeof h=="string"&&(m=Kv(p,n,`${t}${h==="default"?"":Ur(h)}`,h)),r===!1?m:{[r]:m}})};return s.propTypes={},s.filterProps=[t],s}function FDe(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const ODe={m:"margin",p:"padding"},NDe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},xY={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},HDe=FDe(e=>{if(e.length>2)if(xY[e])e=xY[e];else return[e];const[t,r]=e.split(""),i=ODe[t],n=NDe[r]||"";return Array.isArray(n)?n.map(s=>i+s):[i+n]}),nH=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],aH=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...nH,...aH];function xx(e,t,r,i){const n=yk(e,t,!0)??r;return typeof n=="number"||typeof n=="string"?s=>typeof s=="string"?s:typeof n=="string"?n.startsWith("var(")&&s===0?0:n.startsWith("var(")&&s===1?n:`calc(${s} * ${n})`:n*s:Array.isArray(n)?s=>{if(typeof s=="string")return s;const d=Math.abs(s),c=n[d];return s>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${c})`:`-${c}`}:typeof n=="function"?n:()=>{}}function sH(e){return xx(e,"spacing",8)}function yx(e,t){return typeof t=="string"||t==null?t:e(t)}function VDe(e,t){return r=>e.reduce((i,n)=>(i[n]=yx(t,r),i),{})}function UDe(e,t,r,i){if(!t.includes(r))return null;const n=HDe(r),s=VDe(n,i),d=e[r];return dh(e,d,s)}function W3e(e,t){const r=sH(e.theme);return Object.keys(e).map(i=>UDe(e,t,i,r)).reduce(G8,{})}function rn(e){return W3e(e,nH)}rn.propTypes={};rn.filterProps=nH;function on(e){return W3e(e,aH)}on.propTypes={};on.filterProps=aH;function Q3e(e=8,t=sH({spacing:e})){if(e.mui)return e;const r=(...i)=>(i.length===0?[1]:i).map(n=>{const s=t(n);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function wk(...e){const t=e.reduce((i,n)=>(n.filterProps.forEach(s=>{i[s]=n}),i),{}),r=i=>Object.keys(i).reduce((n,s)=>t[s]?G8(n,t[s](i)):n,{});return r.propTypes={},r.filterProps=e.reduce((i,n)=>i.concat(n.filterProps),[]),r}function Ld(e){return typeof e!="number"?e:`${e}px solid`}function tc(e,t){return $n({prop:e,themeKey:"borders",transform:t})}const WDe=tc("border",Ld),QDe=tc("borderTop",Ld),GDe=tc("borderRight",Ld),YDe=tc("borderBottom",Ld),KDe=tc("borderLeft",Ld),qDe=tc("borderColor"),ZDe=tc("borderTopColor"),JDe=tc("borderRightColor"),XDe=tc("borderBottomColor"),e_e=tc("borderLeftColor"),t_e=tc("outline",Ld),r_e=tc("outlineColor"),bk=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=xx(e.theme,"shape.borderRadius",4),r=i=>({borderRadius:yx(t,i)});return dh(e,e.borderRadius,r)}return null};bk.propTypes={};bk.filterProps=["borderRadius"];wk(WDe,QDe,GDe,YDe,KDe,qDe,ZDe,JDe,XDe,e_e,bk,t_e,r_e);const vk=e=>{if(e.gap!==void 0&&e.gap!==null){const t=xx(e.theme,"spacing",8),r=i=>({gap:yx(t,i)});return dh(e,e.gap,r)}return null};vk.propTypes={};vk.filterProps=["gap"];const Ck=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=xx(e.theme,"spacing",8),r=i=>({columnGap:yx(t,i)});return dh(e,e.columnGap,r)}return null};Ck.propTypes={};Ck.filterProps=["columnGap"];const $k=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=xx(e.theme,"spacing",8),r=i=>({rowGap:yx(t,i)});return dh(e,e.rowGap,r)}return null};$k.propTypes={};$k.filterProps=["rowGap"];const o_e=$n({prop:"gridColumn"}),i_e=$n({prop:"gridRow"}),n_e=$n({prop:"gridAutoFlow"}),a_e=$n({prop:"gridAutoColumns"}),s_e=$n({prop:"gridAutoRows"}),l_e=$n({prop:"gridTemplateColumns"}),d_e=$n({prop:"gridTemplateRows"}),c_e=$n({prop:"gridTemplateAreas"}),u_e=$n({prop:"gridArea"});wk(vk,Ck,$k,o_e,i_e,n_e,a_e,s_e,l_e,d_e,c_e,u_e);function t5(e,t){return t==="grey"?t:e}const p_e=$n({prop:"color",themeKey:"palette",transform:t5}),h_e=$n({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:t5}),m_e=$n({prop:"backgroundColor",themeKey:"palette",transform:t5});wk(p_e,h_e,m_e);function Vl(e){return e<=1&&e!==0?`${e*100}%`:e}const g_e=$n({prop:"width",transform:Vl}),lH=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const i=e.theme?.breakpoints?.values?.[r]||xk[r];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Vl(r)}};return dh(e,e.maxWidth,t)}return null};lH.filterProps=["maxWidth"];const f_e=$n({prop:"minWidth",transform:Vl}),x_e=$n({prop:"height",transform:Vl}),y_e=$n({prop:"maxHeight",transform:Vl}),w_e=$n({prop:"minHeight",transform:Vl});$n({prop:"size",cssProperty:"width",transform:Vl});$n({prop:"size",cssProperty:"height",transform:Vl});const b_e=$n({prop:"boxSizing"});wk(g_e,lH,f_e,x_e,y_e,w_e,b_e);const kk={border:{themeKey:"borders",transform:Ld},borderTop:{themeKey:"borders",transform:Ld},borderRight:{themeKey:"borders",transform:Ld},borderBottom:{themeKey:"borders",transform:Ld},borderLeft:{themeKey:"borders",transform:Ld},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ld},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bk},color:{themeKey:"palette",transform:t5},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:t5},backgroundColor:{themeKey:"palette",transform:t5},p:{style:on},pt:{style:on},pr:{style:on},pb:{style:on},pl:{style:on},px:{style:on},py:{style:on},padding:{style:on},paddingTop:{style:on},paddingRight:{style:on},paddingBottom:{style:on},paddingLeft:{style:on},paddingX:{style:on},paddingY:{style:on},paddingInline:{style:on},paddingInlineStart:{style:on},paddingInlineEnd:{style:on},paddingBlock:{style:on},paddingBlockStart:{style:on},paddingBlockEnd:{style:on},m:{style:rn},mt:{style:rn},mr:{style:rn},mb:{style:rn},ml:{style:rn},mx:{style:rn},my:{style:rn},margin:{style:rn},marginTop:{style:rn},marginRight:{style:rn},marginBottom:{style:rn},marginLeft:{style:rn},marginX:{style:rn},marginY:{style:rn},marginInline:{style:rn},marginInlineStart:{style:rn},marginInlineEnd:{style:rn},marginBlock:{style:rn},marginBlockStart:{style:rn},marginBlockEnd:{style:rn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:vk},rowGap:{style:$k},columnGap:{style:Ck},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vl},maxWidth:{style:lH},minWidth:{transform:Vl},height:{transform:Vl},maxHeight:{transform:Vl},minHeight:{transform:Vl},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function v_e(...e){const t=e.reduce((i,n)=>i.concat(Object.keys(n)),[]),r=new Set(t);return e.every(i=>r.size===Object.keys(i).length)}function C_e(e,t){return typeof e=="function"?e(t):e}function $_e(){function e(r,i,n,s){const d={[r]:i,theme:n},c=s[r];if(!c)return{[r]:i};const{cssProperty:u=r,themeKey:p,transform:h,style:m}=c;if(i==null)return null;if(p==="typography"&&i==="inherit")return{[r]:i};const g=yk(n,p)||{};return m?m(d):dh(d,i,x=>{let y=Kv(g,h,x);return x===y&&typeof x=="string"&&(y=Kv(g,h,`${r}${x==="default"?"":Ur(x)}`,x)),u===!1?y:{[u]:y}})}function t(r){const{sx:i,theme:n={},nested:s}=r||{};if(!i)return null;const d=n.unstable_sxConfig??kk;function c(u){let p=u;if(typeof u=="function")p=u(n);else if(typeof u!="object")return u;if(!p)return null;const h=RDe(n.breakpoints),m=Object.keys(h);let g=h;return Object.keys(p).forEach(x=>{const y=C_e(p[x],n);if(y!=null)if(typeof y=="object")if(d[x])g=G8(g,e(x,y,n,d));else{const w=dh({theme:n},y,b=>({[x]:b}));v_e(w,y)?g[x]=t({sx:y,theme:n,nested:!0}):g=G8(g,w)}else g=G8(g,e(x,y,n,d))}),!s&&n.modularCssLayers?{"@layer sx":mY(n,fY(m,g))}:mY(n,fY(m,g))}return Array.isArray(i)?i.map(c):c(i)}return t}const Yg=$_e();Yg.filterProps=["sx"];function k_e(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let i=r.getColorSchemeSelector(e);return i==="&"?t:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:t})}return r.palette.mode===e?t:{}}function dH(e={},...t){const{breakpoints:r={},palette:i={},spacing:n,shape:s={},...d}=e,c=PDe(r),u=Q3e(n);let p=us({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:u,shape:{..._De,...s}},d);return p=DDe(p),p.applyStyles=k_e,p=t.reduce((h,m)=>us(h,m),p),p.unstable_sxConfig={...kk,...d?.unstable_sxConfig},p.unstable_sx=function(h){return Yg({sx:h,theme:this})},p}function S_e(e){return Object.keys(e).length===0}function cH(e=null){const t=f.useContext(E3e);return!t||S_e(t)?e:t}const A_e=dH();function G3e(e=A_e){return cH(e)}function yY(e){const t=R0(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Y3e({styles:e,themeId:t,defaultTheme:r={}}){const i=G3e(r),n=t&&i[t]||i;let s=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(s)?s=s.map(d=>yY(typeof d=="function"?d(n):d)):s=yY(s)),l.jsx(H3e,{styles:s})}const wY=e=>e,E_e=()=>{let e=wY;return{configure(t){e=t},generate(t){return e(t)},reset(){e=wY}}},L_e=E_e();function K3e(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=K3e(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function Sr(){for(var e,t,r=0,i="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=K3e(e))&&(i&&(i+=" "),i+=t);return i}const j_e={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Uo(e,t,r="Mui"){const i=j_e[t];return i?`${r}-${i}`:`${L_e.generate(e)}-${t}`}function Wo(e,t,r="Mui"){const i={};return t.forEach(n=>{i[n]=Uo(e,n,r)}),i}function q3e(e){const{variants:t,...r}=e,i={variants:t,style:R0(r),isProcessed:!0};return i.style===r||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=R0(n.style))}),i}const I_e=dH();function GL(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function vg(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function M_e(e){return e?(t,r)=>r[e]:null}function P_e(e,t,r){e.theme=D_e(e.theme)?r:e.theme[t]||e.theme}function hv(e,t,r){const i=typeof t=="function"?t(e):t;if(Array.isArray(i))return i.flatMap(n=>hv(e,n,r));if(Array.isArray(i?.variants)){let n;if(i.isProcessed)n=r?vg(i.style,r):i.style;else{const{variants:s,...d}=i;n=r?vg(R0(d),r):d}return Z3e(e,i.variants,[n],r)}return i?.isProcessed?r?vg(R0(i.style),r):i.style:r?vg(R0(i),r):i}function Z3e(e,t,r=[],i=void 0){let n;e:for(let s=0;s<t.length;s+=1){const d=t[s];if(typeof d.props=="function"){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!d.props(n))continue}else for(const c in d.props)if(e[c]!==d.props[c]&&e.ownerState?.[c]!==d.props[c])continue e;typeof d.style=="function"?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i?vg(R0(d.style(n)),i):d.style(n))):r.push(i?vg(R0(d.style),i):d.style)}return r}function T_e(e={}){const{themeId:t,defaultTheme:r=I_e,rootShouldForwardProp:i=GL,slotShouldForwardProp:n=GL}=e;function s(d){P_e(d,t,r)}return(d,c={})=>{LDe(d,I=>I.filter(j=>j!==Yg));const{name:u,slot:p,skipVariantsResolver:h,skipSx:m,overridesResolver:g=M_e(z_e(p)),...x}=c,y=u&&u.startsWith("Mui")||p?"components":"custom",w=h!==void 0?h:p&&p!=="Root"&&p!=="root"||!1,b=m||!1;let C=GL;p==="Root"||p==="root"?C=i:p?C=n:__e(d)&&(C=void 0);const $=EDe(d,{shouldForwardProp:C,label:B_e(),...x}),A=I=>{if(I.__emotion_real===I)return I;if(typeof I=="function")return function(j){return hv(j,I,j.theme.modularCssLayers?y:void 0)};if(Wp(I)){const j=q3e(I);return function(T){return j.variants?hv(T,j,T.theme.modularCssLayers?y:void 0):T.theme.modularCssLayers?vg(j.style,y):j.style}}return I},L=(...I)=>{const j=[],T=I.map(A),P=[];if(j.push(s),u&&g&&P.push(function(O){const z=O.theme.components?.[u]?.styleOverrides;if(!z)return null;const G={};for(const Z in z)G[Z]=hv(O,z[Z],O.theme.modularCssLayers?"theme":void 0);return g(O,G)}),u&&!w&&P.push(function(O){const z=O.theme?.components?.[u]?.variants;return z?Z3e(O,z,[],O.theme.modularCssLayers?"theme":void 0):null}),b||P.push(Yg),Array.isArray(T[0])){const O=T.shift(),z=new Array(j.length).fill(""),G=new Array(P.length).fill("");let Z;Z=[...z,...O,...G],Z.raw=[...z,...O.raw,...G],j.unshift(Z)}const B=[...j,...T,...P],_=$(...B);return d.muiName&&(_.muiName=d.muiName),_};return $.withConfig&&(L.withConfig=$.withConfig),L}}function B_e(e,t){return void 0}function D_e(e){for(const t in e)return!1;return!0}function __e(e){return typeof e=="string"&&e.charCodeAt(0)>96}function z_e(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function fR(e,t,r=!1){const i={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=n;if(s==="components"||s==="slots")i[s]={...e[s],...i[s]};else if(s==="componentsProps"||s==="slotProps"){const d=e[s],c=t[s];if(!c)i[s]=d||{};else if(!d)i[s]=c;else{i[s]={...c};for(const u in d)if(Object.prototype.hasOwnProperty.call(d,u)){const p=u;i[s][p]=fR(d[p],c[p],r)}}}else s==="className"&&r&&t.className?i.className=Sr(e?.className,t?.className):s==="style"&&r&&t.style?i.style={...e?.style,...t?.style}:i[s]===void 0&&(i[s]=e[s])}return i}const Yd=typeof window<"u"?f.useLayoutEffect:f.useEffect;function R_e(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function uH(e,t=0,r=1){return R_e(e,t,r)}function F_e(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(i=>i+i)),r?`rgb${r.length===4?"a":""}(${r.map((i,n)=>n<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function J0(e){if(e.type)return e;if(e.charAt(0)==="#")return J0(F_e(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(lh(9,e));let i=e.substring(t+1,e.length-1),n;if(r==="color"){if(i=i.split(" "),n=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(lh(10,n))}else i=i.split(",");return i=i.map(s=>parseFloat(s)),{type:r,values:i,colorSpace:n}}const O_e=e=>{const t=J0(e);return t.values.slice(0,3).map((r,i)=>t.type.includes("hsl")&&i!==0?`${r}%`:r).join(" ")},b8=(e,t)=>{try{return O_e(e)}catch{return e}};function Sk(e){const{type:t,colorSpace:r}=e;let{values:i}=e;return t.includes("rgb")?i=i.map((n,s)=>s<3?parseInt(n,10):n):t.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.includes("color")?i=`${r} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function J3e(e){e=J0(e);const{values:t}=e,r=t[0],i=t[1]/100,n=t[2]/100,s=i*Math.min(n,1-n),d=(p,h=(p+r/30)%12)=>n-s*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),Sk({type:c,values:u})}function xR(e){e=J0(e);let t=e.type==="hsl"||e.type==="hsla"?J0(J3e(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function N_e(e,t){const r=xR(e),i=xR(t);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function qv(e,t){return e=J0(e),t=uH(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Sk(e)}function vm(e,t,r){try{return qv(e,t)}catch{return e}}function Ak(e,t){if(e=J0(e),t=uH(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Sk(e)}function Zo(e,t,r){try{return Ak(e,t)}catch{return e}}function Ek(e,t){if(e=J0(e),t=uH(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Sk(e)}function Jo(e,t,r){try{return Ek(e,t)}catch{return e}}function H_e(e,t=.15){return xR(e)>.5?Ak(e,t):Ek(e,t)}function jy(e,t,r){try{return H_e(e,t)}catch{return e}}const X3e=f.createContext(null);function pH(){return f.useContext(X3e)}const V_e=typeof Symbol=="function"&&Symbol.for,U_e=V_e?Symbol.for("mui.nested"):"__THEME_NESTED__";function W_e(e,t){return typeof t=="function"?t(e):{...e,...t}}function Q_e(e){const{children:t,theme:r}=e,i=pH(),n=f.useMemo(()=>{const s=i===null?{...r}:W_e(i,r);return s!=null&&(s[U_e]=i!==null),s},[r,i]);return l.jsx(X3e.Provider,{value:n,children:t})}const efe=f.createContext();function G_e({value:e,...t}){return l.jsx(efe.Provider,{value:e??!0,...t})}const n7=()=>f.useContext(efe)??!1,tfe=f.createContext(void 0);function Y_e({value:e,children:t}){return l.jsx(tfe.Provider,{value:e,children:t})}function K_e(e){const{theme:t,name:r,props:i}=e;if(!t||!t.components||!t.components[r])return i;const n=t.components[r];return n.defaultProps?fR(n.defaultProps,i,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?fR(n,i,t.components.mergeClassNameAndStyle):i}function q_e({props:e,name:t}){const r=f.useContext(tfe);return K_e({props:e,name:t,theme:{components:r}})}let bY=0;function Z_e(e){const[t,r]=f.useState(e),i=e||t;return f.useEffect(()=>{t==null&&(bY+=1,r(`mui-${bY}`))},[t]),i}const J_e={...kPe},vY=J_e.useId;function Lk(e){if(vY!==void 0){const t=vY();return e??t}return Z_e(e)}function X_e(e){const t=cH(),r=Lk()||"",{modularCssLayers:i}=e;let n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||t!==null?n="":typeof i=="string"?n=i.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,Yd(()=>{const s=document.querySelector("head");if(!s)return;const d=s.firstChild;if(n){if(d&&d.hasAttribute?.("data-mui-layer-order")&&d.getAttribute("data-mui-layer-order")===r)return;const c=document.createElement("style");c.setAttribute("data-mui-layer-order",r),c.textContent=n,s.prepend(c)}else s.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[n,r]),n?l.jsx(Y3e,{styles:n}):null}const CY={};function $Y(e,t,r,i=!1){return f.useMemo(()=>{const n=e&&t[e]||t;if(typeof r=="function"){const s=r(n),d=e?{...t,[e]:s}:s;return i?()=>d:d}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,i])}function rfe(e){const{children:t,theme:r,themeId:i}=e,n=cH(CY),s=pH()||CY,d=$Y(i,n,r),c=$Y(i,s,r,!0),u=(i?d[i]:d).direction==="rtl",p=X_e(d);return l.jsx(Q_e,{theme:c,children:l.jsx(E3e.Provider,{value:d,children:l.jsx(G_e,{value:u,children:l.jsxs(Y_e,{value:i?d[i].components:d.components,children:[p,t]})})})})}const kY={theme:void 0};function eze(e){let t,r;return function(i){let n=t;return(n===void 0||i.theme!==r)&&(kY.theme=i.theme,n=q3e(e(kY)),t=n,r=i.theme),n}}const hH="mode",mH="color-scheme",tze="data-color-scheme";function rze(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:i="dark",modeStorageKey:n=hH,colorSchemeStorageKey:s=mH,attribute:d=tze,colorSchemeNode:c="document.documentElement",nonce:u}=e||{};let p="",h=d;if(d==="class"&&(h=".%s"),d==="data"&&(h="[data-%s]"),h.startsWith(".")){const g=h.substring(1);p+=`${c}.classList.remove('${g}'.replace('%s', light), '${g}'.replace('%s', dark));
|
|
3
3
|
${c}.classList.add('${g}'.replace('%s', colorScheme));`}const m=h.match(/\[([^[\]]+)\]/);if(m){const[g,x]=m[1].split("=");x||(p+=`${c}.removeAttribute('${g}'.replace('%s', light));
|
|
4
4
|
${c}.removeAttribute('${g}'.replace('%s', dark));`),p+=`
|
|
5
5
|
${c}.setAttribute('${g}'.replace('%s', colorScheme), ${x?`${x}.replace('%s', colorScheme)`:'""'});`}else p+=`${c}.setAttribute('${h}', colorScheme);`;return l.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
@@ -75297,7 +75297,7 @@ ${e}`,C0o=e=>f.createElement("svg",{width:38,height:39,viewBox:"0 0 38 39",fill:
|
|
|
75297
75297
|
align-items: end;
|
|
75298
75298
|
color: ${S.brandColorGoldDark};
|
|
75299
75299
|
margin-left: ${o.sp2};
|
|
75300
|
-
`;var cvo=IBe();const v9=ON(cvo);class uvo{getSignedInUser(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER);if(r!=null&&t!=null)return JSON.parse(this.decrypt(r,t))}getShowNegativeAmountInParenthesis(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!1}getShowNegativeAmountInParenthesisPDF(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!0}getSignedInUserTenant(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),i=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&i!=null)return JSON.parse(this.decrypt(r,i)).find(s=>s.tenantEmailDomain===t)}getSignedInUserTenantWithId(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),i=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&i!=null)return JSON.parse(this.decrypt(r,i)).find(s=>s.tenantId===t)}getForceRefreshedComponents(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_FORCE_REFRESHED_COMPONENTS);if(r&&t!=null){const i=this.decrypt(r,t);return i?JSON.parse(i):[]}return[]}saveForceRefreshedComponents(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null?window.localStorage.setItem(this.ZENI_FORCE_REFRESHED_COMPONENTS,this.encrypt(JSON.stringify(t),r)):console.warn("Can't update the force refreshed components when the user is logged out!")}saveSignedInUserWithSession(t,r){if(t==null||r==null)throw new Error("Can't accept nil for user or session Id");window.localStorage.setItem(this.ZENI_SESSION_ID,r),window.localStorage.setItem(this.ZENI_SIGNED_IN_USER,this.encrypt(JSON.stringify(t),r))}saveSignedInUserTenants(t,r){const i=r??window.localStorage.getItem(this.ZENI_SESSION_ID);i!=null?window.localStorage.setItem(this.ZENI_SIGNED_IN_USER_TENANTS,this.encrypt(JSON.stringify(t),i)):console.warn("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesis(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesisPDF(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}isSignedIn(){return[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER].map(r=>window.localStorage.getItem(r)!=null).reduce((r,i)=>r&&i)}clearAll(){this.ALL_IDs.forEach(t=>window.localStorage.removeItem(t))}setTheme(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null&&window.localStorage.setItem(this.ZENI_THEME,this.encrypt(t,r))}getTheme(){const t=window.localStorage.getItem(this.ZENI_THEME),r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(t!=null&&r!==null)return this.decrypt(t,r)}encrypt(t,r){return v9.AES.encrypt(t,r).toString()}decrypt(t,r){return v9.AES.decrypt(t,r).toString(v9.enc.Utf8)}ZENI_SESSION_ID="ZENI_SESSION_ID";ZENI_SIGNED_IN_USER="ZENI_SIGNED_IN_USER";ZENI_SIGNED_IN_USER_TENANTS="ZENI_SIGNED_IN_USER_TENANTS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF";ZENI_THEME="ZENI_THEME";ZENI_FORCE_REFRESHED_COMPONENTS="ZENI_FORCE_REFRESHED_COMPONENTS";ALL_IDs=[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.ZENI_SIGNED_IN_USER_TENANTS,this.ZENI_THEME,this.ZENI_FORCE_REFRESHED_COMPONENTS]}const Qa=new uvo,pvo=({children:e})=>{const t=kBe("(prefers-color-scheme: dark)"),[r,i]=k.useState({dark:t});f.useEffect(()=>{const d=Qa.getTheme()==null?t:Qa.getTheme()==="dark";r.dark!==d&&i({dark:d})},[r,t]);const n=()=>{const d=!r.dark;Qa.setTheme(d?"dark":"light"),i({...r,dark:d})},s=r.dark?gur():mur();return cr.jsx(alr,{dark:r.dark,webAppTheme:s,toggle:n,children:e})},hvo=["sandbox","production"],mvo=e=>g3(e,hvo),gvo=e=>{switch(e){case"DEV":case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"sandbox";case"PROD":case"NEXT":return"production";default:return"sandbox"}},fvo=["development","staging","production"],xvo=e=>g3(e,fvo),yvo=e=>{switch(e){case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"staging";case"PROD":case"NEXT":return"production";case"DEV":default:return"development"}},wvo=["DEV","QA","PUNE","SUNNYVALE","DELHI","MOHALI","PROD","NEXT"],bvo=e=>g3(e,wvo),_d=bvo("DEV"),hx=()=>_d==="DEV"||_d==="QA"||_d==="PUNE"||_d==="SUNNYVALE"||_d==="DELHI"||_d==="MOHALI",sG="https://zeni-webapp-dev.uc.r.appspot.com",vvo="63d3a2406505a5737a2b4debdb513f20",jDo=mvo(gvo(_d)),Cvo=xvo(yvo(_d));function $vo(e,t){return v9.AES.decrypt(e,t).toString(v9.enc.Utf8)}const kvo="ZENI-WEB-APP-",OMe=_d==="DEV"||_d==="QA"?.2:.8,In={sentryDsn:"",sentryTraceSamplingRate:OMe,googleClientId:"",googleMapsAPIKey:"",microsoftClientId:"",mixpanelToken:"",pusherClientSecret:"",pusherCluster:"",quickbooksKey:"",appUrl:"",featureClientSecret:"",featureClientSecretCockpit:"",cardVaultId:"",stripeKey:"",qboRedirectionUrl:"",mixpanelUrl:"",mixpanelHMUrl:""};let m3,lG;function Svo(e){In.sentryDsn=e.keys.SENTRY_DSN,In.sentryTraceSamplingRate=e.keys.SENTRY_TRACE_SAMPLE_RATES!=null?parseInt(e.keys.SENTRY_TRACE_SAMPLE_RATES):OMe,In.googleClientId=e.keys.GOOGLE_CLIENT_ID,In.googleMapsAPIKey=e.keys.GOOGLE_MAP_KEY,In.microsoftClientId=e.keys.MICROSOFT_CLIENT_ID,In.mixpanelToken=e.keys.MIXPANEL_TOKEN,In.pusherClientSecret=e.keys.PUSHER_CLIENT_SECRET,In.pusherCluster=e.keys.PUSHER_CLUSTER,In.quickbooksKey=e.keys.QUICKBOOK_TOKEN,In.appUrl=e.keys.WEB_ENDPOINT,In.featureClientSecret=e.keys.STATSIG_CLIENT_SECRET,In.featureClientSecretCockpit=e.keys.STATSIG_CLIENT_SECRET_COCKPIT,In.cardVaultId=e.keys.UNIT_VAULT_ID,In.stripeKey=e.keys.STRIPE_KEY,In.qboRedirectionUrl=e.keys.QBO_URL,In.mixpanelUrl=e.keys.MIXPANEL_URL,In.mixpanelHMUrl=e.keys.MIXPANEL_HM_URL,lG=e.externalEndPoints,m3=e.apiEndPoints,Avo()}function Avo(){try{const e=new Set;if(m3!=null){for(const t of Object.values(m3))if(typeof t=="string"&&t.startsWith("http"))try{e.add(new URL(t).origin)}catch{}}for(const t of e){const r=document.createElement("link");r.rel="preconnect",r.href=t,r.crossOrigin="anonymous",document.head.appendChild(r)}}catch{}}async function Evo(){const t=encodeURIComponent(JSON.stringify({environment:_d}));try{const r=await fetch(`${sG}/api/keys?query=${t}`);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){return console.error("Error fetching details:",r),null}}let Yge=!1;function Q8(){Yge||(pu.init(vvo,{api_host:lG.mixpanelBaseUrl,ignore_dnt:!0,store_google:!1,track_marketing:!1}),Yge=!0)}let Kge=!1,qge=!1;function NMe(){if(Kge)return;Kge=!0,Q8();const e=ll.extractUtmParamsFromUrl();Object.keys(e).length>0&&pu.register(e),hx()&&console.log(`[UTM] first-touch bootstrap: ${JSON.stringify(e)}`)}function Lvo(){return pu?.persistence?.props??null}const jvo=new Set(["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"]);function Ivo(){const e=Lvo();if(e==null)return;const t=Object.keys(e).filter(r=>r.startsWith("utm_")||jvo.has(r));for(const r of t)pu.unregister(r);hx()&&t.length>0&&console.log(`[UTM] cleared from cookie: ${JSON.stringify(t)}`)}function Mvo(){qge||(qge=!0,Ivo())}class yg{identify(t,r){if(Q8(),this.#r=t,t!=null&&r!=null&&(yg.#t==null||cBe({userId:t,traits:r},yg.#t)!==!0)){const{$email:i,...n}={...r};pu.identify(t),i&&i!=null&&pu.people.set_once({$email:i}),pu.people.set(n),yg.#t={userId:t,traits:r},hx()&&console.log(`*** Called people set with userId ${t} traits ${JSON.stringify(r)} `)}}identifyUserAndCompany(t,r,i,n,s){throw Error("Use identify in the web-app!!")}track(t,r){if(Q8(),this.#r==null){console.error("user is not identified :(, so can not fire event");return}NMe();const i={distinct_id:this.#r,...r};pu.track(t,i),Mvo(),hx()&&console.log(`*** firing ${t} with props ${JSON.stringify(r)}`)}alias(t,r){Q8(),pu.alias(t,r)}reset(){Q8(),pu.reset(),this.#r=void 0,yg.#t=void 0}static get analytics(){return this.#e}static#e=new ll.Analytics(new yg);static#t;#r}const EL=yg.analytics;function Pvo(){NMe()}const Tvo=()=>{const e=dk(),t=Bu(r=>r.companyState);if(e.pathname.includes("/management/parent/")){const r=e.pathname.split("/")[3],i=t.companiesById[r];if(i!=null)return`${i.companyInfo.name} ${Q.getLocalizedStrings().cockpit.cockpitHeaderSubsidiaryText}`}if(e.pathname.includes("management/month-end-report/company/")){const r=e.pathname.split("/")[4],i=t.companiesById[r];if(i!=null)return i.companyInfo.name}},Zge=e=>{switch(e){case"healthMonitor":return"health-monitor";case"taskManager":return"task-manager";default:return e}},IDo=e=>{switch(e){case"healthMonitor":return"health monitor";case"taskManager":return"task manager";default:return e}};function Bvo(e,t){return{updateDownloadStateHandler:r=>{e(uBe(r))},onZeniLogoClick:()=>{t.themeState.toggle()},onLogOutClick:()=>{e(S3e()),e(A3e(!1)),Qa.clearAll();const r=t.locationHook.state?.origin??"/";t.navigate(r,{replace:!0})},onNewCustomerClick:()=>{t.navigate("/onboarding/new"),EL?.trackOnboardingNewCustomerStarted()},onThreadClick:(r,i,n)=>{const s=r.entityType.split(".");if(s.length===2){const d=wme(s[0]);if(d!=null){const c=Zge(d);t.navigate(`/${c}`),n(r,i)}else console.warn(`Invalid navigation target in thread: ${s[0]}`)}},onNotificationClick:(r,i,n)=>{const s=r.entityType.split(".");if(r.isGlobalComment&&s.length===2){const d=wme(s[0]);if(d!=null){const c=Zge(d);t.navigate(`/${c}`),n(r,i)}else console.warn(`Invalid navigation target in notification: ${s[0]}`)}}}}function Dvo(e,t){const{signedInUser:r,cockpitHeader:i}=t,n=e.tenantState.currentTenantId,d=uk(e)?.companyName??"",c={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:n??""};return{signedInUser:r,cockpitHeader:i,downloadState:e.companyViewState.downloadState,downloadParams:{currentTenantCompanyName:d,cockpitEndPoint:`${sG}/cockpitTabs`,authParams:c}}}const _vo=rTe(Dvo,Bvo)(fpo);function zvo(){const e=v$e(),t=Qa.getSignedInUser(),r=NN(),i=dk(),n=Tvo(),s=Bu(u=>pBe(u)),d={tabsFileType:"excel",tabs:["management","subscription","portfolio","onboarding","healthMonitor"],filterByTabs:s.filterByTabs,timezone:hBe()},c=i.pathname.split("/")[1];return cr.jsx(_vo,{locationHook:i,themeState:e,signedInUser:t,cockpitHeader:n,allTabsViews:s,defaultOptions:d,analytics:EL,currentTab:c,navigate:r})}const Rvo=["/management/*","/subscription/*","/onboarding/*","/portfolio/*","/audit/*","/health-monitor/*","/task-manager/*"];function Fvo({appContent:e}){const t=Rvo.filter(r=>oTe(r)).length===0;return cr.jsxs(cr.Fragment,{children:[t?null:cr.jsx(zvo,{}),cr.jsx(cr.Fragment,{children:e})]})}const Ovo="cockpit",HMe="init-enter";function Nvo({location:e,visitedUrl:t}){const{pathname:r}=e;return f.useLayoutEffect(()=>{const i=t.get(r||HMe);Jge(i!==void 0?i:0)}),null}const Hvo=f.memo(Nvo,(e,t)=>{const{location:r,visitedUrl:i}=e,{location:n}=t,s=r.pathname||HMe,d=Vvo();return i.set(s,d),!((n.pathname!==r.pathname||n.search!==r.search)&&n.hash==="")}),Jge=(e=0)=>window.requestAnimationFrame(()=>{window.scrollTo(0,e)}),Vvo=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},VMe=e=>f.lazy(async()=>{const t=e.toString(),r=Qa.getForceRefreshedComponents(),i=new Set(r),n=i.has(t);try{const s=await e();return i.delete(t),Qa.saveForceRefreshedComponents(Array.from(i)),s}catch(s){throw n||(i.add(t),Qa.saveForceRefreshedComponents(Array.from(i)),location.reload()),s}}),Uvo=VMe(()=>bg(()=>import("./ScreenRoutes-5hC3wQD-.js"),__vite__mapDeps([14,5,1,6,15,8,16,17,7,2,4,9,11,18,19,20]))),Wvo=VMe(()=>bg(()=>import("./SignInScreen-Bw3kDJOY.js"),__vite__mapDeps([21,15,1,6,8,5,16,17,18,19,20,7])));function Qvo(){const e=f.useRef();e.current==null&&(e.current=new Map);const t=NN(),r=dk();return f.useEffect(()=>{Pvo()},[]),f.useEffect(()=>{const i="signin/auth";Qa.isSignedIn()===!1&&!r.pathname.includes(i)&&t(i,{replace:!0,state:{...r.state,message:"...",origin:r.pathname}})}),cr.jsxs(Kvo,{children:[cr.jsx(Hvo,{visitedUrl:e.current,location:r}),cr.jsx(Gvo,{})]})}const Gvo=()=>{const e=Qa.isSignedIn(),t=Qa.getSignedInUser(),r=e&&VN(t),i=Bu(u=>uk(u)),n={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:i.tenantId??""},s=Bu(u=>mBe(u)),c=Bu(u=>gBe(u)).map(u=>({companyId:u.companyId,tenantId:u.tenantId,companyName:u.name}));return cr.jsx(Iio,{roomId:Ovo,authParams:n,users:s,companies:c,authUrlEndPoint:`${m3.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!1,commentingUsersUrlEndPoint:`${m3.tenantMicroServiceBaseUrl}/1.0/users/zeni-users`,autoConnect:r,withRoomProvider:!1,loggedInUser:t,withThreadsProvider:!0,filter:{application:"cockpit"},children:cr.jsx(Yvo,{})})},Yvo=()=>cr.jsx(f.Suspense,{fallback:cr.jsx(qvo,{children:cr.jsx(kr,{size:"Large",start:!0})}),children:cr.jsxs(iTe,{children:[cr.jsx(OL,{path:"/",element:cr.jsx(nTe,{to:"management",replace:!0})}),cr.jsx(OL,{path:"/signin/auth",element:cr.jsx(Wvo,{})}),cr.jsx(OL,{path:"*",element:cr.jsx(Fvo,{appContent:cr.jsx(Uvo,{})})})]})}),Kvo=Xt("div")``,qvo=Xt("div")`
|
|
75300
|
+
`;var cvo=IBe();const v9=ON(cvo);class uvo{getSignedInUser(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER);if(r!=null&&t!=null)return JSON.parse(this.decrypt(r,t))}getShowNegativeAmountInParenthesis(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!1}getShowNegativeAmountInParenthesisPDF(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!0}getSignedInUserTenant(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),i=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&i!=null)return JSON.parse(this.decrypt(r,i)).find(s=>s.tenantEmailDomain===t)}getSignedInUserTenantWithId(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),i=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&i!=null)return JSON.parse(this.decrypt(r,i)).find(s=>s.tenantId===t)}getForceRefreshedComponents(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_FORCE_REFRESHED_COMPONENTS);if(r&&t!=null){const i=this.decrypt(r,t);return i?JSON.parse(i):[]}return[]}saveForceRefreshedComponents(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null?window.localStorage.setItem(this.ZENI_FORCE_REFRESHED_COMPONENTS,this.encrypt(JSON.stringify(t),r)):console.warn("Can't update the force refreshed components when the user is logged out!")}saveSignedInUserWithSession(t,r){if(t==null||r==null)throw new Error("Can't accept nil for user or session Id");window.localStorage.setItem(this.ZENI_SESSION_ID,r),window.localStorage.setItem(this.ZENI_SIGNED_IN_USER,this.encrypt(JSON.stringify(t),r))}saveSignedInUserTenants(t,r){const i=r??window.localStorage.getItem(this.ZENI_SESSION_ID);i!=null?window.localStorage.setItem(this.ZENI_SIGNED_IN_USER_TENANTS,this.encrypt(JSON.stringify(t),i)):console.warn("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesis(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesisPDF(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}isSignedIn(){return[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER].map(r=>window.localStorage.getItem(r)!=null).reduce((r,i)=>r&&i)}clearAll(){this.ALL_IDs.forEach(t=>window.localStorage.removeItem(t))}setTheme(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null&&window.localStorage.setItem(this.ZENI_THEME,this.encrypt(t,r))}getTheme(){const t=window.localStorage.getItem(this.ZENI_THEME),r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(t!=null&&r!==null)return this.decrypt(t,r)}encrypt(t,r){return v9.AES.encrypt(t,r).toString()}decrypt(t,r){return v9.AES.decrypt(t,r).toString(v9.enc.Utf8)}ZENI_SESSION_ID="ZENI_SESSION_ID";ZENI_SIGNED_IN_USER="ZENI_SIGNED_IN_USER";ZENI_SIGNED_IN_USER_TENANTS="ZENI_SIGNED_IN_USER_TENANTS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF";ZENI_THEME="ZENI_THEME";ZENI_FORCE_REFRESHED_COMPONENTS="ZENI_FORCE_REFRESHED_COMPONENTS";ALL_IDs=[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.ZENI_SIGNED_IN_USER_TENANTS,this.ZENI_THEME,this.ZENI_FORCE_REFRESHED_COMPONENTS]}const Qa=new uvo,pvo=({children:e})=>{const t=kBe("(prefers-color-scheme: dark)"),[r,i]=k.useState({dark:t});f.useEffect(()=>{const d=Qa.getTheme()==null?t:Qa.getTheme()==="dark";r.dark!==d&&i({dark:d})},[r,t]);const n=()=>{const d=!r.dark;Qa.setTheme(d?"dark":"light"),i({...r,dark:d})},s=r.dark?gur():mur();return cr.jsx(alr,{dark:r.dark,webAppTheme:s,toggle:n,children:e})},hvo=["sandbox","production"],mvo=e=>g3(e,hvo),gvo=e=>{switch(e){case"DEV":case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"sandbox";case"PROD":case"NEXT":return"production";default:return"sandbox"}},fvo=["development","staging","production"],xvo=e=>g3(e,fvo),yvo=e=>{switch(e){case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"staging";case"PROD":case"NEXT":return"production";case"DEV":default:return"development"}},wvo=["DEV","QA","PUNE","SUNNYVALE","DELHI","MOHALI","PROD","NEXT"],bvo=e=>g3(e,wvo),_d=bvo("QA"),hx=()=>_d==="DEV"||_d==="QA"||_d==="PUNE"||_d==="SUNNYVALE"||_d==="DELHI"||_d==="MOHALI",sG="https://zeni-webapp-qa.uc.r.appspot.com",vvo="ed1936cb971f6aad4104ddbe708f812c",jDo=mvo(gvo(_d)),Cvo=xvo(yvo(_d));function $vo(e,t){return v9.AES.decrypt(e,t).toString(v9.enc.Utf8)}const kvo="ZENI-WEB-APP-",OMe=_d==="DEV"||_d==="QA"?.2:.8,In={sentryDsn:"",sentryTraceSamplingRate:OMe,googleClientId:"",googleMapsAPIKey:"",microsoftClientId:"",mixpanelToken:"",pusherClientSecret:"",pusherCluster:"",quickbooksKey:"",appUrl:"",featureClientSecret:"",featureClientSecretCockpit:"",cardVaultId:"",stripeKey:"",qboRedirectionUrl:"",mixpanelUrl:"",mixpanelHMUrl:""};let m3,lG;function Svo(e){In.sentryDsn=e.keys.SENTRY_DSN,In.sentryTraceSamplingRate=e.keys.SENTRY_TRACE_SAMPLE_RATES!=null?parseInt(e.keys.SENTRY_TRACE_SAMPLE_RATES):OMe,In.googleClientId=e.keys.GOOGLE_CLIENT_ID,In.googleMapsAPIKey=e.keys.GOOGLE_MAP_KEY,In.microsoftClientId=e.keys.MICROSOFT_CLIENT_ID,In.mixpanelToken=e.keys.MIXPANEL_TOKEN,In.pusherClientSecret=e.keys.PUSHER_CLIENT_SECRET,In.pusherCluster=e.keys.PUSHER_CLUSTER,In.quickbooksKey=e.keys.QUICKBOOK_TOKEN,In.appUrl=e.keys.WEB_ENDPOINT,In.featureClientSecret=e.keys.STATSIG_CLIENT_SECRET,In.featureClientSecretCockpit=e.keys.STATSIG_CLIENT_SECRET_COCKPIT,In.cardVaultId=e.keys.UNIT_VAULT_ID,In.stripeKey=e.keys.STRIPE_KEY,In.qboRedirectionUrl=e.keys.QBO_URL,In.mixpanelUrl=e.keys.MIXPANEL_URL,In.mixpanelHMUrl=e.keys.MIXPANEL_HM_URL,lG=e.externalEndPoints,m3=e.apiEndPoints,Avo()}function Avo(){try{const e=new Set;if(m3!=null){for(const t of Object.values(m3))if(typeof t=="string"&&t.startsWith("http"))try{e.add(new URL(t).origin)}catch{}}for(const t of e){const r=document.createElement("link");r.rel="preconnect",r.href=t,r.crossOrigin="anonymous",document.head.appendChild(r)}}catch{}}async function Evo(){const t=encodeURIComponent(JSON.stringify({environment:_d}));try{const r=await fetch(`${sG}/api/keys?query=${t}`);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){return console.error("Error fetching details:",r),null}}let Yge=!1;function Q8(){Yge||(pu.init(vvo,{api_host:lG.mixpanelBaseUrl,ignore_dnt:!0,store_google:!1,track_marketing:!1}),Yge=!0)}let Kge=!1,qge=!1;function NMe(){if(Kge)return;Kge=!0,Q8();const e=ll.extractUtmParamsFromUrl();Object.keys(e).length>0&&pu.register(e),hx()&&console.log(`[UTM] first-touch bootstrap: ${JSON.stringify(e)}`)}function Lvo(){return pu?.persistence?.props??null}const jvo=new Set(["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"]);function Ivo(){const e=Lvo();if(e==null)return;const t=Object.keys(e).filter(r=>r.startsWith("utm_")||jvo.has(r));for(const r of t)pu.unregister(r);hx()&&t.length>0&&console.log(`[UTM] cleared from cookie: ${JSON.stringify(t)}`)}function Mvo(){qge||(qge=!0,Ivo())}class yg{identify(t,r){if(Q8(),this.#r=t,t!=null&&r!=null&&(yg.#t==null||cBe({userId:t,traits:r},yg.#t)!==!0)){const{$email:i,...n}={...r};pu.identify(t),i&&i!=null&&pu.people.set_once({$email:i}),pu.people.set(n),yg.#t={userId:t,traits:r},hx()&&console.log(`*** Called people set with userId ${t} traits ${JSON.stringify(r)} `)}}identifyUserAndCompany(t,r,i,n,s){throw Error("Use identify in the web-app!!")}track(t,r){if(Q8(),this.#r==null){console.error("user is not identified :(, so can not fire event");return}NMe();const i={distinct_id:this.#r,...r};pu.track(t,i),Mvo(),hx()&&console.log(`*** firing ${t} with props ${JSON.stringify(r)}`)}alias(t,r){Q8(),pu.alias(t,r)}reset(){Q8(),pu.reset(),this.#r=void 0,yg.#t=void 0}static get analytics(){return this.#e}static#e=new ll.Analytics(new yg);static#t;#r}const EL=yg.analytics;function Pvo(){NMe()}const Tvo=()=>{const e=dk(),t=Bu(r=>r.companyState);if(e.pathname.includes("/management/parent/")){const r=e.pathname.split("/")[3],i=t.companiesById[r];if(i!=null)return`${i.companyInfo.name} ${Q.getLocalizedStrings().cockpit.cockpitHeaderSubsidiaryText}`}if(e.pathname.includes("management/month-end-report/company/")){const r=e.pathname.split("/")[4],i=t.companiesById[r];if(i!=null)return i.companyInfo.name}},Zge=e=>{switch(e){case"healthMonitor":return"health-monitor";case"taskManager":return"task-manager";default:return e}},IDo=e=>{switch(e){case"healthMonitor":return"health monitor";case"taskManager":return"task manager";default:return e}};function Bvo(e,t){return{updateDownloadStateHandler:r=>{e(uBe(r))},onZeniLogoClick:()=>{t.themeState.toggle()},onLogOutClick:()=>{e(S3e()),e(A3e(!1)),Qa.clearAll();const r=t.locationHook.state?.origin??"/";t.navigate(r,{replace:!0})},onNewCustomerClick:()=>{t.navigate("/onboarding/new"),EL?.trackOnboardingNewCustomerStarted()},onThreadClick:(r,i,n)=>{const s=r.entityType.split(".");if(s.length===2){const d=wme(s[0]);if(d!=null){const c=Zge(d);t.navigate(`/${c}`),n(r,i)}else console.warn(`Invalid navigation target in thread: ${s[0]}`)}},onNotificationClick:(r,i,n)=>{const s=r.entityType.split(".");if(r.isGlobalComment&&s.length===2){const d=wme(s[0]);if(d!=null){const c=Zge(d);t.navigate(`/${c}`),n(r,i)}else console.warn(`Invalid navigation target in notification: ${s[0]}`)}}}}function Dvo(e,t){const{signedInUser:r,cockpitHeader:i}=t,n=e.tenantState.currentTenantId,d=uk(e)?.companyName??"",c={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:n??""};return{signedInUser:r,cockpitHeader:i,downloadState:e.companyViewState.downloadState,downloadParams:{currentTenantCompanyName:d,cockpitEndPoint:`${sG}/cockpitTabs`,authParams:c}}}const _vo=rTe(Dvo,Bvo)(fpo);function zvo(){const e=v$e(),t=Qa.getSignedInUser(),r=NN(),i=dk(),n=Tvo(),s=Bu(u=>pBe(u)),d={tabsFileType:"excel",tabs:["management","subscription","portfolio","onboarding","healthMonitor"],filterByTabs:s.filterByTabs,timezone:hBe()},c=i.pathname.split("/")[1];return cr.jsx(_vo,{locationHook:i,themeState:e,signedInUser:t,cockpitHeader:n,allTabsViews:s,defaultOptions:d,analytics:EL,currentTab:c,navigate:r})}const Rvo=["/management/*","/subscription/*","/onboarding/*","/portfolio/*","/audit/*","/health-monitor/*","/task-manager/*"];function Fvo({appContent:e}){const t=Rvo.filter(r=>oTe(r)).length===0;return cr.jsxs(cr.Fragment,{children:[t?null:cr.jsx(zvo,{}),cr.jsx(cr.Fragment,{children:e})]})}const Ovo="cockpit",HMe="init-enter";function Nvo({location:e,visitedUrl:t}){const{pathname:r}=e;return f.useLayoutEffect(()=>{const i=t.get(r||HMe);Jge(i!==void 0?i:0)}),null}const Hvo=f.memo(Nvo,(e,t)=>{const{location:r,visitedUrl:i}=e,{location:n}=t,s=r.pathname||HMe,d=Vvo();return i.set(s,d),!((n.pathname!==r.pathname||n.search!==r.search)&&n.hash==="")}),Jge=(e=0)=>window.requestAnimationFrame(()=>{window.scrollTo(0,e)}),Vvo=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},VMe=e=>f.lazy(async()=>{const t=e.toString(),r=Qa.getForceRefreshedComponents(),i=new Set(r),n=i.has(t);try{const s=await e();return i.delete(t),Qa.saveForceRefreshedComponents(Array.from(i)),s}catch(s){throw n||(i.add(t),Qa.saveForceRefreshedComponents(Array.from(i)),location.reload()),s}}),Uvo=VMe(()=>bg(()=>import("./ScreenRoutes-Cf1NGlgl.js"),__vite__mapDeps([14,5,1,6,15,8,16,17,7,2,4,9,11,18,19,20]))),Wvo=VMe(()=>bg(()=>import("./SignInScreen-si7quMFC.js"),__vite__mapDeps([21,15,1,6,8,5,16,17,18,19,20,7])));function Qvo(){const e=f.useRef();e.current==null&&(e.current=new Map);const t=NN(),r=dk();return f.useEffect(()=>{Pvo()},[]),f.useEffect(()=>{const i="signin/auth";Qa.isSignedIn()===!1&&!r.pathname.includes(i)&&t(i,{replace:!0,state:{...r.state,message:"...",origin:r.pathname}})}),cr.jsxs(Kvo,{children:[cr.jsx(Hvo,{visitedUrl:e.current,location:r}),cr.jsx(Gvo,{})]})}const Gvo=()=>{const e=Qa.isSignedIn(),t=Qa.getSignedInUser(),r=e&&VN(t),i=Bu(u=>uk(u)),n={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:i.tenantId??""},s=Bu(u=>mBe(u)),c=Bu(u=>gBe(u)).map(u=>({companyId:u.companyId,tenantId:u.tenantId,companyName:u.name}));return cr.jsx(Iio,{roomId:Ovo,authParams:n,users:s,companies:c,authUrlEndPoint:`${m3.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!1,commentingUsersUrlEndPoint:`${m3.tenantMicroServiceBaseUrl}/1.0/users/zeni-users`,autoConnect:r,withRoomProvider:!1,loggedInUser:t,withThreadsProvider:!0,filter:{application:"cockpit"},children:cr.jsx(Yvo,{})})},Yvo=()=>cr.jsx(f.Suspense,{fallback:cr.jsx(qvo,{children:cr.jsx(kr,{size:"Large",start:!0})}),children:cr.jsxs(iTe,{children:[cr.jsx(OL,{path:"/",element:cr.jsx(nTe,{to:"management",replace:!0})}),cr.jsx(OL,{path:"/signin/auth",element:cr.jsx(Wvo,{})}),cr.jsx(OL,{path:"*",element:cr.jsx(Fvo,{appContent:cr.jsx(Uvo,{})})})]})}),Kvo=Xt("div")``,qvo=Xt("div")`
|
|
75301
75301
|
display: flex;
|
|
75302
75302
|
flex: 1 1 auto;
|
|
75303
75303
|
flex-direction: row;
|
|
@@ -75308,4 +75308,4 @@ ${e}`,C0o=e=>f.createElement("svg",{width:38,height:39,viewBox:"0 0 38 39",fill:
|
|
|
75308
75308
|
background-color: ${e=>e.theme.colors.background};
|
|
75309
75309
|
`;function Zvo(){Q.updateAppLocaleID("en"),tCo();const e=rCo(),[t,r]=f.useState(!1),i=f.useCallback(s=>{s.data?.type==="UPDATE_READY"?r(!0):s.data?.type==="HIDE_UPDATE_POPUP"&&r(!1)},[]);f.useEffect(()=>("serviceWorker"in navigator&&(navigator.serviceWorker.addEventListener("message",i),navigator.serviceWorker.addEventListener("controllerchange",()=>{r(!1)})),()=>{navigator.serviceWorker.removeEventListener("message",i)}),[i]);const n=()=>{r(!1),window.location.reload()};return cr.jsx(pvo,{children:cr.jsx(aTe,{store:e,children:cr.jsx(Rwt,{children:cr.jsxs(bUt,{children:[t?cr.jsx(WKt,{onPrimaryClick:n}):null,cr.jsx(Xvo,{})]})})})})}const Jvo=()=>{const e=Qa.getSignedInUser(),t=Bu($=>uk($)),r=Bu($=>wBe($,t.companyId)),i=dk(),n=NN(),s=sTe(),d=t?.excludedResources?.fetchState=="Completed"?t.excludedResources.resources:[];f.useEffect(()=>()=>{s(KG())},[]);const c=Bu($=>bBe($)),u=t?.externalConnections?.accounting[0]?.connectionName,p=()=>{s(KG())},h=f.useMemo(()=>vBe(t.userRole),[t.userRole]),m=Bu($=>$.companyViewState.zeniUsers),g=f.useMemo(()=>{const $=m.fetchState==="Error"&&CBe(m.error);return $&&console.warn("Auto-logout triggered due to invalid session"),$},[m.fetchState,m.error]),x=f.useMemo(()=>{const $=m.fetchState==="Error"&&$Be(m.error)===!0;return $&&console.warn("Page is not accessible, show 404"),$},[m.fetchState,m.error]),y=f.useRef(!1);f.useEffect(()=>(g&&!y.current&&(y.current=!0,w()),()=>{y.current=!1}),[g]),f.useEffect(()=>{x&&window.open("/page-not-found","_self")},[x]);const w=f.useCallback(()=>{s(S3e()),s(A3e(!1)),Qa.clearAll();const $=i.state?.origin??"/";n($,{replace:!0})},[]),b=f.useMemo(()=>Qa.getSignedInUser(),[]),C=f.useMemo(()=>({userId:b?.userId??"",sessionId:b?.zeniSessionId??"",tenantId:t.tenantId??""}),[b,t.tenantId]);return cr.jsx(TUt,{globalInfo:{loggedInUser:e,loggedInUserRole:t?.userRole,excludedResources:d,loggedInUserRoleMap:h,currentTenant:t,connectionName:u,controllersList:r},children:cr.jsx(kUt,{toolkit:{analytics:EL,sentry:LPe,authParams:C},children:cr.jsxs(zVt,{endPoint:{url:sG},children:[cr.jsx(mNr,{isOnDashboard:!1,showSnackbar:c.isSnackbarOpen,snackbar:{message:c.message,messageType:c.messageType,onRemoveSnackbar:p,showStatusIcon:c.showStatusIcon}}),cr.jsx(Qvo,{})]})})})},Xvo=()=>{const e=Qa.isSignedIn(),r=Bu(i=>uk(i)).companyId;return cr.jsx(sGt,{isUserSignedIn:e,featureGateCustomFields:{companyId:r},zeniFeatureConfig:{currentFeatureEnv:Cvo,featureClientSecret:In.featureClientSecretCockpit,providerEndPoint:lG.statsigBaseUrl},children:cr.jsx(Jvo,{})})},eCo=APe(Zvo);function tCo(){console.log("Initialize any 3rd party libs!")}let lR=null;function rCo(){return lR===null&&(lR=oCo(),fBe().catch(e=>{console.error("Failed to load feature epics:",e),EPe(e,{tags:{critical:"true",module:"epicManager"}}),alert(`The application failed to load required modules. Some features may not work correctly.
|
|
75310
75310
|
|
|
75311
|
-
Please refresh the page to try again.`)})),lR}function oCo(){console.warn(`initializing epic state with url ${JSON.stringify(m3)}`);const e=Qa.getSignedInUser(),t=xBe(m3,e?.userId,e?.zeniSessionId,void 0,hx()),r=yBe();return r.userId!=null&&EL.identify(r.userId,{tenant_id:r.tenantId}),t}const iCo=!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)),nCo="
|
|
75311
|
+
Please refresh the page to try again.`)})),lR}function oCo(){console.warn(`initializing epic state with url ${JSON.stringify(m3)}`);const e=Qa.getSignedInUser(),t=xBe(m3,e?.userId,e?.zeniSessionId,void 0,hx()),r=yBe();return r.userId!=null&&EL.identify(r.userId,{tenant_id:r.tenantId}),t}const iCo=!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)),nCo="QA",aCo="https://zeni-webapp-qa.uc.r.appspot.com",Xge=`/service-worker.js?v=${Date.now()}&env=${nCo}&endpoint=${encodeURIComponent(aCo)}`;function sCo(e){if("serviceWorker"in navigator){if(new URL("https://qa.app.zeni.ai",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{iCo?lCo(Xge):UMe(Xge)})}}function UMe(e,t){navigator.serviceWorker.register(e).then(r=>{r.onupdatefound=()=>{const i=r.installing;i!=null&&(i.onstatechange=()=>{i.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content available; will be used when all tabs are closed."),navigator.serviceWorker.controller?.postMessage({type:"UPDATE_READY"}),r.waiting?.postMessage({type:"SKIP_WAITING"})):console.log("Content is cached for offline use."))})},r.waiting&&r.waiting.postMessage({type:"SKIP_WAITING"}),navigator.serviceWorker.addEventListener("controllerchange",()=>{console.log("New service worker activated."),r.active?.postMessage({type:"CLIENTS_CLAIM"})})}).catch(r=>{console.error("Error during service worker registration:",r)})}function lCo(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then(r=>{const i=r.headers.get("content-type");r.status===404||i!=null&&!i.includes("javascript")?navigator.serviceWorker.ready.then(n=>{n.unregister().then(()=>window.location.reload())}):UMe(e)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}const dCo=Qa.getSignedInUser(),cCo=dCo?.zeniSessionId;async function uCo(){try{const e=await Evo(),t=$vo(e,kvo+_d);Svo(JSON.parse(t)),PBe.createRoot(document.getElementById("root")).render(cr.jsx(k.StrictMode,{children:cr.jsx(lTe,{basename:"/cockpit",children:cr.jsx(eCo,{})})})),pCo()}catch(e){console.error("Error initializing app:",e)}}function pCo(){const e=()=>{jPe({dsn:In.sentryDsn,integrations:[IPe(),MPe({maskAllText:!0,blockAllMedia:!0})],tracesSampleRate:In.sentryTraceSamplingRate,replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,beforeSendTransaction(t){return t.breadcrumbs&&(t.breadcrumbs=t.breadcrumbs.filter(r=>r.category!=="console"?!0:(r.message??"").toLowerCase().includes("called people set")||Array.isArray(r.data?.arguments)&&r.data.arguments.some(n=>typeof n=="string"&&n.toLowerCase().includes("called people set"))?!1:(Array.isArray(r.data?.arguments)&&(r.data.arguments=r.data.arguments.map(n=>{if(typeof n=="string"&&n.includes("user_roles"))try{const s=n.match(/\{.*\}/s);if(s!==null){const d=JSON.parse(s[0]);if(d.user_roles!=null)return delete d.user_roles,n.replace(s[0],JSON.stringify(d))}}catch{}return n})),!0))),t}}),PPe("session-id",cCo)};typeof requestIdleCallback=="function"?requestIdleCallback(e):setTimeout(e,0)}uCo();sCo();export{kr as $,ejo as A,tjo as B,$Mo as C,Q as D,LDo as E,ZCo as F,ADo as G,bDo as H,Z$o as I,qSo as J,Pe as K,USo as L,sf as M,ZSo as N,wDo as O,yDo as P,fDo as Q,VMe as R,gSo as S,xDo as X,gDo as Y,lCe as Z,EL as a,E as b,In as c,EDo as d,yEo as e,v as f,IDo as g,Zge as h,nCe as i,mSo as j,mDo as k,jDo as l,st as m,Mio as n,o,dur as p,ll as q,kDo as r,SDo as s,i3 as t,Pvo as u,$Do as v,MCo as w,CDo as x,vDo as y,Qa as z};
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-BnDpf4K9.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-SNkBC2Al.js"><link rel="modulepreload" crossorigin href="/assets/core-CrJ0HRkP.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-B7yJI5lR.js"><link rel="modulepreload" crossorigin href="/assets/recharts-DE-kxplH.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-CH5Ytl_r.js"><link rel="modulepreload" crossorigin href="/assets/mui-DzLLS9Rs.js"><link rel="modulepreload" crossorigin href="/assets/lottie-jJKhsKLZ.js"><link rel="modulepreload" crossorigin href="/assets/analytics-Ci62SVC6.js"><link rel="modulepreload" crossorigin href="/assets/lexical-Y1MbDrft.js"><link rel="modulepreload" crossorigin href="/assets/utils-CpsqBQqv.js"><link rel="stylesheet" crossorigin href="/assets/index-t8y498Dk.css"></head><body><div id="root"></div></body></html>
|