Created
July 26, 2023 14:14
-
-
Save voluntadpear/e5abc26058c8bb8638ad6790452a6006 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******/ (function() { // webpackBootstrap | |
/******/ "use strict"; | |
/******/ var __webpack_modules__ = ({ | |
/***/ 5345: | |
/***/ (function(__unused_webpack_module, exports, __webpack_require__) { | |
var moduleMap = { | |
"./noop": function() { | |
return __webpack_require__.e(810).then(function() { return function() { return (__webpack_require__(3810)); }; }); | |
}, | |
"./button": function() { | |
return __webpack_require__.e(377).then(function() { return function() { return (__webpack_require__(3377)); }; }); | |
}, | |
"./text": function() { | |
return __webpack_require__.e(478).then(function() { return function() { return (__webpack_require__(6478)); }; }); | |
}, | |
"./public-path": function() { | |
return __webpack_require__.e(620).then(function() { return function() { return (__webpack_require__(3620)); }; }); | |
} | |
}; | |
var get = function(module, getScope) { | |
__webpack_require__.R = getScope; | |
getScope = ( | |
__webpack_require__.o(moduleMap, module) | |
? moduleMap[module]() | |
: Promise.resolve().then(function() { | |
throw new Error('Module "' + module + '" does not exist in container.'); | |
}) | |
); | |
__webpack_require__.R = undefined; | |
return getScope; | |
}; | |
var init = function(shareScope, initScope) { | |
if (!__webpack_require__.S) return; | |
var name = "default" | |
var oldScope = __webpack_require__.S[name]; | |
if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope"); | |
__webpack_require__.S[name] = shareScope; | |
return __webpack_require__.I(name, initScope); | |
}; | |
// This exports getters to disallow modifications | |
__webpack_require__.d(exports, { | |
get: function() { return get; }, | |
init: function() { return init; } | |
}); | |
/***/ }), | |
/***/ 3918: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/amp-context.js"); | |
/***/ }), | |
/***/ 5732: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/amp-mode.js"); | |
/***/ }), | |
/***/ 3280: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/app-router-context.js"); | |
/***/ }), | |
/***/ 5132: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/get-img-props.js"); | |
/***/ }), | |
/***/ 2796: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/head-manager-context.js"); | |
/***/ }), | |
/***/ 744: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/image-config-context.js"); | |
/***/ }), | |
/***/ 5843: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/image-config.js"); | |
/***/ }), | |
/***/ 5832: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/loadable.js"); | |
/***/ }), | |
/***/ 4964: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/router-context.js"); | |
/***/ }), | |
/***/ 1751: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js"); | |
/***/ }), | |
/***/ 3938: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/router/utils/format-url.js"); | |
/***/ }), | |
/***/ 1109: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/router/utils/is-local-url.js"); | |
/***/ }), | |
/***/ 8854: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/router/utils/parse-path.js"); | |
/***/ }), | |
/***/ 3297: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js"); | |
/***/ }), | |
/***/ 7782: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/router/utils/resolve-href.js"); | |
/***/ }), | |
/***/ 2470: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/side-effect.js"); | |
/***/ }), | |
/***/ 9232: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/utils.js"); | |
/***/ }), | |
/***/ 618: | |
/***/ (function(module) { | |
module.exports = require("next/dist/shared/lib/utils/warn-once.js"); | |
/***/ }), | |
/***/ 6689: | |
/***/ (function(module) { | |
module.exports = require("react"); | |
/***/ }), | |
/***/ 6405: | |
/***/ (function(module) { | |
module.exports = require("react-dom"); | |
/***/ }), | |
/***/ 997: | |
/***/ (function(module) { | |
module.exports = require("react/jsx-runtime"); | |
/***/ }) | |
/******/ }); | |
/************************************************************************/ | |
/******/ // The module cache | |
/******/ var __webpack_module_cache__ = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
/******/ if (cachedModule !== undefined) { | |
/******/ return cachedModule.exports; | |
/******/ } | |
/******/ // Create a new module (and put it into the cache) | |
/******/ var module = __webpack_module_cache__[moduleId] = { | |
/******/ // no module.id needed | |
/******/ // no module.loaded needed | |
/******/ exports: {} | |
/******/ }; | |
/******/ | |
/******/ // Execute the module function | |
/******/ var threw = true; | |
/******/ try { | |
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | |
/******/ threw = false; | |
/******/ } finally { | |
/******/ if(threw) delete __webpack_module_cache__[moduleId]; | |
/******/ } | |
/******/ | |
/******/ // Return the exports of the module | |
/******/ return module.exports; | |
/******/ } | |
/******/ | |
/******/ // expose the modules object (__webpack_modules__) | |
/******/ __webpack_require__.m = __webpack_modules__; | |
/******/ | |
/******/ // expose the module cache | |
/******/ __webpack_require__.c = __webpack_module_cache__; | |
/******/ | |
/************************************************************************/ | |
/******/ /* webpack/runtime/chunk loaded */ | |
/******/ !function() { | |
/******/ var deferred = []; | |
/******/ __webpack_require__.O = function(result, chunkIds, fn, priority) { | |
/******/ if(chunkIds) { | |
/******/ priority = priority || 0; | |
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; | |
/******/ deferred[i] = [chunkIds, fn, priority]; | |
/******/ return; | |
/******/ } | |
/******/ var notFulfilled = Infinity; | |
/******/ for (var i = 0; i < deferred.length; i++) { | |
/******/ var chunkIds = deferred[i][0]; | |
/******/ var fn = deferred[i][1]; | |
/******/ var priority = deferred[i][2]; | |
/******/ var fulfilled = true; | |
/******/ for (var j = 0; j < chunkIds.length; j++) { | |
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) { | |
/******/ chunkIds.splice(j--, 1); | |
/******/ } else { | |
/******/ fulfilled = false; | |
/******/ if(priority < notFulfilled) notFulfilled = priority; | |
/******/ } | |
/******/ } | |
/******/ if(fulfilled) { | |
/******/ deferred.splice(i--, 1) | |
/******/ var r = fn(); | |
/******/ if (r !== undefined) result = r; | |
/******/ } | |
/******/ } | |
/******/ return result; | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/compat get default export */ | |
/******/ !function() { | |
/******/ // getDefaultExport function for compatibility with non-harmony modules | |
/******/ __webpack_require__.n = function(module) { | |
/******/ var getter = module && module.__esModule ? | |
/******/ function() { return module['default']; } : | |
/******/ function() { return module; }; | |
/******/ __webpack_require__.d(getter, { a: getter }); | |
/******/ return getter; | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/define property getters */ | |
/******/ !function() { | |
/******/ // define getter functions for harmony exports | |
/******/ __webpack_require__.d = function(exports, definition) { | |
/******/ for(var key in definition) { | |
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
/******/ } | |
/******/ } | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/ensure chunk */ | |
/******/ !function() { | |
/******/ __webpack_require__.f = {}; | |
/******/ // This file contains only the entry chunk. | |
/******/ // The chunk loading function for additional chunks | |
/******/ __webpack_require__.e = function(chunkId) { | |
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { | |
/******/ __webpack_require__.f[key](chunkId, promises); | |
/******/ return promises; | |
/******/ }, [])); | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/get javascript chunk filename */ | |
/******/ !function() { | |
/******/ // This function allow to reference async chunks | |
/******/ __webpack_require__.u = function(chunkId) { | |
/******/ // return url for filenames based on template | |
/******/ return "" + chunkId + "." + {"8":"f13fb9c231c0ce66","152":"44cad23b9cd0bbfd","298":"bc16fc08ee5ea1d9","377":"4440272aa9253014","465":"4cee8242669fd54d","478":"592ef02833c7782c","620":"c2608806479ae236","675":"c54d09e143acb5c1","806":"313dec6265b40e0e","810":"c1c6b6da3afd3065"}[chunkId] + ".js"; | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/hasOwnProperty shorthand */ | |
/******/ !function() { | |
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/make namespace object */ | |
/******/ !function() { | |
/******/ // define __esModule on exports | |
/******/ __webpack_require__.r = function(exports) { | |
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
/******/ } | |
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/remotes loading */ | |
/******/ !function() { | |
/******/ var chunkMapping = {}; | |
/******/ var idToExternalAndNameMapping = {}; | |
/******/ __webpack_require__.f.remotes = function(chunkId, promises) { | |
/******/ if(__webpack_require__.o(chunkMapping, chunkId)) { | |
/******/ chunkMapping[chunkId].forEach(function(id) { | |
/******/ var getScope = __webpack_require__.R; | |
/******/ if(!getScope) getScope = []; | |
/******/ var data = idToExternalAndNameMapping[id]; | |
/******/ if(getScope.indexOf(data) >= 0) return; | |
/******/ getScope.push(data); | |
/******/ if(data.p) return promises.push(data.p); | |
/******/ var onError = function(error) { | |
/******/ if(!error) error = new Error("Container missing"); | |
/******/ if(typeof error.message === "string") | |
/******/ error.message += '\nwhile loading "' + data[1] + '" from ' + data[2]; | |
/******/ __webpack_require__.m[id] = function() { | |
/******/ throw error; | |
/******/ } | |
/******/ data.p = 0; | |
/******/ }; | |
/******/ var handleFunction = function(fn, arg1, arg2, d, next, first) { | |
/******/ try { | |
/******/ var promise = fn(arg1, arg2); | |
/******/ if(promise && promise.then) { | |
/******/ var p = promise.then(function(result) { return next(result, d); }, onError); | |
/******/ if(first) promises.push(data.p = p); else return p; | |
/******/ } else { | |
/******/ return next(promise, d, first); | |
/******/ } | |
/******/ } catch(error) { | |
/******/ onError(error); | |
/******/ } | |
/******/ } | |
/******/ var onExternal = function(external, _, first) { return external ? handleFunction(__webpack_require__.I, data[0], 0, external, onInitialized, first) : onError(); }; | |
/******/ var onInitialized = function(_, external, first) { return handleFunction(external.get, data[1], getScope, 0, onFactory, first); }; | |
/******/ var onFactory = function(factory) { | |
/******/ data.p = 1; | |
/******/ __webpack_require__.m[id] = function(module) { | |
/******/ module.exports = factory(); | |
/******/ } | |
/******/ }; | |
/******/ handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1); | |
/******/ }); | |
/******/ } | |
/******/ } | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/remotes loading */ | |
/******/ !function() { | |
/******/ var chunkMapping = {}; | |
/******/ var idToExternalAndNameMapping = {}; | |
/******/ __webpack_require__.f.remotes = function(chunkId, promises) { | |
/******/ if(__webpack_require__.o(chunkMapping, chunkId)) { | |
/******/ chunkMapping[chunkId].forEach(function(id) { | |
/******/ var getScope = __webpack_require__.R; | |
/******/ if(!getScope) getScope = []; | |
/******/ var data = idToExternalAndNameMapping[id]; | |
/******/ if(getScope.indexOf(data) >= 0) return; | |
/******/ getScope.push(data); | |
/******/ if(data.p) return promises.push(data.p); | |
/******/ var onError = function(error) { | |
/******/ if(!error) error = new Error("Container missing"); | |
/******/ if(typeof error.message === "string") | |
/******/ error.message += '\nwhile loading "' + data[1] + '" from ' + data[2]; | |
/******/ __webpack_require__.m[id] = function() { | |
/******/ throw error; | |
/******/ } | |
/******/ data.p = 0; | |
/******/ }; | |
/******/ var handleFunction = function(fn, arg1, arg2, d, next, first) { | |
/******/ try { | |
/******/ var promise = fn(arg1, arg2); | |
/******/ if(promise && promise.then) { | |
/******/ var p = promise.then(function(result) { return next(result, d); }, onError); | |
/******/ if(first) promises.push(data.p = p); else return p; | |
/******/ } else { | |
/******/ return next(promise, d, first); | |
/******/ } | |
/******/ } catch(error) { | |
/******/ onError(error); | |
/******/ } | |
/******/ } | |
/******/ var onExternal = function(external, _, first) { return external ? handleFunction(__webpack_require__.I, data[0], 0, external, onInitialized, first) : onError(); }; | |
/******/ var onInitialized = function(_, external, first) { return handleFunction(external.get, data[1], getScope, 0, onFactory, first); }; | |
/******/ var onFactory = function(factory) { | |
/******/ data.p = 1; | |
/******/ __webpack_require__.m[id] = function(module) { | |
/******/ module.exports = factory(); | |
/******/ } | |
/******/ }; | |
/******/ handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1); | |
/******/ }); | |
/******/ } | |
/******/ } | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/sharing */ | |
/******/ !function() { | |
/******/ __webpack_require__.S = {}; | |
/******/ var initPromises = {}; | |
/******/ var initTokens = {}; | |
/******/ __webpack_require__.I = function(name, initScope) { | |
/******/ if(!initScope) initScope = []; | |
/******/ // handling circular init calls | |
/******/ var initToken = initTokens[name]; | |
/******/ if(!initToken) initToken = initTokens[name] = {}; | |
/******/ if(initScope.indexOf(initToken) >= 0) return; | |
/******/ initScope.push(initToken); | |
/******/ // only runs once | |
/******/ if(initPromises[name]) return initPromises[name]; | |
/******/ // creates a new share scope if needed | |
/******/ if(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {}; | |
/******/ // runs all init snippets from all modules reachable | |
/******/ var scope = __webpack_require__.S[name]; | |
/******/ var warn = function(msg) { | |
/******/ if (typeof console !== "undefined" && console.warn) console.warn(msg); | |
/******/ }; | |
/******/ var uniqueName = "next2"; | |
/******/ var register = function(name, version, factory, eager) { | |
/******/ var versions = scope[name] = scope[name] || {}; | |
/******/ var activeVersion = versions[version]; | |
/******/ if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager }; | |
/******/ }; | |
/******/ var initExternal = function(id) { | |
/******/ var handleError = function(err) { warn("Initialization of sharing external failed: " + err); }; | |
/******/ try { | |
/******/ var module = __webpack_require__(id); | |
/******/ if(!module) return; | |
/******/ var initFn = function(module) { return module && module.init && module.init(__webpack_require__.S[name], initScope); } | |
/******/ if(module.then) return promises.push(module.then(initFn, handleError)); | |
/******/ var initResult = initFn(module); | |
/******/ if(initResult && initResult.then) return promises.push(initResult['catch'](handleError)); | |
/******/ } catch(err) { handleError(err); } | |
/******/ } | |
/******/ var promises = []; | |
/******/ switch(name) { | |
/******/ case "default": { | |
/******/ register("styled-jsx/style", "5.1.1", function() { return __webpack_require__.e(465).then(function() { return function() { return __webpack_require__(6465); }; }); }); | |
/******/ register("styled-jsx", "5.1.1", function() { return __webpack_require__.e(806).then(function() { return function() { return __webpack_require__(4806); }; }); }); | |
/******/ } | |
/******/ break; | |
/******/ } | |
/******/ if(!promises.length) return initPromises[name] = 1; | |
/******/ return initPromises[name] = Promise.all(promises).then(function() { return initPromises[name] = 1; }); | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/publicPath */ | |
/******/ !function() { | |
/******/ __webpack_require__.p = "/_next/"; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/readFile chunk loading */ | |
/******/ !function() { | |
/******/ // no baseURI | |
/******/ | |
/******/ // object to store loaded chunks | |
/******/ // "0" means "already loaded", Promise means loading | |
/******/ var installedChunks = { | |
/******/ 259: 0, | |
/******/ 658: 0, | |
/******/ 165: 0 | |
/******/ }; | |
/******/ | |
/******/ __webpack_require__.O.readFileVm = function(chunkId) { return installedChunks[chunkId] === 0; }; | |
/******/ | |
/******/ var installChunk = function(chunk) { | |
/******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime; | |
/******/ for(var moduleId in moreModules) { | |
/******/ if(__webpack_require__.o(moreModules, moduleId)) { | |
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; | |
/******/ } | |
/******/ } | |
/******/ if(runtime) runtime(__webpack_require__); | |
/******/ for(var i = 0; i < chunkIds.length; i++) { | |
/******/ if(installedChunks[chunkIds[i]]) { | |
/******/ installedChunks[chunkIds[i]][0](); | |
/******/ } | |
/******/ installedChunks[chunkIds[i]] = 0; | |
/******/ } | |
/******/ __webpack_require__.O(); | |
/******/ }; | |
/******/ | |
/******/ // load script equivalent for server side | |
/******/ __webpack_require__.l = function(url,callback,chunkId) { | |
/******/ if(!globalThis.__remote_scope__) { | |
/******/ // create a global scope for container, similar to how remotes are set on window in the browser | |
/******/ globalThis.__remote_scope__ = { | |
/******/ _config: {}, | |
/******/ } | |
/******/ } | |
/******/ | |
/******/ function executeLoad(url, callback, name) { | |
/******/ if (!name) { | |
/******/ throw new Error('__webpack_require__.l name is required for ' + url); | |
/******/ } | |
/******/ if (typeof globalThis.__remote_scope__[name] !== 'undefined') return callback(globalThis.__remote_scope__[name]); | |
/******/ // if its a worker or node | |
/******/ if (typeof process !== 'undefined') { | |
/******/ const vm = require('vm'); | |
/******/ (globalThis.webpackChunkLoad || globalThis.fetch || require("node-fetch"))(url).then(function (res) { | |
/******/ return res.text(); | |
/******/ }).then(function (scriptContent) { | |
/******/ try { | |
/******/ const m = require('module'); | |
/******/ | |
/******/ const remoteCapsule = vm.runInThisContext(m.wrap(scriptContent), 'node-federation-loader-' + name + '.vm') | |
/******/ const exp = {}; | |
/******/ let remote = {exports:{}}; | |
/******/ remoteCapsule(exp,require,remote,'node-federation-loader-' + name + '.vm',__dirname); | |
/******/ remote = remote.exports || remote; | |
/******/ globalThis.__remote_scope__[name] = remote[name] || remote; | |
/******/ globalThis.__remote_scope__._config[name] = url; | |
/******/ callback(globalThis.__remote_scope__[name]) | |
/******/ } catch (e) { | |
/******/ console.error('executeLoad hit catch block', e); | |
/******/ e.target = {src: url}; | |
/******/ callback(e); | |
/******/ } | |
/******/ }).catch((e) => { | |
/******/ e.target = {src: url}; | |
/******/ callback(e); | |
/******/ }); | |
/******/ } else { | |
/******/ fetch(url).then(function (res) { | |
/******/ return res.text(); | |
/******/ }).then(function (scriptContent) { | |
/******/ try { | |
/******/ const remote = eval('let module = {};' + scriptContent + '\nmodule.exports') | |
/******/ globalThis.__remote_scope__[name] = remote[name] || remote; | |
/******/ globalThis.__remote_scope__._config[name] = url; | |
/******/ callback(globalThis.__remote_scope__[name]) | |
/******/ } catch (e) { | |
/******/ console.error('executeLoad hit catch block',e); | |
/******/ e.target = {src: url}; | |
/******/ callback(e); | |
/******/ } | |
/******/ }); | |
/******/ } | |
/******/ } | |
/******/ executeLoad(url,callback,chunkId) | |
/******/ } | |
/******/ // ReadFile + VM.run chunk loading for javascript | |
/******/ __webpack_require__.f.readFileVm = function(chunkId, promises) { | |
/******/ | |
/******/ var installedChunkData = installedChunks[chunkId]; | |
/******/ if(installedChunkData !== 0) { // 0 means "already installed". | |
/******/ // array of [resolve, reject, promise] means "currently loading" | |
/******/ if(installedChunkData) { | |
/******/ promises.push(installedChunkData[2]); | |
/******/ } else { | |
/******/ if(true) { // all chunks have JS | |
/******/ // load the chunk and return promise to it | |
/******/ var promise = new Promise(async function(resolve, reject) { | |
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; | |
/******/ var filename = typeof process !== "undefined" ? require('path').join(__dirname, "" + __webpack_require__.u(chunkId)) : false; | |
/******/ var fs = typeof process !== "undefined" ? require('fs') : false; | |
/******/ if(fs && fs.existsSync(filename)) { | |
/******/ | |
/******/ fs.readFile(filename, 'utf-8', function(err, content) { | |
/******/ if(err) return reject(err); | |
/******/ var chunk = {}; | |
/******/ require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\n})', filename)(chunk, require, require('path').dirname(filename), filename); | |
/******/ installChunk(chunk); | |
/******/ }); | |
/******/ } else { | |
/******/ | |
/******/ function loadScript(url, cb, chunkID) { | |
/******/ var url; | |
/******/ var cb = arguments[arguments.length - 1]; | |
/******/ if (typeof cb !== "function") { | |
/******/ throw new Error("last argument should be a function"); | |
/******/ } | |
/******/ if (arguments.length === 2) { | |
/******/ url = arguments[0]; | |
/******/ } else if (arguments.length === 3) { | |
/******/ url = new URL(arguments[1], arguments[0]).toString(); | |
/******/ } else { | |
/******/ throw new Error("invalid number of arguments"); | |
/******/ } | |
/******/ if (globalThis.webpackChunkLoad) { | |
/******/ globalThis.webpackChunkLoad(url).then(function (resp) { | |
/******/ return resp.text(); | |
/******/ }).then(function (rawData) { | |
/******/ cb(null, rawData); | |
/******/ }).catch(function (err) { | |
/******/ console.error('Federated Chunk load failed', err); | |
/******/ return cb(err) | |
/******/ }); | |
/******/ } else if (typeof process !== 'undefined') { | |
/******/ //TODO https support | |
/******/ let request = (url.startsWith('https') ? require('https') : require('http')).get(url, function (resp) { | |
/******/ if (resp.statusCode === 200) { | |
/******/ let rawData = ''; | |
/******/ resp.setEncoding('utf8'); | |
/******/ resp.on('data', chunk => { | |
/******/ rawData += chunk; | |
/******/ }); | |
/******/ resp.on('end', () => { | |
/******/ cb(null, rawData); | |
/******/ }); | |
/******/ } else { | |
/******/ cb(resp); | |
/******/ } | |
/******/ }); | |
/******/ request.on('error', error => { | |
/******/ console.error('Federated Chunk load failed', error); | |
/******/ return cb(error) | |
/******/ }); | |
/******/ } else { | |
/******/ fetch(url).then(function (resp) { | |
/******/ return resp.text(); | |
/******/ }).then(function (rawData) { | |
/******/ cb(null, rawData); | |
/******/ }).catch(function (err) { | |
/******/ console.error('Federated Chunk load failed', err); | |
/******/ return cb(err) | |
/******/ }) | |
/******/ } | |
/******/ } | |
/******/ | |
/******/ | |
/******/ var remotes = {"internal /home/lucasgiuri/Escritorio/dev/myrentokil-components-library/app/node_modules/":"module-federation/nextjs-mf/src/default-delegate.js?remote=next1"}; | |
/******/ if(!globalThis.__remote_scope__) { | |
/******/ // create a global scope for container, similar to how remotes are set on window in the browser | |
/******/ globalThis.__remote_scope__ = { | |
/******/ _config: {}, | |
/******/ } | |
/******/ } | |
/******/ const remoteRegistry = globalThis.__remote_scope__._config | |
/******/ | |
/******/ | |
/******/ | |
/******/ | |
/******/ | |
/******/ var requestedRemote = remoteRegistry["next2"] | |
/******/ | |
/******/ if(typeof requestedRemote === 'function'){ | |
/******/ requestedRemote = await requestedRemote() | |
/******/ } | |
/******/ | |
/******/ | |
/******/ var scriptUrl = new URL(requestedRemote); | |
/******/ | |
/******/ var chunkName = __webpack_require__.u(chunkId); | |
/******/ | |
/******/ | |
/******/ var getBasenameFromUrl = (url) => { | |
/******/ const urlParts = url.split('/'); | |
/******/ return urlParts[urlParts.length - 1]; | |
/******/ }; | |
/******/ var fileToReplace = typeof process !== "undefined" ? require('path').basename(scriptUrl.pathname) : getBasenameFromUrl(scriptUrl.pathname); | |
/******/ scriptUrl.pathname = scriptUrl.pathname.replace(fileToReplace, chunkName); | |
/******/ | |
/******/ loadScript(scriptUrl.toString(), function(err, content) { | |
/******/ | |
/******/ if(err) {console.error('error loading remote chunk', scriptUrl.toString(),'got',content); return reject(err);} | |
/******/ var chunk = {}; | |
/******/ if(typeof process !== 'undefined') { | |
/******/ try { | |
/******/ require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\n})', filename)(chunk, require, require('path').dirname(filename), filename); | |
/******/ } catch (e) { | |
/******/ console.error('runInThisContext threw', e) | |
/******/ } | |
/******/ } else { | |
/******/ eval('(function(exports, require, __dirname, __filename) {' + content + '\n})')(chunk, __webpack_require__, '.', chunkName); | |
/******/ } | |
/******/ installChunk(chunk); | |
/******/ }); | |
/******/ } | |
/******/ }); | |
/******/ promises.push(installedChunkData[2] = promise); | |
/******/ } else installedChunks[chunkId] = 0; | |
/******/ } | |
/******/ } | |
/******/ }; | |
/******/ | |
/******/ // no external install chunk | |
/******/ | |
/******/ // no HMR | |
/******/ | |
/******/ // no HMR manifest | |
/******/ }(); | |
/******/ | |
/************************************************************************/ | |
/******/ | |
/******/ // module cache are used so entry inlining is disabled | |
/******/ // startup | |
/******/ // Load entry module and return exports | |
/******/ var __webpack_exports__ = __webpack_require__(5345); | |
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); | |
/******/ module.exports.next2 = __webpack_exports__; | |
/******/ | |
/******/ })() | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment