@chillicream/nitro-embedded 32.0.0-insider.19 → 32.0.0-insider.20

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.
Files changed (27) hide show
  1. package/assets/{context-providers.af776b64.BBmagZaV.js → context-providers.95a3312f.9yodJLld.js} +12 -10
  2. package/assets/{editor.worker.af776b64.DV7tFr0l.js → editor.worker.95a3312f.CRoHVwiC.js} +1 -1
  3. package/assets/{graphql-engine-scheduler.af776b64.Cz4NLysV.js → graphql-engine-scheduler.95a3312f.C2SQBeRb.js} +1 -1
  4. package/assets/{graphql-indexer-scheduler.af776b64.7j-3X11r.js → graphql-indexer-scheduler.95a3312f.BxXT9Koj.js} +1 -1
  5. package/assets/{graphql.worker.af776b64.DJPjCGGE.js → graphql.worker.95a3312f.8M2oU3Xg.js} +1 -1
  6. package/assets/{index.af776b64.CaRIGbWk.js → index.95a3312f.Ph4rn2Mp.js} +1 -1
  7. package/assets/{json.worker.af776b64.CSMJzPY7.js → json.worker.95a3312f.B64Vc-pv.js} +1 -1
  8. package/assets/{jsonMode.af776b64.DjKlGwgl.js → jsonMode.95a3312f.NEV3xjRn.js} +1 -1
  9. package/assets/{main.af776b64.Dmk4-xvl.js → main.95a3312f.BRTlRA7j.js} +4 -4
  10. package/assets/{monaco.af776b64.DJbVOynb.css → monaco.95a3312f.BPeIpQ6P.css} +1 -1
  11. package/assets/{monaco.af776b64.CQsPbC6_.css → monaco.95a3312f.OYkwhGEI.css} +1 -1
  12. package/assets/{monaco.af776b64.CqI-ScCO.js → monaco.95a3312f.o2zwpORe.js} +2 -2
  13. package/assets/{session-scheduler.af776b64.8wyrtWVA.js → session-scheduler.95a3312f.BPOzmj2V.js} +1 -1
  14. package/assets/{yaml.af776b64.GdpR5nKn.js → yaml.95a3312f.6Uot7EeS.js} +1 -1
  15. package/assets/{yaml.worker.af776b64.hi2VOg5Q.js → yaml.worker.95a3312f.hQvGRacU.js} +1 -1
  16. package/index.html +4 -4
  17. package/package.json +1 -1
  18. package/service-worker.js +1 -1
  19. /package/assets/{FiraCode-Medium.af776b64.-YTCSZkP.woff2 → FiraCode-Medium.95a3312f.-YTCSZkP.woff2} +0 -0
  20. /package/assets/{codicon.af776b64.Hscy-R9e.ttf → codicon.95a3312f.Hscy-R9e.ttf} +0 -0
  21. /package/assets/{context-providers.af776b64.3HkX5s82.css → context-providers.95a3312f.3HkX5s82.css} +0 -0
  22. /package/assets/{main.af776b64.BdMtxJz7.css → main.95a3312f.BdMtxJz7.css} +0 -0
  23. /package/assets/{monaco.af776b64.CzdWU10X.js → monaco.95a3312f.B5kMV_u3.js} +0 -0
  24. /package/assets/{monaco.af776b64.BCQ461Sb.js → monaco.95a3312f.BzmviRHQ.js} +0 -0
  25. /package/assets/{monaco.af776b64.D_lpPPbq.js → monaco.95a3312f.DKFawWaA.js} +0 -0
  26. /package/assets/{monaco.af776b64.Bp-X6TVF.js → monaco.95a3312f.DcDKtmta.js} +0 -0
  27. /package/assets/{monaco.af776b64.DNDQScAz.js → monaco.95a3312f.dfCAUvrp.js} +0 -0
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.af776b64.CaRIGbWk.js","./main.af776b64.Dmk4-xvl.js","./monaco.af776b64.CqI-ScCO.js","./monaco.af776b64.DJbVOynb.css","./main.af776b64.BdMtxJz7.css"])))=>i.map(i=>d[i]);
2
- import{g as Fd,c as ABe,r as PR,u as I8,a as _Be,b as m,R as RBe,d as xt,e as vfe,j,f as Ie,h as $e,i as sn,k as LBe,l as bfe,T as D8,G as kfe,m as ln,n as In,s as Y,o as Re,p as Cn,q as Ee,t as w0,v as PBe,w as As,x as lY,y as Bp,z as Ft,A as Gr,C as yl,B as Gg,D as Hr,E as Sfe,F as Zl,H as x8,I as pe,J as Nb,K as NBe,L as OBe,M as Fi,N as Up,O as MBe,P as ni,Q as $Be,S as sY,U as EF,V as KBe,W as VBe,X as NM,Y as BBe,Z as A8,_ as $f,$ as fp,a0 as Ec,a1 as Eg,a2 as NR,a3 as HT,a4 as OR,a5 as lS,a6 as Ti,a7 as MR,a8 as UBe,a9 as _8,aa as R8,ab as zT,ac as L8,ad as HBe,ae as aC,af as $R,ag as Cfe,ah as wfe,ai as zBe,aj as Ffe,ak as Tfe,al as cY,am as Efe,an as Ife,ao as jT,ap as jBe,aq as GBe,ar as qBe,as as WBe,at as P8,au as hs,av as xx,aw as Ax,ax as QBe,ay as Ol,az as YBe,aA as XBe,aB as N8,aC as JBe,aD as ys,aE as Nt,aF as wu,aG as KR,aH as Dfe,aI as O8,aJ as iC,aK as GT,aL as qT,aM as oC,aN as Pc,aO as ZBe,aP as WT,aQ as VR,aR as QT,aS as ri,aT as qy,aU as Io,aV as Fu,aW as Qa,aX as Ya,aY as Sa,aZ as e4e,a_ as xv,a$ as _s,b0 as xfe,b1 as no,b2 as Av,b3 as M8,b4 as $8,b5 as pc,b6 as n4e,b7 as Ig,b8 as K8,b9 as BR,ba as UR,bb as V8,bc as Afe,bd as rp,be as B8,bf as lC,bg as Rs,bh as HR,bi as t4e,bj as Gf,bk as qg,bl as _fe,bm as U8,bn as zR,bo as r4e,bp as Rfe,bq as OA,br as jR,bs as Lfe,bt as Pfe,bu as Wg,bv as Nfe,bw as GR,bx as a4e,by as i4e,bz as Ofe,bA as o4e,bB as Ir,bC as l4e,bD as s4e,bE as c4e,bF as IF,bG as u4e,bH as Ry,bI as q0,bJ as MA,bK as d4e,bL as H8,bM as $A,bN as d,bO as We,bP as p4e,bQ as f4e,bR as m4e,bS as z8,bT as Mfe,bU as Rr,bV as sC,bW as um,bX as YT,bY as j8,bZ as G8,b_ as g4e,b$ as Td,c0 as q,c1 as rl,c2 as be,c3 as Er,c4 as q8,c5 as $fe,c6 as uY,c7 as Kfe,c8 as h4e,c9 as Fa,ca as Vfe,cb as Vn,cc as $n,cd as fi,ce as Bfe,cf as Hp,cg as y4e,ch as v4e,ci as DF,cj as b4e,ck as Ufe,cl as k4e,cm as Xo,cn as Hfe,co as zfe,cp as Xt,cq as jfe,cr as S4e,cs as xF,ct as C4e,cu as Gfe,cv as w4e,cw as W8,cx as F4e,cy as mo,cz as T4e,cA as E4e,cB as Q8,cC as dm,cD as I4e,cE as qfe,cF as D4e,cG as XT,cH as Y8,cI as Wfe,cJ as KA,cK as J,cL as un,cM as Qg,cN as x4e,cO as A4e,cP as _4e,cQ as u4,cR as OM,cS as d4,cT as R4e,cU as L4e,cV as P4e,cW as N4e,cX as p4,cY as O4e,cZ as M4e,c_ as $4e,c$ as Qfe,d0 as _x,d1 as f4,d2 as gd,d3 as zp,d4 as Tu,d5 as Ed,d6 as pm,d7 as ws,d8 as K4e,d9 as jp,da as JT,db as AF,dc as es,dd as Nr,de as Yfe,df as bt,dg as X8,dh as V4e,di as VA,dj as B4e,dk as J8,dl as Z8,dm as an,dn as Xfe,dp as Ks,dq as Gp,dr as ja,ds as U4e,dt as Jfe,du as H4e,dv as Zfe,dw as z4e,dx as eme,dy as Yg,dz as j4e,dA as nme,dB as BA,dC as G4e,dD as ez,dE as Ne,dF as dY,dG as q4e,dH as W4e,dI as nz,dJ as m4,dK as qR,dL as _v,dM as Tf,dN as UA,dO as tme,dP as Q4e,dQ as WR,dR as Y4e,dS as rme,dT as ame,dU as Pt,dV as X4e,dW as J4e,dX as Z4e,dY as e6e,dZ as n6e,d_ as ime,d$ as t6e,e0 as Ei,e1 as r6e,e2 as a6e,e3 as _F,e4 as sa,e5 as Wy,e6 as i6e,e7 as o6e,e8 as ome,e9 as l6e,ea as RF,eb as MM,ec as s6e,ed as c6e,ee as u6e,ef as Rx,eg as Kf,eh as lme,ei as d6e,ej as p6e,ek as f6e,el as m6e,em as Ls,en as QR,eo as sme,ep as ZT,eq as eE,er as cC,es as fs,et as Kr,eu as ms,ev as Vr,ew as Wc,ex as Eo,ey as gs,ez as jr,eA as g6e,eB as Lx,eC as h6e,eD as y6e,eE as pY,eF as v6e,eG as b6e,eH as k6e,eI as S6e,eJ as C6e}from"./main.af776b64.Dmk4-xvl.js";import{B as cme,e as Lt,R as uC,H as w6e,l as Ga,K as bf,b as Nm,m as F6e,M as mp,P as dC,_ as T6e,E as E6e}from"./monaco.af776b64.CqI-ScCO.js";const nE="Accept",I6e="Accept-Encoding",pC="Authorization",Xg="Content-Type",Nk="Fusion-Operation-Plan",ume="Origin",D6e="Set-Cookie",x6e="User-Agent",tz="Unknown",A6e="Unknown",_6e="Unknown",tE="document",R6e="operation-builder",dme="environment",rz="history",L6e="personal",YR="personal";var $M={exports:{}},KM,fY;function P6e(){if(fY)return KM;fY=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return KM=e,KM}var VM,mY;function N6e(){if(mY)return VM;mY=1;var e=P6e();function n(){}function t(){}return t.resetWarningCache=n,VM=function(){function r(o,l,s,c,u,p){if(p!==e){var f=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 f.name="Invariant Violation",f}}r.isRequired=r;function a(){return r}var i={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 i.PropTypes=i,i},VM}var gY;function O6e(){return gY||(gY=1,$M.exports=N6e()()),$M.exports}var M6e=O6e();const se=Fd(M6e),Ht=ABe();function az(e){const{theme:n,name:t,props:r}=e;return!n||!n.components||!n.components[t]||!n.components[t].defaultProps?r:PR(n.components[t].defaultProps,r)}function pme({props:e,name:n,defaultTheme:t,themeId:r}){let a=I8(t);return r&&(a=a[r]||a),az({theme:a,name:n,props:e})}function $6e(e,n,t,r,a){const[i,o]=m.useState(()=>a&&t?t(e).matches:r?r(e).matches:n);return xt(()=>{if(!t)return;const l=t(e),s=()=>{o(l.matches)};return s(),l.addEventListener("change",s),()=>{l.removeEventListener("change",s)}},[e,t]),i}const K6e={...RBe},fme=K6e.useSyncExternalStore;function V6e(e,n,t,r,a){const i=m.useCallback(()=>n,[n]),o=m.useMemo(()=>{if(a&&t)return()=>t(e).matches;if(r!==null){const{matches:u}=r(e);return()=>u}return i},[i,e,r,a,t]),[l,s]=m.useMemo(()=>{if(t===null)return[i,()=>()=>{}];const u=t(e);return[()=>u.matches,p=>(u.addEventListener("change",p),()=>{u.removeEventListener("change",p)})]},[i,t,e]);return fme(s,l,o)}function mme(e={}){const{themeId:n}=e;return function(r,a={}){let i=_Be();i&&n&&(i=i[n]||i);const o=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:l=!1,matchMedia:s=o?window.matchMedia:null,ssrMatchMedia:c=null,noSsr:u=!1}=az({name:"MuiUseMediaQuery",props:a,theme:i});let p=typeof r=="function"?r(i):r;return p=p.replace(/^@media( ?)/m,""),p.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(`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.95a3312f.Ph4rn2Mp.js","./main.95a3312f.BRTlRA7j.js","./monaco.95a3312f.o2zwpORe.js","./monaco.95a3312f.BPeIpQ6P.css","./main.95a3312f.BdMtxJz7.css"])))=>i.map(i=>d[i]);
2
+ import{g as Fd,c as ABe,r as PR,u as I8,a as _Be,b as m,R as RBe,d as xt,e as vfe,j,f as Ie,h as $e,i as sn,k as LBe,l as bfe,T as D8,G as kfe,m as ln,n as In,s as Y,o as Re,p as Cn,q as Ee,t as w0,v as PBe,w as As,x as lY,y as Bp,z as Ft,A as Gr,C as yl,B as Gg,D as Hr,E as Sfe,F as Zl,H as x8,I as pe,J as Nb,K as NBe,L as OBe,M as Fi,N as Up,O as MBe,P as ni,Q as $Be,S as sY,U as EF,V as KBe,W as VBe,X as NM,Y as BBe,Z as A8,_ as $f,$ as fp,a0 as Ec,a1 as Eg,a2 as NR,a3 as HT,a4 as OR,a5 as lS,a6 as Ti,a7 as MR,a8 as UBe,a9 as _8,aa as R8,ab as zT,ac as L8,ad as HBe,ae as aC,af as $R,ag as Cfe,ah as wfe,ai as zBe,aj as Ffe,ak as Tfe,al as cY,am as Efe,an as Ife,ao as jT,ap as jBe,aq as GBe,ar as qBe,as as WBe,at as P8,au as hs,av as xx,aw as Ax,ax as QBe,ay as Ol,az as YBe,aA as XBe,aB as N8,aC as JBe,aD as ys,aE as Nt,aF as wu,aG as KR,aH as Dfe,aI as O8,aJ as iC,aK as GT,aL as qT,aM as oC,aN as Pc,aO as ZBe,aP as WT,aQ as VR,aR as QT,aS as ri,aT as qy,aU as Io,aV as Fu,aW as Qa,aX as Ya,aY as Sa,aZ as e4e,a_ as xv,a$ as _s,b0 as xfe,b1 as no,b2 as Av,b3 as M8,b4 as $8,b5 as pc,b6 as n4e,b7 as Ig,b8 as K8,b9 as BR,ba as UR,bb as V8,bc as Afe,bd as rp,be as B8,bf as lC,bg as Rs,bh as HR,bi as t4e,bj as Gf,bk as qg,bl as _fe,bm as U8,bn as zR,bo as r4e,bp as Rfe,bq as OA,br as jR,bs as Lfe,bt as Pfe,bu as Wg,bv as Nfe,bw as GR,bx as a4e,by as i4e,bz as Ofe,bA as o4e,bB as Ir,bC as l4e,bD as s4e,bE as c4e,bF as IF,bG as u4e,bH as Ry,bI as q0,bJ as MA,bK as d4e,bL as H8,bM as $A,bN as d,bO as We,bP as p4e,bQ as f4e,bR as m4e,bS as z8,bT as Mfe,bU as Rr,bV as sC,bW as um,bX as YT,bY as j8,bZ as G8,b_ as g4e,b$ as Td,c0 as q,c1 as rl,c2 as be,c3 as Er,c4 as q8,c5 as $fe,c6 as uY,c7 as Kfe,c8 as h4e,c9 as Fa,ca as Vfe,cb as Vn,cc as $n,cd as fi,ce as Bfe,cf as Hp,cg as y4e,ch as v4e,ci as DF,cj as b4e,ck as Ufe,cl as k4e,cm as Xo,cn as Hfe,co as zfe,cp as Xt,cq as jfe,cr as S4e,cs as xF,ct as C4e,cu as Gfe,cv as w4e,cw as W8,cx as F4e,cy as mo,cz as T4e,cA as E4e,cB as Q8,cC as dm,cD as I4e,cE as qfe,cF as D4e,cG as XT,cH as Y8,cI as Wfe,cJ as KA,cK as J,cL as un,cM as Qg,cN as x4e,cO as A4e,cP as _4e,cQ as u4,cR as OM,cS as d4,cT as R4e,cU as L4e,cV as P4e,cW as N4e,cX as p4,cY as O4e,cZ as M4e,c_ as $4e,c$ as Qfe,d0 as _x,d1 as f4,d2 as gd,d3 as zp,d4 as Tu,d5 as Ed,d6 as pm,d7 as ws,d8 as K4e,d9 as jp,da as JT,db as AF,dc as es,dd as Nr,de as Yfe,df as bt,dg as X8,dh as V4e,di as VA,dj as B4e,dk as J8,dl as Z8,dm as an,dn as Xfe,dp as Ks,dq as Gp,dr as ja,ds as U4e,dt as Jfe,du as H4e,dv as Zfe,dw as z4e,dx as eme,dy as Yg,dz as j4e,dA as nme,dB as BA,dC as G4e,dD as ez,dE as Ne,dF as dY,dG as q4e,dH as W4e,dI as nz,dJ as m4,dK as qR,dL as _v,dM as Tf,dN as UA,dO as tme,dP as Q4e,dQ as WR,dR as Y4e,dS as rme,dT as ame,dU as Pt,dV as X4e,dW as J4e,dX as Z4e,dY as e6e,dZ as n6e,d_ as ime,d$ as t6e,e0 as Ei,e1 as r6e,e2 as a6e,e3 as _F,e4 as sa,e5 as Wy,e6 as i6e,e7 as o6e,e8 as ome,e9 as l6e,ea as RF,eb as MM,ec as s6e,ed as c6e,ee as u6e,ef as Rx,eg as Kf,eh as lme,ei as d6e,ej as p6e,ek as f6e,el as m6e,em as Ls,en as QR,eo as sme,ep as ZT,eq as eE,er as cC,es as fs,et as Kr,eu as ms,ev as Vr,ew as Wc,ex as Eo,ey as gs,ez as jr,eA as g6e,eB as Lx,eC as h6e,eD as y6e,eE as pY,eF as v6e,eG as b6e,eH as k6e,eI as S6e,eJ as C6e}from"./main.95a3312f.BRTlRA7j.js";import{B as cme,e as Lt,R as uC,H as w6e,l as Ga,K as bf,b as Nm,m as F6e,M as mp,P as dC,_ as T6e,E as E6e}from"./monaco.95a3312f.o2zwpORe.js";const nE="Accept",I6e="Accept-Encoding",pC="Authorization",Xg="Content-Type",Nk="Fusion-Operation-Plan",ume="Origin",D6e="Set-Cookie",x6e="User-Agent",tz="Unknown",A6e="Unknown",_6e="Unknown",tE="document",R6e="operation-builder",dme="environment",rz="history",L6e="personal",YR="personal";var $M={exports:{}},KM,fY;function P6e(){if(fY)return KM;fY=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return KM=e,KM}var VM,mY;function N6e(){if(mY)return VM;mY=1;var e=P6e();function n(){}function t(){}return t.resetWarningCache=n,VM=function(){function r(o,l,s,c,u,p){if(p!==e){var f=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 f.name="Invariant Violation",f}}r.isRequired=r;function a(){return r}var i={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 i.PropTypes=i,i},VM}var gY;function O6e(){return gY||(gY=1,$M.exports=N6e()()),$M.exports}var M6e=O6e();const se=Fd(M6e),Ht=ABe();function az(e){const{theme:n,name:t,props:r}=e;return!n||!n.components||!n.components[t]||!n.components[t].defaultProps?r:PR(n.components[t].defaultProps,r)}function pme({props:e,name:n,defaultTheme:t,themeId:r}){let a=I8(t);return r&&(a=a[r]||a),az({theme:a,name:n,props:e})}function $6e(e,n,t,r,a){const[i,o]=m.useState(()=>a&&t?t(e).matches:r?r(e).matches:n);return xt(()=>{if(!t)return;const l=t(e),s=()=>{o(l.matches)};return s(),l.addEventListener("change",s),()=>{l.removeEventListener("change",s)}},[e,t]),i}const K6e={...RBe},fme=K6e.useSyncExternalStore;function V6e(e,n,t,r,a){const i=m.useCallback(()=>n,[n]),o=m.useMemo(()=>{if(a&&t)return()=>t(e).matches;if(r!==null){const{matches:u}=r(e);return()=>u}return i},[i,e,r,a,t]),[l,s]=m.useMemo(()=>{if(t===null)return[i,()=>()=>{}];const u=t(e);return[()=>u.matches,p=>(u.addEventListener("change",p),()=>{u.removeEventListener("change",p)})]},[i,t,e]);return fme(s,l,o)}function mme(e={}){const{themeId:n}=e;return function(r,a={}){let i=_Be();i&&n&&(i=i[n]||i);const o=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:l=!1,matchMedia:s=o?window.matchMedia:null,ssrMatchMedia:c=null,noSsr:u=!1}=az({name:"MuiUseMediaQuery",props:a,theme:i});let p=typeof r=="function"?r(i):r;return p=p.replace(/^@media( ?)/m,""),p.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
  `)),(fme!==void 0?V6e:$6e)(p,l,s,c,u)}}mme();function W0(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const B6e=(e,n)=>e.filter(t=>n.includes(t)),fC=(e,n,t)=>{const r=e.keys[0];Array.isArray(n)?n.forEach((a,i)=>{t((o,l)=>{i<=e.keys.length-1&&(i===0?Object.assign(o,l):o[e.up(e.keys[i])]=l)},a)}):n&&typeof n=="object"?(Object.keys(n).length>e.keys.length?e.keys:B6e(e.keys,Object.keys(n))).forEach(i=>{if(e.keys.includes(i)){const o=n[i];o!==void 0&&t((l,s)=>{r===i?Object.assign(l,s):l[e.up(i)]=s},o)}}):(typeof n=="number"||typeof n=="string")&&t((a,i)=>{Object.assign(a,i)},n)};function HA(e){return`--Grid-${e}Spacing`}function XR(e){return`--Grid-parent-${e}Spacing`}const hY="--Grid-columns",Ok="--Grid-parent-columns",U6e=({theme:e,ownerState:n})=>{const t={};return fC(e.breakpoints,n.size,(r,a)=>{let i={};a==="grow"&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),a==="auto"&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof a=="number"&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${a} / var(${Ok}) - (var(${Ok}) - ${a}) * (var(${XR("column")}) / var(${Ok})))`}),r(t,i)}),t},H6e=({theme:e,ownerState:n})=>{const t={};return fC(e.breakpoints,n.offset,(r,a)=>{let i={};a==="auto"&&(i={marginLeft:"auto"}),typeof a=="number"&&(i={marginLeft:a===0?"0px":`calc(100% * ${a} / var(${Ok}) + var(${XR("column")}) * ${a} / var(${Ok}))`}),r(t,i)}),t},z6e=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={[hY]:12};return fC(e.breakpoints,n.columns,(r,a)=>{const i=a??12;r(t,{[hY]:i,"> *":{[Ok]:i}})}),t},j6e=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return fC(e.breakpoints,n.rowSpacing,(r,a)=>{const i=typeof a=="string"?a:e.spacing?.(a);r(t,{[HA("row")]:i,"> *":{[XR("row")]:i}})}),t},G6e=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return fC(e.breakpoints,n.columnSpacing,(r,a)=>{const i=typeof a=="string"?a:e.spacing?.(a);r(t,{[HA("column")]:i,"> *":{[XR("column")]:i}})}),t},q6e=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return fC(e.breakpoints,n.direction,(r,a)=>{r(t,{flexDirection:a})}),t},W6e=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${HA("row")}) var(${HA("column")})`}}),Q6e=e=>{const n=[];return Object.entries(e).forEach(([t,r])=>{r!==!1&&r!==void 0&&n.push(`grid-${t}-${String(r)}`)}),n},Y6e=(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,i])=>{t(i)&&r.push(`spacing-${a}-${String(i)}`)}),r}return[]},X6e=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([n,t])=>`direction-${n}-${t}`):[`direction-xs-${String(e)}`];function J6e(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 Z6e=LBe(),eUe=Ht("div",{name:"MuiGrid",slot:"Root"});function nUe(e){return pme({props:e,name:"MuiGrid",defaultTheme:Z6e})}function tUe(e={}){const{createStyledComponent:n=eUe,useThemeProps:t=nUe,useTheme:r=I8,componentName:a="MuiGrid"}=e,i=(c,u)=>{const{container:p,direction:f,spacing:g,wrap:h,size:y}=c,v={root:["root",p&&"container",h!=="wrap"&&`wrap-xs-${String(h)}`,...X6e(f),...Q6e(y),...p?Y6e(g,u.breakpoints.keys[0]):[]]};return $e(v,b=>sn(a,b),{})};function o(c,u,p=()=>!0){const f={};return c===null||(Array.isArray(c)?c.forEach((g,h)=>{g!==null&&p(g)&&u.keys[h]&&(f[u.keys[h]]=g)}):typeof c=="object"?Object.keys(c).forEach(g=>{const h=c[g];h!=null&&p(h)&&(f[g]=h)}):f[u.keys[0]]=c),f}const l=n(z6e,G6e,j6e,U6e,q6e,W6e,H6e),s=m.forwardRef(function(u,p){const f=r(),g=t(u),h=vfe(g);J6e(h,f.breakpoints);const{className:y,children:v,columns:b=12,container:k=!1,component:C="div",direction:w="row",wrap:S="wrap",size:F={},offset:E={},spacing:I=0,rowSpacing:T=I,columnSpacing:D=I,unstable_level:x=0,...A}=h,_=o(F,f.breakpoints,R=>R!==!1),L=o(E,f.breakpoints),O=u.columns??(x?void 0:b),$=u.spacing??(x?void 0:I),H=u.rowSpacing??u.spacing??(x?void 0:T),K=u.columnSpacing??u.spacing??(x?void 0:D),P={...h,level:x,columns:O,container:k,direction:w,wrap:S,spacing:$,rowSpacing:H,columnSpacing:K,size:_,offset:L},N=i(P,f);return j.jsx(l,{ref:p,as:C,ownerState:P,className:Ie(N.root,y),...A,children:m.Children.map(v,R=>m.isValidElement(R)&&W0(R,["Grid"])&&k&&R.props.container?m.cloneElement(R,{unstable_level:R.props?.unstable_level??x+1}):R)})});return s.muiName="Grid",s}function rUe(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function aUe(e){return parseFloat(e)}function al(){const e=I8(bfe);return e[D8]||e}function aa({props:e,name:n}){return pme({props:e,name:n,defaultTheme:bfe,themeId:D8})}function yY(...e){return e.reduce((n,t)=>t==null?n:function(...a){n.apply(this,a),t.apply(this,a)},()=>{})}function iUe(e){return function(t){return j.jsx(kfe,{styles:typeof e=="function"?r=>e({theme:r,...t}):e})}}function oUe(){return vfe}function lUe(e){return sn("MuiSvgIcon",e)}ln("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const sUe=e=>{const{color:n,fontSize:t,classes:r}=e,a={root:["root",n!=="inherit"&&`color${Re(n)}`,`fontSize${Re(t)}`]};return $e(a,lUe,r)},cUe=Y("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.color!=="inherit"&&n[`color${Re(t.color)}`],n[`fontSize${Re(t.fontSize)}`]]}})(Cn(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:n=>!n.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,n])=>n&&n.main).map(([n])=>({props:{color:n},style:{color:(e.vars??e).palette?.[n]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),zA=m.forwardRef(function(n,t){const r=In({props:n,name:"MuiSvgIcon"}),{children:a,className:i,color:o="inherit",component:l="svg",fontSize:s="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:p,viewBox:f="0 0 24 24",...g}=r,h=m.isValidElement(a)&&a.type==="svg",y={...r,color:o,component:l,fontSize:s,instanceFontSize:n.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:h},v={};u||(v.viewBox=f);const b=sUe(y);return j.jsxs(cUe,{as:l,className:Ie(b.root,i),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...v,...g,...h&&a.props,ownerState:y,children:[h?a.props.children:a,p?j.jsx("title",{children:p}):null]})});zA.muiName="SvgIcon";function Ia(e,n){function t(r,a){return j.jsx(zA,{"data-testid":void 0,ref:a,...r,children:e})}return t.muiName=zA.muiName,m.memo(m.forwardRef(t))}function fu(e,n=166){let t;function r(...a){const i=()=>{e.apply(this,a)};clearTimeout(t),t=setTimeout(i,n)}return r.clear=()=>{clearTimeout(t)},r}function Wr(e){return e&&e.ownerDocument||document}function Ic(e){return Wr(e).defaultView||window}function g4(e,n){typeof e=="function"?e(n):e&&(e.current=n)}function vc(e){const{controlled:n,default:t,name:r,state:a="value"}=e,{current:i}=m.useRef(n!==void 0),[o,l]=m.useState(t),s=i?n:o,c=m.useCallback(u=>{i||l(u)},[]);return[s,c]}function He(e){const n=m.useRef(e);return xt(()=>{n.current=e}),m.useRef((...t)=>(0,n.current)(...t)).current}function nt(...e){const n=m.useRef(void 0),t=m.useCallback(r=>{const a=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const o=i,l=o(r);return typeof l=="function"?l:()=>{o(null)}}return i.current=r,()=>{i.current=null}});return()=>{a.forEach(i=>i?.())}},e);return m.useMemo(()=>e.every(r=>r==null)?null:r=>{n.current&&(n.current(),n.current=void 0),r!=null&&(n.current=t(r))},e)}function uUe(e,n){const t=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&t>=65&&t<=90&&typeof n=="function"}function iz(e,n){if(!e)return n;function t(o,l){const s={};return Object.keys(l).forEach(c=>{uUe(c,l[c])&&typeof o[c]=="function"&&(s[c]=(...u)=>{o[c](...u),l[c](...u)})}),s}if(typeof e=="function"||typeof n=="function")return o=>{const l=typeof n=="function"?n(o):n,s=typeof e=="function"?e({...o,...l}):e,c=Ie(o?.className,l?.className,s?.className),u=t(s,l);return{...l,...s,...u,...!!c&&{className:c},...l?.style&&s?.style&&{style:{...l.style,...s.style}},...l?.sx&&s?.sx&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(s.sx)?s.sx:[s.sx]]}}};const r=n,a=t(e,r),i=Ie(r?.className,e?.className);return{...n,...e,...a,...!!i&&{className:i},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function jA(){return jA=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},jA.apply(this,arguments)}function oz(e,n){if(e==null)return{};var t={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(n.indexOf(r)>=0)continue;t[r]=e[r]}return t}function h4(e,n){return h4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},h4(e,n)}function lz(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,h4(e,n)}function dUe(e,n){return e.classList?!!n&&e.classList.contains(n):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+n+" ")!==-1}function pUe(e,n){e.classList?e.classList.add(n):dUe(e,n)||(typeof e.className=="string"?e.className=e.className+" "+n:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+n))}function vY(e,n){return e.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function fUe(e,n){e.classList?e.classList.remove(n):typeof e.className=="string"?e.className=vY(e.className,n):e.setAttribute("class",vY(e.className&&e.className.baseVal||"",n))}const bY={disabled:!1},GA=Ee.createContext(null);var gme=function(n){return n.scrollTop},F0="unmounted",Jh="exited",Zh="entering",sk="entered",y4="exiting",Nc=function(e){lz(n,e);function n(r,a){var i;i=e.call(this,r,a)||this;var o=a,l=o&&!o.isMounting?r.enter:r.appear,s;return i.appearStatus=null,r.in?l?(s=Jh,i.appearStatus=Zh):s=sk:r.unmountOnExit||r.mountOnEnter?s=F0:s=Jh,i.state={status:s},i.nextCallback=null,i}n.getDerivedStateFromProps=function(a,i){var o=a.in;return o&&i.status===F0?{status:Jh}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(a){var i=null;if(a!==this.props){var o=this.state.status;this.props.in?o!==Zh&&o!==sk&&(i=Zh):(o===Zh||o===sk)&&(i=y4)}this.updateStatus(!1,i)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var a=this.props.timeout,i,o,l;return i=o=l=a,a!=null&&typeof a!="number"&&(i=a.exit,o=a.enter,l=a.appear!==void 0?a.appear:o),{exit:i,enter:o,appear:l}},t.updateStatus=function(a,i){if(a===void 0&&(a=!1),i!==null)if(this.cancelNextCallback(),i===Zh){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:w0.findDOMNode(this);o&&gme(o)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Jh&&this.setState({status:F0})},t.performEnter=function(a){var i=this,o=this.props.enter,l=this.context?this.context.isMounting:a,s=this.props.nodeRef?[l]:[w0.findDOMNode(this),l],c=s[0],u=s[1],p=this.getTimeouts(),f=l?p.appear:p.enter;if(!a&&!o||bY.disabled){this.safeSetState({status:sk},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Zh},function(){i.props.onEntering(c,u),i.onTransitionEnd(f,function(){i.safeSetState({status:sk},function(){i.props.onEntered(c,u)})})})},t.performExit=function(){var a=this,i=this.props.exit,o=this.getTimeouts(),l=this.props.nodeRef?void 0:w0.findDOMNode(this);if(!i||bY.disabled){this.safeSetState({status:Jh},function(){a.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:y4},function(){a.props.onExiting(l),a.onTransitionEnd(o.exit,function(){a.safeSetState({status:Jh},function(){a.props.onExited(l)})})})},t.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(a,i){i=this.setNextCallback(i),this.setState(a,i)},t.setNextCallback=function(a){var i=this,o=!0;return this.nextCallback=function(l){o&&(o=!1,i.nextCallback=null,a(l))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},t.onTransitionEnd=function(a,i){this.setNextCallback(i);var o=this.props.nodeRef?this.props.nodeRef.current:w0.findDOMNode(this),l=a==null&&!this.props.addEndListener;if(!o||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=s[0],u=s[1];this.props.addEndListener(c,u)}a!=null&&setTimeout(this.nextCallback,a)},t.render=function(){var a=this.state.status;if(a===F0)return null;var i=this.props,o=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=oz(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ee.createElement(GA.Provider,{value:null},typeof o=="function"?o(a,l):Ee.cloneElement(Ee.Children.only(o),l))},n}(Ee.Component);Nc.contextType=GA;Nc.propTypes={};function Ob(){}Nc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ob,onEntering:Ob,onEntered:Ob,onExit:Ob,onExiting:Ob,onExited:Ob};Nc.UNMOUNTED=F0;Nc.EXITED=Jh;Nc.ENTERING=Zh;Nc.ENTERED=sk;Nc.EXITING=y4;var mUe=function(n,t){return n&&t&&t.split(" ").forEach(function(r){return pUe(n,r)})},BM=function(n,t){return n&&t&&t.split(" ").forEach(function(r){return fUe(n,r)})},sz=function(e){lz(n,e);function n(){for(var r,a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return r=e.call.apply(e,[this].concat(i))||this,r.appliedClasses={appear:{},enter:{},exit:{}},r.onEnter=function(l,s){var c=r.resolveArguments(l,s),u=c[0],p=c[1];r.removeClasses(u,"exit"),r.addClass(u,p?"appear":"enter","base"),r.props.onEnter&&r.props.onEnter(l,s)},r.onEntering=function(l,s){var c=r.resolveArguments(l,s),u=c[0],p=c[1],f=p?"appear":"enter";r.addClass(u,f,"active"),r.props.onEntering&&r.props.onEntering(l,s)},r.onEntered=function(l,s){var c=r.resolveArguments(l,s),u=c[0],p=c[1],f=p?"appear":"enter";r.removeClasses(u,f),r.addClass(u,f,"done"),r.props.onEntered&&r.props.onEntered(l,s)},r.onExit=function(l){var s=r.resolveArguments(l),c=s[0];r.removeClasses(c,"appear"),r.removeClasses(c,"enter"),r.addClass(c,"exit","base"),r.props.onExit&&r.props.onExit(l)},r.onExiting=function(l){var s=r.resolveArguments(l),c=s[0];r.addClass(c,"exit","active"),r.props.onExiting&&r.props.onExiting(l)},r.onExited=function(l){var s=r.resolveArguments(l),c=s[0];r.removeClasses(c,"exit"),r.addClass(c,"exit","done"),r.props.onExited&&r.props.onExited(l)},r.resolveArguments=function(l,s){return r.props.nodeRef?[r.props.nodeRef.current,l]:[l,s]},r.getClassNames=function(l){var s=r.props.classNames,c=typeof s=="string",u=c&&s?s+"-":"",p=c?""+u+l:s[l],f=c?p+"-active":s[l+"Active"],g=c?p+"-done":s[l+"Done"];return{baseClassName:p,activeClassName:f,doneClassName:g}},r}var t=n.prototype;return t.addClass=function(a,i,o){var l=this.getClassNames(i)[o+"ClassName"],s=this.getClassNames("enter"),c=s.doneClassName;i==="appear"&&o==="done"&&c&&(l+=" "+c),o==="active"&&a&&gme(a),l&&(this.appliedClasses[i][o]=l,mUe(a,l))},t.removeClasses=function(a,i){var o=this.appliedClasses[i],l=o.base,s=o.active,c=o.done;this.appliedClasses[i]={},l&&BM(a,l),s&&BM(a,s),c&&BM(a,c)},t.render=function(){var a=this.props;a.classNames;var i=oz(a,["classNames"]);return Ee.createElement(Nc,jA({},i,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(Ee.Component);sz.defaultProps={classNames:""};sz.propTypes={};function gUe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,n){var t=function(i){return n&&m.isValidElement(i)?n(i):i},r=Object.create(null);return e&&m.Children.map(e,function(a){return a}).forEach(function(a){r[a.key]=t(a)}),r}function hUe(e,n){e=e||{},n=n||{};function t(u){return u in n?n[u]:e[u]}var r=Object.create(null),a=[];for(var i in e)i in n?a.length&&(r[i]=a,a=[]):a.push(i);var o,l={};for(var s in n){if(r[s])for(o=0;o<r[s].length;o++){var c=r[s][o];l[r[s][o]]=t(c)}l[s]=t(s)}for(o=0;o<a.length;o++)l[a[o]]=t(a[o]);return l}function uy(e,n,t){return t[n]!=null?t[n]:e.props[n]}function yUe(e,n){return cz(e.children,function(t){return m.cloneElement(t,{onExited:n.bind(null,t),in:!0,appear:uy(t,"appear",e),enter:uy(t,"enter",e),exit:uy(t,"exit",e)})})}function vUe(e,n,t){var r=cz(e.children),a=hUe(n,r);return Object.keys(a).forEach(function(i){var o=a[i];if(m.isValidElement(o)){var l=i in n,s=i in r,c=n[i],u=m.isValidElement(c)&&!c.props.in;s&&(!l||u)?a[i]=m.cloneElement(o,{onExited:t.bind(null,o),in:!0,exit:uy(o,"exit",e),enter:uy(o,"enter",e)}):!s&&l&&!u?a[i]=m.cloneElement(o,{in:!1}):s&&l&&m.isValidElement(c)&&(a[i]=m.cloneElement(o,{onExited:t.bind(null,o),in:c.props.in,exit:uy(o,"exit",e),enter:uy(o,"enter",e)}))}}),a}var bUe=Object.values||function(e){return Object.keys(e).map(function(n){return e[n]})},kUe={component:"div",childFactory:function(n){return n}},rE=function(e){lz(n,e);function n(r,a){var i;i=e.call(this,r,a)||this;var o=i.handleExited.bind(gUe(i));return i.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},i}var t=n.prototype;return t.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},t.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(a,i){var o=i.children,l=i.handleExited,s=i.firstRender;return{children:s?yUe(a,l):vUe(a,o,l),firstRender:!1}},t.handleExited=function(a,i){var o=cz(this.props.children);a.key in o||(a.props.onExited&&a.props.onExited(i),this.mounted&&this.setState(function(l){var s=jA({},l.children);return delete s[a.key],{children:s}}))},t.render=function(){var a=this.props,i=a.component,o=a.childFactory,l=oz(a,["component","childFactory"]),s=this.state.contextValue,c=bUe(this.state.children).map(o);return delete l.appear,delete l.enter,delete l.exit,i===null?Ee.createElement(GA.Provider,{value:s},c):Ee.createElement(GA.Provider,{value:s},Ee.createElement(i,l,c))},n}(Ee.Component);rE.propTypes={};rE.defaultProps=kUe;const kY={};function Yl(e,n){const t=m.useRef(kY);return t.current===kY&&(t.current=e(n)),t}const SUe=[];function JR(e){m.useEffect(e,SUe)}class ZR{static create(){return new ZR}currentId=null;start(n,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},n)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Ai(){const e=Yl(ZR.create).current;return JR(e.disposeEffect),e}const uz=e=>e.scrollTop;function Dg(e,n){const{timeout:t,easing:r,style:a={}}=e;return{duration:a.transitionDuration??(typeof t=="number"?t:t[n.mode]||0),easing:a.transitionTimingFunction??(typeof r=="object"?r[n.mode]:r),delay:a.transitionDelay}}function sS(e){return typeof e=="string"}function hme(e,n,t){return e===void 0||sS(e)?n:{...n,ownerState:{...n.ownerState,...t}}}function Fs(e,n,t){return typeof e=="function"?e(n,t):e}function yme(e,n=[]){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!n.includes(r)).forEach(r=>{t[r]=e[r]}),t}function SY(e){if(e===void 0)return{};const n={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]=="function")).forEach(t=>{n[t]=e[t]}),n}function vme(e){const{getSlotProps:n,additionalProps:t,externalSlotProps:r,externalForwardedProps:a,className:i}=e;if(!n){const g=Ie(t?.className,i,a?.className,r?.className),h={...t?.style,...a?.style,...r?.style},y={...t,...a,...r};return g.length>0&&(y.className=g),Object.keys(h).length>0&&(y.style=h),{props:y,internalRef:void 0}}const o=yme({...a,...r}),l=SY(r),s=SY(a),c=n(o),u=Ie(c?.className,t?.className,i,a?.className,r?.className),p={...c?.style,...t?.style,...a?.style,...r?.style},f={...c,...t,...s,...l};return u.length>0&&(f.className=u),Object.keys(p).length>0&&(f.style=p),{props:f,internalRef:c.ref}}function kn(e,n){const{className:t,elementType:r,ownerState:a,externalForwardedProps:i,internalForwardedProps:o,shouldForwardComponentProp:l=!1,...s}=n,{component:c,slots:u={[e]:void 0},slotProps:p={[e]:void 0},...f}=i,g=u[e]||r,h=Fs(p[e],a),{props:{component:y,...v},internalRef:b}=vme({className:t,...s,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h}),k=nt(b,h?.ref,n.ref),C=e==="root"?y||c:y,w=hme(g,{...e==="root"&&!c&&!u[e]&&o,...e!=="root"&&!u[e]&&o,...v,...C&&!l&&{as:C},...C&&l&&{component:C},ref:k},a);return[g,w]}function CUe(e){return sn("MuiCollapse",e)}ln("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const wUe=e=>{const{orientation:n,classes:t}=e,r={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return $e(r,CUe,t)},FUe=Y("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]}})(Cn(({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"}}]}))),TUe=Y("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),EUe=Y("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),LF=m.forwardRef(function(n,t){const r=In({props:n,name:"MuiCollapse"}),{addEndListener:a,children:i,className:o,collapsedSize:l="0px",component:s,easing:c,in:u,onEnter:p,onEntered:f,onEntering:g,onExit:h,onExited:y,onExiting:v,orientation:b="vertical",slots:k={},slotProps:C={},style:w,timeout:S=PBe.standard,TransitionComponent:F=Nc,...E}=r,I={...r,orientation:b,collapsedSize:l},T=wUe(I),D=al(),x=Ai(),A=m.useRef(null),_=m.useRef(),L=typeof l=="number"?`${l}px`:l,O=b==="horizontal",$=O?"width":"height",H=m.useRef(null),K=nt(t,H),P=re=>le=>{if(re){const oe=H.current;le===void 0?re(oe):re(oe,le)}},N=()=>A.current?A.current[O?"clientWidth":"clientHeight"]:0,R=P((re,le)=>{A.current&&O&&(A.current.style.position="absolute"),re.style[$]=L,p&&p(re,le)}),V=P((re,le)=>{const oe=N();A.current&&O&&(A.current.style.position="");const{duration:ie,easing:de}=Dg({style:w,timeout:S,easing:c},{mode:"enter"});if(S==="auto"){const fe=D.transitions.getAutoHeightDuration(oe);re.style.transitionDuration=`${fe}ms`,_.current=fe}else re.style.transitionDuration=typeof ie=="string"?ie:`${ie}ms`;re.style[$]=`${oe}px`,re.style.transitionTimingFunction=de,g&&g(re,le)}),B=P((re,le)=>{re.style[$]="auto",f&&f(re,le)}),M=P(re=>{re.style[$]=`${N()}px`,h&&h(re)}),U=P(y),z=P(re=>{const le=N(),{duration:oe,easing:ie}=Dg({style:w,timeout:S,easing:c},{mode:"exit"});if(S==="auto"){const de=D.transitions.getAutoHeightDuration(le);re.style.transitionDuration=`${de}ms`,_.current=de}else re.style.transitionDuration=typeof oe=="string"?oe:`${oe}ms`;re.style[$]=L,re.style.transitionTimingFunction=ie,v&&v(re)}),W=re=>{S==="auto"&&x.start(_.current||0,re),a&&a(H.current,re)},Q={slots:k,slotProps:C,component:s},[ne,te]=kn("root",{ref:K,className:Ie(T.root,o),elementType:FUe,externalForwardedProps:Q,ownerState:I,additionalProps:{style:{[O?"minWidth":"minHeight"]:L,...w}}}),[X,Z]=kn("wrapper",{ref:A,className:T.wrapper,elementType:TUe,externalForwardedProps:Q,ownerState:I}),[ee,ae]=kn("wrapperInner",{className:T.wrapperInner,elementType:EUe,externalForwardedProps:Q,ownerState:I});return j.jsx(F,{in:u,onEnter:R,onEntered:B,onEntering:V,onExit:M,onExited:U,onExiting:z,addEndListener:W,nodeRef:H,timeout:S==="auto"?null:S,...E,children:(re,{ownerState:le,...oe})=>{const ie={...I,state:re};return j.jsx(ne,{...te,className:Ie(te.className,{entered:T.entered,exited:!u&&L==="0px"&&T.hidden}[re]),ownerState:ie,...oe,children:j.jsx(X,{...Z,ownerState:ie,children:j.jsx(ee,{...ae,ownerState:ie,children:i})})})}})});LF&&(LF.muiSupportAuto=!0);function IUe(e){return sn("MuiPaper",e)}ln("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const DUe=e=>{const{square:n,elevation:t,variant:r,classes:a}=e,i={root:["root",r,!n&&"rounded",r==="elevation"&&`elevation${t}`]};return $e(i,IUe,a)},xUe=Y("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[t.variant],!t.square&&n.rounded,t.variant==="elevation"&&n[`elevation${t.elevation}`]]}})(Cn(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:n})=>!n.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Id=m.forwardRef(function(n,t){const r=In({props:n,name:"MuiPaper"}),a=al(),{className:i,component:o="div",elevation:l=1,square:s=!1,variant:c="elevation",...u}=r,p={...r,component:o,elevation:l,square:s,variant:c},f=DUe(p);return j.jsx(xUe,{as:o,ownerState:p,className:Ie(f.root,i),ref:t,...u,style:{...c==="elevation"&&{"--Paper-shadow":(a.vars||a).shadows[l],...a.vars&&{"--Paper-overlay":a.vars.overlays?.[l]},...!a.vars&&a.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${As("#fff",lY(l))}, ${As("#fff",lY(l))})`}},...u.style}})}),bme=se.oneOfType([se.func,se.object]);function cS(e){try{return e.matches(":focus-visible")}catch{}return!1}class qA{static create(){return new qA}static use(){const n=Yl(qA.create).current,[t,r]=m.useState(!1);return n.shouldMount=t,n.setShouldMount=r,m.useEffect(n.mountEffect,[t]),n}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=_Ue(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...n){this.mount().then(()=>this.ref.current?.start(...n))}stop(...n){this.mount().then(()=>this.ref.current?.stop(...n))}pulsate(...n){this.mount().then(()=>this.ref.current?.pulsate(...n))}}function AUe(){return qA.use()}function _Ue(){let e,n;const t=new Promise((r,a)=>{e=r,n=a});return t.resolve=e,t.reject=n,t}function RUe(e){const{className:n,classes:t,pulsate:r=!1,rippleX:a,rippleY:i,rippleSize:o,in:l,onExited:s,timeout:c}=e,[u,p]=m.useState(!1),f=Ie(n,t.ripple,t.rippleVisible,r&&t.ripplePulsate),g={width:o,height:o,top:-(o/2)+i,left:-(o/2)+a},h=Ie(t.child,u&&t.childLeaving,r&&t.childPulsate);return!l&&!u&&p(!0),m.useEffect(()=>{if(!l&&s!=null){const y=setTimeout(s,c);return()=>{clearTimeout(y)}}},[s,l,c]),j.jsx("span",{className:f,style:g,children:j.jsx("span",{className:h})})}const Qc=ln("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),v4=550,LUe=80,PUe=Bp`
4
4
  0% {
5
5
  transform: scale(0);
@@ -467,7 +467,7 @@ ${p}}`}return`
467
467
  }
468
468
  }
469
469
  }
470
- `,phn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Type",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"fields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}],loc:{start:0,end:137,source:{name:"GraphQL request",locationOffset:{line:1,column:1},body:dhn}}};qr(ahn);qr(ohn);qr(shn);qr(uhn);qr(phn);const fhn="Server Not Reachable";function gCe(e){return Ro(e)&&"message"in e&&e.message===fhn}class J9 extends zgn{constructor(n){super(),this.createWorker=n}#e;#n;#t=!0;#r;#a=0;getContext(){if(!this.#e){const n=this.createWorker(),t={sendMessage:r=>n.postMessage(r)};n.onmessage=({data:r})=>{this.handleMessage(t,r)},this.#n=n,this.#e=t,this.#r=this.registerReceiveMessageHandler("scheduler-status-updated",({payload:{idling:r,lastUpdated:a}})=>{this.#t=r,this.#a=a}),this.checkIfIdle(),this.initializeWorker()}return this.#e}checkIfIdle(){const n=()=>{if(this.#n&&this.#t&&document.hidden&&Li()-this.#a>Mfe){this.stopWorker();return}this.checkIfIdle()};window.setTimeout(n,z8)}initializeWorker(){this.sendMessage(new Tr(thn,{appNamespace:window.appNamespace}))}stopWorker(){this.#n?.terminate(),this.#r?.(),this.#r=void 0,this.#n=void 0,this.#e=void 0}cancelTask(n){this.sendMessage(new Tr(fCe,{taskId:n}))}}const mhn="analyze-document",ghn="analyze-document-operations",hhn="files-updated",yhn="variable-json-schema-updated";var QK,ire;function vhn(){if(ire)return QK;ire=1,QK=e;function e(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}return e.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*n);n=(Math.floor(t*10)&1)==0?n-r:n+r}return Math.min(n,this.max)|0},e.prototype.reset=function(){this.attempts=0},e.prototype.setMin=function(n){this.ms=n},e.prototype.setMax=function(n){this.max=n},e.prototype.setJitter=function(n){this.jitter=n},QK}vhn();var YK={exports:{}},ore;function bhn(){return ore||(ore=1,function(e){var n=Object.prototype.hasOwnProperty,t="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(t=!1));function a(s,c,u){this.fn=s,this.context=c,this.once=u||!1}function i(s,c,u,p,f){if(typeof u!="function")throw new TypeError("The listener must be a function");var g=new a(u,p||s,f),h=t?t+c:c;return s._events[h]?s._events[h].fn?s._events[h]=[s._events[h],g]:s._events[h].push(g):(s._events[h]=g,s._eventsCount++),s}function o(s,c){--s._eventsCount===0?s._events=new r:delete s._events[c]}function l(){this._events=new r,this._eventsCount=0}l.prototype.eventNames=function(){var c=[],u,p;if(this._eventsCount===0)return c;for(p in u=this._events)n.call(u,p)&&c.push(t?p.slice(1):p);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},l.prototype.listeners=function(c){var u=t?t+c:c,p=this._events[u];if(!p)return[];if(p.fn)return[p.fn];for(var f=0,g=p.length,h=new Array(g);f<g;f++)h[f]=p[f].fn;return h},l.prototype.listenerCount=function(c){var u=t?t+c:c,p=this._events[u];return p?p.fn?1:p.length:0},l.prototype.emit=function(c,u,p,f,g,h){var y=t?t+c:c;if(!this._events[y])return!1;var v=this._events[y],b=arguments.length,k,C;if(v.fn){switch(v.once&&this.removeListener(c,v.fn,void 0,!0),b){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,u),!0;case 3:return v.fn.call(v.context,u,p),!0;case 4:return v.fn.call(v.context,u,p,f),!0;case 5:return v.fn.call(v.context,u,p,f,g),!0;case 6:return v.fn.call(v.context,u,p,f,g,h),!0}for(C=1,k=new Array(b-1);C<b;C++)k[C-1]=arguments[C];v.fn.apply(v.context,k)}else{var w=v.length,S;for(C=0;C<w;C++)switch(v[C].once&&this.removeListener(c,v[C].fn,void 0,!0),b){case 1:v[C].fn.call(v[C].context);break;case 2:v[C].fn.call(v[C].context,u);break;case 3:v[C].fn.call(v[C].context,u,p);break;case 4:v[C].fn.call(v[C].context,u,p,f);break;default:if(!k)for(S=1,k=new Array(b-1);S<b;S++)k[S-1]=arguments[S];v[C].fn.apply(v[C].context,k)}}return!0},l.prototype.on=function(c,u,p){return i(this,c,u,p,!1)},l.prototype.once=function(c,u,p){return i(this,c,u,p,!0)},l.prototype.removeListener=function(c,u,p,f){var g=t?t+c:c;if(!this._events[g])return this;if(!u)return o(this,g),this;var h=this._events[g];if(h.fn)h.fn===u&&(!f||h.once)&&(!p||h.context===p)&&o(this,g);else{for(var y=0,v=[],b=h.length;y<b;y++)(h[y].fn!==u||f&&!h[y].once||p&&h[y].context!==p)&&v.push(h[y]);v.length?this._events[g]=v.length===1?v[0]:v:o(this,g)}return this},l.prototype.removeAllListeners=function(c){var u;return c?(u=t?t+c:c,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=t,l.EventEmitter=l,e.exports=l}(YK)),YK.exports}bhn();var Hh={},lre;function khn(){if(lre)return Hh;lre=1,Object.defineProperty(Hh,"__esModule",{value:!0}),Hh.WS_TIMEOUT=Hh.MIN_WS_TIMEOUT=void 0;var e=1e3;Hh.MIN_WS_TIMEOUT=e;var n=3e4;return Hh.WS_TIMEOUT=n,Hh}khn();var jD={},sre;function Shn(){if(sre)return jD;sre=1,Object.defineProperty(jD,"__esModule",{value:!0});var e=function(){function n(){throw new Error("Static Class")}return n.GQL_CONNECTION_INIT="connection_init",n.GQL_CONNECTION_ACK="connection_ack",n.GQL_CONNECTION_ERROR="connection_error",n.GQL_CONNECTION_KEEP_ALIVE="ka",n.GQL_CONNECTION_TERMINATE="connection_terminate",n.GQL_START="start",n.GQL_DATA="data",n.GQL_ERROR="error",n.GQL_COMPLETE="complete",n.GQL_STOP="stop",n.SUBSCRIPTION_START="subscription_start",n.SUBSCRIPTION_DATA="subscription_data",n.SUBSCRIPTION_SUCCESS="subscription_success",n.SUBSCRIPTION_FAIL="subscription_fail",n.SUBSCRIPTION_END="subscription_end",n.INIT="init",n.INIT_SUCCESS="init_success",n.INIT_FAIL="init_fail",n.KEEP_ALIVE="keepalive",n}();return jD.default=e,jD}Shn();var zh={},cre;function Chn(){if(cre)return zh;cre=1,Object.defineProperty(zh,"__esModule",{value:!0}),zh.GRAPHQL_SUBSCRIPTIONS=zh.GRAPHQL_WS=void 0;var e="graphql-ws";zh.GRAPHQL_WS=e;var n="graphql-subscriptions";return zh.GRAPHQL_SUBSCRIPTIONS=n,zh}Chn();var GD={},ure;function whn(){if(ure)return GD;ure=1,Object.defineProperty(GD,"__esModule",{value:!0});function e(n){return n!==null&&typeof n=="object"}return GD.default=e,GD}whn();var qD={},dre;function Fhn(){if(dre)return qD;dre=1,Object.defineProperty(qD,"__esModule",{value:!0});function e(n){return typeof n=="string"}return qD.default=e,qD}Fhn();function Thn(e){var n,t=e.Symbol;return typeof t=="function"?t.observable?n=t.observable:(n=t("observable"),t.observable=n):n="@@observable",n}var pk;typeof self<"u"?pk=self:typeof window<"u"?pk=window:typeof ug<"u"?pk=ug:typeof module<"u"?pk=module:pk=Function("return this")();Thn(pk);const pre=typeof ug<"u"?ug:typeof window<"u"?window:{};pre.WebSocket||pre.MozWebSocket;const Ehn="execute-operation",Tk={endpoint:"",exists:!1,hash:"",indexed:!1,hasMutationType:!1,hasSubscriptionType:!1,hasUploadType:!1,supportsSemanticIntrospection:!1},Ihn="cancel-request",Dhn="fetch-api-schema",xhn="fetch-directive",Ahn="fetch-directives",_hn="get-cached-schema",Rhn="fetch-schema",Lhn="fetch-field",Phn="fetch-fields",Nhn="fetch-fields-and-types",Ohn="fetch-schema-reference",Mhn="fetch-schema-root-types",$hn="fetch-type",Khn="fetch-types";class Vhn extends J9{analyzeDocument(n,t){return this.sendAndReceiveMessage(new Tr(mhn,{documentId:n}),!1,t)}analyzeDocumentOperations(n,t){return this.sendAndReceiveMessage(new Tr(ghn,{documentId:n}),!1,t)}cancelRequest(n){this.sendMessage(new Tr(Ihn,{documentId:n}))}executeOperation(n,t,r,a){this.sendMessage(new Tr(Ehn,{documentId:n,workspaceId:t,environmentId:r,operationIndex:a}))}filesUpdated(n){this.sendMessage(new Tr(hhn,{documentId:n}))}fetchSchema(n,t,r){return this.sendAndReceiveMessage(new Tr(Rhn,{documentId:n,environmentId:t}),!1,r)}fetchApiSchema(n,t,r){return this.sendAndReceiveMessage(new Tr(Dhn,{apiId:n,stageId:t}),!1,r)}getCachedSchema(n,t){return this.sendAndReceiveMessage(new Tr(_hn,{documentId:n,environmentId:t}))}getDirective(n,t){return this.sendAndReceiveMessage(new Tr(xhn,{schemaEndpoint:n,coordinate:t}))}getDirectives(n){return this.sendAndReceiveMessage(new Tr(Ahn,{schemaEndpoint:n}))}getField(n,t){return this.sendAndReceiveMessage(new Tr(Lhn,{schemaEndpoint:n,coordinate:t}))}getFields(n,t,r){return this.sendAndReceiveMessage(new Tr(Phn,{schemaEndpoint:n,typeName:t,options:r}))}getFieldsAndTypes(n,t,r){return this.sendAndReceiveMessage(new Tr(Nhn,{schemaEndpoint:n,coordinate:t,options:r}))}getRootTypes(n,t){return this.sendAndReceiveMessage(new Tr(Mhn,{schemaEndpoint:n,filter:t}))}getSchemaReference(n,t,r){return this.sendAndReceiveMessage(new Tr(Ohn,{schemaEndpoint:n,typeCategory:t,filter:r}))}getType(n,t){return this.sendAndReceiveMessage(new Tr($hn,{schemaEndpoint:n,typeName:t}))}getTypes(n,t){return this.sendAndReceiveMessage(new Tr(Khn,{schemaEndpoint:n,filter:t}))}onReceiveOperationRequestStatus(n){return this.registerReceiveMessageHandler(Ggn,({payload:t})=>n(t))}onReceiveHistoryEntry(n){return this.registerReceiveMessageHandler(Xgn,({payload:t})=>{n(t)})}onReceiveLogEntry(n){return this.registerReceiveMessageHandler(pCe,({payload:t})=>{n(t)})}onReceiveResult(n){return this.registerReceiveMessageHandler(qgn,({payload:{documentId:t,result:r}})=>{n(t,r)})}onReceiveResultMessage(n){return this.registerReceiveMessageHandler(Wgn,({payload:{documentId:t,resultId:r,event:a}})=>{n(t,r,a)})}onReceiveResultPatch(n){return this.registerReceiveMessageHandler(Qgn,({payload:{documentId:t,resultId:r,patch:a}})=>{n(t,r,a)})}onReceiveVariableBatchingResult(n){return this.registerReceiveMessageHandler(Ygn,({payload:{documentId:t,resultId:r,result:a}})=>{n(t,r,a)})}onVariableJsonSchemaUpdated(n){return this.registerReceiveMessageHandler(yhn,({payload:{documentId:t,variableJsonSchemaHash:r}})=>{n(t,r)})}}const Bhn="index-schema",Uhn="schema-indexed";class Hhn extends J9{indexSchema(n,t,r){this.sendMessage(new Tr(Bhn,{schemaEndpoint:n,schemaHash:t,schemaUpdatedAt:r}))}onSchemaIndexed(n){return this.registerReceiveMessageHandler(Uhn,({payload:t})=>{n(t)})}}function zhn(e){return new Worker(""+new URL("graphql-engine-scheduler.af776b64.Cz4NLysV.js",import.meta.url).href,{type:"module",name:e?.name})}function jhn(e){return new Worker(""+new URL("graphql-indexer-scheduler.af776b64.7j-3X11r.js",import.meta.url).href,{type:"module",name:e?.name})}function Ghn(e){return new Worker(""+new URL("session-scheduler.af776b64.8wyrtWVA.js",import.meta.url).href,{type:"module",name:e?.name})}const qhn="create-user-account";function Whn(){return new Tr(qhn,{})}const Qhn="create-workspace-task";function Yhn(e,n){return new Tr(Qhn,{userSession:e,workspaceName:n})}const Xhn="delete-api-task";function Jhn(e){return new Tr(Xhn,{apiId:e})}const Zhn="fetch-organization-info";function eyn(){return new Tr(Zhn,void 0)}const nyn="fetch-settings";function tyn(){return new Tr(nyn,void 0)}const ryn="fetch-workspaces-task-type";function ayn(e){return new Tr(ryn,{userSession:e})}const iyn="persist-theme-settings";function oyn(e){return new Tr(iyn,e)}const lyn="refresh-token";function syn(e){return new Tr(lyn,{tenantInfo:e})}const cyn="update-feature-flags";function uyn(e){return new Tr(cyn,{featureFlags:e})}const dyn="fetch-user-account";function pyn(){return new Tr(dyn,void 0)}const fyn="synchronize-workspace",myn="synchronize-workspace-progress";function gyn(e,n){return new Tr(fyn,{workspaceId:e,version:n})}const hyn="update-preferences";function yyn(e){return new Tr(hyn,{preferences:e})}class vyn extends J9{fetchOrganizationInfo(n){return this.sendAndReceiveMessage(eyn(),!1,n)}fetchUserAccount(n){return this.sendAndReceiveMessage(pyn(),!1,n)}createUserAccount(n){return this.sendAndReceiveMessage(Whn(),!1,n)}refreshToken(n,t){return this.sendAndReceiveMessage(syn(n),!1,t)}fetchSettings(n){return this.sendAndReceiveMessage(tyn(),!1,n)}persistThemeSettings(n){this.sendMessage(oyn(n))}fetchWorkspaces(n,t){return this.sendAndReceiveMessage(ayn(n),!1,t)}createWorkspace(n,t,r){return this.sendAndReceiveMessage(Yhn(n,t),!1,r)}synchronizeWorkspace(n,t,r){return this.sendAndReceiveMessage(gyn(n,t),!1,r)}updateFeatureFlags(n,t){return this.sendAndReceiveMessage(uyn(n),!1,t)}updatePreferences(n,t){return this.sendAndReceiveMessage(yyn(n),!1,t)}deleteApi(n,t){return this.sendAndReceiveMessage(Jhn(n),!1,t)}onReceiveLogEntry(n){return this.registerReceiveMessageHandler(pCe,({payload:t})=>n(t))}onReceiveUserSessionExpired(n){return this.registerReceiveMessageHandler(Jgn,()=>n())}onReceiveWorkspaceSynchronizationProgress(n){return this.registerReceiveMessageHandler(myn,({payload:t})=>n(t))}}const It=new Vhn(()=>new zhn({name:"graphql-engine"})),hCe=new Hhn(()=>new jhn({name:"graphql-indexer"})),go=new vyn(()=>new Ghn({name:"session"}));var Gi=(e=>(e.LOAD="load",e.LOAD_DEPENDENCY="load-dependency",e.UNLOAD="unload",e.UPDATE="update",e.SAVE="save",e))(Gi||{});const fre="all";class ny{#e=new Uen({lru:!1});#n=new Map;#t;#r=new Map;constructor(){this.#t=[Rr(sC,({workspaceId:n})=>{this.#e.forEach(t=>{t.workspaceId!==n&&this.unloadItem(t.id)})}),Rr(um,({deletedItems:n})=>{n.forEach(({id:t})=>this.unloadItem(t))}),Rr(YT,({itemId:n,itemKind:t})=>this.reload(n,t)),Rr(j8,({movedItems:n})=>n.forEach(({id:t,kind:r})=>this.reload(t,r))),go.onReceiveWorkspaceSynchronizationProgress(({changes:n})=>n.forEach(async t=>{switch(t.kind){case"delete":this.unloadItem(t.id);break;case"update":await this.reload(t.id,t.itemKind);break}}))]}async createApi(n,t,r,a){const i=await bsn(n,t,r,null,null,a);return this.#e.set(n,i,{permanent:!0}),this.triggerListeners(n,"load",i),i}async createNewApi(n,t,r){const a=await Ssn(n,t,r);return this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"load",a),a}async createApiDocument(n,t,r,a,i){const o=await Csn(n,t,r,a,null,null,i);return await this.setDocument(n,o,"load"),o}async createBasicDocument(n,t,r,a,i){const o=await Fsn(n,t,r,null,null,a,i);return await this.setDocument(n,o,"load"),o}async createNewDocument(n,t,r,a){const i=await Isn(n,t,r,a);return await this.setDocument(n,i,"load"),i}async createEnvironment(n,t,r){const a=await wve(n,t,null,null,r);return this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"load",a),a}async createNewEnvironment(n,t,r){const a=await xsn(n,t,r);return this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"load",a),a}async duplicateApi(n,t,r){const a=await Usn(n,t,r);return a&&(this.#e.set(t,a,{permanent:!0}),this.triggerListeners(t,"load",a)),a}async duplicateDocument(n,t,r){const a=await Hsn(n,t,r);return a&&await this.setDocument(t,a,"load"),a}async duplicateEnvironment(n,t,r){const a=await zsn(n,t,r);return a&&(this.#e.set(t,a,{permanent:!0}),this.triggerListeners(t,"load",a)),a}get(n){return this.#e.get(n)}async getApi(n){const t=this.#e.get(n);return ri(t)?(this.#e.isPermanent(n)||(this.#e.set(n,t,{permanent:!0}),this.triggerListeners(n,"load",t)),t):await this.reloadApi(n,!0)}async getNewApi(n){const t=this.#e.get(n);if(qy(t))return this.#e.isPermanent(n)||(this.#e.set(n,t,{permanent:!0}),this.triggerListeners(n,"load",t)),t;const[r,a]=this.loadItem(n,()=>this.getNewApi(n));if(r)return await a;const i=await a;return i&&(this.#e.set(n,i,{permanent:!0}),this.triggerListeners(n,"load",i)),i}async getDocument(n){const t=this.#e.get(n);return Io(t)?t:await this.reloadDocument(n)}async getEnvironment(n){const t=this.#e.get(n);return Gf(t)?t:await this.reloadEnvironment(n)}async saveApi(n,t){const r=this.#e.get(n);if(ri(r))try{const a=await ucn(n,t);return this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"save",a),a}catch{return}}async saveNewApi(n,t,r,a,i){const o=this.#e.get(n);if(qy(o))try{const l=await fcn(n,t,r,a,i);return this.#e.set(n,l,{permanent:!0}),this.triggerListeners(n,"save",l),l}catch{return}}async saveDocument(n){const t=this.#e.get(n);if(Io(t))try{const r=await dcn(n);return await this.setDocument(n,r,"save"),r}catch{return}}async saveNewDocument(n,t,r,a){const i=this.#e.get(n);if(Io(i))try{const o=await gcn(n,t,r,a);return await this.setDocument(n,o,"save"),o}catch{return}}async saveEnvironment(n){const t=this.#e.get(n);if(Gf(t))try{const r=await pcn(n);return this.#e.set(n,r,{permanent:!0}),this.triggerListeners(n,"save",r),r}catch{return}}async saveNewEnvironment(n,t,r){const a=this.#e.get(n);if(qg(a))try{const i=await vcn(n,t,r);return this.#e.set(n,i,{permanent:!0}),this.triggerListeners(n,"save",i),i}catch{return}}subscribe(n,t){let r=this.#r.get(n);return r||(r=new Set,this.#r.set(n,r)),r.has(t)||r.add(t),()=>{r.delete(t),r.size===0&&this.#r.delete(n)}}subscribeAll(n){return this.subscribe(fre,n)}unloadItem(n){const t=this.#e.get(n);if(t){const r=this.#e.isPermanent(n);return this.#e.delete(n),r&&this.triggerListeners(n,"unload",t),!0}return!1}updateDocumentContentBody(n,t){return this.updateDocumentContent(n,r=>kcn(r,t))}updateDocumentContentVariables(n,t){return this.updateDocumentContent(n,r=>Scn(r,t))}[Symbol.dispose](){this.#e[Symbol.dispose](),this.#t.forEach(n=>n())}loadItem(n,t){if(this.#n.has(n))return[!0,this.#n.get(n)];const r=t().then(a=>(this.#n.delete(n),a));return this.#n.set(n,r),[!1,r]}async reload(n,t){switch(t){case"api":await this.reloadApi(n,!1);break;case"api-document":case"document":await this.reloadDocument(n);break;case"environment":await this.reloadEnvironment(n);break}}async reloadApi(n,t){const[r,a]=this.loadItem(n,()=>AJ(n));if(r)return await a;const i=await a;if(i){const o=t||this.#e.isPermanent(n);this.#e.set(n,i,{permanent:o}),o?this.triggerListeners(n,"load",i):this.triggerListeners(n,"load-dependency",i)}return i}async reloadDocument(n){const[t,r]=this.loadItem(n,()=>Gsn(n));if(t)return await r;const a=await r;return a&&await this.setDocument(n,a,"load"),a}async reloadEnvironment(n){const[t,r]=this.loadItem(n,()=>Ave(n));if(t)return await r;const a=await r;return a&&(this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"load",a)),a}async setDocument(n,t,r){if(Pc(t)){if(this.#e.set(n,t,{permanent:!0,references:[t.apiId]}),this.#e.has(t.apiId)){this.triggerListeners(n,r,t);return}const[a,i]=this.loadItem(t.apiId,()=>AJ(t.apiId));if(a){await i,this.triggerListeners(n,r,t);return}const o=await i;o&&(this.#e.set(o.id,o,{permanent:!1}),this.triggerListeners(o.id,"load-dependency",o)),this.triggerListeners(n,r,t)}else this.#e.set(n,t,{permanent:!0}),this.triggerListeners(n,r,t)}async updateDocumentContent(n,t){const r=this.#e.get(n);if(!Io(r))return;const a=await t(n);return a&&(this.#e.update(n,a),this.triggerListeners(n,"update",a)),a}triggerListeners(n,t,r){requestAnimationFrame(()=>{const a=this.#r.get(fre);a&&a.forEach(o=>o(t,r));const i=this.#r.get(n);i&&i.forEach(o=>o(t,r))})}}function Wt(){return ph(ny.name)}function Ni(e,n,t=G8){const r=m.useRef(),a=m.useCallback(e,n),i=m.useCallback((...o)=>(window.clearTimeout(r.current),r.current=window.setTimeout(()=>{a(...o)},t),()=>{window.clearTimeout(r.current)}),[a,t]);return m.useEffect(()=>()=>{window.clearTimeout(r.current)},[]),i}function yCe(e,n){return m.useMemo(()=>{let t=null,r=null;const a=new Set;function i(l){a.forEach(s=>s(l)),r=l}function o(){i(null),t=null}return{subscribe:l=>(a.add(l),()=>a.delete(l)),onDragStart:(l,s)=>{s.stopPropagation(),l&&(t=l,s.dataTransfer.effectAllowed="copy")},onDragEnter:(l,s)=>{s.preventDefault(),s.stopPropagation(),i(e(t??s.dataTransfer.types,l))},onDragLeave:(l,s)=>{s.preventDefault(),s.stopPropagation()},onDragOver:(l,s)=>{r!==null&&(s.preventDefault(),s.stopPropagation())},onDragEnd:(l,s)=>{s.preventDefault(),s.stopPropagation(),o()},onDrop:(l,s)=>{s.preventDefault(),s.stopPropagation(),r!==null&&(n(t??s.dataTransfer.files,r),o())}}},[e,n])}function RC(e,n){const[t,r]=m.useState(!1),a=m.useMemo(()=>({onDragStart:i=>n?.onDragStart(e,i),onDragEnter:i=>n?.onDragEnter(e,i),onDragLeave:i=>n?.onDragLeave(e,i),onDragOver:i=>n?.onDragOver(e,i),onDragEnd:i=>n?.onDragEnd(e,i),onDrop:i=>n?.onDrop(e,i)}),[n,e]);return m.useEffect(()=>{if(n)return n.subscribe(i=>{r(i===e)})},[e,n]),{droppable:t,dragEventHandlers:a}}function byn(e){const n=m.useRef(e);return m.useEffect(()=>{n.current=e}),n}function LC(e,n,t){const r=byn(n);m.useLayoutEffect(()=>{if(e.current){const a=new ResizeObserver((i,o)=>{r.current(i,o)});return a.observe(e.current,t),()=>{a.disconnect()}}},[e.current])}function wm(e,n){vCe(()=>Td.get(e),n)}function vCe(e,n){LC(n,([t])=>{const r=e();if(r){const a=t.target.parentElement?.getBoundingClientRect();a&&(g4e(r)?(r.getLayoutInfo().width!==a.width||r.getLayoutInfo().height!==a.height)&&r.layout({width:a.width,height:a.height}):r.layout({width:a.width,height:a.height}))}})}function Ka(){const[,e]=m.useReducer(n=>!n,!1);return e}function Pi({title:e,content:n}){return q(kyn,{children:[d(Syn,{children:e}),d("div",{children:n})]})}const kyn=Y("div")`
470
+ `,phn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Type",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"fields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}],loc:{start:0,end:137,source:{name:"GraphQL request",locationOffset:{line:1,column:1},body:dhn}}};qr(ahn);qr(ohn);qr(shn);qr(uhn);qr(phn);const fhn="Server Not Reachable";function gCe(e){return Ro(e)&&"message"in e&&e.message===fhn}class J9 extends zgn{constructor(n){super(),this.createWorker=n}#e;#n;#t=!0;#r;#a=0;getContext(){if(!this.#e){const n=this.createWorker(),t={sendMessage:r=>n.postMessage(r)};n.onmessage=({data:r})=>{this.handleMessage(t,r)},this.#n=n,this.#e=t,this.#r=this.registerReceiveMessageHandler("scheduler-status-updated",({payload:{idling:r,lastUpdated:a}})=>{this.#t=r,this.#a=a}),this.checkIfIdle(),this.initializeWorker()}return this.#e}checkIfIdle(){const n=()=>{if(this.#n&&this.#t&&document.hidden&&Li()-this.#a>Mfe){this.stopWorker();return}this.checkIfIdle()};window.setTimeout(n,z8)}initializeWorker(){this.sendMessage(new Tr(thn,{appNamespace:window.appNamespace}))}stopWorker(){this.#n?.terminate(),this.#r?.(),this.#r=void 0,this.#n=void 0,this.#e=void 0}cancelTask(n){this.sendMessage(new Tr(fCe,{taskId:n}))}}const mhn="analyze-document",ghn="analyze-document-operations",hhn="files-updated",yhn="variable-json-schema-updated";var QK,ire;function vhn(){if(ire)return QK;ire=1,QK=e;function e(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}return e.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*n);n=(Math.floor(t*10)&1)==0?n-r:n+r}return Math.min(n,this.max)|0},e.prototype.reset=function(){this.attempts=0},e.prototype.setMin=function(n){this.ms=n},e.prototype.setMax=function(n){this.max=n},e.prototype.setJitter=function(n){this.jitter=n},QK}vhn();var YK={exports:{}},ore;function bhn(){return ore||(ore=1,function(e){var n=Object.prototype.hasOwnProperty,t="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(t=!1));function a(s,c,u){this.fn=s,this.context=c,this.once=u||!1}function i(s,c,u,p,f){if(typeof u!="function")throw new TypeError("The listener must be a function");var g=new a(u,p||s,f),h=t?t+c:c;return s._events[h]?s._events[h].fn?s._events[h]=[s._events[h],g]:s._events[h].push(g):(s._events[h]=g,s._eventsCount++),s}function o(s,c){--s._eventsCount===0?s._events=new r:delete s._events[c]}function l(){this._events=new r,this._eventsCount=0}l.prototype.eventNames=function(){var c=[],u,p;if(this._eventsCount===0)return c;for(p in u=this._events)n.call(u,p)&&c.push(t?p.slice(1):p);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},l.prototype.listeners=function(c){var u=t?t+c:c,p=this._events[u];if(!p)return[];if(p.fn)return[p.fn];for(var f=0,g=p.length,h=new Array(g);f<g;f++)h[f]=p[f].fn;return h},l.prototype.listenerCount=function(c){var u=t?t+c:c,p=this._events[u];return p?p.fn?1:p.length:0},l.prototype.emit=function(c,u,p,f,g,h){var y=t?t+c:c;if(!this._events[y])return!1;var v=this._events[y],b=arguments.length,k,C;if(v.fn){switch(v.once&&this.removeListener(c,v.fn,void 0,!0),b){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,u),!0;case 3:return v.fn.call(v.context,u,p),!0;case 4:return v.fn.call(v.context,u,p,f),!0;case 5:return v.fn.call(v.context,u,p,f,g),!0;case 6:return v.fn.call(v.context,u,p,f,g,h),!0}for(C=1,k=new Array(b-1);C<b;C++)k[C-1]=arguments[C];v.fn.apply(v.context,k)}else{var w=v.length,S;for(C=0;C<w;C++)switch(v[C].once&&this.removeListener(c,v[C].fn,void 0,!0),b){case 1:v[C].fn.call(v[C].context);break;case 2:v[C].fn.call(v[C].context,u);break;case 3:v[C].fn.call(v[C].context,u,p);break;case 4:v[C].fn.call(v[C].context,u,p,f);break;default:if(!k)for(S=1,k=new Array(b-1);S<b;S++)k[S-1]=arguments[S];v[C].fn.apply(v[C].context,k)}}return!0},l.prototype.on=function(c,u,p){return i(this,c,u,p,!1)},l.prototype.once=function(c,u,p){return i(this,c,u,p,!0)},l.prototype.removeListener=function(c,u,p,f){var g=t?t+c:c;if(!this._events[g])return this;if(!u)return o(this,g),this;var h=this._events[g];if(h.fn)h.fn===u&&(!f||h.once)&&(!p||h.context===p)&&o(this,g);else{for(var y=0,v=[],b=h.length;y<b;y++)(h[y].fn!==u||f&&!h[y].once||p&&h[y].context!==p)&&v.push(h[y]);v.length?this._events[g]=v.length===1?v[0]:v:o(this,g)}return this},l.prototype.removeAllListeners=function(c){var u;return c?(u=t?t+c:c,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=t,l.EventEmitter=l,e.exports=l}(YK)),YK.exports}bhn();var Hh={},lre;function khn(){if(lre)return Hh;lre=1,Object.defineProperty(Hh,"__esModule",{value:!0}),Hh.WS_TIMEOUT=Hh.MIN_WS_TIMEOUT=void 0;var e=1e3;Hh.MIN_WS_TIMEOUT=e;var n=3e4;return Hh.WS_TIMEOUT=n,Hh}khn();var jD={},sre;function Shn(){if(sre)return jD;sre=1,Object.defineProperty(jD,"__esModule",{value:!0});var e=function(){function n(){throw new Error("Static Class")}return n.GQL_CONNECTION_INIT="connection_init",n.GQL_CONNECTION_ACK="connection_ack",n.GQL_CONNECTION_ERROR="connection_error",n.GQL_CONNECTION_KEEP_ALIVE="ka",n.GQL_CONNECTION_TERMINATE="connection_terminate",n.GQL_START="start",n.GQL_DATA="data",n.GQL_ERROR="error",n.GQL_COMPLETE="complete",n.GQL_STOP="stop",n.SUBSCRIPTION_START="subscription_start",n.SUBSCRIPTION_DATA="subscription_data",n.SUBSCRIPTION_SUCCESS="subscription_success",n.SUBSCRIPTION_FAIL="subscription_fail",n.SUBSCRIPTION_END="subscription_end",n.INIT="init",n.INIT_SUCCESS="init_success",n.INIT_FAIL="init_fail",n.KEEP_ALIVE="keepalive",n}();return jD.default=e,jD}Shn();var zh={},cre;function Chn(){if(cre)return zh;cre=1,Object.defineProperty(zh,"__esModule",{value:!0}),zh.GRAPHQL_SUBSCRIPTIONS=zh.GRAPHQL_WS=void 0;var e="graphql-ws";zh.GRAPHQL_WS=e;var n="graphql-subscriptions";return zh.GRAPHQL_SUBSCRIPTIONS=n,zh}Chn();var GD={},ure;function whn(){if(ure)return GD;ure=1,Object.defineProperty(GD,"__esModule",{value:!0});function e(n){return n!==null&&typeof n=="object"}return GD.default=e,GD}whn();var qD={},dre;function Fhn(){if(dre)return qD;dre=1,Object.defineProperty(qD,"__esModule",{value:!0});function e(n){return typeof n=="string"}return qD.default=e,qD}Fhn();function Thn(e){var n,t=e.Symbol;return typeof t=="function"?t.observable?n=t.observable:(n=t("observable"),t.observable=n):n="@@observable",n}var pk;typeof self<"u"?pk=self:typeof window<"u"?pk=window:typeof ug<"u"?pk=ug:typeof module<"u"?pk=module:pk=Function("return this")();Thn(pk);const pre=typeof ug<"u"?ug:typeof window<"u"?window:{};pre.WebSocket||pre.MozWebSocket;const Ehn="execute-operation",Tk={endpoint:"",exists:!1,hash:"",indexed:!1,hasMutationType:!1,hasSubscriptionType:!1,hasUploadType:!1,supportsSemanticIntrospection:!1},Ihn="cancel-request",Dhn="fetch-api-schema",xhn="fetch-directive",Ahn="fetch-directives",_hn="get-cached-schema",Rhn="fetch-schema",Lhn="fetch-field",Phn="fetch-fields",Nhn="fetch-fields-and-types",Ohn="fetch-schema-reference",Mhn="fetch-schema-root-types",$hn="fetch-type",Khn="fetch-types";class Vhn extends J9{analyzeDocument(n,t){return this.sendAndReceiveMessage(new Tr(mhn,{documentId:n}),!1,t)}analyzeDocumentOperations(n,t){return this.sendAndReceiveMessage(new Tr(ghn,{documentId:n}),!1,t)}cancelRequest(n){this.sendMessage(new Tr(Ihn,{documentId:n}))}executeOperation(n,t,r,a){this.sendMessage(new Tr(Ehn,{documentId:n,workspaceId:t,environmentId:r,operationIndex:a}))}filesUpdated(n){this.sendMessage(new Tr(hhn,{documentId:n}))}fetchSchema(n,t,r){return this.sendAndReceiveMessage(new Tr(Rhn,{documentId:n,environmentId:t}),!1,r)}fetchApiSchema(n,t,r){return this.sendAndReceiveMessage(new Tr(Dhn,{apiId:n,stageId:t}),!1,r)}getCachedSchema(n,t){return this.sendAndReceiveMessage(new Tr(_hn,{documentId:n,environmentId:t}))}getDirective(n,t){return this.sendAndReceiveMessage(new Tr(xhn,{schemaEndpoint:n,coordinate:t}))}getDirectives(n){return this.sendAndReceiveMessage(new Tr(Ahn,{schemaEndpoint:n}))}getField(n,t){return this.sendAndReceiveMessage(new Tr(Lhn,{schemaEndpoint:n,coordinate:t}))}getFields(n,t,r){return this.sendAndReceiveMessage(new Tr(Phn,{schemaEndpoint:n,typeName:t,options:r}))}getFieldsAndTypes(n,t,r){return this.sendAndReceiveMessage(new Tr(Nhn,{schemaEndpoint:n,coordinate:t,options:r}))}getRootTypes(n,t){return this.sendAndReceiveMessage(new Tr(Mhn,{schemaEndpoint:n,filter:t}))}getSchemaReference(n,t,r){return this.sendAndReceiveMessage(new Tr(Ohn,{schemaEndpoint:n,typeCategory:t,filter:r}))}getType(n,t){return this.sendAndReceiveMessage(new Tr($hn,{schemaEndpoint:n,typeName:t}))}getTypes(n,t){return this.sendAndReceiveMessage(new Tr(Khn,{schemaEndpoint:n,filter:t}))}onReceiveOperationRequestStatus(n){return this.registerReceiveMessageHandler(Ggn,({payload:t})=>n(t))}onReceiveHistoryEntry(n){return this.registerReceiveMessageHandler(Xgn,({payload:t})=>{n(t)})}onReceiveLogEntry(n){return this.registerReceiveMessageHandler(pCe,({payload:t})=>{n(t)})}onReceiveResult(n){return this.registerReceiveMessageHandler(qgn,({payload:{documentId:t,result:r}})=>{n(t,r)})}onReceiveResultMessage(n){return this.registerReceiveMessageHandler(Wgn,({payload:{documentId:t,resultId:r,event:a}})=>{n(t,r,a)})}onReceiveResultPatch(n){return this.registerReceiveMessageHandler(Qgn,({payload:{documentId:t,resultId:r,patch:a}})=>{n(t,r,a)})}onReceiveVariableBatchingResult(n){return this.registerReceiveMessageHandler(Ygn,({payload:{documentId:t,resultId:r,result:a}})=>{n(t,r,a)})}onVariableJsonSchemaUpdated(n){return this.registerReceiveMessageHandler(yhn,({payload:{documentId:t,variableJsonSchemaHash:r}})=>{n(t,r)})}}const Bhn="index-schema",Uhn="schema-indexed";class Hhn extends J9{indexSchema(n,t,r){this.sendMessage(new Tr(Bhn,{schemaEndpoint:n,schemaHash:t,schemaUpdatedAt:r}))}onSchemaIndexed(n){return this.registerReceiveMessageHandler(Uhn,({payload:t})=>{n(t)})}}function zhn(e){return new Worker(""+new URL("graphql-engine-scheduler.95a3312f.C2SQBeRb.js",import.meta.url).href,{type:"module",name:e?.name})}function jhn(e){return new Worker(""+new URL("graphql-indexer-scheduler.95a3312f.BxXT9Koj.js",import.meta.url).href,{type:"module",name:e?.name})}function Ghn(e){return new Worker(""+new URL("session-scheduler.95a3312f.BPOzmj2V.js",import.meta.url).href,{type:"module",name:e?.name})}const qhn="create-user-account";function Whn(){return new Tr(qhn,{})}const Qhn="create-workspace-task";function Yhn(e,n){return new Tr(Qhn,{userSession:e,workspaceName:n})}const Xhn="delete-api-task";function Jhn(e){return new Tr(Xhn,{apiId:e})}const Zhn="fetch-organization-info";function eyn(){return new Tr(Zhn,void 0)}const nyn="fetch-settings";function tyn(){return new Tr(nyn,void 0)}const ryn="fetch-workspaces-task-type";function ayn(e){return new Tr(ryn,{userSession:e})}const iyn="persist-theme-settings";function oyn(e){return new Tr(iyn,e)}const lyn="refresh-token";function syn(e){return new Tr(lyn,{tenantInfo:e})}const cyn="update-feature-flags";function uyn(e){return new Tr(cyn,{featureFlags:e})}const dyn="fetch-user-account";function pyn(){return new Tr(dyn,void 0)}const fyn="synchronize-workspace",myn="synchronize-workspace-progress";function gyn(e,n){return new Tr(fyn,{workspaceId:e,version:n})}const hyn="update-preferences";function yyn(e){return new Tr(hyn,{preferences:e})}class vyn extends J9{fetchOrganizationInfo(n){return this.sendAndReceiveMessage(eyn(),!1,n)}fetchUserAccount(n){return this.sendAndReceiveMessage(pyn(),!1,n)}createUserAccount(n){return this.sendAndReceiveMessage(Whn(),!1,n)}refreshToken(n,t){return this.sendAndReceiveMessage(syn(n),!1,t)}fetchSettings(n){return this.sendAndReceiveMessage(tyn(),!1,n)}persistThemeSettings(n){this.sendMessage(oyn(n))}fetchWorkspaces(n,t){return this.sendAndReceiveMessage(ayn(n),!1,t)}createWorkspace(n,t,r){return this.sendAndReceiveMessage(Yhn(n,t),!1,r)}synchronizeWorkspace(n,t,r){return this.sendAndReceiveMessage(gyn(n,t),!1,r)}updateFeatureFlags(n,t){return this.sendAndReceiveMessage(uyn(n),!1,t)}updatePreferences(n,t){return this.sendAndReceiveMessage(yyn(n),!1,t)}deleteApi(n,t){return this.sendAndReceiveMessage(Jhn(n),!1,t)}onReceiveLogEntry(n){return this.registerReceiveMessageHandler(pCe,({payload:t})=>n(t))}onReceiveUserSessionExpired(n){return this.registerReceiveMessageHandler(Jgn,()=>n())}onReceiveWorkspaceSynchronizationProgress(n){return this.registerReceiveMessageHandler(myn,({payload:t})=>n(t))}}const It=new Vhn(()=>new zhn({name:"graphql-engine"})),hCe=new Hhn(()=>new jhn({name:"graphql-indexer"})),go=new vyn(()=>new Ghn({name:"session"}));var Gi=(e=>(e.LOAD="load",e.LOAD_DEPENDENCY="load-dependency",e.UNLOAD="unload",e.UPDATE="update",e.SAVE="save",e))(Gi||{});const fre="all";class ny{#e=new Uen({lru:!1});#n=new Map;#t;#r=new Map;constructor(){this.#t=[Rr(sC,({workspaceId:n})=>{this.#e.forEach(t=>{t.workspaceId!==n&&this.unloadItem(t.id)})}),Rr(um,({deletedItems:n})=>{n.forEach(({id:t})=>this.unloadItem(t))}),Rr(YT,({itemId:n,itemKind:t})=>this.reload(n,t)),Rr(j8,({movedItems:n})=>n.forEach(({id:t,kind:r})=>this.reload(t,r))),go.onReceiveWorkspaceSynchronizationProgress(({changes:n})=>n.forEach(async t=>{switch(t.kind){case"delete":this.unloadItem(t.id);break;case"update":await this.reload(t.id,t.itemKind);break}}))]}async createApi(n,t,r,a){const i=await bsn(n,t,r,null,null,a);return this.#e.set(n,i,{permanent:!0}),this.triggerListeners(n,"load",i),i}async createNewApi(n,t,r){const a=await Ssn(n,t,r);return this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"load",a),a}async createApiDocument(n,t,r,a,i){const o=await Csn(n,t,r,a,null,null,i);return await this.setDocument(n,o,"load"),o}async createBasicDocument(n,t,r,a,i){const o=await Fsn(n,t,r,null,null,a,i);return await this.setDocument(n,o,"load"),o}async createNewDocument(n,t,r,a){const i=await Isn(n,t,r,a);return await this.setDocument(n,i,"load"),i}async createEnvironment(n,t,r){const a=await wve(n,t,null,null,r);return this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"load",a),a}async createNewEnvironment(n,t,r){const a=await xsn(n,t,r);return this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"load",a),a}async duplicateApi(n,t,r){const a=await Usn(n,t,r);return a&&(this.#e.set(t,a,{permanent:!0}),this.triggerListeners(t,"load",a)),a}async duplicateDocument(n,t,r){const a=await Hsn(n,t,r);return a&&await this.setDocument(t,a,"load"),a}async duplicateEnvironment(n,t,r){const a=await zsn(n,t,r);return a&&(this.#e.set(t,a,{permanent:!0}),this.triggerListeners(t,"load",a)),a}get(n){return this.#e.get(n)}async getApi(n){const t=this.#e.get(n);return ri(t)?(this.#e.isPermanent(n)||(this.#e.set(n,t,{permanent:!0}),this.triggerListeners(n,"load",t)),t):await this.reloadApi(n,!0)}async getNewApi(n){const t=this.#e.get(n);if(qy(t))return this.#e.isPermanent(n)||(this.#e.set(n,t,{permanent:!0}),this.triggerListeners(n,"load",t)),t;const[r,a]=this.loadItem(n,()=>this.getNewApi(n));if(r)return await a;const i=await a;return i&&(this.#e.set(n,i,{permanent:!0}),this.triggerListeners(n,"load",i)),i}async getDocument(n){const t=this.#e.get(n);return Io(t)?t:await this.reloadDocument(n)}async getEnvironment(n){const t=this.#e.get(n);return Gf(t)?t:await this.reloadEnvironment(n)}async saveApi(n,t){const r=this.#e.get(n);if(ri(r))try{const a=await ucn(n,t);return this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"save",a),a}catch{return}}async saveNewApi(n,t,r,a,i){const o=this.#e.get(n);if(qy(o))try{const l=await fcn(n,t,r,a,i);return this.#e.set(n,l,{permanent:!0}),this.triggerListeners(n,"save",l),l}catch{return}}async saveDocument(n){const t=this.#e.get(n);if(Io(t))try{const r=await dcn(n);return await this.setDocument(n,r,"save"),r}catch{return}}async saveNewDocument(n,t,r,a){const i=this.#e.get(n);if(Io(i))try{const o=await gcn(n,t,r,a);return await this.setDocument(n,o,"save"),o}catch{return}}async saveEnvironment(n){const t=this.#e.get(n);if(Gf(t))try{const r=await pcn(n);return this.#e.set(n,r,{permanent:!0}),this.triggerListeners(n,"save",r),r}catch{return}}async saveNewEnvironment(n,t,r){const a=this.#e.get(n);if(qg(a))try{const i=await vcn(n,t,r);return this.#e.set(n,i,{permanent:!0}),this.triggerListeners(n,"save",i),i}catch{return}}subscribe(n,t){let r=this.#r.get(n);return r||(r=new Set,this.#r.set(n,r)),r.has(t)||r.add(t),()=>{r.delete(t),r.size===0&&this.#r.delete(n)}}subscribeAll(n){return this.subscribe(fre,n)}unloadItem(n){const t=this.#e.get(n);if(t){const r=this.#e.isPermanent(n);return this.#e.delete(n),r&&this.triggerListeners(n,"unload",t),!0}return!1}updateDocumentContentBody(n,t){return this.updateDocumentContent(n,r=>kcn(r,t))}updateDocumentContentVariables(n,t){return this.updateDocumentContent(n,r=>Scn(r,t))}[Symbol.dispose](){this.#e[Symbol.dispose](),this.#t.forEach(n=>n())}loadItem(n,t){if(this.#n.has(n))return[!0,this.#n.get(n)];const r=t().then(a=>(this.#n.delete(n),a));return this.#n.set(n,r),[!1,r]}async reload(n,t){switch(t){case"api":await this.reloadApi(n,!1);break;case"api-document":case"document":await this.reloadDocument(n);break;case"environment":await this.reloadEnvironment(n);break}}async reloadApi(n,t){const[r,a]=this.loadItem(n,()=>AJ(n));if(r)return await a;const i=await a;if(i){const o=t||this.#e.isPermanent(n);this.#e.set(n,i,{permanent:o}),o?this.triggerListeners(n,"load",i):this.triggerListeners(n,"load-dependency",i)}return i}async reloadDocument(n){const[t,r]=this.loadItem(n,()=>Gsn(n));if(t)return await r;const a=await r;return a&&await this.setDocument(n,a,"load"),a}async reloadEnvironment(n){const[t,r]=this.loadItem(n,()=>Ave(n));if(t)return await r;const a=await r;return a&&(this.#e.set(n,a,{permanent:!0}),this.triggerListeners(n,"load",a)),a}async setDocument(n,t,r){if(Pc(t)){if(this.#e.set(n,t,{permanent:!0,references:[t.apiId]}),this.#e.has(t.apiId)){this.triggerListeners(n,r,t);return}const[a,i]=this.loadItem(t.apiId,()=>AJ(t.apiId));if(a){await i,this.triggerListeners(n,r,t);return}const o=await i;o&&(this.#e.set(o.id,o,{permanent:!1}),this.triggerListeners(o.id,"load-dependency",o)),this.triggerListeners(n,r,t)}else this.#e.set(n,t,{permanent:!0}),this.triggerListeners(n,r,t)}async updateDocumentContent(n,t){const r=this.#e.get(n);if(!Io(r))return;const a=await t(n);return a&&(this.#e.update(n,a),this.triggerListeners(n,"update",a)),a}triggerListeners(n,t,r){requestAnimationFrame(()=>{const a=this.#r.get(fre);a&&a.forEach(o=>o(t,r));const i=this.#r.get(n);i&&i.forEach(o=>o(t,r))})}}function Wt(){return ph(ny.name)}function Ni(e,n,t=G8){const r=m.useRef(),a=m.useCallback(e,n),i=m.useCallback((...o)=>(window.clearTimeout(r.current),r.current=window.setTimeout(()=>{a(...o)},t),()=>{window.clearTimeout(r.current)}),[a,t]);return m.useEffect(()=>()=>{window.clearTimeout(r.current)},[]),i}function yCe(e,n){return m.useMemo(()=>{let t=null,r=null;const a=new Set;function i(l){a.forEach(s=>s(l)),r=l}function o(){i(null),t=null}return{subscribe:l=>(a.add(l),()=>a.delete(l)),onDragStart:(l,s)=>{s.stopPropagation(),l&&(t=l,s.dataTransfer.effectAllowed="copy")},onDragEnter:(l,s)=>{s.preventDefault(),s.stopPropagation(),i(e(t??s.dataTransfer.types,l))},onDragLeave:(l,s)=>{s.preventDefault(),s.stopPropagation()},onDragOver:(l,s)=>{r!==null&&(s.preventDefault(),s.stopPropagation())},onDragEnd:(l,s)=>{s.preventDefault(),s.stopPropagation(),o()},onDrop:(l,s)=>{s.preventDefault(),s.stopPropagation(),r!==null&&(n(t??s.dataTransfer.files,r),o())}}},[e,n])}function RC(e,n){const[t,r]=m.useState(!1),a=m.useMemo(()=>({onDragStart:i=>n?.onDragStart(e,i),onDragEnter:i=>n?.onDragEnter(e,i),onDragLeave:i=>n?.onDragLeave(e,i),onDragOver:i=>n?.onDragOver(e,i),onDragEnd:i=>n?.onDragEnd(e,i),onDrop:i=>n?.onDrop(e,i)}),[n,e]);return m.useEffect(()=>{if(n)return n.subscribe(i=>{r(i===e)})},[e,n]),{droppable:t,dragEventHandlers:a}}function byn(e){const n=m.useRef(e);return m.useEffect(()=>{n.current=e}),n}function LC(e,n,t){const r=byn(n);m.useLayoutEffect(()=>{if(e.current){const a=new ResizeObserver((i,o)=>{r.current(i,o)});return a.observe(e.current,t),()=>{a.disconnect()}}},[e.current])}function wm(e,n){vCe(()=>Td.get(e),n)}function vCe(e,n){LC(n,([t])=>{const r=e();if(r){const a=t.target.parentElement?.getBoundingClientRect();a&&(g4e(r)?(r.getLayoutInfo().width!==a.width||r.getLayoutInfo().height!==a.height)&&r.layout({width:a.width,height:a.height}):r.layout({width:a.width,height:a.height}))}})}function Ka(){const[,e]=m.useReducer(n=>!n,!1);return e}function Pi({title:e,content:n}){return q(kyn,{children:[d(Syn,{children:e}),d("div",{children:n})]})}const kyn=Y("div")`
471
471
  line-height: 1.25em;
472
472
  `,Syn=Y("h1")(({theme:e})=>pe`
473
473
  font-size: 1.125rem;
@@ -708,7 +708,7 @@ ${p}}`}return`
708
708
  `),Ewe=Y("span")`
709
709
  flex-wrap: nowrap;
710
710
  color: ${J.base.text};
711
- `,Iwe=Y(R4)(({theme:e})=>({width:30,height:18,padding:0,display:"flex","&:active":{"& .MuiSwitch-switchBase:not(.Mui-disabled) .MuiSwitch-thumb":{width:15},"& .MuiSwitch-switchBase.Mui-checked:not(.Mui-disabled)":{transform:"translateX(9px)"}},"& .Mui-disabled":{opacity:"0.5 !important",color:`${J.components.toggleThumb} !important`,"&.Mui-checked":{color:`${J.components.toggleThumbActive} !important`},"& + .MuiSwitch-track":{opacity:"0.5 !important"}},"& .MuiSwitch-switchBase":{padding:2,color:J.components.toggleThumb,transition:"color 0.2s ease","& + .MuiSwitch-track":{borderColor:J.components.toggleTrackBorder,backgroundColor:J.components.toggleTrack,transition:"background-color 0.2s ease, border-color 0.2s ease"},"&.Mui-checked":{transform:"translateX(12px)",color:J.components.toggleThumbActive,"& + .MuiSwitch-track":{opacity:1,borderColor:J.components.toggleTrackActiveBorder,backgroundColor:J.components.toggleTrackActive}}},"& .MuiSwitch-switchBase:hover":{color:J.components.toggleThumbHover,"& + .MuiSwitch-track":{borderColor:J.components.toggleTrackHoverBorder,backgroundColor:J.components.toggleTrackHover},"&.Mui-checked":{color:J.components.toggleThumbActiveHover,"& + .MuiSwitch-track":{borderColor:J.components.toggleTrackActiveHoverBorder,backgroundColor:J.components.toggleTrackActiveHover}}},"& .MuiSwitch-thumb":{boxShadow:"0 2px 4px 0 rgb(0 35 11 / 20%)",margin:1,width:12,height:12,borderRadius:6,transition:e.transitions.create(["width"],{duration:200})},"& .MuiSwitch-track":{borderRadius:18/2,opacity:1,boxSizing:"border-box",borderStyle:"solid",borderWidth:1}})),Lr=m.forwardRef(function({children:n,tooltip:t,tooltipPlacement:r,...a},i){return d(it,{title:a.disabled?"":t,placement:r,children:d(Yn,{ref:i,...a,children:n})})}),Pkn={grantType:Ti,activeFlowKind:Ti,authorizationUrl:"",accessTokenUrl:"",credentialsInBody:!1,clientId:"",clientSecret:"",redirectUrl:"",scope:"",state:"",audience:"",resource:"",responseType:u4,usePkce:!0,pkceMethod:xF,origin:"",username:"",password:"",prefix:""},Nkn=m.memo(function({options:n=Pkn,onChange:t}){const{error:r,cancel:a,fetchToken:i,loading:o}=ckn();return q(be,{children:[d(Mkn,{options:n,onChange:t}),d(Ys,{flows:[Ti,ys],id:"authorizationUrl",type:"text",placeholder:"https://authorization-server.com/oauth2/authorize",options:n,onChange:t,label:"Authorization URL"}),d(Ys,{flows:[Ol],id:"username",type:"text",placeholder:"",options:n,onChange:t,label:"Username"}),d(Ys,{flows:[Ol],id:"password",type:"password",placeholder:"",options:n,onChange:t,label:"Password"}),d(Ys,{flows:[Ti,hs,Ol],id:"accessTokenUrl",type:"text",placeholder:"https://authorization-server.com/oauth2/token",options:n,onChange:t,label:"Access Token URL"}),d(Ys,{flows:[Ti,hs,ys,Ol],id:"clientId",type:"text",options:n,onChange:t,label:"Client ID"}),d(Ys,{flows:[Ti,hs,Ol],id:"clientSecret",type:"password",options:n,onChange:t,label:"Client Secret"}),d($kn,{flows:[Ti],options:n,onChange:t}),d(Kkn,{flows:[Ti],options:n,onChange:t}),d(Ys,{flows:[Ti,ys],id:"redirectUrl",type:"text",options:n,onChange:t,label:"Redirect URL"}),d(Gkn,{redirectUrl:n.redirectUrl}),d(jkn,{flows:[ys],options:n,onChange:t}),d(Ys,{flows:[Ti,ys,hs,Ol],id:"scope",type:"text",options:n,onChange:t,label:"Scope"}),d(Ys,{flows:[Ti,ys],id:"state",type:"text",options:n,onChange:t,label:"State"}),d(Vkn,{flows:[Ti,hs,Ol],options:n,onChange:t}),d(Ys,{flows:[Ti,ys,hs,Ol],id:"prefix",type:"text",options:n,onChange:t,label:"Header Prefix"}),d(Ys,{flows:[Ti,ys,hs,Ol],id:"audience",type:"text",options:n,onChange:t,label:"Audience"}),d(Ys,{flows:[Ti,hs],id:"resource",type:"text",options:n,onChange:t,label:"Resource"}),d(Ys,{flows:[Ti],id:"origin",type:"text",options:n,onChange:t,label:"Origin"}),d(Bkn,{options:n,onChange:t}),q(pr,{children:[d(Ukn,{options:n,onChange:t}),d(zkn,{options:n,onChange:t,cancel:a,fetchToken:i,loading:o}),d(Okn,{options:n,onChange:t,cancel:a,fetchToken:i,loading:o}),d(Hkn,{options:n,onChange:t})]}),r&&d(Ql,{severity:"warning",title:"Error",children:r.message??"Ops, something went wrong!"})]})}),Okn=({cancel:e,fetchToken:n,loading:t,options:r,onChange:a})=>d(NP,{description:"Fetch token",onClick:t?c=>{c.preventDefault(),c.stopPropagation(),e()}:async c=>{c.preventDefault(),c.stopPropagation();const u=await n(r);u&&a({oAuth2Options:{...r,token:u}})},children:t?q(be,{children:[d(qo,{colorSelector:c=>c.components.button.contained.secondary.foreground}),"Cancel"]}):d(be,{children:"Fetch"})}),Mkn=({onChange:e,options:n})=>q(pr,{children:[d(fr,{htmlFor:"grant-type",children:"Grant Type"}),q(ef,{id:"grant-type",onChange:r=>{let a=Ti,i=Ti;switch(r.target.value??""){case ys:a=ys,i=ys;break;case hs:a=hs,i=hs;break;case Ol:a=Ol,i=Ol;break}e({oAuth2Options:{...n,grantType:i,activeFlowKind:a}})},value:n.activeFlowKind,children:[d("option",{value:Ti,children:"Authorization Code"}),d("option",{value:ys,children:"Implicit"}),d("option",{value:hs,children:"Client Credentials"}),d("option",{value:Ol,children:"Resource Owner Password Credentials"})]})]}),Ys=({flows:e,label:n,id:t,onChange:r,options:a,...i})=>{const o=QE(a.activeFlowKind,e),l=s=>{r({oAuth2Options:{...a,[t]:s.target.value??""}})};return o?q(pr,{children:[d(fr,{htmlFor:String(t),children:n}),d(Nf,{id:String(t),value:a[t],onChange:l,...i})]}):null},$kn=({onChange:e,options:n,flows:t})=>{const r=QE(n.activeFlowKind,t),a=i=>{e({oAuth2Options:{...n,usePkce:i}})};return r?d(pr,{children:q(fr,{children:[d(_S,{children:"Use PKCE"}),d(Ju,{checked:n.usePkce,offText:"No",onText:"Yes",onChange:a})]})}):null},Kkn=({onChange:e,options:n,flows:t})=>{const r=QE(n.activeFlowKind,t),a=i=>{const o=i.target.value===OM?OM:xF;e({oAuth2Options:{...n,pkceMethod:o}})};return r&&n.usePkce?q(pr,{children:[d(fr,{htmlFor:"pkce-method-code-challenge",children:"Code Challenge Method"}),q(ef,{id:"pkce-method-code-challenge",value:n.pkceMethod,onChange:a,children:[d("option",{value:xF,children:"SHA-256"}),d("option",{value:OM,children:"Plain"})]})]}):null},Vkn=({onChange:e,options:n,flows:t})=>QE(n.activeFlowKind,t)?q(pr,{children:[d(fr,{htmlFor:"pkce-method-credentials",children:"Credentials"}),q(ef,{id:"pkce-method-credentials",onChange:i=>{const o=i.target.value==="body";e({oAuth2Options:{...n,credentialsInBody:o}})},value:n.credentialsInBody?"body":"header",children:[d("option",{value:"header",children:"As Basic Auth Header (default)"}),d("option",{value:"body",children:"In Request Body"})]})]}):null,Bkn=({options:e})=>e.token?q(be,{children:[q(pr,{children:[d(fr,{htmlFor:"id_token",children:"Id Token"}),d(uu,{id:"id_token",disabled:!0,value:e.token.identityToken??""})]}),q(pr,{children:[d(fr,{htmlFor:"access_token",children:"Access Token"}),d(uu,{id:"access_token",disabled:!0,value:e.token.accessToken??""})]}),q(pr,{children:[d(fr,{htmlFor:"refresh_token",children:"Refresh Token"}),d(uu,{id:"refresh_token",disabled:!0,value:e.token.refreshToken??""})]})]}):null;function Ukn({options:e,onChange:n}){return e.token?d(NP,{description:"Clear tokens",onClick:()=>{n({oAuth2Options:{...e,token:void 0}})},children:"Clear"}):null}function Hkn({options:e,onChange:n}){if(!Hp||e.activeFlowKind!==Ti&&e.activeFlowKind!==ys)return null;const t=r=>{r.preventDefault(),r.stopPropagation(),n({oAuth2Options:{...e,sessionId:Ec()}})};return d(NP,{description:"Reset session on identity server",tooltip:`The browser persist your authentication session on ${e.authorizationUrl??"your identity server."}, so that you do not have to sign in every time. If you want to log in with a different user, you should reset your session by pressing the button on the right.`,onClick:t,children:"Reset"})}const zkn=({cancel:e,fetchToken:n,loading:t,options:r,onChange:a})=>{const i=c=>{c.preventDefault(),c.stopPropagation(),e()},o=async c=>{c.preventDefault(),c.stopPropagation();const u=await n({...r,grantType:N8});u&&a({oAuth2Options:{...r,token:u}})};return r?.token?.refreshToken?d(NP,{description:"Refresh token",onClick:t?i:o,children:t?q(be,{children:[d(qo,{colorSelector:c=>c.components.button.contained.secondary.foreground}),"Cancel"]}):d(be,{children:"Refresh"})}):null},jkn=({flows:e,onChange:n,options:t})=>QE(t.activeFlowKind,e)?q(pr,{children:[d(fr,{htmlFor:"response-type",children:"Response Type"}),q(ef,{id:"response-type",onChange:i=>{let o=u4;switch(i.target.value??""){case Ax:o=Ax;break;case xx:o=xx;break}n({oAuth2Options:{...t,responseType:o}})},value:t.responseType,children:[d("option",{value:u4,children:"Access Token"}),d("option",{value:Ax,children:"ID Token"}),d("option",{value:xx,children:"ID and Access Token"})]})]}):null;function QE(e,n){return m.useMemo(()=>!!n.find(t=>t===e),[n,e])}function NP({children:e,description:n,tooltip:t,...r}){return q(fr,{children:[q(_S,{children:[n,t&&d(it,{title:t,placement:"top-start",children:d("span",{children:d(lr,{})})})]}),t?d(Lr,{tooltip:t,...r,children:e}):d(Yn,{...r,children:e})]})}function Gkn({redirectUrl:e}){if(!e||Hp)return null;const n=Xln(e);return n&&xP(n)?d(Ql,{severity:"error",children:q("p",{children:["The provided URL ",d("code",{children:e})," cannot be used as it is internally utilized by Nitro for authentication. Please ensure you select a different URL to avoid conflicts with the internal authentication mechanism."]})}):e.startsWith(window.location.href)?null:d(Ql,{severity:"warning",children:q("p",{children:["The current redirect URL is set to ",d("code",{children:e}),". Once the authentication process is complete, your browser will be directed to this URL. However, please note that Nitro cannot access this domain, as it is hosted on ",d("code",{children:window.location.href}),". If you face any problems while fetching the token, make sure to use a redirect URL that begins with ",d("code",{children:window.location.href}),"."]})})}const qkn=({authentication:e,onChange:n})=>{switch(e.activeAuthenticationKind){case L4e:return d(Rkn,{options:e.basicOptions,onChange:n});case R4e:return d(Lkn,{options:e.bearerOptions,onChange:n});case d4:return d(Nkn,{options:e.oAuth2Options,onChange:n});default:return null}},Wkn={activeAuthenticationKind:P4e},Qkn=m.memo(function({authentication:n=Wkn,onChange:t}){const[r,a]=m.useState(n),i=l=>{let s={...r,...l};const c=p4(s);s={...s,headerValue:c},a(s),t(s)},o=l=>{i({activeAuthenticationKind:l.target.value})};return m.useEffect(()=>{a(n)},[n]),q(be,{children:[q(pr,{children:[d(fr,{htmlFor:"auth-flow",children:"Type"}),d(ef,{id:"auth-flow",value:r.activeAuthenticationKind,onChange:o,children:N4e.map(({kind:l,text:s})=>d("option",{value:l,children:s},l))})]}),d(qkn,{authentication:r,onChange:i})]})}),pa=m.forwardRef((e,n)=>d(un,{ref:n,icon:"error",fill:J.states.failure,...e}));pa.displayName="FailureIcon";const Yi=m.forwardRef((e,n)=>d(un,{ref:n,icon:"warning",fill:J.states.warning,...e}));Yi.displayName="WarningIcon";function Ykn(e){if(e===void 0)return e;try{return JSON.parse(e)}catch{return e}}function lDt(e){switch(e){case Qfe:return"AUTO";case $4e:return"SSE";case M4e:case O4e:return"WS";default:throw new Error("Unknown subscription protocol")}}const YE={id:"-",apiUrl:"-",sub:"-",featureFlags:[],preferences:{},theme:_x};function Xkn({children:e}){const n=Jkn();return n?d(oSn,{settings$:n,children:d(sSn,{settings$:n,children:d(cSn,{settings$:n,children:d(uSn,{settings$:n,children:d(OP.Provider,{value:n,children:e})})})})}):null}function Jkn(){const e=twe(),n=m.useRef(void 0),t=Ka();return m.useEffect(()=>{function r(s){n.current?(n.current.next(s),Er({kind:f4,themeSettings:s.theme})):(n.current=Xo(s),Er({kind:f4,themeSettings:s.theme}),t())}let a;async function i(s){let c=YE;a&&(a.abort(),a=void 0),s&&(a=new AbortController,c=await Zkn(s,a.signal),a=void 0),r(c)}let o=e.value(),l=e.subscribe(s=>{o!==s&&(o=s,i(s))});return i(o),()=>{l(),a?.abort()}},[e,t]),n.current}async function Zkn(e,n){const{apiUrl:t,sub:r}=e;let a,i;try{if(a=await yE(r,t),i=await eSn(a?.id,r,t,n),i)return await vE(i),i}catch{}return i??a??YE}async function eSn(e,n,t,r){const a=await go.fetchSettings(r);if(a.kind==="error")return;let{preferences:i,settings:{featureFlags:o,theme:{usePreferredOsAppearance:l,darkThemeName:s,lightThemeName:c,themeName:u}}}=a;return s??=_x.darkThemeName,c??=_x.lightThemeName,u??=_x.themeName,{id:e??Ec(),apiUrl:t,sub:n,featureFlags:o,preferences:i,theme:{usePreferredOsAppearance:l,darkThemeName:s,lightThemeName:c,themeName:u}}}function Dwe(){const e=zE(),n=mh();return m.useCallback(async t=>{const r=await n(null,ai.error,"Feature Flags Not Pushed",t.length===1?t[0]:t);let a;function i(){e(r,void 0,!1),a()}const{dismiss:o}=F_("Feature Flags Not Pushed",q(be,{children:[d(Qv,{children:"We were not able to store the latest Feature Flag update on the server. Click on Details to find out more."}),d(BE,{children:d(Yn,{color:"primary",onClick:i,children:"Details"})})]}));a=o},[e,n])}function nSn(){const e=zE(),n=mh();return m.useCallback(async t=>{const r=await n(null,ai.error,"Preference Not Pushed",t.length===1?t[0]:t);let a;function i(){e(r,void 0,!1),a()}const{dismiss:o}=F_("Preference Not Pushed",q(be,{children:[d(Qv,{children:"We were not able to store the latest Preference update on the server. Click on Details to find out more."}),d(BE,{children:d(Yn,{color:"primary",onClick:i,children:"Details"})})]}));a=o},[e,n])}const OP=We(null,"Settings");function xwe(e){return e.preferences??{}}function tSn(){return $n(OP,xwe)}function Lu(){return mo(m.useContext(OP),xwe,{})}function rSn(e){return e.theme}function aSn(){return $n(OP,rSn)}const iSn=We(Vn,"AddFeatureFlag");function oSn({children:e,settings$:n}){const t=Mc(),r=Dwe(),a=m.useCallback(async i=>{if(!t)return;const{apiUrl:o,sub:l}=t,s=await yE(l,o);if(s?.featureFlags?.includes(i))return;const c=s?.featureFlags?[...s.featureFlags,i]:[i],u=s?{...s,featureFlags:c}:{...YE,id:Ec(),featureFlags:c};n.next(u);const[p]=await Promise.all([go.updateFeatureFlags(c),vE(u)]);p.success||r(p.errorMessages)},[t,n,r]);return d(iSn.Provider,{value:a,children:e})}const lSn=We(Vn,"RemoveFeatureFlag");function sSn({children:e,settings$:n}){const t=Mc(),r=Dwe(),a=m.useCallback(async i=>{if(!t)return;const{apiUrl:o,sub:l}=t,s=await yE(l,o);if(!s?.featureFlags?.includes(i))return;const c=s.featureFlags.filter(f=>f!==i),u={...s,featureFlags:c};n.next(u);const[p]=await Promise.all([go.updateFeatureFlags(c),vE(u)]);p.success||r(p.errorMessages)},[t,n,r]);return d(lSn.Provider,{value:a,children:e})}const Awe=We(Vn,"SetPreference");function cSn({children:e,settings$:n}){const t=Mc(),r=nSn(),a=m.useCallback(async(i,o)=>{if(!t)return;const{apiUrl:l,sub:s}=t,c=await yE(s,l);if(c?.preferences?.[i]===o)return;const u=c?.preferences?{...c.preferences,[i]:o}:{[i]:o},p=c?{...c,preferences:u}:{...YE,id:Ec(),preferences:u};n.next(p);const[f]=await Promise.all([go.updatePreferences(u),vE(p)]);f.success||r(f.errorMessages)},[t,n,r]);return d(Awe.Provider,{value:a,children:e})}function _we(){return m.useContext(Awe)}const Rwe=We(Vn,"UpdateThemeSettings");function uSn({children:e,settings$:n}){const t=Mc(),r=m.useCallback(async a=>{if(!t)return;const{apiUrl:i,sub:o}=t,l=await yE(o,i),s=l?{...l,theme:a}:{...YE,id:Ec(),theme:a};n.next(s),go.persistThemeSettings(a),Er({kind:f4,themeSettings:s.theme}),await vE(s)},[t,n]);return d(Rwe.Provider,{value:r,children:e})}function dSn(){return m.useContext(Rwe)}const pSn=""+new URL("FiraCode-Medium.af776b64.-YTCSZkP.woff2",import.meta.url).href,Lwe=20,XE=36;function Et(e){return d(fSn,{...e,role:"section"})}const fSn=Y("div")(({theme:e,$background:n,$fixedSize:t,$flex:r="auto",$flexDirection:a,$separator:i,$spacing:o})=>pe`
711
+ `,Iwe=Y(R4)(({theme:e})=>({width:30,height:18,padding:0,display:"flex","&:active":{"& .MuiSwitch-switchBase:not(.Mui-disabled) .MuiSwitch-thumb":{width:15},"& .MuiSwitch-switchBase.Mui-checked:not(.Mui-disabled)":{transform:"translateX(9px)"}},"& .Mui-disabled":{opacity:"0.5 !important",color:`${J.components.toggleThumb} !important`,"&.Mui-checked":{color:`${J.components.toggleThumbActive} !important`},"& + .MuiSwitch-track":{opacity:"0.5 !important"}},"& .MuiSwitch-switchBase":{padding:2,color:J.components.toggleThumb,transition:"color 0.2s ease","& + .MuiSwitch-track":{borderColor:J.components.toggleTrackBorder,backgroundColor:J.components.toggleTrack,transition:"background-color 0.2s ease, border-color 0.2s ease"},"&.Mui-checked":{transform:"translateX(12px)",color:J.components.toggleThumbActive,"& + .MuiSwitch-track":{opacity:1,borderColor:J.components.toggleTrackActiveBorder,backgroundColor:J.components.toggleTrackActive}}},"& .MuiSwitch-switchBase:hover":{color:J.components.toggleThumbHover,"& + .MuiSwitch-track":{borderColor:J.components.toggleTrackHoverBorder,backgroundColor:J.components.toggleTrackHover},"&.Mui-checked":{color:J.components.toggleThumbActiveHover,"& + .MuiSwitch-track":{borderColor:J.components.toggleTrackActiveHoverBorder,backgroundColor:J.components.toggleTrackActiveHover}}},"& .MuiSwitch-thumb":{boxShadow:"0 2px 4px 0 rgb(0 35 11 / 20%)",margin:1,width:12,height:12,borderRadius:6,transition:e.transitions.create(["width"],{duration:200})},"& .MuiSwitch-track":{borderRadius:18/2,opacity:1,boxSizing:"border-box",borderStyle:"solid",borderWidth:1}})),Lr=m.forwardRef(function({children:n,tooltip:t,tooltipPlacement:r,...a},i){return d(it,{title:a.disabled?"":t,placement:r,children:d(Yn,{ref:i,...a,children:n})})}),Pkn={grantType:Ti,activeFlowKind:Ti,authorizationUrl:"",accessTokenUrl:"",credentialsInBody:!1,clientId:"",clientSecret:"",redirectUrl:"",scope:"",state:"",audience:"",resource:"",responseType:u4,usePkce:!0,pkceMethod:xF,origin:"",username:"",password:"",prefix:""},Nkn=m.memo(function({options:n=Pkn,onChange:t}){const{error:r,cancel:a,fetchToken:i,loading:o}=ckn();return q(be,{children:[d(Mkn,{options:n,onChange:t}),d(Ys,{flows:[Ti,ys],id:"authorizationUrl",type:"text",placeholder:"https://authorization-server.com/oauth2/authorize",options:n,onChange:t,label:"Authorization URL"}),d(Ys,{flows:[Ol],id:"username",type:"text",placeholder:"",options:n,onChange:t,label:"Username"}),d(Ys,{flows:[Ol],id:"password",type:"password",placeholder:"",options:n,onChange:t,label:"Password"}),d(Ys,{flows:[Ti,hs,Ol],id:"accessTokenUrl",type:"text",placeholder:"https://authorization-server.com/oauth2/token",options:n,onChange:t,label:"Access Token URL"}),d(Ys,{flows:[Ti,hs,ys,Ol],id:"clientId",type:"text",options:n,onChange:t,label:"Client ID"}),d(Ys,{flows:[Ti,hs,Ol],id:"clientSecret",type:"password",options:n,onChange:t,label:"Client Secret"}),d($kn,{flows:[Ti],options:n,onChange:t}),d(Kkn,{flows:[Ti],options:n,onChange:t}),d(Ys,{flows:[Ti,ys],id:"redirectUrl",type:"text",options:n,onChange:t,label:"Redirect URL"}),d(Gkn,{redirectUrl:n.redirectUrl}),d(jkn,{flows:[ys],options:n,onChange:t}),d(Ys,{flows:[Ti,ys,hs,Ol],id:"scope",type:"text",options:n,onChange:t,label:"Scope"}),d(Ys,{flows:[Ti,ys],id:"state",type:"text",options:n,onChange:t,label:"State"}),d(Vkn,{flows:[Ti,hs,Ol],options:n,onChange:t}),d(Ys,{flows:[Ti,ys,hs,Ol],id:"prefix",type:"text",options:n,onChange:t,label:"Header Prefix"}),d(Ys,{flows:[Ti,ys,hs,Ol],id:"audience",type:"text",options:n,onChange:t,label:"Audience"}),d(Ys,{flows:[Ti,hs],id:"resource",type:"text",options:n,onChange:t,label:"Resource"}),d(Ys,{flows:[Ti],id:"origin",type:"text",options:n,onChange:t,label:"Origin"}),d(Bkn,{options:n,onChange:t}),q(pr,{children:[d(Ukn,{options:n,onChange:t}),d(zkn,{options:n,onChange:t,cancel:a,fetchToken:i,loading:o}),d(Okn,{options:n,onChange:t,cancel:a,fetchToken:i,loading:o}),d(Hkn,{options:n,onChange:t})]}),r&&d(Ql,{severity:"warning",title:"Error",children:r.message??"Ops, something went wrong!"})]})}),Okn=({cancel:e,fetchToken:n,loading:t,options:r,onChange:a})=>d(NP,{description:"Fetch token",onClick:t?c=>{c.preventDefault(),c.stopPropagation(),e()}:async c=>{c.preventDefault(),c.stopPropagation();const u=await n(r);u&&a({oAuth2Options:{...r,token:u}})},children:t?q(be,{children:[d(qo,{colorSelector:c=>c.components.button.contained.secondary.foreground}),"Cancel"]}):d(be,{children:"Fetch"})}),Mkn=({onChange:e,options:n})=>q(pr,{children:[d(fr,{htmlFor:"grant-type",children:"Grant Type"}),q(ef,{id:"grant-type",onChange:r=>{let a=Ti,i=Ti;switch(r.target.value??""){case ys:a=ys,i=ys;break;case hs:a=hs,i=hs;break;case Ol:a=Ol,i=Ol;break}e({oAuth2Options:{...n,grantType:i,activeFlowKind:a}})},value:n.activeFlowKind,children:[d("option",{value:Ti,children:"Authorization Code"}),d("option",{value:ys,children:"Implicit"}),d("option",{value:hs,children:"Client Credentials"}),d("option",{value:Ol,children:"Resource Owner Password Credentials"})]})]}),Ys=({flows:e,label:n,id:t,onChange:r,options:a,...i})=>{const o=QE(a.activeFlowKind,e),l=s=>{r({oAuth2Options:{...a,[t]:s.target.value??""}})};return o?q(pr,{children:[d(fr,{htmlFor:String(t),children:n}),d(Nf,{id:String(t),value:a[t],onChange:l,...i})]}):null},$kn=({onChange:e,options:n,flows:t})=>{const r=QE(n.activeFlowKind,t),a=i=>{e({oAuth2Options:{...n,usePkce:i}})};return r?d(pr,{children:q(fr,{children:[d(_S,{children:"Use PKCE"}),d(Ju,{checked:n.usePkce,offText:"No",onText:"Yes",onChange:a})]})}):null},Kkn=({onChange:e,options:n,flows:t})=>{const r=QE(n.activeFlowKind,t),a=i=>{const o=i.target.value===OM?OM:xF;e({oAuth2Options:{...n,pkceMethod:o}})};return r&&n.usePkce?q(pr,{children:[d(fr,{htmlFor:"pkce-method-code-challenge",children:"Code Challenge Method"}),q(ef,{id:"pkce-method-code-challenge",value:n.pkceMethod,onChange:a,children:[d("option",{value:xF,children:"SHA-256"}),d("option",{value:OM,children:"Plain"})]})]}):null},Vkn=({onChange:e,options:n,flows:t})=>QE(n.activeFlowKind,t)?q(pr,{children:[d(fr,{htmlFor:"pkce-method-credentials",children:"Credentials"}),q(ef,{id:"pkce-method-credentials",onChange:i=>{const o=i.target.value==="body";e({oAuth2Options:{...n,credentialsInBody:o}})},value:n.credentialsInBody?"body":"header",children:[d("option",{value:"header",children:"As Basic Auth Header (default)"}),d("option",{value:"body",children:"In Request Body"})]})]}):null,Bkn=({options:e})=>e.token?q(be,{children:[q(pr,{children:[d(fr,{htmlFor:"id_token",children:"Id Token"}),d(uu,{id:"id_token",disabled:!0,value:e.token.identityToken??""})]}),q(pr,{children:[d(fr,{htmlFor:"access_token",children:"Access Token"}),d(uu,{id:"access_token",disabled:!0,value:e.token.accessToken??""})]}),q(pr,{children:[d(fr,{htmlFor:"refresh_token",children:"Refresh Token"}),d(uu,{id:"refresh_token",disabled:!0,value:e.token.refreshToken??""})]})]}):null;function Ukn({options:e,onChange:n}){return e.token?d(NP,{description:"Clear tokens",onClick:()=>{n({oAuth2Options:{...e,token:void 0}})},children:"Clear"}):null}function Hkn({options:e,onChange:n}){if(!Hp||e.activeFlowKind!==Ti&&e.activeFlowKind!==ys)return null;const t=r=>{r.preventDefault(),r.stopPropagation(),n({oAuth2Options:{...e,sessionId:Ec()}})};return d(NP,{description:"Reset session on identity server",tooltip:`The browser persist your authentication session on ${e.authorizationUrl??"your identity server."}, so that you do not have to sign in every time. If you want to log in with a different user, you should reset your session by pressing the button on the right.`,onClick:t,children:"Reset"})}const zkn=({cancel:e,fetchToken:n,loading:t,options:r,onChange:a})=>{const i=c=>{c.preventDefault(),c.stopPropagation(),e()},o=async c=>{c.preventDefault(),c.stopPropagation();const u=await n({...r,grantType:N8});u&&a({oAuth2Options:{...r,token:u}})};return r?.token?.refreshToken?d(NP,{description:"Refresh token",onClick:t?i:o,children:t?q(be,{children:[d(qo,{colorSelector:c=>c.components.button.contained.secondary.foreground}),"Cancel"]}):d(be,{children:"Refresh"})}):null},jkn=({flows:e,onChange:n,options:t})=>QE(t.activeFlowKind,e)?q(pr,{children:[d(fr,{htmlFor:"response-type",children:"Response Type"}),q(ef,{id:"response-type",onChange:i=>{let o=u4;switch(i.target.value??""){case Ax:o=Ax;break;case xx:o=xx;break}n({oAuth2Options:{...t,responseType:o}})},value:t.responseType,children:[d("option",{value:u4,children:"Access Token"}),d("option",{value:Ax,children:"ID Token"}),d("option",{value:xx,children:"ID and Access Token"})]})]}):null;function QE(e,n){return m.useMemo(()=>!!n.find(t=>t===e),[n,e])}function NP({children:e,description:n,tooltip:t,...r}){return q(fr,{children:[q(_S,{children:[n,t&&d(it,{title:t,placement:"top-start",children:d("span",{children:d(lr,{})})})]}),t?d(Lr,{tooltip:t,...r,children:e}):d(Yn,{...r,children:e})]})}function Gkn({redirectUrl:e}){if(!e||Hp)return null;const n=Xln(e);return n&&xP(n)?d(Ql,{severity:"error",children:q("p",{children:["The provided URL ",d("code",{children:e})," cannot be used as it is internally utilized by Nitro for authentication. Please ensure you select a different URL to avoid conflicts with the internal authentication mechanism."]})}):e.startsWith(window.location.href)?null:d(Ql,{severity:"warning",children:q("p",{children:["The current redirect URL is set to ",d("code",{children:e}),". Once the authentication process is complete, your browser will be directed to this URL. However, please note that Nitro cannot access this domain, as it is hosted on ",d("code",{children:window.location.href}),". If you face any problems while fetching the token, make sure to use a redirect URL that begins with ",d("code",{children:window.location.href}),"."]})})}const qkn=({authentication:e,onChange:n})=>{switch(e.activeAuthenticationKind){case L4e:return d(Rkn,{options:e.basicOptions,onChange:n});case R4e:return d(Lkn,{options:e.bearerOptions,onChange:n});case d4:return d(Nkn,{options:e.oAuth2Options,onChange:n});default:return null}},Wkn={activeAuthenticationKind:P4e},Qkn=m.memo(function({authentication:n=Wkn,onChange:t}){const[r,a]=m.useState(n),i=l=>{let s={...r,...l};const c=p4(s);s={...s,headerValue:c},a(s),t(s)},o=l=>{i({activeAuthenticationKind:l.target.value})};return m.useEffect(()=>{a(n)},[n]),q(be,{children:[q(pr,{children:[d(fr,{htmlFor:"auth-flow",children:"Type"}),d(ef,{id:"auth-flow",value:r.activeAuthenticationKind,onChange:o,children:N4e.map(({kind:l,text:s})=>d("option",{value:l,children:s},l))})]}),d(qkn,{authentication:r,onChange:i})]})}),pa=m.forwardRef((e,n)=>d(un,{ref:n,icon:"error",fill:J.states.failure,...e}));pa.displayName="FailureIcon";const Yi=m.forwardRef((e,n)=>d(un,{ref:n,icon:"warning",fill:J.states.warning,...e}));Yi.displayName="WarningIcon";function Ykn(e){if(e===void 0)return e;try{return JSON.parse(e)}catch{return e}}function lDt(e){switch(e){case Qfe:return"AUTO";case $4e:return"SSE";case M4e:case O4e:return"WS";default:throw new Error("Unknown subscription protocol")}}const YE={id:"-",apiUrl:"-",sub:"-",featureFlags:[],preferences:{},theme:_x};function Xkn({children:e}){const n=Jkn();return n?d(oSn,{settings$:n,children:d(sSn,{settings$:n,children:d(cSn,{settings$:n,children:d(uSn,{settings$:n,children:d(OP.Provider,{value:n,children:e})})})})}):null}function Jkn(){const e=twe(),n=m.useRef(void 0),t=Ka();return m.useEffect(()=>{function r(s){n.current?(n.current.next(s),Er({kind:f4,themeSettings:s.theme})):(n.current=Xo(s),Er({kind:f4,themeSettings:s.theme}),t())}let a;async function i(s){let c=YE;a&&(a.abort(),a=void 0),s&&(a=new AbortController,c=await Zkn(s,a.signal),a=void 0),r(c)}let o=e.value(),l=e.subscribe(s=>{o!==s&&(o=s,i(s))});return i(o),()=>{l(),a?.abort()}},[e,t]),n.current}async function Zkn(e,n){const{apiUrl:t,sub:r}=e;let a,i;try{if(a=await yE(r,t),i=await eSn(a?.id,r,t,n),i)return await vE(i),i}catch{}return i??a??YE}async function eSn(e,n,t,r){const a=await go.fetchSettings(r);if(a.kind==="error")return;let{preferences:i,settings:{featureFlags:o,theme:{usePreferredOsAppearance:l,darkThemeName:s,lightThemeName:c,themeName:u}}}=a;return s??=_x.darkThemeName,c??=_x.lightThemeName,u??=_x.themeName,{id:e??Ec(),apiUrl:t,sub:n,featureFlags:o,preferences:i,theme:{usePreferredOsAppearance:l,darkThemeName:s,lightThemeName:c,themeName:u}}}function Dwe(){const e=zE(),n=mh();return m.useCallback(async t=>{const r=await n(null,ai.error,"Feature Flags Not Pushed",t.length===1?t[0]:t);let a;function i(){e(r,void 0,!1),a()}const{dismiss:o}=F_("Feature Flags Not Pushed",q(be,{children:[d(Qv,{children:"We were not able to store the latest Feature Flag update on the server. Click on Details to find out more."}),d(BE,{children:d(Yn,{color:"primary",onClick:i,children:"Details"})})]}));a=o},[e,n])}function nSn(){const e=zE(),n=mh();return m.useCallback(async t=>{const r=await n(null,ai.error,"Preference Not Pushed",t.length===1?t[0]:t);let a;function i(){e(r,void 0,!1),a()}const{dismiss:o}=F_("Preference Not Pushed",q(be,{children:[d(Qv,{children:"We were not able to store the latest Preference update on the server. Click on Details to find out more."}),d(BE,{children:d(Yn,{color:"primary",onClick:i,children:"Details"})})]}));a=o},[e,n])}const OP=We(null,"Settings");function xwe(e){return e.preferences??{}}function tSn(){return $n(OP,xwe)}function Lu(){return mo(m.useContext(OP),xwe,{})}function rSn(e){return e.theme}function aSn(){return $n(OP,rSn)}const iSn=We(Vn,"AddFeatureFlag");function oSn({children:e,settings$:n}){const t=Mc(),r=Dwe(),a=m.useCallback(async i=>{if(!t)return;const{apiUrl:o,sub:l}=t,s=await yE(l,o);if(s?.featureFlags?.includes(i))return;const c=s?.featureFlags?[...s.featureFlags,i]:[i],u=s?{...s,featureFlags:c}:{...YE,id:Ec(),featureFlags:c};n.next(u);const[p]=await Promise.all([go.updateFeatureFlags(c),vE(u)]);p.success||r(p.errorMessages)},[t,n,r]);return d(iSn.Provider,{value:a,children:e})}const lSn=We(Vn,"RemoveFeatureFlag");function sSn({children:e,settings$:n}){const t=Mc(),r=Dwe(),a=m.useCallback(async i=>{if(!t)return;const{apiUrl:o,sub:l}=t,s=await yE(l,o);if(!s?.featureFlags?.includes(i))return;const c=s.featureFlags.filter(f=>f!==i),u={...s,featureFlags:c};n.next(u);const[p]=await Promise.all([go.updateFeatureFlags(c),vE(u)]);p.success||r(p.errorMessages)},[t,n,r]);return d(lSn.Provider,{value:a,children:e})}const Awe=We(Vn,"SetPreference");function cSn({children:e,settings$:n}){const t=Mc(),r=nSn(),a=m.useCallback(async(i,o)=>{if(!t)return;const{apiUrl:l,sub:s}=t,c=await yE(s,l);if(c?.preferences?.[i]===o)return;const u=c?.preferences?{...c.preferences,[i]:o}:{[i]:o},p=c?{...c,preferences:u}:{...YE,id:Ec(),preferences:u};n.next(p);const[f]=await Promise.all([go.updatePreferences(u),vE(p)]);f.success||r(f.errorMessages)},[t,n,r]);return d(Awe.Provider,{value:a,children:e})}function _we(){return m.useContext(Awe)}const Rwe=We(Vn,"UpdateThemeSettings");function uSn({children:e,settings$:n}){const t=Mc(),r=m.useCallback(async a=>{if(!t)return;const{apiUrl:i,sub:o}=t,l=await yE(o,i),s=l?{...l,theme:a}:{...YE,id:Ec(),theme:a};n.next(s),go.persistThemeSettings(a),Er({kind:f4,themeSettings:s.theme}),await vE(s)},[t,n]);return d(Rwe.Provider,{value:r,children:e})}function dSn(){return m.useContext(Rwe)}const pSn=""+new URL("FiraCode-Medium.95a3312f.-YTCSZkP.woff2",import.meta.url).href,Lwe=20,XE=36;function Et(e){return d(fSn,{...e,role:"section"})}const fSn=Y("div")(({theme:e,$background:n,$fixedSize:t,$flex:r="auto",$flexDirection:a,$separator:i,$spacing:o})=>pe`
712
712
  display: flex;
713
713
  flex: ${t?`0 0 ${e.spacing(t)}`:r};
714
714
  overflow: hidden;
@@ -882,7 +882,7 @@ ${p}}`}return`
882
882
  color: ${J.states.success};
