@chillicream/nitro-embedded 30.0.2 → 31.0.0-insider.10

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 (30) hide show
  1. package/assets/context-providers.ebc96711.CwhXXxgU.js +3991 -0
  2. package/assets/{editor.worker.b80d8424.BZd2Bdq2.js → editor.worker.ebc96711.DKAuMy-n.js} +1 -1
  3. package/assets/{graphql-engine-scheduler.b80d8424.BIAP1cE9.js → graphql-engine-scheduler.ebc96711.B11oHowx.js} +3 -3
  4. package/assets/{graphql-indexer-scheduler.b80d8424.fuMYnFk0.js → graphql-indexer-scheduler.ebc96711.CkBf5wkL.js} +3 -3
  5. package/assets/{graphql.worker.b80d8424.CHEJT8-c.js → graphql.worker.ebc96711.BIz1Ogzk.js} +3 -3
  6. package/assets/{index.b80d8424.DsczWEIv.js → index.ebc96711.EB2RHt-d.js} +7 -7
  7. package/assets/{json.worker.b80d8424.DRi2v0dt.js → json.worker.ebc96711.D9CgGxv1.js} +1 -1
  8. package/assets/{jsonMode.b80d8424.8UbunXhg.js → jsonMode.ebc96711.BYC6xVHQ.js} +1 -1
  9. package/assets/{main.b80d8424.Bn1T57BQ.js → main.ebc96711.BxZUQ8uS.js} +25 -29
  10. package/assets/{monaco.b80d8424.DkQR9Zyg.css → monaco.ebc96711.C1UZpfqi.css} +1 -1
  11. package/assets/{monaco.b80d8424.DNmJ3sDC.css → monaco.ebc96711.DlFBNdoM.css} +1 -1
  12. package/assets/{monaco.b80d8424.jGozqPLC.js → monaco.ebc96711.Dxl2xxQr.js} +2 -2
  13. package/assets/{session-scheduler.b80d8424.aW0-ct_v.js → session-scheduler.ebc96711.c_m_MAeR.js} +3 -3
  14. package/assets/{yaml.b80d8424.DGFcs6Nt.js → yaml.ebc96711.hhC7PLpS.js} +1 -1
  15. package/assets/{yaml.worker.b80d8424.q5FccL7x.js → yaml.worker.ebc96711.DsdIVPUV.js} +1 -1
  16. package/favicon.ico +0 -0
  17. package/favicon.svg +4 -4
  18. package/index.html +4 -4
  19. package/package.json +3 -2
  20. package/service-worker.js +1 -1
  21. package/assets/context-providers.b80d8424.B76mxacb.js +0 -3992
  22. /package/assets/{FiraCode-Medium.b80d8424.-YTCSZkP.woff2 → FiraCode-Medium.ebc96711.-YTCSZkP.woff2} +0 -0
  23. /package/assets/{codicon.b80d8424.Hscy-R9e.ttf → codicon.ebc96711.Hscy-R9e.ttf} +0 -0
  24. /package/assets/{context-providers.b80d8424.3HkX5s82.css → context-providers.ebc96711.3HkX5s82.css} +0 -0
  25. /package/assets/{main.b80d8424.BdMtxJz7.css → main.ebc96711.BdMtxJz7.css} +0 -0
  26. /package/assets/{monaco.b80d8424.CW8QmSOo.js → monaco.ebc96711.5Abwto-1.js} +0 -0
  27. /package/assets/{monaco.b80d8424.DUscfaQn.js → monaco.ebc96711.CmHa0Pm6.js} +0 -0
  28. /package/assets/{monaco.b80d8424.CVrHpwcq.js → monaco.ebc96711.Cz1Qx9aH.js} +0 -0
  29. /package/assets/{monaco.b80d8424.CcJBgAKd.js → monaco.ebc96711.DBTevzmc.js} +0 -0
  30. /package/assets/{monaco.b80d8424.C0XenLoG.js → monaco.ebc96711.DUsqws7z.js} +0 -0
