@chillicream/nitro-embedded 32.0.1 → 32.0.2

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.af358442.L6HRWLsq.js → context-providers.cbb9dd2a.cIEPV5um.js} +6 -6
  2. package/assets/{editor.worker.af358442.v0iaGZSm.js → editor.worker.cbb9dd2a.bpPxd4HN.js} +1 -1
  3. package/assets/{graphql-engine-scheduler.af358442.X41z7Glg.js → graphql-engine-scheduler.cbb9dd2a.wOPnKfNr.js} +3 -3
  4. package/assets/{graphql-indexer-scheduler.af358442.HDfUZTEA.js → graphql-indexer-scheduler.cbb9dd2a.CG604HRm.js} +2 -2
  5. package/assets/{graphql.worker.af358442.De-JUNf0.js → graphql.worker.cbb9dd2a.xpDyakfn.js} +1 -1
  6. package/assets/{index.af358442.CBE7L1tx.js → index.cbb9dd2a.vQhlIpdT.js} +1 -1
  7. package/assets/{json.worker.af358442.DW0uoc6x.js → json.worker.cbb9dd2a.DzqSgOmm.js} +1 -1
  8. package/assets/{jsonMode.af358442.D_T9q_zY.js → jsonMode.cbb9dd2a.CASrsvge.js} +1 -1
  9. package/assets/{main.af358442.BtoGS3h2.js → main.cbb9dd2a.ChRcIDX9.js} +4 -4
  10. package/assets/{monaco.af358442.EzLMkAv9.css → monaco.cbb9dd2a.1cPGLvp7.css} +1 -1
  11. package/assets/{monaco.af358442.BppfOwyk.css → monaco.cbb9dd2a.gxBQgwYh.css} +1 -1
  12. package/assets/{monaco.af358442.Dp6dtAbQ.js → monaco.cbb9dd2a.lpARKB0G.js} +2 -2
  13. package/assets/{session-scheduler.af358442.Dh9Cs0Tu.js → session-scheduler.cbb9dd2a.DNSZrB_J.js} +1 -1
  14. package/assets/{yaml.af358442.CdIo49Ee.js → yaml.cbb9dd2a.r5d-htbt.js} +1 -1
  15. package/assets/{yaml.worker.af358442.pUNszxRM.js → yaml.worker.cbb9dd2a.FMre_zZ7.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.af358442.-YTCSZkP.woff2 → FiraCode-Medium.cbb9dd2a.-YTCSZkP.woff2} +0 -0
  20. /package/assets/{codicon.af358442.Hscy-R9e.ttf → codicon.cbb9dd2a.Hscy-R9e.ttf} +0 -0
  21. /package/assets/{context-providers.af358442.3HkX5s82.css → context-providers.cbb9dd2a.3HkX5s82.css} +0 -0
  22. /package/assets/{main.af358442.BdMtxJz7.css → main.cbb9dd2a.BdMtxJz7.css} +0 -0
  23. /package/assets/{monaco.af358442.BO10LLSO.js → monaco.cbb9dd2a.B1Kqe1Kf.js} +0 -0
  24. /package/assets/{monaco.af358442.DebZM0yg.js → monaco.cbb9dd2a.C_OHPGWO.js} +0 -0
  25. /package/assets/{monaco.af358442.fH51QxJ-.js → monaco.cbb9dd2a.D4ai2qOB.js} +0 -0
  26. /package/assets/{monaco.af358442.BEzTSdvi.js → monaco.cbb9dd2a.D85_ONb-.js} +0 -0
  27. /package/assets/{monaco.af358442.e3J4IGMh.js → monaco.cbb9dd2a.D_5Blgsx.js} +0 -0
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.af358442.CBE7L1tx.js","./main.af358442.BtoGS3h2.js","./monaco.af358442.Dp6dtAbQ.js","./monaco.af358442.EzLMkAv9.css","./main.af358442.BdMtxJz7.css"])))=>i.map(i=>d[i]);
2
- import{g as Pf,c as uXe,r as NM,u as kW,a as dXe,b as m,R as fXe,d as Mt,e as $we,j,f as Ie,h as $e,i as dn,k as pXe,l as Kwe,T as SW,G as Vwe,m as un,n as An,s as W,o as Re,p as En,q as Ee,t as KE,v as gXe,w as Sc,x as mae,y as Nf,z as Pt,A as oa,C as Dl,B as wf,D as ta,E as Bwe,F as Vs,H as CW,I as ce,J as aC,K as mXe,L as hXe,M as ji,N as og,O as yXe,P as bi,Q as vXe,S as hae,U as JI,V as bXe,W as kXe,X as r3,Y as SXe,Z as wW,_ as ns,$ as mf,a0 as bu,a1 as fy,a2 as OM,a3 as RD,a4 as MM,a5 as Yw,a6 as Gi,a7 as $M,a8 as CXe,a9 as TW,aa as FW,ab as LD,ac as EW,ad as wXe,ae as aT,af as KM,ag as Uwe,ah as zwe,ai as TXe,aj as Hwe,ak as jwe,al as yae,am as Gwe,an as qwe,ao as PD,ap as FXe,aq as EXe,ar as IXe,as as xXe,at as IW,au as ic,av as HL,aw as jL,ax as DXe,ay as Ts,az as _Xe,aA as AXe,aB as xW,aC as RXe,aD as oc,aE as Ht,aF as wd,aG as VM,aH as Wwe,aI as DW,aJ as iT,aK as ND,aL as OD,aM as oT,aN as xu,aO as LXe,aP as MD,aQ as BM,aR as $D,aS as wi,aT as nk,aU as el,aV as Td,aW as fi,aX as pi,aY as Ka,aZ as PXe,a_ as Wk,a$ as Cc,b0 as Qwe,b1 as To,b2 as Qk,b3 as _W,b4 as AW,b5 as au,b6 as NXe,b7 as py,b8 as RW,b9 as UM,ba as zM,bb as LW,bc as Ywe,bd as yp,be as PW,bf as lT,bg as wc,bh as HM,bi as OXe,bj as bm,bk as Oy,bl as Xwe,bm as NW,bn as jM,bo as MXe,bp as Jwe,bq as dN,br as GM,bs as Zwe,bt as e0e,bu as My,bv as n0e,bw as qM,bx as $Xe,by as KXe,bz as t0e,bA as VXe,bB as $r,bC as BXe,bD as UXe,bE as zXe,bF as ZI,bG as HXe,bH as Mb,bI as pI,bJ as fN,bK as jXe,bL as OW,bM as pN,bN as d,bO as Qe,bP as GXe,bQ as qXe,bR as WXe,bS as MW,bT as r0e,bU as Hr,bV as sT,bW as Bm,bX as KD,bY as $W,bZ as KW,b_ as QXe,b$ as Of,c0 as G,c1 as Kl,c2 as ve,c3 as Nr,c4 as VW,c5 as a0e,c6 as vae,c7 as i0e,c8 as YXe,c9 as Ba,ca as o0e,cb as Wn,cc as zn,cd as Li,ce as l0e,cf as lg,cg as XXe,ch as JXe,ci as ex,cj as ZXe,ck as s0e,cl as eJe,cm as Ll,cn as c0e,co as u0e,cp as lr,cq as d0e,cr as nJe,cs as nx,ct as tJe,cu as f0e,cv as rJe,cw as BW,cx as aJe,cy as Oo,cz as iJe,cA as oJe,cB as UW,cC as Um,cD as lJe,cE as p0e,cF as sJe,cG as VD,cH as zW,cI as g0e,cJ as tx,cK as X,cL as sn,cM as $y,cN as cJe,cO as uJe,cP as dJe,cQ as uj,cR as a3,cS as dj,cT as fJe,cU as pJe,cV as gJe,cW as mJe,cX as fj,cY as hJe,cZ as yJe,c_ as vJe,c$ as m0e,d0 as GL,d1 as pj,d2 as Tf,d3 as sg,d4 as Io,d5 as Du,d6 as zm,d7 as fc,d8 as bJe,d9 as cg,da as BD,db as rx,dc as Vl,dd as Wr,de as h0e,df as It,dg as HW,dh as kJe,di as gN,dj as SJe,dk as jW,dl as GW,dm as ln,dn as y0e,dp as Bs,dq as ug,dr as si,ds as CJe,dt as v0e,du as wJe,dv as b0e,dw as TJe,dx as k0e,dy as Ky,dz as FJe,dA as S0e,dB as mN,dC as EJe,dD as qW,dE as Ne,dF as bae,dG as IJe,dH as xJe,dI as WW,dJ as gj,dK as WM,dL as Vy,dM as Hg,dN as hN,dO as C0e,dP as DJe,dQ as QM,dR as _Je,dS as w0e,dT as T0e,dU as zt,dV as AJe,dW as RJe,dX as LJe,dY as PJe,dZ as NJe,d_ as F0e,d$ as OJe,e0 as qi,e1 as MJe,e2 as $Je,e3 as KJe,e4 as ax,e5 as Fa,e6 as tk,e7 as VJe,e8 as BJe,e9 as E0e,ea as I0e,eb as ix,ec as i3,ed as x0e,ee as D0e,ef as UJe,eg as o3,eh as pc,ei as _0e,ej as zJe,ek as HJe,el as jJe,em as GJe,en as Tc,eo as UD,ep as QW,eq as zD,er as HD,es as cT,et as tc,eu as Jr,ev as rc,ew as Zr,ex as Hu,ey as Qo,ez as ac,eA as aa,eB as mp,eC as ib,eD as qJe,eE as WJe,eF as QJe,eG as qL,eH as YJe,eI as XJe,eJ as kae,eK as JJe,eL as ZJe,eM as eZe,eN as nZe,eO as tZe}from"./main.af358442.BtoGS3h2.js";import{B as A0e,e as Ut,R as uT,H as rZe,l as ci,K as $g,b as gh,m as aZe,M as Dp,P as dT,_ as iZe,E as oZe}from"./monaco.af358442.Dp6dtAbQ.js";const jD="Accept",lZe="Accept-Encoding",fT="Authorization",By="Content-Type",mw="Fusion-Operation-Plan",R0e="Origin",sZe="Set-Cookie",cZe="User-Agent",YW="Unknown",uZe="Unknown",dZe="Unknown",GD="document",fZe="operation-builder",L0e="environment",XW="history",pZe="personal",YM="personal";var l3={exports:{}},s3,Sae;function gZe(){if(Sae)return s3;Sae=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return s3=e,s3}var c3,Cae;function mZe(){if(Cae)return c3;Cae=1;var e=gZe();function n(){}function t(){}return t.resetWarningCache=n,c3=function(){function r(o,l,s,c,u,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function a(){return r}var 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},c3}var wae;function hZe(){return wae||(wae=1,l3.exports=mZe()()),l3.exports}var yZe=hZe();const se=Pf(yZe),Zt=uXe();function JW(e){const{theme:n,name:t,props:r}=e;return!n||!n.components||!n.components[t]||!n.components[t].defaultProps?r:NM(n.components[t].defaultProps,r)}function P0e({props:e,name:n,defaultTheme:t,themeId:r}){let a=kW(t);return r&&(a=a[r]||a),JW({theme:a,name:n,props:e})}function vZe(e,n,t,r,a){const[i,o]=m.useState(()=>a&&t?t(e).matches:r?r(e).matches:n);return Mt(()=>{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 bZe={...fXe},N0e=bZe.useSyncExternalStore;function kZe(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,f=>(u.addEventListener("change",f),()=>{u.removeEventListener("change",f)})]},[i,t,e]);return N0e(s,l,o)}function O0e(e={}){const{themeId:n}=e;return function(r,a={}){let i=dXe();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}=JW({name:"MuiUseMediaQuery",props:a,theme:i});let f=typeof r=="function"?r(i):r;return f=f.replace(/^@media( ?)/m,""),f.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.cbb9dd2a.vQhlIpdT.js","./main.cbb9dd2a.ChRcIDX9.js","./monaco.cbb9dd2a.lpARKB0G.js","./monaco.cbb9dd2a.1cPGLvp7.css","./main.cbb9dd2a.BdMtxJz7.css"])))=>i.map(i=>d[i]);
2
+ import{g as Pf,c as uXe,r as NM,u as kW,a as dXe,b as m,R as fXe,d as Mt,e as $we,j,f as Ie,h as $e,i as dn,k as pXe,l as Kwe,T as SW,G as Vwe,m as un,n as An,s as W,o as Re,p as En,q as Ee,t as KE,v as gXe,w as Sc,x as mae,y as Nf,z as Pt,A as oa,C as Dl,B as wf,D as ta,E as Bwe,F as Vs,H as CW,I as ce,J as aC,K as mXe,L as hXe,M as ji,N as og,O as yXe,P as bi,Q as vXe,S as hae,U as JI,V as bXe,W as kXe,X as r3,Y as SXe,Z as wW,_ as ns,$ as mf,a0 as bu,a1 as fy,a2 as OM,a3 as RD,a4 as MM,a5 as Yw,a6 as Gi,a7 as $M,a8 as CXe,a9 as TW,aa as FW,ab as LD,ac as EW,ad as wXe,ae as aT,af as KM,ag as Uwe,ah as zwe,ai as TXe,aj as Hwe,ak as jwe,al as yae,am as Gwe,an as qwe,ao as PD,ap as FXe,aq as EXe,ar as IXe,as as xXe,at as IW,au as ic,av as HL,aw as jL,ax as DXe,ay as Ts,az as _Xe,aA as AXe,aB as xW,aC as RXe,aD as oc,aE as Ht,aF as wd,aG as VM,aH as Wwe,aI as DW,aJ as iT,aK as ND,aL as OD,aM as oT,aN as xu,aO as LXe,aP as MD,aQ as BM,aR as $D,aS as wi,aT as nk,aU as el,aV as Td,aW as fi,aX as pi,aY as Ka,aZ as PXe,a_ as Wk,a$ as Cc,b0 as Qwe,b1 as To,b2 as Qk,b3 as _W,b4 as AW,b5 as au,b6 as NXe,b7 as py,b8 as RW,b9 as UM,ba as zM,bb as LW,bc as Ywe,bd as yp,be as PW,bf as lT,bg as wc,bh as HM,bi as OXe,bj as bm,bk as Oy,bl as Xwe,bm as NW,bn as jM,bo as MXe,bp as Jwe,bq as dN,br as GM,bs as Zwe,bt as e0e,bu as My,bv as n0e,bw as qM,bx as $Xe,by as KXe,bz as t0e,bA as VXe,bB as $r,bC as BXe,bD as UXe,bE as zXe,bF as ZI,bG as HXe,bH as Mb,bI as pI,bJ as fN,bK as jXe,bL as OW,bM as pN,bN as d,bO as Qe,bP as GXe,bQ as qXe,bR as WXe,bS as MW,bT as r0e,bU as Hr,bV as sT,bW as Bm,bX as KD,bY as $W,bZ as KW,b_ as QXe,b$ as Of,c0 as G,c1 as Kl,c2 as ve,c3 as Nr,c4 as VW,c5 as a0e,c6 as vae,c7 as i0e,c8 as YXe,c9 as Ba,ca as o0e,cb as Wn,cc as zn,cd as Li,ce as l0e,cf as lg,cg as XXe,ch as JXe,ci as ex,cj as ZXe,ck as s0e,cl as eJe,cm as Ll,cn as c0e,co as u0e,cp as lr,cq as d0e,cr as nJe,cs as nx,ct as tJe,cu as f0e,cv as rJe,cw as BW,cx as aJe,cy as Oo,cz as iJe,cA as oJe,cB as UW,cC as Um,cD as lJe,cE as p0e,cF as sJe,cG as VD,cH as zW,cI as g0e,cJ as tx,cK as X,cL as sn,cM as $y,cN as cJe,cO as uJe,cP as dJe,cQ as uj,cR as a3,cS as dj,cT as fJe,cU as pJe,cV as gJe,cW as mJe,cX as fj,cY as hJe,cZ as yJe,c_ as vJe,c$ as m0e,d0 as GL,d1 as pj,d2 as Tf,d3 as sg,d4 as Io,d5 as Du,d6 as zm,d7 as fc,d8 as bJe,d9 as cg,da as BD,db as rx,dc as Vl,dd as Wr,de as h0e,df as It,dg as HW,dh as kJe,di as gN,dj as SJe,dk as jW,dl as GW,dm as ln,dn as y0e,dp as Bs,dq as ug,dr as si,ds as CJe,dt as v0e,du as wJe,dv as b0e,dw as TJe,dx as k0e,dy as Ky,dz as FJe,dA as S0e,dB as mN,dC as EJe,dD as qW,dE as Ne,dF as bae,dG as IJe,dH as xJe,dI as WW,dJ as gj,dK as WM,dL as Vy,dM as Hg,dN as hN,dO as C0e,dP as DJe,dQ as QM,dR as _Je,dS as w0e,dT as T0e,dU as zt,dV as AJe,dW as RJe,dX as LJe,dY as PJe,dZ as NJe,d_ as F0e,d$ as OJe,e0 as qi,e1 as MJe,e2 as $Je,e3 as KJe,e4 as ax,e5 as Fa,e6 as tk,e7 as VJe,e8 as BJe,e9 as E0e,ea as I0e,eb as ix,ec as i3,ed as x0e,ee as D0e,ef as UJe,eg as o3,eh as pc,ei as _0e,ej as zJe,ek as HJe,el as jJe,em as GJe,en as Tc,eo as UD,ep as QW,eq as zD,er as HD,es as cT,et as tc,eu as Jr,ev as rc,ew as Zr,ex as Hu,ey as Qo,ez as ac,eA as aa,eB as mp,eC as ib,eD as qJe,eE as WJe,eF as QJe,eG as qL,eH as YJe,eI as XJe,eJ as kae,eK as JJe,eL as ZJe,eM as eZe,eN as nZe,eO as tZe}from"./main.cbb9dd2a.ChRcIDX9.js";import{B as A0e,e as Ut,R as uT,H as rZe,l as ci,K as $g,b as gh,m as aZe,M as Dp,P as dT,_ as iZe,E as oZe}from"./monaco.cbb9dd2a.lpARKB0G.js";const jD="Accept",lZe="Accept-Encoding",fT="Authorization",By="Content-Type",mw="Fusion-Operation-Plan",R0e="Origin",sZe="Set-Cookie",cZe="User-Agent",YW="Unknown",uZe="Unknown",dZe="Unknown",GD="document",fZe="operation-builder",L0e="environment",XW="history",pZe="personal",YM="personal";var l3={exports:{}},s3,Sae;function gZe(){if(Sae)return s3;Sae=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return s3=e,s3}var c3,Cae;function mZe(){if(Cae)return c3;Cae=1;var e=gZe();function n(){}function t(){}return t.resetWarningCache=n,c3=function(){function r(o,l,s,c,u,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function a(){return r}var 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},c3}var wae;function hZe(){return wae||(wae=1,l3.exports=mZe()()),l3.exports}var yZe=hZe();const se=Pf(yZe),Zt=uXe();function JW(e){const{theme:n,name:t,props:r}=e;return!n||!n.components||!n.components[t]||!n.components[t].defaultProps?r:NM(n.components[t].defaultProps,r)}function P0e({props:e,name:n,defaultTheme:t,themeId:r}){let a=kW(t);return r&&(a=a[r]||a),JW({theme:a,name:n,props:e})}function vZe(e,n,t,r,a){const[i,o]=m.useState(()=>a&&t?t(e).matches:r?r(e).matches:n);return Mt(()=>{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 bZe={...fXe},N0e=bZe.useSyncExternalStore;function kZe(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,f=>(u.addEventListener("change",f),()=>{u.removeEventListener("change",f)})]},[i,t,e]);return N0e(s,l,o)}function O0e(e={}){const{themeId:n}=e;return function(r,a={}){let i=dXe();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}=JW({name:"MuiUseMediaQuery",props:a,theme:i});let f=typeof r=="function"?r(i):r;return f=f.replace(/^@media( ?)/m,""),f.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
3
3
  `)),(N0e!==void 0?kZe:vZe)(f,l,s,c,u)}}O0e();function gI(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const SZe=(e,n)=>e.filter(t=>n.includes(t)),pT=(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:SZe(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 yN(e){return`--Grid-${e}Spacing`}function XM(e){return`--Grid-parent-${e}Spacing`}const Tae="--Grid-columns",hw="--Grid-parent-columns",CZe=({theme:e,ownerState:n})=>{const t={};return pT(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(${hw}) - (var(${hw}) - ${a}) * (var(${XM("column")}) / var(${hw})))`}),r(t,i)}),t},wZe=({theme:e,ownerState:n})=>{const t={};return pT(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(${hw}) + var(${XM("column")}) * ${a} / var(${hw}))`}),r(t,i)}),t},TZe=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={[Tae]:12};return pT(e.breakpoints,n.columns,(r,a)=>{const i=a??12;r(t,{[Tae]:i,"> *":{[hw]:i}})}),t},FZe=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return pT(e.breakpoints,n.rowSpacing,(r,a)=>{const i=typeof a=="string"?a:e.spacing?.(a);r(t,{[yN("row")]:i,"> *":{[XM("row")]:i}})}),t},EZe=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return pT(e.breakpoints,n.columnSpacing,(r,a)=>{const i=typeof a=="string"?a:e.spacing?.(a);r(t,{[yN("column")]:i,"> *":{[XM("column")]:i}})}),t},IZe=({theme:e,ownerState:n})=>{if(!n.container)return{};const t={};return pT(e.breakpoints,n.direction,(r,a)=>{r(t,{flexDirection:a})}),t},xZe=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`var(${yN("row")}) var(${yN("column")})`}}),DZe=e=>{const n=[];return Object.entries(e).forEach(([t,r])=>{r!==!1&&r!==void 0&&n.push(`grid-${t}-${String(r)}`)}),n},_Ze=(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[]},AZe=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([n,t])=>`direction-${n}-${t}`):[`direction-xs-${String(e)}`];function RZe(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 LZe=pXe(),PZe=Zt("div",{name:"MuiGrid",slot:"Root"});function NZe(e){return P0e({props:e,name:"MuiGrid",defaultTheme:LZe})}function OZe(e={}){const{createStyledComponent:n=PZe,useThemeProps:t=NZe,useTheme:r=kW,componentName:a="MuiGrid"}=e,i=(c,u)=>{const{container:f,direction:p,spacing:g,wrap:h,size:y}=c,v={root:["root",f&&"container",h!=="wrap"&&`wrap-xs-${String(h)}`,...AZe(p),...DZe(y),...f?_Ze(g,u.breakpoints.keys[0]):[]]};return $e(v,b=>dn(a,b),{})};function o(c,u,f=()=>!0){const p={};return c===null||(Array.isArray(c)?c.forEach((g,h)=>{g!==null&&f(g)&&u.keys[h]&&(p[u.keys[h]]=g)}):typeof c=="object"?Object.keys(c).forEach(g=>{const h=c[g];h!=null&&f(h)&&(p[g]=h)}):p[u.keys[0]]=c),p}const l=n(TZe,EZe,FZe,CZe,IZe,xZe,wZe),s=m.forwardRef(function(u,f){const p=r(),g=t(u),h=$we(g);RZe(h,p.breakpoints);const{className:y,children:v,columns:b=12,container:k=!1,component:S="div",direction:w="row",wrap:C="wrap",size:T={},offset:E={},spacing:I=0,rowSpacing:F=I,columnSpacing:x=I,unstable_level:D=0,..._}=h,A=o(T,p.breakpoints,L=>L!==!1),R=o(E,p.breakpoints),N=u.columns??(D?void 0:b),M=u.spacing??(D?void 0:I),z=u.rowSpacing??u.spacing??(D?void 0:F),K=u.columnSpacing??u.spacing??(D?void 0:x),P={...h,level:D,columns:N,container:k,direction:w,wrap:C,spacing:M,rowSpacing:z,columnSpacing:K,size:A,offset:R},O=i(P,p);return j.jsx(l,{ref:f,as:S,ownerState:P,className:Ie(O.root,y),..._,children:m.Children.map(v,L=>m.isValidElement(L)&&gI(L,["Grid"])&&k&&L.props.container?m.cloneElement(L,{unstable_level:L.props?.unstable_level??D+1}):L)})});return s.muiName="Grid",s}function MZe(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function $Ze(e){return parseFloat(e)}function cl(){const e=kW(Kwe);return e[SW]||e}function ka({props:e,name:n}){return P0e({props:e,name:n,defaultTheme:Kwe,themeId:SW})}function Fae(...e){return e.reduce((n,t)=>t==null?n:function(...a){n.apply(this,a),t.apply(this,a)},()=>{})}function KZe(e){return function(t){return j.jsx(Vwe,{styles:typeof e=="function"?r=>e({theme:r,...t}):e})}}function VZe(){return $we}function BZe(e){return dn("MuiSvgIcon",e)}un("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const UZe=e=>{const{color:n,fontSize:t,classes:r}=e,a={root:["root",n!=="inherit"&&`color${Re(n)}`,`fontSize${Re(t)}`]};return $e(a,BZe,r)},zZe=W("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)}`]]}})(En(({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}}]}))),vN=m.forwardRef(function(n,t){const r=An({props:n,name:"MuiSvgIcon"}),{children:a,className:i,color:o="inherit",component:l="svg",fontSize:s="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:p="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:p,hasSvgAsChild:h},v={};u||(v.viewBox=p);const b=UZe(y);return j.jsxs(zZe,{as:l,className:Ie(b.root,i),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:t,...v,...g,...h&&a.props,ownerState:y,children:[h?a.props.children:a,f?j.jsx("title",{children:f}):null]})});vN.muiName="SvgIcon";function Ha(e,n){function t(r,a){return j.jsx(vN,{"data-testid":void 0,ref:a,...r,children:e})}return t.muiName=vN.muiName,m.memo(m.forwardRef(t))}function fd(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 sa(e){return e&&e.ownerDocument||document}function ku(e){return sa(e).defaultView||window}function mj(e,n){typeof e=="function"?e(n):e&&(e.current=n)}function cu(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 je(e){const n=m.useRef(e);return Mt(()=>{n.current=e}),m.useRef((...t)=>(0,n.current)(...t)).current}function lt(...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 HZe(e,n){const t=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&t>=65&&t<=90&&typeof n=="function"}function ZW(e,n){if(!e)return n;function t(o,l){const s={};return Object.keys(l).forEach(c=>{HZe(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 bN(){return bN=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},bN.apply(this,arguments)}function eQ(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 hj(e,n){return hj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},hj(e,n)}function nQ(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,hj(e,n)}function jZe(e,n){return e.classList?!!n&&e.classList.contains(n):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+n+" ")!==-1}function GZe(e,n){e.classList?e.classList.add(n):jZe(e,n)||(typeof e.className=="string"?e.className=e.className+" "+n:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+n))}function Eae(e,n){return e.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function qZe(e,n){e.classList?e.classList.remove(n):typeof e.className=="string"?e.className=Eae(e.className,n):e.setAttribute("class",Eae(e.className&&e.className.baseVal||"",n))}const Iae={disabled:!1},kN=Ee.createContext(null);var M0e=function(n){return n.scrollTop},VE="unmounted",Xv="exited",Jv="entering",$C="entered",yj="exiting",_u=function(e){nQ(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=Xv,i.appearStatus=Jv):s=$C:r.unmountOnExit||r.mountOnEnter?s=VE:s=Xv,i.state={status:s},i.nextCallback=null,i}n.getDerivedStateFromProps=function(a,i){var o=a.in;return o&&i.status===VE?{status:Xv}: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!==Jv&&o!==$C&&(i=Jv):(o===Jv||o===$C)&&(i=yj)}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===Jv){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:KE.findDOMNode(this);o&&M0e(o)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Xv&&this.setState({status:VE})},t.performEnter=function(a){var i=this,o=this.props.enter,l=this.context?this.context.isMounting:a,s=this.props.nodeRef?[l]:[KE.findDOMNode(this),l],c=s[0],u=s[1],f=this.getTimeouts(),p=l?f.appear:f.enter;if(!a&&!o||Iae.disabled){this.safeSetState({status:$C},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Jv},function(){i.props.onEntering(c,u),i.onTransitionEnd(p,function(){i.safeSetState({status:$C},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:KE.findDOMNode(this);if(!i||Iae.disabled){this.safeSetState({status:Xv},function(){a.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:yj},function(){a.props.onExiting(l),a.onTransitionEnd(o.exit,function(){a.safeSetState({status:Xv},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:KE.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===VE)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=eQ(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ee.createElement(kN.Provider,{value:null},typeof o=="function"?o(a,l):Ee.cloneElement(Ee.Children.only(o),l))},n}(Ee.Component);_u.contextType=kN;_u.propTypes={};function iC(){}_u.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:iC,onEntering:iC,onEntered:iC,onExit:iC,onExiting:iC,onExited:iC};_u.UNMOUNTED=VE;_u.EXITED=Xv;_u.ENTERING=Jv;_u.ENTERED=$C;_u.EXITING=yj;var WZe=function(n,t){return n&&t&&t.split(" ").forEach(function(r){return GZe(n,r)})},u3=function(n,t){return n&&t&&t.split(" ").forEach(function(r){return qZe(n,r)})},tQ=function(e){nQ(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],f=c[1];r.removeClasses(u,"exit"),r.addClass(u,f?"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],f=c[1],p=f?"appear":"enter";r.addClass(u,p,"active"),r.props.onEntering&&r.props.onEntering(l,s)},r.onEntered=function(l,s){var c=r.resolveArguments(l,s),u=c[0],f=c[1],p=f?"appear":"enter";r.removeClasses(u,p),r.addClass(u,p,"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+"-":"",f=c?""+u+l:s[l],p=c?f+"-active":s[l+"Active"],g=c?f+"-done":s[l+"Done"];return{baseClassName:f,activeClassName:p,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&&M0e(a),l&&(this.appliedClasses[i][o]=l,WZe(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&&u3(a,l),s&&u3(a,s),c&&u3(a,c)},t.render=function(){var a=this.props;a.classNames;var i=eQ(a,["classNames"]);return Ee.createElement(_u,bN({},i,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(Ee.Component);tQ.defaultProps={classNames:""};tQ.propTypes={};function QZe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rQ(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 YZe(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 pb(e,n,t){return t[n]!=null?t[n]:e.props[n]}function XZe(e,n){return rQ(e.children,function(t){return m.cloneElement(t,{onExited:n.bind(null,t),in:!0,appear:pb(t,"appear",e),enter:pb(t,"enter",e),exit:pb(t,"exit",e)})})}function JZe(e,n,t){var r=rQ(e.children),a=YZe(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:pb(o,"exit",e),enter:pb(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:pb(o,"exit",e),enter:pb(o,"enter",e)}))}}),a}var ZZe=Object.values||function(e){return Object.keys(e).map(function(n){return e[n]})},een={component:"div",childFactory:function(n){return n}},qD=function(e){nQ(n,e);function n(r,a){var i;i=e.call(this,r,a)||this;var o=i.handleExited.bind(QZe(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?XZe(a,l):JZe(a,o,l),firstRender:!1}},t.handleExited=function(a,i){var o=rQ(this.props.children);a.key in o||(a.props.onExited&&a.props.onExited(i),this.mounted&&this.setState(function(l){var s=bN({},l.children);return delete s[a.key],{children:s}}))},t.render=function(){var a=this.props,i=a.component,o=a.childFactory,l=eQ(a,["component","childFactory"]),s=this.state.contextValue,c=ZZe(this.state.children).map(o);return delete l.appear,delete l.enter,delete l.exit,i===null?Ee.createElement(kN.Provider,{value:s},c):Ee.createElement(kN.Provider,{value:s},Ee.createElement(i,l,c))},n}(Ee.Component);qD.propTypes={};qD.defaultProps=een;const xae={};function Os(e,n){const t=m.useRef(xae);return t.current===xae&&(t.current=e(n)),t}const nen=[];function JM(e){m.useEffect(e,nen)}class ZM{static create(){return new ZM}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 Xi(){const e=Os(ZM.create).current;return JM(e.disposeEffect),e}const aQ=e=>e.scrollTop;function gy(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 Xw(e){return typeof e=="string"}function $0e(e,n,t){return e===void 0||Xw(e)?n:{...n,ownerState:{...n.ownerState,...t}}}function gc(e,n,t){return typeof e=="function"?e(n,t):e}function K0e(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 Dae(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 V0e(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=K0e({...a,...r}),l=Dae(r),s=Dae(a),c=n(o),u=Ie(c?.className,t?.className,i,a?.className,r?.className),f={...c?.style,...t?.style,...a?.style,...r?.style},p={...c,...t,...s,...l};return u.length>0&&(p.className=u),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:c.ref}}function Tn(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:f={[e]:void 0},...p}=i,g=u[e]||r,h=gc(f[e],a),{props:{component:y,...v},internalRef:b}=V0e({className:t,...s,externalForwardedProps:e==="root"?p:void 0,externalSlotProps:h}),k=lt(b,h?.ref,n.ref),S=e==="root"?y||c:y,w=$0e(g,{...e==="root"&&!c&&!u[e]&&o,...e!=="root"&&!u[e]&&o,...v,...S&&!l&&{as:S},...S&&l&&{component:S},ref:k},a);return[g,w]}function ten(e){return dn("MuiCollapse",e)}un("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const ren=e=>{const{orientation:n,classes:t}=e,r={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return $e(r,ten,t)},aen=W("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]}})(En(({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"}}]}))),ien=W("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),oen=W("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),ox=m.forwardRef(function(n,t){const r=An({props:n,name:"MuiCollapse"}),{addEndListener:a,children:i,className:o,collapsedSize:l="0px",component:s,easing:c,in:u,onEnter:f,onEntered:p,onEntering:g,onExit:h,onExited:y,onExiting:v,orientation:b="vertical",slots:k={},slotProps:S={},style:w,timeout:C=gXe.standard,TransitionComponent:T=_u,...E}=r,I={...r,orientation:b,collapsedSize:l},F=ren(I),x=cl(),D=Xi(),_=m.useRef(null),A=m.useRef(),R=typeof l=="number"?`${l}px`:l,N=b==="horizontal",M=N?"width":"height",z=m.useRef(null),K=lt(t,z),P=re=>le=>{if(re){const oe=z.current;le===void 0?re(oe):re(oe,le)}},O=()=>_.current?_.current[N?"clientWidth":"clientHeight"]:0,L=P((re,le)=>{_.current&&N&&(_.current.style.position="absolute"),re.style[M]=R,f&&f(re,le)}),V=P((re,le)=>{const oe=O();_.current&&N&&(_.current.style.position="");const{duration:ie,easing:fe}=gy({style:w,timeout:C,easing:c},{mode:"enter"});if(C==="auto"){const pe=x.transitions.getAutoHeightDuration(oe);re.style.transitionDuration=`${pe}ms`,A.current=pe}else re.style.transitionDuration=typeof ie=="string"?ie:`${ie}ms`;re.style[M]=`${oe}px`,re.style.transitionTimingFunction=fe,g&&g(re,le)}),B=P((re,le)=>{re.style[M]="auto",p&&p(re,le)}),$=P(re=>{re.style[M]=`${O()}px`,h&&h(re)}),U=P(y),H=P(re=>{const le=O(),{duration:oe,easing:ie}=gy({style:w,timeout:C,easing:c},{mode:"exit"});if(C==="auto"){const fe=x.transitions.getAutoHeightDuration(le);re.style.transitionDuration=`${fe}ms`,A.current=fe}else re.style.transitionDuration=typeof oe=="string"?oe:`${oe}ms`;re.style[M]=R,re.style.transitionTimingFunction=ie,v&&v(re)}),Q=re=>{C==="auto"&&D.start(A.current||0,re),a&&a(z.current,re)},Y={slots:k,slotProps:S,component:s},[ee,te]=Tn("root",{ref:K,className:Ie(F.root,o),elementType:aen,externalForwardedProps:Y,ownerState:I,additionalProps:{style:{[N?"minWidth":"minHeight"]:R,...w}}}),[J,Z]=Tn("wrapper",{ref:_,className:F.wrapper,elementType:ien,externalForwardedProps:Y,ownerState:I}),[ne,ae]=Tn("wrapperInner",{className:F.wrapperInner,elementType:oen,externalForwardedProps:Y,ownerState:I});return j.jsx(T,{in:u,onEnter:L,onEntered:B,onEntering:V,onExit:$,onExited:U,onExiting:H,addEndListener:Q,nodeRef:z,timeout:C==="auto"?null:C,...E,children:(re,{ownerState:le,...oe})=>{const ie={...I,state:re};return j.jsx(ee,{...te,className:Ie(te.className,{entered:F.entered,exited:!u&&R==="0px"&&F.hidden}[re]),ownerState:ie,...oe,children:j.jsx(J,{...Z,ownerState:ie,children:j.jsx(ne,{...ae,ownerState:ie,children:i})})})}})});ox&&(ox.muiSupportAuto=!0);function len(e){return dn("MuiPaper",e)}un("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 sen=e=>{const{square:n,elevation:t,variant:r,classes:a}=e,i={root:["root",r,!n&&"rounded",r==="elevation"&&`elevation${t}`]};return $e(i,len,a)},cen=W("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}`]]}})(En(({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)"}}]}))),Mf=m.forwardRef(function(n,t){const r=An({props:n,name:"MuiPaper"}),a=cl(),{className:i,component:o="div",elevation:l=1,square:s=!1,variant:c="elevation",...u}=r,f={...r,component:o,elevation:l,square:s,variant:c},p=sen(f);return j.jsx(cen,{as:o,ownerState:f,className:Ie(p.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(${Sc("#fff",mae(l))}, ${Sc("#fff",mae(l))})`}},...u.style}})}),B0e=se.oneOfType([se.func,se.object]);function Jw(e){try{return e.matches(":focus-visible")}catch{}return!1}class SN{static create(){return new SN}static use(){const n=Os(SN.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=den(),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 uen(){return SN.use()}function den(){let e,n;const t=new Promise((r,a)=>{e=r,n=a});return t.resolve=e,t.reject=n,t}function fen(e){const{className:n,classes:t,pulsate:r=!1,rippleX:a,rippleY:i,rippleSize:o,in:l,onExited:s,timeout:c}=e,[u,f]=m.useState(!1),p=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&&f(!0),m.useEffect(()=>{if(!l&&s!=null){const y=setTimeout(s,c);return()=>{clearTimeout(y)}}},[s,l,c]),j.jsx("span",{className:p,style:g,children:j.jsx("span",{className:h})})}const ju=un("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),vj=550,pen=80,gen=Nf`
4
4
  0% {
5
5
  transform: scale(0);
@@ -467,7 +467,7 @@ ${f}}`}return`
467
467
  }
468
468
  }
469
469
  }
470
- `,zDn={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:UDn}}};la(NDn);la(MDn);la(KDn);la(BDn);la(zDn);const HDn="Server Not Reachable";function K1e(e){return il(e)&&"message"in e&&e.message===HDn}class qX extends SDn{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&&eo()-this.#a>r0e){this.stopWorker();return}this.checkIfIdle()};window.setTimeout(n,MW)}initializeWorker(){this.sendMessage(new Pr(LDn,{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 Pr(M1e,{taskId:n}))}}const jDn="analyze-document",GDn="analyze-document-operations",qDn="files-updated",WDn="variable-json-schema-updated";var v6,pde;function QDn(){if(pde)return v6;pde=1,v6=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},v6}QDn();var b6={exports:{}},gde;function YDn(){return gde||(gde=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,f,p){if(typeof u!="function")throw new TypeError("The listener must be a function");var g=new a(u,f||s,p),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,f;if(this._eventsCount===0)return c;for(f in u=this._events)n.call(u,f)&&c.push(t?f.slice(1):f);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},l.prototype.listeners=function(c){var u=t?t+c:c,f=this._events[u];if(!f)return[];if(f.fn)return[f.fn];for(var p=0,g=f.length,h=new Array(g);p<g;p++)h[p]=f[p].fn;return h},l.prototype.listenerCount=function(c){var u=t?t+c:c,f=this._events[u];return f?f.fn?1:f.length:0},l.prototype.emit=function(c,u,f,p,g,h){var y=t?t+c:c;if(!this._events[y])return!1;var v=this._events[y],b=arguments.length,k,S;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,f),!0;case 4:return v.fn.call(v.context,u,f,p),!0;case 5:return v.fn.call(v.context,u,f,p,g),!0;case 6:return v.fn.call(v.context,u,f,p,g,h),!0}for(S=1,k=new Array(b-1);S<b;S++)k[S-1]=arguments[S];v.fn.apply(v.context,k)}else{var w=v.length,C;for(S=0;S<w;S++)switch(v[S].once&&this.removeListener(c,v[S].fn,void 0,!0),b){case 1:v[S].fn.call(v[S].context);break;case 2:v[S].fn.call(v[S].context,u);break;case 3:v[S].fn.call(v[S].context,u,f);break;case 4:v[S].fn.call(v[S].context,u,f,p);break;default:if(!k)for(C=1,k=new Array(b-1);C<b;C++)k[C-1]=arguments[C];v[S].fn.apply(v[S].context,k)}}return!0},l.prototype.on=function(c,u,f){return i(this,c,u,f,!1)},l.prototype.once=function(c,u,f){return i(this,c,u,f,!0)},l.prototype.removeListener=function(c,u,f,p){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&&(!p||h.once)&&(!f||h.context===f)&&o(this,g);else{for(var y=0,v=[],b=h.length;y<b;y++)(h[y].fn!==u||p&&!h[y].once||f&&h[y].context!==f)&&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}(b6)),b6.exports}YDn();var Kv={},mde;function XDn(){if(mde)return Kv;mde=1,Object.defineProperty(Kv,"__esModule",{value:!0}),Kv.WS_TIMEOUT=Kv.MIN_WS_TIMEOUT=void 0;var e=1e3;Kv.MIN_WS_TIMEOUT=e;var n=3e4;return Kv.WS_TIMEOUT=n,Kv}XDn();var QA={},hde;function JDn(){if(hde)return QA;hde=1,Object.defineProperty(QA,"__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 QA.default=e,QA}JDn();var Vv={},yde;function ZDn(){if(yde)return Vv;yde=1,Object.defineProperty(Vv,"__esModule",{value:!0}),Vv.GRAPHQL_SUBSCRIPTIONS=Vv.GRAPHQL_WS=void 0;var e="graphql-ws";Vv.GRAPHQL_WS=e;var n="graphql-subscriptions";return Vv.GRAPHQL_SUBSCRIPTIONS=n,Vv}ZDn();var YA={},vde;function e_n(){if(vde)return YA;vde=1,Object.defineProperty(YA,"__esModule",{value:!0});function e(n){return n!==null&&typeof n=="object"}return YA.default=e,YA}e_n();var XA={},bde;function n_n(){if(bde)return XA;bde=1,Object.defineProperty(XA,"__esModule",{value:!0});function e(n){return typeof n=="string"}return XA.default=e,XA}n_n();function t_n(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 UC;typeof self<"u"?UC=self:typeof window<"u"?UC=window:typeof om<"u"?UC=om:typeof module<"u"?UC=module:UC=Function("return this")();t_n(UC);const kde=typeof om<"u"?om:typeof window<"u"?window:{};kde.WebSocket||kde.MozWebSocket;const r_n="execute-operation",rw={endpoint:"",exists:!1,hash:"",indexed:!1,hasMutationType:!1,hasSubscriptionType:!1,hasUploadType:!1,supportsSemanticIntrospection:!1},a_n="cancel-request",i_n="fetch-api-schema",o_n="fetch-directive",l_n="fetch-directives",s_n="get-cached-schema",c_n="fetch-schema",u_n="fetch-field",d_n="fetch-fields",f_n="fetch-fields-and-types",p_n="fetch-schema-reference",g_n="fetch-schema-root-types",m_n="fetch-type",h_n="fetch-types";class y_n extends qX{analyzeDocument(n,t){return this.sendAndReceiveMessage(new Pr(jDn,{documentId:n}),!1,t)}analyzeDocumentOperations(n,t){return this.sendAndReceiveMessage(new Pr(GDn,{documentId:n}),!1,t)}cancelRequest(n){this.sendMessage(new Pr(a_n,{documentId:n}))}executeOperation(n,t,r,a){this.sendMessage(new Pr(r_n,{documentId:n,workspaceId:t,environmentId:r,operationIndex:a}))}filesUpdated(n){this.sendMessage(new Pr(qDn,{documentId:n}))}fetchSchema(n,t,r){return this.sendAndReceiveMessage(new Pr(c_n,{documentId:n,environmentId:t}),!1,r)}fetchApiSchema(n,t,r){return this.sendAndReceiveMessage(new Pr(i_n,{apiId:n,stageId:t}),!1,r)}getCachedSchema(n,t){return this.sendAndReceiveMessage(new Pr(s_n,{documentId:n,environmentId:t}))}getDirective(n,t){return this.sendAndReceiveMessage(new Pr(o_n,{schemaEndpoint:n,coordinate:t}))}getDirectives(n){return this.sendAndReceiveMessage(new Pr(l_n,{schemaEndpoint:n}))}getField(n,t){return this.sendAndReceiveMessage(new Pr(u_n,{schemaEndpoint:n,coordinate:t}))}getFields(n,t,r){return this.sendAndReceiveMessage(new Pr(d_n,{schemaEndpoint:n,typeName:t,options:r}))}getFieldsAndTypes(n,t,r){return this.sendAndReceiveMessage(new Pr(f_n,{schemaEndpoint:n,coordinate:t,options:r}))}getRootTypes(n,t){return this.sendAndReceiveMessage(new Pr(g_n,{schemaEndpoint:n,filter:t}))}getSchemaReference(n,t,r){return this.sendAndReceiveMessage(new Pr(p_n,{schemaEndpoint:n,typeCategory:t,filter:r}))}getType(n,t){return this.sendAndReceiveMessage(new Pr(m_n,{schemaEndpoint:n,typeName:t}))}getTypes(n,t){return this.sendAndReceiveMessage(new Pr(h_n,{schemaEndpoint:n,filter:t}))}onReceiveOperationRequestStatus(n){return this.registerReceiveMessageHandler(wDn,({payload:t})=>n(t))}onReceiveHistoryEntry(n){return this.registerReceiveMessageHandler(xDn,({payload:t})=>{n(t)})}onReceiveLogEntry(n){return this.registerReceiveMessageHandler(O1e,({payload:t})=>{n(t)})}onReceiveResult(n){return this.registerReceiveMessageHandler(TDn,({payload:{documentId:t,result:r}})=>{n(t,r)})}onReceiveResultMessage(n){return this.registerReceiveMessageHandler(FDn,({payload:{documentId:t,resultId:r,event:a}})=>{n(t,r,a)})}onReceiveResultPatch(n){return this.registerReceiveMessageHandler(EDn,({payload:{documentId:t,resultId:r,patch:a}})=>{n(t,r,a)})}onReceiveVariableBatchingResult(n){return this.registerReceiveMessageHandler(IDn,({payload:{documentId:t,resultId:r,result:a}})=>{n(t,r,a)})}onVariableJsonSchemaUpdated(n){return this.registerReceiveMessageHandler(WDn,({payload:{documentId:t,variableJsonSchemaHash:r}})=>{n(t,r)})}}const v_n="index-schema",b_n="schema-indexed";class k_n extends qX{indexSchema(n,t,r){this.sendMessage(new Pr(v_n,{schemaEndpoint:n,schemaHash:t,schemaUpdatedAt:r}))}onSchemaIndexed(n){return this.registerReceiveMessageHandler(b_n,({payload:t})=>{n(t)})}}function S_n(e){return new Worker(""+new URL("graphql-engine-scheduler.af358442.X41z7Glg.js",import.meta.url).href,{type:"module",name:e?.name})}function C_n(e){return new Worker(""+new URL("graphql-indexer-scheduler.af358442.HDfUZTEA.js",import.meta.url).href,{type:"module",name:e?.name})}function w_n(e){return new Worker(""+new URL("session-scheduler.af358442.Dh9Cs0Tu.js",import.meta.url).href,{type:"module",name:e?.name})}const T_n="create-user-account";function F_n(){return new Pr(T_n,{})}const E_n="create-workspace-task";function I_n(e,n){return new Pr(E_n,{userSession:e,workspaceName:n})}const x_n="delete-api-task";function D_n(e){return new Pr(x_n,{apiId:e})}const __n="fetch-organization-info";function A_n(){return new Pr(__n,void 0)}const R_n="fetch-settings";function L_n(){return new Pr(R_n,void 0)}const P_n="fetch-workspaces-task-type";function N_n(e){return new Pr(P_n,{userSession:e})}const O_n="persist-theme-settings";function M_n(e){return new Pr(O_n,e)}const $_n="refresh-token";function K_n(e){return new Pr($_n,{tenantInfo:e})}const V_n="update-feature-flags";function B_n(e){return new Pr(V_n,{featureFlags:e})}const U_n="fetch-user-account";function z_n(){return new Pr(U_n,void 0)}const H_n="synchronize-workspace",j_n="synchronize-workspace-progress";function G_n(e,n){return new Pr(H_n,{workspaceId:e,version:n})}const q_n="update-preferences";function W_n(e){return new Pr(q_n,{preferences:e})}class Q_n extends qX{fetchOrganizationInfo(n){return this.sendAndReceiveMessage(A_n(),!1,n)}fetchUserAccount(n){return this.sendAndReceiveMessage(z_n(),!1,n)}createUserAccount(n){return this.sendAndReceiveMessage(F_n(),!1,n)}refreshToken(n,t){return this.sendAndReceiveMessage(K_n(n),!1,t)}fetchSettings(n){return this.sendAndReceiveMessage(L_n(),!1,n)}persistThemeSettings(n){this.sendMessage(M_n(n))}fetchWorkspaces(n,t){return this.sendAndReceiveMessage(N_n(n),!1,t)}createWorkspace(n,t,r){return this.sendAndReceiveMessage(I_n(n,t),!1,r)}synchronizeWorkspace(n,t,r){return this.sendAndReceiveMessage(G_n(n,t),!1,r)}updateFeatureFlags(n,t){return this.sendAndReceiveMessage(B_n(n),!1,t)}updatePreferences(n,t){return this.sendAndReceiveMessage(W_n(n),!1,t)}deleteApi(n,t){return this.sendAndReceiveMessage(D_n(n),!1,t)}onReceiveLogEntry(n){return this.registerReceiveMessageHandler(O1e,({payload:t})=>n(t))}onReceiveUserSessionExpired(n){return this.registerReceiveMessageHandler(DDn,()=>n())}onReceiveWorkspaceSynchronizationProgress(n){return this.registerReceiveMessageHandler(j_n,({payload:t})=>n(t))}}const Nt=new y_n(()=>new S_n({name:"graphql-engine"})),V1e=new k_n(()=>new C_n({name:"graphql-indexer"})),Mo=new Q_n(()=>new w_n({name:"session"}));var go=(e=>(e.LOAD="load",e.LOAD_DEPENDENCY="load-dependency",e.UNLOAD="unload",e.UPDATE="update",e.SAVE="save",e))(go||{});const Sde="all";class eb{#e=new kmn({lru:!1});#n=new Map;#t;#r=new Map;constructor(){this.#t=[Hr(sT,({workspaceId:n})=>{this.#e.forEach(t=>{t.workspaceId!==n&&this.unloadItem(t.id)})}),Hr(Bm,({deletedItems:n})=>{n.forEach(({id:t})=>this.unloadItem(t))}),Hr(KD,({itemId:n,itemKind:t})=>this.reload(n,t)),Hr($W,({movedItems:n})=>n.forEach(({id:t,kind:r})=>this.reload(t,r))),Mo.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 XCn(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 ZCn(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 ewn(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 twn(n,t,r,null,null,a,i);return await this.setDocument(n,o,"load"),o}async createNewDocument(n,t,r,a){const i=await iwn(n,t,r,a);return await this.setDocument(n,i,"load"),i}async createEnvironment(n,t,r){const a=await qIe(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 lwn(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 kwn(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 Swn(n,t,r);return a&&await this.setDocument(t,a,"load"),a}async duplicateEnvironment(n,t,r){const a=await Cwn(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 wi(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(nk(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 el(t)?t:await this.reloadDocument(n)}async getEnvironment(n){const t=this.#e.get(n);return bm(t)?t:await this.reloadEnvironment(n)}async saveApi(n,t){const r=this.#e.get(n);if(wi(r))try{const a=await Uwn(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(nk(o))try{const l=await jwn(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(el(t))try{const r=await zwn(n);return await this.setDocument(n,r,"save"),r}catch{return}}async saveNewDocument(n,t,r,a){const i=this.#e.get(n);if(el(i))try{const o=await qwn(n,t,r,a);return await this.setDocument(n,o,"save"),o}catch{return}}async saveEnvironment(n){const t=this.#e.get(n);if(bm(t))try{const r=await Hwn(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(Oy(a))try{const i=await Ywn(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(Sde,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=>Jwn(r,t))}updateDocumentContentVariables(n,t){return this.updateDocumentContent(n,r=>Zwn(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,()=>$oe(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,()=>Twn(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,()=>exe(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(xu(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,()=>$oe(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(!el(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(Sde);a&&a.forEach(o=>o(t,r));const i=this.#r.get(n);i&&i.forEach(o=>o(t,r))})}}function rr(){return rv(eb.name)}function Y_n(e,n,t){const r=t?.flipWidth,a=m.useRef(null),i=m.useRef(null),[o,l]=m.useState({dx:0,dy:0});return m.useLayoutEffect(()=>{const s=e.current;if(n===null||!s){i.current=null,a.current=null,(o.dx!==0||o.dy!==0)&&l({dx:0,dy:0});return}if(i.current!==n){if(o.dx!==0||o.dy!==0){l({dx:0,dy:0});return}a.current=s.getBoundingClientRect(),i.current=n}const c=a.current;if(!c)return;const u=4;let f=u,p=u,g=window.innerWidth-u;for(let v=s.parentElement;v;v=v.parentElement){const{overflowX:b,overflowY:k}=window.getComputedStyle(v);if(k!=="visible"||b!=="visible"){const S=v.getBoundingClientRect();f=Math.max(f,S.top+u),p=Math.max(p,S.left+u),g=Math.min(g,S.right-u)}}let h=0,y=0;c.top<f&&(h=f-c.top),c.right>g&&(y=r!==void 0?-(c.width+r):g-c.right),c.left+y<p&&(y=p-c.left),y=Math.round(y),h=Math.round(h),(Math.abs(y-o.dx)>=1||Math.abs(h-o.dy)>=1)&&l({dx:y,dy:h})},[e,n,o,r]),o}function to(e,n,t=KW){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 B1e(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 LT(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 X_n(e){const n=m.useRef(e);return m.useEffect(()=>{n.current=e}),n}function iv(e,n,t){const r=X_n(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 eh(e,n){U1e(()=>Of.get(e),n)}function U1e(e,n){iv(n,([t])=>{const r=e();if(r){const a=t.target.parentElement?.getBoundingClientRect();a&&(QXe(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 ri(){const[,e]=m.useReducer(n=>!n,!1);return e}function no({title:e,content:n}){return G(J_n,{children:[d(Z_n,{children:e}),d("div",{children:n})]})}const J_n=W("div")`
470
+ `,zDn={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:UDn}}};la(NDn);la(MDn);la(KDn);la(BDn);la(zDn);const HDn="Server Not Reachable";function K1e(e){return il(e)&&"message"in e&&e.message===HDn}class qX extends SDn{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&&eo()-this.#a>r0e){this.stopWorker();return}this.checkIfIdle()};window.setTimeout(n,MW)}initializeWorker(){this.sendMessage(new Pr(LDn,{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 Pr(M1e,{taskId:n}))}}const jDn="analyze-document",GDn="analyze-document-operations",qDn="files-updated",WDn="variable-json-schema-updated";var v6,pde;function QDn(){if(pde)return v6;pde=1,v6=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},v6}QDn();var b6={exports:{}},gde;function YDn(){return gde||(gde=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,f,p){if(typeof u!="function")throw new TypeError("The listener must be a function");var g=new a(u,f||s,p),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,f;if(this._eventsCount===0)return c;for(f in u=this._events)n.call(u,f)&&c.push(t?f.slice(1):f);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},l.prototype.listeners=function(c){var u=t?t+c:c,f=this._events[u];if(!f)return[];if(f.fn)return[f.fn];for(var p=0,g=f.length,h=new Array(g);p<g;p++)h[p]=f[p].fn;return h},l.prototype.listenerCount=function(c){var u=t?t+c:c,f=this._events[u];return f?f.fn?1:f.length:0},l.prototype.emit=function(c,u,f,p,g,h){var y=t?t+c:c;if(!this._events[y])return!1;var v=this._events[y],b=arguments.length,k,S;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,f),!0;case 4:return v.fn.call(v.context,u,f,p),!0;case 5:return v.fn.call(v.context,u,f,p,g),!0;case 6:return v.fn.call(v.context,u,f,p,g,h),!0}for(S=1,k=new Array(b-1);S<b;S++)k[S-1]=arguments[S];v.fn.apply(v.context,k)}else{var w=v.length,C;for(S=0;S<w;S++)switch(v[S].once&&this.removeListener(c,v[S].fn,void 0,!0),b){case 1:v[S].fn.call(v[S].context);break;case 2:v[S].fn.call(v[S].context,u);break;case 3:v[S].fn.call(v[S].context,u,f);break;case 4:v[S].fn.call(v[S].context,u,f,p);break;default:if(!k)for(C=1,k=new Array(b-1);C<b;C++)k[C-1]=arguments[C];v[S].fn.apply(v[S].context,k)}}return!0},l.prototype.on=function(c,u,f){return i(this,c,u,f,!1)},l.prototype.once=function(c,u,f){return i(this,c,u,f,!0)},l.prototype.removeListener=function(c,u,f,p){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&&(!p||h.once)&&(!f||h.context===f)&&o(this,g);else{for(var y=0,v=[],b=h.length;y<b;y++)(h[y].fn!==u||p&&!h[y].once||f&&h[y].context!==f)&&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}(b6)),b6.exports}YDn();var Kv={},mde;function XDn(){if(mde)return Kv;mde=1,Object.defineProperty(Kv,"__esModule",{value:!0}),Kv.WS_TIMEOUT=Kv.MIN_WS_TIMEOUT=void 0;var e=1e3;Kv.MIN_WS_TIMEOUT=e;var n=3e4;return Kv.WS_TIMEOUT=n,Kv}XDn();var QA={},hde;function JDn(){if(hde)return QA;hde=1,Object.defineProperty(QA,"__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 QA.default=e,QA}JDn();var Vv={},yde;function ZDn(){if(yde)return Vv;yde=1,Object.defineProperty(Vv,"__esModule",{value:!0}),Vv.GRAPHQL_SUBSCRIPTIONS=Vv.GRAPHQL_WS=void 0;var e="graphql-ws";Vv.GRAPHQL_WS=e;var n="graphql-subscriptions";return Vv.GRAPHQL_SUBSCRIPTIONS=n,Vv}ZDn();var YA={},vde;function e_n(){if(vde)return YA;vde=1,Object.defineProperty(YA,"__esModule",{value:!0});function e(n){return n!==null&&typeof n=="object"}return YA.default=e,YA}e_n();var XA={},bde;function n_n(){if(bde)return XA;bde=1,Object.defineProperty(XA,"__esModule",{value:!0});function e(n){return typeof n=="string"}return XA.default=e,XA}n_n();function t_n(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 UC;typeof self<"u"?UC=self:typeof window<"u"?UC=window:typeof om<"u"?UC=om:typeof module<"u"?UC=module:UC=Function("return this")();t_n(UC);const kde=typeof om<"u"?om:typeof window<"u"?window:{};kde.WebSocket||kde.MozWebSocket;const r_n="execute-operation",rw={endpoint:"",exists:!1,hash:"",indexed:!1,hasMutationType:!1,hasSubscriptionType:!1,hasUploadType:!1,supportsSemanticIntrospection:!1},a_n="cancel-request",i_n="fetch-api-schema",o_n="fetch-directive",l_n="fetch-directives",s_n="get-cached-schema",c_n="fetch-schema",u_n="fetch-field",d_n="fetch-fields",f_n="fetch-fields-and-types",p_n="fetch-schema-reference",g_n="fetch-schema-root-types",m_n="fetch-type",h_n="fetch-types";class y_n extends qX{analyzeDocument(n,t){return this.sendAndReceiveMessage(new Pr(jDn,{documentId:n}),!1,t)}analyzeDocumentOperations(n,t){return this.sendAndReceiveMessage(new Pr(GDn,{documentId:n}),!1,t)}cancelRequest(n){this.sendMessage(new Pr(a_n,{documentId:n}))}executeOperation(n,t,r,a){this.sendMessage(new Pr(r_n,{documentId:n,workspaceId:t,environmentId:r,operationIndex:a}))}filesUpdated(n){this.sendMessage(new Pr(qDn,{documentId:n}))}fetchSchema(n,t,r){return this.sendAndReceiveMessage(new Pr(c_n,{documentId:n,environmentId:t}),!1,r)}fetchApiSchema(n,t,r){return this.sendAndReceiveMessage(new Pr(i_n,{apiId:n,stageId:t}),!1,r)}getCachedSchema(n,t){return this.sendAndReceiveMessage(new Pr(s_n,{documentId:n,environmentId:t}))}getDirective(n,t){return this.sendAndReceiveMessage(new Pr(o_n,{schemaEndpoint:n,coordinate:t}))}getDirectives(n){return this.sendAndReceiveMessage(new Pr(l_n,{schemaEndpoint:n}))}getField(n,t){return this.sendAndReceiveMessage(new Pr(u_n,{schemaEndpoint:n,coordinate:t}))}getFields(n,t,r){return this.sendAndReceiveMessage(new Pr(d_n,{schemaEndpoint:n,typeName:t,options:r}))}getFieldsAndTypes(n,t,r){return this.sendAndReceiveMessage(new Pr(f_n,{schemaEndpoint:n,coordinate:t,options:r}))}getRootTypes(n,t){return this.sendAndReceiveMessage(new Pr(g_n,{schemaEndpoint:n,filter:t}))}getSchemaReference(n,t,r){return this.sendAndReceiveMessage(new Pr(p_n,{schemaEndpoint:n,typeCategory:t,filter:r}))}getType(n,t){return this.sendAndReceiveMessage(new Pr(m_n,{schemaEndpoint:n,typeName:t}))}getTypes(n,t){return this.sendAndReceiveMessage(new Pr(h_n,{schemaEndpoint:n,filter:t}))}onReceiveOperationRequestStatus(n){return this.registerReceiveMessageHandler(wDn,({payload:t})=>n(t))}onReceiveHistoryEntry(n){return this.registerReceiveMessageHandler(xDn,({payload:t})=>{n(t)})}onReceiveLogEntry(n){return this.registerReceiveMessageHandler(O1e,({payload:t})=>{n(t)})}onReceiveResult(n){return this.registerReceiveMessageHandler(TDn,({payload:{documentId:t,result:r}})=>{n(t,r)})}onReceiveResultMessage(n){return this.registerReceiveMessageHandler(FDn,({payload:{documentId:t,resultId:r,event:a}})=>{n(t,r,a)})}onReceiveResultPatch(n){return this.registerReceiveMessageHandler(EDn,({payload:{documentId:t,resultId:r,patch:a}})=>{n(t,r,a)})}onReceiveVariableBatchingResult(n){return this.registerReceiveMessageHandler(IDn,({payload:{documentId:t,resultId:r,result:a}})=>{n(t,r,a)})}onVariableJsonSchemaUpdated(n){return this.registerReceiveMessageHandler(WDn,({payload:{documentId:t,variableJsonSchemaHash:r}})=>{n(t,r)})}}const v_n="index-schema",b_n="schema-indexed";class k_n extends qX{indexSchema(n,t,r){this.sendMessage(new Pr(v_n,{schemaEndpoint:n,schemaHash:t,schemaUpdatedAt:r}))}onSchemaIndexed(n){return this.registerReceiveMessageHandler(b_n,({payload:t})=>{n(t)})}}function S_n(e){return new Worker(""+new URL("graphql-engine-scheduler.cbb9dd2a.wOPnKfNr.js",import.meta.url).href,{type:"module",name:e?.name})}function C_n(e){return new Worker(""+new URL("graphql-indexer-scheduler.cbb9dd2a.CG604HRm.js",import.meta.url).href,{type:"module",name:e?.name})}function w_n(e){return new Worker(""+new URL("session-scheduler.cbb9dd2a.DNSZrB_J.js",import.meta.url).href,{type:"module",name:e?.name})}const T_n="create-user-account";function F_n(){return new Pr(T_n,{})}const E_n="create-workspace-task";function I_n(e,n){return new Pr(E_n,{userSession:e,workspaceName:n})}const x_n="delete-api-task";function D_n(e){return new Pr(x_n,{apiId:e})}const __n="fetch-organization-info";function A_n(){return new Pr(__n,void 0)}const R_n="fetch-settings";function L_n(){return new Pr(R_n,void 0)}const P_n="fetch-workspaces-task-type";function N_n(e){return new Pr(P_n,{userSession:e})}const O_n="persist-theme-settings";function M_n(e){return new Pr(O_n,e)}const $_n="refresh-token";function K_n(e){return new Pr($_n,{tenantInfo:e})}const V_n="update-feature-flags";function B_n(e){return new Pr(V_n,{featureFlags:e})}const U_n="fetch-user-account";function z_n(){return new Pr(U_n,void 0)}const H_n="synchronize-workspace",j_n="synchronize-workspace-progress";function G_n(e,n){return new Pr(H_n,{workspaceId:e,version:n})}const q_n="update-preferences";function W_n(e){return new Pr(q_n,{preferences:e})}class Q_n extends qX{fetchOrganizationInfo(n){return this.sendAndReceiveMessage(A_n(),!1,n)}fetchUserAccount(n){return this.sendAndReceiveMessage(z_n(),!1,n)}createUserAccount(n){return this.sendAndReceiveMessage(F_n(),!1,n)}refreshToken(n,t){return this.sendAndReceiveMessage(K_n(n),!1,t)}fetchSettings(n){return this.sendAndReceiveMessage(L_n(),!1,n)}persistThemeSettings(n){this.sendMessage(M_n(n))}fetchWorkspaces(n,t){return this.sendAndReceiveMessage(N_n(n),!1,t)}createWorkspace(n,t,r){return this.sendAndReceiveMessage(I_n(n,t),!1,r)}synchronizeWorkspace(n,t,r){return this.sendAndReceiveMessage(G_n(n,t),!1,r)}updateFeatureFlags(n,t){return this.sendAndReceiveMessage(B_n(n),!1,t)}updatePreferences(n,t){return this.sendAndReceiveMessage(W_n(n),!1,t)}deleteApi(n,t){return this.sendAndReceiveMessage(D_n(n),!1,t)}onReceiveLogEntry(n){return this.registerReceiveMessageHandler(O1e,({payload:t})=>n(t))}onReceiveUserSessionExpired(n){return this.registerReceiveMessageHandler(DDn,()=>n())}onReceiveWorkspaceSynchronizationProgress(n){return this.registerReceiveMessageHandler(j_n,({payload:t})=>n(t))}}const Nt=new y_n(()=>new S_n({name:"graphql-engine"})),V1e=new k_n(()=>new C_n({name:"graphql-indexer"})),Mo=new Q_n(()=>new w_n({name:"session"}));var go=(e=>(e.LOAD="load",e.LOAD_DEPENDENCY="load-dependency",e.UNLOAD="unload",e.UPDATE="update",e.SAVE="save",e))(go||{});const Sde="all";class eb{#e=new kmn({lru:!1});#n=new Map;#t;#r=new Map;constructor(){this.#t=[Hr(sT,({workspaceId:n})=>{this.#e.forEach(t=>{t.workspaceId!==n&&this.unloadItem(t.id)})}),Hr(Bm,({deletedItems:n})=>{n.forEach(({id:t})=>this.unloadItem(t))}),Hr(KD,({itemId:n,itemKind:t})=>this.reload(n,t)),Hr($W,({movedItems:n})=>n.forEach(({id:t,kind:r})=>this.reload(t,r))),Mo.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 XCn(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 ZCn(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 ewn(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 twn(n,t,r,null,null,a,i);return await this.setDocument(n,o,"load"),o}async createNewDocument(n,t,r,a){const i=await iwn(n,t,r,a);return await this.setDocument(n,i,"load"),i}async createEnvironment(n,t,r){const a=await qIe(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 lwn(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 kwn(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 Swn(n,t,r);return a&&await this.setDocument(t,a,"load"),a}async duplicateEnvironment(n,t,r){const a=await Cwn(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 wi(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(nk(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 el(t)?t:await this.reloadDocument(n)}async getEnvironment(n){const t=this.#e.get(n);return bm(t)?t:await this.reloadEnvironment(n)}async saveApi(n,t){const r=this.#e.get(n);if(wi(r))try{const a=await Uwn(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(nk(o))try{const l=await jwn(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(el(t))try{const r=await zwn(n);return await this.setDocument(n,r,"save"),r}catch{return}}async saveNewDocument(n,t,r,a){const i=this.#e.get(n);if(el(i))try{const o=await qwn(n,t,r,a);return await this.setDocument(n,o,"save"),o}catch{return}}async saveEnvironment(n){const t=this.#e.get(n);if(bm(t))try{const r=await Hwn(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(Oy(a))try{const i=await Ywn(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(Sde,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=>Jwn(r,t))}updateDocumentContentVariables(n,t){return this.updateDocumentContent(n,r=>Zwn(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,()=>$oe(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,()=>Twn(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,()=>exe(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(xu(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,()=>$oe(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(!el(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(Sde);a&&a.forEach(o=>o(t,r));const i=this.#r.get(n);i&&i.forEach(o=>o(t,r))})}}function rr(){return rv(eb.name)}function Y_n(e,n,t){const r=t?.flipWidth,a=m.useRef(null),i=m.useRef(null),[o,l]=m.useState({dx:0,dy:0});return m.useLayoutEffect(()=>{const s=e.current;if(n===null||!s){i.current=null,a.current=null,(o.dx!==0||o.dy!==0)&&l({dx:0,dy:0});return}if(i.current!==n){if(o.dx!==0||o.dy!==0){l({dx:0,dy:0});return}a.current=s.getBoundingClientRect(),i.current=n}const c=a.current;if(!c)return;const u=4;let f=u,p=u,g=window.innerWidth-u;for(let v=s.parentElement;v;v=v.parentElement){const{overflowX:b,overflowY:k}=window.getComputedStyle(v);if(k!=="visible"||b!=="visible"){const S=v.getBoundingClientRect();f=Math.max(f,S.top+u),p=Math.max(p,S.left+u),g=Math.min(g,S.right-u)}}let h=0,y=0;c.top<f&&(h=f-c.top),c.right>g&&(y=r!==void 0?-(c.width+r):g-c.right),c.left+y<p&&(y=p-c.left),y=Math.round(y),h=Math.round(h),(Math.abs(y-o.dx)>=1||Math.abs(h-o.dy)>=1)&&l({dx:y,dy:h})},[e,n,o,r]),o}function to(e,n,t=KW){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 B1e(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 LT(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 X_n(e){const n=m.useRef(e);return m.useEffect(()=>{n.current=e}),n}function iv(e,n,t){const r=X_n(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 eh(e,n){U1e(()=>Of.get(e),n)}function U1e(e,n){iv(n,([t])=>{const r=e();if(r){const a=t.target.parentElement?.getBoundingClientRect();a&&(QXe(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 ri(){const[,e]=m.useReducer(n=>!n,!1);return e}function no({title:e,content:n}){return G(J_n,{children:[d(Z_n,{children:e}),d("div",{children:n})]})}const J_n=W("div")`
471
471
  line-height: 1.25em;
472
472
  `,Z_n=W("h1")(({theme:e})=>ce`
473
473
  font-size: 1.125rem;
@@ -708,7 +708,7 @@ ${f}}`}return`
708
708
  `),YAe=W("span")`
709
709
  flex-wrap: nowrap;
710
710
  color: ${X.base.text};
711
- `,XAe=W(Rj)(({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:`${X.components.toggleThumb} !important`,"&.Mui-checked":{color:`${X.components.toggleThumbActive} !important`},"& + .MuiSwitch-track":{opacity:"0.5 !important"}},"& .MuiSwitch-switchBase":{padding:2,color:X.components.toggleThumb,transition:"color 0.2s ease","& + .MuiSwitch-track":{borderColor:X.components.toggleTrackBorder,backgroundColor:X.components.toggleTrack,transition:"background-color 0.2s ease, border-color 0.2s ease"},"&.Mui-checked":{transform:"translateX(12px)",color:X.components.toggleThumbActive,"& + .MuiSwitch-track":{opacity:1,borderColor:X.components.toggleTrackActiveBorder,backgroundColor:X.components.toggleTrackActive}}},"& .MuiSwitch-switchBase:hover":{color:X.components.toggleThumbHover,"& + .MuiSwitch-track":{borderColor:X.components.toggleTrackHoverBorder,backgroundColor:X.components.toggleTrackHover},"&.Mui-checked":{color:X.components.toggleThumbActiveHover,"& + .MuiSwitch-track":{borderColor:X.components.toggleTrackActiveHoverBorder,backgroundColor:X.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}})),Gr=m.forwardRef(function({children:n,tooltip:t,tooltipPlacement:r,...a},i){return d(ut,{title:a.disabled?"":t,placement:r,children:d(rt,{ref:i,...a,children:n})})}),fLn={grantType:Gi,activeFlowKind:Gi,authorizationUrl:"",accessTokenUrl:"",credentialsInBody:!1,clientId:"",clientSecret:"",redirectUrl:"",scope:"",state:"",audience:"",resource:"",responseType:uj,usePkce:!0,pkceMethod:nx,origin:"",username:"",password:"",prefix:""},pLn=m.memo(function({options:n=fLn,onChange:t}){const{error:r,cancel:a,fetchToken:i,loading:o}=BRn();return G(ve,{children:[d(mLn,{options:n,onChange:t}),d(Kc,{flows:[Gi,oc],id:"authorizationUrl",type:"text",placeholder:"https://authorization-server.com/oauth2/authorize",options:n,onChange:t,label:"Authorization URL"}),d(Kc,{flows:[Ts],id:"username",type:"text",placeholder:"",options:n,onChange:t,label:"Username"}),d(Kc,{flows:[Ts],id:"password",type:"password",placeholder:"",options:n,onChange:t,label:"Password"}),d(Kc,{flows:[Gi,ic,Ts],id:"accessTokenUrl",type:"text",placeholder:"https://authorization-server.com/oauth2/token",options:n,onChange:t,label:"Access Token URL"}),d(Kc,{flows:[Gi,ic,oc,Ts],id:"clientId",type:"text",options:n,onChange:t,label:"Client ID"}),d(Kc,{flows:[Gi,ic,Ts],id:"clientSecret",type:"password",options:n,onChange:t,label:"Client Secret"}),d(hLn,{flows:[Gi],options:n,onChange:t}),d(yLn,{flows:[Gi],options:n,onChange:t}),d(Kc,{flows:[Gi,oc],id:"redirectUrl",type:"text",options:n,onChange:t,label:"Redirect URL"}),d(TLn,{redirectUrl:n.redirectUrl}),d(wLn,{flows:[oc],options:n,onChange:t}),d(Kc,{flows:[Gi,oc,ic,Ts],id:"scope",type:"text",options:n,onChange:t,label:"Scope"}),d(Kc,{flows:[Gi,oc],id:"state",type:"text",options:n,onChange:t,label:"State"}),d(vLn,{flows:[Gi,ic,Ts],options:n,onChange:t}),d(Kc,{flows:[Gi,oc,ic,Ts],id:"prefix",type:"text",options:n,onChange:t,label:"Header Prefix"}),d(Kc,{flows:[Gi,oc,ic,Ts],id:"audience",type:"text",options:n,onChange:t,label:"Audience"}),d(Kc,{flows:[Gi,ic],id:"resource",type:"text",options:n,onChange:t,label:"Resource"}),d(Kc,{flows:[Gi],id:"origin",type:"text",options:n,onChange:t,label:"Origin"}),d(bLn,{options:n,onChange:t}),G(kr,{children:[d(kLn,{options:n,onChange:t}),d(CLn,{options:n,onChange:t,cancel:a,fetchToken:i,loading:o}),d(gLn,{options:n,onChange:t,cancel:a,fetchToken:i,loading:o}),d(SLn,{options:n,onChange:t})]}),r&&d(Ps,{severity:"warning",title:"Error",children:r.message??"Ops, something went wrong!"})]})}),gLn=({cancel:e,fetchToken:n,loading:t,options:r,onChange:a})=>d(P2,{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?G(ve,{children:[d(Fl,{colorSelector:c=>c.components.button.contained.secondary.foreground}),"Cancel"]}):d(ve,{children:"Fetch"})}),mLn=({onChange:e,options:n})=>G(kr,{children:[d(Sr,{htmlFor:"grant-type",children:"Grant Type"}),G(yg,{id:"grant-type",onChange:r=>{let a=Gi,i=Gi;switch(r.target.value??""){case oc:a=oc,i=oc;break;case ic:a=ic,i=ic;break;case Ts:a=Ts,i=Ts;break}e({oAuth2Options:{...n,grantType:i,activeFlowKind:a}})},value:n.activeFlowKind,children:[d("option",{value:Gi,children:"Authorization Code"}),d("option",{value:oc,children:"Implicit"}),d("option",{value:ic,children:"Client Credentials"}),d("option",{value:Ts,children:"Resource Owner Password Credentials"})]})]}),Kc=({flows:e,label:n,id:t,onChange:r,options:a,...i})=>{const o=$_(a.activeFlowKind,e),l=s=>{r({oAuth2Options:{...a,[t]:s.target.value??""}})};return o?G(kr,{children:[d(Sr,{htmlFor:String(t),children:n}),d(lm,{id:String(t),value:a[t],onChange:l,...i})]}):null},hLn=({onChange:e,options:n,flows:t})=>{const r=$_(n.activeFlowKind,t),a=i=>{e({oAuth2Options:{...n,usePkce:i}})};return r?d(kr,{children:G(Sr,{children:[d(k0,{children:"Use PKCE"}),d(Zd,{checked:n.usePkce,offText:"No",onText:"Yes",onChange:a})]})}):null},yLn=({onChange:e,options:n,flows:t})=>{const r=$_(n.activeFlowKind,t),a=i=>{const o=i.target.value===a3?a3:nx;e({oAuth2Options:{...n,pkceMethod:o}})};return r&&n.usePkce?G(kr,{children:[d(Sr,{htmlFor:"pkce-method-code-challenge",children:"Code Challenge Method"}),G(yg,{id:"pkce-method-code-challenge",value:n.pkceMethod,onChange:a,children:[d("option",{value:nx,children:"SHA-256"}),d("option",{value:a3,children:"Plain"})]})]}):null},vLn=({onChange:e,options:n,flows:t})=>$_(n.activeFlowKind,t)?G(kr,{children:[d(Sr,{htmlFor:"pkce-method-credentials",children:"Credentials"}),G(yg,{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,bLn=({options:e})=>e.token?G(ve,{children:[G(kr,{children:[d(Sr,{htmlFor:"id_token",children:"Id Token"}),d(ld,{id:"id_token",disabled:!0,value:e.token.identityToken??""})]}),G(kr,{children:[d(Sr,{htmlFor:"access_token",children:"Access Token"}),d(ld,{id:"access_token",disabled:!0,value:e.token.accessToken??""})]}),G(kr,{children:[d(Sr,{htmlFor:"refresh_token",children:"Refresh Token"}),d(ld,{id:"refresh_token",disabled:!0,value:e.token.refreshToken??""})]})]}):null;function kLn({options:e,onChange:n}){return e.token?d(P2,{description:"Clear tokens",onClick:()=>{n({oAuth2Options:{...e,token:void 0}})},children:"Clear"}):null}function SLn({options:e,onChange:n}){if(!lg||e.activeFlowKind!==Gi&&e.activeFlowKind!==oc)return null;const t=r=>{r.preventDefault(),r.stopPropagation(),n({oAuth2Options:{...e,sessionId:bu()}})};return d(P2,{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 CLn=({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:xW});u&&a({oAuth2Options:{...r,token:u}})};return r?.token?.refreshToken?d(P2,{description:"Refresh token",onClick:t?i:o,children:t?G(ve,{children:[d(Fl,{colorSelector:c=>c.components.button.contained.secondary.foreground}),"Cancel"]}):d(ve,{children:"Refresh"})}):null},wLn=({flows:e,onChange:n,options:t})=>$_(t.activeFlowKind,e)?G(kr,{children:[d(Sr,{htmlFor:"response-type",children:"Response Type"}),G(yg,{id:"response-type",onChange:i=>{let o=uj;switch(i.target.value??""){case jL:o=jL;break;case HL:o=HL;break}n({oAuth2Options:{...t,responseType:o}})},value:t.responseType,children:[d("option",{value:uj,children:"Access Token"}),d("option",{value:jL,children:"ID Token"}),d("option",{value:HL,children:"ID and Access Token"})]})]}):null;function $_(e,n){return m.useMemo(()=>!!n.find(t=>t===e),[n,e])}function P2({children:e,description:n,tooltip:t,...r}){return G(Sr,{children:[G(k0,{children:[n,t&&d(ut,{title:t,placement:"top-start",children:d("span",{children:d(or,{})})})]}),t?d(Gr,{tooltip:t,...r,children:e}):d(rt,{...r,children:e})]})}function TLn({redirectUrl:e}){if(!e||lg)return null;const n=DCn(e);return n&&x2(n)?d(Ps,{severity:"error",children:G("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(Ps,{severity:"warning",children:G("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 FLn=({authentication:e,onChange:n})=>{switch(e.activeAuthenticationKind){case pJe:return d(uLn,{options:e.basicOptions,onChange:n});case fJe:return d(dLn,{options:e.bearerOptions,onChange:n});case dj:return d(pLn,{options:e.oAuth2Options,onChange:n});default:return null}},ELn={activeAuthenticationKind:gJe},ILn=m.memo(function({authentication:n=ELn,onChange:t}){const[r,a]=m.useState(n),i=l=>{let s={...r,...l};const c=fj(s);s={...s,headerValue:c},a(s),t(s)},o=l=>{i({activeAuthenticationKind:l.target.value})};return m.useEffect(()=>{a(n)},[n]),G(ve,{children:[G(kr,{children:[d(Sr,{htmlFor:"auth-flow",children:"Type"}),d(yg,{id:"auth-flow",value:r.activeAuthenticationKind,onChange:o,children:mJe.map(({kind:l,text:s})=>d("option",{value:l,children:s},l))})]}),d(FLn,{authentication:r,onChange:i})]})}),Kr=m.forwardRef((e,n)=>d(sn,{ref:n,icon:"error",fill:X.states.failure,...e}));Kr.displayName="FailureIcon";const ro=m.forwardRef((e,n)=>d(sn,{ref:n,icon:"warning",fill:X.states.warning,...e}));ro.displayName="WarningIcon";function xLn(e){if(e===void 0)return e;try{return JSON.parse(e)}catch{return e}}function VGt(e){switch(e){case m0e:return"AUTO";case vJe:return"SSE";case yJe:case hJe:return"WS";default:throw new Error("Unknown subscription protocol")}}const K_={id:"-",apiUrl:"-",sub:"-",featureFlags:[],preferences:{},theme:GL};function DLn({children:e}){const n=_Ln();return n?d($Ln,{settings$:n,children:d(VLn,{settings$:n,children:d(BLn,{settings$:n,children:d(ULn,{settings$:n,children:d(N2.Provider,{value:n,children:e})})})})}):null}function _Ln(){const e=EAe(),n=m.useRef(void 0),t=ri();return m.useEffect(()=>{function r(s){n.current?(n.current.next(s),Nr({kind:pj,themeSettings:s.theme})):(n.current=Ll(s),Nr({kind:pj,themeSettings:s.theme}),t())}let a;async function i(s){let c=K_;a&&(a.abort(),a=void 0),s&&(a=new AbortController,c=await ALn(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 ALn(e,n){const{apiUrl:t,sub:r}=e;let a,i;try{if(a=await o_(r,t),i=await RLn(a?.id,r,t,n),i)return await l_(i),i}catch{}return i??a??K_}async function RLn(e,n,t,r){const a=await Mo.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??=GL.darkThemeName,c??=GL.lightThemeName,u??=GL.themeName,{id:e??bu(),apiUrl:t,sub:n,featureFlags:o,preferences:i,theme:{usePreferredOsAppearance:l,darkThemeName:s,lightThemeName:c,themeName:u}}}function JAe(){const e=L_(),n=ov();return m.useCallback(async t=>{const r=await n(null,Ti.error,"Feature Flags Not Pushed",t.length===1?t[0]:t);let a;function i(){e(r,void 0,!1),a()}const{dismiss:o}=JN("Feature Flags Not Pushed",G(ve,{children:[d(gS,{children:"We were not able to store the latest Feature Flag update on the server. Click on Details to find out more."}),d(__,{children:d(rt,{color:"primary",onClick:i,children:"Details"})})]}));a=o},[e,n])}function LLn(){const e=L_(),n=ov();return m.useCallback(async t=>{const r=await n(null,Ti.error,"Preference Not Pushed",t.length===1?t[0]:t);let a;function i(){e(r,void 0,!1),a()}const{dismiss:o}=JN("Preference Not Pushed",G(ve,{children:[d(gS,{children:"We were not able to store the latest Preference update on the server. Click on Details to find out more."}),d(__,{children:d(rt,{color:"primary",onClick:i,children:"Details"})})]}));a=o},[e,n])}const N2=Qe(null,"Settings");function ZAe(e){return e.preferences??{}}function PLn(){return zn(N2,ZAe)}function Rd(){return Oo(m.useContext(N2),ZAe,{})}function NLn(e){return e.theme}function OLn(){return zn(N2,NLn)}const MLn=Qe(Wn,"AddFeatureFlag");function $Ln({children:e,settings$:n}){const t=Ru(),r=JAe(),a=m.useCallback(async i=>{if(!t)return;const{apiUrl:o,sub:l}=t,s=await o_(l,o);if(s?.featureFlags?.includes(i))return;const c=s?.featureFlags?[...s.featureFlags,i]:[i],u=s?{...s,featureFlags:c}:{...K_,id:bu(),featureFlags:c};n.next(u);const[f]=await Promise.all([Mo.updateFeatureFlags(c),l_(u)]);f.success||r(f.errorMessages)},[t,n,r]);return d(MLn.Provider,{value:a,children:e})}const KLn=Qe(Wn,"RemoveFeatureFlag");function VLn({children:e,settings$:n}){const t=Ru(),r=JAe(),a=m.useCallback(async i=>{if(!t)return;const{apiUrl:o,sub:l}=t,s=await o_(l,o);if(!s?.featureFlags?.includes(i))return;const c=s.featureFlags.filter(p=>p!==i),u={...s,featureFlags:c};n.next(u);const[f]=await Promise.all([Mo.updateFeatureFlags(c),l_(u)]);f.success||r(f.errorMessages)},[t,n,r]);return d(KLn.Provider,{value:a,children:e})}const eRe=Qe(Wn,"SetPreference");function BLn({children:e,settings$:n}){const t=Ru(),r=LLn(),a=m.useCallback(async(i,o)=>{if(!t)return;const{apiUrl:l,sub:s}=t,c=await o_(s,l);if(c?.preferences?.[i]===o)return;const u=c?.preferences?{...c.preferences,[i]:o}:{[i]:o},f=c?{...c,preferences:u}:{...K_,id:bu(),preferences:u};n.next(f);const[p]=await Promise.all([Mo.updatePreferences(u),l_(f)]);p.success||r(p.errorMessages)},[t,n,r]);return d(eRe.Provider,{value:a,children:e})}function nRe(){return m.useContext(eRe)}const tRe=Qe(Wn,"UpdateThemeSettings");function ULn({children:e,settings$:n}){const t=Ru(),r=m.useCallback(async a=>{if(!t)return;const{apiUrl:i,sub:o}=t,l=await o_(o,i),s=l?{...l,theme:a}:{...K_,id:bu(),theme:a};n.next(s),Mo.persistThemeSettings(a),Nr({kind:pj,themeSettings:s.theme}),await l_(s)},[t,n]);return d(tRe.Provider,{value:r,children:e})}function zLn(){return m.useContext(tRe)}const HLn=""+new URL("FiraCode-Medium.af358442.-YTCSZkP.woff2",import.meta.url).href,rRe=20,V_=36;function Dt(e){return d(jLn,{...e,role:"section"})}const jLn=W("div")(({theme:e,$background:n,$fixedSize:t,$flex:r="auto",$flexDirection:a,$separator:i,$spacing:o})=>ce`
711
+ `,XAe=W(Rj)(({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:`${X.components.toggleThumb} !important`,"&.Mui-checked":{color:`${X.components.toggleThumbActive} !important`},"& + .MuiSwitch-track":{opacity:"0.5 !important"}},"& .MuiSwitch-switchBase":{padding:2,color:X.components.toggleThumb,transition:"color 0.2s ease","& + .MuiSwitch-track":{borderColor:X.components.toggleTrackBorder,backgroundColor:X.components.toggleTrack,transition:"background-color 0.2s ease, border-color 0.2s ease"},"&.Mui-checked":{transform:"translateX(12px)",color:X.components.toggleThumbActive,"& + .MuiSwitch-track":{opacity:1,borderColor:X.components.toggleTrackActiveBorder,backgroundColor:X.components.toggleTrackActive}}},"& .MuiSwitch-switchBase:hover":{color:X.components.toggleThumbHover,"& + .MuiSwitch-track":{borderColor:X.components.toggleTrackHoverBorder,backgroundColor:X.components.toggleTrackHover},"&.Mui-checked":{color:X.components.toggleThumbActiveHover,"& + .MuiSwitch-track":{borderColor:X.components.toggleTrackActiveHoverBorder,backgroundColor:X.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}})),Gr=m.forwardRef(function({children:n,tooltip:t,tooltipPlacement:r,...a},i){return d(ut,{title:a.disabled?"":t,placement:r,children:d(rt,{ref:i,...a,children:n})})}),fLn={grantType:Gi,activeFlowKind:Gi,authorizationUrl:"",accessTokenUrl:"",credentialsInBody:!1,clientId:"",clientSecret:"",redirectUrl:"",scope:"",state:"",audience:"",resource:"",responseType:uj,usePkce:!0,pkceMethod:nx,origin:"",username:"",password:"",prefix:""},pLn=m.memo(function({options:n=fLn,onChange:t}){const{error:r,cancel:a,fetchToken:i,loading:o}=BRn();return G(ve,{children:[d(mLn,{options:n,onChange:t}),d(Kc,{flows:[Gi,oc],id:"authorizationUrl",type:"text",placeholder:"https://authorization-server.com/oauth2/authorize",options:n,onChange:t,label:"Authorization URL"}),d(Kc,{flows:[Ts],id:"username",type:"text",placeholder:"",options:n,onChange:t,label:"Username"}),d(Kc,{flows:[Ts],id:"password",type:"password",placeholder:"",options:n,onChange:t,label:"Password"}),d(Kc,{flows:[Gi,ic,Ts],id:"accessTokenUrl",type:"text",placeholder:"https://authorization-server.com/oauth2/token",options:n,onChange:t,label:"Access Token URL"}),d(Kc,{flows:[Gi,ic,oc,Ts],id:"clientId",type:"text",options:n,onChange:t,label:"Client ID"}),d(Kc,{flows:[Gi,ic,Ts],id:"clientSecret",type:"password",options:n,onChange:t,label:"Client Secret"}),d(hLn,{flows:[Gi],options:n,onChange:t}),d(yLn,{flows:[Gi],options:n,onChange:t}),d(Kc,{flows:[Gi,oc],id:"redirectUrl",type:"text",options:n,onChange:t,label:"Redirect URL"}),d(TLn,{redirectUrl:n.redirectUrl}),d(wLn,{flows:[oc],options:n,onChange:t}),d(Kc,{flows:[Gi,oc,ic,Ts],id:"scope",type:"text",options:n,onChange:t,label:"Scope"}),d(Kc,{flows:[Gi,oc],id:"state",type:"text",options:n,onChange:t,label:"State"}),d(vLn,{flows:[Gi,ic,Ts],options:n,onChange:t}),d(Kc,{flows:[Gi,oc,ic,Ts],id:"prefix",type:"text",options:n,onChange:t,label:"Header Prefix"}),d(Kc,{flows:[Gi,oc,ic,Ts],id:"audience",type:"text",options:n,onChange:t,label:"Audience"}),d(Kc,{flows:[Gi,ic],id:"resource",type:"text",options:n,onChange:t,label:"Resource"}),d(Kc,{flows:[Gi],id:"origin",type:"text",options:n,onChange:t,label:"Origin"}),d(bLn,{options:n,onChange:t}),G(kr,{children:[d(kLn,{options:n,onChange:t}),d(CLn,{options:n,onChange:t,cancel:a,fetchToken:i,loading:o}),d(gLn,{options:n,onChange:t,cancel:a,fetchToken:i,loading:o}),d(SLn,{options:n,onChange:t})]}),r&&d(Ps,{severity:"warning",title:"Error",children:r.message??"Ops, something went wrong!"})]})}),gLn=({cancel:e,fetchToken:n,loading:t,options:r,onChange:a})=>d(P2,{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?G(ve,{children:[d(Fl,{colorSelector:c=>c.components.button.contained.secondary.foreground}),"Cancel"]}):d(ve,{children:"Fetch"})}),mLn=({onChange:e,options:n})=>G(kr,{children:[d(Sr,{htmlFor:"grant-type",children:"Grant Type"}),G(yg,{id:"grant-type",onChange:r=>{let a=Gi,i=Gi;switch(r.target.value??""){case oc:a=oc,i=oc;break;case ic:a=ic,i=ic;break;case Ts:a=Ts,i=Ts;break}e({oAuth2Options:{...n,grantType:i,activeFlowKind:a}})},value:n.activeFlowKind,children:[d("option",{value:Gi,children:"Authorization Code"}),d("option",{value:oc,children:"Implicit"}),d("option",{value:ic,children:"Client Credentials"}),d("option",{value:Ts,children:"Resource Owner Password Credentials"})]})]}),Kc=({flows:e,label:n,id:t,onChange:r,options:a,...i})=>{const o=$_(a.activeFlowKind,e),l=s=>{r({oAuth2Options:{...a,[t]:s.target.value??""}})};return o?G(kr,{children:[d(Sr,{htmlFor:String(t),children:n}),d(lm,{id:String(t),value:a[t],onChange:l,...i})]}):null},hLn=({onChange:e,options:n,flows:t})=>{const r=$_(n.activeFlowKind,t),a=i=>{e({oAuth2Options:{...n,usePkce:i}})};return r?d(kr,{children:G(Sr,{children:[d(k0,{children:"Use PKCE"}),d(Zd,{checked:n.usePkce,offText:"No",onText:"Yes",onChange:a})]})}):null},yLn=({onChange:e,options:n,flows:t})=>{const r=$_(n.activeFlowKind,t),a=i=>{const o=i.target.value===a3?a3:nx;e({oAuth2Options:{...n,pkceMethod:o}})};return r&&n.usePkce?G(kr,{children:[d(Sr,{htmlFor:"pkce-method-code-challenge",children:"Code Challenge Method"}),G(yg,{id:"pkce-method-code-challenge",value:n.pkceMethod,onChange:a,children:[d("option",{value:nx,children:"SHA-256"}),d("option",{value:a3,children:"Plain"})]})]}):null},vLn=({onChange:e,options:n,flows:t})=>$_(n.activeFlowKind,t)?G(kr,{children:[d(Sr,{htmlFor:"pkce-method-credentials",children:"Credentials"}),G(yg,{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,bLn=({options:e})=>e.token?G(ve,{children:[G(kr,{children:[d(Sr,{htmlFor:"id_token",children:"Id Token"}),d(ld,{id:"id_token",disabled:!0,value:e.token.identityToken??""})]}),G(kr,{children:[d(Sr,{htmlFor:"access_token",children:"Access Token"}),d(ld,{id:"access_token",disabled:!0,value:e.token.accessToken??""})]}),G(kr,{children:[d(Sr,{htmlFor:"refresh_token",children:"Refresh Token"}),d(ld,{id:"refresh_token",disabled:!0,value:e.token.refreshToken??""})]})]}):null;function kLn({options:e,onChange:n}){return e.token?d(P2,{description:"Clear tokens",onClick:()=>{n({oAuth2Options:{...e,token:void 0}})},children:"Clear"}):null}function SLn({options:e,onChange:n}){if(!lg||e.activeFlowKind!==Gi&&e.activeFlowKind!==oc)return null;const t=r=>{r.preventDefault(),r.stopPropagation(),n({oAuth2Options:{...e,sessionId:bu()}})};return d(P2,{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 CLn=({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:xW});u&&a({oAuth2Options:{...r,token:u}})};return r?.token?.refreshToken?d(P2,{description:"Refresh token",onClick:t?i:o,children:t?G(ve,{children:[d(Fl,{colorSelector:c=>c.components.button.contained.secondary.foreground}),"Cancel"]}):d(ve,{children:"Refresh"})}):null},wLn=({flows:e,onChange:n,options:t})=>$_(t.activeFlowKind,e)?G(kr,{children:[d(Sr,{htmlFor:"response-type",children:"Response Type"}),G(yg,{id:"response-type",onChange:i=>{let o=uj;switch(i.target.value??""){case jL:o=jL;break;case HL:o=HL;break}n({oAuth2Options:{...t,responseType:o}})},value:t.responseType,children:[d("option",{value:uj,children:"Access Token"}),d("option",{value:jL,children:"ID Token"}),d("option",{value:HL,children:"ID and Access Token"})]})]}):null;function $_(e,n){return m.useMemo(()=>!!n.find(t=>t===e),[n,e])}function P2({children:e,description:n,tooltip:t,...r}){return G(Sr,{children:[G(k0,{children:[n,t&&d(ut,{title:t,placement:"top-start",children:d("span",{children:d(or,{})})})]}),t?d(Gr,{tooltip:t,...r,children:e}):d(rt,{...r,children:e})]})}function TLn({redirectUrl:e}){if(!e||lg)return null;const n=DCn(e);return n&&x2(n)?d(Ps,{severity:"error",children:G("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(Ps,{severity:"warning",children:G("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 FLn=({authentication:e,onChange:n})=>{switch(e.activeAuthenticationKind){case pJe:return d(uLn,{options:e.basicOptions,onChange:n});case fJe:return d(dLn,{options:e.bearerOptions,onChange:n});case dj:return d(pLn,{options:e.oAuth2Options,onChange:n});default:return null}},ELn={activeAuthenticationKind:gJe},ILn=m.memo(function({authentication:n=ELn,onChange:t}){const[r,a]=m.useState(n),i=l=>{let s={...r,...l};const c=fj(s);s={...s,headerValue:c},a(s),t(s)},o=l=>{i({activeAuthenticationKind:l.target.value})};return m.useEffect(()=>{a(n)},[n]),G(ve,{children:[G(kr,{children:[d(Sr,{htmlFor:"auth-flow",children:"Type"}),d(yg,{id:"auth-flow",value:r.activeAuthenticationKind,onChange:o,children:mJe.map(({kind:l,text:s})=>d("option",{value:l,children:s},l))})]}),d(FLn,{authentication:r,onChange:i})]})}),Kr=m.forwardRef((e,n)=>d(sn,{ref:n,icon:"error",fill:X.states.failure,...e}));Kr.displayName="FailureIcon";const ro=m.forwardRef((e,n)=>d(sn,{ref:n,icon:"warning",fill:X.states.warning,...e}));ro.displayName="WarningIcon";function xLn(e){if(e===void 0)return e;try{return JSON.parse(e)}catch{return e}}function VGt(e){switch(e){case m0e:return"AUTO";case vJe:return"SSE";case yJe:case hJe:return"WS";default:throw new Error("Unknown subscription protocol")}}const K_={id:"-",apiUrl:"-",sub:"-",featureFlags:[],preferences:{},theme:GL};function DLn({children:e}){const n=_Ln();return n?d($Ln,{settings$:n,children:d(VLn,{settings$:n,children:d(BLn,{settings$:n,children:d(ULn,{settings$:n,children:d(N2.Provider,{value:n,children:e})})})})}):null}function _Ln(){const e=EAe(),n=m.useRef(void 0),t=ri();return m.useEffect(()=>{function r(s){n.current?(n.current.next(s),Nr({kind:pj,themeSettings:s.theme})):(n.current=Ll(s),Nr({kind:pj,themeSettings:s.theme}),t())}let a;async function i(s){let c=K_;a&&(a.abort(),a=void 0),s&&(a=new AbortController,c=await ALn(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 ALn(e,n){const{apiUrl:t,sub:r}=e;let a,i;try{if(a=await o_(r,t),i=await RLn(a?.id,r,t,n),i)return await l_(i),i}catch{}return i??a??K_}async function RLn(e,n,t,r){const a=await Mo.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??=GL.darkThemeName,c??=GL.lightThemeName,u??=GL.themeName,{id:e??bu(),apiUrl:t,sub:n,featureFlags:o,preferences:i,theme:{usePreferredOsAppearance:l,darkThemeName:s,lightThemeName:c,themeName:u}}}function JAe(){const e=L_(),n=ov();return m.useCallback(async t=>{const r=await n(null,Ti.error,"Feature Flags Not Pushed",t.length===1?t[0]:t);let a;function i(){e(r,void 0,!1),a()}const{dismiss:o}=JN("Feature Flags Not Pushed",G(ve,{children:[d(gS,{children:"We were not able to store the latest Feature Flag update on the server. Click on Details to find out more."}),d(__,{children:d(rt,{color:"primary",onClick:i,children:"Details"})})]}));a=o},[e,n])}function LLn(){const e=L_(),n=ov();return m.useCallback(async t=>{const r=await n(null,Ti.error,"Preference Not Pushed",t.length===1?t[0]:t);let a;function i(){e(r,void 0,!1),a()}const{dismiss:o}=JN("Preference Not Pushed",G(ve,{children:[d(gS,{children:"We were not able to store the latest Preference update on the server. Click on Details to find out more."}),d(__,{children:d(rt,{color:"primary",onClick:i,children:"Details"})})]}));a=o},[e,n])}const N2=Qe(null,"Settings");function ZAe(e){return e.preferences??{}}function PLn(){return zn(N2,ZAe)}function Rd(){return Oo(m.useContext(N2),ZAe,{})}function NLn(e){return e.theme}function OLn(){return zn(N2,NLn)}const MLn=Qe(Wn,"AddFeatureFlag");function $Ln({children:e,settings$:n}){const t=Ru(),r=JAe(),a=m.useCallback(async i=>{if(!t)return;const{apiUrl:o,sub:l}=t,s=await o_(l,o);if(s?.featureFlags?.includes(i))return;const c=s?.featureFlags?[...s.featureFlags,i]:[i],u=s?{...s,featureFlags:c}:{...K_,id:bu(),featureFlags:c};n.next(u);const[f]=await Promise.all([Mo.updateFeatureFlags(c),l_(u)]);f.success||r(f.errorMessages)},[t,n,r]);return d(MLn.Provider,{value:a,children:e})}const KLn=Qe(Wn,"RemoveFeatureFlag");function VLn({children:e,settings$:n}){const t=Ru(),r=JAe(),a=m.useCallback(async i=>{if(!t)return;const{apiUrl:o,sub:l}=t,s=await o_(l,o);if(!s?.featureFlags?.includes(i))return;const c=s.featureFlags.filter(p=>p!==i),u={...s,featureFlags:c};n.next(u);const[f]=await Promise.all([Mo.updateFeatureFlags(c),l_(u)]);f.success||r(f.errorMessages)},[t,n,r]);return d(KLn.Provider,{value:a,children:e})}const eRe=Qe(Wn,"SetPreference");function BLn({children:e,settings$:n}){const t=Ru(),r=LLn(),a=m.useCallback(async(i,o)=>{if(!t)return;const{apiUrl:l,sub:s}=t,c=await o_(s,l);if(c?.preferences?.[i]===o)return;const u=c?.preferences?{...c.preferences,[i]:o}:{[i]:o},f=c?{...c,preferences:u}:{...K_,id:bu(),preferences:u};n.next(f);const[p]=await Promise.all([Mo.updatePreferences(u),l_(f)]);p.success||r(p.errorMessages)},[t,n,r]);return d(eRe.Provider,{value:a,children:e})}function nRe(){return m.useContext(eRe)}const tRe=Qe(Wn,"UpdateThemeSettings");function ULn({children:e,settings$:n}){const t=Ru(),r=m.useCallback(async a=>{if(!t)return;const{apiUrl:i,sub:o}=t,l=await o_(o,i),s=l?{...l,theme:a}:{...K_,id:bu(),theme:a};n.next(s),Mo.persistThemeSettings(a),Nr({kind:pj,themeSettings:s.theme}),await l_(s)},[t,n]);return d(tRe.Provider,{value:r,children:e})}function zLn(){return m.useContext(tRe)}const HLn=""+new URL("FiraCode-Medium.cbb9dd2a.-YTCSZkP.woff2",import.meta.url).href,rRe=20,V_=36;function Dt(e){return d(jLn,{...e,role:"section"})}const jLn=W("div")(({theme:e,$background:n,$fixedSize:t,$flex:r="auto",$flexDirection:a,$separator:i,$spacing:o})=>ce`
712
712
  display: flex;
713
713
  flex: ${t?`0 0 ${e.spacing(t)}`:r};
714
714
  overflow: hidden;
@@ -886,7 +886,7 @@ ${f}}`}return`
886
886
  color: ${X.states.success};
887
887
  `;default:return ce`
888
888
  color: ${X.base.heading};
889
- `}}function sPn(e){return new Worker(""+new URL("graphql.worker.af358442.De-JUNf0.js",import.meta.url).href,{type:"module",name:e?.name})}function cPn(e){return new Worker(""+new URL("editor.worker.af358442.v0iaGZSm.js",import.meta.url).href,{type:"module",name:e?.name})}function uPn(e){return new Worker(""+new URL("json.worker.af358442.DW0uoc6x.js",import.meta.url).href,{type:"module",name:e?.name})}function dPn(e){return new Worker(""+new URL("yaml.worker.af358442.pUNszxRM.js",import.meta.url).href,{type:"module",name:e?.name})}let Rde=!1;(function(){Rde||(self.MonacoEnvironment={getWorker:function(e,n){switch(n){case"json":return new uPn({name:"json-worker"});case"yaml":return new dPn({name:"yaml-worker"});case"graphql":return new sPn({name:"graphql-worker"});default:return new cPn({name:"editor-worker"})}}},Rde=!0)})();function fPn(e){const n=gPn(e),t=pPn(n,e.id);return d(jf,{ref:t})}function pPn(e,n){const t=Rd(),r=m.useRef(null);return m.useEffect(()=>{if(!r.current)return;const a=r.current,i=Ut.createDiffEditor(a,{...sg,readOnly:!0,...t.value().editorPreferences}),o=Of.register(n,i),l=t.subscribe(({editorPreferences:s})=>{i.updateOptions({...s})});return i.setModel(e),()=>{o(),l(),i.dispose()}},[n,e,t]),eh(n,r),r}function gPn({content:e}){const n=Us(()=>({original:Ut.createModel("","graphql"),modified:Ut.createModel("","graphql")}));return n.current.original.updateOptions(Tf),n.current.modified.updateOptions(Tf),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 oP=36;function mPn(e){const{editorElementRef:n,isEmpty:t}=hPn(e);return G(yPn,{children:[d(jf,{ref:n}),e.placeholder&&t&&d(vPn,{children:e.placeholder})]})}function hPn({id:e,initialContent:n,language:t,onContentChange:r}){const a=m.useRef(null),[i,o]=m.useState(()=>n.length===0),l=Us(()=>Ut.createModel(n,t));return l.current.updateOptions(Tf),m.useEffect(()=>{if(!a.current)return;const s=a.current,c=l.current;Ut.setModelLanguage(c,t);const u=Ut.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:(oP-fc)/2,bottom:(oP-fc)/2},scrollbar:{useShadows:!1,horizontal:"hidden",horizontalHasArrows:!1,horizontalScrollbarSize:8,horizontalSliderSize:8,vertical:"hidden",verticalHasArrows:!1,verticalScrollbarSize:8,verticalSliderSize:8},fontFamily:Io,fontSize:Du,fontWeight:zm,lineHeight:fc,theme:bJe,"bracketPairColorization.enabled":!1}),f=Of.register(e,u),p=[u.addAction({id:"filter-editor-suppress-command-palette",label:"Suppress Command Palette",keybindings:[$g.F1],run:Wn}),u.addAction({id:"filter-editor-suppress-format-document",label:"Suppress Format Document",keybindings:[gh.Alt|gh.Shift|$g.KeyF,gh.CtrlCmd|gh.Shift|$g.KeyI],run:Wn}),u.addAction({id:"filter-editor-suppress-enter",label:"Suppress Enter",keybindings:[$g.Enter],precondition:"!suggestWidgetVisible",run:Wn}),u.addAction({id:"filter-editor-suppress-enter-with-modifiers",label:"Suppress Enter With Modifiers",keybindings:[gh.Shift|$g.Enter,gh.Alt|$g.Enter,gh.CtrlCmd|$g.Enter,gh.WinCtrl|$g.Enter],run:Wn})],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(()=>cg(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=`${oP}px`,u.layout(),o(c.getValue().length===0),()=>{p.forEach(y=>y.dispose()),h.dispose(),f(),u.dispose()}},[e,t,l,r]),m.useEffect(()=>()=>{l.current.dispose()},[l]),eh(e,a),{editorElementRef:a,isEmpty:i}}const yPn=W("div")`
889
+ `}}function sPn(e){return new Worker(""+new URL("graphql.worker.cbb9dd2a.xpDyakfn.js",import.meta.url).href,{type:"module",name:e?.name})}function cPn(e){return new Worker(""+new URL("editor.worker.cbb9dd2a.bpPxd4HN.js",import.meta.url).href,{type:"module",name:e?.name})}function uPn(e){return new Worker(""+new URL("json.worker.cbb9dd2a.DzqSgOmm.js",import.meta.url).href,{type:"module",name:e?.name})}function dPn(e){return new Worker(""+new URL("yaml.worker.cbb9dd2a.FMre_zZ7.js",import.meta.url).href,{type:"module",name:e?.name})}let Rde=!1;(function(){Rde||(self.MonacoEnvironment={getWorker:function(e,n){switch(n){case"json":return new uPn({name:"json-worker"});case"yaml":return new dPn({name:"yaml-worker"});case"graphql":return new sPn({name:"graphql-worker"});default:return new cPn({name:"editor-worker"})}}},Rde=!0)})();function fPn(e){const n=gPn(e),t=pPn(n,e.id);return d(jf,{ref:t})}function pPn(e,n){const t=Rd(),r=m.useRef(null);return m.useEffect(()=>{if(!r.current)return;const a=r.current,i=Ut.createDiffEditor(a,{...sg,readOnly:!0,...t.value().editorPreferences}),o=Of.register(n,i),l=t.subscribe(({editorPreferences:s})=>{i.updateOptions({...s})});return i.setModel(e),()=>{o(),l(),i.dispose()}},[n,e,t]),eh(n,r),r}function gPn({content:e}){const n=Us(()=>({original:Ut.createModel("","graphql"),modified:Ut.createModel("","graphql")}));return n.current.original.updateOptions(Tf),n.current.modified.updateOptions(Tf),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 oP=36;function mPn(e){const{editorElementRef:n,isEmpty:t}=hPn(e);return G(yPn,{children:[d(jf,{ref:n}),e.placeholder&&t&&d(vPn,{children:e.placeholder})]})}function hPn({id:e,initialContent:n,language:t,onContentChange:r}){const a=m.useRef(null),[i,o]=m.useState(()=>n.length===0),l=Us(()=>Ut.createModel(n,t));return l.current.updateOptions(Tf),m.useEffect(()=>{if(!a.current)return;const s=a.current,c=l.current;Ut.setModelLanguage(c,t);const u=Ut.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:(oP-fc)/2,bottom:(oP-fc)/2},scrollbar:{useShadows:!1,horizontal:"hidden",horizontalHasArrows:!1,horizontalScrollbarSize:8,horizontalSliderSize:8,vertical:"hidden",verticalHasArrows:!1,verticalScrollbarSize:8,verticalSliderSize:8},fontFamily:Io,fontSize:Du,fontWeight:zm,lineHeight:fc,theme:bJe,"bracketPairColorization.enabled":!1}),f=Of.register(e,u),p=[u.addAction({id:"filter-editor-suppress-command-palette",label:"Suppress Command Palette",keybindings:[$g.F1],run:Wn}),u.addAction({id:"filter-editor-suppress-format-document",label:"Suppress Format Document",keybindings:[gh.Alt|gh.Shift|$g.KeyF,gh.CtrlCmd|gh.Shift|$g.KeyI],run:Wn}),u.addAction({id:"filter-editor-suppress-enter",label:"Suppress Enter",keybindings:[$g.Enter],precondition:"!suggestWidgetVisible",run:Wn}),u.addAction({id:"filter-editor-suppress-enter-with-modifiers",label:"Suppress Enter With Modifiers",keybindings:[gh.Shift|$g.Enter,gh.Alt|$g.Enter,gh.CtrlCmd|$g.Enter,gh.WinCtrl|$g.Enter],run:Wn})],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(()=>cg(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=`${oP}px`,u.layout(),o(c.getValue().length===0),()=>{p.forEach(y=>y.dispose()),h.dispose(),f(),u.dispose()}},[e,t,l,r]),m.useEffect(()=>()=>{l.current.dispose()},[l]),eh(e,a),{editorElementRef:a,isEmpty:i}}const yPn=W("div")`
890
890
  position: relative;
891
891
  display: flex;
892
892
  flex: 1 1 auto;
@@ -1861,7 +1861,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1861
1861
  height: 100%;
1862
1862
  opacity: 0;
1863
1863
  transition: opacity 0.2 ease;
1864
- `,Ojn=m.lazy(()=>iZe(()=>import("./index.af358442.CBE7L1tx.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url));function Mjn({children:e}){const n=j6n(),t=bMe(),r=SMe(),a=LMe(),i=mUn(),o=fUn(),l=m.useCallback(s=>{s?t():r()},[t,r]);return i?d(Qge,{}):d(JZ,{id:"console",asideCollapsible:!0,asideCollapsed:a,asideHeight:o,mainPane:"top",topContent:e,bottomContent:d(Qge,{}),onAsideHeightChange:n,onAsideCollapsedChange:l})}const Qge=m.memo(function(){return d(XLn,{children:d(cs,{children:d(m.Suspense,{fallback:d(In,{}),children:d(Ojn,{})})})})});function $jn(){const e=q2n(),n=vS()?.title??ix,t=CRn();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 l$e=m.forwardRef((e,n)=>d(sn,{ref:n,icon:"arrow-circle-down",...e}));l$e.displayName="UpdateAppIcon";const Kjn=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 Vjn({status:e="none",className:n}){return d(Bjn,{"aria-hidden":"true",className:Ie(e,n)})}const Bjn=W("div")(({theme:e})=>ce`
1864
+ `,Ojn=m.lazy(()=>iZe(()=>import("./index.cbb9dd2a.vQhlIpdT.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url));function Mjn({children:e}){const n=j6n(),t=bMe(),r=SMe(),a=LMe(),i=mUn(),o=fUn(),l=m.useCallback(s=>{s?t():r()},[t,r]);return i?d(Qge,{}):d(JZ,{id:"console",asideCollapsible:!0,asideCollapsed:a,asideHeight:o,mainPane:"top",topContent:e,bottomContent:d(Qge,{}),onAsideHeightChange:n,onAsideCollapsedChange:l})}const Qge=m.memo(function(){return d(XLn,{children:d(cs,{children:d(m.Suspense,{fallback:d(In,{}),children:d(Ojn,{})})})})});function $jn(){const e=q2n(),n=vS()?.title??ix,t=CRn();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 l$e=m.forwardRef((e,n)=>d(sn,{ref:n,icon:"arrow-circle-down",...e}));l$e.displayName="UpdateAppIcon";const Kjn=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 Vjn({status:e="none",className:n}){return d(Bjn,{"aria-hidden":"true",className:Ie(e,n)})}const Bjn=W("div")(({theme:e})=>ce`
1865
1865
  border-radius: 50%;
1866
1866
  width: ${e.spacing(10)};
1867
1867
  height: ${e.spacing(10)};
@@ -1 +1 @@
1
- import{S as o,E as a}from"./monaco.af358442.fH51QxJ-.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.cbb9dd2a.D4ai2qOB.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)};