@chillicream/nitro-embedded 30.0.0-insider.39 → 30.0.0-insider.40
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/assets/{context-providers.b1fa1225.D6OcSeDe.js → context-providers.04fa6636.BvmmgrWq.js} +5 -5
- package/assets/{editor.worker.b1fa1225.ZQqkZnS4.js → editor.worker.04fa6636.C7GoPmgG.js} +1 -1
- package/assets/{graphql-engine-scheduler.b1fa1225.CpX61SRt.js → graphql-engine-scheduler.04fa6636.BjJg6-hY.js} +1 -1
- package/assets/{graphql-indexer-scheduler.b1fa1225.CpLN9DCt.js → graphql-indexer-scheduler.04fa6636.CYiZdjTs.js} +1 -1
- package/assets/{graphql.worker.b1fa1225.Cv_4QMvs.js → graphql.worker.04fa6636.CN8gF1_d.js} +1 -1
- package/assets/{index.b1fa1225.B-RWjrFQ.js → index.04fa6636.qGzrB1Te.js} +1 -1
- package/assets/{json.worker.b1fa1225.B4hlrVeO.js → json.worker.04fa6636.DzTj7rF2.js} +1 -1
- package/assets/{jsonMode.b1fa1225.C5_8r7yk.js → jsonMode.04fa6636.BblOca48.js} +1 -1
- package/assets/{main.b1fa1225.B7_aB0Dt.js → main.04fa6636.mu9WX_pu.js} +7 -7
- package/assets/{monaco.b1fa1225.DetIfzJv.css → monaco.04fa6636.B6m8Zubp.css} +1 -1
- package/assets/{monaco.b1fa1225.D90vjI_z.js → monaco.04fa6636.B7aKj5-R.js} +2 -2
- package/assets/{monaco.b1fa1225.Bta1W1fH.css → monaco.04fa6636.BGMy9nBn.css} +1 -1
- package/assets/{session-scheduler.b1fa1225.JjYKDoAR.js → session-scheduler.04fa6636.DN7eQxFb.js} +1 -1
- package/assets/{yaml.b1fa1225.4lEaqzcF.js → yaml.04fa6636.CSXWhW0W.js} +1 -1
- package/assets/{yaml.worker.b1fa1225.mr6KEyvl.js → yaml.worker.04fa6636.BipAFQE8.js} +1 -1
- package/index.html +4 -4
- package/package.json +1 -1
- package/service-worker.js +1 -1
- /package/assets/{FiraCode-Medium.b1fa1225.-YTCSZkP.woff2 → FiraCode-Medium.04fa6636.-YTCSZkP.woff2} +0 -0
- /package/assets/{codicon.b1fa1225.Hscy-R9e.ttf → codicon.04fa6636.Hscy-R9e.ttf} +0 -0
- /package/assets/{context-providers.b1fa1225.3HkX5s82.css → context-providers.04fa6636.3HkX5s82.css} +0 -0
- /package/assets/{main.b1fa1225.O2wwCX4n.css → main.04fa6636.O2wwCX4n.css} +0 -0
- /package/assets/{monaco.b1fa1225.Lsv0Rn3d.js → monaco.04fa6636.BVk1lzj7.js} +0 -0
- /package/assets/{monaco.b1fa1225.D686NBmG.js → monaco.04fa6636.BlbKGIK9.js} +0 -0
- /package/assets/{monaco.b1fa1225.C-cBXzwp.js → monaco.04fa6636.BpfKFRIH.js} +0 -0
- /package/assets/{monaco.b1fa1225.ChbYKa0H.js → monaco.04fa6636.slKrfAQJ.js} +0 -0
- /package/assets/{monaco.b1fa1225.CZ_o5FGp.js → monaco.04fa6636.y23eQiWe.js} +0 -0
package/assets/{context-providers.b1fa1225.D6OcSeDe.js → context-providers.04fa6636.BvmmgrWq.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.
|
|
2
|
-
import{g as Eo,c as XX,r as e1,u as GV,a as ZX,b as g,R as JX,d as nt,e as eZ,j as N,f as Ae,i as jV,h as Me,k as sn,l as nZ,m as tZ,T as UV,_ as rZ,n as aZ,o as oZ,p as ke,q as n1,s as lZ,t as rn,v as Zn,w as iZ,x as Pl,y as xa,z as Qn,A as Un,B as q,C as Gn,D as Xb,E as sZ,F as cZ,G as Ze,H as wo,P as Pm,I as Rm,J as Ke,K as Zb,L as na,M as qV,S as uZ,N as t1,O as WV,Q as Re,U as Ta,V as Zs,W as QV,X as dZ,Y as Ut,Z as fZ,$ as ak,a0 as gZ,a1 as pZ,a2 as ce,a3 as Vu,a4 as Fd,a5 as Zo,a6 as UD,a7 as uu,a8 as YV,a9 as qD,aa as mZ,ab as hZ,ac as yp,ad as Ff,ae as yZ,af as Sl,ag as bZ,ah as vZ,ai as Kn,aj as XV,ak as Yf,al as ri,am as ZV,an as mt,ao as r1,ap as di,aq as JV,ar as kZ,as as a1,at as Ja,au as Uo,av as ok,aw as eH,ax as nH,ay as tH,az as lk,aA as Wn,aB as CZ,aC as Cn,aD as Ef,aE as SZ,aF as WD,aG as wZ,aH as Ws,aI as xZ,aJ as tr,aK as TZ,aL as QD,aM as o1,aN as IS,aO as IZ,aP as FZ,aQ as rH,aR as EZ,aS as ku,aT as PZ,aU as Er,aV as ta,aW as u,aX as Xf,aY as aH,aZ as RZ,a_ as qo,a$ as as,b0 as Hu,b1 as B,b2 as ye,b3 as Ua,b4 as ai,b5 as qa,b6 as Wa,b7 as Xr,b8 as l1,b9 as oH,ba as cf,bb as fi,bc as lH,bd as zn,be as DZ,bf as _Z,bg as LZ,bh as uc,bi as pa,bj as Yl,bk as i1,bl as ik,bm as s1,bn as zu,bo as da,bp as Dm,bq as Rn,br as rr,bs as MZ,bt as nn,bu as _m,bv as c1,bw as AZ,bx as Gr,by as MT,bz as Pn,bA as iH,bB as Ia,bC as sk,bD as Ed,bE as FS,bF as YD,bG as NZ,bH as Bu,bI as os,bJ as Cu,bK as Gu,bL as ju,bM as Zf,bN as Jf,bO as Or,bP as eg,bQ as $Z,bR as sH,bS as OZ,bT as cH,bU as KZ,bV as uH,bW as dc,bX as VZ,bY as u1,bZ as HZ,b_ as AT,b$ as dH,c0 as fH,c1 as Jb,c2 as uf,c3 as XD,c4 as zZ,c5 as BZ,c6 as Pf,c7 as ZD,c8 as GZ,c9 as cn,ca as Js,cb as jZ,cc as gH,cd as d1,ce as Hn,cf as qt,cg as ls,ch as bp,ci as Uu,cj as JD,ck as Q,cl as gi,cm as is,cn as gn,co as go,cp as pr,cq as NT,cr as e_,cs as Ai,ct as ss,cu as f1,cv as g1,cw as UZ,cx as pH,cy as qZ,cz as mH,cA as hH,cB as WZ,cC as QZ,cD as Yc,cE as YZ,cF as XZ,cG as n_,cH as t_,cI as r_,cJ as a_,cK as ZZ,cL as JZ,cM as Bt,cN as eJ,cO as cs,cP as nJ,cQ as ev,cR as ck,cS as uk,cT as yH,cU as bH,cV as vH,cW as tJ,cX as rJ,cY as p1,cZ as aJ,c_ as oJ,c$ as lJ,d0 as kH,d1 as iJ,d2 as sJ,d3 as CH,d4 as cJ,d5 as Vn,d6 as Wt,d7 as no,d8 as ng,d9 as tl,da as SH,db as wH,dc as uJ,dd as dJ,de as fJ,df as gJ,dg as nv,dh as Lm,di as Qi,dj as fa,dk as Jr,dl as vo,dm as m1,dn as pJ,dp as mJ,dq as hJ,dr as xH,ds as TH,dt as yJ,du as Ir,dv as bJ,dw as yr,dx as vJ,dy as Hp,dz as kJ,dA as Jt,dB as h1,dC as xn,dD as Rl,dE as tg,dF as Pr,dG as CJ,dH as ec,dI as Fr,dJ as Mm,dK as Rf,dL as dk,dM as xo,dN as rg,dO as er,dP as SJ,dQ as Am,dR as oi,dS as li,dT as Po,dU as wJ,dV as xJ,dW as qu,dX as TJ,dY as IJ,dZ as mr,d_ as FJ,d$ as Nm,e0 as EJ,e1 as fk,e2 as PJ,e3 as RJ,e4 as IH,e5 as FH,e6 as fc,e7 as EH,e8 as PH,e9 as y1,ea as o_,eb as Su,ec as RH,ed as gk,ee as DJ,ef as b1,eg as pk,eh as v1,ei as tv,ej as zp,ek as _J,el as jr,em as Wo,en as Rt,eo as k1,ep as DH,eq as _H,er as tt,es as LJ,et as LH,eu as MJ,ev as ag,ew as AJ,ex as Nn,ey as mk,ez as $m,eA as Ro,eB as Rr,eC as C1,eD as NJ,eE as Wu,eF as $J,eG as wu,eH as OJ,eI as KJ,eJ as VJ,eK as HJ,eL as zJ,eM as BJ,eN as GJ,eO as jJ,eP as UJ,eQ as qJ,eR as WJ,eS as QJ,eT as MH,eU as YJ,eV as XJ,eW as ZJ,eX as AH,eY as hk,eZ as Om,e_ as S1,e$ as JJ,f0 as eee,f1 as nee,f2 as tee,f3 as NH,f4 as Do,f5 as w1,f6 as ree,f7 as aee,f8 as og,f9 as yk,fa as Km,fb as Vm,fc as x1,fd as T1,fe as xr,ff as hr,fg as ii,fh as $H,fi as I1,fj as F1,fk as E1,fl as P1,fm as st,fn as OH,fo as oee,fp as R1,fq as KH,fr as bk,fs as lee,ft as VH,fu as HH,fv as zH,fw as D1,fx as _1,fy as L1,fz as iee,fA as see,fB as BH,fC as GH,fD as cee,fE as uee,fF as dee,fG as fee,fH as jH,fI as gee,fJ as pee,fK as mee,fL as hee,fM as UH,fN as yee,fO as M1,fP as vk,fQ as kk,fR as bee,fS as vee,fT as rv,fU as Jo,fV as kee,fW as Cee,fX as Bp,fY as See,fZ as lg,f_ as wee,f$ as xee,g0 as A1,g1 as Ck,g2 as Tee,g3 as qH,g4 as WH,g5 as ef,g6 as Iee,g7 as Fee,g8 as Eee,g9 as Dl,ga as Pee,gb as Ree,gc as Dee,gd as _ee,ge as ES,gf as Sk,gg as Lee,gh as wk,gi as Gp,gj as _l,gk as Mee,gl as Aee,gm as Nee,gn as $ee,go as Oee,gp as Kee,gq as pb,gr as Bi,gs as St,gt as Kr,gu as Dt,gv as ct,gw as jt,gx as PS,gy as Gt,gz as Hm,gA as Ar,gB as Vee,gC as QH,gD as Hee,gE as zt,gF as N1,gG as zee,gH as el,gI as Fa,gJ as YH,gK as Bee,gL as yt,gM as us,gN as gc,gO as pc,gP as mc,gQ as Yi,gR as nc,gS as hc,gT as Gee,gU as XH,gV as jee,gW as Uee,gX as ig,gY as ZH,gZ as JH,g_ as To,g$ as $1,h0 as nf,h1 as qee,h2 as Wee,h3 as l_,h4 as Qee,h5 as xk,h6 as Yee,h7 as Xee,h8 as Zee,h9 as Jee,ha as Tk,hb as ene,hc as nne,hd as zm,he as Oa,hf as tne,hg as O1,hh as kl,hi as av,hj as Qu,hk as Ka,hl as ez,hm as yc,hn as eo,ho as Xi,hp as Ik,hq as Fk,hr as Ek,hs as Pk,ht as Rk,hu as rne,hv as ane,hw as bc,hx as sg,hy as Yu,hz as tc,hA as $T,hB as nz,hC as Xu,hD as Zu,hE as Bm,hF as K1,hG as Dk,hH as V1,hI as one,hJ as lne,hK as ine,hL as sne,hM as cne,hN as une,hO as Df,hP as H1,hQ as z1,hR as tz,hS as nl,hT as rz,hU as az,hV as oz,hW as lz,hX as dne,hY as iz,hZ as B1,h_ as sz,h$ as mb,i0 as Xc,i1 as Zc,i2 as fne,i3 as gne,i4 as pne,i5 as mne,i6 as G1,i7 as hne,i8 as _k,i9 as cz,ia as j1,ib as uz,ic as yne,id as bne,ie as vne,ig as dz,ih as kne,ii as fz,ij as vc,ik as Cne,il as gz,im as Sne,io as pz,ip as mz,iq as hz,ir as yz,is as bz,it as wne,iu as xne,iv as Tne,iw as vz,ix as Ine,iy as Fne,iz as kz,iA as Ene,iB as Pne,iC as Rne,iD as Dne,iE as _ne,iF as Lne,iG as RS,iH as DS,iI as U1,iJ as Mne,iK as Ane,iL as Nne,iM as $ne,iN as Cz,iO as One,iP as Ju,iQ as Lk,iR as Mk,iS as q1,iT as Kne,iU as Sz,iV as wz,iW as Vne,iX as Hne,iY as zne,iZ as W1,i_ as Bne,i$ as xz,j0 as Tz,j1 as Gm,j2 as Iz,j3 as ov,j4 as OT,j5 as lv,j6 as Gne,j7 as jne,j8 as Une,j9 as qne,ja as Wne,jb as Qne,jc as Yne,jd as Xne,je as Zne,jf as Jne,jg as _S,jh as Qt,ji as ete,jj as nte,jk as tte,jl as Fz,jm as Ez,jn as Pz,jo as Rz,jp as rte,jq as ate,jr as ote,js as lte,jt as ite,ju as ste,jv as cte,jw as i_,jx as ute,jy as dte,jz as fte,jA as gte,jB as pte,jC as mte,jD as Dz,jE as Q1,jF as hte,jG as yte,jH as bte,jI as vte,jJ as jm,jK as Y1,jL as kte,jM as KT,jN as Cte,jO as Ste,jP as wte,jQ as X1,jR as _z,jS as xte,jT as Tte,jU as Ite,jV as Fte,jW as Lz,jX as Mz,jY as Ete,jZ as Az,j_ as Nz,j$ as Pte,k0 as $z,k1 as Rte,k2 as Dte,k3 as _te,k4 as Lte,k5 as Oz,k6 as Mte,k7 as Kz,k8 as Ate,k9 as Nte,ka as $te,kb as s_,kc as Z1,kd as Vz,ke as J1,kf as Ote,kg as Kte,kh as Vte,ki as Hte,kj as zte,kk as c_,kl as Bte,km as Gte,kn as jte,ko as Ute,kp as qte,kq as Wte,kr as Qte,ks as _s,kt as u_,ku as d_,kv as Yte,kw as Xte,kx as Zte,ky as Hz,kz as Jte,kA as ere,kB as nre,kC as tre,kD as rre,kE as are,kF as ore,kG as lre,kH as eE,kI as ire,kJ as sre,kK as cre,kL as ure,kM as Ak,kN as zz,kO as nE,kP as iv,kQ as tE,kR as dre,kS as Bz,kT as fre,kU as gre,kV as pre,kW as mre,kX as hre,kY as yre,kZ as bre,k_ as vre,k$ as kre,l0 as Gz,l1 as rE,l2 as jz,l3 as Uz,l4 as Cre,l5 as Sre,l6 as wre,l7 as xre,l8 as Tre,l9 as Ire,la as Fre,lb as Ere,lc as Pre,ld as Rre,le as qz,lf as Dre,lg as _re,lh as Wz,li as Lre,lj as Mre,lk as Are,ll as Nre,lm as $re,ln as Ore,lo as Kre,lp as Vre,lq as Hre,lr as zre,ls as Bre,lt as Gre}from"./main.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.04fa6636.qGzrB1Te.js","./main.04fa6636.mu9WX_pu.js","./monaco.04fa6636.B7aKj5-R.js","./monaco.04fa6636.BGMy9nBn.css","./main.04fa6636.O2wwCX4n.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{g as Eo,c as XX,r as e1,u as GV,a as ZX,b as g,R as JX,d as nt,e as eZ,j as N,f as Ae,i as jV,h as Me,k as sn,l as nZ,m as tZ,T as UV,_ as rZ,n as aZ,o as oZ,p as ke,q as n1,s as lZ,t as rn,v as Zn,w as iZ,x as Pl,y as xa,z as Qn,A as Un,B as q,C as Gn,D as Xb,E as sZ,F as cZ,G as Ze,H as wo,P as Pm,I as Rm,J as Ke,K as Zb,L as na,M as qV,S as uZ,N as t1,O as WV,Q as Re,U as Ta,V as Zs,W as QV,X as dZ,Y as Ut,Z as fZ,$ as ak,a0 as gZ,a1 as pZ,a2 as ce,a3 as Vu,a4 as Fd,a5 as Zo,a6 as UD,a7 as uu,a8 as YV,a9 as qD,aa as mZ,ab as hZ,ac as yp,ad as Ff,ae as yZ,af as Sl,ag as bZ,ah as vZ,ai as Kn,aj as XV,ak as Yf,al as ri,am as ZV,an as mt,ao as r1,ap as di,aq as JV,ar as kZ,as as a1,at as Ja,au as Uo,av as ok,aw as eH,ax as nH,ay as tH,az as lk,aA as Wn,aB as CZ,aC as Cn,aD as Ef,aE as SZ,aF as WD,aG as wZ,aH as Ws,aI as xZ,aJ as tr,aK as TZ,aL as QD,aM as o1,aN as IS,aO as IZ,aP as FZ,aQ as rH,aR as EZ,aS as ku,aT as PZ,aU as Er,aV as ta,aW as u,aX as Xf,aY as aH,aZ as RZ,a_ as qo,a$ as as,b0 as Hu,b1 as B,b2 as ye,b3 as Ua,b4 as ai,b5 as qa,b6 as Wa,b7 as Xr,b8 as l1,b9 as oH,ba as cf,bb as fi,bc as lH,bd as zn,be as DZ,bf as _Z,bg as LZ,bh as uc,bi as pa,bj as Yl,bk as i1,bl as ik,bm as s1,bn as zu,bo as da,bp as Dm,bq as Rn,br as rr,bs as MZ,bt as nn,bu as _m,bv as c1,bw as AZ,bx as Gr,by as MT,bz as Pn,bA as iH,bB as Ia,bC as sk,bD as Ed,bE as FS,bF as YD,bG as NZ,bH as Bu,bI as os,bJ as Cu,bK as Gu,bL as ju,bM as Zf,bN as Jf,bO as Or,bP as eg,bQ as $Z,bR as sH,bS as OZ,bT as cH,bU as KZ,bV as uH,bW as dc,bX as VZ,bY as u1,bZ as HZ,b_ as AT,b$ as dH,c0 as fH,c1 as Jb,c2 as uf,c3 as XD,c4 as zZ,c5 as BZ,c6 as Pf,c7 as ZD,c8 as GZ,c9 as cn,ca as Js,cb as jZ,cc as gH,cd as d1,ce as Hn,cf as qt,cg as ls,ch as bp,ci as Uu,cj as JD,ck as Q,cl as gi,cm as is,cn as gn,co as go,cp as pr,cq as NT,cr as e_,cs as Ai,ct as ss,cu as f1,cv as g1,cw as UZ,cx as pH,cy as qZ,cz as mH,cA as hH,cB as WZ,cC as QZ,cD as Yc,cE as YZ,cF as XZ,cG as n_,cH as t_,cI as r_,cJ as a_,cK as ZZ,cL as JZ,cM as Bt,cN as eJ,cO as cs,cP as nJ,cQ as ev,cR as ck,cS as uk,cT as yH,cU as bH,cV as vH,cW as tJ,cX as rJ,cY as p1,cZ as aJ,c_ as oJ,c$ as lJ,d0 as kH,d1 as iJ,d2 as sJ,d3 as CH,d4 as cJ,d5 as Vn,d6 as Wt,d7 as no,d8 as ng,d9 as tl,da as SH,db as wH,dc as uJ,dd as dJ,de as fJ,df as gJ,dg as nv,dh as Lm,di as Qi,dj as fa,dk as Jr,dl as vo,dm as m1,dn as pJ,dp as mJ,dq as hJ,dr as xH,ds as TH,dt as yJ,du as Ir,dv as bJ,dw as yr,dx as vJ,dy as Hp,dz as kJ,dA as Jt,dB as h1,dC as xn,dD as Rl,dE as tg,dF as Pr,dG as CJ,dH as ec,dI as Fr,dJ as Mm,dK as Rf,dL as dk,dM as xo,dN as rg,dO as er,dP as SJ,dQ as Am,dR as oi,dS as li,dT as Po,dU as wJ,dV as xJ,dW as qu,dX as TJ,dY as IJ,dZ as mr,d_ as FJ,d$ as Nm,e0 as EJ,e1 as fk,e2 as PJ,e3 as RJ,e4 as IH,e5 as FH,e6 as fc,e7 as EH,e8 as PH,e9 as y1,ea as o_,eb as Su,ec as RH,ed as gk,ee as DJ,ef as b1,eg as pk,eh as v1,ei as tv,ej as zp,ek as _J,el as jr,em as Wo,en as Rt,eo as k1,ep as DH,eq as _H,er as tt,es as LJ,et as LH,eu as MJ,ev as ag,ew as AJ,ex as Nn,ey as mk,ez as $m,eA as Ro,eB as Rr,eC as C1,eD as NJ,eE as Wu,eF as $J,eG as wu,eH as OJ,eI as KJ,eJ as VJ,eK as HJ,eL as zJ,eM as BJ,eN as GJ,eO as jJ,eP as UJ,eQ as qJ,eR as WJ,eS as QJ,eT as MH,eU as YJ,eV as XJ,eW as ZJ,eX as AH,eY as hk,eZ as Om,e_ as S1,e$ as JJ,f0 as eee,f1 as nee,f2 as tee,f3 as NH,f4 as Do,f5 as w1,f6 as ree,f7 as aee,f8 as og,f9 as yk,fa as Km,fb as Vm,fc as x1,fd as T1,fe as xr,ff as hr,fg as ii,fh as $H,fi as I1,fj as F1,fk as E1,fl as P1,fm as st,fn as OH,fo as oee,fp as R1,fq as KH,fr as bk,fs as lee,ft as VH,fu as HH,fv as zH,fw as D1,fx as _1,fy as L1,fz as iee,fA as see,fB as BH,fC as GH,fD as cee,fE as uee,fF as dee,fG as fee,fH as jH,fI as gee,fJ as pee,fK as mee,fL as hee,fM as UH,fN as yee,fO as M1,fP as vk,fQ as kk,fR as bee,fS as vee,fT as rv,fU as Jo,fV as kee,fW as Cee,fX as Bp,fY as See,fZ as lg,f_ as wee,f$ as xee,g0 as A1,g1 as Ck,g2 as Tee,g3 as qH,g4 as WH,g5 as ef,g6 as Iee,g7 as Fee,g8 as Eee,g9 as Dl,ga as Pee,gb as Ree,gc as Dee,gd as _ee,ge as ES,gf as Sk,gg as Lee,gh as wk,gi as Gp,gj as _l,gk as Mee,gl as Aee,gm as Nee,gn as $ee,go as Oee,gp as Kee,gq as pb,gr as Bi,gs as St,gt as Kr,gu as Dt,gv as ct,gw as jt,gx as PS,gy as Gt,gz as Hm,gA as Ar,gB as Vee,gC as QH,gD as Hee,gE as zt,gF as N1,gG as zee,gH as el,gI as Fa,gJ as YH,gK as Bee,gL as yt,gM as us,gN as gc,gO as pc,gP as mc,gQ as Yi,gR as nc,gS as hc,gT as Gee,gU as XH,gV as jee,gW as Uee,gX as ig,gY as ZH,gZ as JH,g_ as To,g$ as $1,h0 as nf,h1 as qee,h2 as Wee,h3 as l_,h4 as Qee,h5 as xk,h6 as Yee,h7 as Xee,h8 as Zee,h9 as Jee,ha as Tk,hb as ene,hc as nne,hd as zm,he as Oa,hf as tne,hg as O1,hh as kl,hi as av,hj as Qu,hk as Ka,hl as ez,hm as yc,hn as eo,ho as Xi,hp as Ik,hq as Fk,hr as Ek,hs as Pk,ht as Rk,hu as rne,hv as ane,hw as bc,hx as sg,hy as Yu,hz as tc,hA as $T,hB as nz,hC as Xu,hD as Zu,hE as Bm,hF as K1,hG as Dk,hH as V1,hI as one,hJ as lne,hK as ine,hL as sne,hM as cne,hN as une,hO as Df,hP as H1,hQ as z1,hR as tz,hS as nl,hT as rz,hU as az,hV as oz,hW as lz,hX as dne,hY as iz,hZ as B1,h_ as sz,h$ as mb,i0 as Xc,i1 as Zc,i2 as fne,i3 as gne,i4 as pne,i5 as mne,i6 as G1,i7 as hne,i8 as _k,i9 as cz,ia as j1,ib as uz,ic as yne,id as bne,ie as vne,ig as dz,ih as kne,ii as fz,ij as vc,ik as Cne,il as gz,im as Sne,io as pz,ip as mz,iq as hz,ir as yz,is as bz,it as wne,iu as xne,iv as Tne,iw as vz,ix as Ine,iy as Fne,iz as kz,iA as Ene,iB as Pne,iC as Rne,iD as Dne,iE as _ne,iF as Lne,iG as RS,iH as DS,iI as U1,iJ as Mne,iK as Ane,iL as Nne,iM as $ne,iN as Cz,iO as One,iP as Ju,iQ as Lk,iR as Mk,iS as q1,iT as Kne,iU as Sz,iV as wz,iW as Vne,iX as Hne,iY as zne,iZ as W1,i_ as Bne,i$ as xz,j0 as Tz,j1 as Gm,j2 as Iz,j3 as ov,j4 as OT,j5 as lv,j6 as Gne,j7 as jne,j8 as Une,j9 as qne,ja as Wne,jb as Qne,jc as Yne,jd as Xne,je as Zne,jf as Jne,jg as _S,jh as Qt,ji as ete,jj as nte,jk as tte,jl as Fz,jm as Ez,jn as Pz,jo as Rz,jp as rte,jq as ate,jr as ote,js as lte,jt as ite,ju as ste,jv as cte,jw as i_,jx as ute,jy as dte,jz as fte,jA as gte,jB as pte,jC as mte,jD as Dz,jE as Q1,jF as hte,jG as yte,jH as bte,jI as vte,jJ as jm,jK as Y1,jL as kte,jM as KT,jN as Cte,jO as Ste,jP as wte,jQ as X1,jR as _z,jS as xte,jT as Tte,jU as Ite,jV as Fte,jW as Lz,jX as Mz,jY as Ete,jZ as Az,j_ as Nz,j$ as Pte,k0 as $z,k1 as Rte,k2 as Dte,k3 as _te,k4 as Lte,k5 as Oz,k6 as Mte,k7 as Kz,k8 as Ate,k9 as Nte,ka as $te,kb as s_,kc as Z1,kd as Vz,ke as J1,kf as Ote,kg as Kte,kh as Vte,ki as Hte,kj as zte,kk as c_,kl as Bte,km as Gte,kn as jte,ko as Ute,kp as qte,kq as Wte,kr as Qte,ks as _s,kt as u_,ku as d_,kv as Yte,kw as Xte,kx as Zte,ky as Hz,kz as Jte,kA as ere,kB as nre,kC as tre,kD as rre,kE as are,kF as ore,kG as lre,kH as eE,kI as ire,kJ as sre,kK as cre,kL as ure,kM as Ak,kN as zz,kO as nE,kP as iv,kQ as tE,kR as dre,kS as Bz,kT as fre,kU as gre,kV as pre,kW as mre,kX as hre,kY as yre,kZ as bre,k_ as vre,k$ as kre,l0 as Gz,l1 as rE,l2 as jz,l3 as Uz,l4 as Cre,l5 as Sre,l6 as wre,l7 as xre,l8 as Tre,l9 as Ire,la as Fre,lb as Ere,lc as Pre,ld as Rre,le as qz,lf as Dre,lg as _re,lh as Wz,li as Lre,lj as Mre,lk as Are,ll as Nre,lm as $re,ln as Ore,lo as Kre,lp as Vre,lq as Hre,lr as zre,ls as Bre,lt as Gre}from"./main.04fa6636.mu9WX_pu.js";import{e as It,m as jre,M as Gi,R as aE,P as cg,_ as Ure,l as ql,E as qre,K as Wre}from"./monaco.04fa6636.B7aKj5-R.js";var LS={exports:{}},MS,f_;function Qre(){if(f_)return MS;f_=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return MS=e,MS}var AS,g_;function Yre(){if(g_)return AS;g_=1;var e=Qre();function n(){}function t(){}return t.resetWarningCache=n,AS=function(){function r(l,i,s,c,d,f){if(f!==e){var p=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 p.name="Invariant Violation",p}}r.isRequired=r;function a(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:t,resetWarningCache:n};return o.PropTypes=o,o},AS}var p_;function Xre(){return p_||(p_=1,LS.exports=Yre()()),LS.exports}var Zre=Xre();const Y=Eo(Zre),_n=XX();function oE(e){const{theme:n,name:t,props:r}=e;return!n||!n.components||!n.components[t]||!n.components[t].defaultProps?r:e1(n.components[t].defaultProps,r)}function Qz({props:e,name:n,defaultTheme:t,themeId:r}){let a=GV(t);return r&&(a=a[r]||a),oE({theme:a,name:n,props:e})}function Jre(e,n,t,r,a){const[o,l]=g.useState(()=>a&&t?t(e).matches:r?r(e).matches:n);return nt(()=>{if(!t)return;const i=t(e),s=()=>{l(i.matches)};return s(),i.addEventListener("change",s),()=>{i.removeEventListener("change",s)}},[e,t]),o}const eae={...JX},Yz=eae.useSyncExternalStore;function nae(e,n,t,r,a){const o=g.useCallback(()=>n,[n]),l=g.useMemo(()=>{if(a&&t)return()=>t(e).matches;if(r!==null){const{matches:d}=r(e);return()=>d}return o},[o,e,r,a,t]),[i,s]=g.useMemo(()=>{if(t===null)return[o,()=>()=>{}];const d=t(e);return[()=>d.matches,f=>(d.addEventListener("change",f),()=>{d.removeEventListener("change",f)})]},[o,t,e]);return Yz(s,i,l)}function Xz(e={}){const{themeId:n}=e;return function(r,a={}){let o=ZX();o&&n&&(o=o[n]||o);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:s=l?window.matchMedia:null,ssrMatchMedia:c=null,noSsr:d=!1}=oE({name:"MuiUseMediaQuery",props:a,theme:o});let f=typeof r=="function"?r(o):r;return f=f.replace(/^@media( ?)/m,""),f.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
|
|
3
3
|
`)),(Yz!==void 0?nae:Jre)(f,i,s,c,d)}}Xz();const tae=(e,n)=>e.filter(t=>n.includes(t)),ug=(e,n,t)=>{const r=e.keys[0];Array.isArray(n)?n.forEach((a,o)=>{t((l,i)=>{o<=e.keys.length-1&&(o===0?Object.assign(l,i):l[e.up(e.keys[o])]=i)},a)}):n&&typeof n=="object"?(Object.keys(n).length>e.keys.length?e.keys:tae(e.keys,Object.keys(n))).forEach(o=>{if(e.keys.includes(o)){const l=n[o];l!==void 0&&t((i,s)=>{r===o?Object.assign(i,s):i[e.up(o)]=s},l)}}):(typeof n=="number"||typeof n=="string")&&t((a,o)=>{Object.assign(a,o)},n)};function sv(e){return`--Grid-${e}Spacing`}function Nk(e){return`--Grid-parent-${e}Spacing`}const m_="--Grid-columns",df="--Grid-parent-columns",rae=({theme:e,ownerState:n})=>{const t={};return ug(e.breakpoints,n.size,(r,a)=>{let o={};a==="grow"&&(o={flexBasis:0,flexGrow:1,maxWidth:"100%"}),a==="auto"&&(o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof a=="number"&&(o={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${a} / var(${df}) - (var(${df}) - ${a}) * (var(${Nk("column")}) / var(${df})))`}),r(t,o)}),t},aae=({theme:e,ownerState:n})=>{const t={};return ug(e.breakpoints,n.offset,(r,a)=>{let o={};a==="auto"&&(o={marginLeft:"auto"}),typeof a=="number"&&(o={marginLeft:a===0?"0px":`calc(100% * ${a} / var(${df}) + var(${Nk("column")}) * ${a} / var(${df}))`}),r(t,o)}),t},oae=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={[m_]:12};return ug(e.breakpoints,n.columns,(r,a)=>{const o=a??12;r(t,{[m_]:o,"> *":{[df]:o}})}),t},lae=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return ug(e.breakpoints,n.rowSpacing,(r,a)=>{const o=typeof a=="string"?a:e.spacing?.(a);r(t,{[sv("row")]:o,"> *":{[Nk("row")]:o}})}),t},iae=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return ug(e.breakpoints,n.columnSpacing,(r,a)=>{const o=typeof a=="string"?a:e.spacing?.(a);r(t,{[sv("column")]:o,"> *":{[Nk("column")]:o}})}),t},sae=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return ug(e.breakpoints,n.direction,(r,a)=>{r(t,{flexDirection:a})}),t},cae=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${sv("row")}) var(${sv("column")})`}}),uae=e=>{const n=[];return Object.entries(e).forEach(([t,r])=>{r!==!1&&r!==void 0&&n.push(`grid-${t}-${String(r)}`)}),n},dae=(e,n="xs")=>{function t(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(t(e))return[`spacing-${n}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([a,o])=>{t(o)&&r.push(`spacing-${a}-${String(o)}`)}),r}return[]},fae=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([n,t])=>`direction-${n}-${t}`):[`direction-xs-${String(e)}`];function gae(e,n){e.item!==void 0&&delete e.item,e.zeroMinWidth!==void 0&&delete e.zeroMinWidth,n.keys.forEach(t=>{e[t]!==void 0&&delete e[t]})}const pae=nZ(),mae=_n("div",{name:"MuiGrid",slot:"Root"});function hae(e){return Qz({props:e,name:"MuiGrid",defaultTheme:pae})}function yae(e={}){const{createStyledComponent:n=mae,useThemeProps:t=hae,useTheme:r=GV,componentName:a="MuiGrid"}=e,o=(c,d)=>{const{container:f,direction:p,spacing:m,wrap:h,size:b}=c,y={root:["root",f&&"container",h!=="wrap"&&`wrap-xs-${String(h)}`,...fae(p),...uae(b),...f?dae(m,d.breakpoints.keys[0]):[]]};return Me(y,v=>sn(a,v),{})};function l(c,d,f=()=>!0){const p={};return c===null||(Array.isArray(c)?c.forEach((m,h)=>{m!==null&&f(m)&&d.keys[h]&&(p[d.keys[h]]=m)}):typeof c=="object"?Object.keys(c).forEach(m=>{const h=c[m];h!=null&&f(h)&&(p[m]=h)}):p[d.keys[0]]=c),p}const i=n(oae,iae,lae,rae,sae,cae,aae),s=g.forwardRef(function(d,f){const p=r(),m=t(d),h=eZ(m);gae(h,p.breakpoints);const{className:b,children:y,columns:v=12,container:k=!1,component:w="div",direction:x="row",wrap:C="wrap",size:S={},offset:T={},spacing:F=0,rowSpacing:I=F,columnSpacing:E=F,unstable_level:P=0,...R}=h,_=l(S,p.breakpoints,A=>A!==!1),M=l(T,p.breakpoints),V=d.columns??(P?void 0:v),O=d.spacing??(P?void 0:F),H=d.rowSpacing??d.spacing??(P?void 0:I),U=d.columnSpacing??d.spacing??(P?void 0:E),z={...h,level:P,columns:V,container:k,direction:x,wrap:C,spacing:O,rowSpacing:H,columnSpacing:U,size:_,offset:M},K=o(z,p);return N.jsx(i,{ref:f,as:w,ownerState:z,className:Ae(K.root,b),...R,children:g.Children.map(y,A=>g.isValidElement(A)&&jV(A,["Grid"])&&k&&A.props.container?g.cloneElement(A,{unstable_level:A.props?.unstable_level??P+1}):A)})});return s.muiName="Grid",s}function bae(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function vae(e){return parseFloat(e)}function bt({props:e,name:n}){return Qz({props:e,name:n,defaultTheme:tZ,themeId:UV})}function kae(e,n){return e.classList?!!n&&e.classList.contains(n):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+n+" ")!==-1}function Cae(e,n){e.classList?e.classList.add(n):kae(e,n)||(typeof e.className=="string"?e.className=e.className+" "+n:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+n))}function h_(e,n){return e.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Sae(e,n){e.classList?e.classList.remove(n):typeof e.className=="string"?e.className=h_(e.className,n):e.setAttribute("class",h_(e.className&&e.className.baseVal||"",n))}var wae=function(n,t){return n&&t&&t.split(" ").forEach(function(r){return Cae(n,r)})},NS=function(n,t){return n&&t&&t.split(" ").forEach(function(r){return Sae(n,r)})},lE=function(e){rZ(n,e);function n(){for(var r,a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return r=e.call.apply(e,[this].concat(o))||this,r.appliedClasses={appear:{},enter:{},exit:{}},r.onEnter=function(i,s){var c=r.resolveArguments(i,s),d=c[0],f=c[1];r.removeClasses(d,"exit"),r.addClass(d,f?"appear":"enter","base"),r.props.onEnter&&r.props.onEnter(i,s)},r.onEntering=function(i,s){var c=r.resolveArguments(i,s),d=c[0],f=c[1],p=f?"appear":"enter";r.addClass(d,p,"active"),r.props.onEntering&&r.props.onEntering(i,s)},r.onEntered=function(i,s){var c=r.resolveArguments(i,s),d=c[0],f=c[1],p=f?"appear":"enter";r.removeClasses(d,p),r.addClass(d,p,"done"),r.props.onEntered&&r.props.onEntered(i,s)},r.onExit=function(i){var s=r.resolveArguments(i),c=s[0];r.removeClasses(c,"appear"),r.removeClasses(c,"enter"),r.addClass(c,"exit","base"),r.props.onExit&&r.props.onExit(i)},r.onExiting=function(i){var s=r.resolveArguments(i),c=s[0];r.addClass(c,"exit","active"),r.props.onExiting&&r.props.onExiting(i)},r.onExited=function(i){var s=r.resolveArguments(i),c=s[0];r.removeClasses(c,"exit"),r.addClass(c,"exit","done"),r.props.onExited&&r.props.onExited(i)},r.resolveArguments=function(i,s){return r.props.nodeRef?[r.props.nodeRef.current,i]:[i,s]},r.getClassNames=function(i){var s=r.props.classNames,c=typeof s=="string",d=c&&s?s+"-":"",f=c?""+d+i:s[i],p=c?f+"-active":s[i+"Active"],m=c?f+"-done":s[i+"Done"];return{baseClassName:f,activeClassName:p,doneClassName:m}},r}var t=n.prototype;return t.addClass=function(a,o,l){var i=this.getClassNames(o)[l+"ClassName"],s=this.getClassNames("enter"),c=s.doneClassName;o==="appear"&&l==="done"&&c&&(i+=" "+c),l==="active"&&a&&aZ(a),i&&(this.appliedClasses[o][l]=i,wae(a,i))},t.removeClasses=function(a,o){var l=this.appliedClasses[o],i=l.base,s=l.active,c=l.done;this.appliedClasses[o]={},i&&NS(a,i),s&&NS(a,s),c&&NS(a,c)},t.render=function(){var a=this.props;a.classNames;var o=oZ(a,["classNames"]);return ke.createElement(n1,lZ({},o,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(ke.Component);lE.defaultProps={classNames:""};lE.propTypes={};function xae(e){return sn("MuiCollapse",e)}rn("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Tae=e=>{const{orientation:n,classes:t}=e,r={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return Me(r,xae,t)},Iae=q("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[t.orientation],t.state==="entered"&&n.entered,t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&n.hidden]}})(Gn(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:n})=>n.state==="exited"&&!n.in&&n.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),Fae=q("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Eae=q("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),jp=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiCollapse"}),{addEndListener:a,children:o,className:l,collapsedSize:i="0px",component:s,easing:c,in:d,onEnter:f,onEntered:p,onEntering:m,onExit:h,onExited:b,onExiting:y,orientation:v="vertical",slots:k={},slotProps:w={},style:x,timeout:C=iZ.standard,TransitionComponent:S=n1,...T}=r,F={...r,orientation:v,collapsedSize:i},I=Tae(F),E=Pl(),P=xa(),R=g.useRef(null),_=g.useRef(),M=typeof i=="number"?`${i}px`:i,V=v==="horizontal",O=V?"width":"height",H=g.useRef(null),U=Qn(t,H),z=le=>pe=>{if(le){const ae=H.current;pe===void 0?le(ae):le(ae,pe)}},K=()=>R.current?R.current[V?"clientWidth":"clientHeight"]:0,A=z((le,pe)=>{R.current&&V&&(R.current.style.position="absolute"),le.style[O]=M,f&&f(le,pe)}),j=z((le,pe)=>{const ae=K();R.current&&V&&(R.current.style.position="");const{duration:ee,easing:ge}=Xb({style:x,timeout:C,easing:c},{mode:"enter"});if(C==="auto"){const he=E.transitions.getAutoHeightDuration(ae);le.style.transitionDuration=`${he}ms`,_.current=he}else le.style.transitionDuration=typeof ee=="string"?ee:`${ee}ms`;le.style[O]=`${ae}px`,le.style.transitionTimingFunction=ge,m&&m(le,pe)}),$=z((le,pe)=>{le.style[O]="auto",p&&p(le,pe)}),L=z(le=>{le.style[O]=`${K()}px`,h&&h(le)}),G=z(b),W=z(le=>{const pe=K(),{duration:ae,easing:ee}=Xb({style:x,timeout:C,easing:c},{mode:"exit"});if(C==="auto"){const ge=E.transitions.getAutoHeightDuration(pe);le.style.transitionDuration=`${ge}ms`,_.current=ge}else le.style.transitionDuration=typeof ae=="string"?ae:`${ae}ms`;le.style[O]=M,le.style.transitionTimingFunction=ee,y&&y(le)}),Z=le=>{C==="auto"&&P.start(_.current||0,le),a&&a(H.current,le)},J={slots:k,slotProps:w,component:s},[re,oe]=Un("root",{ref:U,className:Ae(I.root,l),elementType:Iae,externalForwardedProps:J,ownerState:F,additionalProps:{style:{[V?"minWidth":"minHeight"]:M,...x}}}),[X,te]=Un("wrapper",{ref:R,className:I.wrapper,elementType:Fae,externalForwardedProps:J,ownerState:F}),[ie,se]=Un("wrapperInner",{className:I.wrapperInner,elementType:Eae,externalForwardedProps:J,ownerState:F});return N.jsx(S,{in:d,onEnter:A,onEntered:$,onEntering:j,onExit:L,onExited:G,onExiting:W,addEndListener:Z,nodeRef:H,timeout:C==="auto"?null:C,...T,children:(le,{ownerState:pe,...ae})=>{const ee={...F,state:le};return N.jsx(re,{...oe,className:Ae(oe.className,{entered:I.entered,exited:!d&&M==="0px"&&I.hidden}[le]),ownerState:ee,...ae,children:N.jsx(X,{...te,ownerState:ee,children:N.jsx(ie,{...se,ownerState:ee,children:o})})})}})});jp&&(jp.muiSupportAuto=!0);const Zz=Y.oneOfType([Y.func,Y.object]);function Jz(e){return g.Children.toArray(e).filter(n=>g.isValidElement(n))}function Pae(e){return sn("MuiButtonGroup",e)}const En=rn("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),Rae=(e,n)=>{const{ownerState:t}=e;return[{[`& .${En.grouped}`]:n.grouped},{[`& .${En.grouped}`]:n[`grouped${Ze(t.orientation)}`]},{[`& .${En.grouped}`]:n[`grouped${Ze(t.variant)}`]},{[`& .${En.grouped}`]:n[`grouped${Ze(t.variant)}${Ze(t.orientation)}`]},{[`& .${En.grouped}`]:n[`grouped${Ze(t.variant)}${Ze(t.color)}`]},{[`& .${En.firstButton}`]:n.firstButton},{[`& .${En.lastButton}`]:n.lastButton},{[`& .${En.middleButton}`]:n.middleButton},n.root,n[t.variant],t.disableElevation===!0&&n.disableElevation,t.fullWidth&&n.fullWidth,t.orientation==="vertical"&&n.vertical]},Dae=e=>{const{classes:n,color:t,disabled:r,disableElevation:a,fullWidth:o,orientation:l,variant:i}=e,s={root:["root",i,l,o&&"fullWidth",a&&"disableElevation",`color${Ze(t)}`],grouped:["grouped",`grouped${Ze(l)}`,`grouped${Ze(i)}`,`grouped${Ze(i)}${Ze(l)}`,`grouped${Ze(i)}${Ze(t)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Me(s,Pae,n)},_ae=q("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:Rae})(Gn(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(e.vars||e).shadows[2]}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${En.lastButton},& .${En.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${En.firstButton},& .${En.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${En.lastButton},& .${En.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderRight:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${En.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderBottom:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${En.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(wo()).flatMap(([n])=>[{props:{variant:"text",color:n},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderColor:e.alpha((e.vars||e).palette[n].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${En.lastButton},& .${En.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${En.lastButton},& .${En.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${En.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${En.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(wo(["dark"])).map(([n])=>({props:{variant:"contained",color:n},style:{[`& .${En.firstButton},& .${En.middleButton}`]:{borderColor:(e.vars||e).palette[n].dark}}}))],[`& .${En.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}}))),Lae=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiButtonGroup"}),{children:a,className:o,color:l="primary",component:i="div",disabled:s=!1,disableElevation:c=!1,disableFocusRipple:d=!1,disableRipple:f=!1,fullWidth:p=!1,orientation:m="horizontal",size:h="medium",variant:b="outlined",...y}=r,v={...r,color:l,component:i,disabled:s,disableElevation:c,disableFocusRipple:d,disableRipple:f,fullWidth:p,orientation:m,size:h,variant:b},k=Dae(v),w=g.useMemo(()=>({className:k.grouped,color:l,disabled:s,disableElevation:c,disableFocusRipple:d,disableRipple:f,fullWidth:p,size:h,variant:b}),[l,s,c,d,f,p,h,b,k.grouped]),x=Jz(a),C=x.length,S=T=>{const F=T===0,I=T===C-1;return F&&I?"":F?k.firstButton:I?k.lastButton:k.middleButton};return N.jsx(_ae,{as:i,role:"group",className:Ae(k.root,o),ref:t,ownerState:v,...y,children:N.jsx(sZ.Provider,{value:w,children:x.map((T,F)=>N.jsx(cZ.Provider,{value:S(F),children:T},F))})})});function Mae(e){return sn("MuiCard",e)}rn("MuiCard",["root"]);const Aae=e=>{const{classes:n}=e;return Me({root:["root"]},Mae,n)},Nae=q(Pm,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),iE=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiCard"}),{className:a,raised:o=!1,...l}=r,i={...r,raised:o},s=Aae(i);return N.jsx(Nae,{className:Ae(s.root,a),elevation:o?8:void 0,ref:t,ownerState:i,...l})});function $ae(e){return sn("MuiCardActionArea",e)}const $S=rn("MuiCardActionArea",["root","focusVisible","focusHighlight"]),Oae=e=>{const{classes:n}=e;return Me({root:["root"],focusHighlight:["focusHighlight"]},$ae,n)},Kae=q(Rm,{name:"MuiCardActionArea",slot:"Root"})(Gn(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${$S.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${$S.focusVisible} .${$S.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),Vae=q("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})(Gn(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),Hae=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiCardActionArea"}),{children:a,className:o,focusVisibleClassName:l,slots:i={},slotProps:s={},...c}=r,d=r,f=Oae(d),p={slots:i,slotProps:s},[m,h]=Un("root",{elementType:Kae,externalForwardedProps:{...p,...c},shouldForwardComponentProp:!0,ownerState:d,ref:t,className:Ae(f.root,o),additionalProps:{focusVisibleClassName:Ae(l,f.focusVisible)}}),[b,y]=Un("focusHighlight",{elementType:Vae,externalForwardedProps:p,ownerState:d,ref:t,className:f.focusHighlight});return N.jsxs(m,{...h,children:[a,N.jsx(b,{...y})]})});function zae(e){return sn("MuiCardContent",e)}rn("MuiCardContent",["root"]);const Bae=e=>{const{classes:n}=e;return Me({root:["root"]},zae,n)},Gae=q("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),cv=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiCardContent"}),{className:a,component:o="div",...l}=r,i={...r,component:o},s=Bae(i);return N.jsx(Gae,{as:o,className:Ae(s.root,a),ownerState:i,ref:t,...l})});function jae(e){return sn("MuiCardHeader",e)}const uv=rn("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Uae=e=>{const{classes:n}=e;return Me({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},jae,n)},qae=q("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,n)=>[{[`& .${uv.title}`]:n.title},{[`& .${uv.subheader}`]:n.subheader},n.root]})({display:"flex",alignItems:"center",padding:16}),Wae=q("div",{name:"MuiCardHeader",slot:"Avatar"})({display:"flex",flex:"0 0 auto",marginRight:16}),Qae=q("div",{name:"MuiCardHeader",slot:"Action"})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Yae=q("div",{name:"MuiCardHeader",slot:"Content"})({flex:"1 1 auto",[`.${Zb.root}:where(& .${uv.title})`]:{display:"block"},[`.${Zb.root}:where(& .${uv.subheader})`]:{display:"block"}}),VT=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiCardHeader"}),{action:a,avatar:o,component:l="div",disableTypography:i=!1,subheader:s,subheaderTypographyProps:c,title:d,titleTypographyProps:f,slots:p={},slotProps:m={},...h}=r,b={...r,component:l,disableTypography:i},y=Uae(b),v={slots:p,slotProps:{title:f,subheader:c,...m}};let k=d;const[w,x]=Un("title",{className:y.title,elementType:Ke,externalForwardedProps:v,ownerState:b,additionalProps:{variant:o?"body2":"h5",component:"span"}});k!=null&&k.type!==Ke&&!i&&(k=N.jsx(w,{...x,children:k}));let C=s;const[S,T]=Un("subheader",{className:y.subheader,elementType:Ke,externalForwardedProps:v,ownerState:b,additionalProps:{variant:o?"body2":"body1",color:"textSecondary",component:"span"}});C!=null&&C.type!==Ke&&!i&&(C=N.jsx(S,{...T,children:C}));const[F,I]=Un("root",{ref:t,className:y.root,elementType:qae,externalForwardedProps:{...v,...h,component:l},ownerState:b}),[E,P]=Un("avatar",{className:y.avatar,elementType:Wae,externalForwardedProps:v,ownerState:b}),[R,_]=Un("content",{className:y.content,elementType:Yae,externalForwardedProps:v,ownerState:b}),[M,V]=Un("action",{className:y.action,elementType:Qae,externalForwardedProps:v,ownerState:b});return N.jsxs(F,{...I,children:[o&&N.jsx(E,{...P,children:o}),N.jsxs(R,{..._,children:[k,C]}),a&&N.jsx(M,{...V,children:a})]})}),Xae=na(N.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),Zae=na(N.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),Jae=na(N.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}));function eoe(e){return sn("MuiCheckbox",e)}const OS=rn("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),noe=e=>{const{classes:n,indeterminate:t,color:r,size:a}=e,o={root:["root",t&&"indeterminate",`color${Ze(r)}`,`size${Ze(a)}`]},l=Me(o,eoe,n);return{...n,...l}},toe=q(uZ,{shouldForwardProp:e=>t1(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.indeterminate&&n.indeterminate,n[`size${Ze(t.size)}`],t.color!=="default"&&n[`color${Ze(t.color)}`]]}})(Gn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(wo()).map(([n])=>({props:{color:n,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(wo()).map(([n])=>({props:{color:n},style:{[`&.${OS.checked}, &.${OS.indeterminate}`]:{color:(e.vars||e).palette[n].main},[`&.${OS.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),roe=N.jsx(Zae,{}),aoe=N.jsx(Xae,{}),ooe=N.jsx(Jae,{}),loe=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiCheckbox"}),{checkedIcon:a=roe,color:o="primary",icon:l=aoe,indeterminate:i=!1,indeterminateIcon:s=ooe,inputProps:c,size:d="medium",disableRipple:f=!1,className:p,slots:m={},slotProps:h={},...b}=r,y=i?s:l,v=i?s:a,k={...r,disableRipple:f,color:o,indeterminate:i,size:d},w=noe(k),x=h.input??c,[C,S]=Un("root",{ref:t,elementType:toe,className:Ae(w.root,p),shouldForwardComponentProp:!0,externalForwardedProps:{slots:m,slotProps:h,...b},ownerState:k,additionalProps:{type:"checkbox",icon:g.cloneElement(y,{fontSize:y.props.fontSize??d}),checkedIcon:g.cloneElement(v,{fontSize:v.props.fontSize??d}),disableRipple:f,slots:m,slotProps:{input:qV(typeof x=="function"?x(k):x,{"data-indeterminate":i})}}});return N.jsx(C,{...S,classes:w})});function y_(e){return e.substring(2).toLowerCase()}function ioe(e,n){return n.documentElement.clientWidth<e.clientX||n.documentElement.clientHeight<e.clientY}function soe(e){const{children:n,disableReactTree:t=!1,mouseEvent:r="onClick",onClickAway:a,touchEvent:o="onTouchEnd"}=e,l=g.useRef(!1),i=g.useRef(null),s=g.useRef(!1),c=g.useRef(!1);g.useEffect(()=>(setTimeout(()=>{s.current=!0},0),()=>{s.current=!1}),[]);const d=Qn(WV(n),i),f=Re(h=>{const b=c.current;c.current=!1;const y=Ta(i.current);if(!s.current||!i.current||"clientX"in h&&ioe(h,y))return;if(l.current){l.current=!1;return}let v;h.composedPath?v=h.composedPath().includes(i.current):v=!y.documentElement.contains(h.target)||i.current.contains(h.target),!v&&(t||!b)&&a(h)}),p=h=>b=>{c.current=!0;const y=n.props[h];y&&y(b)},m={ref:d};return o!==!1&&(m[o]=p(o)),g.useEffect(()=>{if(o!==!1){const h=y_(o),b=Ta(i.current),y=()=>{l.current=!0};return b.addEventListener(h,f),b.addEventListener("touchmove",y),()=>{b.removeEventListener(h,f),b.removeEventListener("touchmove",y)}}},[f,o]),r!==!1&&(m[r]=p(r)),g.useEffect(()=>{if(r!==!1){const h=y_(r),b=Ta(i.current);return b.addEventListener(h,f),()=>{b.removeEventListener(h,f)}}},[f,r]),g.cloneElement(n,m)}function coe(e,n,t){const r=n.getBoundingClientRect(),a=t&&t.getBoundingClientRect(),o=QV(n);let l;if(n.fakeTransform)l=n.fakeTransform;else{const c=o.getComputedStyle(n);l=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let i=0,s=0;if(l&&l!=="none"&&typeof l=="string"){const c=l.split("(")[1].split(")")[0].split(",");i=parseInt(c[4],10),s=parseInt(c[5],10)}return e==="left"?a?`translateX(${a.right+i-r.left}px)`:`translateX(${o.innerWidth+i-r.left}px)`:e==="right"?a?`translateX(-${r.right-a.left-i}px)`:`translateX(-${r.left+r.width-i}px)`:e==="up"?a?`translateY(${a.bottom+s-r.top}px)`:`translateY(${o.innerHeight+s-r.top}px)`:a?`translateY(-${r.top-a.top+r.height-s}px)`:`translateY(-${r.top+r.height-s}px)`}function uoe(e){return typeof e=="function"?e():e}function Uh(e,n,t){const r=uoe(t),a=coe(e,n,r);a&&(n.style.webkitTransform=a,n.style.transform=a)}const doe=g.forwardRef(function(n,t){const r=Pl(),a={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:i=!0,children:s,container:c,direction:d="down",easing:f=a,in:p,onEnter:m,onEntered:h,onEntering:b,onExit:y,onExited:v,onExiting:k,style:w,timeout:x=o,TransitionComponent:C=n1,...S}=n,T=g.useRef(null),F=Qn(WV(s),T,t),I=U=>z=>{U&&(z===void 0?U(T.current):U(T.current,z))},E=I((U,z)=>{Uh(d,U,c),dZ(U),m&&m(U,z)}),P=I((U,z)=>{const K=Xb({timeout:x,style:w,easing:f},{mode:"enter"});U.style.webkitTransition=r.transitions.create("-webkit-transform",{...K}),U.style.transition=r.transitions.create("transform",{...K}),U.style.webkitTransform="none",U.style.transform="none",b&&b(U,z)}),R=I(h),_=I(k),M=I(U=>{const z=Xb({timeout:x,style:w,easing:f},{mode:"exit"});U.style.webkitTransition=r.transitions.create("-webkit-transform",z),U.style.transition=r.transitions.create("transform",z),Uh(d,U,c),y&&y(U)}),V=I(U=>{U.style.webkitTransition="",U.style.transition="",v&&v(U)}),O=U=>{l&&l(T.current,U)},H=g.useCallback(()=>{T.current&&Uh(d,T.current,c)},[d,c]);return g.useEffect(()=>{if(p||d==="down"||d==="right")return;const U=Zs(()=>{T.current&&Uh(d,T.current,c)}),z=QV(T.current);return z.addEventListener("resize",U),()=>{U.clear(),z.removeEventListener("resize",U)}},[d,p,c]),g.useEffect(()=>{p||H()},[p,H]),N.jsx(C,{nodeRef:T,onEnter:E,onEntered:R,onEntering:P,onExit:M,onExited:V,onExiting:_,addEndListener:O,appear:i,in:p,timeout:x,...S,children:(U,{ownerState:z,...K})=>g.cloneElement(s,{ref:F,style:{visibility:U==="exited"&&!p?"hidden":void 0,...w,...s.props.style},...K})})});function foe(e){return sn("MuiDrawer",e)}rn("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const eB=(e,n)=>{const{ownerState:t}=e;return[n.root,(t.variant==="permanent"||t.variant==="persistent")&&n.docked,n.modal]},goe=e=>{const{classes:n,anchor:t,variant:r}=e,a={root:["root",`anchor${Ze(t)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Ze(t)}`,r!=="temporary"&&`paperAnchorDocked${Ze(t)}`]};return Me(a,foe,n)},poe=q(fZ,{name:"MuiDrawer",slot:"Root",overridesResolver:eB})(Gn(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),moe=q("div",{shouldForwardProp:t1,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:eB})({flex:"0 0 auto"}),hoe=q(Pm,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.paper,n[`paperAnchor${Ze(t.anchor)}`],t.variant!=="temporary"&&n[`paperAnchorDocked${Ze(t.anchor)}`]]}})(Gn(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:n})=>n.anchor==="left"&&n.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:n})=>n.anchor==="top"&&n.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:n})=>n.anchor==="right"&&n.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:n})=>n.anchor==="bottom"&&n.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),nB={left:"right",right:"left",top:"down",bottom:"up"};function yoe(e){return["left","right"].includes(e)}function boe({direction:e},n){return e==="rtl"&&yoe(n)?nB[n]:n}const voe=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiDrawer"}),a=Pl(),o=Ut(),l={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:s,children:c,className:d,elevation:f=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:m,...h}={},onClose:b,open:y=!1,PaperProps:v={},SlideProps:k,TransitionComponent:w,transitionDuration:x=l,variant:C="temporary",slots:S={},slotProps:T={},...F}=r,I=g.useRef(!1);g.useEffect(()=>{I.current=!0},[]);const E=boe({direction:o?"rtl":"ltr"},i),R={...r,anchor:i,elevation:f,open:y,variant:C,...F},_=goe(R),M={slots:{transition:w,...S},slotProps:{paper:v,transition:k,...T,backdrop:qV(T.backdrop||{...s,...m},{transitionDuration:x})}},[V,O]=Un("root",{ref:t,elementType:poe,className:Ae(_.root,_.modal,d),shouldForwardComponentProp:!0,ownerState:R,externalForwardedProps:{...M,...F,...h},additionalProps:{open:y,onClose:b,hideBackdrop:p,slots:{backdrop:M.slots.backdrop},slotProps:{backdrop:M.slotProps.backdrop}}}),[H,U]=Un("paper",{elementType:hoe,shouldForwardComponentProp:!0,className:Ae(_.paper,v.className),ownerState:R,externalForwardedProps:M,additionalProps:{elevation:C==="temporary"?f:0,square:!0,...C==="temporary"&&{role:"dialog","aria-modal":"true"}}}),[z,K]=Un("docked",{elementType:moe,ref:t,className:Ae(_.root,_.docked,d),ownerState:R,externalForwardedProps:M,additionalProps:F}),[A,j]=Un("transition",{elementType:doe,ownerState:R,externalForwardedProps:M,additionalProps:{in:y,direction:nB[E],timeout:x,appear:I.current}}),$=N.jsx(H,{...U,children:c});if(C==="permanent")return N.jsx(z,{...K,children:$});const L=N.jsx(A,{...j,children:$});return C==="persistent"?N.jsx(z,{...K,children:L}):N.jsx(V,{...O,children:L})});function koe(e){return sn("MuiFormControlLabel",e)}const tf=rn("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Coe=e=>{const{classes:n,disabled:t,labelPlacement:r,error:a,required:o}=e,l={root:["root",t&&"disabled",`labelPlacement${Ze(r)}`,a&&"error",o&&"required"],label:["label",t&&"disabled"],asterisk:["asterisk",a&&"error"]};return Me(l,koe,n)},Soe=q("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`& .${tf.label}`]:n.label},n.root,n[`labelPlacement${Ze(t.labelPlacement)}`]]}})(Gn(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${tf.disabled}`]:{cursor:"default"},[`& .${tf.label}`]:{[`&.${tf.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:n})=>n==="start"||n==="top"||n==="bottom",style:{marginLeft:16}}]}))),woe=q("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(Gn(({theme:e})=>({[`&.${tf.error}`]:{color:(e.vars||e).palette.error.main}}))),Ni=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiFormControlLabel"}),{checked:a,className:o,componentsProps:l={},control:i,disabled:s,disableTypography:c,inputRef:d,label:f,labelPlacement:p="end",name:m,onChange:h,required:b,slots:y={},slotProps:v={},value:k,...w}=r,x=ak(),C=s??i.props.disabled??x?.disabled,S=b??i.props.required,T={disabled:C,required:S};["checked","name","onChange","value","inputRef"].forEach(V=>{typeof i.props[V]>"u"&&typeof r[V]<"u"&&(T[V]=r[V])});const F=gZ({props:r,muiFormControl:x,states:["error"]}),I={...r,disabled:C,labelPlacement:p,required:S,error:F.error},E=Coe(I),P={slots:y,slotProps:{...l,...v}},[R,_]=Un("typography",{elementType:Ke,externalForwardedProps:P,ownerState:I});let M=f;return M!=null&&M.type!==Ke&&!c&&(M=N.jsx(R,{component:"span",..._,className:Ae(E.label,_?.className),children:M})),N.jsxs(Soe,{className:Ae(E.root,o),ownerState:I,ref:t,...w,children:[g.cloneElement(i,T),S?N.jsxs("div",{children:[M,N.jsxs(woe,{ownerState:I,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]}):M]})}),Qo=yae({createStyledComponent:q("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.container&&n.container]}}),componentName:"MuiGrid",useThemeProps:e=>Zn({props:e,name:"MuiGrid"}),useTheme:Pl});function xoe(e){return sn("MuiInputAdornment",e)}const HT=rn("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var b_;const Toe=(e,n)=>{const{ownerState:t}=e;return[n.root,n[`position${Ze(t.position)}`],t.disablePointerEvents===!0&&n.disablePointerEvents,n[t.variant]]},Ioe=e=>{const{classes:n,disablePointerEvents:t,hiddenLabel:r,position:a,size:o,variant:l}=e,i={root:["root",t&&"disablePointerEvents",a&&`position${Ze(a)}`,l,r&&"hiddenLabel",o&&`size${Ze(o)}`]};return Me(i,xoe,n)},Foe=q("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Toe})(Gn(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${HT.positionStart}&:not(.${HT.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),$k=g.forwardRef(function(n,t){const r=Zn({props:n,name:"MuiInputAdornment"}),{children:a,className:o,component:l="div",disablePointerEvents:i=!1,disableTypography:s=!1,position:c,variant:d,...f}=r,p=ak()||{};let m=d;d&&p.variant,p&&!m&&(m=p.variant);const h={...r,hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:i,position:c,variant:m},b=Ioe(h);return N.jsx(pZ.Provider,{value:null,children:N.jsx(Foe,{as:l,ownerState:h,className:Ae(b.root,o),ref:t,...f,children:typeof a=="string"&&!s?N.jsx(Ke,{color:"textSecondary",children:a}):N.jsxs(g.Fragment,{children:[c==="start"?b_||(b_=N.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):null,a]})})})});function Eoe(e){return sn("MuiLinearProgress",e)}rn("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const zT=4,BT=Vu`
|
|
4
4
|
0% {
|
|
5
5
|
left: -35%;
|
|
@@ -803,7 +803,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
803
803
|
height: 100%;
|
|
804
804
|
opacity: 0;
|
|
805
805
|
transition: opacity 0.2 ease;
|
|
806
|
-
`,CIe=g.lazy(()=>Ure(()=>import("./index.
|
|
806
|
+
`,CIe=g.lazy(()=>Ure(()=>import("./index.04fa6636.qGzrB1Te.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url));function SIe({children:e}){const n=JSe(),t=K3(),r=H3(),a=Z3(),o=wwe(),l=kwe(),i=g.useCallback(s=>{s?t():r()},[t,r]);return o?u(BA,{}):u(vP,{id:"console",asideCollapsible:!0,asideCollapsed:a,asideHeight:l,mainPane:"top",topContent:e,bottomContent:u(BA,{}),onAsideHeightChange:n,onAsideCollapsedChange:i})}const BA=g.memo(function(){return u(kee,{children:u(Jo,{children:u(g.Suspense,{fallback:u(wn,{}),children:u(CIe,{})})})})});function wIe(){const e=Cee(),n=m1()?.title??Bp,t=See();g.useLayoutEffect(()=>{function r(l,i){document.title=[l,i,n].filter(Boolean).join(" - ")}r(e.value(),t.value());const a=e.subscribe(l=>{r(l,t.value())}),o=t.subscribe(l=>{r(e.value(),l)});return()=>{a(),o()}},[e,n,t])}const xIe=e=>g.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("polygon",{points:"11.2 8.24 8.5 10.94 8.5 3.5 7.5 3.5 7.5 10.94 4.8 8.24 4.09 8.94 7.65 12.5 8.35 12.5 11.91 8.94 11.2 8.24",fillRule:"evenodd"}),g.createElement("path",{d:"M8,0C3.58,0,0,3.58,0,8s3.58,8,8,8,8-3.58,8-8S12.42,0,8,0ZM8,15c-3.87,0-7-3.13-7-7S4.13,1,8,1s7,3.13,7,7-3.13,7-7,7Z"})),Cj=g.forwardRef((e,n)=>u(lg,{ref:n,icon:xIe,...e}));Cj.displayName="UpdateAppIcon";const TIe=e=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...e},g.createElement("path",{d:"m94.09,472.38c2.35.14,5.28.2,8.65.04,0,0,4.25-.17,8.56-.88,42.29-6.95,79.83-24.9,113.77-50.43,15.13-11.38,29.2-24.2,43.39-36.77,6.41-5.98,5.72-9.68,0-16.41-26.79-28.96-53.31-58.17-80.08-87.14-1.09-1.18-2.38-2.16-3.76-3.07-2.99-1.99-7.07-1.01-8.85,2.11-.87,1.54-1.61,3.1-1.93,4.74-8.06,41.48-24.18,79.25-52.78,110.67-11.35,12.48-25.32,22.53-37.59,34.23-6.16,5.87-11.81,12.51-16.53,19.58-4.8,7.19-2.39,16.25,5.47,19.68,3.41.99,7.31,1.92,11.64,2.61,3.61.57,6.97.89,10.02,1.04Z",strokeWidth:0}),g.createElement("path",{d:"m345.35,253.75c-33.89-36.69-66.6-72.09-99.02-107.18-2.48-2.69-3.2-6.56-1.84-9.96,1.91-4.78,3.67-9.18,5.43-13.58,3.09-7.7,7.46-13.46,13.14-17.3,4.27-2.88,9.78-3.82,20.77-5.73,7.91-1.37,12.23-1.33,15.86-.92,4.19.47,7.78.87,11.37,3.3.92.62,4.87,2.13,8.16,11.69,1.96,5.68,4,11.54,7.22,16.53,7.53,11.63,17.85,14.31,32.6,9.48,13.19-4.32,12.22-3.56,20.73,7.41,17.92,23.08,14.48,44.88-.7,67.41-8.22,12.21-15.71,24.91-23.57,37.85-2.2,3.63-7.28,4.13-10.16,1.01Z",strokeWidth:0}),g.createElement("path",{d:"m289.69,76.49c-3.23-.93-7.35-2.11-7.53-4.05-.18-2.02,3.98-3.93,10.75-6.71,13.25-5.44,19.87-8.16,23.45-8.8,12.84-2.29,23.14.8,31.77,3.39,16.88,5.07,27.15,14.75,39.76,22.57,17.52,10.86,26.86,27.13,28.92,47.56.28,2.82-.01,5.78-.54,8.58-1.23,6.53-5.13,8.7-10.09,3.9-6.78-6.58-13.47-13.51-18.81-21.25-5.5-7.98-11.72-9.55-20.6-7.35-20.31,5.04-25.48,2.28-30.57-17.98-1.73-6.91-3.7-10.01-7.46-12.88-3.03-2.32-6.92-3.59-8.15-3.96-2.69-.81-4.84-1.02-7.53-1.27-4.08-.38-5.11-.11-9.96-.23-5.37-.13-9.05-.25-13.43-1.51Z",strokeWidth:0}),g.createElement("path",{d:"m381.01,62.82c-1.56.72-3.42.17-4.34-1.29-2.4-3.8-4.6-6.85-5.62-10.26-.93-3.11-.78-7.61.87-10.25,11.61-18.57,29.8-25.87,50.63-27.52,7.12-.56,15.49,8.24,15.98,15.34.5,7.25-5.58,14.84-14.03,14.28-17.02-1.13-30.12,4.77-40.65,17.76-.69.86-1.73,1.43-2.84,1.94Z",strokeWidth:0}),g.createElement("path",{d:"m421.69,202.6l-40.44,63.99c-3.93,6.23-6.02,13.44-6.02,20.81v29.22c0,3.63-4.48,5.34-6.9,2.64L185.49,120.27c-.21-.23-.41-.46-.6-.7-2.45-3.11-18.17-21.66-47.16-25.29-67.29-5.94-69.27,51.46-69.27,51.46v232.43c0,12.57,16.43,17.35,23.16,6.73l39.16-61.69c4.53-7.14,6.94-15.43,6.94-23.89v-103.65c0-3.63,4.48-5.34,6.9-2.64l182.61,198.71.81.95c2.42,3.08,18.14,21.67,47.17,25.3,67.29,5.94,69.27-51.46,69.27-51.46v-157.34c0-12.39-16.19-17.07-22.81-6.6Z",strokeWidth:0})),IIe=e=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...e},g.createElement("defs",null,g.createElement("filter",{id:"3cnuS-adPxSAxuag",x:"-20%",y:"-20%",width:"140%",height:"140%",filterUnits:"objectBoundingBox",primitiveUnits:"userSpaceOnUse",colorInterpolationFilters:"linearRGB"},g.createElement("feFlood",{floodOpacity:1,result:"flood"}),g.createElement("feComposite",{in:"flood",in2:"SourceAlpha",operator:"out",result:"composite1"}),g.createElement("feOffset",{dx:5,dy:5,in:"composite1",result:"offset"}),g.createElement("feGaussianBlur",{stdDeviation:"5 5",in:"offset",edgeMode:"none",result:"blur"}),g.createElement("feComposite",{in:"blur",in2:"SourceAlpha",operator:"in",result:"composite2"}),g.createElement("feMerge",{result:"merge"},g.createElement("feMergeNode",{in:"SourceGraphic"}),g.createElement("feMergeNode",{in:"composite2"})))),g.createElement("path",{d:"m94.09,472.38c2.35.14,5.28.2,8.65.04,0,0,4.25-.17,8.56-.88,42.29-6.95,79.83-24.9,113.77-50.43,15.13-11.38,29.2-24.2,43.39-36.77,6.41-5.98,5.72-9.68,0-16.41-26.79-28.96-53.31-58.17-80.08-87.14-1.09-1.18-2.38-2.16-3.76-3.07-2.99-1.99-7.07-1.01-8.85,2.11-.87,1.54-1.61,3.1-1.93,4.74-8.06,41.48-24.18,79.25-52.78,110.67-11.35,12.48-25.32,22.53-37.59,34.23-6.16,5.87-11.81,12.51-16.53,19.58-4.8,7.19-2.39,16.25,5.47,19.68,3.41.99,7.31,1.92,11.64,2.61,3.61.57,6.97.89,10.02,1.04Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"}),g.createElement("path",{d:"m345.35,253.75c-33.89-36.69-66.6-72.09-99.02-107.18-2.48-2.69-3.2-6.56-1.84-9.96,1.91-4.78,3.67-9.18,5.43-13.58,3.09-7.7,7.46-13.46,13.14-17.3,4.27-2.88,9.78-3.82,20.77-5.73,7.91-1.37,12.23-1.33,15.86-.92,4.19.47,7.78.87,11.37,3.3.92.62,4.87,2.13,8.16,11.69,1.96,5.68,4,11.54,7.22,16.53,7.53,11.63,17.85,14.31,32.6,9.48,13.19-4.32,12.22-3.56,20.73,7.41,17.92,23.08,14.48,44.88-.7,67.41-8.22,12.21-15.71,24.91-23.57,37.85-2.2,3.63-7.28,4.13-10.16,1.01Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"}),g.createElement("path",{d:"m289.69,76.49c-3.23-.93-7.35-2.11-7.53-4.05-.18-2.02,3.98-3.93,10.75-6.71,13.25-5.44,19.87-8.16,23.45-8.8,12.84-2.29,23.14.8,31.77,3.39,16.88,5.07,27.15,14.75,39.76,22.57,17.52,10.86,26.86,27.13,28.92,47.56.28,2.82-.01,5.78-.54,8.58-1.23,6.53-5.13,8.7-10.09,3.9-6.78-6.58-13.47-13.51-18.81-21.25-5.5-7.98-11.72-9.55-20.6-7.35-20.31,5.04-25.48,2.28-30.57-17.98-1.73-6.91-3.7-10.01-7.46-12.88-3.03-2.32-6.92-3.59-8.15-3.96-2.69-.81-4.84-1.02-7.53-1.27-4.08-.38-5.11-.11-9.96-.23-5.37-.13-9.05-.25-13.43-1.51Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"}),g.createElement("path",{d:"m381.01,62.82c-1.56.72-3.42.17-4.34-1.29-2.4-3.8-4.6-6.85-5.62-10.26-.93-3.11-.78-7.61.87-10.25,11.61-18.57,29.8-25.87,50.63-27.52,7.12-.56,15.49,8.24,15.98,15.34.5,7.25-5.58,14.84-14.03,14.28-17.02-1.13-30.12,4.77-40.65,17.76-.69.86-1.73,1.43-2.84,1.94Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"}),g.createElement("path",{d:"m421.69,202.6l-40.44,63.99c-3.93,6.23-6.02,13.44-6.02,20.81v29.22c0,3.63-4.48,5.34-6.9,2.64L185.49,120.27c-.21-.23-.41-.46-.6-.7-2.45-3.11-18.17-21.66-47.16-25.29-67.29-5.94-69.27,51.46-69.27,51.46v232.43c0,12.57,16.43,17.35,23.16,6.73l39.16-61.69c4.53-7.14,6.94-15.43,6.94-23.89v-103.65c0-3.63,4.48-5.34,6.9-2.64l182.61,198.71.81.95c2.42,3.08,18.14,21.67,47.17,25.3,67.29,5.94,69.27-51.46,69.27-51.46v-157.34c0-12.39-16.19-17.07-22.81-6.6Z",strokeWidth:0,filter:"url(#3cnuS-adPxSAxuag)"}));function FIe(){const e=X3(),n=J3(),t=YSe(),r=g.useCallback((o,l)=>()=>{t(o,l)},[t]),a=o=>!n&&e===o?"active":"";return jr(Nn.toggleOpenSidebar,r(e,!0),void 0,[e,r]),jr(Nn.openDocumentExplorer,r("document-explorer",!1),void 0,[r]),jr(Nn.openEnvironmentExplorer,r("environment-explorer",!1),void 0,[r]),jr(Nn.openHistoryExplorer,r("history-explorer",!1),void 0,[r]),B(wee,{children:[u(_Ie,{}),u(hf,{title:Wo(Nn.openDocumentExplorer,"Documents"),className:a("document-explorer"),onClick:r("document-explorer",!0),children:u(P1,{})}),u(hf,{title:Wo(Nn.openEnvironmentExplorer,"Variable Collections"),className:a("environment-explorer"),onClick:r("environment-explorer",!0),children:u(ag,{inheritColor:!0})}),u(hf,{title:Wo(Nn.openHistoryExplorer,"History"),className:a("history-explorer"),onClick:r("history-explorer",!0),children:u(M1,{})}),u(MIe,{}),!wH&&u(EIe,{}),u(PIe,{}),u(DIe,{}),u(Txe,{}),u(Fxe,{}),u(xxe,{})]})}function EIe(){const e=BSe(),n=jSe();return e?B(hf,{title:"A new Nitro version is available!",onClick:n,children:[u(Cj,{}),u(Sj,{className:"warning"})]}):null}function PIe(){const{Menu:e,MenuItem:n,closeMenu:t,toggleMenu:r,status$:a}=fc(),[o,l]=g.useState(a.value()),i=Om(),s=qu(),c=IH(),d=fk(),f=Am(),p=Ixe(),m=Exe(),h=bP(),b=xee(),y=y1(),v=g.useCallback(()=>{t(),f()},[f,t]),k=g.useCallback(()=>{t(),h()},[h,t]),w=g.useCallback(()=>{t(),m()},[m,t]);g.useEffect(()=>{b&&p()},[b,p]),g.useEffect(()=>a.subscribe(l),[a,l]);const x=i==="signed-in"&&!!s;return B(ye,{children:[B(hf,{title:o?"":RIe(i,c),disabled:i==="init"||i==="sign-in"||i==="sign-out",className:o?"focused":void 0,onClick:r,children:[u(FH,{}),u(Sj,{className:i==="signed-in"?d?"success":void 0:"warning"})]}),u(e,{transformOrigin:{vertical:"bottom",horizontal:"left"},anchorOrigin:{vertical:"center",horizontal:"right"},children:x?[u(n,{onClick:w,children:"Sign Out"},"sign-out")]:[u(n,{onClick:v,children:"Sign In"},"sign-in"),y?null:u(n,{onClick:k,children:"Connect to Dedicated Instance"},"connect-dedicated")]})]})}function RIe(e,n){switch(e){case"sign-in":return"Signing in...";case"sign-out":return"Signing out...";case"signed-in":case"session-expired":return`Signed in as: ${n}`;case"signed-out":return"Signed out";default:return""}}function DIe(){const e=k1(),n=g.useCallback(()=>{e()},[e]);return jr(Nn.openSettings,n),u(hf,{title:"Settings",onClick:n,children:u(A1,{})})}const _Ie=q(TIe)(({theme:e})=>ce`
|
|
807
807
|
flex: 0 0 ${e.spacing(32)};
|
|
808
808
|
margin: ${e.spacing(8)} auto;
|
|
809
809
|
height: ${e.spacing(32)};
|
|
@@ -1074,7 +1074,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1074
1074
|
opacity: 0;
|
|
1075
1075
|
background-color: ${Q.base.background};
|
|
1076
1076
|
transition: opacity 0.2s ease;
|
|
1077
|
-
`),xC=0,Sc=1,Tg=2,Yj=4;function Xj(e,n){return t=>e(n(t))}function GFe(e,n){return n(e)}function Zj(e,n){return t=>e(n,t)}function ZA(e,n){return()=>e(n)}function TC(e,n){return n(e),e}function nr(...e){return e}function jFe(e){e()}function JA(e){return()=>e}function UFe(...e){return()=>{e.map(jFe)}}function AP(e){return e!==void 0}function hd(){}function ht(e,n){return e(Sc,n)}function An(e,n){e(xC,n)}function NP(e){e(Tg)}function Sa(e){return e(Yj)}function tn(e,n){return ht(e,Zj(n,xC))}function ci(e,n){const t=e(Sc,r=>{t(),n(r)});return t}function Xn(){const e=[];return(n,t)=>{switch(n){case Tg:e.splice(0,e.length);return;case Sc:return e.push(t),()=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)};case xC:e.slice().forEach(r=>{r(t)});return;default:throw new Error(`unrecognized action ${n}`)}}}function je(e){let n=e;const t=Xn();return(r,a)=>{switch(r){case Sc:a(n);break;case xC:n=a;break;case Yj:return n}return t(r,a)}}function qFe(e){let n,t;const r=()=>n&&n();return function(a,o){switch(a){case Sc:return o?t===o?void 0:(r(),t=o,n=ht(e,o),n):(r(),hd);case Tg:r(),t=null;return;default:throw new Error(`unrecognized action ${a}`)}}}function ko(e){return TC(Xn(),n=>tn(e,n))}function wa(e,n){return TC(je(n),t=>tn(e,t))}function WFe(...e){return n=>e.reduceRight(GFe,n)}function ze(e,...n){const t=WFe(...n);return(r,a)=>{switch(r){case Sc:return ht(e,t(a));case Tg:NP(e);return}}}function Jj(e,n){return e===n}function Zt(e=Jj){let n;return t=>r=>{e(n,r)||(n=r,t(r))}}function yn(e){return n=>t=>{e(t)&&n(t)}}function Xe(e){return n=>Xj(n,e)}function Wl(e){return n=>()=>n(e)}function Zl(e,n){return t=>r=>t(n=e(n,r))}function Af(e){return n=>t=>{e>0?e--:n(t)}}function js(e){let n=null,t;return r=>a=>{n=a,!t&&(t=setTimeout(()=>{t=void 0,r(n)},e))}}function eN(e){let n,t;return r=>a=>{n=a,t&&clearTimeout(t),t=setTimeout(()=>{r(n)},e)}}function On(...e){const n=new Array(e.length);let t=0,r=null;const a=Math.pow(2,e.length)-1;return e.forEach((o,l)=>{const i=Math.pow(2,l);ht(o,s=>{const c=t;t=t|i,n[l]=s,c!==a&&t===a&&r&&(r(),r=null)})}),o=>l=>{const i=()=>o([l].concat(n));t===a?i():r=i}}function nN(...e){return function(n,t){switch(n){case Sc:return UFe(...e.map(r=>ht(r,t)));case Tg:return;default:throw new Error(`unrecognized action ${n}`)}}}function hn(e,n=Jj){return ze(e,Zt(n))}function Zr(...e){const n=Xn(),t=new Array(e.length);let r=0;const a=Math.pow(2,e.length)-1;return e.forEach((o,l)=>{const i=Math.pow(2,l);ht(o,s=>{t[l]=s,r=r|i,r===a&&An(n,t)})}),function(o,l){switch(o){case Sc:return r===a&&l(t),ht(n,l);case Tg:return NP(n);default:throw new Error(`unrecognized action ${o}`)}}}function ut(e,n=[],{singleton:t}={singleton:!0}){return{id:QFe(),constructor:e,dependencies:n,singleton:t}}const QFe=()=>Symbol();function YFe(e){const n=new Map,t=({id:r,constructor:a,dependencies:o,singleton:l})=>{if(l&&n.has(r))return n.get(r);const i=a(o.map(s=>t(s)));return l&&n.set(r,i),i};return t(e)}function XFe(e,n){const t={},r={};let a=0;const o=e.length;for(;a<o;)r[e[a]]=1,a+=1;for(const l in n)r.hasOwnProperty(l)||(t[l]=n[l]);return t}const iy=typeof document<"u"?ke.useLayoutEffect:ke.useEffect;function e4(e,n,t){const r=Object.keys(n.required||{}),a=Object.keys(n.optional||{}),o=Object.keys(n.methods||{}),l=Object.keys(n.events||{}),i=ke.createContext({});function s(v,k){v.propsReady&&An(v.propsReady,!1);for(const w of r){const x=v[n.required[w]];An(x,k[w])}for(const w of a)if(w in k){const x=v[n.optional[w]];An(x,k[w])}v.propsReady&&An(v.propsReady,!0)}function c(v){return o.reduce((k,w)=>(k[w]=x=>{const C=v[n.methods[w]];An(C,x)},k),{})}function d(v){return l.reduce((k,w)=>(k[w]=qFe(v[n.events[w]]),k),{})}const f=ke.forwardRef((v,k)=>{const{children:w,...x}=v,[C]=ke.useState(()=>TC(YFe(e),F=>s(F,x))),[S]=ke.useState(ZA(d,C));iy(()=>{for(const F of l)F in x&&ht(S[F],x[F]);return()=>{Object.values(S).map(NP)}},[x,S,C]),iy(()=>{s(C,x)}),ke.useImperativeHandle(k,JA(c(C)));const T=t;return N.jsx(i.Provider,{value:C,children:t?N.jsx(T,{...XFe([...r,...a,...l],x),children:w}):w})}),p=v=>ke.useCallback(Zj(An,ke.useContext(i)[v]),[v]),m=v=>{const w=ke.useContext(i)[v],x=ke.useCallback(C=>ht(w,C),[w]);return ke.useSyncExternalStore(x,()=>Sa(w),()=>Sa(w))},h=v=>{const w=ke.useContext(i)[v],[x,C]=ke.useState(ZA(Sa,w));return iy(()=>ht(w,S=>{S!==x&&C(JA(S))}),[w,x]),x},b=ke.version.startsWith("18")?m:h;return{Component:f,usePublisher:p,useEmitterValue:b,useEmitter:(v,k)=>{const x=ke.useContext(i)[v];iy(()=>ht(x,k),[k,x])}}}const n4=typeof document<"u"?ke.useLayoutEffect:ke.useEffect;var Co=(e=>(e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR",e))(Co||{});const ZFe={0:"debug",1:"log",2:"warn",3:"error"},JFe=()=>typeof globalThis>"u"?window:globalThis,wc=ut(()=>{const e=je(3);return{log:je((t,r,a=1)=>{var o;const l=(o=JFe().VIRTUOSO_LOG_LEVEL)!=null?o:Sa(e);a>=l&&console[ZFe[a]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,r)}),logLevel:e}},[],{singleton:!0});function $P(e,n,t){const r=ke.useRef(null);let a=o=>{};if(typeof ResizeObserver<"u"){const o=ke.useMemo(()=>new ResizeObserver(l=>{const i=()=>{const s=l[0].target;s.offsetParent!==null&&e(s)};t?i():requestAnimationFrame(i)}),[e]);a=l=>{l&&n?(o.observe(l),r.current=l):(r.current&&o.unobserve(r.current),r.current=null)}}return{ref:r,callbackRef:a}}function yd(e,n,t){return $P(e,n,t).callbackRef}function e1e(e,n,t,r,a,o,l,i,s){const c=ke.useCallback(d=>{const f=n1e(d.children,n,i?"offsetWidth":"offsetHeight",a);let p=d.parentElement;for(;!p.dataset.virtuosoScroller;)p=p.parentElement;const m=p.lastElementChild.dataset.viewportType==="window",h=l?i?l.scrollLeft:l.scrollTop:m?i?window.pageXOffset||document.documentElement.scrollLeft:window.pageYOffset||document.documentElement.scrollTop:i?p.scrollLeft:p.scrollTop,b=l?i?l.scrollWidth:l.scrollHeight:m?i?document.documentElement.scrollWidth:document.documentElement.scrollHeight:i?p.scrollWidth:p.scrollHeight,y=l?i?l.offsetWidth:l.offsetHeight:m?i?window.innerWidth:window.innerHeight:i?p.offsetWidth:p.offsetHeight;r({scrollTop:Math.max(h,0),scrollHeight:b,viewportHeight:y}),o?.(i?tN("column-gap",getComputedStyle(d).columnGap,a):tN("row-gap",getComputedStyle(d).rowGap,a)),f!==null&&e(f)},[e,n,a,o,l,r]);return $P(c,t,s)}function n1e(e,n,t,r){const a=e.length;if(a===0)return null;const o=[];for(let l=0;l<a;l++){const i=e.item(l);if(!i||i.dataset.index===void 0)continue;const s=parseInt(i.dataset.index),c=parseFloat(i.dataset.knownSize),d=n(i,t);if(d===0&&r("Zero-sized element, this should not happen",{child:i},Co.ERROR),d===c)continue;const f=o[o.length-1];o.length===0||f.size!==d||f.endIndex!==s-1?o.push({startIndex:s,endIndex:s,size:d}):o[o.length-1].endIndex++}return o}function tN(e,n,t){return n!=="normal"&&!n?.endsWith("px")&&t(`${e} was not resolved to pixel value correctly`,n,Co.WARN),n==="normal"?0:parseInt(n??"0",10)}function lc(e,n){return Math.round(e.getBoundingClientRect()[n])}function t4(e,n){return Math.abs(e-n)<1.01}function r4(e,n,t,r=hd,a,o){const l=ke.useRef(null),i=ke.useRef(null),s=ke.useRef(null),c=ke.useCallback(p=>{const m=p.target,h=m===window||m===document,b=o?h?window.pageXOffset||document.documentElement.scrollLeft:m.scrollLeft:h?window.pageYOffset||document.documentElement.scrollTop:m.scrollTop,y=o?h?document.documentElement.scrollWidth:m.scrollWidth:h?document.documentElement.scrollHeight:m.scrollHeight,v=o?h?window.innerWidth:m.offsetWidth:h?window.innerHeight:m.offsetHeight,k=()=>{e({scrollTop:Math.max(b,0),scrollHeight:y,viewportHeight:v})};p.suppressFlushSync?k():Aee.flushSync(k),i.current!==null&&(b===i.current||b<=0||b===y-v)&&(i.current=null,n(!0),s.current&&(clearTimeout(s.current),s.current=null))},[e,n]);ke.useEffect(()=>{const p=a||l.current;return r(a||l.current),c({target:p,suppressFlushSync:!0}),p.addEventListener("scroll",c,{passive:!0}),()=>{r(null),p.removeEventListener("scroll",c)}},[l,c,t,r,a]);function d(p){const m=l.current;if(!m||(o?"offsetWidth"in m&&m.offsetWidth===0:"offsetHeight"in m&&m.offsetHeight===0))return;const h=p.behavior==="smooth";let b,y,v;m===window?(y=Math.max(lc(document.documentElement,o?"width":"height"),o?document.documentElement.scrollWidth:document.documentElement.scrollHeight),b=o?window.innerWidth:window.innerHeight,v=o?document.documentElement.scrollLeft:document.documentElement.scrollTop):(y=m[o?"scrollWidth":"scrollHeight"],b=lc(m,o?"width":"height"),v=m[o?"scrollLeft":"scrollTop"]);const k=y-b;if(p.top=Math.ceil(Math.max(Math.min(k,p.top),0)),t4(b,y)||p.top===v){e({scrollTop:v,scrollHeight:y,viewportHeight:b}),h&&n(!0);return}h?(i.current=p.top,s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{s.current=null,i.current=null,n(!0)},1e3)):i.current=null,o&&(p={left:p.top,behavior:p.behavior}),m.scrollTo(p)}function f(p){o&&(p={left:p.top,behavior:p.behavior}),l.current.scrollBy(p)}return{scrollerRef:l,scrollByCallback:f,scrollToCallback:d}}const Va=ut(()=>{const e=Xn(),n=Xn(),t=je(0),r=Xn(),a=je(0),o=Xn(),l=Xn(),i=je(0),s=je(0),c=je(0),d=je(0),f=Xn(),p=Xn(),m=je(!1),h=je(!1),b=je(!1);return tn(ze(e,Xe(({scrollTop:y})=>y)),n),tn(ze(e,Xe(({scrollHeight:y})=>y)),l),tn(n,a),{scrollContainerState:e,scrollTop:n,viewportHeight:o,headerHeight:i,fixedHeaderHeight:s,fixedFooterHeight:c,footerHeight:d,scrollHeight:l,smoothScrollTargetReached:r,horizontalDirection:h,skipAnimationFrameInResizeObserver:b,scrollTo:f,scrollBy:p,statefulScrollTop:a,deviation:t,scrollingInProgress:m}},[],{singleton:!0}),nm={lvl:0};function a4(e,n,t,r=nm,a=nm){return{k:e,v:n,lvl:t,l:r,r:a}}function Et(e){return e===nm}function yf(){return nm}function BI(e,n){if(Et(e))return nm;const{k:t,l:r,r:a}=e;if(n===t){if(Et(r))return a;if(Et(a))return r;{const[o,l]=o4(r);return Mb(zr(e,{k:o,v:l,l:l4(r)}))}}else return n<t?Mb(zr(e,{l:BI(r,n)})):Mb(zr(e,{r:BI(a,n)}))}function tm(e,n){if(!Et(e))return n===e.k?e.v:n<e.k?tm(e.l,n):tm(e.r,n)}function Il(e,n,t="k"){if(Et(e))return[-1/0,void 0];if(Number(e[t])===n)return[e.k,e.v];if(Number(e[t])<n){const r=Il(e.r,n,t);return r[0]===-1/0?[e.k,e.v]:r}return Il(e.l,n,t)}function ho(e,n,t){return Et(e)?a4(n,t,1):n===e.k?zr(e,{k:n,v:t}):n<e.k?rN(zr(e,{l:ho(e.l,n,t)})):rN(zr(e,{r:ho(e.r,n,t)}))}function GI(e,n,t){if(Et(e))return[];const{k:r,v:a,l:o,r:l}=e;let i=[];return r>n&&(i=i.concat(GI(o,n,t))),r>=n&&r<=t&&i.push({k:r,v:a}),r<=t&&(i=i.concat(GI(l,n,t))),i}function nu(e){return Et(e)?[]:[...nu(e.l),{k:e.k,v:e.v},...nu(e.r)]}function o4(e){return Et(e.r)?[e.k,e.v]:o4(e.r)}function l4(e){return Et(e.r)?e.l:Mb(zr(e,{r:l4(e.r)}))}function zr(e,n){return a4(n.k!==void 0?n.k:e.k,n.v!==void 0?n.v:e.v,n.lvl!==void 0?n.lvl:e.lvl,n.l!==void 0?n.l:e.l,n.r!==void 0?n.r:e.r)}function P0(e){return Et(e)||e.lvl>e.r.lvl}function rN(e){return jI(s4(e))}function Mb(e){const{l:n,r:t,lvl:r}=e;if(t.lvl>=r-1&&n.lvl>=r-1)return e;if(r>t.lvl+1){if(P0(n))return s4(zr(e,{lvl:r-1}));if(!Et(n)&&!Et(n.r))return zr(n.r,{l:zr(n,{r:n.r.l}),r:zr(e,{l:n.r.r,lvl:r-1}),lvl:r});throw new Error("Unexpected empty nodes")}else{if(P0(e))return jI(zr(e,{lvl:r-1}));if(!Et(t)&&!Et(t.l)){const a=t.l,o=P0(a)?t.lvl-1:t.lvl;return zr(a,{l:zr(e,{r:a.l,lvl:r-1}),r:jI(zr(t,{l:a.r,lvl:o})),lvl:a.lvl+1})}else throw new Error("Unexpected empty nodes")}}function IC(e,n,t){if(Et(e))return[];const r=Il(e,n)[0];return t1e(GI(e,r,t))}function i4(e,n){const t=e.length;if(t===0)return[];let{index:r,value:a}=n(e[0]);const o=[];for(let l=1;l<t;l++){const{index:i,value:s}=n(e[l]);o.push({start:r,end:i-1,value:a}),r=i,a=s}return o.push({start:r,end:1/0,value:a}),o}function t1e(e){return i4(e,({k:n,v:t})=>({index:n,value:t}))}function jI(e){const{r:n,lvl:t}=e;return!Et(n)&&!Et(n.r)&&n.lvl===t&&n.r.lvl===t?zr(n,{l:zr(e,{r:n.l}),lvl:t+1}):e}function s4(e){const{l:n}=e;return!Et(n)&&n.lvl===e.lvl?zr(n,{r:zr(e,{l:n.r})}):e}function Sv(e,n,t,r=0){let a=e.length-1;for(;r<=a;){const o=Math.floor((r+a)/2),l=e[o],i=t(l,n);if(i===0)return o;if(i===-1){if(a-r<2)return o-1;a=o-1}else{if(a===r)return o;r=o+1}}throw new Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${n}`)}function c4(e,n,t){return e[Sv(e,n,t)]}function r1e(e,n,t,r){const a=Sv(e,n,r),o=Sv(e,t,r,a);return e.slice(a,o+1)}const OP=ut(()=>({recalcInProgress:je(!1)}),[],{singleton:!0});function a1e(e){const{size:n,startIndex:t,endIndex:r}=e;return a=>a.start===t&&(a.end===r||a.end===1/0)&&a.value===n}function aN(e,n){let t=0,r=0;for(;t<e;)t+=n[r+1]-n[r]-1,r++;return r-(t===e?0:1)}function o1e(e,n){let t=Et(e)?0:1/0;for(const r of n){const{size:a,startIndex:o,endIndex:l}=r;if(t=Math.min(t,o),Et(e)){e=ho(e,0,a);continue}const i=IC(e,o-1,l+1);if(i.some(a1e(r)))continue;let s=!1,c=!1;for(const{start:d,end:f,value:p}of i)s?(l>=d||a===p)&&(e=BI(e,d)):(c=p!==a,s=!0),f>l&&l>=d&&p!==a&&(e=ho(e,l+1,p));c&&(e=ho(e,o,a))}return[e,t]}function l1e(){return{offsetTree:[],sizeTree:yf(),groupOffsetTree:yf(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]}}function KP({index:e},n){return n===e?0:n<e?-1:1}function i1e({offset:e},n){return n===e?0:n<e?-1:1}function s1e(e){return{index:e.index,value:e}}function c1e(e,n,t,r=0){return r>0&&(n=Math.max(n,c4(e,r,KP).offset)),i4(r1e(e,n,t,i1e),s1e)}function UI(e,n,t,r){let a=e,o=0,l=0,i=0,s=0;if(n!==0){s=Sv(a,n-1,KP),i=a[s].offset;const d=Il(t,n-1);o=d[0],l=d[1],a.length&&a[s].size===Il(t,n)[1]&&(s-=1),a=a.slice(0,s+1)}else a=[];for(const{start:c,value:d}of IC(t,n,1/0)){const f=c-o,p=f*l+i+f*r;a.push({offset:p,size:d,index:c}),o=c,i=p,l=d}return{offsetTree:a,lastIndex:o,lastOffset:i,lastSize:l}}function u1e(e,[n,t,r,a]){n.length>0&&r("received item sizes",n,Co.DEBUG);const o=e.sizeTree;let l=o,i=0;if(t.length>0&&Et(o)&&n.length===2){const p=n[0].size,m=n[1].size;l=t.reduce((h,b)=>ho(ho(h,b,p),b+1,m),l)}else[l,i]=o1e(l,n);if(l===o)return e;const{offsetTree:s,lastIndex:c,lastSize:d,lastOffset:f}=UI(e.offsetTree,i,l,a);return{sizeTree:l,offsetTree:s,lastIndex:c,lastOffset:f,lastSize:d,groupOffsetTree:t.reduce((p,m)=>ho(p,m,rm(m,s,a)),yf()),groupIndices:t}}function rm(e,n,t){if(n.length===0)return 0;const{offset:r,index:a,size:o}=c4(n,e,KP),l=e-a,i=o*l+(l-1)*t+r;return i>0?i+t:i}function d1e(e){return typeof e.groupIndex<"u"}function u4(e,n,t){if(d1e(e))return n.groupIndices[e.groupIndex]+1;{const r=e.index==="LAST"?t:e.index;let a=d4(r,n);return a=Math.max(0,a,Math.min(t,a)),a}}function d4(e,n){if(!FC(n))return e;let t=0;for(;n.groupIndices[t]<=e+t;)t++;return e+t}function FC(e){return!Et(e.groupOffsetTree)}function f1e(e){return nu(e).map(({k:n,v:t},r,a)=>{const o=a[r+1],l=o?o.k-1:1/0;return{startIndex:n,endIndex:l,size:t}})}const g1e={offsetHeight:"height",offsetWidth:"width"},bi=ut(([{log:e},{recalcInProgress:n}])=>{const t=Xn(),r=Xn(),a=wa(r,0),o=Xn(),l=Xn(),i=je(0),s=je([]),c=je(void 0),d=je(void 0),f=je((C,S)=>lc(C,g1e[S])),p=je(void 0),m=je(0),h=l1e(),b=wa(ze(t,On(s,e,m),Zl(u1e,h),Zt()),h),y=wa(ze(s,Zt(),Zl((C,S)=>({prev:C.current,current:S}),{prev:[],current:[]}),Xe(({prev:C})=>C)),[]);tn(ze(s,yn(C=>C.length>0),On(b,m),Xe(([C,S,T])=>{const F=C.reduce((I,E,P)=>ho(I,E,rm(E,S.offsetTree,T)||P),yf());return{...S,groupIndices:C,groupOffsetTree:F}})),b),tn(ze(r,On(b),yn(([C,{lastIndex:S}])=>C<S),Xe(([C,{lastIndex:S,lastSize:T}])=>[{startIndex:C,endIndex:S,size:T}])),t),tn(c,d);const v=wa(ze(c,Xe(C=>C===void 0)),!0);tn(ze(d,yn(C=>C!==void 0&&Et(Sa(b).sizeTree)),Xe(C=>[{startIndex:0,endIndex:0,size:C}])),t);const k=ko(ze(t,On(b),Zl(({sizes:C},[S,T])=>({changed:T!==C,sizes:T}),{changed:!1,sizes:h}),Xe(C=>C.changed)));ht(ze(i,Zl((C,S)=>({diff:C.prev-S,prev:S}),{diff:0,prev:0}),Xe(C=>C.diff)),C=>{const{groupIndices:S}=Sa(b);if(C>0)An(n,!0),An(o,C+aN(C,S));else if(C<0){const T=Sa(y);T.length>0&&(C-=aN(-C,T)),An(l,C)}}),ht(ze(i,On(e)),([C,S])=>{C<0&&S("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:i},Co.ERROR)});const w=ko(o);tn(ze(o,On(b),Xe(([C,S])=>{const T=S.groupIndices.length>0,F=[],I=S.lastSize;if(T){const E=tm(S.sizeTree,0);let P=0,R=0;for(;P<C;){const V=S.groupIndices[R],O=S.groupIndices.length===R+1?1/0:S.groupIndices[R+1]-V-1;F.push({startIndex:V,endIndex:V,size:E}),F.push({startIndex:V+1,endIndex:V+1+O-1,size:I}),R++,P+=O+1}const _=nu(S.sizeTree);return P!==C&&_.shift(),_.reduce((V,{k:O,v:H})=>{let U=V.ranges;return V.prevSize!==0&&(U=[...V.ranges,{startIndex:V.prevIndex,endIndex:O+C-1,size:V.prevSize}]),{ranges:U,prevIndex:O+C,prevSize:H}},{ranges:F,prevIndex:C,prevSize:0}).ranges}return nu(S.sizeTree).reduce((E,{k:P,v:R})=>({ranges:[...E.ranges,{startIndex:E.prevIndex,endIndex:P+C-1,size:E.prevSize}],prevIndex:P+C,prevSize:R}),{ranges:[],prevIndex:0,prevSize:I}).ranges})),t);const x=ko(ze(l,On(b,m),Xe(([C,{offsetTree:S},T])=>{const F=-C;return rm(F,S,T)})));return tn(ze(l,On(b,m),Xe(([C,S,T])=>{if(S.groupIndices.length>0){if(Et(S.sizeTree))return S;let I=yf();const E=Sa(y);let P=0,R=0,_=0;for(;P<-C;){_=E[R];const V=E[R+1]-_-1;R++,P+=V+1}if(I=nu(S.sizeTree).reduce((V,{k:O,v:H})=>ho(V,Math.max(0,O+C),H),I),P!==-C){const V=tm(S.sizeTree,_);I=ho(I,0,V);const O=Il(S.sizeTree,-C+1)[1];I=ho(I,1,O)}return{...S,sizeTree:I,...UI(S.offsetTree,0,I,T)}}else{const I=nu(S.sizeTree).reduce((E,{k:P,v:R})=>ho(E,Math.max(0,P+C),R),yf());return{...S,sizeTree:I,...UI(S.offsetTree,0,I,T)}}})),b),{data:p,totalCount:r,sizeRanges:t,groupIndices:s,defaultItemSize:d,fixedItemSize:c,unshiftWith:o,shiftWith:l,shiftWithOffset:x,beforeUnshiftWith:w,firstItemIndex:i,gap:m,sizes:b,listRefresh:k,statefulTotalCount:a,trackItemSizes:v,itemSize:f}},nr(wc,OP),{singleton:!0}),p1e=typeof document<"u"&&"scrollBehavior"in document.documentElement.style;function f4(e){const n=typeof e=="number"?{index:e}:e;return n.align||(n.align="start"),(!n.behavior||!p1e)&&(n.behavior="auto"),n.offset||(n.offset=0),n}const dh=ut(([{sizes:e,totalCount:n,listRefresh:t,gap:r},{scrollingInProgress:a,viewportHeight:o,scrollTo:l,smoothScrollTargetReached:i,headerHeight:s,footerHeight:c,fixedHeaderHeight:d,fixedFooterHeight:f},{log:p}])=>{const m=Xn(),h=Xn(),b=je(0);let y=null,v=null,k=null;function w(){y&&(y(),y=null),k&&(k(),k=null),v&&(clearTimeout(v),v=null),An(a,!1)}return tn(ze(m,On(e,o,n,b,s,c,p),On(r,d,f),Xe(([[x,C,S,T,F,I,E,P],R,_,M])=>{const V=f4(x),{align:O,behavior:H,offset:U}=V,z=T-1,K=u4(V,C,z);let A=rm(K,C.offsetTree,R)+I;O==="end"?(A+=_+Il(C.sizeTree,K)[1]-S+M,K===z&&(A+=E)):O==="center"?A+=(_+Il(C.sizeTree,K)[1]-S+M)/2:A-=F,U&&(A+=U);const j=$=>{w(),$?(P("retrying to scroll to",{location:x},Co.DEBUG),An(m,x)):(An(h,!0),P("list did not change, scroll successful",{},Co.DEBUG))};if(w(),H==="smooth"){let $=!1;k=ht(t,L=>{$=$||L}),y=ci(i,()=>{j($)})}else y=ci(ze(t,m1e(150)),j);return v=setTimeout(()=>{w()},1200),An(a,!0),P("scrolling from index to",{index:K,top:A,behavior:H},Co.DEBUG),{top:A,behavior:H}})),l),{scrollToIndex:m,scrollTargetReached:h,topListHeight:b}},nr(bi,Va,wc),{singleton:!0});function m1e(e){return n=>{const t=setTimeout(()=>{n(!1)},e);return r=>{r&&(n(!0),clearTimeout(t))}}}const am="up",Lp="down",h1e="none",y1e={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},b1e=0,fh=ut(([{scrollContainerState:e,scrollTop:n,viewportHeight:t,headerHeight:r,footerHeight:a,scrollBy:o}])=>{const l=je(!1),i=je(!0),s=Xn(),c=Xn(),d=je(4),f=je(b1e),p=wa(ze(nN(ze(hn(n),Af(1),Wl(!0)),ze(hn(n),Af(1),Wl(!1),eN(100))),Zt()),!1),m=wa(ze(nN(ze(o,Wl(!0)),ze(o,Wl(!1),eN(200))),Zt()),!1);tn(ze(Zr(hn(n),hn(f)),Xe(([k,w])=>k<=w),Zt()),i),tn(ze(i,js(50)),c);const h=ko(ze(Zr(e,hn(t),hn(r),hn(a),hn(d)),Zl((k,[{scrollTop:w,scrollHeight:x},C,S,T,F])=>{const I=w+C-x>-F,E={viewportHeight:C,scrollTop:w,scrollHeight:x};if(I){let R,_;return w>k.state.scrollTop?(R="SCROLLED_DOWN",_=k.state.scrollTop-w):(R="SIZE_DECREASED",_=k.state.scrollTop-w||k.scrollTopDelta),{atBottom:!0,state:E,atBottomBecause:R,scrollTopDelta:_}}let P;return E.scrollHeight>k.state.scrollHeight?P="SIZE_INCREASED":C<k.state.viewportHeight?P="VIEWPORT_HEIGHT_DECREASING":w<k.state.scrollTop?P="SCROLLING_UPWARDS":P="NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",{atBottom:!1,notAtBottomBecause:P,state:E}},y1e),Zt((k,w)=>k&&k.atBottom===w.atBottom))),b=wa(ze(e,Zl((k,{scrollTop:w,scrollHeight:x,viewportHeight:C})=>{if(t4(k.scrollHeight,x))return{scrollTop:w,scrollHeight:x,jump:0,changed:!1};{const S=x-(w+C)<1;return k.scrollTop!==w&&S?{scrollHeight:x,scrollTop:w,jump:k.scrollTop-w,changed:!0}:{scrollHeight:x,scrollTop:w,jump:0,changed:!0}}},{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),yn(k=>k.changed),Xe(k=>k.jump)),0);tn(ze(h,Xe(k=>k.atBottom)),l),tn(ze(l,js(50)),s);const y=je(Lp);tn(ze(e,Xe(({scrollTop:k})=>k),Zt(),Zl((k,w)=>Sa(m)?{direction:k.direction,prevScrollTop:w}:{direction:w<k.prevScrollTop?am:Lp,prevScrollTop:w},{direction:Lp,prevScrollTop:0}),Xe(k=>k.direction)),y),tn(ze(e,js(50),Wl(h1e)),y);const v=je(0);return tn(ze(p,yn(k=>!k),Wl(0)),v),tn(ze(n,js(100),On(p),yn(([k,w])=>!!w),Zl(([k,w],[x])=>[w,x],[0,0]),Xe(([k,w])=>w-k)),v),{isScrolling:p,isAtTop:i,isAtBottom:l,atBottomState:h,atTopStateChange:c,atBottomStateChange:s,scrollDirection:y,atBottomThreshold:d,atTopThreshold:f,scrollVelocity:v,lastJumpDueToItemResize:b}},nr(Va)),xc=ut(([{log:e}])=>{const n=je(!1),t=ko(ze(n,yn(r=>r),Zt()));return ht(n,r=>{r&&Sa(e)("props updated",{},Co.DEBUG)}),{propsReady:n,didMount:t}},nr(wc),{singleton:!0});function VP(e,n){e==0?n():requestAnimationFrame(()=>VP(e-1,n))}function HP(e,n){const t=n-1;return typeof e=="number"?e:e.index==="LAST"?t:e.index}const gh=ut(([{sizes:e,listRefresh:n,defaultItemSize:t},{scrollTop:r},{scrollToIndex:a,scrollTargetReached:o},{didMount:l}])=>{const i=je(!0),s=je(0),c=je(!0);return tn(ze(l,On(s),yn(([d,f])=>!!f),Wl(!1)),i),tn(ze(l,On(s),yn(([d,f])=>!!f),Wl(!1)),c),ht(ze(Zr(n,l),On(i,e,t,c),yn(([[,d],f,{sizeTree:p},m,h])=>d&&(!Et(p)||AP(m))&&!f&&!h),On(s)),([,d])=>{ci(o,()=>{An(c,!0)}),VP(4,()=>{ci(r,()=>{An(i,!0)}),An(a,d)})}),{scrolledToInitialItem:i,initialTopMostItemIndex:s,initialItemFinalLocationReached:c}},nr(bi,Va,dh,xc),{singleton:!0});function oN(e){return e?e==="smooth"?"smooth":"auto":!1}const v1e=(e,n)=>typeof e=="function"?oN(e(n)):n&&oN(e),k1e=ut(([{totalCount:e,listRefresh:n},{isAtBottom:t,atBottomState:r},{scrollToIndex:a},{scrolledToInitialItem:o},{propsReady:l,didMount:i},{log:s},{scrollingInProgress:c}])=>{const d=je(!1),f=Xn();let p=null;function m(b){An(a,{index:"LAST",align:"end",behavior:b})}ht(ze(Zr(ze(hn(e),Af(1)),i),On(hn(d),t,o,c),Xe(([[b,y],v,k,w,x])=>{let C=y&&w,S="auto";return C&&(S=v1e(v,k||x),C=C&&!!S),{totalCount:b,shouldFollow:C,followOutputBehavior:S}}),yn(({shouldFollow:b})=>b)),({totalCount:b,followOutputBehavior:y})=>{p&&(p(),p=null),p=ci(n,()=>{Sa(s)("following output to ",{totalCount:b},Co.DEBUG),m(y),p=null})});function h(b){const y=ci(r,v=>{b&&!v.atBottom&&v.notAtBottomBecause==="SIZE_INCREASED"&&!p&&(Sa(s)("scrolling to bottom due to increased size",{},Co.DEBUG),m("auto"))});setTimeout(y,100)}return ht(ze(Zr(hn(d),e,l),yn(([b,,y])=>b&&y),Zl(({value:b},[,y])=>({refreshed:b===y,value:y}),{refreshed:!1,value:0}),yn(({refreshed:b})=>b),On(d,e)),([,b])=>{Sa(o)&&h(b!==!1)}),ht(f,()=>{h(Sa(d)!==!1)}),ht(Zr(hn(d),r),([b,y])=>{b&&!y.atBottom&&y.notAtBottomBecause==="VIEWPORT_HEIGHT_DECREASING"&&m("auto")}),{followOutput:d,autoscrollToBottom:f}},nr(bi,fh,dh,gh,xc,wc,Va));function C1e(e){return e.reduce((n,t)=>(n.groupIndices.push(n.totalCount),n.totalCount+=t+1,n),{totalCount:0,groupIndices:[]})}const g4=ut(([{totalCount:e,groupIndices:n,sizes:t},{scrollTop:r,headerHeight:a}])=>{const o=Xn(),l=Xn(),i=ko(ze(o,Xe(C1e)));return tn(ze(i,Xe(s=>s.totalCount)),e),tn(ze(i,Xe(s=>s.groupIndices)),n),tn(ze(Zr(r,t,a),yn(([s,c])=>FC(c)),Xe(([s,c,d])=>Il(c.groupOffsetTree,Math.max(s-d,0),"v")[0]),Zt(),Xe(s=>[s])),l),{groupCounts:o,topItemsIndexes:l}},nr(bi,Va));function om(e,n){return!!(e&&e[0]===n[0]&&e[1]===n[1])}function p4(e,n){return!!(e&&e.startIndex===n.startIndex&&e.endIndex===n.endIndex)}const wv="top",xv="bottom",lN="none";function iN(e,n,t){return typeof e=="number"?t===am&&n===wv||t===Lp&&n===xv?e:0:t===am?n===wv?e.main:e.reverse:n===xv?e.main:e.reverse}function sN(e,n){return typeof e=="number"?e:e[n]||0}const zP=ut(([{scrollTop:e,viewportHeight:n,deviation:t,headerHeight:r,fixedHeaderHeight:a}])=>{const o=Xn(),l=je(0),i=je(0),s=je(0),c=wa(ze(Zr(hn(e),hn(n),hn(r),hn(o,om),hn(s),hn(l),hn(a),hn(t),hn(i)),Xe(([d,f,p,[m,h],b,y,v,k,w])=>{const x=d-k,C=y+v,S=Math.max(p-x,0);let T=lN;const F=sN(w,wv),I=sN(w,xv);return m-=k,m+=p+v,h+=p+v,h-=k,m>d+C-F&&(T=am),h<d-S+f+I&&(T=Lp),T!==lN?[Math.max(x-p-iN(b,wv,T)-F,0),x-S-v+f+iN(b,xv,T)+I]:null}),yn(d=>d!=null),Zt(om)),[0,0]);return{listBoundary:o,overscan:s,topListHeight:l,increaseViewportBy:i,visibleRange:c}},nr(Va),{singleton:!0});function S1e(e,n,t){if(FC(n)){const r=d4(e,n);return[{index:Il(n.groupOffsetTree,r)[0],size:0,offset:0},{index:r,size:0,offset:0,data:t&&t[0]}]}return[{index:e,size:0,offset:0,data:t&&t[0]}]}const R0={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function cN(e,n,t){if(e.length===0)return[];if(!FC(n))return e.map(c=>({...c,index:c.index+t,originalIndex:c.index}));const r=e[0].index,a=e[e.length-1].index,o=[],l=IC(n.groupOffsetTree,r,a);let i,s=0;for(const c of e){(!i||i.end<c.index)&&(i=l.shift(),s=n.groupIndices.indexOf(i.start));let d;c.index===i.start?d={type:"group",index:s}:d={index:c.index-(s+1)+t,groupIndex:s},o.push({...d,size:c.size,offset:c.offset,originalIndex:c.index,data:c.data})}return o}function Ab(e,n,t,r,a,o){const{lastSize:l,lastOffset:i,lastIndex:s}=a;let c=0,d=0;if(e.length>0){c=e[0].offset;const b=e[e.length-1];d=b.offset+b.size}const f=t-s,p=i+f*l+(f-1)*r,m=c,h=p-d;return{items:cN(e,a,o),topItems:cN(n,a,o),topListHeight:n.reduce((b,y)=>y.size+b,0),offsetTop:c,offsetBottom:h,top:m,bottom:d,totalCount:t,firstItemIndex:o}}function m4(e,n,t,r,a,o){let l=0;if(t.groupIndices.length>0)for(const d of t.groupIndices){if(d-l>=e)break;l++}const i=e+l,s=HP(n,i),c=Array.from({length:i}).map((d,f)=>({index:f+s,size:0,offset:0,data:o[f+s]}));return Ab(c,[],i,a,t,r)}const bd=ut(([{sizes:e,totalCount:n,data:t,firstItemIndex:r,gap:a},o,{visibleRange:l,listBoundary:i,topListHeight:s},{scrolledToInitialItem:c,initialTopMostItemIndex:d},{topListHeight:f},p,{didMount:m},{recalcInProgress:h}])=>{const b=je([]),y=je(0),v=Xn();tn(o.topItemsIndexes,b);const k=wa(ze(Zr(m,h,hn(l,om),hn(n),hn(e),hn(d),c,hn(b),hn(r),hn(a),t),yn(([S,T,,F,,,,,,,I])=>{const E=I&&I.length!==F;return S&&!T&&!E}),Xe(([,,[S,T],F,I,E,P,R,_,M,V])=>{const O=I,{sizeTree:H,offsetTree:U}=O,z=Sa(y);if(F===0)return{...R0,totalCount:F};if(S===0&&T===0)return z===0?{...R0,totalCount:F}:m4(z,E,I,_,M,V||[]);if(Et(H))return z>0?null:Ab(S1e(HP(E,F),O,V),[],F,M,O,_);const K=[];if(R.length>0){const G=R[0],W=R[R.length-1];let Z=0;for(const J of IC(H,G,W)){const re=J.value,oe=Math.max(J.start,G),X=Math.min(J.end,W);for(let te=oe;te<=X;te++)K.push({index:te,size:re,offset:Z,data:V&&V[te]}),Z+=re}}if(!P)return Ab([],K,F,M,O,_);const A=R.length>0?R[R.length-1]+1:0,j=c1e(U,S,T,A);if(j.length===0)return null;const $=F-1,L=TC([],G=>{for(const W of j){const Z=W.value;let J=Z.offset,re=W.start;const oe=Z.size;if(Z.offset<S){re+=Math.floor((S-Z.offset+M)/(oe+M));const te=re-W.start;J+=te*oe+te*M}re<A&&(J+=(A-re)*oe,re=A);const X=Math.min(W.end,$);for(let te=re;te<=X&&!(J>=T);te++)G.push({index:te,size:oe,offset:J,data:V&&V[te]}),J+=oe+M}});return Ab(L,K,F,M,O,_)}),yn(S=>S!==null),Zt()),R0);tn(ze(t,yn(AP),Xe(S=>S?.length)),n),tn(ze(k,Xe(S=>S.topListHeight)),f),tn(f,s),tn(ze(k,Xe(S=>[S.top,S.bottom])),i),tn(ze(k,Xe(S=>S.items)),v);const w=ko(ze(k,yn(({items:S})=>S.length>0),On(n,t),yn(([{items:S},T])=>S[S.length-1].originalIndex===T-1),Xe(([,S,T])=>[S-1,T]),Zt(om),Xe(([S])=>S))),x=ko(ze(k,js(200),yn(({items:S,topItems:T})=>S.length>0&&S[0].originalIndex===T.length),Xe(({items:S})=>S[0].index),Zt())),C=ko(ze(k,yn(({items:S})=>S.length>0),Xe(({items:S})=>{let T=0,F=S.length-1;for(;S[T].type==="group"&&T<F;)T++;for(;S[F].type==="group"&&F>T;)F--;return{startIndex:S[T].index,endIndex:S[F].index}}),Zt(p4)));return{listState:k,topItemsIndexes:b,endReached:w,startReached:x,rangeChanged:C,itemsRendered:v,initialItemCount:y,...p}},nr(bi,g4,zP,gh,dh,fh,xc,OP),{singleton:!0}),w1e=ut(([{sizes:e,firstItemIndex:n,data:t,gap:r},{initialTopMostItemIndex:a},{initialItemCount:o,listState:l},{didMount:i}])=>(tn(ze(i,On(o),yn(([,s])=>s!==0),On(a,e,n,r,t),Xe(([[,s],c,d,f,p,m=[]])=>m4(s,c,d,f,p,m))),l),{}),nr(bi,gh,bd,xc),{singleton:!0}),h4=ut(([{scrollVelocity:e}])=>{const n=je(!1),t=Xn(),r=je(!1);return tn(ze(e,On(r,n,t),yn(([a,o])=>!!o),Xe(([a,o,l,i])=>{const{exit:s,enter:c}=o;if(l){if(s(a,i))return!1}else if(c(a,i))return!0;return l}),Zt()),n),ht(ze(Zr(n,e,t),On(r)),([[a,o,l],i])=>a&&i&&i.change&&i.change(o,l)),{isSeeking:n,scrollSeekConfiguration:r,scrollVelocity:e,scrollSeekRangeChanged:t}},nr(fh),{singleton:!0}),x1e=ut(([{topItemsIndexes:e}])=>{const n=je(0);return tn(ze(n,yn(t=>t>0),Xe(t=>Array.from({length:t}).map((r,a)=>a))),e),{topItemCount:n}},nr(bd)),y4=ut(([{footerHeight:e,headerHeight:n,fixedHeaderHeight:t,fixedFooterHeight:r},{listState:a}])=>{const o=Xn(),l=wa(ze(Zr(e,r,n,t,a),Xe(([i,s,c,d,f])=>i+s+c+d+f.offsetBottom+f.bottom)),0);return tn(hn(l),o),{totalListHeight:l,totalListHeightChanged:o}},nr(Va,bd),{singleton:!0});function b4(e){let n=!1,t;return()=>(n||(n=!0,t=e()),t)}const T1e=b4(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),I1e=ut(([{scrollBy:e,scrollTop:n,deviation:t,scrollingInProgress:r},{isScrolling:a,isAtBottom:o,scrollDirection:l,lastJumpDueToItemResize:i},{listState:s},{beforeUnshiftWith:c,shiftWithOffset:d,sizes:f,gap:p},{log:m},{recalcInProgress:h}])=>{const b=ko(ze(s,On(i),Zl(([,v,k,w],[{items:x,totalCount:C,bottom:S,offsetBottom:T},F])=>{const I=S+T;let E=0;return k===C&&v.length>0&&x.length>0&&(x[0].originalIndex===0&&v[0].originalIndex===0||(E=I-w,E!==0&&(E+=F))),[E,x,C,I]},[0,[],0,0]),yn(([v])=>v!==0),On(n,l,r,o,m,h),yn(([,v,k,w,,,x])=>!x&&!w&&v!==0&&k===am),Xe(([[v],,,,,k])=>(k("Upward scrolling compensation",{amount:v},Co.DEBUG),v))));function y(v){v>0?(An(e,{top:-v,behavior:"auto"}),An(t,0)):(An(t,0),An(e,{top:-v,behavior:"auto"}))}return ht(ze(b,On(t,a)),([v,k,w])=>{w&&T1e()?An(t,k-v):y(-v)}),ht(ze(Zr(wa(a,!1),t,h),yn(([v,k,w])=>!v&&!w&&k!==0),Xe(([v,k])=>k),js(1)),y),tn(ze(d,Xe(v=>({top:-v}))),e),ht(ze(c,On(f,p),Xe(([v,{lastSize:k,groupIndices:w,sizeTree:x},C])=>{function S(T){return T*(k+C)}if(w.length===0)return S(v);{let T=0;const F=tm(x,0);let I=0,E=0;for(;I<v;){I++,T+=F;let P=w.length===E+1?1/0:w[E+1]-w[E]-1;I+P>v&&(T-=F,P=v-I+1),I+=P,T+=S(P),E++}return T}})),v=>{An(t,v),requestAnimationFrame(()=>{An(e,{top:v}),requestAnimationFrame(()=>{An(t,0),An(h,!1)})})}),{deviation:t}},nr(Va,fh,bd,bi,wc,OP)),F1e=ut(([{didMount:e},{scrollTo:n},{listState:t}])=>{const r=je(0);return ht(ze(e,On(r),yn(([,a])=>a!==0),Xe(([,a])=>({top:a}))),a=>{ci(ze(t,Af(1),yn(o=>o.items.length>1)),()=>{requestAnimationFrame(()=>{An(n,a)})})}),{initialScrollTop:r}},nr(xc,Va,bd),{singleton:!0}),E1e=ut(([{viewportHeight:e},{totalListHeight:n}])=>{const t=je(!1),r=wa(ze(Zr(t,e,n),yn(([a])=>a),Xe(([,a,o])=>Math.max(0,a-o)),js(0),Zt()),0);return{alignToBottom:t,paddingTopAddition:r}},nr(Va,y4),{singleton:!0}),BP=ut(([{scrollTo:e,scrollContainerState:n}])=>{const t=Xn(),r=Xn(),a=Xn(),o=je(!1),l=je(void 0);return tn(ze(Zr(t,r),Xe(([{viewportHeight:i,scrollTop:s,scrollHeight:c},{offsetTop:d}])=>({scrollTop:Math.max(0,s-d),scrollHeight:c,viewportHeight:i}))),n),tn(ze(e,On(r),Xe(([i,{offsetTop:s}])=>({...i,top:i.top+s}))),a),{useWindowScroll:o,customScrollParent:l,windowScrollContainerState:t,windowViewportRect:r,windowScrollTo:a}},nr(Va)),P1e=({itemTop:e,itemBottom:n,viewportTop:t,viewportBottom:r,locationParams:{behavior:a,align:o,...l}})=>e<t?{...l,behavior:a,align:o??"start"}:n>r?{...l,behavior:a,align:o??"end"}:null,R1e=ut(([{sizes:e,totalCount:n,gap:t},{scrollTop:r,viewportHeight:a,headerHeight:o,fixedHeaderHeight:l,fixedFooterHeight:i,scrollingInProgress:s},{scrollToIndex:c}])=>{const d=Xn();return tn(ze(d,On(e,a,n,o,l,i,r),On(t),Xe(([[f,p,m,h,b,y,v,k],w])=>{const{done:x,behavior:C,align:S,calculateViewLocation:T=P1e,...F}=f,I=u4(f,p,h-1),E=rm(I,p.offsetTree,w)+b+y,P=E+Il(p.sizeTree,I)[1],R=k+y,_=k+m-v,M=T({itemTop:E,itemBottom:P,viewportTop:R,viewportBottom:_,locationParams:{behavior:C,align:S,...F}});return M?x&&ci(ze(s,yn(V=>V===!1),Af(Sa(s)?1:2)),x):x&&x(),M}),yn(f=>f!==null)),c),{scrollIntoView:d}},nr(bi,Va,dh,bd,wc),{singleton:!0}),D1e=ut(([{sizes:e,sizeRanges:n},{scrollTop:t,headerHeight:r},{initialTopMostItemIndex:a},{didMount:o},{useWindowScroll:l,windowScrollContainerState:i,windowViewportRect:s}])=>{const c=Xn(),d=je(void 0),f=je(null),p=je(null);return tn(i,f),tn(s,p),ht(ze(c,On(e,t,l,f,p,r)),([m,h,b,y,v,k,w])=>{const x=f1e(h.sizeTree);y&&v!==null&&k!==null&&(b=v.scrollTop-k.offsetTop),b-=w,m({ranges:x,scrollTop:b})}),tn(ze(d,yn(AP),Xe(_1e)),a),tn(ze(o,On(d),yn(([,m])=>m!==void 0),Zt(),Xe(([,m])=>m.ranges)),n),{getState:c,restoreStateFrom:d}},nr(bi,Va,gh,xc,BP));function _1e(e){return{offset:e.scrollTop,index:0,align:"start"}}const L1e=ut(([e,n,t,r,a,o,l,i,s,c])=>({...e,...n,...t,...r,...a,...o,...l,...i,...s,...c}),nr(zP,w1e,xc,h4,y4,F1e,E1e,BP,R1e,wc)),v4=ut(([{totalCount:e,sizeRanges:n,fixedItemSize:t,defaultItemSize:r,trackItemSizes:a,itemSize:o,data:l,firstItemIndex:i,groupIndices:s,statefulTotalCount:c,gap:d,sizes:f},{initialTopMostItemIndex:p,scrolledToInitialItem:m,initialItemFinalLocationReached:h},b,y,v,{listState:k,topItemsIndexes:w,...x},{scrollToIndex:C},S,{topItemCount:T},{groupCounts:F},I])=>(tn(x.rangeChanged,I.scrollSeekRangeChanged),tn(ze(I.windowViewportRect,Xe(E=>E.visibleHeight)),b.viewportHeight),{totalCount:e,data:l,firstItemIndex:i,sizeRanges:n,initialTopMostItemIndex:p,scrolledToInitialItem:m,initialItemFinalLocationReached:h,topItemsIndexes:w,topItemCount:T,groupCounts:F,fixedItemHeight:t,defaultItemHeight:r,gap:d,...v,statefulTotalCount:c,listState:k,scrollToIndex:C,trackItemSizes:a,itemSize:o,groupIndices:s,...x,...I,...b,sizes:f,...y}),nr(bi,gh,Va,D1e,k1e,bd,dh,I1e,x1e,g4,L1e)),D0="-webkit-sticky",uN="sticky",k4=b4(()=>{if(typeof document>"u")return uN;const e=document.createElement("div");return e.style.position=D0,e.style.position===D0?D0:uN});function C4(e,n,t){const r=ke.useRef(null),a=ke.useCallback(s=>{if(s===null||!s.offsetParent)return;const c=s.getBoundingClientRect(),d=c.width;let f,p;if(n){const m=n.getBoundingClientRect(),h=c.top-m.top;f=m.height-Math.max(0,h),p=h+n.scrollTop}else f=window.innerHeight-Math.max(0,c.top),p=c.top+window.pageYOffset;r.current={offsetTop:p,visibleHeight:f,visibleWidth:d},e(r.current)},[e,n]),{callbackRef:o,ref:l}=$P(a,!0,t),i=ke.useCallback(()=>{a(l.current)},[a,l]);return ke.useEffect(()=>{if(n){n.addEventListener("scroll",i);const s=new ResizeObserver(()=>{requestAnimationFrame(i)});return s.observe(n),()=>{n.removeEventListener("scroll",i),s.unobserve(n)}}else return window.addEventListener("scroll",i),window.addEventListener("resize",i),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",i)}},[i,n]),o}const S4=ke.createContext(void 0),w4=ke.createContext(void 0);function GP(e){return e}const M1e=ut(()=>{const e=je(s=>`Item ${s}`),n=je(null),t=je(s=>`Group ${s}`),r=je({}),a=je(GP),o=je("div"),l=je(hd),i=(s,c=null)=>wa(ze(r,Xe(d=>d[s]),Zt()),c);return{context:n,itemContent:e,groupContent:t,components:r,computeItemKey:a,HeaderFooterTag:o,scrollerRef:l,FooterComponent:i("Footer"),HeaderComponent:i("Header"),TopItemListComponent:i("TopItemList"),ListComponent:i("List","div"),ItemComponent:i("Item","div"),GroupComponent:i("Group","div"),ScrollerComponent:i("Scroller","div"),EmptyPlaceholder:i("EmptyPlaceholder"),ScrollSeekPlaceholder:i("ScrollSeekPlaceholder")}}),A1e=ut(([e,n])=>({...e,...n}),nr(v4,M1e)),N1e=({height:e})=>N.jsx("div",{style:{height:e}}),$1e={position:k4(),zIndex:1,overflowAnchor:"none"},x4={overflowAnchor:"none"},O1e={...x4,display:"inline-block",height:"100%"},dN=ke.memo(function({showTopList:n=!1}){const t=Sn("listState"),r=Bo("sizeRanges"),a=Sn("useWindowScroll"),o=Sn("customScrollParent"),l=Bo("windowScrollContainerState"),i=Bo("scrollContainerState"),s=o||a?l:i,c=Sn("itemContent"),d=Sn("context"),f=Sn("groupContent"),p=Sn("trackItemSizes"),m=Sn("itemSize"),h=Sn("log"),b=Bo("gap"),y=Sn("horizontalDirection"),{callbackRef:v}=e1e(r,m,p,n?hd:s,h,b,o,y,Sn("skipAnimationFrameInResizeObserver")),[k,w]=ke.useState(0);jP("deviation",V=>{k!==V&&w(V)});const x=Sn("EmptyPlaceholder"),C=Sn("ScrollSeekPlaceholder")||N1e,S=Sn("ListComponent"),T=Sn("ItemComponent"),F=Sn("GroupComponent"),I=Sn("computeItemKey"),E=Sn("isSeeking"),P=Sn("groupIndices").length>0,R=Sn("alignToBottom"),_=Sn("initialItemFinalLocationReached"),M=n?{}:{boxSizing:"border-box",...y?{whiteSpace:"nowrap",display:"inline-block",height:"100%",paddingLeft:t.offsetTop,paddingRight:t.offsetBottom,marginLeft:k!==0?k:R?"auto":0}:{marginTop:k!==0?k:R?"auto":0,paddingTop:t.offsetTop,paddingBottom:t.offsetBottom},..._?{}:{visibility:"hidden"}};return!n&&t.totalCount===0&&x?N.jsx(x,{..._a(x,d)}):N.jsx(S,{..._a(S,d),ref:v,style:M,"data-testid":n?"virtuoso-top-item-list":"virtuoso-item-list",children:(n?t.topItems:t.items).map(V=>{const O=V.originalIndex,H=I(O+t.firstItemIndex,V.data,d);return E?g.createElement(C,{..._a(C,d),key:H,index:V.index,height:V.size,type:V.type||"item",...V.type==="group"?{}:{groupIndex:V.groupIndex}}):V.type==="group"?g.createElement(F,{..._a(F,d),key:H,"data-index":O,"data-known-size":V.size,"data-item-index":V.index,style:$1e},f(V.index,d)):g.createElement(T,{..._a(T,d),...z1e(T,V.data),key:H,"data-index":O,"data-known-size":V.size,"data-item-index":V.index,"data-item-group-index":V.groupIndex,style:y?O1e:x4},P?c(V.index,V.groupIndex,V.data,d):c(V.index,V.data,d))})})}),K1e={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},V1e={outline:"none",overflowX:"auto",position:"relative"},EC=e=>({width:"100%",height:"100%",position:"absolute",top:0,...e?{display:"flex",flexDirection:"column"}:{}}),H1e={width:"100%",position:k4(),top:0,zIndex:1};function _a(e,n){if(typeof e!="string")return{context:n}}function z1e(e,n){return{item:typeof e=="string"?void 0:n}}const B1e=ke.memo(function(){const n=Sn("HeaderComponent"),t=Bo("headerHeight"),r=Sn("HeaderFooterTag"),a=yd(ke.useMemo(()=>l=>t(lc(l,"height")),[t]),!0,Sn("skipAnimationFrameInResizeObserver")),o=Sn("context");return n?N.jsx(r,{ref:a,children:N.jsx(n,{..._a(n,o)})}):null}),G1e=ke.memo(function(){const n=Sn("FooterComponent"),t=Bo("footerHeight"),r=Sn("HeaderFooterTag"),a=yd(ke.useMemo(()=>l=>t(lc(l,"height")),[t]),!0,Sn("skipAnimationFrameInResizeObserver")),o=Sn("context");return n?N.jsx(r,{ref:a,children:N.jsx(n,{..._a(n,o)})}):null});function T4({usePublisher:e,useEmitter:n,useEmitterValue:t}){return ke.memo(function({style:o,children:l,...i}){const s=e("scrollContainerState"),c=t("ScrollerComponent"),d=e("smoothScrollTargetReached"),f=t("scrollerRef"),p=t("context"),m=t("horizontalDirection")||!1,{scrollerRef:h,scrollByCallback:b,scrollToCallback:y}=r4(s,d,c,f,void 0,m);n("scrollTo",y),n("scrollBy",b);const v=m?V1e:K1e;return N.jsx(c,{ref:h,style:{...v,...o},"data-testid":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0,...i,..._a(c,p),children:l})})}function I4({usePublisher:e,useEmitter:n,useEmitterValue:t}){return ke.memo(function({style:o,children:l,...i}){const s=e("windowScrollContainerState"),c=t("ScrollerComponent"),d=e("smoothScrollTargetReached"),f=t("totalListHeight"),p=t("deviation"),m=t("customScrollParent"),h=t("context"),{scrollerRef:b,scrollByCallback:y,scrollToCallback:v}=r4(s,d,c,hd,m);return n4(()=>(b.current=m||window,()=>{b.current=null}),[b,m]),n("windowScrollTo",v),n("scrollBy",y),N.jsx(c,{style:{position:"relative",...o,...f!==0?{height:f+p}:{}},"data-virtuoso-scroller":!0,...i,..._a(c,h),children:l})})}const j1e=({children:e})=>{const n=ke.useContext(S4),t=Bo("viewportHeight"),r=Bo("fixedItemHeight"),a=Sn("alignToBottom"),o=Sn("horizontalDirection"),l=ke.useMemo(()=>Xj(t,s=>lc(s,o?"width":"height")),[t,o]),i=yd(l,!0,Sn("skipAnimationFrameInResizeObserver"));return ke.useEffect(()=>{n&&(t(n.viewportHeight),r(n.itemHeight))},[n,t,r]),N.jsx("div",{style:EC(a),ref:i,"data-viewport-type":"element",children:e})},U1e=({children:e})=>{const n=ke.useContext(S4),t=Bo("windowViewportRect"),r=Bo("fixedItemHeight"),a=Sn("customScrollParent"),o=C4(t,a,Sn("skipAnimationFrameInResizeObserver")),l=Sn("alignToBottom");return ke.useEffect(()=>{n&&(r(n.itemHeight),t({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:100}))},[n,t,r]),N.jsx("div",{ref:o,style:EC(l),"data-viewport-type":"window",children:e})},q1e=({children:e})=>{const n=Sn("TopItemListComponent")||"div",t=Sn("headerHeight"),r={...H1e,marginTop:`${t}px`},a=Sn("context");return N.jsx(n,{style:r,..._a(n,a),children:e})},W1e=ke.memo(function(n){const t=Sn("useWindowScroll"),r=Sn("topItemsIndexes").length>0,a=Sn("customScrollParent"),o=a||t?X1e:Y1e,l=a||t?U1e:j1e;return N.jsxs(o,{...n,children:[r&&N.jsx(q1e,{children:N.jsx(dN,{showTopList:!0})}),N.jsxs(l,{children:[N.jsx(B1e,{}),N.jsx(dN,{}),N.jsx(G1e,{})]})]})}),{Component:Q1e,usePublisher:Bo,useEmitterValue:Sn,useEmitter:jP}=e4(A1e,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",groupCounts:"groupCounts",topItemCount:"topItemCount",firstItemIndex:"firstItemIndex",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"HeaderFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",horizontalDirection:"horizontalDirection",skipAnimationFrameInResizeObserver:"skipAnimationFrameInResizeObserver"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",autoscrollToBottom:"autoscrollToBottom",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},W1e),Y1e=T4({usePublisher:Bo,useEmitterValue:Sn,useEmitter:jP}),X1e=I4({usePublisher:Bo,useEmitterValue:Sn,useEmitter:jP}),Z1e=Q1e,fN={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},J1e={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},{round:gN,ceil:pN,floor:Tv,min:_0,max:Mp}=Math;function eEe(e){return{...J1e,items:e}}function mN(e,n,t){return Array.from({length:n-e+1}).map((r,a)=>{const o=t===null?null:t[a+e];return{index:a+e,data:o}})}function nEe(e,n){return e&&e.column===n.column&&e.row===n.row}function sy(e,n){return e&&e.width===n.width&&e.height===n.height}const tEe=ut(([{overscan:e,visibleRange:n,listBoundary:t,increaseViewportBy:r},{scrollTop:a,viewportHeight:o,scrollBy:l,scrollTo:i,smoothScrollTargetReached:s,scrollContainerState:c,footerHeight:d,headerHeight:f},p,m,{propsReady:h,didMount:b},{windowViewportRect:y,useWindowScroll:v,customScrollParent:k,windowScrollContainerState:w,windowScrollTo:x},C])=>{const S=je(0),T=je(0),F=je(fN),I=je({height:0,width:0}),E=je({height:0,width:0}),P=Xn(),R=Xn(),_=je(0),M=je(null),V=je({row:0,column:0}),O=Xn(),H=Xn(),U=je(!1),z=je(0),K=je(!0),A=je(!1),j=je(!1);ht(ze(b,On(z),yn(([J,re])=>!!re)),()=>{An(K,!1)}),ht(ze(Zr(b,K,E,I,z,A),yn(([J,re,oe,X,,te])=>J&&!re&&oe.height!==0&&X.height!==0&&!te)),([,,,,J])=>{An(A,!0),VP(1,()=>{An(P,J)}),ci(ze(a),()=>{An(t,[0,0]),An(K,!0)})}),tn(ze(H,yn(J=>J!=null&&J.scrollTop>0),Wl(0)),T),ht(ze(b,On(H),yn(([,J])=>J!=null)),([,J])=>{J&&(An(I,J.viewport),An(E,J?.item),An(V,J.gap),J.scrollTop>0&&(An(U,!0),ci(ze(a,Af(1)),re=>{An(U,!1)}),An(i,{top:J.scrollTop})))}),tn(ze(I,Xe(({height:J})=>J)),o),tn(ze(Zr(hn(I,sy),hn(E,sy),hn(V,(J,re)=>J&&J.column===re.column&&J.row===re.row),hn(a)),Xe(([J,re,oe,X])=>({viewport:J,item:re,gap:oe,scrollTop:X}))),O),tn(ze(Zr(hn(S),n,hn(V,nEe),hn(E,sy),hn(I,sy),hn(M),hn(T),hn(U),hn(K),hn(z)),yn(([,,,,,,,J])=>!J),Xe(([J,[re,oe],X,te,ie,se,le,,pe,ae])=>{const{row:ee,column:ge}=X,{height:he,width:Ee}=te,{width:de}=ie;if(le===0&&(J===0||de===0))return fN;if(Ee===0){const Ve=HP(ae,J),Ue=Math.max(Ve+le-1,0);return eEe(mN(Ve,Ue,se))}const fe=F4(de,Ee,ge);let ve,Ce;pe?re===0&&oe===0&&le>0?(ve=0,Ce=le-1):(ve=fe*Tv((re+ee)/(he+ee)),Ce=fe*pN((oe+ee)/(he+ee))-1,Ce=_0(J-1,Mp(Ce,fe-1)),ve=_0(Ce,Mp(0,ve))):(ve=0,Ce=-1);const Ie=mN(ve,Ce,se),{top:De,bottom:Be}=hN(ie,X,te,Ie),Fe=pN(J/fe),Le=Fe*he+(Fe-1)*ee-Be;return{items:Ie,offsetTop:De,offsetBottom:Le,top:De,bottom:Be,itemHeight:he,itemWidth:Ee}})),F),tn(ze(M,yn(J=>J!==null),Xe(J=>J.length)),S),tn(ze(Zr(I,E,F,V),yn(([J,re,{items:oe}])=>oe.length>0&&re.height!==0&&J.height!==0),Xe(([J,re,{items:oe},X])=>{const{top:te,bottom:ie}=hN(J,X,re,oe);return[te,ie]}),Zt(om)),t);const $=je(!1);tn(ze(a,On($),Xe(([J,re])=>re||J!==0)),$);const L=ko(ze(hn(F),yn(({items:J})=>J.length>0),On(S,$),yn(([{items:J},re,oe])=>oe&&J[J.length-1].index===re-1),Xe(([,J])=>J-1),Zt())),G=ko(ze(hn(F),yn(({items:J})=>J.length>0&&J[0].index===0),Wl(0),Zt())),W=ko(ze(hn(F),On(U),yn(([{items:J},re])=>J.length>0&&!re),Xe(([{items:J}])=>({startIndex:J[0].index,endIndex:J[J.length-1].index})),Zt(p4),js(0)));tn(W,m.scrollSeekRangeChanged),tn(ze(P,On(I,E,S,V),Xe(([J,re,oe,X,te])=>{const ie=f4(J),{align:se,behavior:le,offset:pe}=ie;let ae=ie.index;ae==="LAST"&&(ae=X-1),ae=Mp(0,ae,_0(X-1,ae));let ee=qI(re,te,oe,ae);return se==="end"?ee=gN(ee-re.height+oe.height):se==="center"&&(ee=gN(ee-re.height/2+oe.height/2)),pe&&(ee+=pe),{top:ee,behavior:le}})),i);const Z=wa(ze(F,Xe(J=>J.offsetBottom+J.bottom)),0);return tn(ze(y,Xe(J=>({width:J.visibleWidth,height:J.visibleHeight}))),I),{data:M,totalCount:S,viewportDimensions:I,itemDimensions:E,scrollTop:a,scrollHeight:R,overscan:e,increaseViewportBy:r,scrollBy:l,scrollTo:i,scrollToIndex:P,smoothScrollTargetReached:s,windowViewportRect:y,windowScrollTo:x,useWindowScroll:v,customScrollParent:k,windowScrollContainerState:w,deviation:_,scrollContainerState:c,footerHeight:d,headerHeight:f,initialItemCount:T,gap:V,restoreStateFrom:H,...m,initialTopMostItemIndex:z,horizontalDirection:j,gridState:F,totalListHeight:Z,...p,startReached:G,endReached:L,rangeChanged:W,stateChanged:O,propsReady:h,stateRestoreInProgress:U,...C}},nr(zP,Va,fh,h4,xc,BP,wc));function hN(e,n,t,r){const{height:a}=t;if(a===void 0||r.length===0)return{top:0,bottom:0};const o=qI(e,n,t,r[0].index),l=qI(e,n,t,r[r.length-1].index)+a;return{top:o,bottom:l}}function qI(e,n,t,r){const a=F4(e.width,t.width,n.column),o=Tv(r/a),l=o*t.height+Mp(0,o-1)*n.row;return l>0?l+n.row:l}function F4(e,n,t){return Mp(1,Tv((e+t)/(Tv(n)+t)))}const rEe=ut(()=>{const e=je(f=>`Item ${f}`),n=je({}),t=je(null),r=je("virtuoso-grid-item"),a=je("virtuoso-grid-list"),o=je(GP),l=je("div"),i=je(hd),s=(f,p=null)=>wa(ze(n,Xe(m=>m[f]),Zt()),p),c=je(!1),d=je(!1);return tn(hn(d),c),{readyStateChanged:c,reportReadyState:d,context:t,itemContent:e,components:n,computeItemKey:o,itemClassName:r,listClassName:a,headerFooterTag:l,scrollerRef:i,FooterComponent:s("Footer"),HeaderComponent:s("Header"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),ScrollerComponent:s("Scroller","div"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder","div")}}),aEe=ut(([e,n])=>({...e,...n}),nr(tEe,rEe)),oEe=ke.memo(function(){const n=cr("gridState"),t=cr("listClassName"),r=cr("itemClassName"),a=cr("itemContent"),o=cr("computeItemKey"),l=cr("isSeeking"),i=Go("scrollHeight"),s=cr("ItemComponent"),c=cr("ListComponent"),d=cr("ScrollSeekPlaceholder"),f=cr("context"),p=Go("itemDimensions"),m=Go("gap"),h=cr("log"),b=cr("stateRestoreInProgress"),y=Go("reportReadyState"),v=yd(ke.useMemo(()=>k=>{const w=k.parentElement.parentElement.scrollHeight;i(w);const x=k.firstChild;if(x){const{width:C,height:S}=x.getBoundingClientRect();p({width:C,height:S})}m({row:yN("row-gap",getComputedStyle(k).rowGap,h),column:yN("column-gap",getComputedStyle(k).columnGap,h)})},[i,p,m,h]),!0,!1);return n4(()=>{n.itemHeight>0&&n.itemWidth>0&&y(!0)},[n]),b?null:N.jsx(c,{ref:v,className:t,..._a(c,f),style:{paddingTop:n.offsetTop,paddingBottom:n.offsetBottom},"data-testid":"virtuoso-item-list",children:n.items.map(k=>{const w=o(k.index,k.data,f);return l?N.jsx(d,{..._a(d,f),index:k.index,height:n.itemHeight,width:n.itemWidth},w):g.createElement(s,{..._a(s,f),className:r,"data-index":k.index,key:w},a(k.index,k.data,f))})})}),lEe=ke.memo(function(){const n=cr("HeaderComponent"),t=Go("headerHeight"),r=cr("headerFooterTag"),a=yd(ke.useMemo(()=>l=>t(lc(l,"height")),[t]),!0,!1),o=cr("context");return n?N.jsx(r,{ref:a,children:N.jsx(n,{..._a(n,o)})}):null}),iEe=ke.memo(function(){const n=cr("FooterComponent"),t=Go("footerHeight"),r=cr("headerFooterTag"),a=yd(ke.useMemo(()=>l=>t(lc(l,"height")),[t]),!0,!1),o=cr("context");return n?N.jsx(r,{ref:a,children:N.jsx(n,{..._a(n,o)})}):null}),sEe=({children:e})=>{const n=ke.useContext(w4),t=Go("itemDimensions"),r=Go("viewportDimensions"),a=yd(ke.useMemo(()=>o=>{r(o.getBoundingClientRect())},[r]),!0,!1);return ke.useEffect(()=>{n&&(r({height:n.viewportHeight,width:n.viewportWidth}),t({height:n.itemHeight,width:n.itemWidth}))},[n,r,t]),N.jsx("div",{style:EC(!1),ref:a,children:e})},cEe=({children:e})=>{const n=ke.useContext(w4),t=Go("windowViewportRect"),r=Go("itemDimensions"),a=cr("customScrollParent"),o=C4(t,a,!1);return ke.useEffect(()=>{n&&(r({height:n.itemHeight,width:n.itemWidth}),t({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:n.viewportWidth}))},[n,t,r]),N.jsx("div",{ref:o,style:EC(!1),children:e})},uEe=ke.memo(function({...n}){const t=cr("useWindowScroll"),r=cr("customScrollParent"),a=r||t?fEe:dEe,o=r||t?cEe:sEe;return N.jsx(a,{...n,children:N.jsxs(o,{children:[N.jsx(lEe,{}),N.jsx(oEe,{}),N.jsx(iEe,{})]})})}),{usePublisher:Go,useEmitterValue:cr,useEmitter:E4}=e4(aEe,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",restoreStateFrom:"restoreStateFrom",initialTopMostItemIndex:"initialTopMostItemIndex",increaseViewportBy:"increaseViewportBy"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",stateChanged:"stateChanged",readyStateChanged:"readyStateChanged"}},uEe),dEe=T4({usePublisher:Go,useEmitterValue:cr,useEmitter:E4}),fEe=I4({usePublisher:Go,useEmitterValue:cr,useEmitter:E4});function yN(e,n,t){return n!=="normal"&&!n?.endsWith("px")&&t(`${e} was not resolved to pixel value correctly`,n,Co.WARN),n==="normal"?0:parseInt(n??"0",10)}const gEe=ut(()=>{const e=je(s=>N.jsxs("td",{children:["Item $",s]})),n=je(null),t=je(null),r=je(null),a=je({}),o=je(GP),l=je(hd),i=(s,c=null)=>wa(ze(a,Xe(d=>d[s]),Zt()),c);return{context:n,itemContent:e,fixedHeaderContent:t,fixedFooterContent:r,components:a,computeItemKey:o,scrollerRef:l,TableComponent:i("Table","table"),TableHeadComponent:i("TableHead","thead"),TableFooterComponent:i("TableFoot","tfoot"),TableBodyComponent:i("TableBody","tbody"),TableRowComponent:i("TableRow","tr"),ScrollerComponent:i("Scroller","div"),EmptyPlaceholder:i("EmptyPlaceholder"),ScrollSeekPlaceholder:i("ScrollSeekPlaceholder"),FillerRow:i("FillerRow")}});nr(v4,gEe);function Tc({innerListRef:e,scrollbarRef:n,headerElement:t,itemElement:r,initialScrollOffset:a,data:o,itemContent:l,computeItemKey:i,fixedItemSize:s,defaultItemSize:c,horizontalDirection:d,onScrollVirtualList:f,onEndReached:p}){const m=g.useRef(null),[h,b]=g.useState(null),[y,v]=Nee({defer:!1,options:{scrollbars:{autoHide:"leave"},overflow:{x:d?"scroll":"hidden",y:d?"hidden":"scroll"}}});return requestAnimationFrame(()=>{h&&a&&h.scrollTop!==a&&h.scrollTo(d?{left:a}:{top:a})}),v&&H5(n,v),g.useEffect(()=>(h&&m.current&&y({target:m.current,elements:{viewport:h}}),()=>{v()?.destroy()}),[h,y,v]),u("div",{ref:m,"data-overlayscrollbars":"",style:{width:"100%",height:"100%"},children:u(Z1e,{ref:e,totalCount:o.length,data:o,tabIndex:-1,itemContent:l,computeItemKey:i,fixedItemHeight:s,defaultItemHeight:c,horizontalDirection:d,increaseViewportBy:400,overscan:2,style:{width:"100%",height:"100%"},components:{Item:r,Header:t},scrollerRef:b,atBottomStateChange:k=>{k&&p?.(o.length-1||0)},endReached:p,onScroll:f})})}const P4=function(){var e={defaultValue:null,kind:"LocalArgument",name:"coordinate"},n={defaultValue:null,kind:"LocalArgument",name:"from"},t={defaultValue:null,kind:"LocalArgument",name:"stageId"},r={defaultValue:null,kind:"LocalArgument",name:"to"},a=[{kind:"Variable",name:"id",variableName:"stageId"}],o={kind:"Variable",name:"coordinate",variableName:"coordinate"},l={kind:"Variable",name:"from",variableName:"from"},i={kind:"Variable",name:"to",variableName:"to"},s=[o],c={alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},d=[l,i],f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},p=[l,{kind:"Literal",name:"resolution",value:50},i],m={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b=[h],y={kind:"InlineFragment",selections:b,type:"Node",abstractKey:"__isNode"},v={kind:"TypeDiscriminator",abstractKey:"__isGraphQLTypeSystemMember"},k={kind:"TypeDiscriminator",abstractKey:"__isCoordinateMetrics"},w={alias:null,args:null,kind:"ScalarField",name:"totalRequests",storageKey:null},x=[m,{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null}];return{fragment:{argumentDefinitions:[e,n,t,r],kind:"Fragment",metadata:null,name:"schemaInsightsContentQuery",selections:[{alias:null,args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:[o,l,i],kind:"FragmentSpread",name:"schemaInsightsLatencyTileFragment"}]},{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"coordinate",plural:!1,selections:[c,{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"schemaInsightsCoordinateUsageFragment"}]},{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"schemaInsightsCoordinateDetailsFragment"}]}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,t,n,r],kind:"Operation",name:"schemaInsightsContentQuery",selections:[{alias:null,args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"schemaInsightsContentQuery$defer$schemaInsightsContentQuery$defer$latency",selections:[{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"coordinate",plural:!1,selections:[f,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"metrics",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{alias:null,args:p,concreteType:"FieldDurationGraph",kind:"LinkedField",name:"duration",plural:!1,selections:[{alias:null,args:null,concreteType:"FieldDurationGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[m,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null}],type:"FieldCoordinateMetrics",abstractKey:null}],storageKey:null},y],storageKey:null},h]},{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"coordinate",plural:!1,selections:[f,c,{if:null,kind:"Defer",label:"schemaInsightsContentQuery$defer$schemaInsightsContentQuery$defer$metrics",selections:[v,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"metrics",plural:!1,selections:[f,{if:null,kind:"Defer",label:"schemaInsightsCoordinateUsageClientsFragment$defer$schemaInsightsCoordinateUsageClientsMetricsFragment$defer$metrics",selections:[k,{alias:null,args:d,concreteType:"CoordinateClientUsage",kind:"LinkedField",name:"clientUsages",plural:!0,selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:b,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalOperations",storageKey:null},w],storageKey:null}]},{kind:"InlineFragment",selections:[{alias:"isFieldCoordinateMetrics",args:null,kind:"ScalarField",name:"__typename",storageKey:null}],type:"FieldCoordinateMetrics",abstractKey:null},{if:null,kind:"Defer",label:"schemaInsightsCoordinateUsageFragment$defer$schemaInsightsRequestsTileFragment$defer$metrics",selections:[k,{alias:null,args:p,concreteType:"CoordinateRequestGraph",kind:"LinkedField",name:"requests",plural:!1,selections:[{alias:null,args:null,concreteType:"CoordinateRequestGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:x,storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"schemaInsightsCoordinateUsageFragment$defer$schemaInsightsUsagesTileFragment$defer$metrics",selections:[k,{alias:null,args:p,concreteType:"CoordinateUsageGraph",kind:"LinkedField",name:"usages",plural:!1,selections:[{alias:null,args:null,concreteType:"CoordinateUsageGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:x,storageKey:null}],storageKey:null}]}],storageKey:null}]},{if:null,kind:"Defer",label:"schemaInsightsContentQuery$defer$schemaInsightsContentQuery$defer$usage",selections:[v,{alias:null,args:d,concreteType:"CoordinateUsage",kind:"LinkedField",name:"usage",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"firstSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},w,{alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"meanDuration",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null}],storageKey:null}]},y],storageKey:null},h],storageKey:null}]},params:{id:"7fa0bf0ac322dd8409cc467df4d1d50a",metadata:{},name:"schemaInsightsContentQuery",operationKind:"query",text:null}}}();P4.hash="61c265cd519106c9d8a60f0ea487caa2";const R4=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"hash"},t={defaultValue:null,kind:"LocalArgument",name:"maxLatency"},r={defaultValue:null,kind:"LocalArgument",name:"minLatency"},a={defaultValue:null,kind:"LocalArgument",name:"operationName"},o={defaultValue:null,kind:"LocalArgument",name:"stageId"},l={defaultValue:null,kind:"LocalArgument",name:"to"},i=[{kind:"Variable",name:"id",variableName:"stageId"}],s={kind:"Variable",name:"from",variableName:"from"},c={kind:"Variable",name:"hash",variableName:"hash"},d={kind:"Variable",name:"operationName",variableName:"operationName"},f={kind:"Variable",name:"to",variableName:"to"},p=[s,c,d,f],m=[c,d],h={alias:null,args:null,kind:"ScalarField",name:"content",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"documentIds",storageKey:null},y={kind:"Variable",name:"maxLatency",variableName:"maxLatency"},v={kind:"Variable",name:"minLatency",variableName:"minLatency"},k=[s,f],w={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},x={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},C={alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},S={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a,o,l],kind:"Fragment",metadata:null,name:"operationMonitoringQuery",selections:[{alias:"stage",args:i,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:p,kind:"FragmentSpread",name:"operationLatencyTileFragment"}]},{kind:"Defer",selections:[{args:p,kind:"FragmentSpread",name:"operationThroughputTileFragment"}]},{kind:"Defer",selections:[{args:p,kind:"FragmentSpread",name:"operationErrorsTileFragment"}]},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:null,concreteType:"RequestDocument",kind:"LinkedField",name:"requestDocument",plural:!1,selections:[h,b],storageKey:null}],storageKey:null}],storageKey:null},{kind:"Defer",selections:[{args:[s,c,y,v,d,f],kind:"FragmentSpread",name:"operationLatencyHistogramTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[o,n,a,e,l,r,t],kind:"Operation",name:"operationMonitoringQuery",selections:[{alias:"stage",args:i,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationLatencyTileFragment_2yBxVd",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:k,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[w,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},x]},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationThroughputTileFragment_2yBxVd",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:k,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[w,{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},C,S],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationErrorsTileFragment_2yBxVd",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:k,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[w,S],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:null,concreteType:"RequestDocument",kind:"LinkedField",name:"requestDocument",plural:!1,selections:[h,b,x],storageKey:null}],storageKey:null}],storageKey:null},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationLatencyHistogramTileFragment_47zR0k",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:k,concreteType:"OperationLatencyDistributionGraph",kind:"LinkedField",name:"latencyDistribution",plural:!1,selections:[C,{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyDistributionGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"bin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorFrequency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"successFrequency",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{if:null,kind:"Defer",label:"operationLatencyHistogramTileFragment$defer$operationTraceSampleTileFragment_47zR0k",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:[s,y,v,f],concreteType:"OperationTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},x]}]},x],storageKey:null}]},params:{id:"ae611d1c40334f733e24097a49dd8152",metadata:{},name:"operationMonitoringQuery",operationKind:"query",text:null}}}();R4.hash="cf7d6a072bff54e099006cfa2c4adf98";const D4=g.memo(g.forwardRef(function({buildOption:n,style:t,onInit:r},a){const o=g.useRef(null),l=g.useRef(null),i=g.useRef(!1),s=g.useRef({}),c=$ee(),d=Oee();return g.useImperativeHandle(a,()=>({setOption:f=>{l.current&&l.current.setOption(f(s.current,d),!1)}}),[d]),g.useLayoutEffect(()=>{let f=0;function p(h){cancelAnimationFrame(f),i.current=!1,l.current=Kee(o.current,h),s.current=n(d),l.current.setOption(s.current,!1),r?.(l.current),f=requestAnimationFrame(()=>{f=requestAnimationFrame(()=>{i.current=!0})})}p(c.value());const m=c.subscribe(h=>{l.current?.dispose(),p(h)});return()=>{cancelAnimationFrame(f),m(),l.current?.dispose()}},[c,n,d,r]),mk(o,()=>{i.current&&l.current&&l.current.resize()}),u("div",{ref:o,style:t})})),ol=g.memo(g.forwardRef(function({buildOption:n,size:t="big",onInit:r},a){const o=g.useCallback(l=>pEe(n(l),t,l),[n,t]);return u(D4,{ref:a,buildOption:o,style:t==="mini"?{height:24,minWidth:60}:t==="mid"?{height:150,width:"100%"}:{height:250,width:"100%"},onInit:r})}));function pEe(e,n,t){return{...e,animation:!1,grid:n==="mini"?{top:3,bottom:0,left:0,right:0,...e.grid}:{top:40,bottom:0,left:10,right:20,containLabel:!0,...e.grid},legend:{...e.legend,textStyle:{fontFamily:Bi,fontSize:pb,color:t(r=>r.chart.axisLabel)}},tooltip:{...e.tooltip,backgroundColor:t(r=>r.components.tooltip),borderColor:t(r=>r.components.tooltipBorder),borderWidth:1,shadowColor:t(r=>r.base.shadow),shadowBlur:4,shadowOffsetX:0,shadowOffsetY:1,textStyle:{fontFamily:Bi,fontSize:pb,color:t(r=>r.components.tooltipText)}},visualMap:e.visualMap?{...e.visualMap,textStyle:{fontFamily:Bi,fontSize:pb,color:t(r=>r.chart.axisLabel)}}:void 0,xAxis:Array.isArray(e.xAxis)?e.xAxis.length?e.xAxis.map(r=>L0(t,r)):L0(t):L0(t,e.xAxis),yAxis:Array.isArray(e.yAxis)?e.yAxis.length?e.yAxis.map(r=>M0(t,r)):M0(t):M0(t,e.yAxis),axisPointer:{lineStyle:{color:t(r=>r.chart.marker)}}}}const _4=11;function L0(e,n){return{...n,axisLabel:{show:!0,fontFamily:Bi,fontSize:_4,color:e(t=>t.chart.axisLabel),margin:10,padding:[0,4],backgroundColor:"transparent",hideOverlap:!0,...n?.axisLabel??{}},axisLine:{show:!0,lineStyle:{color:e(t=>t.chart.axisLine)},...n?.axisLine},axisTick:{show:!0,lineStyle:{color:e(t=>t.chart.axisLine)},...n?.axisTick},splitLine:{show:!1,lineStyle:{type:"dashed",color:e(t=>t.chart.splitLine)},...n?.splitLine}}}function M0(e,n){return{...n,axisLabel:{show:!0,fontFamily:Bi,fontSize:_4,color:e(t=>t.chart.axisLabel),padding:[0,4],backgroundColor:"transparent",hideOverlap:!0,...n?.axisLabel??{}},axisLine:{show:!1,lineStyle:{color:e(t=>t.chart.axisLine)},...n?.axisLine},axisTick:{show:!1,lineStyle:{color:e(t=>t.chart.axisLine)},...n?.axisTick},splitLine:{show:!0,lineStyle:{type:"dashed",color:e(t=>t.chart.splitLine)},...n?.splitLine}}}function mEe({dataset:e}){const n=g.useCallback(t=>({grid:{bottom:0,right:8},legend:{show:!1},visualMap:{orient:"horizontal",top:0,left:"center",min:0,max:100,text:["High","Low"],inRange:{color:[t(r=>r.chart.low),t(r=>r.chart.high)]}},dataset:{source:e.map(({name:r,total:a,impact:o})=>({name:r,total:a,impact:o})),dimensions:["name","total","impact"]},xAxis:{type:"value",splitLine:{show:!0},axisLabel:{formatter(r){return St(r)}}},yAxis:{type:"category",splitLine:{show:!1}},series:[{type:"bar",encode:{x:"total",y:"name"},barMaxWidth:24,itemStyle:{borderRadius:[0,2,2,0]}}]}),[e]);return u(ol,{buildOption:n})}function Ic({header:e,children:n,disableScrolling:t}){return B(jt,{style:{zIndex:1},children:[e&&B(ye,{children:[u(Kr,{spacing:"right",children:e}),u(Dt,{})]}),u(ct,{children:u(g.Suspense,{fallback:u(wn,{}),children:t?u(Qo,{container:!0,sx:{flexGrow:1,flexShrink:1,flexBasis:"auto",flexDirection:"column",gap:20,minWidth:450,padding:20},children:n}):u(ro,{children:u(Qo,{container:!0,sx:{gap:20,minWidth:450,padding:20},children:n})})})})]})}function Je({title:e,subheader:n,action:t,content:r,size:a,minHeight:o,noPadding:l}){return u(Qo,{sx:i=>({display:"flex",flexDirection:"column",flexGrow:1,flexShrink:1,flexBasis:"calc("+hEe(a)+`% - ${i.spacing(20)})`,minWidth:320,overflow:"visible"}),children:B(iE,{style:{minHeight:o},children:[(e||n||t)&&u(VT,{title:e,subheader:n,action:t&&u(yEe,{children:t})}),u(cv,{className:l?"no-padding":void 0,sx:{pt:0},children:r})]})})}function hEe(e){return e&&e<12?100/12*e:100}const PC=q("div")(({theme:e,$disableXPadding:n,$paddingBottom:t})=>ce`
|
|
1077
|
+
`),xC=0,Sc=1,Tg=2,Yj=4;function Xj(e,n){return t=>e(n(t))}function GFe(e,n){return n(e)}function Zj(e,n){return t=>e(n,t)}function ZA(e,n){return()=>e(n)}function TC(e,n){return n(e),e}function nr(...e){return e}function jFe(e){e()}function JA(e){return()=>e}function UFe(...e){return()=>{e.map(jFe)}}function AP(e){return e!==void 0}function hd(){}function ht(e,n){return e(Sc,n)}function An(e,n){e(xC,n)}function NP(e){e(Tg)}function Sa(e){return e(Yj)}function tn(e,n){return ht(e,Zj(n,xC))}function ci(e,n){const t=e(Sc,r=>{t(),n(r)});return t}function Xn(){const e=[];return(n,t)=>{switch(n){case Tg:e.splice(0,e.length);return;case Sc:return e.push(t),()=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)};case xC:e.slice().forEach(r=>{r(t)});return;default:throw new Error(`unrecognized action ${n}`)}}}function je(e){let n=e;const t=Xn();return(r,a)=>{switch(r){case Sc:a(n);break;case xC:n=a;break;case Yj:return n}return t(r,a)}}function qFe(e){let n,t;const r=()=>n&&n();return function(a,o){switch(a){case Sc:return o?t===o?void 0:(r(),t=o,n=ht(e,o),n):(r(),hd);case Tg:r(),t=null;return;default:throw new Error(`unrecognized action ${a}`)}}}function ko(e){return TC(Xn(),n=>tn(e,n))}function wa(e,n){return TC(je(n),t=>tn(e,t))}function WFe(...e){return n=>e.reduceRight(GFe,n)}function ze(e,...n){const t=WFe(...n);return(r,a)=>{switch(r){case Sc:return ht(e,t(a));case Tg:NP(e);return}}}function Jj(e,n){return e===n}function Zt(e=Jj){let n;return t=>r=>{e(n,r)||(n=r,t(r))}}function yn(e){return n=>t=>{e(t)&&n(t)}}function Xe(e){return n=>Xj(n,e)}function Wl(e){return n=>()=>n(e)}function Zl(e,n){return t=>r=>t(n=e(n,r))}function Af(e){return n=>t=>{e>0?e--:n(t)}}function js(e){let n=null,t;return r=>a=>{n=a,!t&&(t=setTimeout(()=>{t=void 0,r(n)},e))}}function eN(e){let n,t;return r=>a=>{n=a,t&&clearTimeout(t),t=setTimeout(()=>{r(n)},e)}}function On(...e){const n=new Array(e.length);let t=0,r=null;const a=Math.pow(2,e.length)-1;return e.forEach((o,l)=>{const i=Math.pow(2,l);ht(o,s=>{const c=t;t=t|i,n[l]=s,c!==a&&t===a&&r&&(r(),r=null)})}),o=>l=>{const i=()=>o([l].concat(n));t===a?i():r=i}}function nN(...e){return function(n,t){switch(n){case Sc:return UFe(...e.map(r=>ht(r,t)));case Tg:return;default:throw new Error(`unrecognized action ${n}`)}}}function hn(e,n=Jj){return ze(e,Zt(n))}function Zr(...e){const n=Xn(),t=new Array(e.length);let r=0;const a=Math.pow(2,e.length)-1;return e.forEach((o,l)=>{const i=Math.pow(2,l);ht(o,s=>{t[l]=s,r=r|i,r===a&&An(n,t)})}),function(o,l){switch(o){case Sc:return r===a&&l(t),ht(n,l);case Tg:return NP(n);default:throw new Error(`unrecognized action ${o}`)}}}function ut(e,n=[],{singleton:t}={singleton:!0}){return{id:QFe(),constructor:e,dependencies:n,singleton:t}}const QFe=()=>Symbol();function YFe(e){const n=new Map,t=({id:r,constructor:a,dependencies:o,singleton:l})=>{if(l&&n.has(r))return n.get(r);const i=a(o.map(s=>t(s)));return l&&n.set(r,i),i};return t(e)}function XFe(e,n){const t={},r={};let a=0;const o=e.length;for(;a<o;)r[e[a]]=1,a+=1;for(const l in n)r.hasOwnProperty(l)||(t[l]=n[l]);return t}const iy=typeof document<"u"?ke.useLayoutEffect:ke.useEffect;function e4(e,n,t){const r=Object.keys(n.required||{}),a=Object.keys(n.optional||{}),o=Object.keys(n.methods||{}),l=Object.keys(n.events||{}),i=ke.createContext({});function s(v,k){v.propsReady&&An(v.propsReady,!1);for(const w of r){const x=v[n.required[w]];An(x,k[w])}for(const w of a)if(w in k){const x=v[n.optional[w]];An(x,k[w])}v.propsReady&&An(v.propsReady,!0)}function c(v){return o.reduce((k,w)=>(k[w]=x=>{const C=v[n.methods[w]];An(C,x)},k),{})}function d(v){return l.reduce((k,w)=>(k[w]=qFe(v[n.events[w]]),k),{})}const f=ke.forwardRef((v,k)=>{const{children:w,...x}=v,[C]=ke.useState(()=>TC(YFe(e),F=>s(F,x))),[S]=ke.useState(ZA(d,C));iy(()=>{for(const F of l)F in x&&ht(S[F],x[F]);return()=>{Object.values(S).map(NP)}},[x,S,C]),iy(()=>{s(C,x)}),ke.useImperativeHandle(k,JA(c(C)));const T=t;return N.jsx(i.Provider,{value:C,children:t?N.jsx(T,{...XFe([...r,...a,...l],x),children:w}):w})}),p=v=>ke.useCallback(Zj(An,ke.useContext(i)[v]),[v]),m=v=>{const w=ke.useContext(i)[v],x=ke.useCallback(C=>ht(w,C),[w]);return ke.useSyncExternalStore(x,()=>Sa(w),()=>Sa(w))},h=v=>{const w=ke.useContext(i)[v],[x,C]=ke.useState(ZA(Sa,w));return iy(()=>ht(w,S=>{S!==x&&C(JA(S))}),[w,x]),x},b=ke.version.startsWith("18")?m:h;return{Component:f,usePublisher:p,useEmitterValue:b,useEmitter:(v,k)=>{const x=ke.useContext(i)[v];iy(()=>ht(x,k),[k,x])}}}const n4=typeof document<"u"?ke.useLayoutEffect:ke.useEffect;var Co=(e=>(e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR",e))(Co||{});const ZFe={0:"debug",1:"log",2:"warn",3:"error"},JFe=()=>typeof globalThis>"u"?window:globalThis,wc=ut(()=>{const e=je(3);return{log:je((t,r,a=1)=>{var o;const l=(o=JFe().VIRTUOSO_LOG_LEVEL)!=null?o:Sa(e);a>=l&&console[ZFe[a]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,r)}),logLevel:e}},[],{singleton:!0});function $P(e,n,t){const r=ke.useRef(null);let a=o=>{};if(typeof ResizeObserver<"u"){const o=ke.useMemo(()=>new ResizeObserver(l=>{const i=()=>{const s=l[0].target;s.offsetParent!==null&&e(s)};t?i():requestAnimationFrame(i)}),[e]);a=l=>{l&&n?(o.observe(l),r.current=l):(r.current&&o.unobserve(r.current),r.current=null)}}return{ref:r,callbackRef:a}}function yd(e,n,t){return $P(e,n,t).callbackRef}function e1e(e,n,t,r,a,o,l,i,s){const c=ke.useCallback(d=>{const f=n1e(d.children,n,i?"offsetWidth":"offsetHeight",a);let p=d.parentElement;for(;!p.dataset.virtuosoScroller;)p=p.parentElement;const m=p.lastElementChild.dataset.viewportType==="window",h=l?i?l.scrollLeft:l.scrollTop:m?i?window.pageXOffset||document.documentElement.scrollLeft:window.pageYOffset||document.documentElement.scrollTop:i?p.scrollLeft:p.scrollTop,b=l?i?l.scrollWidth:l.scrollHeight:m?i?document.documentElement.scrollWidth:document.documentElement.scrollHeight:i?p.scrollWidth:p.scrollHeight,y=l?i?l.offsetWidth:l.offsetHeight:m?i?window.innerWidth:window.innerHeight:i?p.offsetWidth:p.offsetHeight;r({scrollTop:Math.max(h,0),scrollHeight:b,viewportHeight:y}),o?.(i?tN("column-gap",getComputedStyle(d).columnGap,a):tN("row-gap",getComputedStyle(d).rowGap,a)),f!==null&&e(f)},[e,n,a,o,l,r]);return $P(c,t,s)}function n1e(e,n,t,r){const a=e.length;if(a===0)return null;const o=[];for(let l=0;l<a;l++){const i=e.item(l);if(!i||i.dataset.index===void 0)continue;const s=parseInt(i.dataset.index),c=parseFloat(i.dataset.knownSize),d=n(i,t);if(d===0&&r("Zero-sized element, this should not happen",{child:i},Co.ERROR),d===c)continue;const f=o[o.length-1];o.length===0||f.size!==d||f.endIndex!==s-1?o.push({startIndex:s,endIndex:s,size:d}):o[o.length-1].endIndex++}return o}function tN(e,n,t){return n!=="normal"&&!n?.endsWith("px")&&t(`${e} was not resolved to pixel value correctly`,n,Co.WARN),n==="normal"?0:parseInt(n??"0",10)}function lc(e,n){return Math.round(e.getBoundingClientRect()[n])}function t4(e,n){return Math.abs(e-n)<1.01}function r4(e,n,t,r=hd,a,o){const l=ke.useRef(null),i=ke.useRef(null),s=ke.useRef(null),c=ke.useCallback(p=>{const m=p.target,h=m===window||m===document,b=o?h?window.pageXOffset||document.documentElement.scrollLeft:m.scrollLeft:h?window.pageYOffset||document.documentElement.scrollTop:m.scrollTop,y=o?h?document.documentElement.scrollWidth:m.scrollWidth:h?document.documentElement.scrollHeight:m.scrollHeight,v=o?h?window.innerWidth:m.offsetWidth:h?window.innerHeight:m.offsetHeight,k=()=>{e({scrollTop:Math.max(b,0),scrollHeight:y,viewportHeight:v})};p.suppressFlushSync?k():Aee.flushSync(k),i.current!==null&&(b===i.current||b<=0||b===y-v)&&(i.current=null,n(!0),s.current&&(clearTimeout(s.current),s.current=null))},[e,n]);ke.useEffect(()=>{const p=a||l.current;return r(a||l.current),c({target:p,suppressFlushSync:!0}),p.addEventListener("scroll",c,{passive:!0}),()=>{r(null),p.removeEventListener("scroll",c)}},[l,c,t,r,a]);function d(p){const m=l.current;if(!m||(o?"offsetWidth"in m&&m.offsetWidth===0:"offsetHeight"in m&&m.offsetHeight===0))return;const h=p.behavior==="smooth";let b,y,v;m===window?(y=Math.max(lc(document.documentElement,o?"width":"height"),o?document.documentElement.scrollWidth:document.documentElement.scrollHeight),b=o?window.innerWidth:window.innerHeight,v=o?document.documentElement.scrollLeft:document.documentElement.scrollTop):(y=m[o?"scrollWidth":"scrollHeight"],b=lc(m,o?"width":"height"),v=m[o?"scrollLeft":"scrollTop"]);const k=y-b;if(p.top=Math.ceil(Math.max(Math.min(k,p.top),0)),t4(b,y)||p.top===v){e({scrollTop:v,scrollHeight:y,viewportHeight:b}),h&&n(!0);return}h?(i.current=p.top,s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{s.current=null,i.current=null,n(!0)},1e3)):i.current=null,o&&(p={left:p.top,behavior:p.behavior}),m.scrollTo(p)}function f(p){o&&(p={left:p.top,behavior:p.behavior}),l.current.scrollBy(p)}return{scrollerRef:l,scrollByCallback:f,scrollToCallback:d}}const Va=ut(()=>{const e=Xn(),n=Xn(),t=je(0),r=Xn(),a=je(0),o=Xn(),l=Xn(),i=je(0),s=je(0),c=je(0),d=je(0),f=Xn(),p=Xn(),m=je(!1),h=je(!1),b=je(!1);return tn(ze(e,Xe(({scrollTop:y})=>y)),n),tn(ze(e,Xe(({scrollHeight:y})=>y)),l),tn(n,a),{scrollContainerState:e,scrollTop:n,viewportHeight:o,headerHeight:i,fixedHeaderHeight:s,fixedFooterHeight:c,footerHeight:d,scrollHeight:l,smoothScrollTargetReached:r,horizontalDirection:h,skipAnimationFrameInResizeObserver:b,scrollTo:f,scrollBy:p,statefulScrollTop:a,deviation:t,scrollingInProgress:m}},[],{singleton:!0}),nm={lvl:0};function a4(e,n,t,r=nm,a=nm){return{k:e,v:n,lvl:t,l:r,r:a}}function Et(e){return e===nm}function yf(){return nm}function BI(e,n){if(Et(e))return nm;const{k:t,l:r,r:a}=e;if(n===t){if(Et(r))return a;if(Et(a))return r;{const[o,l]=o4(r);return Mb(zr(e,{k:o,v:l,l:l4(r)}))}}else return n<t?Mb(zr(e,{l:BI(r,n)})):Mb(zr(e,{r:BI(a,n)}))}function tm(e,n){if(!Et(e))return n===e.k?e.v:n<e.k?tm(e.l,n):tm(e.r,n)}function Il(e,n,t="k"){if(Et(e))return[-1/0,void 0];if(Number(e[t])===n)return[e.k,e.v];if(Number(e[t])<n){const r=Il(e.r,n,t);return r[0]===-1/0?[e.k,e.v]:r}return Il(e.l,n,t)}function ho(e,n,t){return Et(e)?a4(n,t,1):n===e.k?zr(e,{k:n,v:t}):n<e.k?rN(zr(e,{l:ho(e.l,n,t)})):rN(zr(e,{r:ho(e.r,n,t)}))}function GI(e,n,t){if(Et(e))return[];const{k:r,v:a,l:o,r:l}=e;let i=[];return r>n&&(i=i.concat(GI(o,n,t))),r>=n&&r<=t&&i.push({k:r,v:a}),r<=t&&(i=i.concat(GI(l,n,t))),i}function nu(e){return Et(e)?[]:[...nu(e.l),{k:e.k,v:e.v},...nu(e.r)]}function o4(e){return Et(e.r)?[e.k,e.v]:o4(e.r)}function l4(e){return Et(e.r)?e.l:Mb(zr(e,{r:l4(e.r)}))}function zr(e,n){return a4(n.k!==void 0?n.k:e.k,n.v!==void 0?n.v:e.v,n.lvl!==void 0?n.lvl:e.lvl,n.l!==void 0?n.l:e.l,n.r!==void 0?n.r:e.r)}function P0(e){return Et(e)||e.lvl>e.r.lvl}function rN(e){return jI(s4(e))}function Mb(e){const{l:n,r:t,lvl:r}=e;if(t.lvl>=r-1&&n.lvl>=r-1)return e;if(r>t.lvl+1){if(P0(n))return s4(zr(e,{lvl:r-1}));if(!Et(n)&&!Et(n.r))return zr(n.r,{l:zr(n,{r:n.r.l}),r:zr(e,{l:n.r.r,lvl:r-1}),lvl:r});throw new Error("Unexpected empty nodes")}else{if(P0(e))return jI(zr(e,{lvl:r-1}));if(!Et(t)&&!Et(t.l)){const a=t.l,o=P0(a)?t.lvl-1:t.lvl;return zr(a,{l:zr(e,{r:a.l,lvl:r-1}),r:jI(zr(t,{l:a.r,lvl:o})),lvl:a.lvl+1})}else throw new Error("Unexpected empty nodes")}}function IC(e,n,t){if(Et(e))return[];const r=Il(e,n)[0];return t1e(GI(e,r,t))}function i4(e,n){const t=e.length;if(t===0)return[];let{index:r,value:a}=n(e[0]);const o=[];for(let l=1;l<t;l++){const{index:i,value:s}=n(e[l]);o.push({start:r,end:i-1,value:a}),r=i,a=s}return o.push({start:r,end:1/0,value:a}),o}function t1e(e){return i4(e,({k:n,v:t})=>({index:n,value:t}))}function jI(e){const{r:n,lvl:t}=e;return!Et(n)&&!Et(n.r)&&n.lvl===t&&n.r.lvl===t?zr(n,{l:zr(e,{r:n.l}),lvl:t+1}):e}function s4(e){const{l:n}=e;return!Et(n)&&n.lvl===e.lvl?zr(n,{r:zr(e,{l:n.r})}):e}function Sv(e,n,t,r=0){let a=e.length-1;for(;r<=a;){const o=Math.floor((r+a)/2),l=e[o],i=t(l,n);if(i===0)return o;if(i===-1){if(a-r<2)return o-1;a=o-1}else{if(a===r)return o;r=o+1}}throw new Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${n}`)}function c4(e,n,t){return e[Sv(e,n,t)]}function r1e(e,n,t,r){const a=Sv(e,n,r),o=Sv(e,t,r,a);return e.slice(a,o+1)}const OP=ut(()=>({recalcInProgress:je(!1)}),[],{singleton:!0});function a1e(e){const{size:n,startIndex:t,endIndex:r}=e;return a=>a.start===t&&(a.end===r||a.end===1/0)&&a.value===n}function aN(e,n){let t=0,r=0;for(;t<e;)t+=n[r+1]-n[r]-1,r++;return r-(t===e?0:1)}function o1e(e,n){let t=Et(e)?0:1/0;for(const r of n){const{size:a,startIndex:o,endIndex:l}=r;if(t=Math.min(t,o),Et(e)){e=ho(e,0,a);continue}const i=IC(e,o-1,l+1);if(i.some(a1e(r)))continue;let s=!1,c=!1;for(const{start:d,end:f,value:p}of i)s?(l>=d||a===p)&&(e=BI(e,d)):(c=p!==a,s=!0),f>l&&l>=d&&p!==a&&(e=ho(e,l+1,p));c&&(e=ho(e,o,a))}return[e,t]}function l1e(){return{offsetTree:[],sizeTree:yf(),groupOffsetTree:yf(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]}}function KP({index:e},n){return n===e?0:n<e?-1:1}function i1e({offset:e},n){return n===e?0:n<e?-1:1}function s1e(e){return{index:e.index,value:e}}function c1e(e,n,t,r=0){return r>0&&(n=Math.max(n,c4(e,r,KP).offset)),i4(r1e(e,n,t,i1e),s1e)}function UI(e,n,t,r){let a=e,o=0,l=0,i=0,s=0;if(n!==0){s=Sv(a,n-1,KP),i=a[s].offset;const d=Il(t,n-1);o=d[0],l=d[1],a.length&&a[s].size===Il(t,n)[1]&&(s-=1),a=a.slice(0,s+1)}else a=[];for(const{start:c,value:d}of IC(t,n,1/0)){const f=c-o,p=f*l+i+f*r;a.push({offset:p,size:d,index:c}),o=c,i=p,l=d}return{offsetTree:a,lastIndex:o,lastOffset:i,lastSize:l}}function u1e(e,[n,t,r,a]){n.length>0&&r("received item sizes",n,Co.DEBUG);const o=e.sizeTree;let l=o,i=0;if(t.length>0&&Et(o)&&n.length===2){const p=n[0].size,m=n[1].size;l=t.reduce((h,b)=>ho(ho(h,b,p),b+1,m),l)}else[l,i]=o1e(l,n);if(l===o)return e;const{offsetTree:s,lastIndex:c,lastSize:d,lastOffset:f}=UI(e.offsetTree,i,l,a);return{sizeTree:l,offsetTree:s,lastIndex:c,lastOffset:f,lastSize:d,groupOffsetTree:t.reduce((p,m)=>ho(p,m,rm(m,s,a)),yf()),groupIndices:t}}function rm(e,n,t){if(n.length===0)return 0;const{offset:r,index:a,size:o}=c4(n,e,KP),l=e-a,i=o*l+(l-1)*t+r;return i>0?i+t:i}function d1e(e){return typeof e.groupIndex<"u"}function u4(e,n,t){if(d1e(e))return n.groupIndices[e.groupIndex]+1;{const r=e.index==="LAST"?t:e.index;let a=d4(r,n);return a=Math.max(0,a,Math.min(t,a)),a}}function d4(e,n){if(!FC(n))return e;let t=0;for(;n.groupIndices[t]<=e+t;)t++;return e+t}function FC(e){return!Et(e.groupOffsetTree)}function f1e(e){return nu(e).map(({k:n,v:t},r,a)=>{const o=a[r+1],l=o?o.k-1:1/0;return{startIndex:n,endIndex:l,size:t}})}const g1e={offsetHeight:"height",offsetWidth:"width"},bi=ut(([{log:e},{recalcInProgress:n}])=>{const t=Xn(),r=Xn(),a=wa(r,0),o=Xn(),l=Xn(),i=je(0),s=je([]),c=je(void 0),d=je(void 0),f=je((C,S)=>lc(C,g1e[S])),p=je(void 0),m=je(0),h=l1e(),b=wa(ze(t,On(s,e,m),Zl(u1e,h),Zt()),h),y=wa(ze(s,Zt(),Zl((C,S)=>({prev:C.current,current:S}),{prev:[],current:[]}),Xe(({prev:C})=>C)),[]);tn(ze(s,yn(C=>C.length>0),On(b,m),Xe(([C,S,T])=>{const F=C.reduce((I,E,P)=>ho(I,E,rm(E,S.offsetTree,T)||P),yf());return{...S,groupIndices:C,groupOffsetTree:F}})),b),tn(ze(r,On(b),yn(([C,{lastIndex:S}])=>C<S),Xe(([C,{lastIndex:S,lastSize:T}])=>[{startIndex:C,endIndex:S,size:T}])),t),tn(c,d);const v=wa(ze(c,Xe(C=>C===void 0)),!0);tn(ze(d,yn(C=>C!==void 0&&Et(Sa(b).sizeTree)),Xe(C=>[{startIndex:0,endIndex:0,size:C}])),t);const k=ko(ze(t,On(b),Zl(({sizes:C},[S,T])=>({changed:T!==C,sizes:T}),{changed:!1,sizes:h}),Xe(C=>C.changed)));ht(ze(i,Zl((C,S)=>({diff:C.prev-S,prev:S}),{diff:0,prev:0}),Xe(C=>C.diff)),C=>{const{groupIndices:S}=Sa(b);if(C>0)An(n,!0),An(o,C+aN(C,S));else if(C<0){const T=Sa(y);T.length>0&&(C-=aN(-C,T)),An(l,C)}}),ht(ze(i,On(e)),([C,S])=>{C<0&&S("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:i},Co.ERROR)});const w=ko(o);tn(ze(o,On(b),Xe(([C,S])=>{const T=S.groupIndices.length>0,F=[],I=S.lastSize;if(T){const E=tm(S.sizeTree,0);let P=0,R=0;for(;P<C;){const V=S.groupIndices[R],O=S.groupIndices.length===R+1?1/0:S.groupIndices[R+1]-V-1;F.push({startIndex:V,endIndex:V,size:E}),F.push({startIndex:V+1,endIndex:V+1+O-1,size:I}),R++,P+=O+1}const _=nu(S.sizeTree);return P!==C&&_.shift(),_.reduce((V,{k:O,v:H})=>{let U=V.ranges;return V.prevSize!==0&&(U=[...V.ranges,{startIndex:V.prevIndex,endIndex:O+C-1,size:V.prevSize}]),{ranges:U,prevIndex:O+C,prevSize:H}},{ranges:F,prevIndex:C,prevSize:0}).ranges}return nu(S.sizeTree).reduce((E,{k:P,v:R})=>({ranges:[...E.ranges,{startIndex:E.prevIndex,endIndex:P+C-1,size:E.prevSize}],prevIndex:P+C,prevSize:R}),{ranges:[],prevIndex:0,prevSize:I}).ranges})),t);const x=ko(ze(l,On(b,m),Xe(([C,{offsetTree:S},T])=>{const F=-C;return rm(F,S,T)})));return tn(ze(l,On(b,m),Xe(([C,S,T])=>{if(S.groupIndices.length>0){if(Et(S.sizeTree))return S;let I=yf();const E=Sa(y);let P=0,R=0,_=0;for(;P<-C;){_=E[R];const V=E[R+1]-_-1;R++,P+=V+1}if(I=nu(S.sizeTree).reduce((V,{k:O,v:H})=>ho(V,Math.max(0,O+C),H),I),P!==-C){const V=tm(S.sizeTree,_);I=ho(I,0,V);const O=Il(S.sizeTree,-C+1)[1];I=ho(I,1,O)}return{...S,sizeTree:I,...UI(S.offsetTree,0,I,T)}}else{const I=nu(S.sizeTree).reduce((E,{k:P,v:R})=>ho(E,Math.max(0,P+C),R),yf());return{...S,sizeTree:I,...UI(S.offsetTree,0,I,T)}}})),b),{data:p,totalCount:r,sizeRanges:t,groupIndices:s,defaultItemSize:d,fixedItemSize:c,unshiftWith:o,shiftWith:l,shiftWithOffset:x,beforeUnshiftWith:w,firstItemIndex:i,gap:m,sizes:b,listRefresh:k,statefulTotalCount:a,trackItemSizes:v,itemSize:f}},nr(wc,OP),{singleton:!0}),p1e=typeof document<"u"&&"scrollBehavior"in document.documentElement.style;function f4(e){const n=typeof e=="number"?{index:e}:e;return n.align||(n.align="start"),(!n.behavior||!p1e)&&(n.behavior="auto"),n.offset||(n.offset=0),n}const dh=ut(([{sizes:e,totalCount:n,listRefresh:t,gap:r},{scrollingInProgress:a,viewportHeight:o,scrollTo:l,smoothScrollTargetReached:i,headerHeight:s,footerHeight:c,fixedHeaderHeight:d,fixedFooterHeight:f},{log:p}])=>{const m=Xn(),h=Xn(),b=je(0);let y=null,v=null,k=null;function w(){y&&(y(),y=null),k&&(k(),k=null),v&&(clearTimeout(v),v=null),An(a,!1)}return tn(ze(m,On(e,o,n,b,s,c,p),On(r,d,f),Xe(([[x,C,S,T,F,I,E,P],R,_,M])=>{const V=f4(x),{align:O,behavior:H,offset:U}=V,z=T-1,K=u4(V,C,z);let A=rm(K,C.offsetTree,R)+I;O==="end"?(A+=_+Il(C.sizeTree,K)[1]-S+M,K===z&&(A+=E)):O==="center"?A+=(_+Il(C.sizeTree,K)[1]-S+M)/2:A-=F,U&&(A+=U);const j=$=>{w(),$?(P("retrying to scroll to",{location:x},Co.DEBUG),An(m,x)):(An(h,!0),P("list did not change, scroll successful",{},Co.DEBUG))};if(w(),H==="smooth"){let $=!1;k=ht(t,L=>{$=$||L}),y=ci(i,()=>{j($)})}else y=ci(ze(t,m1e(150)),j);return v=setTimeout(()=>{w()},1200),An(a,!0),P("scrolling from index to",{index:K,top:A,behavior:H},Co.DEBUG),{top:A,behavior:H}})),l),{scrollToIndex:m,scrollTargetReached:h,topListHeight:b}},nr(bi,Va,wc),{singleton:!0});function m1e(e){return n=>{const t=setTimeout(()=>{n(!1)},e);return r=>{r&&(n(!0),clearTimeout(t))}}}const am="up",Lp="down",h1e="none",y1e={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},b1e=0,fh=ut(([{scrollContainerState:e,scrollTop:n,viewportHeight:t,headerHeight:r,footerHeight:a,scrollBy:o}])=>{const l=je(!1),i=je(!0),s=Xn(),c=Xn(),d=je(4),f=je(b1e),p=wa(ze(nN(ze(hn(n),Af(1),Wl(!0)),ze(hn(n),Af(1),Wl(!1),eN(100))),Zt()),!1),m=wa(ze(nN(ze(o,Wl(!0)),ze(o,Wl(!1),eN(200))),Zt()),!1);tn(ze(Zr(hn(n),hn(f)),Xe(([k,w])=>k<=w),Zt()),i),tn(ze(i,js(50)),c);const h=ko(ze(Zr(e,hn(t),hn(r),hn(a),hn(d)),Zl((k,[{scrollTop:w,scrollHeight:x},C,S,T,F])=>{const I=w+C-x>-F,E={viewportHeight:C,scrollTop:w,scrollHeight:x};if(I){let R,_;return w>k.state.scrollTop?(R="SCROLLED_DOWN",_=k.state.scrollTop-w):(R="SIZE_DECREASED",_=k.state.scrollTop-w||k.scrollTopDelta),{atBottom:!0,state:E,atBottomBecause:R,scrollTopDelta:_}}let P;return E.scrollHeight>k.state.scrollHeight?P="SIZE_INCREASED":C<k.state.viewportHeight?P="VIEWPORT_HEIGHT_DECREASING":w<k.state.scrollTop?P="SCROLLING_UPWARDS":P="NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",{atBottom:!1,notAtBottomBecause:P,state:E}},y1e),Zt((k,w)=>k&&k.atBottom===w.atBottom))),b=wa(ze(e,Zl((k,{scrollTop:w,scrollHeight:x,viewportHeight:C})=>{if(t4(k.scrollHeight,x))return{scrollTop:w,scrollHeight:x,jump:0,changed:!1};{const S=x-(w+C)<1;return k.scrollTop!==w&&S?{scrollHeight:x,scrollTop:w,jump:k.scrollTop-w,changed:!0}:{scrollHeight:x,scrollTop:w,jump:0,changed:!0}}},{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),yn(k=>k.changed),Xe(k=>k.jump)),0);tn(ze(h,Xe(k=>k.atBottom)),l),tn(ze(l,js(50)),s);const y=je(Lp);tn(ze(e,Xe(({scrollTop:k})=>k),Zt(),Zl((k,w)=>Sa(m)?{direction:k.direction,prevScrollTop:w}:{direction:w<k.prevScrollTop?am:Lp,prevScrollTop:w},{direction:Lp,prevScrollTop:0}),Xe(k=>k.direction)),y),tn(ze(e,js(50),Wl(h1e)),y);const v=je(0);return tn(ze(p,yn(k=>!k),Wl(0)),v),tn(ze(n,js(100),On(p),yn(([k,w])=>!!w),Zl(([k,w],[x])=>[w,x],[0,0]),Xe(([k,w])=>w-k)),v),{isScrolling:p,isAtTop:i,isAtBottom:l,atBottomState:h,atTopStateChange:c,atBottomStateChange:s,scrollDirection:y,atBottomThreshold:d,atTopThreshold:f,scrollVelocity:v,lastJumpDueToItemResize:b}},nr(Va)),xc=ut(([{log:e}])=>{const n=je(!1),t=ko(ze(n,yn(r=>r),Zt()));return ht(n,r=>{r&&Sa(e)("props updated",{},Co.DEBUG)}),{propsReady:n,didMount:t}},nr(wc),{singleton:!0});function VP(e,n){e==0?n():requestAnimationFrame(()=>VP(e-1,n))}function HP(e,n){const t=n-1;return typeof e=="number"?e:e.index==="LAST"?t:e.index}const gh=ut(([{sizes:e,listRefresh:n,defaultItemSize:t},{scrollTop:r},{scrollToIndex:a,scrollTargetReached:o},{didMount:l}])=>{const i=je(!0),s=je(0),c=je(!0);return tn(ze(l,On(s),yn(([d,f])=>!!f),Wl(!1)),i),tn(ze(l,On(s),yn(([d,f])=>!!f),Wl(!1)),c),ht(ze(Zr(n,l),On(i,e,t,c),yn(([[,d],f,{sizeTree:p},m,h])=>d&&(!Et(p)||AP(m))&&!f&&!h),On(s)),([,d])=>{ci(o,()=>{An(c,!0)}),VP(4,()=>{ci(r,()=>{An(i,!0)}),An(a,d)})}),{scrolledToInitialItem:i,initialTopMostItemIndex:s,initialItemFinalLocationReached:c}},nr(bi,Va,dh,xc),{singleton:!0});function oN(e){return e?e==="smooth"?"smooth":"auto":!1}const v1e=(e,n)=>typeof e=="function"?oN(e(n)):n&&oN(e),k1e=ut(([{totalCount:e,listRefresh:n},{isAtBottom:t,atBottomState:r},{scrollToIndex:a},{scrolledToInitialItem:o},{propsReady:l,didMount:i},{log:s},{scrollingInProgress:c}])=>{const d=je(!1),f=Xn();let p=null;function m(b){An(a,{index:"LAST",align:"end",behavior:b})}ht(ze(Zr(ze(hn(e),Af(1)),i),On(hn(d),t,o,c),Xe(([[b,y],v,k,w,x])=>{let C=y&&w,S="auto";return C&&(S=v1e(v,k||x),C=C&&!!S),{totalCount:b,shouldFollow:C,followOutputBehavior:S}}),yn(({shouldFollow:b})=>b)),({totalCount:b,followOutputBehavior:y})=>{p&&(p(),p=null),p=ci(n,()=>{Sa(s)("following output to ",{totalCount:b},Co.DEBUG),m(y),p=null})});function h(b){const y=ci(r,v=>{b&&!v.atBottom&&v.notAtBottomBecause==="SIZE_INCREASED"&&!p&&(Sa(s)("scrolling to bottom due to increased size",{},Co.DEBUG),m("auto"))});setTimeout(y,100)}return ht(ze(Zr(hn(d),e,l),yn(([b,,y])=>b&&y),Zl(({value:b},[,y])=>({refreshed:b===y,value:y}),{refreshed:!1,value:0}),yn(({refreshed:b})=>b),On(d,e)),([,b])=>{Sa(o)&&h(b!==!1)}),ht(f,()=>{h(Sa(d)!==!1)}),ht(Zr(hn(d),r),([b,y])=>{b&&!y.atBottom&&y.notAtBottomBecause==="VIEWPORT_HEIGHT_DECREASING"&&m("auto")}),{followOutput:d,autoscrollToBottom:f}},nr(bi,fh,dh,gh,xc,wc,Va));function C1e(e){return e.reduce((n,t)=>(n.groupIndices.push(n.totalCount),n.totalCount+=t+1,n),{totalCount:0,groupIndices:[]})}const g4=ut(([{totalCount:e,groupIndices:n,sizes:t},{scrollTop:r,headerHeight:a}])=>{const o=Xn(),l=Xn(),i=ko(ze(o,Xe(C1e)));return tn(ze(i,Xe(s=>s.totalCount)),e),tn(ze(i,Xe(s=>s.groupIndices)),n),tn(ze(Zr(r,t,a),yn(([s,c])=>FC(c)),Xe(([s,c,d])=>Il(c.groupOffsetTree,Math.max(s-d,0),"v")[0]),Zt(),Xe(s=>[s])),l),{groupCounts:o,topItemsIndexes:l}},nr(bi,Va));function om(e,n){return!!(e&&e[0]===n[0]&&e[1]===n[1])}function p4(e,n){return!!(e&&e.startIndex===n.startIndex&&e.endIndex===n.endIndex)}const wv="top",xv="bottom",lN="none";function iN(e,n,t){return typeof e=="number"?t===am&&n===wv||t===Lp&&n===xv?e:0:t===am?n===wv?e.main:e.reverse:n===xv?e.main:e.reverse}function sN(e,n){return typeof e=="number"?e:e[n]||0}const zP=ut(([{scrollTop:e,viewportHeight:n,deviation:t,headerHeight:r,fixedHeaderHeight:a}])=>{const o=Xn(),l=je(0),i=je(0),s=je(0),c=wa(ze(Zr(hn(e),hn(n),hn(r),hn(o,om),hn(s),hn(l),hn(a),hn(t),hn(i)),Xe(([d,f,p,[m,h],b,y,v,k,w])=>{const x=d-k,C=y+v,S=Math.max(p-x,0);let T=lN;const F=sN(w,wv),I=sN(w,xv);return m-=k,m+=p+v,h+=p+v,h-=k,m>d+C-F&&(T=am),h<d-S+f+I&&(T=Lp),T!==lN?[Math.max(x-p-iN(b,wv,T)-F,0),x-S-v+f+iN(b,xv,T)+I]:null}),yn(d=>d!=null),Zt(om)),[0,0]);return{listBoundary:o,overscan:s,topListHeight:l,increaseViewportBy:i,visibleRange:c}},nr(Va),{singleton:!0});function S1e(e,n,t){if(FC(n)){const r=d4(e,n);return[{index:Il(n.groupOffsetTree,r)[0],size:0,offset:0},{index:r,size:0,offset:0,data:t&&t[0]}]}return[{index:e,size:0,offset:0,data:t&&t[0]}]}const R0={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function cN(e,n,t){if(e.length===0)return[];if(!FC(n))return e.map(c=>({...c,index:c.index+t,originalIndex:c.index}));const r=e[0].index,a=e[e.length-1].index,o=[],l=IC(n.groupOffsetTree,r,a);let i,s=0;for(const c of e){(!i||i.end<c.index)&&(i=l.shift(),s=n.groupIndices.indexOf(i.start));let d;c.index===i.start?d={type:"group",index:s}:d={index:c.index-(s+1)+t,groupIndex:s},o.push({...d,size:c.size,offset:c.offset,originalIndex:c.index,data:c.data})}return o}function Ab(e,n,t,r,a,o){const{lastSize:l,lastOffset:i,lastIndex:s}=a;let c=0,d=0;if(e.length>0){c=e[0].offset;const b=e[e.length-1];d=b.offset+b.size}const f=t-s,p=i+f*l+(f-1)*r,m=c,h=p-d;return{items:cN(e,a,o),topItems:cN(n,a,o),topListHeight:n.reduce((b,y)=>y.size+b,0),offsetTop:c,offsetBottom:h,top:m,bottom:d,totalCount:t,firstItemIndex:o}}function m4(e,n,t,r,a,o){let l=0;if(t.groupIndices.length>0)for(const d of t.groupIndices){if(d-l>=e)break;l++}const i=e+l,s=HP(n,i),c=Array.from({length:i}).map((d,f)=>({index:f+s,size:0,offset:0,data:o[f+s]}));return Ab(c,[],i,a,t,r)}const bd=ut(([{sizes:e,totalCount:n,data:t,firstItemIndex:r,gap:a},o,{visibleRange:l,listBoundary:i,topListHeight:s},{scrolledToInitialItem:c,initialTopMostItemIndex:d},{topListHeight:f},p,{didMount:m},{recalcInProgress:h}])=>{const b=je([]),y=je(0),v=Xn();tn(o.topItemsIndexes,b);const k=wa(ze(Zr(m,h,hn(l,om),hn(n),hn(e),hn(d),c,hn(b),hn(r),hn(a),t),yn(([S,T,,F,,,,,,,I])=>{const E=I&&I.length!==F;return S&&!T&&!E}),Xe(([,,[S,T],F,I,E,P,R,_,M,V])=>{const O=I,{sizeTree:H,offsetTree:U}=O,z=Sa(y);if(F===0)return{...R0,totalCount:F};if(S===0&&T===0)return z===0?{...R0,totalCount:F}:m4(z,E,I,_,M,V||[]);if(Et(H))return z>0?null:Ab(S1e(HP(E,F),O,V),[],F,M,O,_);const K=[];if(R.length>0){const G=R[0],W=R[R.length-1];let Z=0;for(const J of IC(H,G,W)){const re=J.value,oe=Math.max(J.start,G),X=Math.min(J.end,W);for(let te=oe;te<=X;te++)K.push({index:te,size:re,offset:Z,data:V&&V[te]}),Z+=re}}if(!P)return Ab([],K,F,M,O,_);const A=R.length>0?R[R.length-1]+1:0,j=c1e(U,S,T,A);if(j.length===0)return null;const $=F-1,L=TC([],G=>{for(const W of j){const Z=W.value;let J=Z.offset,re=W.start;const oe=Z.size;if(Z.offset<S){re+=Math.floor((S-Z.offset+M)/(oe+M));const te=re-W.start;J+=te*oe+te*M}re<A&&(J+=(A-re)*oe,re=A);const X=Math.min(W.end,$);for(let te=re;te<=X&&!(J>=T);te++)G.push({index:te,size:oe,offset:J,data:V&&V[te]}),J+=oe+M}});return Ab(L,K,F,M,O,_)}),yn(S=>S!==null),Zt()),R0);tn(ze(t,yn(AP),Xe(S=>S?.length)),n),tn(ze(k,Xe(S=>S.topListHeight)),f),tn(f,s),tn(ze(k,Xe(S=>[S.top,S.bottom])),i),tn(ze(k,Xe(S=>S.items)),v);const w=ko(ze(k,yn(({items:S})=>S.length>0),On(n,t),yn(([{items:S},T])=>S[S.length-1].originalIndex===T-1),Xe(([,S,T])=>[S-1,T]),Zt(om),Xe(([S])=>S))),x=ko(ze(k,js(200),yn(({items:S,topItems:T})=>S.length>0&&S[0].originalIndex===T.length),Xe(({items:S})=>S[0].index),Zt())),C=ko(ze(k,yn(({items:S})=>S.length>0),Xe(({items:S})=>{let T=0,F=S.length-1;for(;S[T].type==="group"&&T<F;)T++;for(;S[F].type==="group"&&F>T;)F--;return{startIndex:S[T].index,endIndex:S[F].index}}),Zt(p4)));return{listState:k,topItemsIndexes:b,endReached:w,startReached:x,rangeChanged:C,itemsRendered:v,initialItemCount:y,...p}},nr(bi,g4,zP,gh,dh,fh,xc,OP),{singleton:!0}),w1e=ut(([{sizes:e,firstItemIndex:n,data:t,gap:r},{initialTopMostItemIndex:a},{initialItemCount:o,listState:l},{didMount:i}])=>(tn(ze(i,On(o),yn(([,s])=>s!==0),On(a,e,n,r,t),Xe(([[,s],c,d,f,p,m=[]])=>m4(s,c,d,f,p,m))),l),{}),nr(bi,gh,bd,xc),{singleton:!0}),h4=ut(([{scrollVelocity:e}])=>{const n=je(!1),t=Xn(),r=je(!1);return tn(ze(e,On(r,n,t),yn(([a,o])=>!!o),Xe(([a,o,l,i])=>{const{exit:s,enter:c}=o;if(l){if(s(a,i))return!1}else if(c(a,i))return!0;return l}),Zt()),n),ht(ze(Zr(n,e,t),On(r)),([[a,o,l],i])=>a&&i&&i.change&&i.change(o,l)),{isSeeking:n,scrollSeekConfiguration:r,scrollVelocity:e,scrollSeekRangeChanged:t}},nr(fh),{singleton:!0}),x1e=ut(([{topItemsIndexes:e}])=>{const n=je(0);return tn(ze(n,yn(t=>t>0),Xe(t=>Array.from({length:t}).map((r,a)=>a))),e),{topItemCount:n}},nr(bd)),y4=ut(([{footerHeight:e,headerHeight:n,fixedHeaderHeight:t,fixedFooterHeight:r},{listState:a}])=>{const o=Xn(),l=wa(ze(Zr(e,r,n,t,a),Xe(([i,s,c,d,f])=>i+s+c+d+f.offsetBottom+f.bottom)),0);return tn(hn(l),o),{totalListHeight:l,totalListHeightChanged:o}},nr(Va,bd),{singleton:!0});function b4(e){let n=!1,t;return()=>(n||(n=!0,t=e()),t)}const T1e=b4(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),I1e=ut(([{scrollBy:e,scrollTop:n,deviation:t,scrollingInProgress:r},{isScrolling:a,isAtBottom:o,scrollDirection:l,lastJumpDueToItemResize:i},{listState:s},{beforeUnshiftWith:c,shiftWithOffset:d,sizes:f,gap:p},{log:m},{recalcInProgress:h}])=>{const b=ko(ze(s,On(i),Zl(([,v,k,w],[{items:x,totalCount:C,bottom:S,offsetBottom:T},F])=>{const I=S+T;let E=0;return k===C&&v.length>0&&x.length>0&&(x[0].originalIndex===0&&v[0].originalIndex===0||(E=I-w,E!==0&&(E+=F))),[E,x,C,I]},[0,[],0,0]),yn(([v])=>v!==0),On(n,l,r,o,m,h),yn(([,v,k,w,,,x])=>!x&&!w&&v!==0&&k===am),Xe(([[v],,,,,k])=>(k("Upward scrolling compensation",{amount:v},Co.DEBUG),v))));function y(v){v>0?(An(e,{top:-v,behavior:"auto"}),An(t,0)):(An(t,0),An(e,{top:-v,behavior:"auto"}))}return ht(ze(b,On(t,a)),([v,k,w])=>{w&&T1e()?An(t,k-v):y(-v)}),ht(ze(Zr(wa(a,!1),t,h),yn(([v,k,w])=>!v&&!w&&k!==0),Xe(([v,k])=>k),js(1)),y),tn(ze(d,Xe(v=>({top:-v}))),e),ht(ze(c,On(f,p),Xe(([v,{lastSize:k,groupIndices:w,sizeTree:x},C])=>{function S(T){return T*(k+C)}if(w.length===0)return S(v);{let T=0;const F=tm(x,0);let I=0,E=0;for(;I<v;){I++,T+=F;let P=w.length===E+1?1/0:w[E+1]-w[E]-1;I+P>v&&(T-=F,P=v-I+1),I+=P,T+=S(P),E++}return T}})),v=>{An(t,v),requestAnimationFrame(()=>{An(e,{top:v}),requestAnimationFrame(()=>{An(t,0),An(h,!1)})})}),{deviation:t}},nr(Va,fh,bd,bi,wc,OP)),F1e=ut(([{didMount:e},{scrollTo:n},{listState:t}])=>{const r=je(0);return ht(ze(e,On(r),yn(([,a])=>a!==0),Xe(([,a])=>({top:a}))),a=>{ci(ze(t,Af(1),yn(o=>o.items.length>1)),()=>{requestAnimationFrame(()=>{An(n,a)})})}),{initialScrollTop:r}},nr(xc,Va,bd),{singleton:!0}),E1e=ut(([{viewportHeight:e},{totalListHeight:n}])=>{const t=je(!1),r=wa(ze(Zr(t,e,n),yn(([a])=>a),Xe(([,a,o])=>Math.max(0,a-o)),js(0),Zt()),0);return{alignToBottom:t,paddingTopAddition:r}},nr(Va,y4),{singleton:!0}),BP=ut(([{scrollTo:e,scrollContainerState:n}])=>{const t=Xn(),r=Xn(),a=Xn(),o=je(!1),l=je(void 0);return tn(ze(Zr(t,r),Xe(([{viewportHeight:i,scrollTop:s,scrollHeight:c},{offsetTop:d}])=>({scrollTop:Math.max(0,s-d),scrollHeight:c,viewportHeight:i}))),n),tn(ze(e,On(r),Xe(([i,{offsetTop:s}])=>({...i,top:i.top+s}))),a),{useWindowScroll:o,customScrollParent:l,windowScrollContainerState:t,windowViewportRect:r,windowScrollTo:a}},nr(Va)),P1e=({itemTop:e,itemBottom:n,viewportTop:t,viewportBottom:r,locationParams:{behavior:a,align:o,...l}})=>e<t?{...l,behavior:a,align:o??"start"}:n>r?{...l,behavior:a,align:o??"end"}:null,R1e=ut(([{sizes:e,totalCount:n,gap:t},{scrollTop:r,viewportHeight:a,headerHeight:o,fixedHeaderHeight:l,fixedFooterHeight:i,scrollingInProgress:s},{scrollToIndex:c}])=>{const d=Xn();return tn(ze(d,On(e,a,n,o,l,i,r),On(t),Xe(([[f,p,m,h,b,y,v,k],w])=>{const{done:x,behavior:C,align:S,calculateViewLocation:T=P1e,...F}=f,I=u4(f,p,h-1),E=rm(I,p.offsetTree,w)+b+y,P=E+Il(p.sizeTree,I)[1],R=k+y,_=k+m-v,M=T({itemTop:E,itemBottom:P,viewportTop:R,viewportBottom:_,locationParams:{behavior:C,align:S,...F}});return M?x&&ci(ze(s,yn(V=>V===!1),Af(Sa(s)?1:2)),x):x&&x(),M}),yn(f=>f!==null)),c),{scrollIntoView:d}},nr(bi,Va,dh,bd,wc),{singleton:!0}),D1e=ut(([{sizes:e,sizeRanges:n},{scrollTop:t,headerHeight:r},{initialTopMostItemIndex:a},{didMount:o},{useWindowScroll:l,windowScrollContainerState:i,windowViewportRect:s}])=>{const c=Xn(),d=je(void 0),f=je(null),p=je(null);return tn(i,f),tn(s,p),ht(ze(c,On(e,t,l,f,p,r)),([m,h,b,y,v,k,w])=>{const x=f1e(h.sizeTree);y&&v!==null&&k!==null&&(b=v.scrollTop-k.offsetTop),b-=w,m({ranges:x,scrollTop:b})}),tn(ze(d,yn(AP),Xe(_1e)),a),tn(ze(o,On(d),yn(([,m])=>m!==void 0),Zt(),Xe(([,m])=>m.ranges)),n),{getState:c,restoreStateFrom:d}},nr(bi,Va,gh,xc,BP));function _1e(e){return{offset:e.scrollTop,index:0,align:"start"}}const L1e=ut(([e,n,t,r,a,o,l,i,s,c])=>({...e,...n,...t,...r,...a,...o,...l,...i,...s,...c}),nr(zP,w1e,xc,h4,y4,F1e,E1e,BP,R1e,wc)),v4=ut(([{totalCount:e,sizeRanges:n,fixedItemSize:t,defaultItemSize:r,trackItemSizes:a,itemSize:o,data:l,firstItemIndex:i,groupIndices:s,statefulTotalCount:c,gap:d,sizes:f},{initialTopMostItemIndex:p,scrolledToInitialItem:m,initialItemFinalLocationReached:h},b,y,v,{listState:k,topItemsIndexes:w,...x},{scrollToIndex:C},S,{topItemCount:T},{groupCounts:F},I])=>(tn(x.rangeChanged,I.scrollSeekRangeChanged),tn(ze(I.windowViewportRect,Xe(E=>E.visibleHeight)),b.viewportHeight),{totalCount:e,data:l,firstItemIndex:i,sizeRanges:n,initialTopMostItemIndex:p,scrolledToInitialItem:m,initialItemFinalLocationReached:h,topItemsIndexes:w,topItemCount:T,groupCounts:F,fixedItemHeight:t,defaultItemHeight:r,gap:d,...v,statefulTotalCount:c,listState:k,scrollToIndex:C,trackItemSizes:a,itemSize:o,groupIndices:s,...x,...I,...b,sizes:f,...y}),nr(bi,gh,Va,D1e,k1e,bd,dh,I1e,x1e,g4,L1e)),D0="-webkit-sticky",uN="sticky",k4=b4(()=>{if(typeof document>"u")return uN;const e=document.createElement("div");return e.style.position=D0,e.style.position===D0?D0:uN});function C4(e,n,t){const r=ke.useRef(null),a=ke.useCallback(s=>{if(s===null||!s.offsetParent)return;const c=s.getBoundingClientRect(),d=c.width;let f,p;if(n){const m=n.getBoundingClientRect(),h=c.top-m.top;f=m.height-Math.max(0,h),p=h+n.scrollTop}else f=window.innerHeight-Math.max(0,c.top),p=c.top+window.pageYOffset;r.current={offsetTop:p,visibleHeight:f,visibleWidth:d},e(r.current)},[e,n]),{callbackRef:o,ref:l}=$P(a,!0,t),i=ke.useCallback(()=>{a(l.current)},[a,l]);return ke.useEffect(()=>{if(n){n.addEventListener("scroll",i);const s=new ResizeObserver(()=>{requestAnimationFrame(i)});return s.observe(n),()=>{n.removeEventListener("scroll",i),s.unobserve(n)}}else return window.addEventListener("scroll",i),window.addEventListener("resize",i),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",i)}},[i,n]),o}const S4=ke.createContext(void 0),w4=ke.createContext(void 0);function GP(e){return e}const M1e=ut(()=>{const e=je(s=>`Item ${s}`),n=je(null),t=je(s=>`Group ${s}`),r=je({}),a=je(GP),o=je("div"),l=je(hd),i=(s,c=null)=>wa(ze(r,Xe(d=>d[s]),Zt()),c);return{context:n,itemContent:e,groupContent:t,components:r,computeItemKey:a,HeaderFooterTag:o,scrollerRef:l,FooterComponent:i("Footer"),HeaderComponent:i("Header"),TopItemListComponent:i("TopItemList"),ListComponent:i("List","div"),ItemComponent:i("Item","div"),GroupComponent:i("Group","div"),ScrollerComponent:i("Scroller","div"),EmptyPlaceholder:i("EmptyPlaceholder"),ScrollSeekPlaceholder:i("ScrollSeekPlaceholder")}}),A1e=ut(([e,n])=>({...e,...n}),nr(v4,M1e)),N1e=({height:e})=>N.jsx("div",{style:{height:e}}),$1e={position:k4(),zIndex:1,overflowAnchor:"none"},x4={overflowAnchor:"none"},O1e={...x4,display:"inline-block",height:"100%"},dN=ke.memo(function({showTopList:n=!1}){const t=Sn("listState"),r=Bo("sizeRanges"),a=Sn("useWindowScroll"),o=Sn("customScrollParent"),l=Bo("windowScrollContainerState"),i=Bo("scrollContainerState"),s=o||a?l:i,c=Sn("itemContent"),d=Sn("context"),f=Sn("groupContent"),p=Sn("trackItemSizes"),m=Sn("itemSize"),h=Sn("log"),b=Bo("gap"),y=Sn("horizontalDirection"),{callbackRef:v}=e1e(r,m,p,n?hd:s,h,b,o,y,Sn("skipAnimationFrameInResizeObserver")),[k,w]=ke.useState(0);jP("deviation",V=>{k!==V&&w(V)});const x=Sn("EmptyPlaceholder"),C=Sn("ScrollSeekPlaceholder")||N1e,S=Sn("ListComponent"),T=Sn("ItemComponent"),F=Sn("GroupComponent"),I=Sn("computeItemKey"),E=Sn("isSeeking"),P=Sn("groupIndices").length>0,R=Sn("alignToBottom"),_=Sn("initialItemFinalLocationReached"),M=n?{}:{boxSizing:"border-box",...y?{whiteSpace:"nowrap",display:"inline-block",height:"100%",paddingLeft:t.offsetTop,paddingRight:t.offsetBottom,marginLeft:k!==0?k:R?"auto":0}:{marginTop:k!==0?k:R?"auto":0,paddingTop:t.offsetTop,paddingBottom:t.offsetBottom},..._?{}:{visibility:"hidden"}};return!n&&t.totalCount===0&&x?N.jsx(x,{..._a(x,d)}):N.jsx(S,{..._a(S,d),ref:v,style:M,"data-testid":n?"virtuoso-top-item-list":"virtuoso-item-list",children:(n?t.topItems:t.items).map(V=>{const O=V.originalIndex,H=I(O+t.firstItemIndex,V.data,d);return E?g.createElement(C,{..._a(C,d),key:H,index:V.index,height:V.size,type:V.type||"item",...V.type==="group"?{}:{groupIndex:V.groupIndex}}):V.type==="group"?g.createElement(F,{..._a(F,d),key:H,"data-index":O,"data-known-size":V.size,"data-item-index":V.index,style:$1e},f(V.index,d)):g.createElement(T,{..._a(T,d),...z1e(T,V.data),key:H,"data-index":O,"data-known-size":V.size,"data-item-index":V.index,"data-item-group-index":V.groupIndex,style:y?O1e:x4},P?c(V.index,V.groupIndex,V.data,d):c(V.index,V.data,d))})})}),K1e={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},V1e={outline:"none",overflowX:"auto",position:"relative"},EC=e=>({width:"100%",height:"100%",position:"absolute",top:0,...e?{display:"flex",flexDirection:"column"}:{}}),H1e={width:"100%",position:k4(),top:0,zIndex:1};function _a(e,n){if(typeof e!="string")return{context:n}}function z1e(e,n){return{item:typeof e=="string"?void 0:n}}const B1e=ke.memo(function(){const n=Sn("HeaderComponent"),t=Bo("headerHeight"),r=Sn("HeaderFooterTag"),a=yd(ke.useMemo(()=>l=>t(lc(l,"height")),[t]),!0,Sn("skipAnimationFrameInResizeObserver")),o=Sn("context");return n?N.jsx(r,{ref:a,children:N.jsx(n,{..._a(n,o)})}):null}),G1e=ke.memo(function(){const n=Sn("FooterComponent"),t=Bo("footerHeight"),r=Sn("HeaderFooterTag"),a=yd(ke.useMemo(()=>l=>t(lc(l,"height")),[t]),!0,Sn("skipAnimationFrameInResizeObserver")),o=Sn("context");return n?N.jsx(r,{ref:a,children:N.jsx(n,{..._a(n,o)})}):null});function T4({usePublisher:e,useEmitter:n,useEmitterValue:t}){return ke.memo(function({style:o,children:l,...i}){const s=e("scrollContainerState"),c=t("ScrollerComponent"),d=e("smoothScrollTargetReached"),f=t("scrollerRef"),p=t("context"),m=t("horizontalDirection")||!1,{scrollerRef:h,scrollByCallback:b,scrollToCallback:y}=r4(s,d,c,f,void 0,m);n("scrollTo",y),n("scrollBy",b);const v=m?V1e:K1e;return N.jsx(c,{ref:h,style:{...v,...o},"data-testid":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0,...i,..._a(c,p),children:l})})}function I4({usePublisher:e,useEmitter:n,useEmitterValue:t}){return ke.memo(function({style:o,children:l,...i}){const s=e("windowScrollContainerState"),c=t("ScrollerComponent"),d=e("smoothScrollTargetReached"),f=t("totalListHeight"),p=t("deviation"),m=t("customScrollParent"),h=t("context"),{scrollerRef:b,scrollByCallback:y,scrollToCallback:v}=r4(s,d,c,hd,m);return n4(()=>(b.current=m||window,()=>{b.current=null}),[b,m]),n("windowScrollTo",v),n("scrollBy",y),N.jsx(c,{style:{position:"relative",...o,...f!==0?{height:f+p}:{}},"data-virtuoso-scroller":!0,...i,..._a(c,h),children:l})})}const j1e=({children:e})=>{const n=ke.useContext(S4),t=Bo("viewportHeight"),r=Bo("fixedItemHeight"),a=Sn("alignToBottom"),o=Sn("horizontalDirection"),l=ke.useMemo(()=>Xj(t,s=>lc(s,o?"width":"height")),[t,o]),i=yd(l,!0,Sn("skipAnimationFrameInResizeObserver"));return ke.useEffect(()=>{n&&(t(n.viewportHeight),r(n.itemHeight))},[n,t,r]),N.jsx("div",{style:EC(a),ref:i,"data-viewport-type":"element",children:e})},U1e=({children:e})=>{const n=ke.useContext(S4),t=Bo("windowViewportRect"),r=Bo("fixedItemHeight"),a=Sn("customScrollParent"),o=C4(t,a,Sn("skipAnimationFrameInResizeObserver")),l=Sn("alignToBottom");return ke.useEffect(()=>{n&&(r(n.itemHeight),t({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:100}))},[n,t,r]),N.jsx("div",{ref:o,style:EC(l),"data-viewport-type":"window",children:e})},q1e=({children:e})=>{const n=Sn("TopItemListComponent")||"div",t=Sn("headerHeight"),r={...H1e,marginTop:`${t}px`},a=Sn("context");return N.jsx(n,{style:r,..._a(n,a),children:e})},W1e=ke.memo(function(n){const t=Sn("useWindowScroll"),r=Sn("topItemsIndexes").length>0,a=Sn("customScrollParent"),o=a||t?X1e:Y1e,l=a||t?U1e:j1e;return N.jsxs(o,{...n,children:[r&&N.jsx(q1e,{children:N.jsx(dN,{showTopList:!0})}),N.jsxs(l,{children:[N.jsx(B1e,{}),N.jsx(dN,{}),N.jsx(G1e,{})]})]})}),{Component:Q1e,usePublisher:Bo,useEmitterValue:Sn,useEmitter:jP}=e4(A1e,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",groupCounts:"groupCounts",topItemCount:"topItemCount",firstItemIndex:"firstItemIndex",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"HeaderFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",horizontalDirection:"horizontalDirection",skipAnimationFrameInResizeObserver:"skipAnimationFrameInResizeObserver"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",autoscrollToBottom:"autoscrollToBottom",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},W1e),Y1e=T4({usePublisher:Bo,useEmitterValue:Sn,useEmitter:jP}),X1e=I4({usePublisher:Bo,useEmitterValue:Sn,useEmitter:jP}),Z1e=Q1e,fN={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},J1e={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},{round:gN,ceil:pN,floor:Tv,min:_0,max:Mp}=Math;function eEe(e){return{...J1e,items:e}}function mN(e,n,t){return Array.from({length:n-e+1}).map((r,a)=>{const o=t===null?null:t[a+e];return{index:a+e,data:o}})}function nEe(e,n){return e&&e.column===n.column&&e.row===n.row}function sy(e,n){return e&&e.width===n.width&&e.height===n.height}const tEe=ut(([{overscan:e,visibleRange:n,listBoundary:t,increaseViewportBy:r},{scrollTop:a,viewportHeight:o,scrollBy:l,scrollTo:i,smoothScrollTargetReached:s,scrollContainerState:c,footerHeight:d,headerHeight:f},p,m,{propsReady:h,didMount:b},{windowViewportRect:y,useWindowScroll:v,customScrollParent:k,windowScrollContainerState:w,windowScrollTo:x},C])=>{const S=je(0),T=je(0),F=je(fN),I=je({height:0,width:0}),E=je({height:0,width:0}),P=Xn(),R=Xn(),_=je(0),M=je(null),V=je({row:0,column:0}),O=Xn(),H=Xn(),U=je(!1),z=je(0),K=je(!0),A=je(!1),j=je(!1);ht(ze(b,On(z),yn(([J,re])=>!!re)),()=>{An(K,!1)}),ht(ze(Zr(b,K,E,I,z,A),yn(([J,re,oe,X,,te])=>J&&!re&&oe.height!==0&&X.height!==0&&!te)),([,,,,J])=>{An(A,!0),VP(1,()=>{An(P,J)}),ci(ze(a),()=>{An(t,[0,0]),An(K,!0)})}),tn(ze(H,yn(J=>J!=null&&J.scrollTop>0),Wl(0)),T),ht(ze(b,On(H),yn(([,J])=>J!=null)),([,J])=>{J&&(An(I,J.viewport),An(E,J?.item),An(V,J.gap),J.scrollTop>0&&(An(U,!0),ci(ze(a,Af(1)),re=>{An(U,!1)}),An(i,{top:J.scrollTop})))}),tn(ze(I,Xe(({height:J})=>J)),o),tn(ze(Zr(hn(I,sy),hn(E,sy),hn(V,(J,re)=>J&&J.column===re.column&&J.row===re.row),hn(a)),Xe(([J,re,oe,X])=>({viewport:J,item:re,gap:oe,scrollTop:X}))),O),tn(ze(Zr(hn(S),n,hn(V,nEe),hn(E,sy),hn(I,sy),hn(M),hn(T),hn(U),hn(K),hn(z)),yn(([,,,,,,,J])=>!J),Xe(([J,[re,oe],X,te,ie,se,le,,pe,ae])=>{const{row:ee,column:ge}=X,{height:he,width:Ee}=te,{width:de}=ie;if(le===0&&(J===0||de===0))return fN;if(Ee===0){const Ve=HP(ae,J),Ue=Math.max(Ve+le-1,0);return eEe(mN(Ve,Ue,se))}const fe=F4(de,Ee,ge);let ve,Ce;pe?re===0&&oe===0&&le>0?(ve=0,Ce=le-1):(ve=fe*Tv((re+ee)/(he+ee)),Ce=fe*pN((oe+ee)/(he+ee))-1,Ce=_0(J-1,Mp(Ce,fe-1)),ve=_0(Ce,Mp(0,ve))):(ve=0,Ce=-1);const Ie=mN(ve,Ce,se),{top:De,bottom:Be}=hN(ie,X,te,Ie),Fe=pN(J/fe),Le=Fe*he+(Fe-1)*ee-Be;return{items:Ie,offsetTop:De,offsetBottom:Le,top:De,bottom:Be,itemHeight:he,itemWidth:Ee}})),F),tn(ze(M,yn(J=>J!==null),Xe(J=>J.length)),S),tn(ze(Zr(I,E,F,V),yn(([J,re,{items:oe}])=>oe.length>0&&re.height!==0&&J.height!==0),Xe(([J,re,{items:oe},X])=>{const{top:te,bottom:ie}=hN(J,X,re,oe);return[te,ie]}),Zt(om)),t);const $=je(!1);tn(ze(a,On($),Xe(([J,re])=>re||J!==0)),$);const L=ko(ze(hn(F),yn(({items:J})=>J.length>0),On(S,$),yn(([{items:J},re,oe])=>oe&&J[J.length-1].index===re-1),Xe(([,J])=>J-1),Zt())),G=ko(ze(hn(F),yn(({items:J})=>J.length>0&&J[0].index===0),Wl(0),Zt())),W=ko(ze(hn(F),On(U),yn(([{items:J},re])=>J.length>0&&!re),Xe(([{items:J}])=>({startIndex:J[0].index,endIndex:J[J.length-1].index})),Zt(p4),js(0)));tn(W,m.scrollSeekRangeChanged),tn(ze(P,On(I,E,S,V),Xe(([J,re,oe,X,te])=>{const ie=f4(J),{align:se,behavior:le,offset:pe}=ie;let ae=ie.index;ae==="LAST"&&(ae=X-1),ae=Mp(0,ae,_0(X-1,ae));let ee=qI(re,te,oe,ae);return se==="end"?ee=gN(ee-re.height+oe.height):se==="center"&&(ee=gN(ee-re.height/2+oe.height/2)),pe&&(ee+=pe),{top:ee,behavior:le}})),i);const Z=wa(ze(F,Xe(J=>J.offsetBottom+J.bottom)),0);return tn(ze(y,Xe(J=>({width:J.visibleWidth,height:J.visibleHeight}))),I),{data:M,totalCount:S,viewportDimensions:I,itemDimensions:E,scrollTop:a,scrollHeight:R,overscan:e,increaseViewportBy:r,scrollBy:l,scrollTo:i,scrollToIndex:P,smoothScrollTargetReached:s,windowViewportRect:y,windowScrollTo:x,useWindowScroll:v,customScrollParent:k,windowScrollContainerState:w,deviation:_,scrollContainerState:c,footerHeight:d,headerHeight:f,initialItemCount:T,gap:V,restoreStateFrom:H,...m,initialTopMostItemIndex:z,horizontalDirection:j,gridState:F,totalListHeight:Z,...p,startReached:G,endReached:L,rangeChanged:W,stateChanged:O,propsReady:h,stateRestoreInProgress:U,...C}},nr(zP,Va,fh,h4,xc,BP,wc));function hN(e,n,t,r){const{height:a}=t;if(a===void 0||r.length===0)return{top:0,bottom:0};const o=qI(e,n,t,r[0].index),l=qI(e,n,t,r[r.length-1].index)+a;return{top:o,bottom:l}}function qI(e,n,t,r){const a=F4(e.width,t.width,n.column),o=Tv(r/a),l=o*t.height+Mp(0,o-1)*n.row;return l>0?l+n.row:l}function F4(e,n,t){return Mp(1,Tv((e+t)/(Tv(n)+t)))}const rEe=ut(()=>{const e=je(f=>`Item ${f}`),n=je({}),t=je(null),r=je("virtuoso-grid-item"),a=je("virtuoso-grid-list"),o=je(GP),l=je("div"),i=je(hd),s=(f,p=null)=>wa(ze(n,Xe(m=>m[f]),Zt()),p),c=je(!1),d=je(!1);return tn(hn(d),c),{readyStateChanged:c,reportReadyState:d,context:t,itemContent:e,components:n,computeItemKey:o,itemClassName:r,listClassName:a,headerFooterTag:l,scrollerRef:i,FooterComponent:s("Footer"),HeaderComponent:s("Header"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),ScrollerComponent:s("Scroller","div"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder","div")}}),aEe=ut(([e,n])=>({...e,...n}),nr(tEe,rEe)),oEe=ke.memo(function(){const n=cr("gridState"),t=cr("listClassName"),r=cr("itemClassName"),a=cr("itemContent"),o=cr("computeItemKey"),l=cr("isSeeking"),i=Go("scrollHeight"),s=cr("ItemComponent"),c=cr("ListComponent"),d=cr("ScrollSeekPlaceholder"),f=cr("context"),p=Go("itemDimensions"),m=Go("gap"),h=cr("log"),b=cr("stateRestoreInProgress"),y=Go("reportReadyState"),v=yd(ke.useMemo(()=>k=>{const w=k.parentElement.parentElement.scrollHeight;i(w);const x=k.firstChild;if(x){const{width:C,height:S}=x.getBoundingClientRect();p({width:C,height:S})}m({row:yN("row-gap",getComputedStyle(k).rowGap,h),column:yN("column-gap",getComputedStyle(k).columnGap,h)})},[i,p,m,h]),!0,!1);return n4(()=>{n.itemHeight>0&&n.itemWidth>0&&y(!0)},[n]),b?null:N.jsx(c,{ref:v,className:t,..._a(c,f),style:{paddingTop:n.offsetTop,paddingBottom:n.offsetBottom},"data-testid":"virtuoso-item-list",children:n.items.map(k=>{const w=o(k.index,k.data,f);return l?N.jsx(d,{..._a(d,f),index:k.index,height:n.itemHeight,width:n.itemWidth},w):g.createElement(s,{..._a(s,f),className:r,"data-index":k.index,key:w},a(k.index,k.data,f))})})}),lEe=ke.memo(function(){const n=cr("HeaderComponent"),t=Go("headerHeight"),r=cr("headerFooterTag"),a=yd(ke.useMemo(()=>l=>t(lc(l,"height")),[t]),!0,!1),o=cr("context");return n?N.jsx(r,{ref:a,children:N.jsx(n,{..._a(n,o)})}):null}),iEe=ke.memo(function(){const n=cr("FooterComponent"),t=Go("footerHeight"),r=cr("headerFooterTag"),a=yd(ke.useMemo(()=>l=>t(lc(l,"height")),[t]),!0,!1),o=cr("context");return n?N.jsx(r,{ref:a,children:N.jsx(n,{..._a(n,o)})}):null}),sEe=({children:e})=>{const n=ke.useContext(w4),t=Go("itemDimensions"),r=Go("viewportDimensions"),a=yd(ke.useMemo(()=>o=>{r(o.getBoundingClientRect())},[r]),!0,!1);return ke.useEffect(()=>{n&&(r({height:n.viewportHeight,width:n.viewportWidth}),t({height:n.itemHeight,width:n.itemWidth}))},[n,r,t]),N.jsx("div",{style:EC(!1),ref:a,children:e})},cEe=({children:e})=>{const n=ke.useContext(w4),t=Go("windowViewportRect"),r=Go("itemDimensions"),a=cr("customScrollParent"),o=C4(t,a,!1);return ke.useEffect(()=>{n&&(r({height:n.itemHeight,width:n.itemWidth}),t({offsetTop:0,visibleHeight:n.viewportHeight,visibleWidth:n.viewportWidth}))},[n,t,r]),N.jsx("div",{ref:o,style:EC(!1),children:e})},uEe=ke.memo(function({...n}){const t=cr("useWindowScroll"),r=cr("customScrollParent"),a=r||t?fEe:dEe,o=r||t?cEe:sEe;return N.jsx(a,{...n,children:N.jsxs(o,{children:[N.jsx(lEe,{}),N.jsx(oEe,{}),N.jsx(iEe,{})]})})}),{usePublisher:Go,useEmitterValue:cr,useEmitter:E4}=e4(aEe,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",restoreStateFrom:"restoreStateFrom",initialTopMostItemIndex:"initialTopMostItemIndex",increaseViewportBy:"increaseViewportBy"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",stateChanged:"stateChanged",readyStateChanged:"readyStateChanged"}},uEe),dEe=T4({usePublisher:Go,useEmitterValue:cr,useEmitter:E4}),fEe=I4({usePublisher:Go,useEmitterValue:cr,useEmitter:E4});function yN(e,n,t){return n!=="normal"&&!n?.endsWith("px")&&t(`${e} was not resolved to pixel value correctly`,n,Co.WARN),n==="normal"?0:parseInt(n??"0",10)}const gEe=ut(()=>{const e=je(s=>N.jsxs("td",{children:["Item $",s]})),n=je(null),t=je(null),r=je(null),a=je({}),o=je(GP),l=je(hd),i=(s,c=null)=>wa(ze(a,Xe(d=>d[s]),Zt()),c);return{context:n,itemContent:e,fixedHeaderContent:t,fixedFooterContent:r,components:a,computeItemKey:o,scrollerRef:l,TableComponent:i("Table","table"),TableHeadComponent:i("TableHead","thead"),TableFooterComponent:i("TableFoot","tfoot"),TableBodyComponent:i("TableBody","tbody"),TableRowComponent:i("TableRow","tr"),ScrollerComponent:i("Scroller","div"),EmptyPlaceholder:i("EmptyPlaceholder"),ScrollSeekPlaceholder:i("ScrollSeekPlaceholder"),FillerRow:i("FillerRow")}});nr(v4,gEe);function Tc({innerListRef:e,scrollbarRef:n,headerElement:t,itemElement:r,initialScrollOffset:a,data:o,itemContent:l,computeItemKey:i,fixedItemSize:s,defaultItemSize:c,horizontalDirection:d,onScrollVirtualList:f,onEndReached:p}){const m=g.useRef(null),[h,b]=g.useState(null),[y,v]=Nee({defer:!1,options:{scrollbars:{autoHide:"leave"},overflow:{x:d?"scroll":"hidden",y:d?"hidden":"scroll"}}});return requestAnimationFrame(()=>{h&&a&&h.scrollTop!==a&&h.scrollTo(d?{left:a}:{top:a})}),v&&H5(n,v),g.useEffect(()=>(h&&m.current&&y({target:m.current,elements:{viewport:h}}),()=>{v()?.destroy()}),[h,y,v]),u("div",{ref:m,"data-overlayscrollbars":"",style:{width:"100%",height:"100%"},children:u(Z1e,{ref:e,totalCount:o.length,data:o,tabIndex:-1,itemContent:l,computeItemKey:i,fixedItemHeight:s,defaultItemHeight:c,horizontalDirection:d,increaseViewportBy:400,overscan:2,style:{width:"100%",height:"100%"},components:{Item:r,Header:t},scrollerRef:b,atBottomStateChange:k=>{k&&p?.(o.length-1||0)},endReached:p,onScroll:f})})}const P4=function(){var e={defaultValue:null,kind:"LocalArgument",name:"coordinate"},n={defaultValue:null,kind:"LocalArgument",name:"from"},t={defaultValue:null,kind:"LocalArgument",name:"stageId"},r={defaultValue:null,kind:"LocalArgument",name:"to"},a=[{kind:"Variable",name:"id",variableName:"stageId"}],o={kind:"Variable",name:"coordinate",variableName:"coordinate"},l={kind:"Variable",name:"from",variableName:"from"},i={kind:"Variable",name:"to",variableName:"to"},s=[o],c={alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},d=[l,i],f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},p=[l,{kind:"Literal",name:"resolution",value:50},i],m={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b=[h],y={kind:"InlineFragment",selections:b,type:"Node",abstractKey:"__isNode"},v={kind:"TypeDiscriminator",abstractKey:"__isGraphQLTypeSystemMember"},k={kind:"TypeDiscriminator",abstractKey:"__isCoordinateMetrics"},w={alias:null,args:null,kind:"ScalarField",name:"totalRequests",storageKey:null},x=[m,{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null}];return{fragment:{argumentDefinitions:[e,n,t,r],kind:"Fragment",metadata:null,name:"schemaInsightsContentQuery",selections:[{alias:null,args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:[o,l,i],kind:"FragmentSpread",name:"schemaInsightsLatencyTileFragment"}]},{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"coordinate",plural:!1,selections:[c,{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"schemaInsightsCoordinateUsageFragment"}]},{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"schemaInsightsCoordinateDetailsFragment"}]}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,t,n,r],kind:"Operation",name:"schemaInsightsContentQuery",selections:[{alias:null,args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"schemaInsightsContentQuery$defer$schemaInsightsContentQuery$defer$latency",selections:[{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"coordinate",plural:!1,selections:[f,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"metrics",plural:!1,selections:[f,{kind:"InlineFragment",selections:[{alias:null,args:p,concreteType:"FieldDurationGraph",kind:"LinkedField",name:"duration",plural:!1,selections:[{alias:null,args:null,concreteType:"FieldDurationGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[m,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null}],type:"FieldCoordinateMetrics",abstractKey:null}],storageKey:null},y],storageKey:null},h]},{alias:null,args:s,concreteType:null,kind:"LinkedField",name:"coordinate",plural:!1,selections:[f,c,{if:null,kind:"Defer",label:"schemaInsightsContentQuery$defer$schemaInsightsContentQuery$defer$metrics",selections:[v,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"metrics",plural:!1,selections:[f,{if:null,kind:"Defer",label:"schemaInsightsCoordinateUsageClientsFragment$defer$schemaInsightsCoordinateUsageClientsMetricsFragment$defer$metrics",selections:[k,{alias:null,args:d,concreteType:"CoordinateClientUsage",kind:"LinkedField",name:"clientUsages",plural:!0,selections:[{alias:null,args:null,concreteType:"Client",kind:"LinkedField",name:"client",plural:!1,selections:b,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalOperations",storageKey:null},w],storageKey:null}]},{kind:"InlineFragment",selections:[{alias:"isFieldCoordinateMetrics",args:null,kind:"ScalarField",name:"__typename",storageKey:null}],type:"FieldCoordinateMetrics",abstractKey:null},{if:null,kind:"Defer",label:"schemaInsightsCoordinateUsageFragment$defer$schemaInsightsRequestsTileFragment$defer$metrics",selections:[k,{alias:null,args:p,concreteType:"CoordinateRequestGraph",kind:"LinkedField",name:"requests",plural:!1,selections:[{alias:null,args:null,concreteType:"CoordinateRequestGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:x,storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"schemaInsightsCoordinateUsageFragment$defer$schemaInsightsUsagesTileFragment$defer$metrics",selections:[k,{alias:null,args:p,concreteType:"CoordinateUsageGraph",kind:"LinkedField",name:"usages",plural:!1,selections:[{alias:null,args:null,concreteType:"CoordinateUsageGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:x,storageKey:null}],storageKey:null}]}],storageKey:null}]},{if:null,kind:"Defer",label:"schemaInsightsContentQuery$defer$schemaInsightsContentQuery$defer$usage",selections:[v,{alias:null,args:d,concreteType:"CoordinateUsage",kind:"LinkedField",name:"usage",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"firstSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},w,{alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"meanDuration",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null}],storageKey:null}]},y],storageKey:null},h],storageKey:null}]},params:{id:"7fa0bf0ac322dd8409cc467df4d1d50a",metadata:{},name:"schemaInsightsContentQuery",operationKind:"query",text:null}}}();P4.hash="61c265cd519106c9d8a60f0ea487caa2";const R4=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"hash"},t={defaultValue:null,kind:"LocalArgument",name:"maxLatency"},r={defaultValue:null,kind:"LocalArgument",name:"minLatency"},a={defaultValue:null,kind:"LocalArgument",name:"operationName"},o={defaultValue:null,kind:"LocalArgument",name:"stageId"},l={defaultValue:null,kind:"LocalArgument",name:"to"},i=[{kind:"Variable",name:"id",variableName:"stageId"}],s={kind:"Variable",name:"from",variableName:"from"},c={kind:"Variable",name:"hash",variableName:"hash"},d={kind:"Variable",name:"operationName",variableName:"operationName"},f={kind:"Variable",name:"to",variableName:"to"},p=[s,c,d,f],m=[c,d],h={alias:null,args:null,kind:"ScalarField",name:"content",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"documentIds",storageKey:null},y={kind:"Variable",name:"maxLatency",variableName:"maxLatency"},v={kind:"Variable",name:"minLatency",variableName:"minLatency"},k=[s,f],w={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},x={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},C={alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},S={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a,o,l],kind:"Fragment",metadata:null,name:"operationMonitoringQuery",selections:[{alias:"stage",args:i,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:p,kind:"FragmentSpread",name:"operationLatencyTileFragment"}]},{kind:"Defer",selections:[{args:p,kind:"FragmentSpread",name:"operationThroughputTileFragment"}]},{kind:"Defer",selections:[{args:p,kind:"FragmentSpread",name:"operationErrorsTileFragment"}]},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:null,concreteType:"RequestDocument",kind:"LinkedField",name:"requestDocument",plural:!1,selections:[h,b],storageKey:null}],storageKey:null}],storageKey:null},{kind:"Defer",selections:[{args:[s,c,y,v,d,f],kind:"FragmentSpread",name:"operationLatencyHistogramTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[o,n,a,e,l,r,t],kind:"Operation",name:"operationMonitoringQuery",selections:[{alias:"stage",args:i,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationLatencyTileFragment_2yBxVd",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:k,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[w,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},x]},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationThroughputTileFragment_2yBxVd",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:k,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[w,{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},C,S],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationErrorsTileFragment_2yBxVd",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:k,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[w,S],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:null,concreteType:"RequestDocument",kind:"LinkedField",name:"requestDocument",plural:!1,selections:[h,b,x],storageKey:null}],storageKey:null}],storageKey:null},{if:null,kind:"Defer",label:"operationMonitoringQuery$defer$operationLatencyHistogramTileFragment_47zR0k",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:k,concreteType:"OperationLatencyDistributionGraph",kind:"LinkedField",name:"latencyDistribution",plural:!1,selections:[C,{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyDistributionGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"bin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorFrequency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"successFrequency",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{if:null,kind:"Defer",label:"operationLatencyHistogramTileFragment$defer$operationTraceSampleTileFragment_47zR0k",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:m,concreteType:"StageOperationMetrics",kind:"LinkedField",name:"operation",plural:!1,selections:[{alias:null,args:[s,y,v,f],concreteType:"OperationTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},x]}]},x],storageKey:null}]},params:{id:"ae611d1c40334f733e24097a49dd8152",metadata:{},name:"operationMonitoringQuery",operationKind:"query",text:null}}}();R4.hash="cf7d6a072bff54e099006cfa2c4adf98";const D4=g.memo(g.forwardRef(function({buildOption:n,style:t,onInit:r},a){const o=g.useRef(null),l=g.useRef(null),i=g.useRef(!1),s=g.useRef({}),c=$ee(),d=Oee();return g.useImperativeHandle(a,()=>({setOption:f=>{l.current&&l.current.setOption(f(s.current,d),!1)}}),[d]),g.useLayoutEffect(()=>{let f=0;function p(h){cancelAnimationFrame(f),i.current=!1,l.current=Kee(o.current,h),s.current=n(d),l.current.setOption(s.current,!1),r?.(l.current),f=requestAnimationFrame(()=>{f=requestAnimationFrame(()=>{i.current=!0})})}p(c.value());const m=c.subscribe(h=>{l.current?.dispose(),p(h)});return()=>{cancelAnimationFrame(f),m(),l.current?.dispose()}},[c,n,d,r]),mk(o,()=>{i.current&&l.current&&l.current.resize()}),u("div",{ref:o,style:{...t,overflow:"visible"}})})),ol=g.memo(g.forwardRef(function({buildOption:n,size:t="big",onInit:r},a){const o=g.useCallback(l=>pEe(n(l),t,l),[n,t]);return u(D4,{ref:a,buildOption:o,style:t==="mini"?{height:24,minWidth:60}:t==="mid"?{height:150,width:"100%"}:{height:250,width:"100%"},onInit:r})}));function pEe(e,n,t){return{...e,animation:!1,grid:n==="mini"?{top:3,bottom:0,left:0,right:0,...e.grid}:{top:40,bottom:0,left:10,right:20,containLabel:!0,...e.grid},legend:{...e.legend,textStyle:{fontFamily:Bi,fontSize:pb,color:t(r=>r.chart.axisLabel)}},tooltip:{...e.tooltip,backgroundColor:t(r=>r.components.tooltip),borderColor:t(r=>r.components.tooltipBorder),borderWidth:1,shadowColor:t(r=>r.base.shadow),shadowBlur:4,shadowOffsetX:0,shadowOffsetY:1,textStyle:{fontFamily:Bi,fontSize:pb,color:t(r=>r.components.tooltipText)}},visualMap:e.visualMap?{...e.visualMap,textStyle:{fontFamily:Bi,fontSize:pb,color:t(r=>r.chart.axisLabel)}}:void 0,xAxis:Array.isArray(e.xAxis)?e.xAxis.length?e.xAxis.map(r=>L0(t,r)):L0(t):L0(t,e.xAxis),yAxis:Array.isArray(e.yAxis)?e.yAxis.length?e.yAxis.map(r=>M0(t,r)):M0(t):M0(t,e.yAxis),axisPointer:{lineStyle:{color:t(r=>r.chart.marker)}}}}const _4=11;function L0(e,n){return{...n,axisLabel:{show:!0,fontFamily:Bi,fontSize:_4,color:e(t=>t.chart.axisLabel),margin:10,padding:[0,4],backgroundColor:"transparent",hideOverlap:!0,...n?.axisLabel??{}},axisLine:{show:!0,lineStyle:{color:e(t=>t.chart.axisLine)},...n?.axisLine},axisTick:{show:!0,lineStyle:{color:e(t=>t.chart.axisLine)},...n?.axisTick},splitLine:{show:!1,lineStyle:{type:"dashed",color:e(t=>t.chart.splitLine)},...n?.splitLine}}}function M0(e,n){return{...n,axisLabel:{show:!0,fontFamily:Bi,fontSize:_4,color:e(t=>t.chart.axisLabel),padding:[0,4],backgroundColor:"transparent",hideOverlap:!0,...n?.axisLabel??{}},axisLine:{show:!1,lineStyle:{color:e(t=>t.chart.axisLine)},...n?.axisLine},axisTick:{show:!1,lineStyle:{color:e(t=>t.chart.axisLine)},...n?.axisTick},splitLine:{show:!0,lineStyle:{type:"dashed",color:e(t=>t.chart.splitLine)},...n?.splitLine}}}function mEe({dataset:e}){const n=g.useCallback(t=>({grid:{bottom:0,right:8},legend:{show:!1},visualMap:{orient:"horizontal",top:0,left:"center",min:0,max:100,text:["High","Low"],inRange:{color:[t(r=>r.chart.low),t(r=>r.chart.high)]}},dataset:{source:e.map(({name:r,total:a,impact:o})=>({name:r,total:a,impact:o})),dimensions:["name","total","impact"]},xAxis:{type:"value",splitLine:{show:!0},axisLabel:{formatter(r){return St(r)}}},yAxis:{type:"category",splitLine:{show:!1}},series:[{type:"bar",encode:{x:"total",y:"name"},barMaxWidth:24,itemStyle:{borderRadius:[0,2,2,0]}}]}),[e]);return u(ol,{buildOption:n})}function Ic({header:e,children:n,disableScrolling:t}){return B(jt,{style:{zIndex:1},children:[e&&B(ye,{children:[u(Kr,{spacing:"right",children:e}),u(Dt,{})]}),u(ct,{children:u(g.Suspense,{fallback:u(wn,{}),children:t?u(Qo,{container:!0,sx:{flexGrow:1,flexShrink:1,flexBasis:"auto",flexDirection:"column",gap:20,minWidth:450,padding:20},children:n}):u(ro,{children:u(Qo,{container:!0,sx:{gap:20,minWidth:450,padding:20},children:n})})})})]})}function Je({title:e,subheader:n,action:t,content:r,size:a,minHeight:o,noPadding:l}){return u(Qo,{sx:i=>({display:"flex",flexDirection:"column",flexGrow:1,flexShrink:1,flexBasis:"calc("+hEe(a)+`% - ${i.spacing(20)})`,minWidth:320,overflow:"visible"}),children:B(iE,{style:{minHeight:o},children:[(e||n||t)&&u(VT,{title:e,subheader:n,action:t&&u(yEe,{children:t})}),u(cv,{className:l?"no-padding":void 0,sx:{pt:0},children:r})]})})}function hEe(e){return e&&e<12?100/12*e:100}const PC=q("div")(({theme:e,$disableXPadding:n,$paddingBottom:t})=>ce`
|
|
1078
1078
|
padding-right: ${n?0:e.spacing(13)};
|
|
1079
1079
|
padding-bottom: ${t?e.spacing(13):0};
|
|
1080
1080
|
padding-left: ${n?0:e.spacing(13)};
|
|
@@ -2547,7 +2547,7 @@ return result$$;`.replaceAll("$$",String(e$)));return e$+=1,(s,c)=>l(o,s,c)},Q6=
|
|
|
2547
2547
|
gap: ${e.spacing(4)};
|
|
2548
2548
|
`),NUe=q("div")`
|
|
2549
2549
|
flex: 1 1 auto;
|
|
2550
|
-
`;function Mq(){return B(st,{title:"No Deployments Yet",icon:u(vc,{}),actions:u(Nr,{href:"https://chilli.run/deployment-tutorial",children:"Quick Start Guide"}),children:[B(Ke,{variant:"subtitle1",children:["Use the ",u("em",{children:"Nitro"})," CLI to trigger your first deployment."]}),B(Ke,{variant:"subtitle1",children:["Need help? Check out the Quick Start Guide to learn how to trigger deployments with ",u("em",{children:"Nitro"}),"."]})]})}function $Ue({fragmentRef:e,deploymentId:n}){const t=pP(),r=bz(),a=gP(),{data:o,hasNext:l,isLoadingNext:i,loadNext:s}=Te.usePaginationFragment(I7,e);if(o?.deployments?.edges?.length){const{edges:c}=o.deployments;return c.length&&!c.some(d=>d.node.id===n)?r(c[0].node.id):(!c.length||!n)&&r(null),u(ms,{id:"clients",asideWidth:t,mainPane:"left",leftContent:u(FUe,{deploymentId:n??void 0,fragmentRef:o.deployments,hasNext:l,isLoadingNext:i,loadNext:s}),rightContent:u(sUe,{deploymentId:n??void 0}),onAsideWidthChange:a})}return u(Mq,{})}function Aq({stage:e}){const n=xne(),t=fi.ConnectionHandler.getConnectionID(e.id,"deployment_container_api_deployments");return Te.useSubscription(g.useMemo(()=>({subscription:x7,variables:{stageId:e.id,connections:[t]}}),[t,e.id])),u(jt,{children:u(ct,{children:u(g.Suspense,{fallback:u(Fr,{sx:{flex:"1 1 auto"},children:u(wn,{})}),children:u(OUe,{stageId:e.id,deploymentId:n})})})})}function OUe({stageId:e,deploymentId:n}){const[t,r]=yc(),{stage:a}=Te.useLazyLoadQuery(w7,{stageId:e},{fetchKey:br(t),fetchPolicy:"store-and-network"});return $l(r),a?u($Ue,{fragmentRef:a,deploymentId:n??void 0}):u(Mq,{})}const Nq=function(){var e={defaultValue:null,kind:"LocalArgument",name:"after"},n={defaultValue:null,kind:"LocalArgument",name:"before"},t={defaultValue:null,kind:"LocalArgument",name:"first"},r={defaultValue:null,kind:"LocalArgument",name:"last"},a={defaultValue:null,kind:"LocalArgument",name:"stageId"},o=[{kind:"Variable",name:"id",variableName:"stageId"}],l=[{kind:"Variable",name:"after",variableName:"after"},{kind:"Variable",name:"before",variableName:"before"},{kind:"Variable",name:"first",variableName:"first"},{kind:"Variable",name:"last",variableName:"last"}],i={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},c={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a],kind:"Fragment",metadata:null,name:"logsContainerPaginationQuery",selections:[{alias:null,args:o,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:l,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[i,{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"logList"},{args:null,kind:"FragmentSpread",name:"logDetailsFlyout"},s],storageKey:null}],storageKey:null},c],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,e,t,n,r],kind:"Operation",name:"logsContainerPaginationQuery",selections:[{alias:null,args:o,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:l,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[i,{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[s,{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null},{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d,{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},c],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"ad1a35dfcd612e6c1efda72044d3a0f8",metadata:{},name:"logsContainerPaginationQuery",operationKind:"query",text:null}}}();Nq.hash="94a4ab8608db1fcf07eb46f4a96526d0";const $q={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsContainer",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Literal",name:"last",value:200},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"logList"},{args:null,kind:"FragmentSpread",name:"logDetailsFlyout"},{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};$q.hash="6ae78c56366a47d1545327275218b3a8";const Oq={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsPanel",selections:[{args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],kind:"FragmentSpread",name:"logsContainer"}],type:"Stage",abstractKey:null};Oq.hash="1769c571e4d52423b8e744e343cbc306";const Kq={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsChartPanel",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryLogsSeverityGraph",kind:"LinkedField",name:"logDistribution",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphCountData",kind:"LinkedField",name:"counts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};Kq.hash="64e60db8e6e245e562da26f0a2608559";const Vq=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"stageId"},t={defaultValue:null,kind:"LocalArgument",name:"to"},r=[{kind:"Variable",name:"id",variableName:"stageId"}],a={kind:"Variable",name:"from",variableName:"from"},o={kind:"Variable",name:"to",variableName:"to"},l=[a,o],i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t],kind:"Fragment",metadata:null,name:"logsQuery",selections:[{alias:null,args:r,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"logsPanel"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"logsChartPanel"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,e,t],kind:"Operation",name:"logsQuery",selections:[{alias:null,args:r,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"logsQuery$defer$logsPanel_1tCgTg",selections:[i,{alias:null,args:[a,{kind:"Literal",name:"last",value:200},o],concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[s,{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null},{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},c,{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"logsQuery$defer$logsChartPanel_1tCgTg",selections:[{alias:null,args:l,concreteType:"OpenTelemetryLogsSeverityGraph",kind:"LinkedField",name:"logDistribution",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[s,{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphCountData",kind:"LinkedField",name:"counts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},i],storageKey:null}]},params:{id:"ee3d5a9c010d586fcfa2c20d9d3357b1",metadata:{},name:"logsQuery",operationKind:"query",text:null}}}();Vq.hash="83cace4fd13209c74f27de384d4afbb1";function KUe({dataset:e,range:[n,t]}){const r=g.useCallback(o=>{const l=Tne(e.flatMap(({counts:s})=>s.map(({severity:c})=>c))).sort((s,c)=>s-c),i=e.map(({epoch:s,counts:c},d,f)=>{const p={epoch:s};if(d<f.length-1){const m=f[d+1].counts;for(const{severity:h}of m)p[h+""]=0}if(d>1){const m=f[d-1].counts;for(const{severity:h}of m)p[h+""]=0}for(const{severity:m,count:h}of c)p[m.toString()]=h;return p});return{tooltip:{trigger:"axis",padding:6,axisPointer:{label:{formatter(s){return el(s.value)}}}},legend:{show:!1},grid:{top:10,left:3,right:0,bottom:0},dataset:{source:i,dimensions:l.map(s=>s+"")},toolbox:{show:!1},brush:{xAxisId:"time",outOfBrush:{},brushStyle:{color:o(s=>s.chart.axisBrush),borderWidth:0}},xAxis:{id:"time",type:"time",min:n,max:t,axisPointer:{snap:!1,label:{show:!0,formatter:function(s){return el(s.value)},backgroundColor:o(s=>s.components.tooltip),borderColor:o(s=>s.components.tooltipBorder),shadowColor:o(s=>s.base.shadow),shadowBlur:4,shadowOffsetX:0,shadowOffsetY:1,textStyle:{fontFamily:Bi,fontSize:pb,color:o(s=>s.components.tooltipText)}}}},yAxis:{type:"value"},series:l.map(s=>({type:"line",name:HUe(s),dimensions:["epoch",s+""],stack:"severity",symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5},color:VUe(s,o)}))}},[e,n,t]),a=ph();return u(ol,{size:"mid",buildOption:r,onInit:o=>{a(null),o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"lineX",brushMode:"single"}}),o.on("brushEnd",l=>{a(l.areas.at(0)?.coordRange??null)})}})}function VUe(e,n){return n(t=>e<5?t.chart.trace:e<9?t.chart.debug:e<13?t.chart.info:e<17?t.chart.warning:e<21?t.chart.error:t.chart.fatal)}function HUe(e){return e<5?`Trace (${e})`:e<9?`Debug (${e})`:e<13?`Info (${e})`:e<17?`Warning (${e})`:e<21?`Error (${e})`:`Fatal (${e})`}function Hq({stage:e,range:n}){const[t,r]=n,{stageById:a}=Te.useLazyLoadQuery(Vq,{stageId:e.id,from:t,to:r},{fetchKey:br(),fetchPolicy:"store-and-network"});return B(jt,{children:[u(Kr,{spacing:"right",children:B(ri,{children:[u(xr,{children:e.displayName+" Stage"}),u(hr,{}),u(zt,{children:u(UP,{})})]})}),u(Dt,{}),u(ct,{sx:o=>({flexGrow:0,flexShrink:0,padding:o.spacing(24,8,12)}),children:u(g.Suspense,{fallback:u(wn,{}),children:u(zUe,{range:n,fragmentRef:a})})}),u(Dt,{}),u(ct,{children:u(g.Suspense,{fallback:u(wn,{}),children:u(BUe,{stage:e,fragmentRef:a})})})]})}function zUe({fragmentRef:e,range:n}){const t=Te.useFragment(Kq,e),r=g.useMemo(()=>t?.logDistribution?.dataset.map(a=>({epoch:a.epoch,counts:[...a.counts]})),[t]);return r?u(KUe,{dataset:r,range:n}):u(O1,{})}function BUe({fragmentRef:e}){const n=Te.useFragment(Oq,e);return n?u(GUe,{fragmentRef:n}):u(O1,{})}function GUe({fragmentRef:e}){const{logs:n,pagination:t}=jUe(e),[r,a]=g.useState(null),o=n[0],l=r?n[r]:null,i=g.useCallback(()=>a(null),[a]),s=g.useCallback(f=>{if(!r)return;const p=r+f;p<0||p>=n.length||!n[p]||a(p)},[n,r,a]),c=g.useCallback(()=>s(1),[s]),d=g.useCallback(()=>s(-1),[s]);return g.useEffect(()=>a(null),[a,o]),B(ye,{children:[u(l8,{fragmentRef:n,selectedIndex:r,onSelectLog:a,pagination:t,maybeHasMore:!0}),u(t8,{fragmentRef:l,onClose:i,onNext:c,onPrevious:d})]})}function jUe(e){const n=Te.useFragment($q,e),t=Te.useRelayEnvironment(),[r,a]=g.useReducer((c,d)=>{switch(d.type){case"LOAD_NEXT":return c.isLoadingNext?c:(NO(c.environment,c.stageId,c.endCursor,200,null,null).then(f=>{a({type:"LOADED_NEXT",data:f,initialData:c.initialData})}).catch(()=>{a({type:"LOADED_NEXT",data:void 0,initialData:c.initialData})}),{...c,isLoadingNext:!0});case"LOADED_NEXT":{if(d.initialData!==c.initialData)return c;if(!d.data)return{...c,isLoadingNext:!1};const f=d.data.stageById?.logs?.edges?.map(p=>p.node)??[];return{...c,logs:[...c.logs,...f],endCursor:d.data.stageById?.logs?.pageInfo.endCursor??c.endCursor,hasNext:d.data.stageById?.logs?.pageInfo.hasNextPage??!1,isLoadingNext:!1}}case"LOAD_PREVIOUS":return c.isLoadingPrevious?c:(NO(c.environment,c.stageId,null,null,c.startCursor,200).then(f=>{a({type:"LOADED_PREVIOUS",data:f,initialData:c.initialData})}).catch(()=>{a({type:"LOADED_PREVIOUS",data:void 0,initialData:c.initialData})}),{...c,isLoadingPrevious:!0});case"LOADED_PREVIOUS":{if(d.initialData!==c.initialData)return c;if(!d.data)return{...c,isLoadingPrevious:!1};const f=d.data.stageById?.logs?.edges?.map(p=>p.node)??[];return{...c,logs:[...f,...c.logs],startCursor:d.data.stageById?.logs?.pageInfo.startCursor??c.startCursor,hasPrevious:d.data.stageById?.logs?.pageInfo.hasPreviousPage??!1,isLoadingPrevious:!1}}case"RESET":return AO(t,d.data);default:return c}},AO(t,n));g.useEffect(()=>{n!==r.initialData&&a({type:"RESET",data:n})},[n,r.initialData]);const o=c=>{a({type:"LOAD_NEXT",count:c})},l=c=>{a({type:"LOAD_PREVIOUS",count:c})},i=n.logs?.edges?.[0]?.node,s=-r.logs.findIndex(c=>c===i);return{logs:r.logs,pagination:{offset:s,loadNext:o,loadPrevious:l,hasNext:r.hasNext,hasPrevious:r.hasPrevious,isLoadingNext:r.isLoadingNext,isLoadingPrevious:r.isLoadingPrevious}}}function AO(e,n){return{initialData:n,logs:n.logs?.edges?.map(t=>t.node)??[],stageId:n.id,hasNext:n.logs?.pageInfo.hasNextPage??!1,hasPrevious:n.logs?.pageInfo.hasPreviousPage??!1,endCursor:n.logs?.pageInfo.endCursor??null,startCursor:n.logs?.pageInfo.startCursor??null,isLoadingNext:!1,isLoadingPrevious:!1,environment:e}}function NO(e,n,t,r,a,o){return Te.fetchQuery(e,Nq,{stageId:n,after:t,first:r,before:a,last:o}).toPromise()}const zq=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"stageId"},t={defaultValue:null,kind:"LocalArgument",name:"to"},r=[{kind:"Variable",name:"id",variableName:"stageId"}],a={kind:"Variable",name:"from",variableName:"from"},o={kind:"Variable",name:"to",variableName:"to"},l=[a,o],i={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},s=[i,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null},m=[{kind:"Literal",name:"first",value:10},a,o],h={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},y={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null},v=[{kind:"Literal",name:"first",value:25},a,{kind:"Literal",name:"orderBy",value:[{impact:"DESC"}]},o],k={alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},x={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},C=[i,d,x],S=["from","to","orderBy","search"];return{fragment:{argumentDefinitions:[e,n,t],kind:"Fragment",metadata:null,name:"operationsMonitoringQuery",selections:[{alias:"stage",args:r,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsLatencyTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsThroughputTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsErrorsTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsErrorsInsightTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsClientsTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsInsightsTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,e,t],kind:"Operation",name:"operationsMonitoringQuery",selections:[{alias:"stage",args:r,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsLatencyTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:l,concreteType:"OperationsLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:s,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},c]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsThroughputTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:l,concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[i,d,f,p],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsErrorsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:l,concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[i,p],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsErrorsInsightTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:null,args:m,concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[h,{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},f,b],storageKey:null}],storageKey:null},y],storageKey:null},{alias:null,args:m,filters:["from","to"],handle:"connection",key:"operationsErrorsInsightTile_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},c]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsClientsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:v,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f,k,c,b],storageKey:null},h],storageKey:null},y],storageKey:null},{alias:null,args:v,filters:["from","to","orderBy"],handle:"connection",key:"apiClientsTile_clients_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},c]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsInsightsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:v,concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},w,d,x,k,{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:s,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:C,storageKey:null}],storageKey:null},b],storageKey:null},h],storageKey:null},y],storageKey:null},{alias:null,args:v,filters:S,handle:"connection",key:"operationsInsightsTileOperationsGridFragment_operations_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null},{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:null,args:v,concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},w,d,x,k,{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:s,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:C,storageKey:null}],storageKey:null},b],storageKey:null},h],storageKey:null},y],storageKey:null},{alias:null,args:v,filters:S,handle:"connection",key:"operationsInsightsTileResolversGridFragment_resolvers_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},c]},c],storageKey:null}]},params:{id:"4d7f9cb89b25bf8ae458143e437749cf",metadata:{},name:"operationsMonitoringQuery",operationKind:"query",text:null}}}();zq.hash="c3d3994c65ddf1a59f06d9b91f37f3e7";const Bq=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},t={defaultValue:null,kind:"LocalArgument",name:"from"},r={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},o={defaultValue:null,kind:"LocalArgument",name:"to"},l=[{kind:"Variable",name:"id",variableName:"id"}],i={kind:"Variable",name:"from",variableName:"from"},s={kind:"Variable",name:"to",variableName:"to"},c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},f=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},i,{kind:"Variable",name:"orderBy",variableName:"sort"},s];return{fragment:{argumentDefinitions:[e,n,t,r,a,o],kind:"Fragment",metadata:null,name:"apiClientsTilePaginationQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},i,{kind:"Variable",name:"sort",variableName:"sort"},s],kind:"FragmentSpread",name:"operationsClientsTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,t,a,o,r],kind:"Operation",name:"apiClientsTilePaginationQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[c,d,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:f,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},d,c],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:f,filters:["from","to","orderBy"],handle:"connection",key:"apiClientsTile_clients_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"365d38c31939049e684c8e66f6ee4dbd",metadata:{},name:"apiClientsTilePaginationQuery",operationKind:"query",text:null}}}();Bq.hash="1e2e249ce3ca877f281d390cb22f1a84";const Gq=function(){var e=["metrics","clients","insights"];return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:Bq,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsClientsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"__apiClientsTile_clients_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null}}();Gq.hash="1e2e249ce3ca877f281d390cb22f1a84";const UUe=g.memo(function({fragmentRef:n}){const{data:t}=Te.usePaginationFragment(Gq,n),r=g.useMemo(()=>t.metrics.clients.insights?.edges?.filter(({node:a})=>a.impact).map(({node:a})=>({name:a.name??PE,total:a.totalCount??0,impact:a.impact??0}))?.sort((a,o)=>a.total-o.total)??[],[t.metrics.clients.insights?.edges]);return u(Je,{size:6,title:"Clients",content:r.length?u(mEe,{dataset:r}):u(yt,{})})}),jq={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"operationsErrorsInsightTileGridFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null}],type:"ErrorInsight",abstractKey:null};jq.hash="dd2fb5339732dcc5d68405ecb084f1ec";const Uq=function(){var e={defaultValue:null,kind:"LocalArgument",name:"after"},n={defaultValue:10,kind:"LocalArgument",name:"first"},t={defaultValue:null,kind:"LocalArgument",name:"from"},r={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:null,kind:"LocalArgument",name:"to"},o=[{kind:"Variable",name:"id",variableName:"id"}],l=[{kind:"Variable",name:"after",variableName:"after"},{kind:"Variable",name:"first",variableName:"first"},{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a],kind:"Fragment",metadata:null,name:"operationsErrorsInsightTilePaginationQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:l,kind:"FragmentSpread",name:"operationsErrorsInsightTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,t,a,r],kind:"Operation",name:"operationsErrorsInsightTilePaginationQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[i,s,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:null,args:l,concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[s,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},i],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:l,filters:["from","to"],handle:"connection",key:"operationsErrorsInsightTile_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"0b8144b7ed2e1349bcb9ff8264a7e040",metadata:{},name:"operationsErrorsInsightTilePaginationQuery",operationKind:"query",text:null}}}();Uq.hash="73a6777b8d3a5fcf31ef4b6ed4a0a147";const qq=function(){var e=["metrics","errors","insights"];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"after"},{defaultValue:10,kind:"LocalArgument",name:"first"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"first",cursor:"after",direction:"forward",path:e}],refetch:{connection:{forward:{count:"first",cursor:"after"},backward:null,path:e},fragmentPathInResult:["node"],operation:Uq,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsErrorsInsightTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"__operationsErrorsInsightTile_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"operationsErrorsInsightTileGridFragment"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null}}();qq.hash="73a6777b8d3a5fcf31ef4b6ed4a0a147";const qUe=g.memo(function({fragmentRef:n}){const{data:t,isLoadingNext:r,loadNext:a,hasNext:o}=Te.usePaginationFragment(qq,n),l=g.useMemo(()=>t.metrics.errors.insights?.edges?.map(({node:s})=>s)??[],[t.metrics.errors.insights?.edges]),i=g.useCallback(()=>{!r&&o&&a(5)},[r,o,a]);return u(Je,{size:6,title:"Errors",noPadding:!0,content:u(Fr,{height:274,children:u(WUe,{fragmentRef:l,loadNext:i})})})});function WUe({fragmentRef:e,loadNext:n}){const t=Te.useFragment(jq,e),r=Mg();return u(ma,{apiRef:r,scrollEndThreshold:400,disableColumnReorder:!0,disableRowSelectionOnClick:!0,rowSelection:!1,slots:{noRowsOverlay:()=>u(yt,{})},columns:QUe,rows:t,onRowsScrollEnd:n})}const QUe=[{field:"type",headerName:"Type",width:100,sortable:!1,renderCell({row:e}){return u(dn,{children:e.type})}},{field:"message",headerName:"Message",width:250,sortable:!1,renderCell({row:e}){return u(dn,{children:e.message})}},{field:"totalCount",headerName:"Total Count",width:100,sortable:!1,renderCell({row:e}){return u(dn,{children:e.totalCount})}},{field:"rate",headerName:"Rate",width:100,sortable:!1,renderCell({row:e}){return B(dn,{children:[e.epm," epm"]})}},{field:"lastSeen",headerName:"Last Seen",width:150,sortable:!1,renderCell({row:e}){const n=nc(e.lastSeen);return u(dn,{children:n})}}],Wq={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationsErrorsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};Wq.hash="3ca2085392b7cea4011281ae31547fae";const YUe=g.memo(function({fragmentRef:n,range:t}){const r=Te.useFragment(Wq,n),a=g.useMemo(()=>r.metrics.operations.throughput?.dataset.map(({epoch:o,totalCountWithError:l})=>({epoch:o,total:l}))??[],[r.metrics.operations.throughput?.dataset]);return u(Je,{size:6,title:"Failed Operations",content:a.length?u(mh,{dataset:a,range:t}):u(yt,{})})}),Qq=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},t={defaultValue:null,kind:"LocalArgument",name:"from"},r={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:null,kind:"LocalArgument",name:"search"},o={defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},l={defaultValue:null,kind:"LocalArgument",name:"to"},i=[{kind:"Variable",name:"id",variableName:"id"}],s={kind:"Variable",name:"from",variableName:"from"},c={kind:"Variable",name:"search",variableName:"search"},d={kind:"Variable",name:"to",variableName:"to"},f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},s,{kind:"Variable",name:"orderBy",variableName:"sort"},c,d],h={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a,o,l],kind:"Fragment",metadata:null,name:"operationsInsightsTileResolversGridPaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},s,c,{kind:"Variable",name:"sort",variableName:"sort"},d],kind:"FragmentSpread",name:"operationsInsightsTileResolversGridFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,t,a,o,l,r],kind:"Operation",name:"operationsInsightsTileResolversGridPaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[f,p,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:null,args:m,concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[p,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},h,b,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,h,b],storageKey:null}],storageKey:null},f],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:m,filters:["from","to","orderBy","search"],handle:"connection",key:"operationsInsightsTileResolversGridFragment_resolvers_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"d4a2e3235797169335a937f9ed88bbdb",metadata:{},name:"operationsInsightsTileResolversGridPaginationQuery",operationKind:"query",text:null}}}();Qq.hash="74360ce27c1d505e11a8520721b9d4d6";const Yq=function(){var e=["metrics","resolvers","insights"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"search"},{defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:Qq,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsInsightsTileResolversGridFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"search",variableName:"search"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"__operationsInsightsTileResolversGridFragment_resolvers_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},t,r,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[a,t,r],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},n],type:"Stage",abstractKey:null}}();Yq.hash="74360ce27c1d505e11a8520721b9d4d6";const Xq=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},t={defaultValue:null,kind:"LocalArgument",name:"from"},r={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:null,kind:"LocalArgument",name:"search"},o={defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},l={defaultValue:null,kind:"LocalArgument",name:"to"},i=[{kind:"Variable",name:"id",variableName:"id"}],s={kind:"Variable",name:"from",variableName:"from"},c={kind:"Variable",name:"search",variableName:"search"},d={kind:"Variable",name:"to",variableName:"to"},f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},s,{kind:"Variable",name:"orderBy",variableName:"sort"},c,d],h={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a,o,l],kind:"Fragment",metadata:null,name:"operationsInsightsTileOperationsGridPaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},s,c,{kind:"Variable",name:"sort",variableName:"sort"},d],kind:"FragmentSpread",name:"operationsInsightsTileOperationsGridFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,t,a,o,l,r],kind:"Operation",name:"operationsInsightsTileOperationsGridPaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[f,p,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:m,concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[p,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},h,b,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,h,b],storageKey:null}],storageKey:null},f],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:m,filters:["from","to","orderBy","search"],handle:"connection",key:"operationsInsightsTileOperationsGridFragment_operations_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"3f4f883723b4e459cb60af240f9b1adc",metadata:{},name:"operationsInsightsTileOperationsGridPaginationQuery",operationKind:"query",text:null}}}();Xq.hash="1ba1b039b9a0936bcb4f9e55793f18b2";const Zq=function(){var e=["metrics","operations","insights"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"search"},{defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:Xq,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsInsightsTileOperationsGridFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"search",variableName:"search"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"__operationsInsightsTileOperationsGridFragment_operations_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},t,r,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[a,t,r],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},n],type:"Stage",abstractKey:null}}();Zq.hash="1ba1b039b9a0936bcb4f9e55793f18b2";const Jq=function(){var e=[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationsInsightsTileFragment",selections:[{args:e,kind:"FragmentSpread",name:"operationsInsightsTileOperationsGridFragment"},{args:e,kind:"FragmentSpread",name:"operationsInsightsTileResolversGridFragment"}],type:"Stage",abstractKey:null}}();Jq.hash="6b58a15423c47b8630d1f3c9ed8ebac5";function XUe(e){return{field:"coordinate",headerName:"Resolver",width:250,sortable:e?.sortable??!1,renderCell({row:n}){return u(ZUe,{coordinate:n.node.coordinate})}}}function ZUe({coordinate:e}){const n=Ka(),t=vz();return n?u(rl,{onClick:()=>t({stageId:n.id,coordinate:e}),children:u(dn,{children:e})}):u(dn,{children:e})}const JUe=g.memo(function({fragmentRef:n,range:t}){const r=Te.useFragment(Jq,n),[a,o]=g.useState("operations"),l=g.useRef(null),[i,s]=g.useState(""),c=g.useCallback((d,f)=>{f&&(o(f),s(""),l.current&&(l.current.value=""))},[s,o]);return u(Je,{size:12,title:"Insights",action:B(ye,{children:[u(Nl,{fieldRef:l,width:230,onSearchTermChange:s}),B(fB,{exclusive:!0,size:"small",value:a,onChange:c,children:[u(Up,{value:"operations",children:u(tt,{title:"Operations View",placement:"bottom",children:u(Ine,{})})}),u(Up,{value:"resolvers",children:u(tt,{title:"Resolvers View",placement:"bottom",children:u(Fne,{})})})]})]}),content:u(Fr,{height:388,children:a==="operations"?u(e9e,{fragmentRef:r,range:t,search:i},"operations"):u(t9e,{fragmentRef:r,range:t,search:i},"resolvers")}),noPadding:!0})}),e9e=g.memo(function({fragmentRef:n,range:t,search:r}){const{data:a,hasNext:o,isLoadingNext:l,loadNext:i,refetch:s}=Te.usePaginationFragment(Zq,n),[c,d]=g.useTransition(),f=g.useMemo(()=>a.metrics.operations.insights?.edges?.map(({node:y})=>({node:y,range:t}))??[],[a.metrics.operations.insights?.edges,t]),p=g.useCallback(()=>{o&&!l&&i(25)},[o,l,i]),[m,h]=g.useState([]),b=g.useCallback(y=>{if(f.length){const v=y.filter(({sort:k})=>!!k).map(({field:k,sort:w})=>({[k]:w==="asc"?"ASC":"DESC"}));h(v)}},[f,h]);return g.useEffect(()=>{const y=r?{search:r}:{},v=m.length?{sort:m}:{};d(()=>{s({...v,...y})})},[r,m,s,d]),u(UC,{columns:n9e,getRowId:({node:y})=>y.id,rows:f,loading:l||c,isFilterActive:!!r?.length,onRowsScrollEnd:p,onSortModelChange:b})}),n9e=[w8(),vh({sortable:!0}),kh({sortable:!0}),yh({sortable:!0}),bh({sortable:!0})],t9e=g.memo(function({fragmentRef:n,range:t,search:r}){const{data:a,hasNext:o,isLoadingNext:l,loadNext:i,refetch:s}=Te.usePaginationFragment(Yq,n),[c,d]=g.useTransition(),f=g.useMemo(()=>a.metrics.resolvers.insights?.edges?.map(({node:y})=>({node:y,range:t}))??[],[a.metrics.resolvers.insights?.edges,t]),p=g.useCallback(()=>{o&&!l&&i(25)},[o,l,i]),[m,h]=g.useState([]),b=g.useCallback(y=>{if(f.length){const v=y.filter(({sort:k})=>!!k).map(({field:k,sort:w})=>({[k]:w==="asc"?"ASC":"DESC"}));h(v)}},[f,h]);return g.useEffect(()=>{const y=r?{search:r}:{},v=m.length?{sort:m}:{};d(()=>{s({...v,...y})})},[r,m,s,d]),u(UC,{columns:r9e,getRowId:({node:y})=>y.id,rows:f,loading:l||c,isFilterActive:!!r?.length,onRowsScrollEnd:p,onSortModelChange:b})}),r9e=[XUe(),vh({sortable:!0}),kh({sortable:!0}),yh({sortable:!0}),bh({sortable:!0})],eW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:!1,kind:"LocalArgument",name:"includeP95"},r={defaultValue:!1,kind:"LocalArgument",name:"includeP99"},a={defaultValue:null,kind:"LocalArgument",name:"to"},o=[{kind:"Variable",name:"id",variableName:"id"}],l={kind:"Variable",name:"from",variableName:"from"},i={kind:"Variable",name:"to",variableName:"to"};return{fragment:{argumentDefinitions:[e,n,t,r,a],kind:"Fragment",metadata:null,name:"operationsLatencyTileRefetchQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[l,{kind:"Variable",name:"includeP95",variableName:"includeP95"},{kind:"Variable",name:"includeP99",variableName:"includeP99"},i],kind:"FragmentSpread",name:"operationsLatencyTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,t,r,a,n],kind:"Operation",name:"operationsLatencyTileRefetchQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[l,i],concreteType:"OperationsLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{condition:"includeP95",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}]},{condition:"includeP99",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}]}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"fe012717053ae36f73d9294b5f7be42e",metadata:{},name:"operationsLatencyTileRefetchQuery",operationKind:"query",text:null}}}();eW.hash="f249223b82a1f433276345a955a881e6";const nW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:!1,kind:"LocalArgument",name:"includeP95"},{defaultValue:!1,kind:"LocalArgument",name:"includeP99"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:eW,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsLatencyTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{condition:"includeP95",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}]},{condition:"includeP99",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}]}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null};nW.hash="f249223b82a1f433276345a955a881e6";function a9e({fragmentRef:e,range:n}){const[t,r]=Te.useRefetchableFragment(nW,e),{includeP95:a,includeP99:o,handlePercentilesChanged:l}=Ag(r),i=t.metrics.operations.latency?.dataset;return u(Je,{size:12,title:"Latency",content:i?.length?u(Ig,{dataset:i,range:n,includeP95:a,includeP99:o,onPercentilesChanged:l}):u(yt,{})})}const tW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationsThroughputTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};tW.hash="8a7400e9dea03b6064ef7e597f9ba33a";const o9e=g.memo(function({fragmentRef:n,range:t}){const r=Te.useFragment(tW,n),a=g.useMemo(()=>r.metrics.operations.throughput?.dataset.map(({epoch:o,opm:l,totalCount:i,totalCountWithError:s})=>({epoch:o,opm:l,success:i-s,error:s}))??[],[r.metrics.operations.throughput?.dataset]);return u(Je,{size:6,title:"Throughput",content:a.length?u(Dh,{dataset:a,range:t}):u(yt,{})})});function l9e({stage:e,range:n}){const[t,r]=n,a=g.useMemo(()=>({stageId:e.id,from:t,to:r}),[e.id,t,r]),o=g.useMemo(()=>[{id:"stage",label:e.displayName+" Stage"}],[e.displayName]);return u(Ic,{header:u(vs,{breadcrumbItems:o,actions:[u(H4,{},"metrics-monitoring-view-selector")]}),children:u(i9e,{variables:a})})}function i9e({variables:e}){const{stage:n}=Te.useLazyLoadQuery(zq,e,{fetchKey:br()});return n?B(ye,{children:[u(g.Suspense,{fallback:u(Je,{size:12,title:"Latency",content:u(Ft,{})}),children:u(a9e,{fragmentRef:n,range:[e.from,e.to]})}),u(g.Suspense,{fallback:u(Je,{size:6,title:"Throughput",content:u(Ft,{})}),children:u(o9e,{fragmentRef:n,range:[e.from,e.to]})}),u(g.Suspense,{fallback:u(Je,{size:6,title:"Clients",content:u(Ft,{})}),children:u(UUe,{fragmentRef:n})}),u(g.Suspense,{fallback:u(Je,{size:6,title:"Failed Operations",content:u(Ft,{})}),children:u(YUe,{fragmentRef:n,range:[e.from,e.to]})}),u(g.Suspense,{fallback:u(Je,{size:6,title:"Errors",content:u(Ft,{})}),children:u(qUe,{fragmentRef:n})}),u(g.Suspense,{fallback:u(Je,{size:12,title:"Insights",content:u(Fr,{height:388,children:u(Ft,{})})}),children:u(JUe,{fragmentRef:n,range:[e.from,e.to]})})]}):u(Qu,{})}const rW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"coordinate"},n={defaultValue:null,kind:"LocalArgument",name:"from"},t={defaultValue:null,kind:"LocalArgument",name:"stageId"},r={defaultValue:null,kind:"LocalArgument",name:"to"},a=[{kind:"Variable",name:"id",variableName:"stageId"}],o={kind:"Variable",name:"coordinate",variableName:"coordinate"},l={kind:"Variable",name:"from",variableName:"from"},i={kind:"Variable",name:"to",variableName:"to"},s=[o,l,i],c=[o],d=[l,i],f={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r],kind:"Fragment",metadata:null,name:"resolverMonitoringQuery",selections:[{alias:"stage",args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverLatencyTileFragment"}]},{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverThroughputTileFragment"}]},{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverErrorsTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,e,n,r],kind:"Operation",name:"resolverMonitoringQuery",selections:[{alias:"stage",args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverLatencyTileFragment_1088So",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:c,concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:d,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},p]},{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverThroughputTileFragment_1088So",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:c,concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:d,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},m],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverErrorsTileFragment_1088So",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:c,concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:d,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[f,m],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},p],storageKey:null}]},params:{id:"7e4bf5aadbcc24730ba9cb7903e3ad8a",metadata:{},name:"resolverMonitoringQuery",operationKind:"query",text:null}}}();rW.hash="da56c06b0305182b0f089b8a831b8bae";const aW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"coordinate"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"resolverErrorsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"coordinate",variableName:"coordinate"}],concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};aW.hash="b566eec4356126806af7fac4f1d8d72f";function s9e({fragmentRef:e,range:n}){const r=Te.useFragment(aW,e).metrics.resolver?.throughput;return u(Je,{size:4,title:"Errors",content:r?.dataset.length?u(mh,{dataset:r.dataset.map(({epoch:a,totalCountWithError:o})=>({epoch:a,total:o})),range:n}):u(yt,{})})}const oW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"coordinate"},n={defaultValue:null,kind:"LocalArgument",name:"from"},t={defaultValue:null,kind:"LocalArgument",name:"id"},r={defaultValue:!1,kind:"LocalArgument",name:"includeP95"},a={defaultValue:!1,kind:"LocalArgument",name:"includeP99"},o={defaultValue:null,kind:"LocalArgument",name:"to"},l=[{kind:"Variable",name:"id",variableName:"id"}],i={kind:"Variable",name:"coordinate",variableName:"coordinate"},s={kind:"Variable",name:"from",variableName:"from"},c={kind:"Variable",name:"to",variableName:"to"};return{fragment:{argumentDefinitions:[e,n,t,r,a,o],kind:"Fragment",metadata:null,name:"resolverLatencyTileRefetchQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[i,s,{kind:"Variable",name:"includeP95",variableName:"includeP95"},{kind:"Variable",name:"includeP99",variableName:"includeP99"},c],kind:"FragmentSpread",name:"resolverLatencyTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,r,a,o,t],kind:"Operation",name:"resolverLatencyTileRefetchQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[i],concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:[s,c],concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{condition:"includeP95",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}]},{condition:"includeP99",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}]}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"943916cb8c57bc1f362dfd9d546d8aeb",metadata:{},name:"resolverLatencyTileRefetchQuery",operationKind:"query",text:null}}}();oW.hash="c756edebe36c9c9e785c9425a8c48779";const lW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"coordinate"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:!1,kind:"LocalArgument",name:"includeP95"},{defaultValue:!1,kind:"LocalArgument",name:"includeP99"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:oW,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"resolverLatencyTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"coordinate",variableName:"coordinate"}],concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{condition:"includeP95",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}]},{condition:"includeP99",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}]}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null};lW.hash="c756edebe36c9c9e785c9425a8c48779";function c9e({fragmentRef:e,range:n}){const[t,r]=Te.useRefetchableFragment(lW,e),{includeP95:a,includeP99:o,handlePercentilesChanged:l}=Ag(r),i=t.metrics.resolver?.latency?.dataset;return u(Je,{size:4,title:"Latency",content:i?.length?u(Ig,{dataset:i,range:n,includeP95:a,includeP99:o,onPercentilesChanged:l}):u(yt,{})})}const iW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"coordinate"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"resolverThroughputTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"coordinate",variableName:"coordinate"}],concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};iW.hash="7a5dfc205d98f652ff24261d010d1c6d";function u9e({fragmentRef:e,range:n}){const r=Te.useFragment(iW,e).metrics.resolver?.throughput;return u(Je,{size:4,title:"Throughput",content:r?.dataset.length?u(Dh,{dataset:r.dataset.map(({epoch:a,opm:o,totalCount:l,totalCountWithError:i})=>({epoch:a,opm:o,success:l-i,error:i})),range:n}):u(yt,{})})}function d9e({stageId:e,coordinate:n,range:t}){const r=vz(),[a,o]=t,l=g.useMemo(()=>({stageId:e,coordinate:n,from:a,to:o}),[e,n,a,o]),i=g.useMemo(()=>[{id:"all-resolvers",label:"All Resolvers",onClick:()=>{r(null)}},{id:"resolver",label:n}],[n,r]);return u(Ic,{header:u(vs,{breadcrumbItems:i}),children:u(g.Suspense,{fallback:u(f9e,{}),children:u(g9e,{variables:l})})})}function f9e(){return B(ye,{children:[u(Je,{size:4,title:"Latency",content:u(Ft,{})}),u(Je,{size:4,title:"Throughput",content:u(Ft,{})}),u(Je,{size:4,title:"Errors",content:u(Ft,{})})]})}function g9e({variables:e}){const{stage:n}=Te.useLazyLoadQuery(rW,e,{fetchKey:br()});return n?B(ye,{children:[u(c9e,{fragmentRef:n,range:[e.from,e.to]}),u(u9e,{fragmentRef:n,range:[e.from,e.to]}),u(s9e,{fragmentRef:n,range:[e.from,e.to]})]}):u(Qu,{})}const sW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"maxLatency"},t={defaultValue:null,kind:"LocalArgument",name:"minLatency"},r={defaultValue:null,kind:"LocalArgument",name:"name"},a={defaultValue:null,kind:"LocalArgument",name:"stageId"},o={defaultValue:null,kind:"LocalArgument",name:"to"},l=[{kind:"Variable",name:"id",variableName:"stageId"}],i={kind:"Variable",name:"from",variableName:"from"},s={kind:"Variable",name:"name",variableName:"name"},c={kind:"Variable",name:"to",variableName:"to"},d=[i,s,c],f=[s],p=[i,c],m={kind:"Variable",name:"maxLatency",variableName:"maxLatency"},h={kind:"Variable",name:"minLatency",variableName:"minLatency"},b={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},v={alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a,o],kind:"Fragment",metadata:null,name:"transactionMonitoringQuery",selections:[{alias:"stage",args:l,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"transactionLatencyTileFragment"}]},{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"transactionThroughputTileFragment"}]},{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"transactionErrorsTileFragment"}]},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{kind:"Defer",selections:[{args:p,kind:"FragmentSpread",name:"transactionLatencyHistogramTileFragment"}]}],storageKey:null}],storageKey:null},{kind:"Defer",selections:[{args:[i,m,h,s,c],kind:"FragmentSpread",name:"transactionTraceSampleTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,r,e,o,t,n],kind:"Operation",name:"transactionMonitoringQuery",selections:[{alias:"stage",args:l,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionLatencyTileFragment_3hpVXj",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:p,concreteType:"OpenTelemetryTransactionLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryTransactionLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[b,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},y]},{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionThroughputTileFragment_3hpVXj",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:p,concreteType:"OpenTelemetryTransactionThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryTransactionThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[b,{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},v,k],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionErrorsTileFragment_3hpVXj",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:p,concreteType:"OpenTelemetryTransactionThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryTransactionThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[b,k],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionLatencyHistogramTileFragment_1tCgTg",selections:[{alias:null,args:p,concreteType:"OpenTelemetryTransactionLatencyDistributionGraph",kind:"LinkedField",name:"latencyDistribution",plural:!1,selections:[v,{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryTransactionLatencyDistributionGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"bin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorFrequency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"successFrequency",storageKey:null}],storageKey:null}],storageKey:null}]}],storageKey:null}],storageKey:null},{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionTraceSampleTileFragment_22w7Ou",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:[i,m,h,c],concreteType:"OpenTelemetryTransactionTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},y]},y],storageKey:null}]},params:{id:"8827a07accb467f7c883ea76315a2f57",metadata:{},name:"transactionMonitoringQuery",operationKind:"query",text:null}}}();sW.hash="79ef42018aa18e9caaffd3f0f867be3e";const cW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"name"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"transactionErrorsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"name",variableName:"name"}],concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryTransactionThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryTransactionThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};cW.hash="3adafeeb0b584da74e4032dc4a5bd6d4";function p9e({fragmentRef:e,range:n}){const r=Te.useFragment(cW,e).metrics.transaction.throughput;return u(Je,{size:4,title:"Errors",content:r?.dataset.length?u(mh,{dataset:r.dataset.map(({epoch:a,totalCountWithError:o})=>({epoch:a,total:o})),range:n}):u(yt,{})})}const uW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"transactionLatencyHistogramTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryTransactionLatencyDistributionGraph",kind:"LinkedField",name:"latencyDistribution",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryTransactionLatencyDistributionGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"bin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorFrequency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"successFrequency",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageTransactionMetrics",abstractKey:null};uW.hash="1a2401ceb8a672178d33a2838cb410e9";const dW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:null,kind:"LocalArgument",name:"maxLatency"},r={defaultValue:null,kind:"LocalArgument",name:"minLatency"},a={defaultValue:null,kind:"LocalArgument",name:"name"},o={defaultValue:null,kind:"LocalArgument",name:"to"},l=[{kind:"Variable",name:"id",variableName:"id"}],i={kind:"Variable",name:"from",variableName:"from"},s={kind:"Variable",name:"maxLatency",variableName:"maxLatency"},c={kind:"Variable",name:"minLatency",variableName:"minLatency"},d={kind:"Variable",name:"name",variableName:"name"},f={kind:"Variable",name:"to",variableName:"to"};return{fragment:{argumentDefinitions:[e,n,t,r,a,o],kind:"Fragment",metadata:null,name:"transactionTraceSampleTilePaginationQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[i,s,c,d,f],kind:"FragmentSpread",name:"transactionTraceSampleTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,t,r,a,o,n],kind:"Operation",name:"transactionTraceSampleTilePaginationQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[d],concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:[i,s,c,f],concreteType:"OpenTelemetryTransactionTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"fba1416a2569dd4165a4c1b7968feb40",metadata:{},name:"transactionTraceSampleTilePaginationQuery",operationKind:"query",text:null}}}();dW.hash="be8a8d852ea905ef07d7b805533f3c7c";const fW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"maxLatency"},{defaultValue:null,kind:"LocalArgument",name:"minLatency"},{defaultValue:null,kind:"LocalArgument",name:"name"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:dW,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"transactionTraceSampleTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"name",variableName:"name"}],concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"maxLatency",variableName:"maxLatency"},{kind:"Variable",name:"minLatency",variableName:"minLatency"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryTransactionTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null};fW.hash="be8a8d852ea905ef07d7b805533f3c7c";function m9e({fragmentRef:e,stageId:n,onTraceSampleDataLoaded:t}){const[r,a]=Te.useRefetchableFragment(fW,e),{samples:o}=r.metrics.transaction;return u(s8,{stageId:n,samples:o,onTraceSampleDataLoaded:t,onRefetchSamples:i=>{a(i?{minLatency:i[0],maxLatency:i[1]}:{})}})}function h9e({operationFragmentRef:e,stageFragmentRef:n,stageId:t}){const r=g.useRef(null),{latencyDistribution:a}=Te.useFragment(uW,e),o=G9();return u(Je,{size:12,minHeight:600,title:"Latency Distribution",noPadding:!0,subheader:u(y9e,{totalCount:a?.totalCount??0}),content:a?.dataset.length?B(ye,{children:[u(PC,{$paddingBottom:!0,children:u(V4,{ref:r,data:a,onRangeChange:o})}),u(g.Suspense,{fallback:u(i8,{}),children:u(m9e,{fragmentRef:n,stageId:t,onTraceSampleDataLoaded:l=>{r.current&&r.current.setCurrent(l?.totalDuration??null)}})})]}):u(v9e,{children:u(yt,{})})})}function y9e({totalCount:e}){const n=z9();return B(Qo,{direction:"row",justifyContent:"space-between",gap:8,container:!0,children:[u(Qo,{children:"Total operations: "+av(e)}),u(Qo,{children:n?"Selected range: "+n.map(t=>Fa(t)).join(" - "):B(b9e,{children:[u(Rt,{})," Click and drag to select a range"]})})]})}const b9e=q("div")(({theme:e})=>ce`
|
|
2550
|
+
`;function Mq(){return B(st,{title:"No Deployments Yet",icon:u(vc,{}),actions:u(Nr,{href:"https://chilli.run/deployment-tutorial",children:"Quick Start Guide"}),children:[B(Ke,{variant:"subtitle1",children:["Use the ",u("em",{children:"Nitro"})," CLI to trigger your first deployment."]}),B(Ke,{variant:"subtitle1",children:["Need help? Check out the Quick Start Guide to learn how to trigger deployments with ",u("em",{children:"Nitro"}),"."]})]})}function $Ue({fragmentRef:e,deploymentId:n}){const t=pP(),r=bz(),a=gP(),{data:o,hasNext:l,isLoadingNext:i,loadNext:s}=Te.usePaginationFragment(I7,e);if(o?.deployments?.edges?.length){const{edges:c}=o.deployments;return c.length&&!c.some(d=>d.node.id===n)?r(c[0].node.id):(!c.length||!n)&&r(null),u(ms,{id:"clients",asideWidth:t,mainPane:"left",leftContent:u(FUe,{deploymentId:n??void 0,fragmentRef:o.deployments,hasNext:l,isLoadingNext:i,loadNext:s}),rightContent:u(sUe,{deploymentId:n??void 0}),onAsideWidthChange:a})}return u(Mq,{})}function Aq({stage:e}){const n=xne(),t=fi.ConnectionHandler.getConnectionID(e.id,"deployment_container_api_deployments");return Te.useSubscription(g.useMemo(()=>({subscription:x7,variables:{stageId:e.id,connections:[t]}}),[t,e.id])),u(jt,{children:u(ct,{children:u(g.Suspense,{fallback:u(Fr,{sx:{flex:"1 1 auto"},children:u(wn,{})}),children:u(OUe,{stageId:e.id,deploymentId:n})})})})}function OUe({stageId:e,deploymentId:n}){const[t,r]=yc(),{stage:a}=Te.useLazyLoadQuery(w7,{stageId:e},{fetchKey:br(t),fetchPolicy:"store-and-network"});return $l(r),a?u($Ue,{fragmentRef:a,deploymentId:n??void 0}):u(Mq,{})}const Nq=function(){var e={defaultValue:null,kind:"LocalArgument",name:"after"},n={defaultValue:null,kind:"LocalArgument",name:"before"},t={defaultValue:null,kind:"LocalArgument",name:"first"},r={defaultValue:null,kind:"LocalArgument",name:"last"},a={defaultValue:null,kind:"LocalArgument",name:"stageId"},o=[{kind:"Variable",name:"id",variableName:"stageId"}],l=[{kind:"Variable",name:"after",variableName:"after"},{kind:"Variable",name:"before",variableName:"before"},{kind:"Variable",name:"first",variableName:"first"},{kind:"Variable",name:"last",variableName:"last"}],i={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},c={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a],kind:"Fragment",metadata:null,name:"logsContainerPaginationQuery",selections:[{alias:null,args:o,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:l,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[i,{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"logList"},{args:null,kind:"FragmentSpread",name:"logDetailsFlyout"},s],storageKey:null}],storageKey:null},c],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,e,t,n,r],kind:"Operation",name:"logsContainerPaginationQuery",selections:[{alias:null,args:o,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{alias:null,args:l,concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[i,{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[s,{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null},{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d,{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},c],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"ad1a35dfcd612e6c1efda72044d3a0f8",metadata:{},name:"logsContainerPaginationQuery",operationKind:"query",text:null}}}();Nq.hash="94a4ab8608db1fcf07eb46f4a96526d0";const $q={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsContainer",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Literal",name:"last",value:200},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"logList"},{args:null,kind:"FragmentSpread",name:"logDetailsFlyout"},{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};$q.hash="6ae78c56366a47d1545327275218b3a8";const Oq={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsPanel",selections:[{args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],kind:"FragmentSpread",name:"logsContainer"}],type:"Stage",abstractKey:null};Oq.hash="1769c571e4d52423b8e744e343cbc306";const Kq={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"logsChartPanel",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryLogsSeverityGraph",kind:"LinkedField",name:"logDistribution",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphCountData",kind:"LinkedField",name:"counts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};Kq.hash="64e60db8e6e245e562da26f0a2608559";const Vq=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"stageId"},t={defaultValue:null,kind:"LocalArgument",name:"to"},r=[{kind:"Variable",name:"id",variableName:"stageId"}],a={kind:"Variable",name:"from",variableName:"from"},o={kind:"Variable",name:"to",variableName:"to"},l=[a,o],i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t],kind:"Fragment",metadata:null,name:"logsQuery",selections:[{alias:null,args:r,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"logsPanel"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"logsChartPanel"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,e,t],kind:"Operation",name:"logsQuery",selections:[{alias:null,args:r,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"logsQuery$defer$logsPanel_1tCgTg",selections:[i,{alias:null,args:[a,{kind:"Literal",name:"last",value:200},o],concreteType:"OpenTelemetryLogsConnection",kind:"LinkedField",name:"logs",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryLog",kind:"LinkedField",name:"node",plural:!1,selections:[s,{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityNumber",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severityText",storageKey:null},{alias:null,args:null,concreteType:"Attribute",kind:"LinkedField",name:"resourceAttributes",plural:!0,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"logAttributes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},c,{kind:"InlineFragment",selections:[{alias:"boolValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryBoolAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"longValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryLongAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"floatValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryFloatAttribute",abstractKey:null},{kind:"InlineFragment",selections:[{alias:"stringValue",args:null,kind:"ScalarField",name:"value",storageKey:null}],type:"OpenTelemetryStringAttribute",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasPreviousPage",storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"logsQuery$defer$logsChartPanel_1tCgTg",selections:[{alias:null,args:l,concreteType:"OpenTelemetryLogsSeverityGraph",kind:"LinkedField",name:"logDistribution",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[s,{alias:null,args:null,concreteType:"OpenTelemetryLogsSeverityGraphCountData",kind:"LinkedField",name:"counts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"severity",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},i],storageKey:null}]},params:{id:"ee3d5a9c010d586fcfa2c20d9d3357b1",metadata:{},name:"logsQuery",operationKind:"query",text:null}}}();Vq.hash="83cace4fd13209c74f27de384d4afbb1";function KUe({dataset:e,range:[n,t]}){const r=g.useCallback(o=>{const l=Tne(e.flatMap(({counts:s})=>s.map(({severity:c})=>c))).sort((s,c)=>s-c),i=e.map(({epoch:s,counts:c},d,f)=>{const p={epoch:s};if(d<f.length-1){const m=f[d+1].counts;for(const{severity:h}of m)p[h+""]=0}if(d>1){const m=f[d-1].counts;for(const{severity:h}of m)p[h+""]=0}for(const{severity:m,count:h}of c)p[m.toString()]=h;return p});return{tooltip:{trigger:"axis",padding:6,axisPointer:{label:{formatter(s){return el(s.value)}}}},legend:{show:!1},grid:{top:10,left:3,right:0,bottom:0},dataset:{source:i,dimensions:l.map(s=>s+"")},toolbox:{show:!1},brush:{xAxisId:"time",outOfBrush:{},brushStyle:{color:o(s=>s.chart.axisBrush),borderWidth:0}},xAxis:{id:"time",type:"time",min:n,max:t,axisPointer:{snap:!1,label:{show:!0,formatter:function(s){return el(s.value)},backgroundColor:o(s=>s.components.tooltip),borderColor:o(s=>s.components.tooltipBorder),shadowColor:o(s=>s.base.shadow),shadowBlur:4,shadowOffsetX:0,shadowOffsetY:1,textStyle:{fontFamily:Bi,fontSize:pb,color:o(s=>s.components.tooltipText)}}}},yAxis:{type:"value"},series:l.map(s=>({type:"line",name:HUe(s),dimensions:["epoch",s+""],stack:"severity",symbol:"circle",symbolSize:0,areaStyle:{},lineStyle:{width:1.5},color:VUe(s,o)}))}},[e,n,t]),a=ph();return u(ol,{size:"mid",buildOption:r,onInit:o=>{a(null),o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"lineX",brushMode:"single"}}),o.on("brushEnd",l=>{a(l.areas.at(0)?.coordRange??null)})}})}function VUe(e,n){return n(t=>e<5?t.chart.trace:e<9?t.chart.debug:e<13?t.chart.info:e<17?t.chart.warning:e<21?t.chart.error:t.chart.fatal)}function HUe(e){return e<5?`Trace (${e})`:e<9?`Debug (${e})`:e<13?`Info (${e})`:e<17?`Warning (${e})`:e<21?`Error (${e})`:`Fatal (${e})`}function Hq({stage:e,range:n}){const[t,r]=n,{stageById:a}=Te.useLazyLoadQuery(Vq,{stageId:e.id,from:t,to:r},{fetchKey:br(),fetchPolicy:"store-and-network"});return B(jt,{children:[u(Kr,{spacing:"right",children:B(ri,{children:[u(xr,{children:e.displayName+" Stage"}),u(hr,{}),u(zt,{children:u(UP,{})})]})}),u(Dt,{}),u(ct,{sx:o=>({flexGrow:0,flexShrink:0,padding:o.spacing(24,0,12,8)}),children:u(g.Suspense,{fallback:u(wn,{}),children:u(zUe,{range:n,fragmentRef:a})})}),u(Dt,{}),u(ct,{children:u(g.Suspense,{fallback:u(wn,{}),children:u(BUe,{stage:e,fragmentRef:a})})})]})}function zUe({fragmentRef:e,range:n}){const t=Te.useFragment(Kq,e),r=g.useMemo(()=>t?.logDistribution?.dataset.map(a=>({epoch:a.epoch,counts:[...a.counts]})),[t]);return r?u(KUe,{dataset:r,range:n}):u(O1,{})}function BUe({fragmentRef:e}){const n=Te.useFragment(Oq,e);return n?u(GUe,{fragmentRef:n}):u(O1,{})}function GUe({fragmentRef:e}){const{logs:n,pagination:t}=jUe(e),[r,a]=g.useState(null),o=n[0],l=r?n[r]:null,i=g.useCallback(()=>a(null),[a]),s=g.useCallback(f=>{if(!r)return;const p=r+f;p<0||p>=n.length||!n[p]||a(p)},[n,r,a]),c=g.useCallback(()=>s(1),[s]),d=g.useCallback(()=>s(-1),[s]);return g.useEffect(()=>a(null),[a,o]),B(ye,{children:[u(l8,{fragmentRef:n,selectedIndex:r,onSelectLog:a,pagination:t,maybeHasMore:!0}),u(t8,{fragmentRef:l,onClose:i,onNext:c,onPrevious:d})]})}function jUe(e){const n=Te.useFragment($q,e),t=Te.useRelayEnvironment(),[r,a]=g.useReducer((c,d)=>{switch(d.type){case"LOAD_NEXT":return c.isLoadingNext?c:(NO(c.environment,c.stageId,c.endCursor,200,null,null).then(f=>{a({type:"LOADED_NEXT",data:f,initialData:c.initialData})}).catch(()=>{a({type:"LOADED_NEXT",data:void 0,initialData:c.initialData})}),{...c,isLoadingNext:!0});case"LOADED_NEXT":{if(d.initialData!==c.initialData)return c;if(!d.data)return{...c,isLoadingNext:!1};const f=d.data.stageById?.logs?.edges?.map(p=>p.node)??[];return{...c,logs:[...c.logs,...f],endCursor:d.data.stageById?.logs?.pageInfo.endCursor??c.endCursor,hasNext:d.data.stageById?.logs?.pageInfo.hasNextPage??!1,isLoadingNext:!1}}case"LOAD_PREVIOUS":return c.isLoadingPrevious?c:(NO(c.environment,c.stageId,null,null,c.startCursor,200).then(f=>{a({type:"LOADED_PREVIOUS",data:f,initialData:c.initialData})}).catch(()=>{a({type:"LOADED_PREVIOUS",data:void 0,initialData:c.initialData})}),{...c,isLoadingPrevious:!0});case"LOADED_PREVIOUS":{if(d.initialData!==c.initialData)return c;if(!d.data)return{...c,isLoadingPrevious:!1};const f=d.data.stageById?.logs?.edges?.map(p=>p.node)??[];return{...c,logs:[...f,...c.logs],startCursor:d.data.stageById?.logs?.pageInfo.startCursor??c.startCursor,hasPrevious:d.data.stageById?.logs?.pageInfo.hasPreviousPage??!1,isLoadingPrevious:!1}}case"RESET":return AO(t,d.data);default:return c}},AO(t,n));g.useEffect(()=>{n!==r.initialData&&a({type:"RESET",data:n})},[n,r.initialData]);const o=c=>{a({type:"LOAD_NEXT",count:c})},l=c=>{a({type:"LOAD_PREVIOUS",count:c})},i=n.logs?.edges?.[0]?.node,s=-r.logs.findIndex(c=>c===i);return{logs:r.logs,pagination:{offset:s,loadNext:o,loadPrevious:l,hasNext:r.hasNext,hasPrevious:r.hasPrevious,isLoadingNext:r.isLoadingNext,isLoadingPrevious:r.isLoadingPrevious}}}function AO(e,n){return{initialData:n,logs:n.logs?.edges?.map(t=>t.node)??[],stageId:n.id,hasNext:n.logs?.pageInfo.hasNextPage??!1,hasPrevious:n.logs?.pageInfo.hasPreviousPage??!1,endCursor:n.logs?.pageInfo.endCursor??null,startCursor:n.logs?.pageInfo.startCursor??null,isLoadingNext:!1,isLoadingPrevious:!1,environment:e}}function NO(e,n,t,r,a,o){return Te.fetchQuery(e,Nq,{stageId:n,after:t,first:r,before:a,last:o}).toPromise()}const zq=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"stageId"},t={defaultValue:null,kind:"LocalArgument",name:"to"},r=[{kind:"Variable",name:"id",variableName:"stageId"}],a={kind:"Variable",name:"from",variableName:"from"},o={kind:"Variable",name:"to",variableName:"to"},l=[a,o],i={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},s=[i,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null},m=[{kind:"Literal",name:"first",value:10},a,o],h={alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},y={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null},v=[{kind:"Literal",name:"first",value:25},a,{kind:"Literal",name:"orderBy",value:[{impact:"DESC"}]},o],k={alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},x={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},C=[i,d,x],S=["from","to","orderBy","search"];return{fragment:{argumentDefinitions:[e,n,t],kind:"Fragment",metadata:null,name:"operationsMonitoringQuery",selections:[{alias:"stage",args:r,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsLatencyTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsThroughputTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsErrorsTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsErrorsInsightTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsClientsTileFragment"}]},{kind:"Defer",selections:[{args:l,kind:"FragmentSpread",name:"operationsInsightsTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,e,t],kind:"Operation",name:"operationsMonitoringQuery",selections:[{alias:"stage",args:r,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsLatencyTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:l,concreteType:"OperationsLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:s,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},c]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsThroughputTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:l,concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[i,d,f,p],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsErrorsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:l,concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[i,p],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsErrorsInsightTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:null,args:m,concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[h,{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},f,b],storageKey:null}],storageKey:null},y],storageKey:null},{alias:null,args:m,filters:["from","to"],handle:"connection",key:"operationsErrorsInsightTile_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},c]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsClientsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:v,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f,k,c,b],storageKey:null},h],storageKey:null},y],storageKey:null},{alias:null,args:v,filters:["from","to","orderBy"],handle:"connection",key:"apiClientsTile_clients_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},c]},{if:null,kind:"Defer",label:"operationsMonitoringQuery$defer$operationsInsightsTileFragment_1tCgTg",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:v,concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},w,d,x,k,{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:s,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:C,storageKey:null}],storageKey:null},b],storageKey:null},h],storageKey:null},y],storageKey:null},{alias:null,args:v,filters:S,handle:"connection",key:"operationsInsightsTileOperationsGridFragment_operations_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null},{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:null,args:v,concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},w,d,x,k,{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:s,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:C,storageKey:null}],storageKey:null},b],storageKey:null},h],storageKey:null},y],storageKey:null},{alias:null,args:v,filters:S,handle:"connection",key:"operationsInsightsTileResolversGridFragment_resolvers_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null},c]},c],storageKey:null}]},params:{id:"4d7f9cb89b25bf8ae458143e437749cf",metadata:{},name:"operationsMonitoringQuery",operationKind:"query",text:null}}}();zq.hash="c3d3994c65ddf1a59f06d9b91f37f3e7";const Bq=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},t={defaultValue:null,kind:"LocalArgument",name:"from"},r={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},o={defaultValue:null,kind:"LocalArgument",name:"to"},l=[{kind:"Variable",name:"id",variableName:"id"}],i={kind:"Variable",name:"from",variableName:"from"},s={kind:"Variable",name:"to",variableName:"to"},c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},f=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},i,{kind:"Variable",name:"orderBy",variableName:"sort"},s];return{fragment:{argumentDefinitions:[e,n,t,r,a,o],kind:"Fragment",metadata:null,name:"apiClientsTilePaginationQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},i,{kind:"Variable",name:"sort",variableName:"sort"},s],kind:"FragmentSpread",name:"operationsClientsTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,t,a,o,r],kind:"Operation",name:"apiClientsTilePaginationQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[c,d,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:null,args:f,concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},d,c],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:f,filters:["from","to","orderBy"],handle:"connection",key:"apiClientsTile_clients_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"365d38c31939049e684c8e66f6ee4dbd",metadata:{},name:"apiClientsTilePaginationQuery",operationKind:"query",text:null}}}();Bq.hash="1e2e249ce3ca877f281d390cb22f1a84";const Gq=function(){var e=["metrics","clients","insights"];return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:Bq,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsClientsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageClientsMetrics",kind:"LinkedField",name:"clients",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ClientInsightsConnection",kind:"LinkedField",name:"__apiClientsTile_clients_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ClientInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ClientInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null}}();Gq.hash="1e2e249ce3ca877f281d390cb22f1a84";const UUe=g.memo(function({fragmentRef:n}){const{data:t}=Te.usePaginationFragment(Gq,n),r=g.useMemo(()=>t.metrics.clients.insights?.edges?.filter(({node:a})=>a.impact).map(({node:a})=>({name:a.name??PE,total:a.totalCount??0,impact:a.impact??0}))?.sort((a,o)=>a.total-o.total)??[],[t.metrics.clients.insights?.edges]);return u(Je,{size:6,title:"Clients",content:r.length?u(mEe,{dataset:r}):u(yt,{})})}),jq={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"operationsErrorsInsightTileGridFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null}],type:"ErrorInsight",abstractKey:null};jq.hash="dd2fb5339732dcc5d68405ecb084f1ec";const Uq=function(){var e={defaultValue:null,kind:"LocalArgument",name:"after"},n={defaultValue:10,kind:"LocalArgument",name:"first"},t={defaultValue:null,kind:"LocalArgument",name:"from"},r={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:null,kind:"LocalArgument",name:"to"},o=[{kind:"Variable",name:"id",variableName:"id"}],l=[{kind:"Variable",name:"after",variableName:"after"},{kind:"Variable",name:"first",variableName:"first"},{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a],kind:"Fragment",metadata:null,name:"operationsErrorsInsightTilePaginationQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:l,kind:"FragmentSpread",name:"operationsErrorsInsightTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,t,a,r],kind:"Operation",name:"operationsErrorsInsightTilePaginationQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[i,s,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:null,args:l,concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[s,{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastSeen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"epm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},i],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:l,filters:["from","to"],handle:"connection",key:"operationsErrorsInsightTile_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"0b8144b7ed2e1349bcb9ff8264a7e040",metadata:{},name:"operationsErrorsInsightTilePaginationQuery",operationKind:"query",text:null}}}();Uq.hash="73a6777b8d3a5fcf31ef4b6ed4a0a147";const qq=function(){var e=["metrics","errors","insights"];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"after"},{defaultValue:10,kind:"LocalArgument",name:"first"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"first",cursor:"after",direction:"forward",path:e}],refetch:{connection:{forward:{count:"first",cursor:"after"},backward:null,path:e},fragmentPathInResult:["node"],operation:Uq,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsErrorsInsightTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageErrorsMetrics",kind:"LinkedField",name:"errors",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ErrorInsightsConnection",kind:"LinkedField",name:"__operationsErrorsInsightTile_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ErrorInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"ErrorInsight",kind:"LinkedField",name:"node",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"operationsErrorsInsightTileGridFragment"},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null}}();qq.hash="73a6777b8d3a5fcf31ef4b6ed4a0a147";const qUe=g.memo(function({fragmentRef:n}){const{data:t,isLoadingNext:r,loadNext:a,hasNext:o}=Te.usePaginationFragment(qq,n),l=g.useMemo(()=>t.metrics.errors.insights?.edges?.map(({node:s})=>s)??[],[t.metrics.errors.insights?.edges]),i=g.useCallback(()=>{!r&&o&&a(5)},[r,o,a]);return u(Je,{size:6,title:"Errors",noPadding:!0,content:u(Fr,{height:274,children:u(WUe,{fragmentRef:l,loadNext:i})})})});function WUe({fragmentRef:e,loadNext:n}){const t=Te.useFragment(jq,e),r=Mg();return u(ma,{apiRef:r,scrollEndThreshold:400,disableColumnReorder:!0,disableRowSelectionOnClick:!0,rowSelection:!1,slots:{noRowsOverlay:()=>u(yt,{})},columns:QUe,rows:t,onRowsScrollEnd:n})}const QUe=[{field:"type",headerName:"Type",width:100,sortable:!1,renderCell({row:e}){return u(dn,{children:e.type})}},{field:"message",headerName:"Message",width:250,sortable:!1,renderCell({row:e}){return u(dn,{children:e.message})}},{field:"totalCount",headerName:"Total Count",width:100,sortable:!1,renderCell({row:e}){return u(dn,{children:e.totalCount})}},{field:"rate",headerName:"Rate",width:100,sortable:!1,renderCell({row:e}){return B(dn,{children:[e.epm," epm"]})}},{field:"lastSeen",headerName:"Last Seen",width:150,sortable:!1,renderCell({row:e}){const n=nc(e.lastSeen);return u(dn,{children:n})}}],Wq={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationsErrorsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};Wq.hash="3ca2085392b7cea4011281ae31547fae";const YUe=g.memo(function({fragmentRef:n,range:t}){const r=Te.useFragment(Wq,n),a=g.useMemo(()=>r.metrics.operations.throughput?.dataset.map(({epoch:o,totalCountWithError:l})=>({epoch:o,total:l}))??[],[r.metrics.operations.throughput?.dataset]);return u(Je,{size:6,title:"Failed Operations",content:a.length?u(mh,{dataset:a,range:t}):u(yt,{})})}),Qq=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},t={defaultValue:null,kind:"LocalArgument",name:"from"},r={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:null,kind:"LocalArgument",name:"search"},o={defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},l={defaultValue:null,kind:"LocalArgument",name:"to"},i=[{kind:"Variable",name:"id",variableName:"id"}],s={kind:"Variable",name:"from",variableName:"from"},c={kind:"Variable",name:"search",variableName:"search"},d={kind:"Variable",name:"to",variableName:"to"},f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},s,{kind:"Variable",name:"orderBy",variableName:"sort"},c,d],h={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a,o,l],kind:"Fragment",metadata:null,name:"operationsInsightsTileResolversGridPaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},s,c,{kind:"Variable",name:"sort",variableName:"sort"},d],kind:"FragmentSpread",name:"operationsInsightsTileResolversGridFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,t,a,o,l,r],kind:"Operation",name:"operationsInsightsTileResolversGridPaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[f,p,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:null,args:m,concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[p,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},h,b,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,h,b],storageKey:null}],storageKey:null},f],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:m,filters:["from","to","orderBy","search"],handle:"connection",key:"operationsInsightsTileResolversGridFragment_resolvers_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"d4a2e3235797169335a937f9ed88bbdb",metadata:{},name:"operationsInsightsTileResolversGridPaginationQuery",operationKind:"query",text:null}}}();Qq.hash="74360ce27c1d505e11a8520721b9d4d6";const Yq=function(){var e=["metrics","resolvers","insights"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"search"},{defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:Qq,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsInsightsTileResolversGridFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageResolversMetrics",kind:"LinkedField",name:"resolvers",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"search",variableName:"search"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverInsightsConnection",kind:"LinkedField",name:"__operationsInsightsTileResolversGridFragment_resolvers_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ResolverInsight",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"coordinate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},t,r,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[a,t,r],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},n],type:"Stage",abstractKey:null}}();Yq.hash="74360ce27c1d505e11a8520721b9d4d6";const Xq=function(){var e={defaultValue:25,kind:"LocalArgument",name:"count"},n={defaultValue:null,kind:"LocalArgument",name:"cursor"},t={defaultValue:null,kind:"LocalArgument",name:"from"},r={defaultValue:null,kind:"LocalArgument",name:"id"},a={defaultValue:null,kind:"LocalArgument",name:"search"},o={defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},l={defaultValue:null,kind:"LocalArgument",name:"to"},i=[{kind:"Variable",name:"id",variableName:"id"}],s={kind:"Variable",name:"from",variableName:"from"},c={kind:"Variable",name:"search",variableName:"search"},d={kind:"Variable",name:"to",variableName:"to"},f={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"first",variableName:"count"},s,{kind:"Variable",name:"orderBy",variableName:"sort"},c,d],h={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a,o,l],kind:"Fragment",metadata:null,name:"operationsInsightsTileOperationsGridPaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},s,c,{kind:"Variable",name:"sort",variableName:"sort"},d],kind:"FragmentSpread",name:"operationsInsightsTileOperationsGridFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,t,a,o,l,r],kind:"Operation",name:"operationsInsightsTileOperationsGridPaginationQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[f,p,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:m,concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"insights",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[p,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},h,b,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[y,h,b],storageKey:null}],storageKey:null},f],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:m,filters:["from","to","orderBy","search"],handle:"connection",key:"operationsInsightsTileOperationsGridFragment_operations_insights",kind:"LinkedHandle",name:"insights"}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"3f4f883723b4e459cb60af240f9b1adc",metadata:{},name:"operationsInsightsTileOperationsGridPaginationQuery",operationKind:"query",text:null}}}();Xq.hash="1ba1b039b9a0936bcb4f9e55793f18b2";const Zq=function(){var e=["metrics","operations","insights"],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"errorRate",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null};return{argumentDefinitions:[{defaultValue:25,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"search"},{defaultValue:[{impact:"DESC"}],kind:"LocalArgument",name:"sort"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:e}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:e},fragmentPathInResult:["node"],operation:Xq,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsInsightsTileOperationsGridFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:"insights",args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"orderBy",variableName:"sort"},{kind:"Variable",name:"search",variableName:"search"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationInsightsConnection",kind:"LinkedField",name:"__operationsInsightsTileOperationsGridFragment_operations_insights_connection",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationInsightsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OperationInsight",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hash",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"operationName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"averageLatency",storageKey:null},t,r,{alias:null,args:null,kind:"ScalarField",name:"impact",storageKey:null},{alias:null,args:null,concreteType:"OperationLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"OperationThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[a,t,r],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasNextPage",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},n],type:"Stage",abstractKey:null}}();Zq.hash="1ba1b039b9a0936bcb4f9e55793f18b2";const Jq=function(){var e=[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}];return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationsInsightsTileFragment",selections:[{args:e,kind:"FragmentSpread",name:"operationsInsightsTileOperationsGridFragment"},{args:e,kind:"FragmentSpread",name:"operationsInsightsTileResolversGridFragment"}],type:"Stage",abstractKey:null}}();Jq.hash="6b58a15423c47b8630d1f3c9ed8ebac5";function XUe(e){return{field:"coordinate",headerName:"Resolver",width:250,sortable:e?.sortable??!1,renderCell({row:n}){return u(ZUe,{coordinate:n.node.coordinate})}}}function ZUe({coordinate:e}){const n=Ka(),t=vz();return n?u(rl,{onClick:()=>t({stageId:n.id,coordinate:e}),children:u(dn,{children:e})}):u(dn,{children:e})}const JUe=g.memo(function({fragmentRef:n,range:t}){const r=Te.useFragment(Jq,n),[a,o]=g.useState("operations"),l=g.useRef(null),[i,s]=g.useState(""),c=g.useCallback((d,f)=>{f&&(o(f),s(""),l.current&&(l.current.value=""))},[s,o]);return u(Je,{size:12,title:"Insights",action:B(ye,{children:[u(Nl,{fieldRef:l,width:230,onSearchTermChange:s}),B(fB,{exclusive:!0,size:"small",value:a,onChange:c,children:[u(Up,{value:"operations",children:u(tt,{title:"Operations View",placement:"bottom",children:u(Ine,{})})}),u(Up,{value:"resolvers",children:u(tt,{title:"Resolvers View",placement:"bottom",children:u(Fne,{})})})]})]}),content:u(Fr,{height:388,children:a==="operations"?u(e9e,{fragmentRef:r,range:t,search:i},"operations"):u(t9e,{fragmentRef:r,range:t,search:i},"resolvers")}),noPadding:!0})}),e9e=g.memo(function({fragmentRef:n,range:t,search:r}){const{data:a,hasNext:o,isLoadingNext:l,loadNext:i,refetch:s}=Te.usePaginationFragment(Zq,n),[c,d]=g.useTransition(),f=g.useMemo(()=>a.metrics.operations.insights?.edges?.map(({node:y})=>({node:y,range:t}))??[],[a.metrics.operations.insights?.edges,t]),p=g.useCallback(()=>{o&&!l&&i(25)},[o,l,i]),[m,h]=g.useState([]),b=g.useCallback(y=>{if(f.length){const v=y.filter(({sort:k})=>!!k).map(({field:k,sort:w})=>({[k]:w==="asc"?"ASC":"DESC"}));h(v)}},[f,h]);return g.useEffect(()=>{const y=r?{search:r}:{},v=m.length?{sort:m}:{};d(()=>{s({...v,...y})})},[r,m,s,d]),u(UC,{columns:n9e,getRowId:({node:y})=>y.id,rows:f,loading:l||c,isFilterActive:!!r?.length,onRowsScrollEnd:p,onSortModelChange:b})}),n9e=[w8(),vh({sortable:!0}),kh({sortable:!0}),yh({sortable:!0}),bh({sortable:!0})],t9e=g.memo(function({fragmentRef:n,range:t,search:r}){const{data:a,hasNext:o,isLoadingNext:l,loadNext:i,refetch:s}=Te.usePaginationFragment(Yq,n),[c,d]=g.useTransition(),f=g.useMemo(()=>a.metrics.resolvers.insights?.edges?.map(({node:y})=>({node:y,range:t}))??[],[a.metrics.resolvers.insights?.edges,t]),p=g.useCallback(()=>{o&&!l&&i(25)},[o,l,i]),[m,h]=g.useState([]),b=g.useCallback(y=>{if(f.length){const v=y.filter(({sort:k})=>!!k).map(({field:k,sort:w})=>({[k]:w==="asc"?"ASC":"DESC"}));h(v)}},[f,h]);return g.useEffect(()=>{const y=r?{search:r}:{},v=m.length?{sort:m}:{};d(()=>{s({...v,...y})})},[r,m,s,d]),u(UC,{columns:r9e,getRowId:({node:y})=>y.id,rows:f,loading:l||c,isFilterActive:!!r?.length,onRowsScrollEnd:p,onSortModelChange:b})}),r9e=[XUe(),vh({sortable:!0}),kh({sortable:!0}),yh({sortable:!0}),bh({sortable:!0})],eW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:!1,kind:"LocalArgument",name:"includeP95"},r={defaultValue:!1,kind:"LocalArgument",name:"includeP99"},a={defaultValue:null,kind:"LocalArgument",name:"to"},o=[{kind:"Variable",name:"id",variableName:"id"}],l={kind:"Variable",name:"from",variableName:"from"},i={kind:"Variable",name:"to",variableName:"to"};return{fragment:{argumentDefinitions:[e,n,t,r,a],kind:"Fragment",metadata:null,name:"operationsLatencyTileRefetchQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[l,{kind:"Variable",name:"includeP95",variableName:"includeP95"},{kind:"Variable",name:"includeP99",variableName:"includeP99"},i],kind:"FragmentSpread",name:"operationsLatencyTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,t,r,a,n],kind:"Operation",name:"operationsLatencyTileRefetchQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[l,i],concreteType:"OperationsLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{condition:"includeP95",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}]},{condition:"includeP99",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}]}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"fe012717053ae36f73d9294b5f7be42e",metadata:{},name:"operationsLatencyTileRefetchQuery",operationKind:"query",text:null}}}();eW.hash="f249223b82a1f433276345a955a881e6";const nW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:!1,kind:"LocalArgument",name:"includeP95"},{defaultValue:!1,kind:"LocalArgument",name:"includeP99"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:eW,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"operationsLatencyTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{condition:"includeP95",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}]},{condition:"includeP99",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}]}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null};nW.hash="f249223b82a1f433276345a955a881e6";function a9e({fragmentRef:e,range:n}){const[t,r]=Te.useRefetchableFragment(nW,e),{includeP95:a,includeP99:o,handlePercentilesChanged:l}=Ag(r),i=t.metrics.operations.latency?.dataset;return u(Je,{size:12,title:"Latency",content:i?.length?u(Ig,{dataset:i,range:n,includeP95:a,includeP99:o,onPercentilesChanged:l}):u(yt,{})})}const tW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"operationsThroughputTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:null,concreteType:"StageOperationsMetrics",kind:"LinkedField",name:"operations",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OperationsThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OperationsThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};tW.hash="8a7400e9dea03b6064ef7e597f9ba33a";const o9e=g.memo(function({fragmentRef:n,range:t}){const r=Te.useFragment(tW,n),a=g.useMemo(()=>r.metrics.operations.throughput?.dataset.map(({epoch:o,opm:l,totalCount:i,totalCountWithError:s})=>({epoch:o,opm:l,success:i-s,error:s}))??[],[r.metrics.operations.throughput?.dataset]);return u(Je,{size:6,title:"Throughput",content:a.length?u(Dh,{dataset:a,range:t}):u(yt,{})})});function l9e({stage:e,range:n}){const[t,r]=n,a=g.useMemo(()=>({stageId:e.id,from:t,to:r}),[e.id,t,r]),o=g.useMemo(()=>[{id:"stage",label:e.displayName+" Stage"}],[e.displayName]);return u(Ic,{header:u(vs,{breadcrumbItems:o,actions:[u(H4,{},"metrics-monitoring-view-selector")]}),children:u(i9e,{variables:a})})}function i9e({variables:e}){const{stage:n}=Te.useLazyLoadQuery(zq,e,{fetchKey:br()});return n?B(ye,{children:[u(g.Suspense,{fallback:u(Je,{size:12,title:"Latency",content:u(Ft,{})}),children:u(a9e,{fragmentRef:n,range:[e.from,e.to]})}),u(g.Suspense,{fallback:u(Je,{size:6,title:"Throughput",content:u(Ft,{})}),children:u(o9e,{fragmentRef:n,range:[e.from,e.to]})}),u(g.Suspense,{fallback:u(Je,{size:6,title:"Clients",content:u(Ft,{})}),children:u(UUe,{fragmentRef:n})}),u(g.Suspense,{fallback:u(Je,{size:6,title:"Failed Operations",content:u(Ft,{})}),children:u(YUe,{fragmentRef:n,range:[e.from,e.to]})}),u(g.Suspense,{fallback:u(Je,{size:6,title:"Errors",content:u(Ft,{})}),children:u(qUe,{fragmentRef:n})}),u(g.Suspense,{fallback:u(Je,{size:12,title:"Insights",content:u(Fr,{height:388,children:u(Ft,{})})}),children:u(JUe,{fragmentRef:n,range:[e.from,e.to]})})]}):u(Qu,{})}const rW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"coordinate"},n={defaultValue:null,kind:"LocalArgument",name:"from"},t={defaultValue:null,kind:"LocalArgument",name:"stageId"},r={defaultValue:null,kind:"LocalArgument",name:"to"},a=[{kind:"Variable",name:"id",variableName:"stageId"}],o={kind:"Variable",name:"coordinate",variableName:"coordinate"},l={kind:"Variable",name:"from",variableName:"from"},i={kind:"Variable",name:"to",variableName:"to"},s=[o,l,i],c=[o],d=[l,i],f={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r],kind:"Fragment",metadata:null,name:"resolverMonitoringQuery",selections:[{alias:"stage",args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverLatencyTileFragment"}]},{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverThroughputTileFragment"}]},{kind:"Defer",selections:[{args:s,kind:"FragmentSpread",name:"resolverErrorsTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,e,n,r],kind:"Operation",name:"resolverMonitoringQuery",selections:[{alias:"stage",args:a,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverLatencyTileFragment_1088So",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:c,concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:d,concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},p]},{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverThroughputTileFragment_1088So",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:c,concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:d,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},m],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"resolverMonitoringQuery$defer$resolverErrorsTileFragment_1088So",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:c,concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:d,concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[f,m],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},p],storageKey:null}]},params:{id:"7e4bf5aadbcc24730ba9cb7903e3ad8a",metadata:{},name:"resolverMonitoringQuery",operationKind:"query",text:null}}}();rW.hash="da56c06b0305182b0f089b8a831b8bae";const aW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"coordinate"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"resolverErrorsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"coordinate",variableName:"coordinate"}],concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};aW.hash="b566eec4356126806af7fac4f1d8d72f";function s9e({fragmentRef:e,range:n}){const r=Te.useFragment(aW,e).metrics.resolver?.throughput;return u(Je,{size:4,title:"Errors",content:r?.dataset.length?u(mh,{dataset:r.dataset.map(({epoch:a,totalCountWithError:o})=>({epoch:a,total:o})),range:n}):u(yt,{})})}const oW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"coordinate"},n={defaultValue:null,kind:"LocalArgument",name:"from"},t={defaultValue:null,kind:"LocalArgument",name:"id"},r={defaultValue:!1,kind:"LocalArgument",name:"includeP95"},a={defaultValue:!1,kind:"LocalArgument",name:"includeP99"},o={defaultValue:null,kind:"LocalArgument",name:"to"},l=[{kind:"Variable",name:"id",variableName:"id"}],i={kind:"Variable",name:"coordinate",variableName:"coordinate"},s={kind:"Variable",name:"from",variableName:"from"},c={kind:"Variable",name:"to",variableName:"to"};return{fragment:{argumentDefinitions:[e,n,t,r,a,o],kind:"Fragment",metadata:null,name:"resolverLatencyTileRefetchQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[i,s,{kind:"Variable",name:"includeP95",variableName:"includeP95"},{kind:"Variable",name:"includeP99",variableName:"includeP99"},c],kind:"FragmentSpread",name:"resolverLatencyTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,n,r,a,o,t],kind:"Operation",name:"resolverLatencyTileRefetchQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[i],concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:[s,c],concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{condition:"includeP95",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}]},{condition:"includeP99",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}]}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"943916cb8c57bc1f362dfd9d546d8aeb",metadata:{},name:"resolverLatencyTileRefetchQuery",operationKind:"query",text:null}}}();oW.hash="c756edebe36c9c9e785c9425a8c48779";const lW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"coordinate"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:!1,kind:"LocalArgument",name:"includeP95"},{defaultValue:!1,kind:"LocalArgument",name:"includeP99"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:oW,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"resolverLatencyTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"coordinate",variableName:"coordinate"}],concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null},{condition:"includeP95",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null}]},{condition:"includeP99",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"p99",storageKey:null}]}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null};lW.hash="c756edebe36c9c9e785c9425a8c48779";function c9e({fragmentRef:e,range:n}){const[t,r]=Te.useRefetchableFragment(lW,e),{includeP95:a,includeP99:o,handlePercentilesChanged:l}=Ag(r),i=t.metrics.resolver?.latency?.dataset;return u(Je,{size:4,title:"Latency",content:i?.length?u(Ig,{dataset:i,range:n,includeP95:a,includeP99:o,onPercentilesChanged:l}):u(yt,{})})}const iW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"coordinate"},{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"resolverThroughputTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"coordinate",variableName:"coordinate"}],concreteType:"StageResolverMetrics",kind:"LinkedField",name:"resolver",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"ResolverThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"ResolverThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};iW.hash="7a5dfc205d98f652ff24261d010d1c6d";function u9e({fragmentRef:e,range:n}){const r=Te.useFragment(iW,e).metrics.resolver?.throughput;return u(Je,{size:4,title:"Throughput",content:r?.dataset.length?u(Dh,{dataset:r.dataset.map(({epoch:a,opm:o,totalCount:l,totalCountWithError:i})=>({epoch:a,opm:o,success:l-i,error:i})),range:n}):u(yt,{})})}function d9e({stageId:e,coordinate:n,range:t}){const r=vz(),[a,o]=t,l=g.useMemo(()=>({stageId:e,coordinate:n,from:a,to:o}),[e,n,a,o]),i=g.useMemo(()=>[{id:"all-resolvers",label:"All Resolvers",onClick:()=>{r(null)}},{id:"resolver",label:n}],[n,r]);return u(Ic,{header:u(vs,{breadcrumbItems:i}),children:u(g.Suspense,{fallback:u(f9e,{}),children:u(g9e,{variables:l})})})}function f9e(){return B(ye,{children:[u(Je,{size:4,title:"Latency",content:u(Ft,{})}),u(Je,{size:4,title:"Throughput",content:u(Ft,{})}),u(Je,{size:4,title:"Errors",content:u(Ft,{})})]})}function g9e({variables:e}){const{stage:n}=Te.useLazyLoadQuery(rW,e,{fetchKey:br()});return n?B(ye,{children:[u(c9e,{fragmentRef:n,range:[e.from,e.to]}),u(u9e,{fragmentRef:n,range:[e.from,e.to]}),u(s9e,{fragmentRef:n,range:[e.from,e.to]})]}):u(Qu,{})}const sW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"maxLatency"},t={defaultValue:null,kind:"LocalArgument",name:"minLatency"},r={defaultValue:null,kind:"LocalArgument",name:"name"},a={defaultValue:null,kind:"LocalArgument",name:"stageId"},o={defaultValue:null,kind:"LocalArgument",name:"to"},l=[{kind:"Variable",name:"id",variableName:"stageId"}],i={kind:"Variable",name:"from",variableName:"from"},s={kind:"Variable",name:"name",variableName:"name"},c={kind:"Variable",name:"to",variableName:"to"},d=[i,s,c],f=[s],p=[i,c],m={kind:"Variable",name:"maxLatency",variableName:"maxLatency"},h={kind:"Variable",name:"minLatency",variableName:"minLatency"},b={alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},v={alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null};return{fragment:{argumentDefinitions:[e,n,t,r,a,o],kind:"Fragment",metadata:null,name:"transactionMonitoringQuery",selections:[{alias:"stage",args:l,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"transactionLatencyTileFragment"}]},{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"transactionThroughputTileFragment"}]},{kind:"Defer",selections:[{args:d,kind:"FragmentSpread",name:"transactionErrorsTileFragment"}]},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{kind:"Defer",selections:[{args:p,kind:"FragmentSpread",name:"transactionLatencyHistogramTileFragment"}]}],storageKey:null}],storageKey:null},{kind:"Defer",selections:[{args:[i,m,h,s,c],kind:"FragmentSpread",name:"transactionTraceSampleTileFragment"}]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,r,e,o,t,n],kind:"Operation",name:"transactionMonitoringQuery",selections:[{alias:"stage",args:l,concreteType:"Stage",kind:"LinkedField",name:"stageById",plural:!1,selections:[{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionLatencyTileFragment_3hpVXj",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:p,concreteType:"OpenTelemetryTransactionLatencyGraph",kind:"LinkedField",name:"latency",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryTransactionLatencyGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[b,{alias:null,args:null,kind:"ScalarField",name:"mean",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},y]},{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionThroughputTileFragment_3hpVXj",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:p,concreteType:"OpenTelemetryTransactionThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryTransactionThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[b,{alias:null,args:null,kind:"ScalarField",name:"opm",storageKey:null},v,k],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionErrorsTileFragment_3hpVXj",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:p,concreteType:"OpenTelemetryTransactionThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryTransactionThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[b,k],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionLatencyHistogramTileFragment_1tCgTg",selections:[{alias:null,args:p,concreteType:"OpenTelemetryTransactionLatencyDistributionGraph",kind:"LinkedField",name:"latencyDistribution",plural:!1,selections:[v,{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryTransactionLatencyDistributionGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"bin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorFrequency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"successFrequency",storageKey:null}],storageKey:null}],storageKey:null}]}],storageKey:null}],storageKey:null},{if:null,kind:"Defer",label:"transactionMonitoringQuery$defer$transactionTraceSampleTileFragment_22w7Ou",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:f,concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:[i,m,h,c],concreteType:"OpenTelemetryTransactionTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},y]},y],storageKey:null}]},params:{id:"8827a07accb467f7c883ea76315a2f57",metadata:{},name:"transactionMonitoringQuery",operationKind:"query",text:null}}}();sW.hash="79ef42018aa18e9caaffd3f0f867be3e";const cW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"name"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"transactionErrorsTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"name",variableName:"name"}],concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryTransactionThroughputGraph",kind:"LinkedField",name:"throughput",plural:!1,selections:[{alias:null,args:null,concreteType:"OpenTelemetryTransactionThroughputGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"epoch",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"totalCountWithError",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null};cW.hash="3adafeeb0b584da74e4032dc4a5bd6d4";function p9e({fragmentRef:e,range:n}){const r=Te.useFragment(cW,e).metrics.transaction.throughput;return u(Je,{size:4,title:"Errors",content:r?.dataset.length?u(mh,{dataset:r.dataset.map(({epoch:a,totalCountWithError:o})=>({epoch:a,total:o})),range:n}):u(yt,{})})}const uW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:null,name:"transactionLatencyHistogramTileFragment",selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryTransactionLatencyDistributionGraph",kind:"LinkedField",name:"latencyDistribution",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"totalCount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"p95",storageKey:null},{alias:null,args:null,concreteType:"OpenTelemetryTransactionLatencyDistributionGraphData",kind:"LinkedField",name:"dataset",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"bin",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"errorFrequency",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"successFrequency",storageKey:null}],storageKey:null}],storageKey:null}],type:"StageTransactionMetrics",abstractKey:null};uW.hash="1a2401ceb8a672178d33a2838cb410e9";const dW=function(){var e={defaultValue:null,kind:"LocalArgument",name:"from"},n={defaultValue:null,kind:"LocalArgument",name:"id"},t={defaultValue:null,kind:"LocalArgument",name:"maxLatency"},r={defaultValue:null,kind:"LocalArgument",name:"minLatency"},a={defaultValue:null,kind:"LocalArgument",name:"name"},o={defaultValue:null,kind:"LocalArgument",name:"to"},l=[{kind:"Variable",name:"id",variableName:"id"}],i={kind:"Variable",name:"from",variableName:"from"},s={kind:"Variable",name:"maxLatency",variableName:"maxLatency"},c={kind:"Variable",name:"minLatency",variableName:"minLatency"},d={kind:"Variable",name:"name",variableName:"name"},f={kind:"Variable",name:"to",variableName:"to"};return{fragment:{argumentDefinitions:[e,n,t,r,a,o],kind:"Fragment",metadata:null,name:"transactionTraceSampleTilePaginationQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{args:[i,s,c,d,f],kind:"FragmentSpread",name:"transactionTraceSampleTileFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,t,r,a,o,n],kind:"Operation",name:"transactionTraceSampleTilePaginationQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[d],concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:[i,s,c,f],concreteType:"OpenTelemetryTransactionTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Stage",abstractKey:null}],storageKey:null}]},params:{id:"fba1416a2569dd4165a4c1b7968feb40",metadata:{},name:"transactionTraceSampleTilePaginationQuery",operationKind:"query",text:null}}}();dW.hash="be8a8d852ea905ef07d7b805533f3c7c";const fW={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"from"},{defaultValue:null,kind:"LocalArgument",name:"maxLatency"},{defaultValue:null,kind:"LocalArgument",name:"minLatency"},{defaultValue:null,kind:"LocalArgument",name:"name"},{defaultValue:null,kind:"LocalArgument",name:"to"}],kind:"Fragment",metadata:{refetch:{connection:null,fragmentPathInResult:["node"],operation:dW,identifierInfo:{identifierField:"id",identifierQueryVariableName:"id"}}},name:"transactionTraceSampleTileFragment",selections:[{alias:null,args:null,concreteType:"StageMetrics",kind:"LinkedField",name:"metrics",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"name",variableName:"name"}],concreteType:"StageTransactionMetrics",kind:"LinkedField",name:"transaction",plural:!1,selections:[{alias:null,args:[{kind:"Variable",name:"from",variableName:"from"},{kind:"Variable",name:"maxLatency",variableName:"maxLatency"},{kind:"Variable",name:"minLatency",variableName:"minLatency"},{kind:"Variable",name:"to",variableName:"to"}],concreteType:"OpenTelemetryTransactionTraceSample",kind:"LinkedField",name:"samples",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"spanId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"traceId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seeker",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Stage",abstractKey:null};fW.hash="be8a8d852ea905ef07d7b805533f3c7c";function m9e({fragmentRef:e,stageId:n,onTraceSampleDataLoaded:t}){const[r,a]=Te.useRefetchableFragment(fW,e),{samples:o}=r.metrics.transaction;return u(s8,{stageId:n,samples:o,onTraceSampleDataLoaded:t,onRefetchSamples:i=>{a(i?{minLatency:i[0],maxLatency:i[1]}:{})}})}function h9e({operationFragmentRef:e,stageFragmentRef:n,stageId:t}){const r=g.useRef(null),{latencyDistribution:a}=Te.useFragment(uW,e),o=G9();return u(Je,{size:12,minHeight:600,title:"Latency Distribution",noPadding:!0,subheader:u(y9e,{totalCount:a?.totalCount??0}),content:a?.dataset.length?B(ye,{children:[u(PC,{$paddingBottom:!0,children:u(V4,{ref:r,data:a,onRangeChange:o})}),u(g.Suspense,{fallback:u(i8,{}),children:u(m9e,{fragmentRef:n,stageId:t,onTraceSampleDataLoaded:l=>{r.current&&r.current.setCurrent(l?.totalDuration??null)}})})]}):u(v9e,{children:u(yt,{})})})}function y9e({totalCount:e}){const n=z9();return B(Qo,{direction:"row",justifyContent:"space-between",gap:8,container:!0,children:[u(Qo,{children:"Total operations: "+av(e)}),u(Qo,{children:n?"Selected range: "+n.map(t=>Fa(t)).join(" - "):B(b9e,{children:[u(Rt,{})," Click and drag to select a range"]})})]})}const b9e=q("div")(({theme:e})=>ce`
|
|
2551
2551
|
display: flex;
|
|
2552
2552
|
align-items: center;
|
|
2553
2553
|
gap: ${e.spacing(4)};
|