883
883
  `;default:return pe`
884
884
  color: ${J.base.heading};
885
- `}}function _Sn(e){return new Worker(""+new URL("graphql.worker.af776b64.DJPjCGGE.js",import.meta.url).href,{type:"module",name:e?.name})}function RSn(e){return new Worker(""+new URL("editor.worker.af776b64.DV7tFr0l.js",import.meta.url).href,{type:"module",name:e?.name})}function LSn(e){return new Worker(""+new URL("json.worker.af776b64.CSMJzPY7.js",import.meta.url).href,{type:"module",name:e?.name})}function PSn(e){return new Worker(""+new URL("yaml.worker.af776b64.hi2VOg5Q.js",import.meta.url).href,{type:"module",name:e?.name})}let Fre=!1;(function(){Fre||(self.MonacoEnvironment={getWorker:function(e,n){switch(n){case"json":return new LSn({name:"json-worker"});case"yaml":return new PSn({name:"yaml-worker"});case"graphql":return new _Sn({name:"graphql-worker"});default:return new RSn({name:"editor-worker"})}}},Fre=!0)})();function NSn(e){const n=MSn(e),t=OSn(n,e.id);return d(Nd,{ref:t})}function OSn(e,n){const t=Lu(),r=m.useRef(null);return m.useEffect(()=>{if(!r.current)return;const a=r.current,i=Lt.createDiffEditor(a,{...zp,readOnly:!0,...t.value().editorPreferences}),o=Td.register(n,i),l=t.subscribe(({editorPreferences:s})=>{i.updateOptions({...s})});return i.setModel(e),()=>{o(),l(),i.dispose()}},[n,e,t]),wm(n,r),r}function MSn({content:e}){const n=ns(()=>({original:Lt.createModel("","graphql"),modified:Lt.createModel("","graphql")}));return n.current.original.updateOptions(gd),n.current.modified.updateOptions(gd),m.useEffect(()=>{n.current.original.setValue(e.original)},[n,e.original]),m.useEffect(()=>{n.current.modified.setValue(e.modified)},[n,e.modified]),m.useEffect(()=>()=>{n.current.original.dispose(),n.current.modified.dispose()},[n]),n.current}const tV=30;function $Sn(e){const{editorElementRef:n,isEmpty:t}=KSn(e);return q(VSn,{children:[d(Nd,{ref:n}),e.placeholder&&t&&d(BSn,{children:e.placeholder})]})}function KSn({id:e,initialContent:n,language:t,onContentChange:r}){const a=m.useRef(null),[i,o]=m.useState(()=>n.length===0),l=ns(()=>Lt.createModel(n,t));return l.current.updateOptions(gd),m.useEffect(()=>{if(!a.current)return;const s=a.current,c=l.current;Lt.setModelLanguage(c,t);const u=Lt.create(s,{model:c,lineNumbers:"off",glyphMargin:!1,folding:!1,lineDecorationsWidth:0,lineNumbersMinChars:0,scrollBeyondLastLine:!1,wordWrap:"off",acceptSuggestionOnEnter:"on",quickSuggestions:{other:!0,comments:!1,strings:!0},wordBasedSuggestions:"off",parameterHints:{enabled:!0},overviewRulerLanes:0,hideCursorInOverviewRuler:!0,automaticLayout:!0,autoDetectHighContrast:!1,contextmenu:!0,fixedOverflowWidgets:!0,minimap:{enabled:!1},showFoldingControls:"mouseover",fontLigatures:!0,renderLineHighlight:"none",padding:{top:(tV-ws)/2,bottom:(tV-ws)/2},scrollbar:{useShadows:!1,horizontal:"hidden",horizontalHasArrows:!1,horizontalScrollbarSize:8,horizontalSliderSize:8,vertical:"hidden",verticalHasArrows:!1,verticalScrollbarSize:8,verticalSliderSize:8},fontFamily:Tu,fontSize:Ed,fontWeight:pm,lineHeight:ws,theme:K4e,"bracketPairColorization.enabled":!1}),p=Td.register(e,u),f=[u.addAction({id:"filter-editor-suppress-command-palette",label:"Suppress Command Palette",keybindings:[bf.F1],run:Vn}),u.addAction({id:"filter-editor-suppress-format-document",label:"Suppress Format Document",keybindings:[Nm.Alt|Nm.Shift|bf.KeyF,Nm.CtrlCmd|Nm.Shift|bf.KeyI],run:Vn}),u.addAction({id:"filter-editor-suppress-enter",label:"Suppress Enter",keybindings:[bf.Enter],precondition:"!suggestWidgetVisible",run:Vn}),u.addAction({id:"filter-editor-suppress-enter-with-modifiers",label:"Suppress Enter With Modifiers",keybindings:[Nm.Shift|bf.Enter,Nm.Alt|bf.Enter,Nm.CtrlCmd|bf.Enter,Nm.WinCtrl|bf.Enter],run:Vn})],g=()=>{const v=c.getValue().replace(/\r?\n|\r/g," ").replace(/\s+/g," ").trim();c.pushEditOperations([],[{range:c.getFullModelRange(),text:v}],()=>null),u.setPosition({lineNumber:1,column:v.length+1})};u.onContextMenu(()=>jp(s)),u.onDidPaste(g);const h=c.onDidChangeContent(()=>{if(c.getLineCount()>1){g();return}const y=c.getValue();o(y.length===0),r?.(y)});return u.setScrollPosition({scrollLeft:0,scrollTop:0}),u.getContainerDomNode().style.height=`${tV}px`,u.layout(),o(c.getValue().length===0),()=>{f.forEach(y=>y.dispose()),h.dispose(),p(),u.dispose()}},[e,t,l,r]),m.useEffect(()=>()=>{l.current.dispose()},[l]),wm(e,a),{editorElementRef:a,isEmpty:i}}const VSn=Y("div")`
885
+ `}}function _Sn(e){return new Worker(""+new URL("graphql.worker.95a3312f.8M2oU3Xg.js",import.meta.url).href,{type:"module",name:e?.name})}function RSn(e){return new Worker(""+new URL("editor.worker.95a3312f.CRoHVwiC.js",import.meta.url).href,{type:"module",name:e?.name})}function LSn(e){return new Worker(""+new URL("json.worker.95a3312f.B64Vc-pv.js",import.meta.url).href,{type:"module",name:e?.name})}function PSn(e){return new Worker(""+new URL("yaml.worker.95a3312f.hQvGRacU.js",import.meta.url).href,{type:"module",name:e?.name})}let Fre=!1;(function(){Fre||(self.MonacoEnvironment={getWorker:function(e,n){switch(n){case"json":return new LSn({name:"json-worker"});case"yaml":return new PSn({name:"yaml-worker"});case"graphql":return new _Sn({name:"graphql-worker"});default:return new RSn({name:"editor-worker"})}}},Fre=!0)})();function NSn(e){const n=MSn(e),t=OSn(n,e.id);return d(Nd,{ref:t})}function OSn(e,n){const t=Lu(),r=m.useRef(null);return m.useEffect(()=>{if(!r.current)return;const a=r.current,i=Lt.createDiffEditor(a,{...zp,readOnly:!0,...t.value().editorPreferences}),o=Td.register(n,i),l=t.subscribe(({editorPreferences:s})=>{i.updateOptions({...s})});return i.setModel(e),()=>{o(),l(),i.dispose()}},[n,e,t]),wm(n,r),r}function MSn({content:e}){const n=ns(()=>({original:Lt.createModel("","graphql"),modified:Lt.createModel("","graphql")}));return n.current.original.updateOptions(gd),n.current.modified.updateOptions(gd),m.useEffect(()=>{n.current.original.setValue(e.original)},[n,e.original]),m.useEffect(()=>{n.current.modified.setValue(e.modified)},[n,e.modified]),m.useEffect(()=>()=>{n.current.original.dispose(),n.current.modified.dispose()},[n]),n.current}const tV=30;function $Sn(e){const{editorElementRef:n,isEmpty:t}=KSn(e);return q(VSn,{children:[d(Nd,{ref:n}),e.placeholder&&t&&d(BSn,{children:e.placeholder})]})}function KSn({id:e,initialContent:n,language:t,onContentChange:r}){const a=m.useRef(null),[i,o]=m.useState(()=>n.length===0),l=ns(()=>Lt.createModel(n,t));return l.current.updateOptions(gd),m.useEffect(()=>{if(!a.current)return;const s=a.current,c=l.current;Lt.setModelLanguage(c,t);const u=Lt.create(s,{model:c,lineNumbers:"off",glyphMargin:!1,folding:!1,lineDecorationsWidth:0,lineNumbersMinChars:0,scrollBeyondLastLine:!1,wordWrap:"off",acceptSuggestionOnEnter:"on",quickSuggestions:{other:!0,comments:!1,strings:!0},wordBasedSuggestions:"off",parameterHints:{enabled:!0},overviewRulerLanes:0,hideCursorInOverviewRuler:!0,automaticLayout:!0,autoDetectHighContrast:!1,contextmenu:!0,fixedOverflowWidgets:!0,minimap:{enabled:!1},showFoldingControls:"mouseover",fontLigatures:!0,renderLineHighlight:"none",padding:{top:(tV-ws)/2,bottom:(tV-ws)/2},scrollbar:{useShadows:!1,horizontal:"hidden",horizontalHasArrows:!1,horizontalScrollbarSize:8,horizontalSliderSize:8,vertical:"hidden",verticalHasArrows:!1,verticalScrollbarSize:8,verticalSliderSize:8},fontFamily:Tu,fontSize:Ed,fontWeight:pm,lineHeight:ws,theme:K4e,"bracketPairColorization.enabled":!1}),p=Td.register(e,u),f=[u.addAction({id:"filter-editor-suppress-command-palette",label:"Suppress Command Palette",keybindings:[bf.F1],run:Vn}),u.addAction({id:"filter-editor-suppress-format-document",label:"Suppress Format Document",keybindings:[Nm.Alt|Nm.Shift|bf.KeyF,Nm.CtrlCmd|Nm.Shift|bf.KeyI],run:Vn}),u.addAction({id:"filter-editor-suppress-enter",label:"Suppress Enter",keybindings:[bf.Enter],precondition:"!suggestWidgetVisible",run:Vn}),u.addAction({id:"filter-editor-suppress-enter-with-modifiers",label:"Suppress Enter With Modifiers",keybindings:[Nm.Shift|bf.Enter,Nm.Alt|bf.Enter,Nm.CtrlCmd|bf.Enter,Nm.WinCtrl|bf.Enter],run:Vn})],g=()=>{const v=c.getValue().replace(/\r?\n|\r/g," ").replace(/\s+/g," ").trim();c.pushEditOperations([],[{range:c.getFullModelRange(),text:v}],()=>null),u.setPosition({lineNumber:1,column:v.length+1})};u.onContextMenu(()=>jp(s)),u.onDidPaste(g);const h=c.onDidChangeContent(()=>{if(c.getLineCount()>1){g();return}const y=c.getValue();o(y.length===0),r?.(y)});return u.setScrollPosition({scrollLeft:0,scrollTop:0}),u.getContainerDomNode().style.height=`${tV}px`,u.layout(),o(c.getValue().length===0),()=>{f.forEach(y=>y.dispose()),h.dispose(),p(),u.dispose()}},[e,t,l,r]),m.useEffect(()=>()=>{l.current.dispose()},[l]),wm(e,a),{editorElementRef:a,isEmpty:i}}const VSn=Y("div")`
886
886
  position: relative;
