@chillicream/nitro-embedded 30.0.0 → 30.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{context-providers.a6cbd8ae.-xn453sc.js → context-providers.32393d3f.4lja1-Yv.js} +7 -5
- package/assets/{editor.worker.a6cbd8ae.DKTbkej7.js → editor.worker.32393d3f.BtBOsr77.js} +1 -1
- package/assets/{graphql-engine-scheduler.a6cbd8ae.CRCZH9eT.js → graphql-engine-scheduler.32393d3f.BKOKUF1h.js} +1 -1
- package/assets/{graphql-indexer-scheduler.a6cbd8ae.Bvw8ykb0.js → graphql-indexer-scheduler.32393d3f.ClPGWCSG.js} +1 -1
- package/assets/{graphql.worker.a6cbd8ae.DrQju_5S.js → graphql.worker.32393d3f.DCbruaJI.js} +1 -1
- package/assets/{index.a6cbd8ae.DH9clVIb.js → index.32393d3f.C6Jm2J7w.js} +1 -1
- package/assets/{json.worker.a6cbd8ae.BAHwolUd.js → json.worker.32393d3f.8ac-t4iI.js} +1 -1
- package/assets/{jsonMode.a6cbd8ae.D9G33m7j.js → jsonMode.32393d3f.Da25eQ7o.js} +1 -1
- package/assets/{main.a6cbd8ae.nI2HRy2W.js → main.32393d3f.Cjljin1C.js} +7 -7
- package/assets/{monaco.a6cbd8ae.yVFOAV5a.css → monaco.32393d3f.CDcGk4NI.css} +1 -1
- package/assets/{monaco.a6cbd8ae.DRTmByXd.js → monaco.32393d3f.CRafqNYy.js} +2 -2
- package/assets/{monaco.a6cbd8ae.Cx26j2kT.css → monaco.32393d3f.C_iiYC8A.css} +1 -1
- package/assets/{session-scheduler.a6cbd8ae.Cs3Lp-R6.js → session-scheduler.32393d3f.l7O1I_X6.js} +1 -1
- package/assets/{yaml.a6cbd8ae.BrAx0Nnq.js → yaml.32393d3f.CV00odnb.js} +1 -1
- package/assets/{yaml.worker.a6cbd8ae.BOVYkCVk.js → yaml.worker.32393d3f.B4fVFlVP.js} +1 -1
- package/index.html +4 -4
- package/package.json +1 -1
- package/service-worker.js +1 -1
- /package/assets/{FiraCode-Medium.a6cbd8ae.-YTCSZkP.woff2 → FiraCode-Medium.32393d3f.-YTCSZkP.woff2} +0 -0
- /package/assets/{codicon.a6cbd8ae.Hscy-R9e.ttf → codicon.32393d3f.Hscy-R9e.ttf} +0 -0
- /package/assets/{context-providers.a6cbd8ae.3HkX5s82.css → context-providers.32393d3f.3HkX5s82.css} +0 -0
- /package/assets/{main.a6cbd8ae.O2wwCX4n.css → main.32393d3f.O2wwCX4n.css} +0 -0
- /package/assets/{monaco.a6cbd8ae.DPHEUpPG.js → monaco.32393d3f.B9m8JSsx.js} +0 -0
- /package/assets/{monaco.a6cbd8ae.v2QsmtMC.js → monaco.32393d3f.BAXraPs4.js} +0 -0
- /package/assets/{monaco.a6cbd8ae.CX283ebn.js → monaco.32393d3f.DLGK8xR9.js} +0 -0
- /package/assets/{monaco.a6cbd8ae.EZduqCri.js → monaco.32393d3f.FxNpxLqs.js} +0 -0
- /package/assets/{monaco.a6cbd8ae.B_bsp91k.js → monaco.32393d3f.GGEmU9pB.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as o,E as a}from"./monaco.
|
|
1
|
+
import{S as o,E as a}from"./monaco.32393d3f.B9m8JSsx.js";let i=!1;function r(s){if(i)return;i=!0;const l=new o(e=>{globalThis.postMessage(e)},e=>new a(e,s));globalThis.onmessage=e=>{l.onmessage(e.data)}}globalThis.onmessage=s=>{i||r(null)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var us=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports);import{p as process$1,B as Buffer}from"./monaco.
|
|
1
|
+
var us=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports);import{p as process$1,B as Buffer}from"./monaco.32393d3f.BAXraPs4.js";var cs=us((exports,module)=>{const APP_NAME="Nitro",APP_VERSION="30.0.1",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`;getOsName();isMacLike();function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const HEADER_AUTHORIZATION="Authorization",HEADER_CONTENT_TYPE="Content-Type",HEADER_USER_AGENT="User-Agent",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTERPOLATION_VARIABLE_NAME_PATTERN=/{{\s*([a-z0-9_\-|.:+#$!?;,]+)\s*}}/gi,FUSION_OPERATION_PLAN_HEADER_NAME_PATTERN=/fusion-operation-plan/i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,FIFTY_MILLISECONDS=50,ONE_SECOND=1e3,FIVE_SECONDS=5e3,ONE_MINUTE=6e4,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(n,i){this.#e=n,this.#t=i}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const n=this;let i=!1;return this.#r=new Promise((a,u)=>{if(n.aborted){i=!0,u(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){i=!0,a();return}function s(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),i||(i=!0,u(TIMEOUT_ABORT_ERROR))}function l(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),i||(i=!0,a())}n.addEventListener("abort",s),n.addEventListener("cancelled",l)}),this.#r}addEventListener(n,i,a){this.#e.addEventListener(n,i,a)}removeEventListener(n,i,a){this.#e.removeEventListener(n,i,a)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,i){return i?i.aborted?Promise.reject(ABORT_ERROR):(i.addEventListener("abort",r),n().finally(()=>{i.removeEventListener("abort",r)})):n()}function distinct(r){return r.filter((n,i,a)=>a.indexOf(n)===i)}function isObjectArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="object"&&!Array.isArray(n))}function isStringArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="string")}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var i=function a(){var u=!1;try{u=this instanceof a}catch{}return u?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var u=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,u.get?u:{enumerable:!0,get:function(){return r[a]}})}),i}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,i){i&&(n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,i){if(i){n.super_=i;var a=function(){};a.prototype=i.prototype,n.prototype=new a,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},i={};i.byteLength=v,i.toByteArray=Rn,i.fromByteArray=Hn;for(var a=[],u=[],s=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",D=0,on=l.length;D<on;++D)a[D]=l[D],u[l.charCodeAt(D)]=D;u[45]=62,u[95]=63;function h(bi){var Ti=bi.length;if(Ti%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Si=bi.indexOf("=");Si===-1&&(Si=Ti);var Ii=Si===Ti?0:4-Si%4;return[Si,Ii]}function v(bi){var Ti=h(bi),Si=Ti[0],Ii=Ti[1];return(Si+Ii)*3/4-Ii}function In(bi,Ti,Si){return(Ti+Si)*3/4-Si}function Rn(bi){var Ti,Si=h(bi),Ii=Si[0],Ni=Si[1],Oi=new s(In(bi,Ii,Ni)),Fi=0,Mi=Ni>0?Ii-4:Ii,ki;for(ki=0;ki<Mi;ki+=4)Ti=u[bi.charCodeAt(ki)]<<18|u[bi.charCodeAt(ki+1)]<<12|u[bi.charCodeAt(ki+2)]<<6|u[bi.charCodeAt(ki+3)],Oi[Fi++]=Ti>>16&255,Oi[Fi++]=Ti>>8&255,Oi[Fi++]=Ti&255;return Ni===2&&(Ti=u[bi.charCodeAt(ki)]<<2|u[bi.charCodeAt(ki+1)]>>4,Oi[Fi++]=Ti&255),Ni===1&&(Ti=u[bi.charCodeAt(ki)]<<10|u[bi.charCodeAt(ki+1)]<<4|u[bi.charCodeAt(ki+2)]>>2,Oi[Fi++]=Ti>>8&255,Oi[Fi++]=Ti&255),Oi}function Mn(bi){return a[bi>>18&63]+a[bi>>12&63]+a[bi>>6&63]+a[bi&63]}function jn(bi,Ti,Si){for(var Ii,Ni=[],Oi=Ti;Oi<Si;Oi+=3)Ii=(bi[Oi]<<16&16711680)+(bi[Oi+1]<<8&65280)+(bi[Oi+2]&255),Ni.push(Mn(Ii));return Ni.join("")}function Hn(bi){for(var Ti,Si=bi.length,Ii=Si%3,Ni=[],Oi=16383,Fi=0,Mi=Si-Ii;Fi<Mi;Fi+=Oi)Ni.push(jn(bi,Fi,Fi+Oi>Mi?Mi:Fi+Oi));return Ii===1?(Ti=bi[Si-1],Ni.push(a[Ti>>2]+a[Ti<<4&63]+"==")):Ii===2&&(Ti=(bi[Si-2]<<8)+bi[Si-1],Ni.push(a[Ti>>10]+a[Ti>>4&63]+a[Ti<<2&63]+"=")),Ni.join("")}var hi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */hi.read=function(bi,Ti,Si,Ii,Ni){var Oi,Fi,Mi=Ni*8-Ii-1,ki=(1<<Mi)-1,Ci=ki>>1,Ei=-7,vi=Si?Ni-1:0,Ln=Si?-1:1,Yn=bi[Ti+vi];for(vi+=Ln,Oi=Yn&(1<<-Ei)-1,Yn>>=-Ei,Ei+=Mi;Ei>0;Oi=Oi*256+bi[Ti+vi],vi+=Ln,Ei-=8);for(Fi=Oi&(1<<-Ei)-1,Oi>>=-Ei,Ei+=Ii;Ei>0;Fi=Fi*256+bi[Ti+vi],vi+=Ln,Ei-=8);if(Oi===0)Oi=1-Ci;else{if(Oi===ki)return Fi?NaN:(Yn?-1:1)*(1/0);Fi=Fi+Math.pow(2,Ii),Oi=Oi-Ci}return(Yn?-1:1)*Fi*Math.pow(2,Oi-Ii)},hi.write=function(bi,Ti,Si,Ii,Ni,Oi){var Fi,Mi,ki,Ci=Oi*8-Ni-1,Ei=(1<<Ci)-1,vi=Ei>>1,Ln=Ni===23?Math.pow(2,-24)-Math.pow(2,-77):0,Yn=Ii?0:Oi-1,mi=Ii?1:-1,gi=Ti<0||Ti===0&&1/Ti<0?1:0;for(Ti=Math.abs(Ti),isNaN(Ti)||Ti===1/0?(Mi=isNaN(Ti)?1:0,Fi=Ei):(Fi=Math.floor(Math.log(Ti)/Math.LN2),Ti*(ki=Math.pow(2,-Fi))<1&&(Fi--,ki*=2),Fi+vi>=1?Ti+=Ln/ki:Ti+=Ln*Math.pow(2,1-vi),Ti*ki>=2&&(Fi++,ki/=2),Fi+vi>=Ei?(Mi=0,Fi=Ei):Fi+vi>=1?(Mi=(Ti*ki-1)*Math.pow(2,Ni),Fi=Fi+vi):(Mi=Ti*Math.pow(2,vi-1)*Math.pow(2,Ni),Fi=0));Ni>=8;bi[Si+Yn]=Mi&255,Yn+=mi,Mi/=256,Ni-=8);for(Fi=Fi<<Ni|Mi,Ci+=Ni;Ci>0;bi[Si+Yn]=Fi&255,Yn+=mi,Fi/=256,Ci-=8);bi[Si+Yn-mi]|=gi*128};/*!
|
|
2
2
|
* The buffer module from node.js, for the browser.
|
|
3
3
|
*
|
|
4
4
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as process$1,B as Buffer}from"./monaco.
|
|
1
|
+
import{p as process$1,B as Buffer}from"./monaco.32393d3f.BAXraPs4.js";const APP_NAME="Nitro",APP_VERSION="30.0.1",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`;getOsName();isMacLike();function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,FIFTY_MILLISECONDS=50,ONE_SECOND=1e3,FIVE_SECONDS=5e3,ONE_MINUTE=6e4,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(t,n){this.#e=t,this.#t=n}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(t){return this.#e.dispatchEvent(t)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const t=this;let n=!1;return this.#r=new Promise((i,s)=>{if(t.aborted){n=!0,s(TIMEOUT_ABORT_ERROR);return}if(t.cancelled){n=!0,i();return}function a(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",l),n||(n=!0,s(TIMEOUT_ABORT_ERROR))}function l(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",l),n||(n=!0,i())}t.addEventListener("abort",a),t.addEventListener("cancelled",l)}),this.#r}addEventListener(t,n,i){this.#e.addEventListener(t,n,i)}removeEventListener(t,n,i){this.#e.removeEventListener(t,n,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(t){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},t)}get signal(){return this._signal}abort(t){this._controller.abort(t)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,t,n){return n?n.aborted?Promise.reject(ABORT_ERROR):(n.addEventListener("abort",r),t().finally(()=>{n.removeEventListener("abort",r)})):t()}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var t=r.default;if(typeof t=="function"){var n=function i(){var s=!1;try{s=this instanceof i}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var s=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return r[i]}})}),n}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},n={};n.byteLength=h,n.toByteArray=D,n.fromByteArray=jn;for(var i=[],s=[],a=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,on=l.length;v<on;++v)i[v]=l[v],s[l.charCodeAt(v)]=v;s[45]=62,s[95]=63;function u(gi){var Ri=gi.length;if(Ri%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Si=gi.indexOf("=");Si===-1&&(Si=Ri);var Ai=Si===Ri?0:4-Si%4;return[Si,Ai]}function h(gi){var Ri=u(gi),Si=Ri[0],Ai=Ri[1];return(Si+Ai)*3/4-Ai}function Rn(gi,Ri,Si){return(Ri+Si)*3/4-Si}function D(gi){var Ri,Si=u(gi),Ai=Si[0],Ii=Si[1],Ni=new a(Rn(gi,Ai,Ii)),Ci=0,Oi=Ii>0?Ai-4:Ai,ki;for(ki=0;ki<Oi;ki+=4)Ri=s[gi.charCodeAt(ki)]<<18|s[gi.charCodeAt(ki+1)]<<12|s[gi.charCodeAt(ki+2)]<<6|s[gi.charCodeAt(ki+3)],Ni[Ci++]=Ri>>16&255,Ni[Ci++]=Ri>>8&255,Ni[Ci++]=Ri&255;return Ii===2&&(Ri=s[gi.charCodeAt(ki)]<<2|s[gi.charCodeAt(ki+1)]>>4,Ni[Ci++]=Ri&255),Ii===1&&(Ri=s[gi.charCodeAt(ki)]<<10|s[gi.charCodeAt(ki+1)]<<4|s[gi.charCodeAt(ki+2)]>>2,Ni[Ci++]=Ri>>8&255,Ni[Ci++]=Ri&255),Ni}function Mn(gi){return i[gi>>18&63]+i[gi>>12&63]+i[gi>>6&63]+i[gi&63]}function Ln(gi,Ri,Si){for(var Ai,Ii=[],Ni=Ri;Ni<Si;Ni+=3)Ai=(gi[Ni]<<16&16711680)+(gi[Ni+1]<<8&65280)+(gi[Ni+2]&255),Ii.push(Mn(Ai));return Ii.join("")}function jn(gi){for(var Ri,Si=gi.length,Ai=Si%3,Ii=[],Ni=16383,Ci=0,Oi=Si-Ai;Ci<Oi;Ci+=Ni)Ii.push(Ln(gi,Ci,Ci+Ni>Oi?Oi:Ci+Ni));return Ai===1?(Ri=gi[Si-1],Ii.push(i[Ri>>2]+i[Ri<<4&63]+"==")):Ai===2&&(Ri=(gi[Si-2]<<8)+gi[Si-1],Ii.push(i[Ri>>10]+i[Ri>>4&63]+i[Ri<<2&63]+"=")),Ii.join("")}var hi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */hi.read=function(gi,Ri,Si,Ai,Ii){var Ni,Ci,Oi=Ii*8-Ai-1,ki=(1<<Oi)-1,Fi=ki>>1,bi=-7,Yn=Si?Ii-1:0,In=Si?-1:1,Hn=gi[Ri+Yn];for(Yn+=In,Ni=Hn&(1<<-bi)-1,Hn>>=-bi,bi+=Oi;bi>0;Ni=Ni*256+gi[Ri+Yn],Yn+=In,bi-=8);for(Ci=Ni&(1<<-bi)-1,Ni>>=-bi,bi+=Ai;bi>0;Ci=Ci*256+gi[Ri+Yn],Yn+=In,bi-=8);if(Ni===0)Ni=1-Fi;else{if(Ni===ki)return Ci?NaN:(Hn?-1:1)*(1/0);Ci=Ci+Math.pow(2,Ai),Ni=Ni-Fi}return(Hn?-1:1)*Ci*Math.pow(2,Ni-Ai)},hi.write=function(gi,Ri,Si,Ai,Ii,Ni){var Ci,Oi,ki,Fi=Ni*8-Ii-1,bi=(1<<Fi)-1,Yn=bi>>1,In=Ii===23?Math.pow(2,-24)-Math.pow(2,-77):0,Hn=Ai?0:Ni-1,yi=Ai?1:-1,mi=Ri<0||Ri===0&&1/Ri<0?1:0;for(Ri=Math.abs(Ri),isNaN(Ri)||Ri===1/0?(Oi=isNaN(Ri)?1:0,Ci=bi):(Ci=Math.floor(Math.log(Ri)/Math.LN2),Ri*(ki=Math.pow(2,-Ci))<1&&(Ci--,ki*=2),Ci+Yn>=1?Ri+=In/ki:Ri+=In*Math.pow(2,1-Yn),Ri*ki>=2&&(Ci++,ki/=2),Ci+Yn>=bi?(Oi=0,Ci=bi):Ci+Yn>=1?(Oi=(Ri*ki-1)*Math.pow(2,Ii),Ci=Ci+Yn):(Oi=Ri*Math.pow(2,Yn-1)*Math.pow(2,Ii),Ci=0));Ii>=8;gi[Si+Hn]=Oi&255,Hn+=yi,Oi/=256,Ii-=8);for(Ci=Ci<<Ii|Oi,Fi+=Ii;Fi>0;gi[Si+Hn]=Ci&255,Hn+=yi,Ci/=256,Fi-=8);gi[Si+Hn-yi]|=mi*128};/*!
|
|
2
2
|
* The buffer module from node.js, for the browser.
|
|
3
3
|
*
|
|
4
4
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{S as SimpleWorkerServer,E as EditorSimpleWorker,p as process$1,B as Buffer}from"./monaco.
|
|
1
|
+
import{S as SimpleWorkerServer,E as EditorSimpleWorker,p as process$1,B as Buffer}from"./monaco.32393d3f.FxNpxLqs.js";let initialized=!1;function initialize(r){if(initialized)return;initialized=!0;const n=new SimpleWorkerServer(i=>{globalThis.postMessage(i)},i=>new EditorSimpleWorker(i,r));globalThis.onmessage=i=>{n.onmessage(i.data)}}globalThis.onmessage=r=>{initialized||initialize(null)};const ABORT_ERROR_NAME="AbortError";new DOMException("Action cancelled",ABORT_ERROR_NAME);const TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(n,i){this.#e=n,this.#t=i}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const n=this;let i=!1;return this.#r=new Promise((a,u)=>{if(n.aborted){i=!0,u(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){i=!0,a();return}function s(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",h),i||(i=!0,u(TIMEOUT_ABORT_ERROR))}function h(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",h),i||(i=!0,a())}n.addEventListener("abort",s),n.addEventListener("cancelled",h)}),this.#r}addEventListener(n,i,a){this.#e.addEventListener(n,i,a)}removeEventListener(n,i,a){this.#e.removeEventListener(n,i,a)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,i){return n()}const APP_NAME="Nitro",APP_VERSION="30.0.1",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`;getOsName();isMacLike();function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i,FIFTY_MILLISECONDS=50,ONE_SECOND=1e3,FIVE_SECONDS=5e3,ONE_MINUTE=6e4;var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var i=function a(){var u=!1;try{u=this instanceof a}catch{}return u?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var u=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,u.get?u:{enumerable:!0,get:function(){return r[a]}})}),i}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,i){i&&(n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,i){if(i){n.super_=i;var a=function(){};a.prototype=i.prototype,n.prototype=new a,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},i={};i.byteLength=v,i.toByteArray=Rn,i.fromByteArray=Hn;for(var a=[],u=[],s=typeof Uint8Array<"u"?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",D=0,on=h.length;D<on;++D)a[D]=h[D],u[h.charCodeAt(D)]=D;u[45]=62,u[95]=63;function l(gi){var Ti=gi.length;if(Ti%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Si=gi.indexOf("=");Si===-1&&(Si=Ti);var Ii=Si===Ti?0:4-Si%4;return[Si,Ii]}function v(gi){var Ti=l(gi),Si=Ti[0],Ii=Ti[1];return(Si+Ii)*3/4-Ii}function In(gi,Ti,Si){return(Ti+Si)*3/4-Si}function Rn(gi){var Ti,Si=l(gi),Ii=Si[0],Ni=Si[1],Ci=new s(In(gi,Ii,Ni)),Oi=0,Mi=Ni>0?Ii-4:Ii,Pi;for(Pi=0;Pi<Mi;Pi+=4)Ti=u[gi.charCodeAt(Pi)]<<18|u[gi.charCodeAt(Pi+1)]<<12|u[gi.charCodeAt(Pi+2)]<<6|u[gi.charCodeAt(Pi+3)],Ci[Oi++]=Ti>>16&255,Ci[Oi++]=Ti>>8&255,Ci[Oi++]=Ti&255;return Ni===2&&(Ti=u[gi.charCodeAt(Pi)]<<2|u[gi.charCodeAt(Pi+1)]>>4,Ci[Oi++]=Ti&255),Ni===1&&(Ti=u[gi.charCodeAt(Pi)]<<10|u[gi.charCodeAt(Pi+1)]<<4|u[gi.charCodeAt(Pi+2)]>>2,Ci[Oi++]=Ti>>8&255,Ci[Oi++]=Ti&255),Ci}function Ln(gi){return a[gi>>18&63]+a[gi>>12&63]+a[gi>>6&63]+a[gi&63]}function jn(gi,Ti,Si){for(var Ii,Ni=[],Ci=Ti;Ci<Si;Ci+=3)Ii=(gi[Ci]<<16&16711680)+(gi[Ci+1]<<8&65280)+(gi[Ci+2]&255),Ni.push(Ln(Ii));return Ni.join("")}function Hn(gi){for(var Ti,Si=gi.length,Ii=Si%3,Ni=[],Ci=16383,Oi=0,Mi=Si-Ii;Oi<Mi;Oi+=Ci)Ni.push(jn(gi,Oi,Oi+Ci>Mi?Mi:Oi+Ci));return Ii===1?(Ti=gi[Si-1],Ni.push(a[Ti>>2]+a[Ti<<4&63]+"==")):Ii===2&&(Ti=(gi[Si-2]<<8)+gi[Si-1],Ni.push(a[Ti>>10]+a[Ti>>4&63]+a[Ti<<2&63]+"=")),Ni.join("")}var vi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */vi.read=function(gi,Ti,Si,Ii,Ni){var Ci,Oi,Mi=Ni*8-Ii-1,Pi=(1<<Mi)-1,Fi=Pi>>1,_i=-7,hi=Si?Ni-1:0,Mn=Si?-1:1,Wn=gi[Ti+hi];for(hi+=Mn,Ci=Wn&(1<<-_i)-1,Wn>>=-_i,_i+=Mi;_i>0;Ci=Ci*256+gi[Ti+hi],hi+=Mn,_i-=8);for(Oi=Ci&(1<<-_i)-1,Ci>>=-_i,_i+=Ii;_i>0;Oi=Oi*256+gi[Ti+hi],hi+=Mn,_i-=8);if(Ci===0)Ci=1-Fi;else{if(Ci===Pi)return Oi?NaN:(Wn?-1:1)*(1/0);Oi=Oi+Math.pow(2,Ii),Ci=Ci-Fi}return(Wn?-1:1)*Oi*Math.pow(2,Ci-Ii)},vi.write=function(gi,Ti,Si,Ii,Ni,Ci){var Oi,Mi,Pi,Fi=Ci*8-Ni-1,_i=(1<<Fi)-1,hi=_i>>1,Mn=Ni===23?Math.pow(2,-24)-Math.pow(2,-77):0,Wn=Ii?0:Ci-1,mi=Ii?1:-1,bi=Ti<0||Ti===0&&1/Ti<0?1:0;for(Ti=Math.abs(Ti),isNaN(Ti)||Ti===1/0?(Mi=isNaN(Ti)?1:0,Oi=_i):(Oi=Math.floor(Math.log(Ti)/Math.LN2),Ti*(Pi=Math.pow(2,-Oi))<1&&(Oi--,Pi*=2),Oi+hi>=1?Ti+=Mn/Pi:Ti+=Mn*Math.pow(2,1-hi),Ti*Pi>=2&&(Oi++,Pi/=2),Oi+hi>=_i?(Mi=0,Oi=_i):Oi+hi>=1?(Mi=(Ti*Pi-1)*Math.pow(2,Ni),Oi=Oi+hi):(Mi=Ti*Math.pow(2,hi-1)*Math.pow(2,Ni),Oi=0));Ni>=8;gi[Si+Wn]=Mi&255,Wn+=mi,Mi/=256,Ni-=8);for(Oi=Oi<<Ni|Mi,Fi+=Ni;Fi>0;gi[Si+Wn]=Oi&255,Wn+=mi,Oi/=256,Fi-=8);gi[Si+Wn-mi]|=bi*128};/*!
|
|
2
2
|
* The buffer module from node.js, for the browser.
|
|
3
3
|
*
|
|
4
4
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ff as De,b as o,lz as we,e_ as ve,lA as _e,b1 as e,hn as xe,b8 as c,lB as he,B as D,j_ as w,jM as F,jL as N,b9 as p,lC as ye,lD as Ne,ho as Ee,cs as He,ct as Me,jN as qe,jO as Oe,lE as pe,ds as ne,dt as fe,a2 as v,fX as Pe,eu as Ae,c9 as x,dr as $e,jG as je,jH as ze,jI as Be,jJ as Ge,lF as P,ba as Fe,fw as Ue,bb as Ke,dI as We,lG as Ve,eC as Je,fJ as Ye,lH as Qe,fV as Xe,lI as Ze,fy as et,bc as tt,bd as nt,lJ as st,fD as it,be as rt,gB as V,gC as R,lK as A,fl as se,fm as $,dJ as C,dK as j,gA as J,lL as te,hm as U,jR as y,hl as me,lM as ot,gD as ct,lN as at,lO as lt,fT as dt,lP as ut,f$ as ht,lQ as pt,er as ft,jw as mt,jv as It,lR as gt}from"./main.
|
|
1
|
+
import{ff as De,b as o,lz as we,e_ as ve,lA as _e,b1 as e,hn as xe,b8 as c,lB as he,B as D,j_ as w,jM as F,jL as N,b9 as p,lC as ye,lD as Ne,ho as Ee,cs as He,ct as Me,jN as qe,jO as Oe,lE as pe,ds as ne,dt as fe,a2 as v,fX as Pe,eu as Ae,c9 as x,dr as $e,jG as je,jH as ze,jI as Be,jJ as Ge,lF as P,ba as Fe,fw as Ue,bb as Ke,dI as We,lG as Ve,eC as Je,fJ as Ye,lH as Qe,fV as Xe,lI as Ze,fy as et,bc as tt,bd as nt,lJ as st,fD as it,be as rt,gB as V,gC as R,lK as A,fl as se,fm as $,dJ as C,dK as j,gA as J,lL as te,hm as U,jR as y,hl as me,lM as ot,gD as ct,lN as at,lO as lt,fT as dt,lP as ut,f$ as ht,lQ as pt,er as ft,jw as mt,jv as It,lR as gt}from"./main.32393d3f.Cjljin1C.js";import{u as Ct,a as z,b as k,L as Lt,c as bt,d as Tt,V as St,C as b,H as E,e as H,S as Ie,T as K,f as M,g as ge,h as g,i as ie,j as S,k as Ce,l as Le,A as W,m as re,n as Rt,o as kt,p as Dt,q as wt,r as vt,s as _t,t as xt,v as yt,w as Nt,x as Et}from"./context-providers.32393d3f.4lja1-Yv.js";import"./monaco.32393d3f.CRafqNYy.js";function B(){const t=Ct(),n=De();return o.useCallback(async(s,i)=>{await n(s),i&&t(s,i,void 0)},[t,n])}const G="log";function Ht(){const t=we(),n=z(G).toLocaleLowerCase(),s=o.useRef(null),i=o.useRef(null),r=o.useRef(t),a=o.useRef(t.followNewest),l=o.useRef(!0),u=ve(),h=B(),f=_e(),I={activeId:t.activeId,activeChildId:t.activeChildId,entries:t.entries.filter(d=>{const{kind:m}=d;switch(m){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 k()}})};r.current=t,a.current=t.followNewest;const T=o.useCallback(d=>{l.current=!1,d.kind==="http-request"&&d.scopeId?u(d.scopeId,d.id):u(d.id)},[u]),Q=o.useCallback(async d=>{d.item?.id&&await h(d.item.id,d.id)},[h]),X=o.useCallback(d=>{if(i.current){const m=i.current.getScrollElement();if(m){const{clientHeight:_,scrollHeight:Z}=m;l.current=!0,a.current=Z-_===d.scrollOffset,f(a.current)}}},[f]),Re=o.useCallback(d=>{if(s.current=d,s.current&&r.current.entries.length){const m=r.current.activeId?r.current.entries.findIndex(({id:_})=>_===r.current.activeId):-1;m===-1?s.current.scrollToItem(r.current.entries.length-1,"end"):s.current.scrollToItem(m,"end")}},[]);o.useLayoutEffect(()=>{a.current&&s.current&&I.entries.length&&s.current.scrollToItem(I.entries.length-1,"end")},[I.entries.length]),o.useLayoutEffect(()=>{if(l.current&&!a.current&&t.activeId&&s.current&&r.current){const d=r.current.entries.findIndex(({id:m})=>m===t.activeId);d!==-1&&s.current.scrollToItem(d,"end")}l.current=!0},[t.activeId]),o.useEffect(()=>()=>f(!0),[f]);const ke=o.memo(function({data:m,index:_,style:Z}){const L=m.entries[_],ae=L.kind==="http-request"&&L.scopeId?L.id===m.activeChildId&&L.scopeId===m.activeId:L.id===m.activeId;return e(Lt,{style:Z,onClick:()=>T(L),onDoubleClick:()=>Q(L),className:ae?"active":void 0,children:e(Mt,{active:ae,logEntry:L})},`log-entry-${L.id}`)},bt);return I.entries.length?e(St,{innerListRef:Re,scrollbarRef:i,itemCount:I.entries.length,itemData:I,itemKey:d=>`log-entry-${d}`,itemSize:Tt,tabIndex:-1,onScrollVirtualList:X,children:ke}):e(xe,{isFilterActive:!!n})}const Mt=o.memo(function({active:n,logEntry:s}){const{kind:i}=s;switch(i){case"basic":return e(qt,{active:n,logEntry:s});case"http-request":return e(Ot,{active:n,logEntry:s});case"scope":return e(Pt,{active:n,logEntry:s});case"subscription-request":return e(At,{active:n,logEntry:s});default:return k()}}),qt=o.memo(function({active:n,logEntry:{id:s,level:i,message:r,timestamp:a,item:l}}){return c(p,{children:[e(Y,{id:s,active:n}),e(be,{level:i}),e(O,{children:e(Te,{level:i})}),e(H,{children:e(E,{text:r,highlightedText:z(G)})}),e(q,{item:l}),e(M,{children:N(a)})]})});function be({level:t}){switch(t){case x.warning:return e(g,{children:e($e,{})});case x.error:return e(g,{children:e(ne,{})});default:return e(g,{children:e(Ae,{})})}}const Te=o.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 k()}}),Ot=o.memo(function({active:n,logEntry:{id:s,scopeId:i,status:r,name:a,started:l,duration:u,item:h,uri:f,method:I,statusCode:T,contentLength:Q,lastChild:X}}){return c(p,{children:[i?e(jt,{active:n,last:X??!1}):e(Y,{id:s,active:n,pending:r==="pending"}),e(Se,{status:r,statusCode:T}),e(O,{children:e(b,{color:"info",label:I})}),e(H,{children:e(E,{text:a?.length?a+": "+f:f,highlightedText:z(G)})}),e(oe,{children:e(ge,{status:r,statusCode:T})}),e(ce,{children:w(Q)}),e(K,{children:F(u)}),e(q,{item:h}),e(M,{children:N(l)})]})}),Pt=o.memo(function({active:n,logEntry:{id:s,name:i,level:r,started:a,duration:l,item:u,details:h,expanded:f}}){const I=z(G);return c(p,{children:[e(Y,{id:s,active:n,pending:h?.status==="pending",expandable:!0,expanded:f}),h?.kind==="introspection"?c(p,{children:[e(Se,{status:h.status,statusCode:h.statusCode}),e(O,{children:e(b,{color:"info",label:h.method})}),e(H,{children:e(E,{text:i?.length?i+": "+h.uri:h.uri,highlightedText:I})}),e(oe,{children:e(ge,{status:h.status,statusCode:h.statusCode})}),e(ce,{children:w(h.contentLength)}),e(K,{children:F(l)}),e(q,{item:u}),e(M,{children:N(a)})]}):c(p,{children:[e(be,{level:r}),e(O,{children:e(Te,{level:r})}),e(H,{children:e(E,{text:i,highlightedText:I})}),e(K,{children:F(l)}),e(q,{item:u}),e(M,{children:N(a)})]})]})});function Se({status:t,statusCode:n}){return t==="pending"?e(g,{children:e(pe,{})}):t==="cancelled"?e(g,{children:e(Pe,{})}):!n||n>=300?e(g,{children:e(ne,{})}):e(g,{children:e(fe,{})})}const At=o.memo(function({active:n,logEntry:{id:s,status:i,started:r,duration:a,item:l,protocol:u,uri:h,contentLength:f}}){return c(p,{children:[e(Y,{id:s,active:n}),e($t,{status:i}),e(O,{children:e(b,{color:"info",label:he(u)})}),e(H,{children:e(E,{text:h,highlightedText:z(G)})}),e(oe,{children:e(Ie,{status:i})}),e(ce,{children:w(f)}),e(K,{children:F(a)}),e(q,{item:l}),e(M,{children:N(r)})]})});function $t({status:t}){return t==="pending"?e(g,{children:e(pe,{})}):t==="failed"?e(g,{children:e(ne,{})}):e(g,{children:e(fe,{})})}function Y({id:t,active:n,pending:s,expandable:i,expanded:r}){const a=ye(),l=Ne(),u=o.useCallback(h=>{i&&(h.stopPropagation(),r?a(t):l(t))},[t,i,r,a,l]);return e(g,{onClick:u,children:s?e(Ee,{}):i?r?e(He,{}):e(Me,{}):n?e(qe,{}):e(Oe,{})})}function jt({active:t,last:n}){return e(g,{children:n?t?e(je,{}):e(ze,{}):t?e(Be,{}):e(Ge,{})})}function q({item:t}){return e(Bt,{children:t&&c(p,{children:[e(g,{children:e(zt,{kind:t.kind})}),e(Gt,{children:t.name})]})})}function zt({kind:t}){if(!t)return e(P,{});switch(t){case rt:case st:return e(it,{});case nt:case tt:case Ze:return e(et,{});case Qe:return e(Xe,{});case Ye:case Ve:return e(Je,{});case Ke:return e(We,{});case Fe:return e(Ue,{});default:return k()}}const Bt=D("div")(({theme:t})=>v`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 0 0 ${t.spacing(100)};
|
|
4
4
|
flex-direction: row;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{S as xr,E as wr,p as Ye}from"./monaco.
|
|
1
|
+
import{S as xr,E as wr,p as Ye}from"./monaco.32393d3f.GGEmU9pB.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.
|
|
1
|
+
import{m as Ye}from"./monaco.32393d3f.CRafqNYy.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
4
4
|
* Released under the MIT license
|