@@ -1,32 +1,32 @@
1
- import{fh as ke,b as r,ly as Se,f0 as De,lz as ve,b1 as e,hm as Re,b8 as c,lA as le,B as v,jZ as R,jL as F,jK as N,b9 as I,lB as we,lC as xe,hn as _e,ct as Ne,cu as ye,jM as Ee,jN as He,lD as de,dt as ee,du as ue,a2 as w,fZ as Me,ew as qe,c9 as x,ds as Oe,jF as Pe,jG as Ae,jH as je,jI as $e,lE as O,ba as ze,fy as Be,bb as Fe,dK as Ge,lF as Ke,eE as Ue,fL as We,lG as Ve,fX as Je,lH as Qe,fA as Ye,bc as Ze,bd as Xe,lI as et,fF as tt,be as nt,gA as W,gB as k,lJ as P,fn as te,fo as A,dL as g,dM as j,gz as V,lK as X,hl as G,jQ as _,hk as he,dI as ne,lL as st,gC as it,lM as ot,lN as rt,fV as ct,lO as at,g1 as lt,lP as dt,et as ut,jv as ht,ju as pt,lQ as ft}from"./main.b80d8424.Bn1T57BQ.js";import{u as It,a as $,b as S,L as mt,c as gt,V as Ct,C as b,H as y,d as E,S as pe,T as K,e as H,f as fe,g as m,h as T,i as Ie,j as me,A as U,k as se,l as Lt,m as bt,n as Tt,o as kt,p as St,q as Dt,r as vt,s as Rt,t as wt,v as xt}from"./context-providers.b80d8424.B76mxacb.js";import"./monaco.b80d8424.jGozqPLC.js";function z(){const t=It(),n=ke();return r.useCallback(async(s,i)=>{await n(s),i&&t(s,i,void 0)},[t,n])}const B="log";function _t(){const t=Se(),n=$(B).toLocaleLowerCase(),s=r.useRef(null),i=r.useRef(t),o=r.useRef(t.followNewest),a=r.useRef(!0),l=De(),u=z(),h=ve(),p={activeId:t.activeId,activeChildId:t.activeChildId,entries:t.entries.filter(d=>{const{kind:f}=d;switch(f){case"basic":return d.message.toLocaleLowerCase().includes(n);case"http-request":return d.name?.toLocaleLowerCase().includes(n)||d.uri.toLocaleLowerCase().includes(n);case"scope":return d.name.includes(n)||d.details?.uri?.toLocaleLowerCase().includes(n);case"subscription-request":return d.uri.toLocaleLowerCase().includes(n);default:return S()}})};i.current=t,o.current=t.followNewest;const C=r.useCallback(d=>{a.current=!1,d.kind==="http-request"&&d.scopeId?l(d.scopeId,d.id):l(d.id)},[l]),L=r.useCallback(async d=>{d.item?.id&&await u(d.item.id,d.id)},[u]),Q=r.useCallback(d=>{const{scrollTop:f,clientHeight:D,scrollHeight:Te}=d.currentTarget;a.current=!0,o.current=Te-D<=Math.ceil(f),h(o.current)},[h]),Y=r.useCallback(d=>{if(s.current=d,s.current&&i.current.entries.length){const f=i.current.activeId?i.current.entries.findIndex(({id:D})=>D===i.current.activeId):-1;f===-1?s.current.scrollToIndex({index:i.current.entries.length-1,align:"end"}):s.current.scrollToIndex({index:f,align:"end"})}},[]);r.useLayoutEffect(()=>{o.current&&s.current&&p.entries.length&&s.current.scrollToIndex({index:p.entries.length-1,align:"end"})},[p.entries.length]),r.useLayoutEffect(()=>{if(a.current&&!o.current&&t.activeId&&s.current&&i.current){const d=i.current.entries.findIndex(({id:f})=>f===t.activeId);d!==-1&&s.current.scrollToIndex({index:d,align:"end"})}a.current=!0},[t.activeId]),r.useEffect(()=>()=>h(!0),[h]);const be=r.useCallback((d,f)=>{const D=f.kind==="http-request"&&f.scopeId?f.id===p.activeChildId&&f.scopeId===p.activeId:f.id===p.activeId;return e(mt,{onClick:()=>C(f),onDoubleClick:()=>L(f),className:D?"active":void 0,children:e(Nt,{active:D,logEntry:f})})},[p.activeId,p.activeChildId,C,L]);return p.entries.length?e(Ct,{innerListRef:Y,data:p.entries,computeItemKey:d=>`log-entry-${d}`,fixedItemSize:gt,tabIndex:-1,onScrollVirtualList:Q,itemContent:be}):e(Re,{isFilterActive:!!n})}const Nt=r.memo(function({active:n,logEntry:s}){const{kind:i}=s;switch(i){case"basic":return e(yt,{active:n,logEntry:s});case"http-request":return e(Et,{active:n,logEntry:s});case"scope":return e(Ht,{active:n,logEntry:s});case"subscription-request":return e(Mt,{active:n,logEntry:s});default:return S()}}),yt=r.memo(function({active:n,logEntry:{id:s,level:i,message:o,timestamp:a,item:l}}){return c(I,{children:[e(J,{id:s,active:n}),e(ge,{level:i}),e(q,{children:e(Ce,{level:i})}),e(E,{children:e(y,{text:o,highlightedText:$(B)})}),e(M,{item:l}),e(H,{children:N(a)})]})});function ge({level:t}){switch(t){case x.warning:return e(m,{children:e(Oe,{})});case x.error:return e(m,{children:e(ee,{})});default:return e(m,{children:e(qe,{})})}}const Ce=r.memo(function({level:n}){switch(n){case x.error:return e(b,{color:"error",label:"ERR"});case x.info:return e(b,{color:"info",label:"INFO"});case x.warning:return e(b,{color:"warning",label:"WARN"});default:return S()}}),Et=r.memo(function({active:n,logEntry:{id:s,scopeId:i,status:o,name:a,started:l,duration:u,item:h,uri:p,method:C,statusCode:L,contentLength:Q,lastChild:Y}}){return c(I,{children:[i?e(Ot,{active:n,last:Y??!1}):e(J,{id:s,active:n,pending:o==="pending"}),e(Le,{status:o,statusCode:L}),e(q,{children:e(b,{color:"info",label:C})}),e(E,{children:e(y,{text:a?.length?a+": "+p:p,highlightedText:$(B)})}),e(ie,{children:e(fe,{status:o,statusCode:L})}),e(oe,{children:R(Q)}),e(K,{children:F(u)}),e(M,{item:h}),e(H,{children:N(l)})]})}),Ht=r.memo(function({active:n,logEntry:{id:s,name:i,level:o,started:a,duration:l,item:u,details:h,expanded:p}}){const C=$(B);return c(I,{children:[e(J,{id:s,active:n,pending:h?.status==="pending",expandable:!0,expanded:p}),h?.kind==="introspection"?c(I,{children:[e(Le,{status:h.status,statusCode:h.statusCode}),e(q,{children:e(b,{color:"info",label:h.method})}),e(E,{children:e(y,{text:i?.length?i+": "+h.uri:h.uri,highlightedText:C})}),e(ie,{children:e(fe,{status:h.status,statusCode:h.statusCode})}),e(oe,{children:R(h.contentLength)}),e(K,{children:F(l)}),e(M,{item:u}),e(H,{children:N(a)})]}):c(I,{children:[e(ge,{level:o}),e(q,{children:e(Ce,{level:o})}),e(E,{children:e(y,{text:i,highlightedText:C})}),e(K,{children:F(l)}),e(M,{item:u}),e(H,{children:N(a)})]})]})});function Le({status:t,statusCode:n}){return t==="pending"?e(m,{children:e(de,{})}):t==="cancelled"?e(m,{children:e(Me,{})}):!n||n>=300?e(m,{children:e(ee,{})}):e(m,{children:e(ue,{})})}const Mt=r.memo(function({active:n,logEntry:{id:s,status:i,started:o,duration:a,item:l,protocol:u,uri:h,contentLength:p}}){return c(I,{children:[e(J,{id:s,active:n}),e(qt,{status:i}),e(q,{children:e(b,{color:"info",label:le(u)})}),e(E,{children:e(y,{text:h,highlightedText:$(B)})}),e(ie,{children:e(pe,{status:i})}),e(oe,{children:R(p)}),e(K,{children:F(a)}),e(M,{item:l}),e(H,{children:N(o)})]})});function qt({status:t}){return t==="pending"?e(m,{children:e(de,{})}):t==="failed"?e(m,{children:e(ee,{})}):e(m,{children:e(ue,{})})}function J({id:t,active:n,pending:s,expandable:i,expanded:o}){const a=we(),l=xe(),u=r.useCallback(h=>{i&&(h.stopPropagation(),o?a(t):l(t))},[t,i,o,a,l]);return e(m,{onClick:u,children:s?e(_e,{}):i?o?e(Ne,{}):e(ye,{}):n?e(Ee,{}):e(He,{})})}function Ot({active:t,last:n}){return e(m,{children:n?t?e(Pe,{}):e(Ae,{}):t?e(je,{}):e($e,{})})}function M({item:t}){return e(At,{children:t&&c(I,{children:[e(m,{children:e(Pt,{kind:t.kind})}),e(jt,{children:t.name})]})})}function Pt({kind:t}){if(!t)return e(O,{});switch(t){case nt:case et:return e(tt,{});case Xe:case Ze:case Qe:return e(Ye,{});case Ve:return e(Je,{});case We:case Ke:return e(Ue,{});case Fe:return e(Ge,{});case ze:return e(Be,{});default:return S()}}const At=v("div")(({theme:t})=>w`
1
+ import{fi as ke,b as r,lM as Se,f1 as De,lN as Re,b1 as e,hn as ve,b8 as c,lO as le,B as R,ka as v,jZ as U,jY as N,b9 as I,lP as we,lQ as xe,ho as _e,ct as Ne,cu as ye,j_ as Me,j$ as Ee,lR as de,dt as ee,du as ue,a2 as w,f_ as He,ex as qe,c9 as x,ds as Oe,jT as Pe,jU as Ae,jV as $e,jW as je,lS as O,ba as ze,fz as Be,bb as Ue,dK as Fe,lT as Ge,eF as We,fM as Ke,lU as Ve,fY as Ye,lV as Je,fB as Qe,bc as Ze,bd as Xe,lW as et,fG as tt,be as nt,gB as K,gC as k,lX as P,fo as te,fp as A,dL as g,dM as $,gA as V,lY as X,hm as F,k2 as _,hl as he,dI as ne,lZ as st,gD as it,l_ as ot,l$ as rt,fW as ct,m0 as at,g2 as lt,m1 as dt,eu as ut,jJ as ht,jI as pt,m2 as ft}from"./main.ebc96711.BxZUQ8uS.js";import{u as It,a as j,b as S,L as mt,c as gt,V as Ct,C as b,H as y,d as M,S as pe,T as G,e as E,f as fe,g as m,h as T,i as Ie,j as me,A as W,k as se,l as Lt,m as bt,n as Tt,o as kt,p as St,q as Dt,r as Rt,s as vt,t as wt,v as xt}from"./context-providers.ebc96711.CwhXXxgU.js";import"./monaco.ebc96711.Dxl2xxQr.js";function z(){const t=It(),n=ke();return r.useCallback(async(s,i)=>{await n(s),i&&t(s,i,void 0)},[t,n])}const B="log";function _t(){const t=Se(),n=j(B).toLocaleLowerCase(),s=r.useRef(null),i=r.useRef(t),o=r.useRef(t.followNewest),a=r.useRef(!0),l=De(),u=z(),h=Re(),p={activeId:t.activeId,activeChildId:t.activeChildId,entries:t.entries.filter(d=>{const{kind:f}=d;switch(f){case"basic":return d.message.toLocaleLowerCase().includes(n);case"http-request":return d.name?.toLocaleLowerCase().includes(n)||d.uri.toLocaleLowerCase().includes(n);case"scope":return d.name.includes(n)||d.details?.uri?.toLocaleLowerCase().includes(n);case"subscription-request":return d.uri.toLocaleLowerCase().includes(n);default:return S()}})};i.current=t,o.current=t.followNewest;const C=r.useCallback(d=>{a.current=!1,d.kind==="http-request"&&d.scopeId?l(d.scopeId,d.id):l(d.id)},[l]),L=r.useCallback(async d=>{d.item?.id&&await u(d.item.id,d.id)},[u]),J=r.useCallback(d=>{const{scrollTop:f,clientHeight:D,scrollHeight:Te}=d.currentTarget;a.current=!0,o.current=Te-D<=Math.ceil(f),h(o.current)},[h]),Q=r.useCallback(d=>{if(s.current=d,s.current&&i.current.entries.length){const f=i.current.activeId?i.current.entries.findIndex(({id:D})=>D===i.current.activeId):-1;f===-1?s.current.scrollToIndex({index:i.current.entries.length-1,align:"end"}):s.current.scrollToIndex({index:f,align:"end"})}},[]);r.useLayoutEffect(()=>{o.current&&s.current&&p.entries.length&&s.current.scrollToIndex({index:p.entries.length-1,align:"end"})},[p.entries.length]),r.useLayoutEffect(()=>{if(a.current&&!o.current&&t.activeId&&s.current&&i.current){const d=i.current.entries.findIndex(({id:f})=>f===t.activeId);d!==-1&&s.current.scrollToIndex({index:d,align:"end"})}a.current=!0},[t.activeId]),r.useEffect(()=>()=>h(!0),[h]);const be=r.useCallback((d,f)=>{const D=f.kind==="http-request"&&f.scopeId?f.id===p.activeChildId&&f.scopeId===p.activeId:f.id===p.activeId;return e(mt,{onClick:()=>C(f),onDoubleClick:()=>L(f),className:D?"active":void 0,children:e(Nt,{active:D,logEntry:f})})},[p.activeId,p.activeChildId,C,L]);return p.entries.length?e(Ct,{innerListRef:Q,data:p.entries,computeItemKey:d=>`log-entry-${d}`,fixedItemSize:gt,tabIndex:-1,onScrollVirtualList:J,itemContent:be}):e(ve,{isFilterActive:!!n})}const Nt=r.memo(function({active:n,logEntry:s}){const{kind:i}=s;switch(i){case"basic":return e(yt,{active:n,logEntry:s});case"http-request":return e(Mt,{active:n,logEntry:s});case"scope":return e(Et,{active:n,logEntry:s});case"subscription-request":return e(Ht,{active:n,logEntry:s});default:return S()}}),yt=r.memo(function({active:n,logEntry:{id:s,level:i,message:o,timestamp:a,item:l}}){return c(I,{children:[e(Y,{id:s,active:n}),e(ge,{level:i}),e(q,{children:e(Ce,{level:i})}),e(M,{children:e(y,{text:o,highlightedText:j(B)})}),e(H,{item:l}),e(E,{children:N(a)})]})});function ge({level:t}){switch(t){case x.warning:return e(m,{children:e(Oe,{})});case x.error:return e(m,{children:e(ee,{})});default:return e(m,{children:e(qe,{})})}}const Ce=r.memo(function({level:n}){switch(n){case x.error:return e(b,{color:"error",label:"ERR"});case x.info:return e(b,{color:"info",label:"INFO"});case x.warning:return e(b,{color:"warning",label:"WARN"});default:return S()}}),Mt=r.memo(function({active:n,logEntry:{id:s,scopeId:i,status:o,name:a,started:l,duration:u,item:h,uri:p,method:C,statusCode:L,contentLength:J,lastChild:Q}}){return c(I,{children:[i?e(Ot,{active:n,last:Q??!1}):e(Y,{id:s,active:n,pending:o==="pending"}),e(Le,{status:o,statusCode:L}),e(q,{children:e(b,{color:"info",label:C})}),e(M,{children:e(y,{text:a?.length?a+": "+p:p,highlightedText:j(B)})}),e(ie,{children:e(fe,{status:o,statusCode:L})}),e(oe,{children:v(J)}),e(G,{children:U(u)}),e(H,{item:h}),e(E,{children:N(l)})]})}),Et=r.memo(function({active:n,logEntry:{id:s,name:i,level:o,started:a,duration:l,item:u,details:h,expanded:p}}){const C=j(B);return c(I,{children:[e(Y,{id:s,active:n,pending:h?.status==="pending",expandable:!0,expanded:p}),h?.kind==="introspection"?c(I,{children:[e(Le,{status:h.status,statusCode:h.statusCode}),e(q,{children:e(b,{color:"info",label:h.method})}),e(M,{children:e(y,{text:i?.length?i+": "+h.uri:h.uri,highlightedText:C})}),e(ie,{children:e(fe,{status:h.status,statusCode:h.statusCode})}),e(oe,{children:v(h.contentLength)}),e(G,{children:U(l)}),e(H,{item:u}),e(E,{children:N(a)})]}):c(I,{children:[e(ge,{level:o}),e(q,{children:e(Ce,{level:o})}),e(M,{children:e(y,{text:i,highlightedText:C})}),e(G,{children:U(l)}),e(H,{item:u}),e(E,{children:N(a)})]})]})});function Le({status:t,statusCode:n}){return t==="pending"?e(m,{children:e(de,{})}):t==="cancelled"?e(m,{children:e(He,{})}):!n||n>=300?e(m,{children:e(ee,{})}):e(m,{children:e(ue,{})})}const Ht=r.memo(function({active:n,logEntry:{id:s,status:i,started:o,duration:a,item:l,protocol:u,uri:h,contentLength:p}}){return c(I,{children:[e(Y,{id:s,active:n}),e(qt,{status:i}),e(q,{children:e(b,{color:"info",label:le(u)})}),e(M,{children:e(y,{text:h,highlightedText:j(B)})}),e(ie,{children:e(pe,{status:i})}),e(oe,{children:v(p)}),e(G,{children:U(a)}),e(H,{item:l}),e(E,{children:N(o)})]})});function qt({status:t}){return t==="pending"?e(m,{children:e(de,{})}):t==="failed"?e(m,{children:e(ee,{})}):e(m,{children:e(ue,{})})}function Y({id:t,active:n,pending:s,expandable:i,expanded:o}){const a=we(),l=xe(),u=r.useCallback(h=>{i&&(h.stopPropagation(),o?a(t):l(t))},[t,i,o,a,l]);return e(m,{onClick:u,children:s?e(_e,{}):i?o?e(Ne,{}):e(ye,{}):n?e(Me,{}):e(Ee,{})})}function Ot({active:t,last:n}){return e(m,{children:n?t?e(Pe,{}):e(Ae,{}):t?e($e,{}):e(je,{})})}function H({item:t}){return e(At,{children:t&&c(I,{children:[e(m,{children:e(Pt,{kind:t.kind})}),e($t,{children:t.name})]})})}function Pt({kind:t}){if(!t)return e(O,{});switch(t){case nt:case et:return e(tt,{});case Xe:case Ze:case Je:return e(Qe,{});case Ve:return e(Ye,{});case Ke:case Ge:return e(We,{});case Ue:return e(Fe,{});case ze:return e(Be,{});default:return S()}}const At=R("div")(({theme:t})=>w`
2
2
  display: flex;
3
3
  flex: 0 0 ${t.spacing(100)};
4
4
  flex-direction: row;
5
5
  align-items: center;
6
6
  justify-content: flex-start;
7
7
  padding: ${t.spacing(0,6,0,4)};
8
- `),jt=v("div")(({theme:t})=>w`
8
+ `),$t=R("div")(({theme:t})=>w`
9
9
  flex: 0 0 ${t.spacing(78)};
10
10
  overflow: hidden;
11
11
  margin-left: ${t.spacing(2)};
12
12
  text-overflow: ellipsis;
13
13
  white-space: nowrap;
14
- `),q=v("div")(({theme:t})=>w`
14
+ `),q=R("div")(({theme:t})=>w`
15
15
  flex: 0 0 ${t.spacing(50)};
16
16
  padding: ${t.spacing(0,6)};
17
17
  white-space: nowrap;
18
- `),ie=v("div")(({theme:t})=>w`
18
+ `),ie=R("div")(({theme:t})=>w`
19
19
  flex: 0 0 ${t.spacing(40)};
20
20
  padding: ${t.spacing(0,6)};
21
21
  white-space: nowrap;
22
- `),oe=v("div")(({theme:t})=>w`
22
+ `),oe=R("div")(({theme:t})=>w`
23
23
  flex: 0 0 ${t.spacing(60)};
24
24
  padding: ${t.spacing(0,6)};
25
25
  white-space: nowrap;
26
26
  text-align: right;
27
- `);function $t({logEntry:t}){return c(I,{children:[e(zt,{logEntry:t}),e(W,{}),e(k,{children:t&&e(Bt,{logEntry:t})})]})}function zt({logEntry:t}){const n=P(),s=z(),i=r.useCallback(async()=>{t.item?.id&&await s(t.item.id)},[t.item?.id,s]);return c(V,{spacing:"right",children:[e(te,{children:"Details"}),e(A,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:i,children:e(O,{})}),e(g,{tooltip:"Close",onClick:n,children:e(j,{})})]})}const re="log-entry-details";function Bt({logEntry:t}){const n=X(t.details);return typeof n=="string"?e(G,{id:re,content:n,enforceWordWrap:!0}):e(_,{id:re,content:n})}function Ft({logEntry:t}){const[n,s]=r.useState("transport");return c(I,{children:[e(Gt,{logEntry:t,viewId:n,updateViewId:s}),e(W,{}),e(k,{children:t&&e(Kt,{logEntry:t,viewId:n})})]})}function Gt({logEntry:t,viewId:n,updateViewId:s}){const{Tabs:i,Tab:o,MoreTabs:a}=he(),l=P(),u=z(),h=r.useCallback(async()=>{t.item?.id&&await u(t.item.id,t.id)},[t.id,t.item?.id,u]),p=r.useCallback((C,L)=>{s(L)},[s]);return c(V,{spacing:"right",children:[c(i,{value:n,"aria-label":"Log Entry Details",onChange:p,children:[e(o,{label:"Transport",value:"transport"}),e(o,{label:"Request Body",value:"request-body"}),e(o,{label:"Response Body",value:"response-body"})]}),e(a,{}),e(A,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:h,children:e(O,{})}),e(g,{tooltip:"Close",onClick:l,children:e(j,{})})]})}const ce="request-body",Z="response-body";function Kt({logEntry:t,viewId:n}){switch(n){case"transport":return e(Ut,{logEntry:t});case"request-body":{const s=X(t.request.body);return typeof s=="string"?e(G,{id:ce,content:s}):e(_,{id:ce,content:s})}case"response-body":{const s=X(t.response?.body);return(s===void 0||s==="")&&t.response?.error?e(_,{id:Z,content:t.response.error}):typeof s=="string"?e(G,{id:Z,content:s,followNewestLine:!0,scrollPositionInvalidation:t.id}):e(_,{id:Z,content:s})}default:return S()}}function Ut({logEntry:t}){const{request:n,response:s}=t,i=n.headers?Object.entries(n.headers):[],o=s?.headers?Object.entries(s.headers):[],a=s?.contentLength??0;return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General HTTP Information",items:[{key:"url",name:"URL",description:n.uri},{key:"method",name:"Method",description:e(b,{color:"info",label:n.method})},{key:"status",name:"Status",description:e(Ie,{status:t.status})},s?.statusCode&&{key:"status-code",name:"Status Code",description:c(I,{children:[e(me,{statusCode:s.statusCode}),e(U,{children:s?.statusText&&`(${s.statusText})`})]})},{key:"response-size",name:"Response Size",description:R(a)},{key:"cache",name:"Cache",description:n.cache},n.credentials&&{key:"credentials",name:"Credentials",description:n.credentials},n.referrerPolicy&&{key:"referrer-policy",name:"Referrer Policy",description:n.referrerPolicy}].filter(l=>!!l),collapsible:!0}),i.length>0&&e(T,{title:"Request Headers",items:i.map(([l,u])=>({key:l,name:l,description:typeof u=="string"?u:u.join(", ")})),collapsible:!0}),o.length>0&&e(T,{title:"Response Headers",items:o.map(([l,u])=>({key:l,name:l,description:typeof u=="string"?u:u.join(", ")})),collapsible:!0})]})})})}function Wt({logEntry:t}){return c(I,{children:[e(Vt,{logEntry:t}),e(W,{}),e(k,{children:t&&e(Jt,{logEntry:t})})]})}function Vt({logEntry:t}){const n=P(),s=z(),i=r.useCallback(async()=>{t.item?.id&&await s(t.item.id,t.id)},[t.id,t.item?.id,s]);return c(V,{spacing:"right",children:[e(te,{children:"Transport"}),e(A,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:i,children:e(O,{})}),e(g,{tooltip:"Close",onClick:n,children:e(j,{})})]})}function Jt({logEntry:t}){const{details:n}=t;if(!n)return null;const s=n.requestHeaders?Object.entries(n.requestHeaders):[],i=n.responseHeaders?Object.entries(n.responseHeaders):[];return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General HTTP Information",items:[{key:"url",name:"URL",description:n.uri},{key:"method",name:"Method",description:e(b,{color:"info",label:n.method})},{key:"status",name:"Status",description:e(Ie,{status:n.status})},n?.statusCode&&{key:"status-code",name:"Status Code",description:c(I,{children:[e(me,{statusCode:n.statusCode}),e(U,{children:n?.statusText&&`(${n.statusText})`})]})},{key:"response-size",name:"Response Size",description:R(n.contentLength)},{key:"cache",name:"Cache",description:n.cache},n.credentials&&{key:"credentials",name:"Credentials",description:n.credentials},n.referrerPolicy&&{key:"referrer-policy",name:"Referrer Policy",description:n.referrerPolicy}].filter(o=>!!o),collapsible:!0}),s.length>0&&e(T,{title:"Request Headers",items:s.map(([o,a])=>({key:o,name:o,description:a})),collapsible:!0}),i.length>0&&e(T,{title:"Response Headers",items:i.map(([o,a])=>({key:o,name:o,description:a})),collapsible:!0})]})})})}function Qt({logEntry:t}){const[n,s]=r.useState("transport");return c(I,{children:[e(Yt,{logEntry:t,viewId:n,updateViewId:s}),e(W,{}),e(k,{children:t&&e(en,{logEntry:t,viewId:n})})]})}function Yt({logEntry:t,viewId:n,updateViewId:s}){const{Tabs:i,Tab:o,MoreTabs:a}=he(),l=P(),u=z(),h=r.useCallback(async()=>{t.item?.id&&await u(t.item.id,t.id)},[t.id,t.item?.id,u]),p=r.useCallback((C,L)=>{s(L)},[s]);return c(V,{spacing:"right",children:[c(i,{value:n,"aria-label":"Log Entry Details",onChange:p,children:[e(o,{label:"Transport",value:"transport"}),e(o,{label:"Messages",value:"messages"}),e(o,{label:"Problems",value:"problems"})]}),e(a,{}),e(A,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:h,children:e(O,{})}),e(g,{tooltip:"Close",onClick:l,children:e(j,{})})]})}const Zt="subscription-data",Xt="subscription-error";function en({logEntry:t,viewId:n}){switch(n){case"messages":return e(G,{id:Zt,content:t.data,followNewestLine:!0,scrollPositionInvalidation:t.id});case"problems":return e(_,{id:Xt,content:t.error});case"transport":return e(tn,{logEntry:t});default:return S()}}function tn({logEntry:t}){const n=t.connectionParams?Object.entries(t.connectionParams):[];return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General Information",items:[{key:"url",name:"URL",description:t.uri},{key:"protocol",name:"Protocol",description:c(I,{children:[e(b,{color:"info",label:le(t.protocol)}),c(U,{children:["(",t.protocol,")"]})]})},{key:"status",name:"Status",description:c(I,{children:[e(pe,{status:t.status}),c(U,{children:["(",t.status,")"]})]})},{key:"messages",name:"Messages",description:t.messages},{key:"response-size",name:"Response Size",description:R(t.contentLength)}],collapsible:!0}),n.length>0&&e(T,{title:"Connection Parameters",items:n.map(([s,i])=>({key:s,name:s,description:i})),collapsible:!0})]})})})}function nn(){const t=st();return t?e(it,{$separator:"left",children:e(sn,{logEntry:t})}):null}function sn({logEntry:t}){const{kind:n}=t;switch(n){case"basic":return e($t,{logEntry:t});case"http-request":return e(Ft,{logEntry:t});case"scope":return e(Wt,{logEntry:t});case"subscription-request":return e(Qt,{logEntry:t});default:return S()}}const ae="log";function on(){const t=ot(),n=Lt(ae),s=rt(),i=bt(ae);return c(rn,{role:"toolbar",children:[e(Tt,{searchTerm:n,onSearchTermChange:i}),e(g,{tooltip:"Clear Log",disabled:!t,onClick:s,children:e(ct,{})})]})}const rn=v("div")(({theme:t})=>w`
27
+ `);function jt({logEntry:t}){return c(I,{children:[e(zt,{logEntry:t}),e(K,{}),e(k,{children:t&&e(Bt,{logEntry:t})})]})}function zt({logEntry:t}){const n=P(),s=z(),i=r.useCallback(async()=>{t.item?.id&&await s(t.item.id)},[t.item?.id,s]);return c(V,{spacing:"right",children:[e(te,{children:"Details"}),e(A,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:i,children:e(O,{})}),e(g,{tooltip:"Close",onClick:n,children:e($,{})})]})}const re="log-entry-details";function Bt({logEntry:t}){const n=X(t.details);return typeof n=="string"?e(F,{id:re,content:n,enforceWordWrap:!0}):e(_,{id:re,content:n})}function Ut({logEntry:t}){const[n,s]=r.useState("transport");return c(I,{children:[e(Ft,{logEntry:t,viewId:n,updateViewId:s}),e(K,{}),e(k,{children:t&&e(Gt,{logEntry:t,viewId:n})})]})}function Ft({logEntry:t,viewId:n,updateViewId:s}){const{Tabs:i,Tab:o,MoreTabs:a}=he(),l=P(),u=z(),h=r.useCallback(async()=>{t.item?.id&&await u(t.item.id,t.id)},[t.id,t.item?.id,u]),p=r.useCallback((C,L)=>{s(L)},[s]);return c(V,{spacing:"right",children:[c(i,{value:n,"aria-label":"Log Entry Details",onChange:p,children:[e(o,{label:"Transport",value:"transport"}),e(o,{label:"Request Body",value:"request-body"}),e(o,{label:"Response Body",value:"response-body"})]}),e(a,{}),e(A,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:h,children:e(O,{})}),e(g,{tooltip:"Close",onClick:l,children:e($,{})})]})}const ce="request-body",Z="response-body";function Gt({logEntry:t,viewId:n}){switch(n){case"transport":return e(Wt,{logEntry:t});case"request-body":{const s=X(t.request.body);return typeof s=="string"?e(F,{id:ce,content:s}):e(_,{id:ce,content:s})}case"response-body":{const s=X(t.response?.body);return(s===void 0||s==="")&&t.response?.error?e(_,{id:Z,content:t.response.error}):typeof s=="string"?e(F,{id:Z,content:s,followNewestLine:!0,scrollPositionInvalidation:t.id}):e(_,{id:Z,content:s})}default:return S()}}function Wt({logEntry:t}){const{request:n,response:s}=t,i=n.headers?Object.entries(n.headers):[],o=s?.headers?Object.entries(s.headers):[],a=s?.contentLength??0;return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General HTTP Information",items:[{key:"url",name:"URL",description:n.uri},{key:"method",name:"Method",description:e(b,{color:"info",label:n.method})},{key:"status",name:"Status",description:e(Ie,{status:t.status})},s?.statusCode&&{key:"status-code",name:"Status Code",description:c(I,{children:[e(me,{statusCode:s.statusCode}),e(W,{children:s?.statusText&&`(${s.statusText})`})]})},{key:"response-size",name:"Response Size",description:v(a)},{key:"cache",name:"Cache",description:n.cache},n.credentials&&{key:"credentials",name:"Credentials",description:n.credentials},n.referrerPolicy&&{key:"referrer-policy",name:"Referrer Policy",description:n.referrerPolicy}].filter(l=>!!l),collapsible:!0}),i.length>0&&e(T,{title:"Request Headers",items:i.map(([l,u])=>({key:l,name:l,description:typeof u=="string"?u:u.join(", ")})),collapsible:!0}),o.length>0&&e(T,{title:"Response Headers",items:o.map(([l,u])=>({key:l,name:l,description:typeof u=="string"?u:u.join(", ")})),collapsible:!0})]})})})}function Kt({logEntry:t}){return c(I,{children:[e(Vt,{logEntry:t}),e(K,{}),e(k,{children:t&&e(Yt,{logEntry:t})})]})}function Vt({logEntry:t}){const n=P(),s=z(),i=r.useCallback(async()=>{t.item?.id&&await s(t.item.id,t.id)},[t.id,t.item?.id,s]);return c(V,{spacing:"right",children:[e(te,{children:"Transport"}),e(A,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:i,children:e(O,{})}),e(g,{tooltip:"Close",onClick:n,children:e($,{})})]})}function Yt({logEntry:t}){const{details:n}=t;if(!n)return null;const s=n.requestHeaders?Object.entries(n.requestHeaders):[],i=n.responseHeaders?Object.entries(n.responseHeaders):[];return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General HTTP Information",items:[{key:"url",name:"URL",description:n.uri},{key:"method",name:"Method",description:e(b,{color:"info",label:n.method})},{key:"status",name:"Status",description:e(Ie,{status:n.status})},n?.statusCode&&{key:"status-code",name:"Status Code",description:c(I,{children:[e(me,{statusCode:n.statusCode}),e(W,{children:n?.statusText&&`(${n.statusText})`})]})},{key:"response-size",name:"Response Size",description:v(n.contentLength)},{key:"cache",name:"Cache",description:n.cache},n.credentials&&{key:"credentials",name:"Credentials",description:n.credentials},n.referrerPolicy&&{key:"referrer-policy",name:"Referrer Policy",description:n.referrerPolicy}].filter(o=>!!o),collapsible:!0}),s.length>0&&e(T,{title:"Request Headers",items:s.map(([o,a])=>({key:o,name:o,description:a})),collapsible:!0}),i.length>0&&e(T,{title:"Response Headers",items:i.map(([o,a])=>({key:o,name:o,description:a})),collapsible:!0})]})})})}function Jt({logEntry:t}){const[n,s]=r.useState("transport");return c(I,{children:[e(Qt,{logEntry:t,viewId:n,updateViewId:s}),e(K,{}),e(k,{children:t&&e(en,{logEntry:t,viewId:n})})]})}function Qt({logEntry:t,viewId:n,updateViewId:s}){const{Tabs:i,Tab:o,MoreTabs:a}=he(),l=P(),u=z(),h=r.useCallback(async()=>{t.item?.id&&await u(t.item.id,t.id)},[t.id,t.item?.id,u]),p=r.useCallback((C,L)=>{s(L)},[s]);return c(V,{spacing:"right",children:[c(i,{value:n,"aria-label":"Log Entry Details",onChange:p,children:[e(o,{label:"Transport",value:"transport"}),e(o,{label:"Messages",value:"messages"}),e(o,{label:"Problems",value:"problems"})]}),e(a,{}),e(A,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:h,children:e(O,{})}),e(g,{tooltip:"Close",onClick:l,children:e($,{})})]})}const Zt="subscription-data",Xt="subscription-error";function en({logEntry:t,viewId:n}){switch(n){case"messages":return e(F,{id:Zt,content:t.data,followNewestLine:!0,scrollPositionInvalidation:t.id});case"problems":return e(_,{id:Xt,content:t.error});case"transport":return e(tn,{logEntry:t});default:return S()}}function tn({logEntry:t}){const n=t.connectionParams?Object.entries(t.connectionParams):[];return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General Information",items:[{key:"url",name:"URL",description:t.uri},{key:"protocol",name:"Protocol",description:c(I,{children:[e(b,{color:"info",label:le(t.protocol)}),c(W,{children:["(",t.protocol,")"]})]})},{key:"status",name:"Status",description:c(I,{children:[e(pe,{status:t.status}),c(W,{children:["(",t.status,")"]})]})},{key:"messages",name:"Messages",description:t.messages},{key:"response-size",name:"Response Size",description:v(t.contentLength)}],collapsible:!0}),n.length>0&&e(T,{title:"Connection Parameters",items:n.map(([s,i])=>({key:s,name:s,description:i})),collapsible:!0})]})})})}function nn(){const t=st();return t?e(it,{$separator:"left",children:e(sn,{logEntry:t})}):null}function sn({logEntry:t}){const{kind:n}=t;switch(n){case"basic":return e(jt,{logEntry:t});case"http-request":return e(Ut,{logEntry:t});case"scope":return e(Kt,{logEntry:t});case"subscription-request":return e(Jt,{logEntry:t});default:return S()}}const ae="log";function on(){const t=ot(),n=Lt(ae),s=rt(),i=bt(ae);return c(rn,{role:"toolbar",children:[e(Tt,{searchTerm:n,onSearchTermChange:i}),e(g,{tooltip:"Clear Log",disabled:!t,onClick:s,children:e(ct,{})})]})}const rn=R("div")(({theme:t})=>w`
28
28
  display: flex;
29
29
  flex: 1 1 auto;
30
30
  flex-direction: row;
31
31
  max-width: ${t.spacing(300)};
32
- `);function In(){const t=kt(),n=P(),s=r.useCallback(()=>{t(),n()},[t,n]);return c(I,{children:[c(at,{children:[e(cn,{}),e(A,{}),e(on,{}),e(an,{}),e(g,{onClick:s,children:e(j,{})})]}),e(dt,{children:e(lt,{children:e(ln,{})})})]})}function cn(){const{all:t}=ut();return c(te,{children:["Log (",t,")"]})}function an(){const t=St(),n=Dt();return vt()?e(g,{tooltip:"Minimize",onClick:n,children:e(ht,{})}):e(g,{tooltip:"Maximize",onClick:t,children:e(pt,{})})}function ln(){const t=ft(),n=Rt(),s=wt();return e(xt,{id:"log",asideCollapsible:!0,asideCollapsed:t===null,asideWidth:n,leftContent:e(dn,{}),mainPane:"left",relativeWidth:!0,rightContent:e(un,{}),onAsideWidthChange:s})}const dn=r.memo(_t),un=r.memo(nn);export{In as default};
32
+ `);function In(){const t=kt(),n=P(),s=r.useCallback(()=>{t(),n()},[t,n]);return c(I,{children:[c(at,{children:[e(cn,{}),e(A,{}),e(on,{}),e(an,{}),e(g,{onClick:s,children:e($,{})})]}),e(dt,{children:e(lt,{children:e(ln,{})})})]})}function cn(){const{all:t}=ut();return c(te,{children:["Log (",t,")"]})}function an(){const t=St(),n=Dt();return Rt()?e(g,{tooltip:"Minimize",onClick:n,children:e(ht,{})}):e(g,{tooltip:"Maximize",onClick:t,children:e(pt,{})})}function ln(){const t=ft(),n=vt(),s=wt();return e(xt,{id:"log",asideCollapsible:!0,asideCollapsed:t===null,asideWidth:n,leftContent:e(dn,{}),mainPane:"left",relativeWidth:!0,rightContent:e(un,{}),onAsideWidthChange:s})}const dn=r.memo(_t),un=r.memo(nn);export{In as default};
@@ -1,4 +1,4 @@
1
- import{S as xr,E as wr,p as Ye}from"./monaco.b80d8424.DUscfaQn.js";let ot=!1;function cr(e){if(ot)return;ot=!0;const r=new xr(i=>{globalThis.postMessage(i)},i=>new wr(i,e));globalThis.onmessage=i=>{r.onmessage(i.data)}}globalThis.onmessage=e=>{ot||cr(null)};function At(e,r){r===void 0&&(r=!1);var i=e.length,t=0,n="",a=0,s=16,o=0,f=0,l=0,c=0,u=0;function h(m,I){for(var E=0,x=0;E<m;){var w=e.charCodeAt(t);if(w>=48&&w<=57)x=x*16+w-48;else if(w>=65&&w<=70)x=x*16+w-65+10;else if(w>=97&&w<=102)x=x*16+w-97+10;else break;t++,E++}return E<m&&(x=-1),x}function g(m){t=m,n="",a=0,s=16,u=0}function d(){var m=t;if(e.charCodeAt(t)===48)t++;else for(t++;t<e.length&&be(e.charCodeAt(t));)t++;if(t<e.length&&e.charCodeAt(t)===46)if(t++,t<e.length&&be(e.charCodeAt(t)))for(t++;t<e.length&&be(e.charCodeAt(t));)t++;else return u=3,e.substring(m,t);var I=t;if(t<e.length&&(e.charCodeAt(t)===69||e.charCodeAt(t)===101))if(t++,(t<e.length&&e.charCodeAt(t)===43||e.charCodeAt(t)===45)&&t++,t<e.length&&be(e.charCodeAt(t))){for(t++;t<e.length&&be(e.charCodeAt(t));)t++;I=t}else u=3;return e.substring(m,I)}function v(){for(var m="",I=t;;){if(t>=i){m+=e.substring(I,t),u=2;break}var E=e.charCodeAt(t);if(E===34){m+=e.substring(I,t),t++;break}if(E===92){if(m+=e.substring(I,t),t++,t>=i){u=2;break}var x=e.charCodeAt(t++);switch(x){case 34:m+='"';break;case 92:m+="\\";break;case 47:m+="/";break;case 98:m+="\b";break;case 102:m+="\f";break;case 110:m+=`
1
+ import{S as xr,E as wr,p as Ye}from"./monaco.ebc96711.CmHa0Pm6.js";let ot=!1;function cr(e){if(ot)return;ot=!0;const r=new xr(i=>{globalThis.postMessage(i)},i=>new wr(i,e));globalThis.onmessage=i=>{r.onmessage(i.data)}}globalThis.onmessage=e=>{ot||cr(null)};function At(e,r){r===void 0&&(r=!1);var i=e.length,t=0,n="",a=0,s=16,o=0,f=0,l=0,c=0,u=0;function h(m,I){for(var E=0,x=0;E<m;){var w=e.charCodeAt(t);if(w>=48&&w<=57)x=x*16+w-48;else if(w>=65&&w<=70)x=x*16+w-65+10;else if(w>=97&&w<=102)x=x*16+w-97+10;else break;t++,E++}return E<m&&(x=-1),x}function g(m){t=m,n="",a=0,s=16,u=0}function d(){var m=t;if(e.charCodeAt(t)===48)t++;else for(t++;t<e.length&&be(e.charCodeAt(t));)t++;if(t<e.length&&e.charCodeAt(t)===46)if(t++,t<e.length&&be(e.charCodeAt(t)))for(t++;t<e.length&&be(e.charCodeAt(t));)t++;else return u=3,e.substring(m,t);var I=t;if(t<e.length&&(e.charCodeAt(t)===69||e.charCodeAt(t)===101))if(t++,(t<e.length&&e.charCodeAt(t)===43||e.charCodeAt(t)===45)&&t++,t<e.length&&be(e.charCodeAt(t))){for(t++;t<e.length&&be(e.charCodeAt(t));)t++;I=t}else u=3;return e.substring(m,I)}function v(){for(var m="",I=t;;){if(t>=i){m+=e.substring(I,t),u=2;break}var E=e.charCodeAt(t);if(E===34){m+=e.substring(I,t),t++;break}if(E===92){if(m+=e.substring(I,t),t++,t>=i){u=2;break}var x=e.charCodeAt(t++);switch(x){case 34:m+='"';break;case 92:m+="\\";break;case 47:m+="/";break;case 98:m+="\b";break;case 102:m+="\f";break;case 110:m+=`
2
2
  `;break;case 114:m+="\r";break;case 116:m+=" ";break;case 117:var w=h(4);w>=0?m+=String.fromCharCode(w):u=4;break;default:u=5}I=t;continue}if(E>=0&&E<=31)if(Te(E)){m+=e.substring(I,t),u=2;break}else u=6;t++}return m}function p(){if(n="",u=0,a=t,f=o,c=l,t>=i)return a=i,s=17;var m=e.charCodeAt(t);if(Ke(m)){do t++,n+=String.fromCharCode(m),m=e.charCodeAt(t);while(Ke(m));return s=15}if(Te(m))return t++,n+=String.fromCharCode(m),m===13&&e.charCodeAt(t)===10&&(t++,n+=`
3
3
  `),o++,l=t,s=14;switch(m){case 123:return t++,s=1;case 125:return t++,s=2;case 91:return t++,s=3;case 93:return t++,s=4;case 58:return t++,s=6;case 44:return t++,s=5;case 34:return t++,n=v(),s=10;case 47:var I=t-1;if(e.charCodeAt(t+1)===47){for(t+=2;t<i&&!Te(e.charCodeAt(t));)t++;return n=e.substring(I,t),s=12}if(e.charCodeAt(t+1)===42){t+=2;for(var E=i-1,x=!1;t<E;){var w=e.charCodeAt(t);if(w===42&&e.charCodeAt(t+1)===47){t+=2,x=!0;break}t++,Te(w)&&(w===13&&e.charCodeAt(t)===10&&t++,o++,l=t)}return x||(t++,u=1),n=e.substring(I,t),s=13}return n+=String.fromCharCode(m),t++,s=16;case 45:if(n+=String.fromCharCode(m),t++,t===i||!be(e.charCodeAt(t)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n+=d(),s=11;default:for(;t<i&&A(m);)t++,m=e.charCodeAt(t);if(a!==t){switch(n=e.substring(a,t),n){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return n+=String.fromCharCode(m),t++,s=16}}function A(m){if(Ke(m)||Te(m))return!1;switch(m){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function b(){var m;do m=p();while(m>=12&&m<=15);return m}return{setPosition:g,getPosition:function(){return t},scan:r?b:p,getToken:function(){return s},getTokenValue:function(){return n},getTokenOffset:function(){return a},getTokenLength:function(){return t-a},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return a-c},getTokenError:function(){return u}}}function Ke(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function Te(e){return e===10||e===13||e===8232||e===8233}function be(e){return e>=48&&e<=57}function Tr(e,r,i){var t,n,a,s,o;if(r){for(s=r.offset,o=s+r.length,a=s;a>0&&!Ot(e,a-1);)a--;for(var f=o;f<e.length&&!Ot(e,f);)f++;n=e.substring(a,f),t=kr(n,i)}else n=e,t=0,a=0,s=0,o=e.length;var l=Or(i,e),c=!1,u=0,h;i.insertSpaces?h=et(" ",i.tabSize||4):h=" ";var g=At(n,!1),d=!1;function v(){return l+et(h,t+u)}function p(){var V=g.scan();for(c=!1;V===15||V===14;)c=c||V===14,V=g.scan();return d=V===16||g.getTokenError()!==0,V}var A=[];function b(V,F,R){!d&&(!r||F<o&&R>s)&&e.substring(F,R)!==V&&A.push({offset:F,length:R-F,content:V})}var m=p();if(m!==17){var I=g.getTokenOffset()+a,E=et(h,t);b(E,a,I)}for(;m!==17;){for(var x=g.getTokenOffset()+g.getTokenLength()+a,w=p(),C="",T=!1;!c&&(w===12||w===13);){var N=g.getTokenOffset()+a;b(" ",x,N),x=g.getTokenOffset()+g.getTokenLength()+a,T=w===12,C=T?v():"",w=p()}if(w===2)m!==1&&(u--,C=v());else if(w===4)m!==3&&(u--,C=v());else{switch(m){case 3:case 1:u++,C=v();break;case 5:case 12:C=v();break;case 13:c?C=v():T||(C=" ");break;case 6:T||(C=" ");break;case 10:if(w===6){T||(C="");break}case 7:case 8:case 9:case 11:case 2:case 4:w===12||w===13?T||(C=" "):w!==5&&w!==17&&(d=!0);break;case 16:d=!0;break}c&&(w===12||w===13)&&(C=v())}w===17&&(C=i.insertFinalNewline?l:"");var M=g.getTokenOffset()+a;b(C,x,M),m=w}return A}function et(e,r){for(var i="",t=0;t<r;t++)i+=e;return i}function kr(e,r){for(var i=0,t=0,n=r.tabSize||4;i<e.length;){var a=e.charAt(i);if(a===" ")t++;else if(a===" ")t+=n;else break;i++}return Math.floor(t/n)}function Or(e,r){for(var i=0;i<r.length;i++){var t=r.charAt(i);if(t==="\r")return i+1<r.length&&r.charAt(i+1)===`
4
4
  `?`\r
@@ -1,4 +1,4 @@
1
- import{m as Ye}from"./monaco.b80d8424.jGozqPLC.js";/*!-----------------------------------------------------------------------------
1
+ import{m as Ye}from"./monaco.ebc96711.Dxl2xxQr.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
4
4
  * Released under the MIT license