remote-components 0.4.13 → 0.4.14
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/dist/{chunk-CLB2ATH2.js → chunk-EIEIT5PG.js} +3 -3
- package/dist/{chunk-5BBEO4SE.js → chunk-GG32LZD3.js} +2 -2
- package/dist/{chunk-KP544TQH.cjs → chunk-JKDPK6L5.cjs} +23 -23
- package/dist/{chunk-KMG54QXV.cjs → chunk-MAVMKFFL.cjs} +3 -3
- package/dist/{chunk-XEO3XD67.js → chunk-PNKSHWZ3.js} +5 -5
- package/dist/{chunk-OI37BBBU.cjs → chunk-T2JJIQUJ.cjs} +22 -22
- package/dist/{chunk-OVD7BRLD.cjs → chunk-TIS6PXSQ.cjs} +18 -18
- package/dist/{chunk-W7RJUCZQ.cjs → chunk-WCZKEWRM.cjs} +19 -19
- package/dist/{chunk-3DR4Z24C.js → chunk-WWHNG5YP.js} +36 -23
- package/dist/chunk-WWHNG5YP.js.map +1 -0
- package/dist/{chunk-IE7FXNFJ.js → chunk-XLGLCKZZ.js} +2 -2
- package/dist/{chunk-CBEDRGC7.js → chunk-YKCU7RFM.js} +3 -3
- package/dist/{chunk-OZCVXVKU.cjs → chunk-ZPJ5J24T.cjs} +45 -32
- package/dist/chunk-ZPJ5J24T.cjs.map +1 -0
- package/dist/config/nextjs.cjs +5 -5
- package/dist/config/nextjs.js +1 -1
- package/dist/host/html.cjs +19 -19
- package/dist/host/html.js +7 -7
- package/dist/host/nextjs/app/client-only.cjs +20 -11
- package/dist/host/nextjs/app/client-only.cjs.map +1 -1
- package/dist/host/nextjs/app/client-only.js +17 -8
- package/dist/host/nextjs/app/client-only.js.map +1 -1
- package/dist/host/nextjs/app.cjs +2 -0
- package/dist/host/nextjs/app.cjs.map +1 -1
- package/dist/host/nextjs/app.js +2 -0
- package/dist/host/nextjs/app.js.map +1 -1
- package/dist/host/nextjs/pages.cjs +14 -7
- package/dist/host/nextjs/pages.cjs.map +1 -1
- package/dist/host/nextjs/pages.d.ts +2 -0
- package/dist/host/nextjs/pages.js +14 -7
- package/dist/host/nextjs/pages.js.map +1 -1
- package/dist/host/react.cjs +7 -7
- package/dist/host/react.js +6 -6
- package/dist/internal/host/nextjs/app-client.cjs +8 -3
- package/dist/internal/host/nextjs/app-client.cjs.map +1 -1
- package/dist/internal/host/nextjs/app-client.d.ts +3 -2
- package/dist/internal/host/nextjs/app-client.js +8 -3
- package/dist/internal/host/nextjs/app-client.js.map +1 -1
- package/dist/internal/host/nextjs/dom-flight.cjs +1 -0
- package/dist/internal/host/nextjs/dom-flight.cjs.map +1 -1
- package/dist/internal/host/nextjs/dom-flight.d.ts +1 -0
- package/dist/internal/host/nextjs/dom-flight.js +1 -0
- package/dist/internal/host/nextjs/dom-flight.js.map +1 -1
- package/dist/internal/host/nextjs/image-shared.cjs +11 -2
- package/dist/internal/host/nextjs/image-shared.cjs.map +1 -1
- package/dist/internal/host/nextjs/image-shared.d.ts +3 -1
- package/dist/internal/host/nextjs/image-shared.js +11 -2
- package/dist/internal/host/nextjs/image-shared.js.map +1 -1
- package/dist/internal/host/server/fetch-remote-component.cjs +58 -3
- package/dist/internal/host/server/fetch-remote-component.cjs.map +1 -1
- package/dist/internal/host/server/fetch-remote-component.d.ts +1 -0
- package/dist/internal/host/server/fetch-remote-component.js +61 -3
- package/dist/internal/host/server/fetch-remote-component.js.map +1 -1
- package/dist/internal/host/server/types.cjs.map +1 -1
- package/dist/internal/host/server/types.d.ts +2 -0
- package/dist/internal/host/shared/next-image-deployment-id.cjs +50 -0
- package/dist/internal/host/shared/next-image-deployment-id.cjs.map +1 -0
- package/dist/internal/host/shared/next-image-deployment-id.d.ts +14 -0
- package/dist/internal/host/shared/next-image-deployment-id.js +25 -0
- package/dist/internal/host/shared/next-image-deployment-id.js.map +1 -0
- package/dist/internal/host/shared/pipeline.d.ts +2 -1
- package/dist/internal/host/shared/remote-image-loader.cjs +15 -23
- package/dist/internal/host/shared/remote-image-loader.cjs.map +1 -1
- package/dist/internal/host/shared/remote-image-loader.d.ts +2 -1
- package/dist/internal/host/shared/remote-image-loader.js +17 -22
- package/dist/internal/host/shared/remote-image-loader.js.map +1 -1
- package/dist/internal/runtime/html/parse-remote-html.d.ts +1 -0
- package/dist/internal/runtime/loaders/component-loader.d.ts +2 -1
- package/dist/{server-handoff-9e905049.d.ts → server-handoff-006f9cb5.d.ts} +2 -0
- package/dist/{turbopack-Z744H3T4.js → turbopack-HK7DVYUG.js} +4 -4
- package/dist/{turbopack-5WAY6QIC.cjs → turbopack-YZOIO55D.cjs} +11 -11
- package/dist/{webpack-IQKPPBGH.js → webpack-2HP73JL7.js} +4 -4
- package/dist/{webpack-3GSL5AZJ.cjs → webpack-W2MODB73.cjs} +11 -11
- package/package.json +1 -1
- package/dist/chunk-3DR4Z24C.js.map +0 -1
- package/dist/chunk-OZCVXVKU.cjs.map +0 -1
- /package/dist/{chunk-CLB2ATH2.js.map → chunk-EIEIT5PG.js.map} +0 -0
- /package/dist/{chunk-5BBEO4SE.js.map → chunk-GG32LZD3.js.map} +0 -0
- /package/dist/{chunk-KP544TQH.cjs.map → chunk-JKDPK6L5.cjs.map} +0 -0
- /package/dist/{chunk-KMG54QXV.cjs.map → chunk-MAVMKFFL.cjs.map} +0 -0
- /package/dist/{chunk-XEO3XD67.js.map → chunk-PNKSHWZ3.js.map} +0 -0
- /package/dist/{chunk-OI37BBBU.cjs.map → chunk-T2JJIQUJ.cjs.map} +0 -0
- /package/dist/{chunk-OVD7BRLD.cjs.map → chunk-TIS6PXSQ.cjs.map} +0 -0
- /package/dist/{chunk-W7RJUCZQ.cjs.map → chunk-WCZKEWRM.cjs.map} +0 -0
- /package/dist/{chunk-IE7FXNFJ.js.map → chunk-XLGLCKZZ.js.map} +0 -0
- /package/dist/{chunk-CBEDRGC7.js.map → chunk-YKCU7RFM.js.map} +0 -0
- /package/dist/{turbopack-Z744H3T4.js.map → turbopack-HK7DVYUG.js.map} +0 -0
- /package/dist/{turbopack-5WAY6QIC.cjs.map → turbopack-YZOIO55D.cjs.map} +0 -0
- /package/dist/{webpack-IQKPPBGH.js.map → webpack-2HP73JL7.js.map} +0 -0
- /package/dist/{webpack-3GSL5AZJ.cjs.map → webpack-W2MODB73.cjs.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
makeReactEmitter,
|
|
8
8
|
preparePipeline,
|
|
9
9
|
resolveNameFromSrc
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PNKSHWZ3.js";
|
|
11
11
|
import {
|
|
12
12
|
loadStaticRemoteComponent
|
|
13
13
|
} from "./chunk-LEKG4YWI.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
RUNTIME_WEBPACK,
|
|
22
22
|
attrToProp,
|
|
23
23
|
escapeString
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WWHNG5YP.js";
|
|
25
25
|
import {
|
|
26
26
|
getNamespace
|
|
27
27
|
} from "./chunk-D5GNZB6O.js";
|
|
@@ -757,4 +757,4 @@ export {
|
|
|
757
757
|
useRemoteNavigate,
|
|
758
758
|
ConsumeRemoteComponent
|
|
759
759
|
};
|
|
760
|
-
//# sourceMappingURL=chunk-
|
|
760
|
+
//# sourceMappingURL=chunk-EIEIT5PG.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isSharedModuleManifest,
|
|
10
10
|
parseRemoteId,
|
|
11
11
|
resolveSharedModulePlan
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WWHNG5YP.js";
|
|
13
13
|
import {
|
|
14
14
|
getNamespace
|
|
15
15
|
} from "./chunk-D5GNZB6O.js";
|
|
@@ -1356,4 +1356,4 @@ export {
|
|
|
1356
1356
|
requireModule,
|
|
1357
1357
|
nextClientPagesLoader
|
|
1358
1358
|
};
|
|
1359
|
-
//# sourceMappingURL=chunk-
|
|
1359
|
+
//# sourceMappingURL=chunk-GG32LZD3.js.map
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkZPJ5J24Tcjs = require('./chunk-ZPJ5J24T.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkZ2SLBFQLcjs = require('./chunk-Z2SLBFQL.cjs');
|
|
@@ -81,14 +81,14 @@ async function buildSharedProviderPlan({
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
const sharedModulePlan =
|
|
84
|
+
const sharedModulePlan = _chunkZPJ5J24Tcjs.createSharedModulePlan.call(void 0, {
|
|
85
85
|
bundle,
|
|
86
86
|
hostShared: hostSharedForPlan,
|
|
87
87
|
remoteShared,
|
|
88
88
|
scope,
|
|
89
89
|
callerTag
|
|
90
90
|
});
|
|
91
|
-
const resolved = await
|
|
91
|
+
const resolved = await _chunkZPJ5J24Tcjs.resolveSharedModulePlan.call(void 0, sharedModulePlan);
|
|
92
92
|
const entriesByIdAndSpecifier = /* @__PURE__ */ new Map();
|
|
93
93
|
const addEntry = (entry) => {
|
|
94
94
|
entriesByIdAndSpecifier.set(`${entry.id}\0${entry.specifier}`, entry);
|
|
@@ -103,7 +103,7 @@ async function buildSharedProviderPlan({
|
|
|
103
103
|
}
|
|
104
104
|
for (const entry of sharedModulePlan.entries) {
|
|
105
105
|
if (entry.status !== "resolved") {
|
|
106
|
-
if (onMissing && !(sharedModulePlan.protocol ===
|
|
106
|
+
if (onMissing && !(sharedModulePlan.protocol === _chunkZPJ5J24Tcjs.SHARED_MODULE_MANIFEST_PROTOCOL && entry.required)) {
|
|
107
107
|
onMissing(entry);
|
|
108
108
|
}
|
|
109
109
|
continue;
|
|
@@ -191,7 +191,7 @@ async function buildWebpackResolve(hostShared, remoteShared, bundle, reactModule
|
|
|
191
191
|
remoteShared,
|
|
192
192
|
callerTag,
|
|
193
193
|
normalizeId: normalizeWebpackSharedId,
|
|
194
|
-
additionalEntries: Object.entries(
|
|
194
|
+
additionalEntries: Object.entries(_chunkZPJ5J24Tcjs.CORE_REACT_SHARED_MODULE_IDS).map(
|
|
195
195
|
([specifier, id]) => ({
|
|
196
196
|
id,
|
|
197
197
|
specifier,
|
|
@@ -227,7 +227,7 @@ function applyWebpackSharedProviderModules(bundle, entries) {
|
|
|
227
227
|
`applyWebpackSharedProviderModules called for bundle: "${bundle}"`
|
|
228
228
|
);
|
|
229
229
|
const self = globalThis;
|
|
230
|
-
const scope =
|
|
230
|
+
const scope = _chunkZPJ5J24Tcjs.getScope.call(void 0, bundle);
|
|
231
231
|
const webpackBundle = _nullishCoalesce(_optionalChain([scope, 'optionalAccess', _4 => _4.webpackRequire]), () => ( _optionalChain([self, 'access', _5 => _5.__remote_webpack_require__, 'optionalAccess', _6 => _6[bundle]])));
|
|
232
232
|
if (!webpackBundle) {
|
|
233
233
|
throw new (0, _chunkBBXVML3Dcjs.RemoteComponentsError)(
|
|
@@ -287,12 +287,12 @@ function applySharedModules(bundle, resolve) {
|
|
|
287
287
|
`Shared modules to resolve: ${Object.keys(resolve)}`
|
|
288
288
|
);
|
|
289
289
|
const metadata = resolve[WEBPACK_SHARED_RESOLVE_METADATA];
|
|
290
|
-
if (_optionalChain([metadata, 'optionalAccess', _12 => _12.protocol]) ===
|
|
290
|
+
if (_optionalChain([metadata, 'optionalAccess', _12 => _12.protocol]) === _chunkZPJ5J24Tcjs.SHARED_MODULE_MANIFEST_PROTOCOL) {
|
|
291
291
|
applyWebpackSharedProviderModules(bundle, metadata.entries);
|
|
292
292
|
return;
|
|
293
293
|
}
|
|
294
294
|
const self = globalThis;
|
|
295
|
-
const scope =
|
|
295
|
+
const scope = _chunkZPJ5J24Tcjs.getScope.call(void 0, bundle);
|
|
296
296
|
const webpackBundle = _nullishCoalesce(_optionalChain([scope, 'optionalAccess', _13 => _13.webpackRequire]), () => ( _optionalChain([self, 'access', _14 => _14.__remote_webpack_require__, 'optionalAccess', _15 => _15[bundle]])));
|
|
297
297
|
if (webpackBundle) {
|
|
298
298
|
const modulePaths = Object.keys(
|
|
@@ -383,12 +383,12 @@ function loadChunkWithScope(scope, chunkId) {
|
|
|
383
383
|
);
|
|
384
384
|
const self = globalThis;
|
|
385
385
|
const ns = _chunkZ2SLBFQLcjs.getNamespace.call(void 0, );
|
|
386
|
-
const { bundle, path, prefix } =
|
|
386
|
+
const { bundle, path, prefix } = _chunkZPJ5J24Tcjs.parseRemoteId.call(void 0, chunkId);
|
|
387
387
|
const remoteRuntime = _optionalChain([self, 'access', _25 => _25.__remote_webpack_require__, 'optionalAccess', _26 => _26[_nullishCoalesce(bundle, () => ( "default"))]]) ? _optionalChain([self, 'access', _27 => _27.__remote_webpack_require__, 'access', _28 => _28[_nullishCoalesce(bundle, () => ( "default"))], 'optionalAccess', _29 => _29.type]) || "webpack" : scope.runtime;
|
|
388
|
-
if (remoteRuntime ===
|
|
388
|
+
if (remoteRuntime === _chunkZPJ5J24Tcjs.RUNTIME_WEBPACK) {
|
|
389
389
|
return Promise.resolve(void 0);
|
|
390
390
|
}
|
|
391
|
-
const rawPath = path ?
|
|
391
|
+
const rawPath = path ? _chunkZPJ5J24Tcjs.collapseDoubleSlashes.call(void 0, `${prefix}${path}`) : "/";
|
|
392
392
|
const url = new URL(rawPath, scope.url).href;
|
|
393
393
|
if (url.endsWith(".css")) {
|
|
394
394
|
return;
|
|
@@ -441,9 +441,9 @@ function loadChunkWithScope(scope, chunkId) {
|
|
|
441
441
|
function createChunkDispatcher() {
|
|
442
442
|
return function __chunk_dispatcher__(chunkId, scriptBundle) {
|
|
443
443
|
_chunkBBXVML3Dcjs.logDebug.call(void 0, "ChunkDispatcher", `Dispatching chunk: "${chunkId}"`);
|
|
444
|
-
const { bundle } =
|
|
444
|
+
const { bundle } = _chunkZPJ5J24Tcjs.parseRemoteId.call(void 0, chunkId);
|
|
445
445
|
const bundleName = bundle || scriptBundle || "default";
|
|
446
|
-
const scope =
|
|
446
|
+
const scope = _chunkZPJ5J24Tcjs.getScope.call(void 0, bundleName);
|
|
447
447
|
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
448
448
|
"ChunkDispatcher",
|
|
449
449
|
`Scope resolution: bundle="${bundleName}", scope=${_nullishCoalesce(_optionalChain([scope, 'optionalAccess', _32 => _32.scopedName]), () => ( "null"))}`
|
|
@@ -550,7 +550,7 @@ async function handleTurbopackChunk(code, scope, url, renameTurbopackGlobal) {
|
|
|
550
550
|
const baseUrl = url.slice(0, url.indexOf("/_next"));
|
|
551
551
|
const chunkLoadResult = loadChunkWithScope(
|
|
552
552
|
scope,
|
|
553
|
-
|
|
553
|
+
_chunkZPJ5J24Tcjs.formatRemoteId.call(void 0, scope, `${baseUrl}/_next/${id}`)
|
|
554
554
|
);
|
|
555
555
|
if (chunkLoadResult) {
|
|
556
556
|
loadChunkPromises.push(chunkLoadResult);
|
|
@@ -602,7 +602,7 @@ function requireModule(scope, moduleId, fullId) {
|
|
|
602
602
|
return handleTurbopackModule(
|
|
603
603
|
scope,
|
|
604
604
|
idStr,
|
|
605
|
-
_nullishCoalesce(fullId, () => (
|
|
605
|
+
_nullishCoalesce(fullId, () => ( _chunkZPJ5J24Tcjs.formatRemoteId.call(void 0, scope, idStr)))
|
|
606
606
|
);
|
|
607
607
|
}
|
|
608
608
|
function handleTurbopackModule(scope, moduleId, id) {
|
|
@@ -675,7 +675,7 @@ function findModuleInit(modules, moduleId) {
|
|
|
675
675
|
return void 0;
|
|
676
676
|
}
|
|
677
677
|
function createTurbopackContext(scope, exports, moduleExports, modules, moduleInit, id) {
|
|
678
|
-
const scopedRequire = (moduleId) => requireModule(scope, moduleId,
|
|
678
|
+
const scopedRequire = (moduleId) => requireModule(scope, moduleId, _chunkZPJ5J24Tcjs.formatRemoteId.call(void 0, scope, String(moduleId)));
|
|
679
679
|
return {
|
|
680
680
|
// HMR not implemented for Remote Components
|
|
681
681
|
k: {
|
|
@@ -847,7 +847,7 @@ function createTurbopackContext(scope, exports, moduleExports, modules, moduleIn
|
|
|
847
847
|
const nextIndex = scriptSrc.indexOf("/_next");
|
|
848
848
|
const baseUrl = nextIndex !== -1 ? scriptSrc.slice(0, nextIndex) : "";
|
|
849
849
|
const chunkUrl = `${baseUrl}/_next/${url}`;
|
|
850
|
-
return loadChunkWithScope(scope,
|
|
850
|
+
return loadChunkWithScope(scope, _chunkZPJ5J24Tcjs.formatRemoteId.call(void 0, scope, chunkUrl));
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
throw new Error(
|
|
@@ -926,7 +926,7 @@ async function initializeSharedModules(scope, hostShared = {}, remoteShared = {}
|
|
|
926
926
|
const moduleExports = handleTurbopackModule(
|
|
927
927
|
scope,
|
|
928
928
|
sharedModuleId,
|
|
929
|
-
|
|
929
|
+
_chunkZPJ5J24Tcjs.formatRemoteId.call(void 0, scope, String(sharedModuleInitializerId))
|
|
930
930
|
);
|
|
931
931
|
const loaderCandidate = typeof moduleExports === "function" ? moduleExports : _optionalChain([moduleExports, 'optionalAccess', _38 => _38.default]);
|
|
932
932
|
if (typeof loaderCandidate === "function") {
|
|
@@ -1075,13 +1075,13 @@ function installSharedModules(scope, hostShared, sharedModuleIds, missingMessage
|
|
|
1075
1075
|
);
|
|
1076
1076
|
}
|
|
1077
1077
|
function preferSharedManifest(sharedModuleIds, remoteShared) {
|
|
1078
|
-
if (!
|
|
1078
|
+
if (!_chunkZPJ5J24Tcjs.isSharedModuleManifest.call(void 0, remoteShared))
|
|
1079
1079
|
return sharedModuleIds;
|
|
1080
1080
|
const extractedIdBySpecifier = new Map(
|
|
1081
1081
|
Object.entries(sharedModuleIds).map(([id, specifier]) => [specifier, id])
|
|
1082
1082
|
);
|
|
1083
1083
|
return {
|
|
1084
|
-
protocol:
|
|
1084
|
+
protocol: _chunkZPJ5J24Tcjs.SHARED_MODULE_MANIFEST_PROTOCOL,
|
|
1085
1085
|
requirements: remoteShared.requirements.map((requirement) => {
|
|
1086
1086
|
return {
|
|
1087
1087
|
...requirement,
|
|
@@ -1091,7 +1091,7 @@ function preferSharedManifest(sharedModuleIds, remoteShared) {
|
|
|
1091
1091
|
};
|
|
1092
1092
|
}
|
|
1093
1093
|
function normalizeRemoteSharedForTurbopackFallback(remoteShared) {
|
|
1094
|
-
if (
|
|
1094
|
+
if (_chunkZPJ5J24Tcjs.isSharedModuleManifest.call(void 0, remoteShared)) {
|
|
1095
1095
|
return {
|
|
1096
1096
|
...remoteShared,
|
|
1097
1097
|
requirements: remoteShared.requirements.map((requirement) => ({
|
|
@@ -1138,7 +1138,7 @@ function nextClientPagesLoader(bundle, route, styleContainer = document.head) {
|
|
|
1138
1138
|
ns.pageComponentCache ??= {};
|
|
1139
1139
|
const cacheKey = `${bundle}:${route}`;
|
|
1140
1140
|
const remoteRequire = _optionalChain([self, 'access', _45 => _45.__remote_webpack_require__, 'optionalAccess', _46 => _46[bundle]]);
|
|
1141
|
-
const turbopackScope = _optionalChain([remoteRequire, 'optionalAccess', _47 => _47.type]) === "turbopack" ?
|
|
1141
|
+
const turbopackScope = _optionalChain([remoteRequire, 'optionalAccess', _47 => _47.type]) === "turbopack" ? _chunkZPJ5J24Tcjs.getScope.call(void 0, bundle) : void 0;
|
|
1142
1142
|
const applyBundleCss = () => {
|
|
1143
1143
|
const elements = _nullishCoalesce(ns.cssCache[bundle], () => ( []));
|
|
1144
1144
|
if (styleContainer) {
|
|
@@ -1356,4 +1356,4 @@ function findPreviousModuleId(entries, factoryIndex) {
|
|
|
1356
1356
|
|
|
1357
1357
|
|
|
1358
1358
|
exports.buildWebpackResolve = buildWebpackResolve; exports.applySharedModules = applySharedModules; exports.loadChunkWithScope = loadChunkWithScope; exports.createChunkDispatcher = createChunkDispatcher; exports.initializeSharedModules = initializeSharedModules; exports.requireModule = requireModule; exports.nextClientPagesLoader = nextClientPagesLoader;
|
|
1359
|
-
//# sourceMappingURL=chunk-
|
|
1359
|
+
//# sourceMappingURL=chunk-JKDPK6L5.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkZPJ5J24Tcjs = require('./chunk-ZPJ5J24T.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ async function loadScripts(scripts, resolveClientUrl) {
|
|
|
17
17
|
return new Promise((resolve, reject) => {
|
|
18
18
|
const newSrc = new URL(
|
|
19
19
|
// remove the remote component bundle name identifier from the script src
|
|
20
|
-
script.src.replace(
|
|
20
|
+
script.src.replace(_chunkZPJ5J24Tcjs.NEXT_BUNDLE_PATH_RE, "/_next/"),
|
|
21
21
|
location.origin
|
|
22
22
|
).href;
|
|
23
23
|
const rawResolved = _nullishCoalesce(_optionalChain([resolveClientUrl, 'optionalCall', _ => _(newSrc)]), () => ( newSrc));
|
|
@@ -55,4 +55,4 @@ async function loadScripts(scripts, resolveClientUrl) {
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
exports.loadScripts = loadScripts;
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-MAVMKFFL.cjs.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-GAXJTFBV.js";
|
|
4
4
|
import {
|
|
5
5
|
loadScripts
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XLGLCKZZ.js";
|
|
7
7
|
import {
|
|
8
8
|
setupRemoteScope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YKCU7RFM.js";
|
|
10
10
|
import {
|
|
11
11
|
applySharedModules,
|
|
12
12
|
buildWebpackResolve,
|
|
13
13
|
initializeSharedModules,
|
|
14
14
|
nextClientPagesLoader
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GG32LZD3.js";
|
|
16
16
|
import {
|
|
17
17
|
loadStaticRemoteComponent
|
|
18
18
|
} from "./chunk-LEKG4YWI.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
collapseDoubleSlashes,
|
|
28
28
|
escapeString,
|
|
29
29
|
getMissingSharedModulesMessage
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WWHNG5YP.js";
|
|
31
31
|
import {
|
|
32
32
|
RemoteComponentsError,
|
|
33
33
|
logDebug,
|
|
@@ -709,4 +709,4 @@ export {
|
|
|
709
709
|
resolveNameFromSrc,
|
|
710
710
|
bindResolveClientUrl
|
|
711
711
|
};
|
|
712
|
-
//# sourceMappingURL=chunk-
|
|
712
|
+
//# sourceMappingURL=chunk-PNKSHWZ3.js.map
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
var _chunkTCFLEBQMcjs = require('./chunk-TCFLEBQM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkMAVMKFFLcjs = require('./chunk-MAVMKFFL.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkTIS6PXSQcjs = require('./chunk-TIS6PXSQ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkJKDPK6L5cjs = require('./chunk-JKDPK6L5.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk3AX5WLZDcjs = require('./chunk-3AX5WLZD.cjs');
|
|
@@ -27,7 +27,7 @@ var _chunk3AX5WLZDcjs = require('./chunk-3AX5WLZD.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkZPJ5J24Tcjs = require('./chunk-ZPJ5J24T.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -288,12 +288,12 @@ function toComponentType(value) {
|
|
|
288
288
|
return value && isComponentType(value) ? value : "unknown";
|
|
289
289
|
}
|
|
290
290
|
function buildMetadata(attrs, url) {
|
|
291
|
-
const id = attrs.id ||
|
|
292
|
-
const bundle = attrs.bundle || process.env.NEXT_PUBLIC_MFE_CURRENT_APPLICATION ||
|
|
291
|
+
const id = attrs.id || _chunkZPJ5J24Tcjs.DEFAULT_COMPONENT_NAME;
|
|
292
|
+
const bundle = attrs.bundle || process.env.NEXT_PUBLIC_MFE_CURRENT_APPLICATION || _chunkZPJ5J24Tcjs.DEFAULT_BUNDLE_NAME;
|
|
293
293
|
return {
|
|
294
294
|
name: attrs.name || id.replace(/_ssr$/, ""),
|
|
295
295
|
bundle,
|
|
296
|
-
route: attrs.route || url.pathname ||
|
|
296
|
+
route: attrs.route || url.pathname || _chunkZPJ5J24Tcjs.DEFAULT_ROUTE,
|
|
297
297
|
runtime: toRuntime(attrs.runtime),
|
|
298
298
|
id,
|
|
299
299
|
type: toComponentType(attrs.type)
|
|
@@ -338,7 +338,7 @@ function extractRemoteShared(doc, name, nextData) {
|
|
|
338
338
|
function validateComponentFound(component, rsc, nextData, isRemoteComponent, url, name) {
|
|
339
339
|
if (!component || !(rsc || nextData || isRemoteComponent)) {
|
|
340
340
|
throw new (0, _chunkBBXVML3Dcjs.RemoteComponentsError)(
|
|
341
|
-
`Remote Component not found on ${url}.${name !==
|
|
341
|
+
`Remote Component not found on ${url}.${name !== _chunkZPJ5J24Tcjs.DEFAULT_COMPONENT_NAME ? ` The name for the <RemoteComponent> is "${name}". Check <RemoteComponent> usage.` : ""} Did you forget to wrap the content in <RemoteComponent>?`
|
|
342
342
|
);
|
|
343
343
|
}
|
|
344
344
|
}
|
|
@@ -369,7 +369,7 @@ function parseRemoteComponentDocument(doc, name, url) {
|
|
|
369
369
|
name: resolvedName,
|
|
370
370
|
bundle: _optionalChain([component, 'optionalAccess', _40 => _40.getAttribute, 'call', _41 => _41(DATA_BUNDLE)]) || _optionalChain([nextData, 'optionalAccess', _42 => _42.props, 'access', _43 => _43.__REMOTE_COMPONENT__, 'optionalAccess', _44 => _44.bundle]),
|
|
371
371
|
route: _nullishCoalesce(_optionalChain([component, 'optionalAccess', _45 => _45.getAttribute, 'call', _46 => _46(DATA_ROUTE)]), () => ( _optionalChain([nextData, 'optionalAccess', _47 => _47.page]))),
|
|
372
|
-
runtime: _nullishCoalesce(_nullishCoalesce(_optionalChain([component, 'optionalAccess', _48 => _48.getAttribute, 'call', _49 => _49(DATA_RUNTIME)]), () => ( _optionalChain([nextData, 'optionalAccess', _50 => _50.props, 'access', _51 => _51.__REMOTE_COMPONENT__, 'optionalAccess', _52 => _52.runtime]))), () => (
|
|
372
|
+
runtime: _nullishCoalesce(_nullishCoalesce(_optionalChain([component, 'optionalAccess', _48 => _48.getAttribute, 'call', _49 => _49(DATA_RUNTIME)]), () => ( _optionalChain([nextData, 'optionalAccess', _50 => _50.props, 'access', _51 => _51.__REMOTE_COMPONENT__, 'optionalAccess', _52 => _52.runtime]))), () => ( _chunkZPJ5J24Tcjs.RUNTIME_SCRIPT)),
|
|
373
373
|
id: _optionalChain([component, 'optionalAccess', _53 => _53.getAttribute, 'call', _54 => _54("id")]),
|
|
374
374
|
type: _optionalChain([component, 'optionalAccess', _55 => _55.getAttribute, 'call', _56 => _56(DATA_TYPE)])
|
|
375
375
|
},
|
|
@@ -439,7 +439,7 @@ async function loadRemoteComponent({
|
|
|
439
439
|
self.__DISABLE_WEBPACK_EXEC__ = {};
|
|
440
440
|
}
|
|
441
441
|
self.__DISABLE_WEBPACK_EXEC__[bundle] = true;
|
|
442
|
-
await
|
|
442
|
+
await _chunkMAVMKFFLcjs.loadScripts.call(void 0, scripts, resolveClientUrl);
|
|
443
443
|
}
|
|
444
444
|
const hostShared = await shared;
|
|
445
445
|
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
@@ -454,7 +454,7 @@ async function loadRemoteComponent({
|
|
|
454
454
|
"ComponentLoader",
|
|
455
455
|
`Remote shared modules requested: ${JSON.stringify(remoteShared)}`
|
|
456
456
|
);
|
|
457
|
-
const scope = await
|
|
457
|
+
const scope = await _chunkTIS6PXSQcjs.setupRemoteScope.call(void 0,
|
|
458
458
|
runtime,
|
|
459
459
|
scripts,
|
|
460
460
|
url,
|
|
@@ -462,14 +462,14 @@ async function loadRemoteComponent({
|
|
|
462
462
|
resolveClientUrl
|
|
463
463
|
);
|
|
464
464
|
if (runtime === "turbopack") {
|
|
465
|
-
await
|
|
465
|
+
await _chunkJKDPK6L5cjs.initializeSharedModules.call(void 0,
|
|
466
466
|
scope,
|
|
467
|
-
|
|
467
|
+
_chunkZPJ5J24Tcjs.buildCoreShared.call(void 0, hostShared),
|
|
468
468
|
remoteShared
|
|
469
469
|
);
|
|
470
470
|
}
|
|
471
471
|
if (bundle && runtime === "webpack") {
|
|
472
|
-
const resolve = await
|
|
472
|
+
const resolve = await _chunkJKDPK6L5cjs.buildWebpackResolve.call(void 0,
|
|
473
473
|
hostShared,
|
|
474
474
|
remoteShared,
|
|
475
475
|
bundle,
|
|
@@ -482,7 +482,7 @@ async function loadRemoteComponent({
|
|
|
482
482
|
},
|
|
483
483
|
"ComponentLoader"
|
|
484
484
|
);
|
|
485
|
-
|
|
485
|
+
_chunkJKDPK6L5cjs.applySharedModules.call(void 0, bundle, resolve);
|
|
486
486
|
} else if (bundle && runtime === "turbopack") {
|
|
487
487
|
} else {
|
|
488
488
|
_chunkBBXVML3Dcjs.logWarn.call(void 0,
|
|
@@ -524,7 +524,7 @@ async function loadRSCComponent(rscName, data) {
|
|
|
524
524
|
return { component };
|
|
525
525
|
}
|
|
526
526
|
function loadNextPagesComponent(bundle, route, nextData, name, container) {
|
|
527
|
-
const { Component, App } =
|
|
527
|
+
const { Component, App } = _chunkJKDPK6L5cjs.nextClientPagesLoader.call(void 0, bundle, route, container);
|
|
528
528
|
if (!Component) {
|
|
529
529
|
throw new (0, _chunkBBXVML3Dcjs.RemoteComponentsError)(
|
|
530
530
|
`Remote Component "${name}" is trying to load the component for route "${route}" but it is not available.`
|
|
@@ -540,7 +540,7 @@ function preparePipeline(input) {
|
|
|
540
540
|
const doc = parser.parseFromString(input.html, "text/html");
|
|
541
541
|
const parsed = parseRemoteComponentDocument(doc, input.name, input.url);
|
|
542
542
|
const remoteShared = _nullishCoalesce(input.remoteShared, () => ( parsed.remoteShared));
|
|
543
|
-
const missingSharedModulesMessage =
|
|
543
|
+
const missingSharedModulesMessage = _chunkZPJ5J24Tcjs.getMissingSharedModulesMessage.call(void 0, remoteShared);
|
|
544
544
|
if (missingSharedModulesMessage) {
|
|
545
545
|
throw new (0, _chunkBBXVML3Dcjs.RemoteComponentsError)(missingSharedModulesMessage);
|
|
546
546
|
}
|
|
@@ -580,12 +580,12 @@ async function loadPrepared(input) {
|
|
|
580
580
|
function buildScriptDescriptors(scripts, url) {
|
|
581
581
|
return scripts.map((script) => {
|
|
582
582
|
const scriptSrc = script.getAttribute("data-src") || script.getAttribute("src") || script.src;
|
|
583
|
-
const { prefix, id: path } = _nullishCoalesce(_optionalChain([
|
|
583
|
+
const { prefix, id: path } = _nullishCoalesce(_optionalChain([_chunkZPJ5J24Tcjs.REMOTE_COMPONENT_REGEX, 'access', _57 => _57.exec, 'call', _58 => _58(scriptSrc), 'optionalAccess', _59 => _59.groups]), () => ( {
|
|
584
584
|
prefix: void 0,
|
|
585
585
|
id: scriptSrc
|
|
586
586
|
}));
|
|
587
587
|
return {
|
|
588
|
-
src: new URL(
|
|
588
|
+
src: new URL(_chunkZPJ5J24Tcjs.collapseDoubleSlashes.call(void 0, `${_nullishCoalesce(prefix, () => ( ""))}${path}`), url).href
|
|
589
589
|
};
|
|
590
590
|
});
|
|
591
591
|
}
|
|
@@ -618,7 +618,7 @@ async function loadDynamicPath(input) {
|
|
|
618
618
|
resolveClientUrl,
|
|
619
619
|
container
|
|
620
620
|
} = input;
|
|
621
|
-
const rscName = _nullishCoalesce(input.rscName, () => ( (parsed.rsc ? `__remote_component_rsc_${
|
|
621
|
+
const rscName = _nullishCoalesce(input.rscName, () => ( (parsed.rsc ? `__remote_component_rsc_${_chunkZPJ5J24Tcjs.escapeString.call(void 0, url.href)}_${_chunkZPJ5J24Tcjs.escapeString.call(void 0, parsed.name)}` : void 0)));
|
|
622
622
|
const rscData = parsed.rsc ? (parsed.rsc.textContent || "").split("\n").filter(Boolean) : [];
|
|
623
623
|
const result = await loadRemoteComponent({
|
|
624
624
|
url,
|
|
@@ -630,7 +630,7 @@ async function loadDynamicPath(input) {
|
|
|
630
630
|
data: rscData,
|
|
631
631
|
nextData: parsed.nextData,
|
|
632
632
|
scripts: scriptDescriptors,
|
|
633
|
-
shared:
|
|
633
|
+
shared: _chunkZPJ5J24Tcjs.buildHostShared.call(void 0, shared, resolveClientUrl),
|
|
634
634
|
remoteShared: parsed.remoteShared,
|
|
635
635
|
container,
|
|
636
636
|
resolveClientUrl
|
|
@@ -709,4 +709,4 @@ function bindResolveClientUrl(prop, remoteSrc) {
|
|
|
709
709
|
|
|
710
710
|
|
|
711
711
|
exports.fetchWithHooks = fetchWithHooks; exports.getClientOrServerUrl = getClientOrServerUrl; exports.makeReactEmitter = makeReactEmitter; exports.makeEventEmitter = makeEventEmitter; exports.createRSCStream = createRSCStream; exports.preparePipeline = preparePipeline; exports.loadPrepared = loadPrepared; exports.createHostState = createHostState; exports.resolveNameFromSrc = resolveNameFromSrc; exports.bindResolveClientUrl = bindResolveClientUrl;
|
|
712
|
-
//# sourceMappingURL=chunk-
|
|
712
|
+
//# sourceMappingURL=chunk-T2JJIQUJ.cjs.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkJKDPK6L5cjs = require('./chunk-JKDPK6L5.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ var _chunkKP544TQHcjs = require('./chunk-KP544TQH.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkZPJ5J24Tcjs = require('./chunk-ZPJ5J24T.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkZ2SLBFQLcjs = require('./chunk-Z2SLBFQL.cjs');
|
|
@@ -25,25 +25,25 @@ async function setupRemoteScope(runtime, scripts = [], url = new URL(location.hr
|
|
|
25
25
|
const self = globalThis;
|
|
26
26
|
const ns = _chunkZ2SLBFQLcjs.getNamespace.call(void 0, );
|
|
27
27
|
const bundleName = _nullishCoalesce(bundle, () => ( "default"));
|
|
28
|
-
const existingScope =
|
|
28
|
+
const existingScope = _chunkZPJ5J24Tcjs.getScope.call(void 0, bundleName);
|
|
29
29
|
if (existingScope && existingScope.url.origin === url.origin) {
|
|
30
30
|
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
31
31
|
"WebpackRuntime",
|
|
32
32
|
`Reusing scope "${existingScope.scopedName}" (turbopackModules=${existingScope.turbopackModules.length})`
|
|
33
33
|
);
|
|
34
34
|
existingScope.resolveClientUrl = resolveClientUrl;
|
|
35
|
-
if (runtime ===
|
|
35
|
+
if (runtime === _chunkZPJ5J24Tcjs.RUNTIME_TURBOPACK) {
|
|
36
36
|
await Promise.allSettled(
|
|
37
37
|
scripts.map(
|
|
38
|
-
(script) => script.src ?
|
|
38
|
+
(script) => script.src ? _chunkJKDPK6L5cjs.loadChunkWithScope.call(void 0, existingScope, script.src) : Promise.resolve(void 0)
|
|
39
39
|
)
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
42
|
return existingScope;
|
|
43
43
|
}
|
|
44
|
-
const scope =
|
|
45
|
-
|
|
46
|
-
if (runtime ===
|
|
44
|
+
const scope = _chunkZPJ5J24Tcjs.createScope.call(void 0, bundleName, url, runtime, resolveClientUrl);
|
|
45
|
+
_chunkZPJ5J24Tcjs.registerScope.call(void 0, scope);
|
|
46
|
+
if (runtime === _chunkZPJ5J24Tcjs.RUNTIME_WEBPACK && _optionalChain([self, 'access', _ => _.__remote_webpack_require__, 'optionalAccess', _2 => _2[bundleName]])) {
|
|
47
47
|
scope.webpackRequire = self.__remote_webpack_require__[bundleName];
|
|
48
48
|
}
|
|
49
49
|
ns.bundleUrls[bundleName] = url;
|
|
@@ -57,12 +57,12 @@ async function setupRemoteScope(runtime, scripts = [], url = new URL(location.hr
|
|
|
57
57
|
self.__original_webpack_chunk_load__ = self.__webpack_chunk_load__;
|
|
58
58
|
self.__original_webpack_require__ = self.__webpack_require__;
|
|
59
59
|
}
|
|
60
|
-
self.__webpack_chunk_load__ =
|
|
60
|
+
self.__webpack_chunk_load__ = _chunkJKDPK6L5cjs.createChunkDispatcher.call(void 0, );
|
|
61
61
|
self.__webpack_require__ = createModuleDispatcher(runtime);
|
|
62
62
|
ns.dispatcherRuntime = runtime;
|
|
63
63
|
self.__webpack_require_type__ = runtime;
|
|
64
64
|
}
|
|
65
|
-
if (runtime ===
|
|
65
|
+
if (runtime === _chunkZPJ5J24Tcjs.RUNTIME_TURBOPACK && typeof self.__webpack_require__ === "function") {
|
|
66
66
|
self.__remote_webpack_require__ ??= {};
|
|
67
67
|
self.__remote_webpack_require__[bundleName] = self.__webpack_require__;
|
|
68
68
|
self.__remote_webpack_require__[bundleName].type = "turbopack";
|
|
@@ -70,11 +70,11 @@ async function setupRemoteScope(runtime, scripts = [], url = new URL(location.hr
|
|
|
70
70
|
if (_optionalChain([self, 'access', _3 => _3.__remote_webpack_require__, 'optionalAccess', _4 => _4[bundleName]]) && scope.scopedName !== bundleName) {
|
|
71
71
|
self.__remote_webpack_require__[scope.scopedName] = self.__remote_webpack_require__[bundleName];
|
|
72
72
|
}
|
|
73
|
-
if (runtime ===
|
|
73
|
+
if (runtime === _chunkZPJ5J24Tcjs.RUNTIME_TURBOPACK) {
|
|
74
74
|
const results = await Promise.allSettled(
|
|
75
75
|
scripts.map((script) => {
|
|
76
76
|
if (script.src) {
|
|
77
|
-
return
|
|
77
|
+
return _chunkJKDPK6L5cjs.loadChunkWithScope.call(void 0, scope, script.src);
|
|
78
78
|
}
|
|
79
79
|
return Promise.resolve(void 0);
|
|
80
80
|
})
|
|
@@ -93,7 +93,7 @@ async function setupRemoteScope(runtime, scripts = [], url = new URL(location.hr
|
|
|
93
93
|
function createModuleDispatcher(runtime) {
|
|
94
94
|
return (id) => {
|
|
95
95
|
const self = globalThis;
|
|
96
|
-
const { bundle, id: moduleId } = _nullishCoalesce(_optionalChain([id, 'access', _5 => _5.match, 'call', _6 => _6(
|
|
96
|
+
const { bundle, id: moduleId } = _nullishCoalesce(_optionalChain([id, 'access', _5 => _5.match, 'call', _6 => _6(_chunkZPJ5J24Tcjs.REMOTE_COMPONENT_REGEX), 'optionalAccess', _7 => _7.groups]), () => ( {
|
|
97
97
|
bundle: "default",
|
|
98
98
|
id
|
|
99
99
|
}));
|
|
@@ -104,15 +104,15 @@ function createModuleDispatcher(runtime) {
|
|
|
104
104
|
`Resolving "${id}" (bundle: "${bundleName}", runtime: "${remoteRuntime}")`
|
|
105
105
|
);
|
|
106
106
|
try {
|
|
107
|
-
if (remoteRuntime ===
|
|
108
|
-
const scope2 =
|
|
107
|
+
if (remoteRuntime === _chunkZPJ5J24Tcjs.RUNTIME_WEBPACK && bundle && moduleId) {
|
|
108
|
+
const scope2 = _chunkZPJ5J24Tcjs.getScope.call(void 0, bundle);
|
|
109
109
|
if (_optionalChain([scope2, 'optionalAccess', _13 => _13.webpackRequire]))
|
|
110
110
|
return scope2.webpackRequire(moduleId);
|
|
111
111
|
return _optionalChain([self, 'access', _14 => _14.__remote_webpack_require__, 'optionalAccess', _15 => _15[bundle], 'optionalCall', _16 => _16(moduleId)]);
|
|
112
112
|
}
|
|
113
|
-
const scope =
|
|
113
|
+
const scope = _chunkZPJ5J24Tcjs.getScope.call(void 0, bundleName);
|
|
114
114
|
if (scope) {
|
|
115
|
-
return
|
|
115
|
+
return _chunkJKDPK6L5cjs.requireModule.call(void 0, scope, _nullishCoalesce(moduleId, () => ( id)), id);
|
|
116
116
|
}
|
|
117
117
|
throw new Error(
|
|
118
118
|
`Module "${id}" not found \u2014 no scope for bundle "${bundleName}".`
|
|
@@ -149,4 +149,4 @@ function createModuleDispatcher(runtime) {
|
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
exports.setupRemoteScope = setupRemoteScope;
|
|
152
|
-
//# sourceMappingURL=chunk-
|
|
152
|
+
//# sourceMappingURL=chunk-TIS6PXSQ.cjs.map
|