887
887
  display: flex;
888
888
  flex: 1 1 auto;
@@ -1857,7 +1857,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1857
1857
  height: 100%;
1858
1858
  opacity: 0;
1859
1859
  transition: opacity 0.2 ease;
1860
- `,zOn=m.lazy(()=>T6e(()=>import("./index.af776b64.CaRIGbWk.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url));function jOn({children:e}){const n=nRn(),t=HIe(),r=jIe(),a=rDe(),i=TRn(),o=CRn(),l=m.useCallback(s=>{s?t():r()},[t,r]);return i?d(Boe,{}):d(rq,{id:"console",asideCollapsible:!0,asideCollapsed:a,asideHeight:o,mainPane:"top",topContent:e,bottomContent:d(Boe,{}),onAsideHeightChange:n,onAsideCollapsedChange:l})}const Boe=m.memo(function(){return d(bSn,{children:d($s,{children:d(m.Suspense,{fallback:d(wn,{}),children:d(zOn,{})})})})});function GOn(){const e=mEn(),n=Zv()?.title??RF,t=zbn();m.useLayoutEffect(()=>{function r(o,l){document.title=[o,l,n].filter(Boolean).join(" - ")}r(e.value(),t.value());const a=e.subscribe(o=>{r(o,t.value())}),i=t.subscribe(o=>{r(e.value(),o)});return()=>{a(),i()}},[e,n,t])}const ADe=m.forwardRef((e,n)=>d(un,{ref:n,icon:"arrow-circle-down",...e}));ADe.displayName="UpdateAppIcon";const qOn=e=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...e},m.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}),m.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}),m.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}),m.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}),m.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}));function WOn({status:e="none",className:n}){return d(QOn,{"aria-hidden":"true",className:Ie(e,n)})}const QOn=Y("div")(({theme:e})=>pe`
1860
+ `,zOn=m.lazy(()=>T6e(()=>import("./index.95a3312f.Ph4rn2Mp.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url));function jOn({children:e}){const n=nRn(),t=HIe(),r=jIe(),a=rDe(),i=TRn(),o=CRn(),l=m.useCallback(s=>{s?t():r()},[t,r]);return i?d(Boe,{}):d(rq,{id:"console",asideCollapsible:!0,asideCollapsed:a,asideHeight:o,mainPane:"top",topContent:e,bottomContent:d(Boe,{}),onAsideHeightChange:n,onAsideCollapsedChange:l})}const Boe=m.memo(function(){return d(bSn,{children:d($s,{children:d(m.Suspense,{fallback:d(wn,{}),children:d(zOn,{})})})})});function GOn(){const e=mEn(),n=Zv()?.title??RF,t=zbn();m.useLayoutEffect(()=>{function r(o,l){document.title=[o,l,n].filter(Boolean).join(" - ")}r(e.value(),t.value());const a=e.subscribe(o=>{r(o,t.value())}),i=t.subscribe(o=>{r(e.value(),o)});return()=>{a(),i()}},[e,n,t])}const ADe=m.forwardRef((e,n)=>d(un,{ref:n,icon:"arrow-circle-down",...e}));ADe.displayName="UpdateAppIcon";const qOn=e=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...e},m.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}),m.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}),m.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}),m.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}),m.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}));function WOn({status:e="none",className:n}){return d(QOn,{"aria-hidden":"true",className:Ie(e,n)})}const QOn=Y("div")(({theme:e})=>pe`
1861
1861
  border-radius: 50%;
