/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/esm/server/web
NameSizeModeActions
exports/-0777rm
sandbox/-0777rm
spec-extension/-0777rm
adapter.js179300666editdlrm
adapter.js.map288130666editdlrm
edge-route-module-wrapper.js49500666editdlrm
edge-route-module-wrapper.js.map86350666editdlrm
error.js8510666editdlrm
error.js.map13330666editdlrm
get-edge-preview-props.js5820666editdlrm
get-edge-preview-props.js.map10520666editdlrm
globals.js41240666editdlrm
globals.js.map60870666editdlrm
http.js5570666editdlrm
http.js.map11010666editdlrm
internal-edge-wait-until.js16090666editdlrm
internal-edge-wait-until.js.map28810666editdlrm
next-url.js71380666editdlrm
next-url.js.map132750666editdlrm
types.js4080666editdlrm
types.js.map20710666editdlrm
utils.js56550666editdlrm
utils.js.map83640666editdlrm
web-on-close.js22040666editdlrm
web-on-close.js.map33390666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/esm/server/web/globals.js (4124B)
export async function getEdgeInstrumentationModule() { const instrumentation = '_ENTRIES' in globalThis && _ENTRIES.middleware_instrumentation && await _ENTRIES.middleware_instrumentation; return instrumentation; } let instrumentationModulePromise = null; async function registerInstrumentation() { // Ensure registerInstrumentation is not called in production build if (process.env.NEXT_PHASE === 'phase-production-build') return; if (!instrumentationModulePromise) { instrumentationModulePromise = getEdgeInstrumentationModule(); } const instrumentation = await instrumentationModulePromise; if (instrumentation == null ? void 0 : instrumentation.register) { try { await instrumentation.register(); } catch (err) { err.message = `An error occurred while loading instrumentation hook: ${err.message}`; throw err; } } } export async function edgeInstrumentationOnRequestError(...args) { const instrumentation = await getEdgeInstrumentationModule(); try { var _instrumentation_onRequestError; await (instrumentation == null ? void 0 : (_instrumentation_onRequestError = instrumentation.onRequestError) == null ? void 0 : _instrumentation_onRequestError.call(instrumentation, ...args)); } catch (err) { // Log the soft error and continue, since the original error has already been thrown console.error('Error in instrumentation.onRequestError:', err); } } let registerInstrumentationPromise = null; export function ensureInstrumentationRegistered() { if (!registerInstrumentationPromise) { registerInstrumentationPromise = registerInstrumentation(); } return registerInstrumentationPromise; } function getUnsupportedModuleErrorMessage(module) { // warning: if you change these messages, you must adjust how dev-overlay's middleware detects modules not found return `The edge runtime does not support Node.js '${module}' module. Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`; } function __import_unsupported(moduleName) { const proxy = new Proxy(function() {}, { get (_obj, prop) { if (prop === 'then') { return {}; } throw Object.defineProperty(new Error(getUnsupportedModuleErrorMessage(moduleName)), "__NEXT_ERROR_CODE", { value: "E394", enumerable: false, configurable: true }); }, construct () { throw Object.defineProperty(new Error(getUnsupportedModuleErrorMessage(moduleName)), "__NEXT_ERROR_CODE", { value: "E394", enumerable: false, configurable: true }); }, apply (_target, _this, args) { if (typeof args[0] === 'function') { return args[0](proxy); } throw Object.defineProperty(new Error(getUnsupportedModuleErrorMessage(moduleName)), "__NEXT_ERROR_CODE", { value: "E394", enumerable: false, configurable: true }); } }); return new Proxy({}, { get: ()=>proxy }); } function enhanceGlobals() { if (process.env.NEXT_RUNTIME !== 'edge') { return; } // The condition is true when the "process" module is provided if (process !== global.process) { // prefer local process but global.process has correct "env" process.env = global.process.env; global.process = process; } // to allow building code that import but does not use node.js modules, // webpack will expect this function to exist in global scope try { Object.defineProperty(globalThis, '__import_unsupported', { value: __import_unsupported, enumerable: false, configurable: false }); } catch {} // Eagerly fire instrumentation hook to make the startup faster. void ensureInstrumentationRegistered(); } enhanceGlobals(); //# sourceMappingURL=globals.js.map