1862
1862
  width: ${e.spacing(10)};
1863
1863
  height: ${e.spacing(10)};
@@ -4659,9 +4659,6 @@ ${r}`),{suggestions:[]}}}}class rCt{_workerAccessor;constructor(n){this._workerA
4659
4659
  padding: ${e.spacing(4,8)};
4660
4660
  text-align: left;
4661
4661
  vertical-align: top;
4662
- max-width: ${e.spacing(480)};
4663
- overflow-wrap: anywhere;
4664
- white-space: pre-wrap;
4665
4662
  }
4666
4663
 
4667
4664
  th {
@@ -4680,8 +4677,13 @@ ${r}`),{suggestions:[]}}}}class rCt{_workerAccessor;constructor(n){this._workerA
4680
4677
  color: ${J.base.description};
4681
4678
  }
4682
4679
 
4680
+ td {
4681
+ background-color: ${J.sections.content.background};
4682
+ }
4683
+
4683
4684
  td.nested {
4684
- padding: ${e.spacing(0,0,8,16)};
4685
+ padding: ${e.spacing(0,0,4,8)};
4686
+ background-color: ${J.components.column};
4685
4687
 
4686
4688
  /* The parent cell border frames the nested table, so its own outer
4687
4689
  border is hidden to avoid doubled lines. The left edge stays
@@ -1 +1 @@
1
- import{S as o,E as a}from"./monaco.af776b64.DNDQScAz.js";let i=!1;function r(s){if(i)return;i=!0;const l=new o(e=>{globalThis.postMessage(e)},e=>new a(e,s));globalThis.onmessage=e=>{l.onmessage(e.data)}}globalThis.onmessage=s=>{i||r(null)};
1
+ import{S as o,E as a}from"./monaco.95a3312f.dfCAUvrp.js";let i=!1;function r(s){if(i)return;i=!0;const l=new o(e=>{globalThis.postMessage(e)},e=>new a(e,s));globalThis.onmessage=e=>{l.onmessage(e.data)}}globalThis.onmessage=s=>{i||r(null)};
@@ -1,4 +1,4 @@
1
- var pr=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports);import{p as process$1,B as Buffer}from"./monaco.af776b64.D_lpPPbq.js";var vr=pr((exports,module)=>{getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.19",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_AUTHORIZATION="Authorization",HEADER_CONTENT_TYPE="Content-Type",HEADER_USER_AGENT="User-Agent",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTERPOLATION_VARIABLE_NAME_PATTERN=/{{\s*([a-z0-9_\-|.:+#$!?;,]+)\s*}}/gi,FUSION_OPERATION_PLAN_HEADER_NAME_PATTERN=/fusion-operation-plan/i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(n,a){this.#e=n,this.#t=a}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const n=this;let a=!1;return this.#r=new Promise((i,o)=>{if(n.aborted){a=!0,o(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){a=!0,i();return}function s(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),a||(a=!0,o(TIMEOUT_ABORT_ERROR))}function l(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),a||(a=!0,i())}n.addEventListener("abort",s),n.addEventListener("cancelled",l)}),this.#r}addEventListener(n,a,i){this.#e.addEventListener(n,a,i)}removeEventListener(n,a,i){this.#e.removeEventListener(n,a,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,a){return a?a.aborted?Promise.reject(ABORT_ERROR):(a.addEventListener("abort",r),n().finally(()=>{a.removeEventListener("abort",r)})):n()}function distinct(r){return r.filter((n,a,i)=>i.indexOf(n)===a)}function isObjectArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="object"&&!Array.isArray(n))}function isStringArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="string")}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var a=function i(){var o=!1;try{o=this instanceof i}catch{}return o?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};a.prototype=n.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var o=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(a,i,o.get?o:{enumerable:!0,get:function(){return r[i]}})}),a}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,a){a&&(n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,a){if(a){n.super_=a;var i=function(){};i.prototype=a.prototype,n.prototype=new i,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},a={};a.byteLength=c,a.toByteArray=h,a.fromByteArray=_;for(var i=[],o=[],s=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,d=l.length;f<d;++f)i[f]=l[f],o[l.charCodeAt(f)]=f;o[45]=62,o[95]=63;function u(O){var M=O.length;if(M%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var F=O.indexOf("=");F===-1&&(F=M);var L=F===M?0:4-F%4;return[F,L]}function c(O){var M=u(O),F=M[0],L=M[1];return(F+L)*3/4-L}function v(O,M,F){return(M+F)*3/4-F}function h(O){var M,F=u(O),L=F[0],k=F[1],P=new s(v(O,L,k)),U=0,B=k>0?L-4:L,j;for(j=0;j<B;j+=4)M=o[O.charCodeAt(j)]<<18|o[O.charCodeAt(j+1)]<<12|o[O.charCodeAt(j+2)]<<6|o[O.charCodeAt(j+3)],P[U++]=M>>16&255,P[U++]=M>>8&255,P[U++]=M&255;return k===2&&(M=o[O.charCodeAt(j)]<<2|o[O.charCodeAt(j+1)]>>4,P[U++]=M&255),k===1&&(M=o[O.charCodeAt(j)]<<10|o[O.charCodeAt(j+1)]<<4|o[O.charCodeAt(j+2)]>>2,P[U++]=M>>8&255,P[U++]=M&255),P}function m(O){return i[O>>18&63]+i[O>>12&63]+i[O>>6&63]+i[O&63]}function g(O,M,F){for(var L,k=[],P=M;P<F;P+=3)L=(O[P]<<16&16711680)+(O[P+1]<<8&65280)+(O[P+2]&255),k.push(m(L));return k.join("")}function _(O){for(var M,F=O.length,L=F%3,k=[],P=16383,U=0,B=F-L;U<B;U+=P)k.push(g(O,U,U+P>B?B:U+P));return L===1?(M=O[F-1],k.push(i[M>>2]+i[M<<4&63]+"==")):L===2&&(M=(O[F-2]<<8)+O[F-1],k.push(i[M>>10]+i[M>>4&63]+i[M<<2&63]+"=")),k.join("")}var S={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */S.read=function(O,M,F,L,k){var P,U,B=k*8-L-1,j=(1<<B)-1,$=j>>1,A=-7,R=F?k-1:0,y=F?-1:1,b=O[M+R];for(R+=y,P=b&(1<<-A)-1,b>>=-A,A+=B;A>0;P=P*256+O[M+R],R+=y,A-=8);for(U=P&(1<<-A)-1,P>>=-A,A+=L;A>0;U=U*256+O[M+R],R+=y,A-=8);if(P===0)P=1-$;else{if(P===j)return U?NaN:(b?-1:1)*(1/0);U=U+Math.pow(2,L),P=P-$}return(b?-1:1)*U*Math.pow(2,P-L)},S.write=function(O,M,F,L,k,P){var U,B,j,$=P*8-k-1,A=(1<<$)-1,R=A>>1,y=k===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=L?0:P-1,N=L?1:-1,I=M<0||M===0&&1/M<0?1:0;for(M=Math.abs(M),isNaN(M)||M===1/0?(B=isNaN(M)?1:0,U=A):(U=Math.floor(Math.log(M)/Math.LN2),M*(j=Math.pow(2,-U))<1&&(U--,j*=2),U+R>=1?M+=y/j:M+=y*Math.pow(2,1-R),M*j>=2&&(U++,j/=2),U+R>=A?(B=0,U=A):U+R>=1?(B=(M*j-1)*Math.pow(2,k),U=U+R):(B=M*Math.pow(2,R-1)*Math.pow(2,k),U=0));k>=8;O[F+b]=B&255,b+=N,B/=256,k-=8);for(U=U<<k|B,$+=k;$>0;O[F+b]=U&255,b+=N,U/=256,$-=8);O[F+b-N]|=I*128};/*!
1
+ var pr=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports);import{p as process$1,B as Buffer}from"./monaco.95a3312f.DKFawWaA.js";var vr=pr((exports,module)=>{getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.20",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_AUTHORIZATION="Authorization",HEADER_CONTENT_TYPE="Content-Type",HEADER_USER_AGENT="User-Agent",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTERPOLATION_VARIABLE_NAME_PATTERN=/{{\s*([a-z0-9_\-|.:+#$!?;,]+)\s*}}/gi,FUSION_OPERATION_PLAN_HEADER_NAME_PATTERN=/fusion-operation-plan/i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(n,a){this.#e=n,this.#t=a}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const n=this;let a=!1;return this.#r=new Promise((i,o)=>{if(n.aborted){a=!0,o(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){a=!0,i();return}function s(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),a||(a=!0,o(TIMEOUT_ABORT_ERROR))}function l(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),a||(a=!0,i())}n.addEventListener("abort",s),n.addEventListener("cancelled",l)}),this.#r}addEventListener(n,a,i){this.#e.addEventListener(n,a,i)}removeEventListener(n,a,i){this.#e.removeEventListener(n,a,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,a){return a?a.aborted?Promise.reject(ABORT_ERROR):(a.addEventListener("abort",r),n().finally(()=>{a.removeEventListener("abort",r)})):n()}function distinct(r){return r.filter((n,a,i)=>i.indexOf(n)===a)}function isObjectArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="object"&&!Array.isArray(n))}function isStringArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="string")}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var a=function i(){var o=!1;try{o=this instanceof i}catch{}return o?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};a.prototype=n.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var o=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(a,i,o.get?o:{enumerable:!0,get:function(){return r[i]}})}),a}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,a){a&&(n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,a){if(a){n.super_=a;var i=function(){};i.prototype=a.prototype,n.prototype=new i,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},a={};a.byteLength=c,a.toByteArray=h,a.fromByteArray=_;for(var i=[],o=[],s=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,d=l.length;f<d;++f)i[f]=l[f],o[l.charCodeAt(f)]=f;o[45]=62,o[95]=63;function u(O){var M=O.length;if(M%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var F=O.indexOf("=");F===-1&&(F=M);var L=F===M?0:4-F%4;return[F,L]}function c(O){var M=u(O),F=M[0],L=M[1];return(F+L)*3/4-L}function v(O,M,F){return(M+F)*3/4-F}function h(O){var M,F=u(O),L=F[0],k=F[1],P=new s(v(O,L,k)),U=0,B=k>0?L-4:L,j;for(j=0;j<B;j+=4)M=o[O.charCodeAt(j)]<<18|o[O.charCodeAt(j+1)]<<12|o[O.charCodeAt(j+2)]<<6|o[O.charCodeAt(j+3)],P[U++]=M>>16&255,P[U++]=M>>8&255,P[U++]=M&255;return k===2&&(M=o[O.charCodeAt(j)]<<2|o[O.charCodeAt(j+1)]>>4,P[U++]=M&255),k===1&&(M=o[O.charCodeAt(j)]<<10|o[O.charCodeAt(j+1)]<<4|o[O.charCodeAt(j+2)]>>2,P[U++]=M>>8&255,P[U++]=M&255),P}function m(O){return i[O>>18&63]+i[O>>12&63]+i[O>>6&63]+i[O&63]}function g(O,M,F){for(var L,k=[],P=M;P<F;P+=3)L=(O[P]<<16&16711680)+(O[P+1]<<8&65280)+(O[P+2]&255),k.push(m(L));return k.join("")}function _(O){for(var M,F=O.length,L=F%3,k=[],P=16383,U=0,B=F-L;U<B;U+=P)k.push(g(O,U,U+P>B?B:U+P));return L===1?(M=O[F-1],k.push(i[M>>2]+i[M<<4&63]+"==")):L===2&&(M=(O[F-2]<<8)+O[F-1],k.push(i[M>>10]+i[M>>4&63]+i[M<<2&63]+"=")),k.join("")}var S={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */S.read=function(O,M,F,L,k){var P,U,B=k*8-L-1,j=(1<<B)-1,$=j>>1,A=-7,R=F?k-1:0,y=F?-1:1,b=O[M+R];for(R+=y,P=b&(1<<-A)-1,b>>=-A,A+=B;A>0;P=P*256+O[M+R],R+=y,A-=8);for(U=P&(1<<-A)-1,P>>=-A,A+=L;A>0;U=U*256+O[M+R],R+=y,A-=8);if(P===0)P=1-$;else{if(P===j)return U?NaN:(b?-1:1)*(1/0);U=U+Math.pow(2,L),P=P-$}return(b?-1:1)*U*Math.pow(2,P-L)},S.write=function(O,M,F,L,k,P){var U,B,j,$=P*8-k-1,A=(1<<$)-1,R=A>>1,y=k===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=L?0:P-1,N=L?1:-1,I=M<0||M===0&&1/M<0?1:0;for(M=Math.abs(M),isNaN(M)||M===1/0?(B=isNaN(M)?1:0,U=A):(U=Math.floor(Math.log(M)/Math.LN2),M*(j=Math.pow(2,-U))<1&&(U--,j*=2),U+R>=1?M+=y/j:M+=y*Math.pow(2,1-R),M*j>=2&&(U++,j/=2),U+R>=A?(B=0,U=A):U+R>=1?(B=(M*j-1)*Math.pow(2,k),U=U+R):(B=M*Math.pow(2,R-1)*Math.pow(2,k),U=0));k>=8;O[F+b]=B&255,b+=N,B/=256,k-=8);for(U=U<<k|B,$+=k;$>0;O[F+b]=U&255,b+=N,U/=256,$-=8);O[F+b-N]|=I*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -1,4 +1,4 @@
1
- import{p as process$1,B as Buffer}from"./monaco.af776b64.D_lpPPbq.js";getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.19",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(t,n){this.#e=t,this.#t=n}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(t){return this.#e.dispatchEvent(t)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const t=this;let n=!1;return this.#r=new Promise((i,s)=>{if(t.aborted){n=!0,s(TIMEOUT_ABORT_ERROR);return}if(t.cancelled){n=!0,i();return}function a(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",f),n||(n=!0,s(TIMEOUT_ABORT_ERROR))}function f(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",f),n||(n=!0,i())}t.addEventListener("abort",a),t.addEventListener("cancelled",f)}),this.#r}addEventListener(t,n,i){this.#e.addEventListener(t,n,i)}removeEventListener(t,n,i){this.#e.removeEventListener(t,n,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(t){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},t)}get signal(){return this._signal}abort(t){this._controller.abort(t)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,t,n){return n?n.aborted?Promise.reject(ABORT_ERROR):(n.addEventListener("abort",r),t().finally(()=>{n.removeEventListener("abort",r)})):t()}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var t=r.default;if(typeof t=="function"){var n=function i(){var s=!1;try{s=this instanceof i}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var s=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return r[i]}})}),n}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},n={};n.byteLength=u,n.toByteArray=d,n.fromByteArray=m;for(var i=[],s=[],a=typeof Uint8Array<"u"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=f.length;l<c;++l)i[l]=f[l],s[f.charCodeAt(l)]=l;s[45]=62,s[95]=63;function o(D){var C=D.length;if(C%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=D.indexOf("=");q===-1&&(q=C);var M=q===C?0:4-q%4;return[q,M]}function u(D){var C=o(D),q=C[0],M=C[1];return(q+M)*3/4-M}function p(D,C,q){return(C+q)*3/4-q}function d(D){var C,q=o(D),M=q[0],F=q[1],k=new a(p(D,M,F)),$=0,L=F>0?M-4:M,G;for(G=0;G<L;G+=4)C=s[D.charCodeAt(G)]<<18|s[D.charCodeAt(G+1)]<<12|s[D.charCodeAt(G+2)]<<6|s[D.charCodeAt(G+3)],k[$++]=C>>16&255,k[$++]=C>>8&255,k[$++]=C&255;return F===2&&(C=s[D.charCodeAt(G)]<<2|s[D.charCodeAt(G+1)]>>4,k[$++]=C&255),F===1&&(C=s[D.charCodeAt(G)]<<10|s[D.charCodeAt(G+1)]<<4|s[D.charCodeAt(G+2)]>>2,k[$++]=C>>8&255,k[$++]=C&255),k}function v(D){return i[D>>18&63]+i[D>>12&63]+i[D>>6&63]+i[D&63]}function y(D,C,q){for(var M,F=[],k=C;k<q;k+=3)M=(D[k]<<16&16711680)+(D[k+1]<<8&65280)+(D[k+2]&255),F.push(v(M));return F.join("")}function m(D){for(var C,q=D.length,M=q%3,F=[],k=16383,$=0,L=q-M;$<L;$+=k)F.push(y(D,$,$+k>L?L:$+k));return M===1?(C=D[q-1],F.push(i[C>>2]+i[C<<4&63]+"==")):M===2&&(C=(D[q-2]<<8)+D[q-1],F.push(i[C>>10]+i[C>>4&63]+i[C<<2&63]+"=")),F.join("")}var R={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */R.read=function(D,C,q,M,F){var k,$,L=F*8-M-1,G=(1<<L)-1,B=G>>1,S=-7,_=q?F-1:0,h=q?-1:1,g=D[C+_];for(_+=h,k=g&(1<<-S)-1,g>>=-S,S+=L;S>0;k=k*256+D[C+_],_+=h,S-=8);for($=k&(1<<-S)-1,k>>=-S,S+=M;S>0;$=$*256+D[C+_],_+=h,S-=8);if(k===0)k=1-B;else{if(k===G)return $?NaN:(g?-1:1)*(1/0);$=$+Math.pow(2,M),k=k-B}return(g?-1:1)*$*Math.pow(2,k-M)},R.write=function(D,C,q,M,F,k){var $,L,G,B=k*8-F-1,S=(1<<B)-1,_=S>>1,h=F===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=M?0:k-1,I=M?1:-1,w=C<0||C===0&&1/C<0?1:0;for(C=Math.abs(C),isNaN(C)||C===1/0?(L=isNaN(C)?1:0,$=S):($=Math.floor(Math.log(C)/Math.LN2),C*(G=Math.pow(2,-$))<1&&($--,G*=2),$+_>=1?C+=h/G:C+=h*Math.pow(2,1-_),C*G>=2&&($++,G/=2),$+_>=S?(L=0,$=S):$+_>=1?(L=(C*G-1)*Math.pow(2,F),$=$+_):(L=C*Math.pow(2,_-1)*Math.pow(2,F),$=0));F>=8;D[q+g]=L&255,g+=I,L/=256,F-=8);for($=$<<F|L,B+=F;B>0;D[q+g]=$&255,g+=I,$/=256,B-=8);D[q+g-I]|=w*128};/*!
1
+ import{p as process$1,B as Buffer}from"./monaco.95a3312f.DKFawWaA.js";getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.20",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(t,n){this.#e=t,this.#t=n}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(t){return this.#e.dispatchEvent(t)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const t=this;let n=!1;return this.#r=new Promise((i,s)=>{if(t.aborted){n=!0,s(TIMEOUT_ABORT_ERROR);return}if(t.cancelled){n=!0,i();return}function a(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",f),n||(n=!0,s(TIMEOUT_ABORT_ERROR))}function f(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",f),n||(n=!0,i())}t.addEventListener("abort",a),t.addEventListener("cancelled",f)}),this.#r}addEventListener(t,n,i){this.#e.addEventListener(t,n,i)}removeEventListener(t,n,i){this.#e.removeEventListener(t,n,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(t){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},t)}get signal(){return this._signal}abort(t){this._controller.abort(t)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,t,n){return n?n.aborted?Promise.reject(ABORT_ERROR):(n.addEventListener("abort",r),t().finally(()=>{n.removeEventListener("abort",r)})):t()}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var t=r.default;if(typeof t=="function"){var n=function i(){var s=!1;try{s=this instanceof i}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var s=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return r[i]}})}),n}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},n={};n.byteLength=u,n.toByteArray=d,n.fromByteArray=m;for(var i=[],s=[],a=typeof Uint8Array<"u"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=f.length;l<c;++l)i[l]=f[l],s[f.charCodeAt(l)]=l;s[45]=62,s[95]=63;function o(D){var C=D.length;if(C%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=D.indexOf("=");q===-1&&(q=C);var M=q===C?0:4-q%4;return[q,M]}function u(D){var C=o(D),q=C[0],M=C[1];return(q+M)*3/4-M}function p(D,C,q){return(C+q)*3/4-q}function d(D){var C,q=o(D),M=q[0],F=q[1],k=new a(p(D,M,F)),$=0,L=F>0?M-4:M,G;for(G=0;G<L;G+=4)C=s[D.charCodeAt(G)]<<18|s[D.charCodeAt(G+1)]<<12|s[D.charCodeAt(G+2)]<<6|s[D.charCodeAt(G+3)],k[$++]=C>>16&255,k[$++]=C>>8&255,k[$++]=C&255;return F===2&&(C=s[D.charCodeAt(G)]<<2|s[D.charCodeAt(G+1)]>>4,k[$++]=C&255),F===1&&(C=s[D.charCodeAt(G)]<<10|s[D.charCodeAt(G+1)]<<4|s[D.charCodeAt(G+2)]>>2,k[$++]=C>>8&255,k[$++]=C&255),k}function v(D){return i[D>>18&63]+i[D>>12&63]+i[D>>6&63]+i[D&63]}function y(D,C,q){for(var M,F=[],k=C;k<q;k+=3)M=(D[k]<<16&16711680)+(D[k+1]<<8&65280)+(D[k+2]&255),F.push(v(M));return F.join("")}function m(D){for(var C,q=D.length,M=q%3,F=[],k=16383,$=0,L=q-M;$<L;$+=k)F.push(y(D,$,$+k>L?L:$+k));return M===1?(C=D[q-1],F.push(i[C>>2]+i[C<<4&63]+"==")):M===2&&(C=(D[q-2]<<8)+D[q-1],F.push(i[C>>10]+i[C>>4&63]+i[C<<2&63]+"=")),F.join("")}var R={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */R.read=function(D,C,q,M,F){var k,$,L=F*8-M-1,G=(1<<L)-1,B=G>>1,S=-7,_=q?F-1:0,h=q?-1:1,g=D[C+_];for(_+=h,k=g&(1<<-S)-1,g>>=-S,S+=L;S>0;k=k*256+D[C+_],_+=h,S-=8);for($=k&(1<<-S)-1,k>>=-S,S+=M;S>0;$=$*256+D[C+_],_+=h,S-=8);if(k===0)k=1-B;else{if(k===G)return $?NaN:(g?-1:1)*(1/0);$=$+Math.pow(2,M),k=k-B}return(g?-1:1)*$*Math.pow(2,k-M)},R.write=function(D,C,q,M,F,k){var $,L,G,B=k*8-F-1,S=(1<<B)-1,_=S>>1,h=F===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=M?0:k-1,I=M?1:-1,w=C<0||C===0&&1/C<0?1:0;for(C=Math.abs(C),isNaN(C)||C===1/0?(L=isNaN(C)?1:0,$=S):($=Math.floor(Math.log(C)/Math.LN2),C*(G=Math.pow(2,-$))<1&&($--,G*=2),$+_>=1?C+=h/G:C+=h*Math.pow(2,1-_),C*G>=2&&($++,G/=2),$+_>=S?(L=0,$=S):$+_>=1?(L=(C*G-1)*Math.pow(2,F),$=$+_):(L=C*Math.pow(2,_-1)*Math.pow(2,F),$=0));F>=8;D[q+g]=L&255,g+=I,L/=256,F-=8);for($=$<<F|L,B+=F;B>0;D[q+g]=$&255,g+=I,$/=256,B-=8);D[q+g-I]|=w*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -1,4 +1,4 @@
1
- import{S as SimpleWorkerServer,E as EditorSimpleWorker,p as process$1,B as Buffer}from"./monaco.af776b64.BCQ461Sb.js";let initialized=!1;function initialize(r){if(initialized)return;initialized=!0;const n=new SimpleWorkerServer(i=>{globalThis.postMessage(i)},i=>new EditorSimpleWorker(i,r));globalThis.onmessage=i=>{n.onmessage(i.data)}}globalThis.onmessage=r=>{initialized||initialize(null)};const ABORT_ERROR_NAME="AbortError";new DOMException("Action cancelled",ABORT_ERROR_NAME);const TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#r;#t;constructor(n,i){this.#e=n,this.#r=i}get aborted(){return this.#e.aborted}get cancelled(){return this.#r()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#t)return this.#t;const n=this;let i=!1;return this.#t=new Promise((a,s)=>{if(n.aborted){i=!0,s(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){i=!0,a();return}function E(){n.removeEventListener("abort",E),n.removeEventListener("cancelled",C),i||(i=!0,s(TIMEOUT_ABORT_ERROR))}function C(){n.removeEventListener("abort",E),n.removeEventListener("cancelled",C),i||(i=!0,a())}n.addEventListener("abort",E),n.addEventListener("cancelled",C)}),this.#t}addEventListener(n,i,a){this.#e.addEventListener(n,i,a)}removeEventListener(n,i,a){this.#e.removeEventListener(n,i,a)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,i){return n()}getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.19",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i;var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var i=function a(){var s=!1;try{s=this instanceof a}catch{}return s?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var s=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,s.get?s:{enumerable:!0,get:function(){return r[a]}})}),i}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,i){i&&(n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,i){if(i){n.super_=i;var a=function(){};a.prototype=i.prototype,n.prototype=new a,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},i={};i.byteLength=Or,i.toByteArray=gi,i.fromByteArray=Qi;for(var a=[],s=[],E=typeof Uint8Array<"u"?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lr=0,Pr=C.length;lr<Pr;++lr)a[lr]=C[lr],s[C.charCodeAt(lr)]=lr;s[45]=62,s[95]=63;function P(aa){var la=aa.length;if(la%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ca=aa.indexOf("=");ca===-1&&(ca=la);var da=ca===la?0:4-ca%4;return[ca,da]}function Or(aa){var la=P(aa),ca=la[0],da=la[1];return(ca+da)*3/4-da}function qi(aa,la,ca){return(la+ca)*3/4-ca}function gi(aa){var la,ca=P(aa),da=ca[0],ha=ca[1],pa=new E(qi(aa,da,ha)),ya=0,va=ha>0?da-4:da,Ea;for(Ea=0;Ea<va;Ea+=4)la=s[aa.charCodeAt(Ea)]<<18|s[aa.charCodeAt(Ea+1)]<<12|s[aa.charCodeAt(Ea+2)]<<6|s[aa.charCodeAt(Ea+3)],pa[ya++]=la>>16&255,pa[ya++]=la>>8&255,pa[ya++]=la&255;return ha===2&&(la=s[aa.charCodeAt(Ea)]<<2|s[aa.charCodeAt(Ea+1)]>>4,pa[ya++]=la&255),ha===1&&(la=s[aa.charCodeAt(Ea)]<<10|s[aa.charCodeAt(Ea+1)]<<4|s[aa.charCodeAt(Ea+2)]>>2,pa[ya++]=la>>8&255,pa[ya++]=la&255),pa}function Ki(aa){return a[aa>>18&63]+a[aa>>12&63]+a[aa>>6&63]+a[aa&63]}function Hi(aa,la,ca){for(var da,ha=[],pa=la;pa<ca;pa+=3)da=(aa[pa]<<16&16711680)+(aa[pa+1]<<8&65280)+(aa[pa+2]&255),ha.push(Ki(da));return ha.join("")}function Qi(aa){for(var la,ca=aa.length,da=ca%3,ha=[],pa=16383,ya=0,va=ca-da;ya<va;ya+=pa)ha.push(Hi(aa,ya,ya+pa>va?va:ya+pa));return da===1?(la=aa[ca-1],ha.push(a[la>>2]+a[la<<4&63]+"==")):da===2&&(la=(aa[ca-2]<<8)+aa[ca-1],ha.push(a[la>>10]+a[la>>4&63]+a[la<<2&63]+"=")),ha.join("")}var Ji={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Ji.read=function(aa,la,ca,da,ha){var pa,ya,va=ha*8-da-1,Ea=(1<<va)-1,ma=Ea>>1,na=-7,Zi=ca?ha-1:0,Gi=ca?-1:1,zi=aa[la+Zi];for(Zi+=Gi,pa=zi&(1<<-na)-1,zi>>=-na,na+=va;na>0;pa=pa*256+aa[la+Zi],Zi+=Gi,na-=8);for(ya=pa&(1<<-na)-1,pa>>=-na,na+=da;na>0;ya=ya*256+aa[la+Zi],Zi+=Gi,na-=8);if(pa===0)pa=1-ma;else{if(pa===Ea)return ya?NaN:(zi?-1:1)*(1/0);ya=ya+Math.pow(2,da),pa=pa-ma}return(zi?-1:1)*ya*Math.pow(2,pa-da)},Ji.write=function(aa,la,ca,da,ha,pa){var ya,va,Ea,ma=pa*8-ha-1,na=(1<<ma)-1,Zi=na>>1,Gi=ha===23?Math.pow(2,-24)-Math.pow(2,-77):0,zi=da?0:pa-1,sa=da?1:-1,ia=la<0||la===0&&1/la<0?1:0;for(la=Math.abs(la),isNaN(la)||la===1/0?(va=isNaN(la)?1:0,ya=na):(ya=Math.floor(Math.log(la)/Math.LN2),la*(Ea=Math.pow(2,-ya))<1&&(ya--,Ea*=2),ya+Zi>=1?la+=Gi/Ea:la+=Gi*Math.pow(2,1-Zi),la*Ea>=2&&(ya++,Ea/=2),ya+Zi>=na?(va=0,ya=na):ya+Zi>=1?(va=(la*Ea-1)*Math.pow(2,ha),ya=ya+Zi):(va=la*Math.pow(2,Zi-1)*Math.pow(2,ha),ya=0));ha>=8;aa[ca+zi]=va&255,zi+=sa,va/=256,ha-=8);for(ya=ya<<ha|va,ma+=ha;ma>0;aa[ca+zi]=ya&255,zi+=sa,ya/=256,ma-=8);aa[ca+zi-sa]|=ia*128};/*!
1
+ import{S as SimpleWorkerServer,E as EditorSimpleWorker,p as process$1,B as Buffer}from"./monaco.95a3312f.BzmviRHQ.js";let initialized=!1;function initialize(r){if(initialized)return;initialized=!0;const n=new SimpleWorkerServer(i=>{globalThis.postMessage(i)},i=>new EditorSimpleWorker(i,r));globalThis.onmessage=i=>{n.onmessage(i.data)}}globalThis.onmessage=r=>{initialized||initialize(null)};const ABORT_ERROR_NAME="AbortError";new DOMException("Action cancelled",ABORT_ERROR_NAME);const TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#r;#t;constructor(n,i){this.#e=n,this.#r=i}get aborted(){return this.#e.aborted}get cancelled(){return this.#r()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#t)return this.#t;const n=this;let i=!1;return this.#t=new Promise((a,s)=>{if(n.aborted){i=!0,s(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){i=!0,a();return}function E(){n.removeEventListener("abort",E),n.removeEventListener("cancelled",C),i||(i=!0,s(TIMEOUT_ABORT_ERROR))}function C(){n.removeEventListener("abort",E),n.removeEventListener("cancelled",C),i||(i=!0,a())}n.addEventListener("abort",E),n.addEventListener("cancelled",C)}),this.#t}addEventListener(n,i,a){this.#e.addEventListener(n,i,a)}removeEventListener(n,i,a){this.#e.removeEventListener(n,i,a)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,i){return n()}getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.20",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i;var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var i=function a(){var s=!1;try{s=this instanceof a}catch{}return s?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var s=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,s.get?s:{enumerable:!0,get:function(){return r[a]}})}),i}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,i){i&&(n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,i){if(i){n.super_=i;var a=function(){};a.prototype=i.prototype,n.prototype=new a,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},i={};i.byteLength=Or,i.toByteArray=gi,i.fromByteArray=Qi;for(var a=[],s=[],E=typeof Uint8Array<"u"?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lr=0,Pr=C.length;lr<Pr;++lr)a[lr]=C[lr],s[C.charCodeAt(lr)]=lr;s[45]=62,s[95]=63;function P(aa){var la=aa.length;if(la%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ca=aa.indexOf("=");ca===-1&&(ca=la);var da=ca===la?0:4-ca%4;return[ca,da]}function Or(aa){var la=P(aa),ca=la[0],da=la[1];return(ca+da)*3/4-da}function qi(aa,la,ca){return(la+ca)*3/4-ca}function gi(aa){var la,ca=P(aa),da=ca[0],ha=ca[1],pa=new E(qi(aa,da,ha)),ya=0,va=ha>0?da-4:da,Ea;for(Ea=0;Ea<va;Ea+=4)la=s[aa.charCodeAt(Ea)]<<18|s[aa.charCodeAt(Ea+1)]<<12|s[aa.charCodeAt(Ea+2)]<<6|s[aa.charCodeAt(Ea+3)],pa[ya++]=la>>16&255,pa[ya++]=la>>8&255,pa[ya++]=la&255;return ha===2&&(la=s[aa.charCodeAt(Ea)]<<2|s[aa.charCodeAt(Ea+1)]>>4,pa[ya++]=la&255),ha===1&&(la=s[aa.charCodeAt(Ea)]<<10|s[aa.charCodeAt(Ea+1)]<<4|s[aa.charCodeAt(Ea+2)]>>2,pa[ya++]=la>>8&255,pa[ya++]=la&255),pa}function Ki(aa){return a[aa>>18&63]+a[aa>>12&63]+a[aa>>6&63]+a[aa&63]}function Hi(aa,la,ca){for(var da,ha=[],pa=la;pa<ca;pa+=3)da=(aa[pa]<<16&16711680)+(aa[pa+1]<<8&65280)+(aa[pa+2]&255),ha.push(Ki(da));return ha.join("")}function Qi(aa){for(var la,ca=aa.length,da=ca%3,ha=[],pa=16383,ya=0,va=ca-da;ya<va;ya+=pa)ha.push(Hi(aa,ya,ya+pa>va?va:ya+pa));return da===1?(la=aa[ca-1],ha.push(a[la>>2]+a[la<<4&63]+"==")):da===2&&(la=(aa[ca-2]<<8)+aa[ca-1],ha.push(a[la>>10]+a[la>>4&63]+a[la<<2&63]+"=")),ha.join("")}var Ji={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Ji.read=function(aa,la,ca,da,ha){var pa,ya,va=ha*8-da-1,Ea=(1<<va)-1,ma=Ea>>1,na=-7,Zi=ca?ha-1:0,Gi=ca?-1:1,zi=aa[la+Zi];for(Zi+=Gi,pa=zi&(1<<-na)-1,zi>>=-na,na+=va;na>0;pa=pa*256+aa[la+Zi],Zi+=Gi,na-=8);for(ya=pa&(1<<-na)-1,pa>>=-na,na+=da;na>0;ya=ya*256+aa[la+Zi],Zi+=Gi,na-=8);if(pa===0)pa=1-ma;else{if(pa===Ea)return ya?NaN:(zi?-1:1)*(1/0);ya=ya+Math.pow(2,da),pa=pa-ma}return(zi?-1:1)*ya*Math.pow(2,pa-da)},Ji.write=function(aa,la,ca,da,ha,pa){var ya,va,Ea,ma=pa*8-ha-1,na=(1<<ma)-1,Zi=na>>1,Gi=ha===23?Math.pow(2,-24)-Math.pow(2,-77):0,zi=da?0:pa-1,sa=da?1:-1,ia=la<0||la===0&&1/la<0?1:0;for(la=Math.abs(la),isNaN(la)||la===1/0?(va=isNaN(la)?1:0,ya=na):(ya=Math.floor(Math.log(la)/Math.LN2),la*(Ea=Math.pow(2,-ya))<1&&(ya--,Ea*=2),ya+Zi>=1?la+=Gi/Ea:la+=Gi*Math.pow(2,1-Zi),la*Ea>=2&&(ya++,Ea/=2),ya+Zi>=na?(va=0,ya=na):ya+Zi>=1?(va=(la*Ea-1)*Math.pow(2,ha),ya=ya+Zi):(va=la*Math.pow(2,Zi-1)*Math.pow(2,ha),ya=0));ha>=8;aa[ca+zi]=va&255,zi+=sa,va/=256,ha-=8);for(ya=ya<<ha|va,ma+=ha;ma>0;aa[ca+zi]=ya&255,zi+=sa,ya/=256,ma-=8);aa[ca+zi-sa]|=ia*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -1,4 +1,4 @@
1
- import{b as a,bN as e,cL as de,cK as ke,c0 as c,s as D,c2 as f,dL as Re,I as w,b1 as De,a$ as we,be as ve,aV as xe,ba as _e,bb as Ne,aW as ye,aX as Ee,b3 as He,aY as Me,dc as P}from"./main.af776b64.Dmk4-xvl.js";import{u as qe,a as Oe,b as Pe,c as A,d as Ae,e as $e,f as S,L as ze,g as Be,V as Ge,N as Fe,C as b,h as ue,H as y,i as E,S as he,j as v,k as F,T as U,l as H,m as M,n as pe,o as Ue,p as We,q as Ke,r as Ve,s as je,t as Ye,v as m,F as ee,w as Ie,x as Je,I as Qe,y as _,W as Xe,z as Ze,A as et,B as tt,D as nt,E as st,M as it,G as ot,J as rt,K as at,O as ct,P as V,Q as k,R as $,U as te,X as z,Y as g,Z as j,_ as Z,$ as W,a0 as N,a1 as fe,a2 as me,a3 as ge,a4 as K,a5 as ne,a6 as T,a7 as se,a8 as lt,a9 as dt,aa as ut,ab as ht,ac as pt,ad as It,ae as ft,af as mt,ag as gt,ah as Ct,ai as Lt,aj as bt,ak as Tt,al as St,am as kt,an as Rt,ao as Dt,ap as wt,aq as vt,ar as xt,as as _t,at as Nt}from"./context-providers.af776b64.BBmagZaV.js";import"./monaco.af776b64.CqI-ScCO.js";const x=a.forwardRef((t,n)=>e(de,{ref:n,icon:"go-to-file",...t}));x.displayName="GoToItemIcon";const ie=a.forwardRef((t,n)=>e(de,{ref:n,icon:"play-circle",fill:ke.states.info,...t}));ie.displayName="RunningIcon";function B(){const t=qe(),n=Oe();return a.useCallback(async(s,i)=>{await n(s),i&&t(s,i,void 0)},[t,n])}const G="log";function yt(){const t=Pe(),n=A(G).toLocaleLowerCase(),s=a.useRef(null),i=a.useRef(t),o=a.useRef(t.followNewest),l=a.useRef(!0),h=Ae(),u=B(),r=$e(),p={activeId:t.activeId,activeChildId:t.activeChildId,entries:t.entries.filter(d=>{const{kind:I}=d;switch(I){case"basic":return d.message.toLocaleLowerCase().includes(n);case"http-request":return d.name?.toLocaleLowerCase().includes(n)||d.uri.toLocaleLowerCase().includes(n);case"scope":return d.name.includes(n)||d.details?.uri?.toLocaleLowerCase().includes(n);case"subscription-request":return d.uri.toLocaleLowerCase().includes(n);default:return S()}})};i.current=t,o.current=t.followNewest;const C=a.useCallback(d=>{l.current=!1,d.kind==="http-request"&&d.scopeId?h(d.scopeId,d.id):h(d.id)},[h]),L=a.useCallback(async d=>{d.item?.id&&await u(d.item.id,d.id)},[u]),J=a.useCallback(d=>{const{scrollTop:I,clientHeight:R,scrollHeight:Se}=d.currentTarget;l.current=!0,o.current=Se-R<=Math.ceil(I),r(o.current)},[r]),Q=a.useCallback(d=>{if(s.current=d,s.current&&i.current.entries.length){const I=i.current.activeId?i.current.entries.findIndex(({id:R})=>R===i.current.activeId):-1;I===-1?s.current.scrollToIndex({index:i.current.entries.length-1,align:"end"}):s.current.scrollToIndex({index:I,align:"end"})}},[]);a.useLayoutEffect(()=>{o.current&&s.current&&p.entries.length&&s.current.scrollToIndex({index:p.entries.length-1,align:"end"})},[p.entries.length]),a.useLayoutEffect(()=>{if(l.current&&!o.current&&t.activeId&&s.current&&i.current){const d=i.current.entries.findIndex(({id:I})=>I===t.activeId);d!==-1&&s.current.scrollToIndex({index:d,align:"end"})}l.current=!0},[t.activeId]),a.useEffect(()=>()=>r(!0),[r]);const Te=a.useCallback((d,I)=>{const R=I.kind==="http-request"&&I.scopeId?I.id===p.activeChildId&&I.scopeId===p.activeId:I.id===p.activeId;return e(ze,{onClick:()=>C(I),onDoubleClick:()=>L(I),className:R?"active":void 0,children:e(Et,{active:R,logEntry:I})})},[p.activeId,p.activeChildId,C,L]);return p.entries.length?e(Ge,{innerListRef:Q,data:p.entries,computeItemKey:d=>`log-entry-${d}`,fixedItemSize:Be,tabIndex:-1,onScrollVirtualList:J,itemContent:Te}):e(Fe,{isFilterActive:!!n})}const Et=a.memo(function({active:n,logEntry:s}){const{kind:i}=s;switch(i){case"basic":return e(Ht,{active:n,logEntry:s});case"http-request":return e(Mt,{active:n,logEntry:s});case"scope":return e(qt,{active:n,logEntry:s});case"subscription-request":return e(Ot,{active:n,logEntry:s});default:return S()}}),Ht=a.memo(function({active:n,logEntry:{id:s,level:i,message:o,timestamp:l,item:h}}){return c(f,{children:[e(Y,{id:s,active:n}),e(Ce,{level:i}),e(O,{children:e(Le,{level:i})}),e(E,{children:e(y,{text:o,highlightedText:A(G)})}),e(q,{item:h}),e(M,{children:H(l)})]})});function Ce({level:t}){switch(t){case _.warning:return e(m,{children:e(Xe,{})});case _.error:return e(m,{children:e(ee,{})});default:return e(m,{children:e(Qe,{})})}}const Le=a.memo(function({level:n}){switch(n){case _.error:return e(b,{color:"error",label:"ERR"});case _.info:return e(b,{color:"info",label:"INFO"});case _.warning:return e(b,{color:"warning",label:"WARN"});default:return S()}}),Mt=a.memo(function({active:n,logEntry:{id:s,scopeId:i,status:o,name:l,started:h,duration:u,item:r,uri:p,method:C,statusCode:L,contentLength:J,lastChild:Q}}){return c(f,{children:[i?e(At,{active:n,last:Q??!1}):e(Y,{id:s,active:n,pending:o==="pending"}),e(be,{status:o,statusCode:L}),e(O,{children:e(b,{color:"info",label:C})}),e(E,{children:e(y,{text:l?.length?l+": "+p:p,highlightedText:A(G)})}),e(oe,{children:e(pe,{status:o,statusCode:L})}),e(re,{children:v(J)}),e(U,{children:F(u)}),e(q,{item:r}),e(M,{children:H(h)})]})}),qt=a.memo(function({active:n,logEntry:{id:s,name:i,level:o,started:l,duration:h,item:u,details:r,expanded:p}}){const C=A(G);return c(f,{children:[e(Y,{id:s,active:n,pending:r?.status==="pending",expandable:!0,expanded:p}),r?.kind==="introspection"?c(f,{children:[e(be,{status:r.status,statusCode:r.statusCode}),e(O,{children:e(b,{color:"info",label:r.method})}),e(E,{children:e(y,{text:i?.length?i+": "+r.uri:r.uri,highlightedText:C})}),e(oe,{children:e(pe,{status:r.status,statusCode:r.statusCode})}),e(re,{children:v(r.contentLength)}),e(U,{children:F(h)}),e(q,{item:u}),e(M,{children:H(l)})]}):c(f,{children:[e(Ce,{level:o}),e(O,{children:e(Le,{level:o})}),e(E,{children:e(y,{text:i,highlightedText:C})}),e(U,{children:F(h)}),e(q,{item:u}),e(M,{children:H(l)})]})]})});function be({status:t,statusCode:n}){return t==="pending"?e(m,{children:e(ie,{})}):t==="cancelled"?e(m,{children:e(Je,{})}):!n||n>=300?e(m,{children:e(ee,{})}):e(m,{children:e(Ie,{})})}const Ot=a.memo(function({active:n,logEntry:{id:s,status:i,started:o,duration:l,item:h,protocol:u,uri:r,contentLength:p}}){return c(f,{children:[e(Y,{id:s,active:n}),e(Pt,{status:i}),e(O,{children:e(b,{color:"info",label:ue(u)})}),e(E,{children:e(y,{text:r,highlightedText:A(G)})}),e(oe,{children:e(he,{status:i})}),e(re,{children:v(p)}),e(U,{children:F(l)}),e(q,{item:h}),e(M,{children:H(o)})]})});function Pt({status:t}){return t==="pending"?e(m,{children:e(ie,{})}):t==="failed"?e(m,{children:e(ee,{})}):e(m,{children:e(Ie,{})})}function Y({id:t,active:n,pending:s,expandable:i,expanded:o}){const l=Ue(),h=We(),u=a.useCallback(r=>{i&&(r.stopPropagation(),o?l(t):h(t))},[t,i,o,l,h]);return e(m,{onClick:u,children:s?e(Ke,{}):i?o?e(Re,{}):e(Ve,{}):n?e(je,{}):e(Ye,{})})}function At({active:t,last:n}){return e(m,{children:n?t?e(Ze,{}):e(et,{}):t?e(tt,{}):e(nt,{})})}function q({item:t}){return e(zt,{children:t&&c(f,{children:[e(m,{children:e($t,{kind:t.kind})}),e(Bt,{children:t.name})]})})}function $t({kind:t}){if(!t)return e(x,{});switch(t){case Me:case He:return e(ct,{});case Ee:case ye:case Ne:return e(at,{});case _e:return e(rt,{});case xe:case ve:return e(ot,{});case we:return e(it,{});case De:return e(st,{});default:return S()}}const zt=D("div")(({theme:t})=>w`
1
+ import{b as a,bN as e,cL as de,cK as ke,c0 as c,s as D,c2 as f,dL as Re,I as w,b1 as De,a$ as we,be as ve,aV as xe,ba as _e,bb as Ne,aW as ye,aX as Ee,b3 as He,aY as Me,dc as P}from"./main.95a3312f.BRTlRA7j.js";import{u as qe,a as Oe,b as Pe,c as A,d as Ae,e as $e,f as S,L as ze,g as Be,V as Ge,N as Fe,C as b,h as ue,H as y,i as E,S as he,j as v,k as F,T as U,l as H,m as M,n as pe,o as Ue,p as We,q as Ke,r as Ve,s as je,t as Ye,v as m,F as ee,w as Ie,x as Je,I as Qe,y as _,W as Xe,z as Ze,A as et,B as tt,D as nt,E as st,M as it,G as ot,J as rt,K as at,O as ct,P as V,Q as k,R as $,U as te,X as z,Y as g,Z as j,_ as Z,$ as W,a0 as N,a1 as fe,a2 as me,a3 as ge,a4 as K,a5 as ne,a6 as T,a7 as se,a8 as lt,a9 as dt,aa as ut,ab as ht,ac as pt,ad as It,ae as ft,af as mt,ag as gt,ah as Ct,ai as Lt,aj as bt,ak as Tt,al as St,am as kt,an as Rt,ao as Dt,ap as wt,aq as vt,ar as xt,as as _t,at as Nt}from"./context-providers.95a3312f.9yodJLld.js";import"./monaco.95a3312f.o2zwpORe.js";const x=a.forwardRef((t,n)=>e(de,{ref:n,icon:"go-to-file",...t}));x.displayName="GoToItemIcon";const ie=a.forwardRef((t,n)=>e(de,{ref:n,icon:"play-circle",fill:ke.states.info,...t}));ie.displayName="RunningIcon";function B(){const t=qe(),n=Oe();return a.useCallback(async(s,i)=>{await n(s),i&&t(s,i,void 0)},[t,n])}const G="log";function yt(){const t=Pe(),n=A(G).toLocaleLowerCase(),s=a.useRef(null),i=a.useRef(t),o=a.useRef(t.followNewest),l=a.useRef(!0),h=Ae(),u=B(),r=$e(),p={activeId:t.activeId,activeChildId:t.activeChildId,entries:t.entries.filter(d=>{const{kind:I}=d;switch(I){case"basic":return d.message.toLocaleLowerCase().includes(n);case"http-request":return d.name?.toLocaleLowerCase().includes(n)||d.uri.toLocaleLowerCase().includes(n);case"scope":return d.name.includes(n)||d.details?.uri?.toLocaleLowerCase().includes(n);case"subscription-request":return d.uri.toLocaleLowerCase().includes(n);default:return S()}})};i.current=t,o.current=t.followNewest;const C=a.useCallback(d=>{l.current=!1,d.kind==="http-request"&&d.scopeId?h(d.scopeId,d.id):h(d.id)},[h]),L=a.useCallback(async d=>{d.item?.id&&await u(d.item.id,d.id)},[u]),J=a.useCallback(d=>{const{scrollTop:I,clientHeight:R,scrollHeight:Se}=d.currentTarget;l.current=!0,o.current=Se-R<=Math.ceil(I),r(o.current)},[r]),Q=a.useCallback(d=>{if(s.current=d,s.current&&i.current.entries.length){const I=i.current.activeId?i.current.entries.findIndex(({id:R})=>R===i.current.activeId):-1;I===-1?s.current.scrollToIndex({index:i.current.entries.length-1,align:"end"}):s.current.scrollToIndex({index:I,align:"end"})}},[]);a.useLayoutEffect(()=>{o.current&&s.current&&p.entries.length&&s.current.scrollToIndex({index:p.entries.length-1,align:"end"})},[p.entries.length]),a.useLayoutEffect(()=>{if(l.current&&!o.current&&t.activeId&&s.current&&i.current){const d=i.current.entries.findIndex(({id:I})=>I===t.activeId);d!==-1&&s.current.scrollToIndex({index:d,align:"end"})}l.current=!0},[t.activeId]),a.useEffect(()=>()=>r(!0),[r]);const Te=a.useCallback((d,I)=>{const R=I.kind==="http-request"&&I.scopeId?I.id===p.activeChildId&&I.scopeId===p.activeId:I.id===p.activeId;return e(ze,{onClick:()=>C(I),onDoubleClick:()=>L(I),className:R?"active":void 0,children:e(Et,{active:R,logEntry:I})})},[p.activeId,p.activeChildId,C,L]);return p.entries.length?e(Ge,{innerListRef:Q,data:p.entries,computeItemKey:d=>`log-entry-${d}`,fixedItemSize:Be,tabIndex:-1,onScrollVirtualList:J,itemContent:Te}):e(Fe,{isFilterActive:!!n})}const Et=a.memo(function({active:n,logEntry:s}){const{kind:i}=s;switch(i){case"basic":return e(Ht,{active:n,logEntry:s});case"http-request":return e(Mt,{active:n,logEntry:s});case"scope":return e(qt,{active:n,logEntry:s});case"subscription-request":return e(Ot,{active:n,logEntry:s});default:return S()}}),Ht=a.memo(function({active:n,logEntry:{id:s,level:i,message:o,timestamp:l,item:h}}){return c(f,{children:[e(Y,{id:s,active:n}),e(Ce,{level:i}),e(O,{children:e(Le,{level:i})}),e(E,{children:e(y,{text:o,highlightedText:A(G)})}),e(q,{item:h}),e(M,{children:H(l)})]})});function Ce({level:t}){switch(t){case _.warning:return e(m,{children:e(Xe,{})});case _.error:return e(m,{children:e(ee,{})});default:return e(m,{children:e(Qe,{})})}}const Le=a.memo(function({level:n}){switch(n){case _.error:return e(b,{color:"error",label:"ERR"});case _.info:return e(b,{color:"info",label:"INFO"});case _.warning:return e(b,{color:"warning",label:"WARN"});default:return S()}}),Mt=a.memo(function({active:n,logEntry:{id:s,scopeId:i,status:o,name:l,started:h,duration:u,item:r,uri:p,method:C,statusCode:L,contentLength:J,lastChild:Q}}){return c(f,{children:[i?e(At,{active:n,last:Q??!1}):e(Y,{id:s,active:n,pending:o==="pending"}),e(be,{status:o,statusCode:L}),e(O,{children:e(b,{color:"info",label:C})}),e(E,{children:e(y,{text:l?.length?l+": "+p:p,highlightedText:A(G)})}),e(oe,{children:e(pe,{status:o,statusCode:L})}),e(re,{children:v(J)}),e(U,{children:F(u)}),e(q,{item:r}),e(M,{children:H(h)})]})}),qt=a.memo(function({active:n,logEntry:{id:s,name:i,level:o,started:l,duration:h,item:u,details:r,expanded:p}}){const C=A(G);return c(f,{children:[e(Y,{id:s,active:n,pending:r?.status==="pending",expandable:!0,expanded:p}),r?.kind==="introspection"?c(f,{children:[e(be,{status:r.status,statusCode:r.statusCode}),e(O,{children:e(b,{color:"info",label:r.method})}),e(E,{children:e(y,{text:i?.length?i+": "+r.uri:r.uri,highlightedText:C})}),e(oe,{children:e(pe,{status:r.status,statusCode:r.statusCode})}),e(re,{children:v(r.contentLength)}),e(U,{children:F(h)}),e(q,{item:u}),e(M,{children:H(l)})]}):c(f,{children:[e(Ce,{level:o}),e(O,{children:e(Le,{level:o})}),e(E,{children:e(y,{text:i,highlightedText:C})}),e(U,{children:F(h)}),e(q,{item:u}),e(M,{children:H(l)})]})]})});function be({status:t,statusCode:n}){return t==="pending"?e(m,{children:e(ie,{})}):t==="cancelled"?e(m,{children:e(Je,{})}):!n||n>=300?e(m,{children:e(ee,{})}):e(m,{children:e(Ie,{})})}const Ot=a.memo(function({active:n,logEntry:{id:s,status:i,started:o,duration:l,item:h,protocol:u,uri:r,contentLength:p}}){return c(f,{children:[e(Y,{id:s,active:n}),e(Pt,{status:i}),e(O,{children:e(b,{color:"info",label:ue(u)})}),e(E,{children:e(y,{text:r,highlightedText:A(G)})}),e(oe,{children:e(he,{status:i})}),e(re,{children:v(p)}),e(U,{children:F(l)}),e(q,{item:h}),e(M,{children:H(o)})]})});function Pt({status:t}){return t==="pending"?e(m,{children:e(ie,{})}):t==="failed"?e(m,{children:e(ee,{})}):e(m,{children:e(Ie,{})})}function Y({id:t,active:n,pending:s,expandable:i,expanded:o}){const l=Ue(),h=We(),u=a.useCallback(r=>{i&&(r.stopPropagation(),o?l(t):h(t))},[t,i,o,l,h]);return e(m,{onClick:u,children:s?e(Ke,{}):i?o?e(Re,{}):e(Ve,{}):n?e(je,{}):e(Ye,{})})}function At({active:t,last:n}){return e(m,{children:n?t?e(Ze,{}):e(et,{}):t?e(tt,{}):e(nt,{})})}function q({item:t}){return e(zt,{children:t&&c(f,{children:[e(m,{children:e($t,{kind:t.kind})}),e(Bt,{children:t.name})]})})}function $t({kind:t}){if(!t)return e(x,{});switch(t){case Me:case He:return e(ct,{});case Ee:case ye:case Ne:return e(at,{});case _e:return e(rt,{});case xe:case ve:return e(ot,{});case we:return e(it,{});case De:return e(st,{});default:return S()}}const zt=D("div")(({theme:t})=>w`
2
2
  display: flex;
3
3
  flex: 0 0 ${t.spacing(100)};
4
4
  flex-direction: row;