remote-components 0.4.2 → 0.4.3
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-KVQI55BZ.cjs → chunk-2W7JBTID.cjs} +37 -36
- package/dist/chunk-2W7JBTID.cjs.map +1 -0
- package/dist/{chunk-TZT7DLO5.cjs → chunk-3AX5WLZD.cjs} +4 -4
- package/dist/{chunk-4O3EOST4.cjs → chunk-4AH3KXDW.cjs} +27 -27
- package/dist/{chunk-MTMDXJLM.js → chunk-4NW46ZVD.js} +410 -146
- package/dist/chunk-4NW46ZVD.js.map +1 -0
- package/dist/{chunk-SAGYPGIQ.js → chunk-55TEMSB5.js} +92 -23
- package/dist/chunk-55TEMSB5.js.map +1 -0
- package/dist/{chunk-RLI4YTBJ.cjs → chunk-7XXO2DLF.cjs} +96 -27
- package/dist/chunk-7XXO2DLF.cjs.map +1 -0
- package/dist/{chunk-RUWR74XQ.cjs → chunk-BBXVML3D.cjs} +1 -1
- package/dist/{chunk-RUWR74XQ.cjs.map → chunk-BBXVML3D.cjs.map} +1 -1
- package/dist/{chunk-42TVDI3G.cjs → chunk-C5EYU7EQ.cjs} +7 -7
- package/dist/{chunk-CC3WOSDO.js → chunk-DGZVFKSQ.js} +10 -9
- package/dist/chunk-DGZVFKSQ.js.map +1 -0
- package/dist/{chunk-AKOMV2UF.js → chunk-HL6BL5HY.js} +3 -3
- package/dist/chunk-HMB3SIVJ.cjs +973 -0
- package/dist/chunk-HMB3SIVJ.cjs.map +1 -0
- package/dist/{chunk-LOYJP2V2.js → chunk-HYVNEUIK.js} +5 -5
- package/dist/chunk-KV5J7PNM.js +152 -0
- package/dist/chunk-KV5J7PNM.js.map +1 -0
- package/dist/{chunk-LQ7VQ74E.js → chunk-LEKG4YWI.js} +2 -2
- package/dist/chunk-SECN7UAL.cjs +152 -0
- package/dist/chunk-SECN7UAL.cjs.map +1 -0
- package/dist/{chunk-S2A4TFLS.js → chunk-ULXU6XWH.js} +1 -1
- package/dist/{chunk-S2A4TFLS.js.map → chunk-ULXU6XWH.js.map} +1 -1
- package/dist/config/nextjs.cjs +7 -7
- package/dist/config/nextjs.js +2 -2
- package/dist/host/html.cjs +36 -36
- package/dist/host/html.js +10 -10
- package/dist/host/nextjs/app/client-only.cjs +17 -17
- package/dist/host/nextjs/app/client-only.js +8 -8
- package/dist/host/react.cjs +9 -9
- package/dist/host/react.js +8 -8
- package/dist/internal/config/webpack/next-client-pages-loader.cjs +151 -53
- package/dist/internal/config/webpack/next-client-pages-loader.cjs.map +1 -1
- package/dist/internal/config/webpack/next-client-pages-loader.d.ts +8 -4
- package/dist/internal/config/webpack/next-client-pages-loader.js +153 -53
- package/dist/internal/config/webpack/next-client-pages-loader.js.map +1 -1
- package/dist/internal/host/shared/pipeline.d.ts +1 -1
- package/dist/internal/host/shared/shared-broker.cjs +106 -0
- package/dist/internal/host/shared/shared-broker.cjs.map +1 -0
- package/dist/internal/host/shared/shared-broker.d.ts +35 -0
- package/dist/internal/host/shared/shared-broker.js +80 -0
- package/dist/internal/host/shared/shared-broker.js.map +1 -0
- package/dist/internal/host/shared/shared-module-resolver.cjs +13 -22
- package/dist/internal/host/shared/shared-module-resolver.cjs.map +1 -1
- package/dist/internal/host/shared/shared-module-resolver.d.ts +1 -1
- package/dist/internal/host/shared/shared-module-resolver.js +16 -22
- package/dist/internal/host/shared/shared-module-resolver.js.map +1 -1
- package/dist/internal/runtime/loaders/component-loader.cjs +2 -1
- package/dist/internal/runtime/loaders/component-loader.cjs.map +1 -1
- package/dist/internal/runtime/loaders/component-loader.d.ts +1 -1
- package/dist/internal/runtime/loaders/component-loader.js +2 -1
- package/dist/internal/runtime/loaders/component-loader.js.map +1 -1
- package/dist/internal/runtime/loaders/static-loader.d.ts +1 -1
- package/dist/internal/runtime/namespace.d.ts +1 -1
- package/dist/internal/runtime/turbopack/module.cjs +26 -4
- package/dist/internal/runtime/turbopack/module.cjs.map +1 -1
- package/dist/internal/runtime/turbopack/module.d.ts +14 -7
- package/dist/internal/runtime/turbopack/module.js +27 -5
- package/dist/internal/runtime/turbopack/module.js.map +1 -1
- package/dist/internal/runtime/turbopack/remote-scope-setup.cjs +5 -4
- package/dist/internal/runtime/turbopack/remote-scope-setup.cjs.map +1 -1
- package/dist/internal/runtime/turbopack/remote-scope-setup.js +5 -4
- package/dist/internal/runtime/turbopack/remote-scope-setup.js.map +1 -1
- package/dist/internal/runtime/turbopack/shared-modules.cjs +113 -26
- package/dist/internal/runtime/turbopack/shared-modules.cjs.map +1 -1
- package/dist/internal/runtime/turbopack/shared-modules.d.ts +3 -1
- package/dist/internal/runtime/turbopack/shared-modules.js +116 -26
- package/dist/internal/runtime/turbopack/shared-modules.js.map +1 -1
- package/dist/internal/runtime/types.cjs.map +1 -1
- package/dist/internal/runtime/types.d.ts +1 -1
- package/dist/internal/utils/logger.cjs.map +1 -1
- package/dist/internal/utils/logger.d.ts +1 -1
- package/dist/internal/utils/logger.js.map +1 -1
- package/dist/remote/html.cjs +6 -6
- package/dist/remote/html.js +2 -2
- package/dist/{script-VPOI7ARP.js → script-ISAHSV3X.js} +3 -3
- package/dist/{script-D5AD7HLV.cjs → script-YQCDUYDP.cjs} +4 -4
- package/dist/static-loader-EOJQHFZ6.cjs +11 -0
- package/dist/{static-loader-OHSAUD62.js → static-loader-Z24427MK.js} +3 -3
- package/dist/{turbopack-5N44NVPT.js → turbopack-7F757Z7V.js} +6 -6
- package/dist/{turbopack-EPXGK4EV.cjs → turbopack-DULMVTWV.cjs} +12 -12
- package/dist/{types-8b0edd78.d.ts → types-bd7be268.d.ts} +1 -5
- package/dist/{webpack-SIFRCBIN.cjs → webpack-6LXCB7WA.cjs} +14 -14
- package/dist/{webpack-KSDNIXMS.js → webpack-WGVTKJ3W.js} +5 -5
- package/package.json +1 -1
- package/dist/chunk-CC3WOSDO.js.map +0 -1
- package/dist/chunk-JJTCFQHE.cjs +0 -202
- package/dist/chunk-JJTCFQHE.cjs.map +0 -1
- package/dist/chunk-KVQI55BZ.cjs.map +0 -1
- package/dist/chunk-MKO52FRO.js +0 -202
- package/dist/chunk-MKO52FRO.js.map +0 -1
- package/dist/chunk-MQ2BBSL4.cjs +0 -709
- package/dist/chunk-MQ2BBSL4.cjs.map +0 -1
- package/dist/chunk-MTMDXJLM.js.map +0 -1
- package/dist/chunk-RLI4YTBJ.cjs.map +0 -1
- package/dist/chunk-SAGYPGIQ.js.map +0 -1
- package/dist/static-loader-UDIXK5MV.cjs +0 -11
- /package/dist/{chunk-TZT7DLO5.cjs.map → chunk-3AX5WLZD.cjs.map} +0 -0
- /package/dist/{chunk-4O3EOST4.cjs.map → chunk-4AH3KXDW.cjs.map} +0 -0
- /package/dist/{chunk-42TVDI3G.cjs.map → chunk-C5EYU7EQ.cjs.map} +0 -0
- /package/dist/{chunk-AKOMV2UF.js.map → chunk-HL6BL5HY.js.map} +0 -0
- /package/dist/{chunk-LOYJP2V2.js.map → chunk-HYVNEUIK.js.map} +0 -0
- /package/dist/{chunk-LQ7VQ74E.js.map → chunk-LEKG4YWI.js.map} +0 -0
- /package/dist/{script-VPOI7ARP.js.map → script-ISAHSV3X.js.map} +0 -0
- /package/dist/{script-D5AD7HLV.cjs.map → script-YQCDUYDP.cjs.map} +0 -0
- /package/dist/{static-loader-UDIXK5MV.cjs.map → static-loader-EOJQHFZ6.cjs.map} +0 -0
- /package/dist/{static-loader-OHSAUD62.js.map → static-loader-Z24427MK.js.map} +0 -0
- /package/dist/{turbopack-5N44NVPT.js.map → turbopack-7F757Z7V.js.map} +0 -0
- /package/dist/{turbopack-EPXGK4EV.cjs.map → turbopack-DULMVTWV.cjs.map} +0 -0
- /package/dist/{webpack-SIFRCBIN.cjs.map → webpack-6LXCB7WA.cjs.map} +0 -0
- /package/dist/{webpack-KSDNIXMS.js.map → webpack-WGVTKJ3W.js.map} +0 -0
|
@@ -0,0 +1,973 @@
|
|
|
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
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk7XXO2DLFcjs = require('./chunk-7XXO2DLF.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkZ2SLBFQLcjs = require('./chunk-Z2SLBFQL.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var _chunkBBXVML3Dcjs = require('./chunk-BBXVML3D.cjs');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunkKE7QPAQ4cjs = require('./chunk-KE7QPAQ4.cjs');
|
|
24
|
+
|
|
25
|
+
// src/config/webpack/apply-shared-modules.ts
|
|
26
|
+
var DEDUPLICATION_SKIPPED = "shared module deduplication skipped. The remote may load its own copy of shared dependencies.";
|
|
27
|
+
function applySharedModules(bundle, resolve) {
|
|
28
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
29
|
+
"SharedModules",
|
|
30
|
+
`applySharedModules called for bundle: "${bundle}"`
|
|
31
|
+
);
|
|
32
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
33
|
+
"SharedModules",
|
|
34
|
+
`Shared modules to resolve: ${Object.keys(resolve)}`
|
|
35
|
+
);
|
|
36
|
+
const self = globalThis;
|
|
37
|
+
const scope = _chunk7XXO2DLFcjs.getScope.call(void 0, bundle);
|
|
38
|
+
const webpackBundle = _nullishCoalesce(_optionalChain([scope, 'optionalAccess', _ => _.webpackRequire]), () => ( _optionalChain([self, 'access', _2 => _2.__remote_webpack_require__, 'optionalAccess', _3 => _3[bundle]])));
|
|
39
|
+
if (webpackBundle) {
|
|
40
|
+
const modulePaths = Object.keys(
|
|
41
|
+
_nullishCoalesce(_nullishCoalesce(_optionalChain([self, 'access', _4 => _4.__remote_webpack_module_map__, 'optionalAccess', _5 => _5[bundle]]), () => ( webpackBundle.m)), () => ( {}))
|
|
42
|
+
);
|
|
43
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
44
|
+
"SharedModules",
|
|
45
|
+
`Available module paths for bundle "${bundle}": ${modulePaths}`
|
|
46
|
+
);
|
|
47
|
+
for (const [key, value] of Object.entries(resolve)) {
|
|
48
|
+
const exactIds = modulePaths.filter((p) => p === key);
|
|
49
|
+
const ids = exactIds.length > 0 ? exactIds : modulePaths.filter((p) => p.includes(key));
|
|
50
|
+
if (ids.length === 0) {
|
|
51
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
52
|
+
"SharedModules",
|
|
53
|
+
`No matching module path found for shared module "${key}"`
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
for (const id of ids) {
|
|
57
|
+
if (webpackBundle.m) {
|
|
58
|
+
const resolvedId = _optionalChain([self, 'access', _6 => _6.__remote_webpack_module_map__, 'optionalAccess', _7 => _7[bundle], 'optionalAccess', _8 => _8[id]]) ? `${self.__remote_webpack_module_map__[bundle][id]}` : id;
|
|
59
|
+
if (resolvedId !== id) {
|
|
60
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
61
|
+
"SharedModules",
|
|
62
|
+
`Mapped module id: "${id}" -> "${resolvedId}"`
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
webpackBundle.m[resolvedId] = (module) => {
|
|
66
|
+
module.exports = value;
|
|
67
|
+
};
|
|
68
|
+
} else {
|
|
69
|
+
_chunkBBXVML3Dcjs.logWarn.call(void 0,
|
|
70
|
+
"SharedModules",
|
|
71
|
+
`webpackBundle.m is not available for bundle "${bundle}" \u2014 ${DEDUPLICATION_SKIPPED}`
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
} else {
|
|
77
|
+
_chunkBBXVML3Dcjs.logWarn.call(void 0,
|
|
78
|
+
"SharedModules",
|
|
79
|
+
`No webpack require found for bundle "${bundle}" \u2014 ${DEDUPLICATION_SKIPPED}`
|
|
80
|
+
);
|
|
81
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
82
|
+
"SharedModules",
|
|
83
|
+
`Available bundles: ${Object.keys(_nullishCoalesce(self.__remote_webpack_require__, () => ( {})))}`
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// src/runtime/turbopack/patterns.ts
|
|
89
|
+
var MODULE_ID_PATTERN = '"[^"]+"|[0-9]+';
|
|
90
|
+
function stripQuotes(value) {
|
|
91
|
+
if (value.startsWith('"') && value.endsWith('"')) {
|
|
92
|
+
return value.slice(1, -1);
|
|
93
|
+
}
|
|
94
|
+
return value;
|
|
95
|
+
}
|
|
96
|
+
function extractGroup(re, input, group) {
|
|
97
|
+
const raw = _optionalChain([re, 'access', _9 => _9.exec, 'call', _10 => _10(input), 'optionalAccess', _11 => _11.groups, 'optionalAccess', _12 => _12[group]]);
|
|
98
|
+
return raw ? stripQuotes(raw) : void 0;
|
|
99
|
+
}
|
|
100
|
+
var REMOTE_SHARED_MARKER_RE = /(?:self|[a-z])\.TURBOPACK_REMOTE_SHARED/;
|
|
101
|
+
var REMOTE_SHARED_ASSIGNMENT_RE = new RegExp(
|
|
102
|
+
`\\.TURBOPACK_REMOTE_SHARED\\s*=\\s*await (?:__turbopack_context__|[a-z])\\.A\\((?<sharedModuleId>${MODULE_ID_PATTERN})\\)`
|
|
103
|
+
);
|
|
104
|
+
var ASYNC_MODULE_LOADER_RE = new RegExp(
|
|
105
|
+
`(?:__turbopack_context__|[a-z])\\.A\\((?<asyncSharedModuleId>${MODULE_ID_PATTERN})\\)`
|
|
106
|
+
);
|
|
107
|
+
var ASYNC_MODULE_CALLBACK_RE = new RegExp(
|
|
108
|
+
`(?:parentImport|[a-z])\\((?<sharedModuleId>${MODULE_ID_PATTERN})\\)`
|
|
109
|
+
);
|
|
110
|
+
var TURBOPACK_GLOBAL_RE = /(?:globalThis|self)\s*(?:\.TURBOPACK|\[\s*["']TURBOPACK["']\s*\])/;
|
|
111
|
+
|
|
112
|
+
// src/runtime/turbopack/chunk-loader.ts
|
|
113
|
+
function loadChunkWithScope(scope, chunkId) {
|
|
114
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
115
|
+
"ChunkLoader",
|
|
116
|
+
`loadChunkWithScope: "${chunkId}" (scope: "${scope.scopedName}")`
|
|
117
|
+
);
|
|
118
|
+
const self = globalThis;
|
|
119
|
+
const ns = _chunkZ2SLBFQLcjs.getNamespace.call(void 0, );
|
|
120
|
+
const { bundle, path, prefix } = _chunk7XXO2DLFcjs.parseRemoteId.call(void 0, chunkId);
|
|
121
|
+
const remoteRuntime = _optionalChain([self, 'access', _13 => _13.__remote_webpack_require__, 'optionalAccess', _14 => _14[_nullishCoalesce(bundle, () => ( "default"))]]) ? _optionalChain([self, 'access', _15 => _15.__remote_webpack_require__, 'access', _16 => _16[_nullishCoalesce(bundle, () => ( "default"))], 'optionalAccess', _17 => _17.type]) || "webpack" : scope.runtime;
|
|
122
|
+
if (remoteRuntime === _chunk7XXO2DLFcjs.RUNTIME_WEBPACK) {
|
|
123
|
+
return Promise.resolve(void 0);
|
|
124
|
+
}
|
|
125
|
+
const rawPath = path ? _chunk7XXO2DLFcjs.collapseDoubleSlashes.call(void 0, `${prefix}${path}`) : "/";
|
|
126
|
+
const url = new URL(rawPath, scope.url).href;
|
|
127
|
+
if (url.endsWith(".css")) {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
if (ns.chunkCache[url]) {
|
|
131
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0, "ChunkLoader", `Cache hit for "${chunkId}" (url="${url}")`);
|
|
132
|
+
return ns.chunkCache[url];
|
|
133
|
+
}
|
|
134
|
+
const resolvedUrl = _nullishCoalesce(_optionalChain([scope, 'access', _18 => _18.resolveClientUrl, 'optionalCall', _19 => _19(url)]), () => ( url));
|
|
135
|
+
if (resolvedUrl !== url) {
|
|
136
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0, "ChunkLoader", `Proxied chunk URL: "${url}" \u2192 "${resolvedUrl}"`);
|
|
137
|
+
}
|
|
138
|
+
ns.chunkCache[url] = new Promise((resolve, reject) => {
|
|
139
|
+
fetch(resolvedUrl).then((res) => res.text()).then((code) => {
|
|
140
|
+
const hasTurbopack = TURBOPACK_GLOBAL_RE.test(code);
|
|
141
|
+
if (hasTurbopack) {
|
|
142
|
+
return handleTurbopackChunk(code, scope, url);
|
|
143
|
+
}
|
|
144
|
+
}).then(resolve).catch((error) => {
|
|
145
|
+
const isProxied = _chunkKE7QPAQ4cjs.isProxiedUrl.call(void 0, resolvedUrl);
|
|
146
|
+
if (isProxied) {
|
|
147
|
+
reject(_chunkBBXVML3Dcjs.failedProxiedAssetError.call(void 0, "chunk", url, resolvedUrl));
|
|
148
|
+
} else {
|
|
149
|
+
_chunkBBXVML3Dcjs.warnCrossOriginFetchError.call(void 0, "ChunkLoader", url);
|
|
150
|
+
reject(error);
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
return ns.chunkCache[url];
|
|
155
|
+
}
|
|
156
|
+
function createChunkDispatcher() {
|
|
157
|
+
return function __chunk_dispatcher__(chunkId, scriptBundle) {
|
|
158
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0, "ChunkDispatcher", `Dispatching chunk: "${chunkId}"`);
|
|
159
|
+
const { bundle } = _chunk7XXO2DLFcjs.parseRemoteId.call(void 0, chunkId);
|
|
160
|
+
const bundleName = bundle || scriptBundle || "default";
|
|
161
|
+
const scope = _chunk7XXO2DLFcjs.getScope.call(void 0, bundleName);
|
|
162
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
163
|
+
"ChunkDispatcher",
|
|
164
|
+
`Scope resolution: bundle="${bundleName}", scope=${_nullishCoalesce(_optionalChain([scope, 'optionalAccess', _20 => _20.scopedName]), () => ( "null"))}`
|
|
165
|
+
);
|
|
166
|
+
if (!scope) {
|
|
167
|
+
_chunkBBXVML3Dcjs.logWarn.call(void 0, "ChunkDispatcher", `No scope found for bundle "${bundleName}"`);
|
|
168
|
+
return Promise.resolve(void 0);
|
|
169
|
+
}
|
|
170
|
+
return loadChunkWithScope(scope, chunkId);
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
async function handleTurbopackChunk(code, scope, url) {
|
|
174
|
+
if (/importScripts\(\.\.\.self.TURBOPACK_NEXT_CHUNK_URLS/.test(code)) {
|
|
175
|
+
const preloadLinks = document.querySelectorAll(
|
|
176
|
+
`link[rel="preload"][href="${new URL(url).pathname}"]`
|
|
177
|
+
);
|
|
178
|
+
preloadLinks.forEach((preloadLink) => preloadLink.remove());
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
const self = globalThis;
|
|
182
|
+
const { globalKey } = scope;
|
|
183
|
+
const transformedCode = code.replace(
|
|
184
|
+
/globalThis\[\s*["']TURBOPACK["']\s*\]/g,
|
|
185
|
+
`globalThis["TURBOPACK_${globalKey}"]`
|
|
186
|
+
).replace(
|
|
187
|
+
/self\[\s*["']TURBOPACK["']\s*\]/g,
|
|
188
|
+
`self["TURBOPACK_${globalKey}"]`
|
|
189
|
+
).replace(/globalThis\.TURBOPACK/g, `globalThis.TURBOPACK_${globalKey}`).replace(/self\.TURBOPACK(?!_)/g, `self.TURBOPACK_${globalKey}`).replace(
|
|
190
|
+
/TURBOPACK_WORKER_LOCATION/g,
|
|
191
|
+
`TURBOPACK_WORKER_LOCATION_${globalKey}`
|
|
192
|
+
).replace(
|
|
193
|
+
/TURBOPACK_NEXT_CHUNK_URLS/g,
|
|
194
|
+
`TURBOPACK_NEXT_CHUNK_URLS_${globalKey}`
|
|
195
|
+
).replace(/TURBOPACK_CHUNK_LISTS/g, `TURBOPACK_CHUNK_LISTS_${globalKey}`).replace(
|
|
196
|
+
/TURBOPACK_CHUNK_UPDATE_LISTENERS/g,
|
|
197
|
+
`TURBOPACK_CHUNK_UPDATE_LISTENERS_${globalKey}`
|
|
198
|
+
).replace(/__next_require__/g, `__${globalKey}_next_require__`).replace(
|
|
199
|
+
/\/\/# sourceMappingURL=(?<name>.+)(?<optional>\._)?\.js\.map/g,
|
|
200
|
+
`//# sourceMappingURL=${new URL(".", new URL(url, scope.url)).href}$1$2.js.map`
|
|
201
|
+
);
|
|
202
|
+
if (!self[`TURBOPACK_${globalKey}`]) {
|
|
203
|
+
const wrapPush = (target) => {
|
|
204
|
+
const originalPush = target.push;
|
|
205
|
+
if (typeof originalPush !== "function")
|
|
206
|
+
return target;
|
|
207
|
+
target.push = (...items) => {
|
|
208
|
+
for (const item of items) {
|
|
209
|
+
if (Array.isArray(item)) {
|
|
210
|
+
for (const entry of item) {
|
|
211
|
+
scope.turbopackModules.push(entry);
|
|
212
|
+
}
|
|
213
|
+
} else {
|
|
214
|
+
scope.turbopackModules.push(item);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return originalPush.apply(target, items);
|
|
218
|
+
};
|
|
219
|
+
return target;
|
|
220
|
+
};
|
|
221
|
+
const globalProp = `TURBOPACK_${globalKey}`;
|
|
222
|
+
let currentValue = wrapPush([]);
|
|
223
|
+
Object.defineProperty(self, globalProp, {
|
|
224
|
+
get() {
|
|
225
|
+
return currentValue;
|
|
226
|
+
},
|
|
227
|
+
set(newValue) {
|
|
228
|
+
if (newValue && typeof newValue === "object") {
|
|
229
|
+
wrapPush(newValue);
|
|
230
|
+
}
|
|
231
|
+
currentValue = newValue;
|
|
232
|
+
},
|
|
233
|
+
configurable: true,
|
|
234
|
+
enumerable: true
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
await new Promise((scriptResolve, scriptReject) => {
|
|
238
|
+
const blob = new Blob([transformedCode], {
|
|
239
|
+
type: "application/javascript; charset=UTF-8"
|
|
240
|
+
});
|
|
241
|
+
const scriptUrl = URL.createObjectURL(blob);
|
|
242
|
+
const script = document.createElement("script");
|
|
243
|
+
script.setAttribute("data-turbopack-src", url);
|
|
244
|
+
script.src = scriptUrl;
|
|
245
|
+
script.async = true;
|
|
246
|
+
script.onload = () => {
|
|
247
|
+
URL.revokeObjectURL(scriptUrl);
|
|
248
|
+
scriptResolve(void 0);
|
|
249
|
+
script.remove();
|
|
250
|
+
};
|
|
251
|
+
script.onerror = () => {
|
|
252
|
+
URL.revokeObjectURL(scriptUrl);
|
|
253
|
+
scriptReject(
|
|
254
|
+
new (0, _chunkBBXVML3Dcjs.RemoteComponentsError)(
|
|
255
|
+
`Failed to load <script src="${script.src}"> for Remote Component. Check the URL is correct.`
|
|
256
|
+
)
|
|
257
|
+
);
|
|
258
|
+
script.remove();
|
|
259
|
+
};
|
|
260
|
+
document.head.appendChild(script);
|
|
261
|
+
});
|
|
262
|
+
const chunkLists = self[`TURBOPACK_${globalKey}_CHUNK_LISTS`];
|
|
263
|
+
const loadChunkPromises = [];
|
|
264
|
+
while (_optionalChain([chunkLists, 'optionalAccess', _21 => _21.length])) {
|
|
265
|
+
const { chunks } = _nullishCoalesce(chunkLists.shift(), () => ( { chunks: [] }));
|
|
266
|
+
if (chunks.length > 0) {
|
|
267
|
+
for (const id of chunks) {
|
|
268
|
+
const baseUrl = url.slice(0, url.indexOf("/_next"));
|
|
269
|
+
const chunkLoadResult = loadChunkWithScope(
|
|
270
|
+
scope,
|
|
271
|
+
_chunk7XXO2DLFcjs.formatRemoteId.call(void 0, scope, `${baseUrl}/_next/${id}`)
|
|
272
|
+
);
|
|
273
|
+
if (chunkLoadResult) {
|
|
274
|
+
loadChunkPromises.push(chunkLoadResult);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
if (loadChunkPromises.length > 0) {
|
|
280
|
+
await Promise.all(loadChunkPromises);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
// src/runtime/turbopack/module.ts
|
|
285
|
+
function requireModule(scope, moduleId, fullId) {
|
|
286
|
+
const idStr = String(moduleId);
|
|
287
|
+
const sharedModule = getSharedModule(scope, moduleId);
|
|
288
|
+
if (sharedModule !== null) {
|
|
289
|
+
if (scope.moduleCache[idStr]) {
|
|
290
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
291
|
+
"TurbopackModule",
|
|
292
|
+
`Shared module "${idStr}" resolved from host and overrides a cached remote copy in "${scope.scopedName}"`
|
|
293
|
+
);
|
|
294
|
+
}
|
|
295
|
+
return sharedModule;
|
|
296
|
+
}
|
|
297
|
+
if (scope.moduleCache[idStr])
|
|
298
|
+
return scope.moduleCache[idStr];
|
|
299
|
+
return handleTurbopackModule(
|
|
300
|
+
scope,
|
|
301
|
+
idStr,
|
|
302
|
+
_nullishCoalesce(fullId, () => ( _chunk7XXO2DLFcjs.formatRemoteId.call(void 0, scope, idStr)))
|
|
303
|
+
);
|
|
304
|
+
}
|
|
305
|
+
function handleTurbopackModule(scope, moduleId, id) {
|
|
306
|
+
if (scope.moduleCache[moduleId]) {
|
|
307
|
+
return scope.moduleCache[moduleId];
|
|
308
|
+
}
|
|
309
|
+
const modules = getTurbopackModules(scope);
|
|
310
|
+
if (!modules) {
|
|
311
|
+
_chunkBBXVML3Dcjs.logError.call(void 0,
|
|
312
|
+
"TurbopackModule",
|
|
313
|
+
`TURBOPACK_${scope.globalKey} is undefined (scope: "${scope.scopedName}")`
|
|
314
|
+
);
|
|
315
|
+
}
|
|
316
|
+
const moduleInit = findModuleInit(modules, moduleId);
|
|
317
|
+
const exports = {};
|
|
318
|
+
const moduleExports = {
|
|
319
|
+
exports,
|
|
320
|
+
hot: createNoopHotModule()
|
|
321
|
+
};
|
|
322
|
+
if (typeof moduleInit !== "function") {
|
|
323
|
+
throw new Error(
|
|
324
|
+
`Module ${id} not found in bundle ${scope.name} with id ${moduleId}`
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
scope.moduleCache[moduleId] = moduleExports.exports;
|
|
328
|
+
moduleInit(
|
|
329
|
+
createTurbopackContext(
|
|
330
|
+
scope,
|
|
331
|
+
exports,
|
|
332
|
+
moduleExports,
|
|
333
|
+
modules,
|
|
334
|
+
moduleInit,
|
|
335
|
+
id
|
|
336
|
+
),
|
|
337
|
+
moduleExports,
|
|
338
|
+
exports
|
|
339
|
+
);
|
|
340
|
+
if (scope.moduleCache[moduleId] !== moduleExports.exports) {
|
|
341
|
+
scope.moduleCache[moduleId] = moduleExports.exports;
|
|
342
|
+
}
|
|
343
|
+
return moduleExports.exports;
|
|
344
|
+
}
|
|
345
|
+
function findModuleInit(modules, moduleId) {
|
|
346
|
+
if (!modules || typeof modules !== "object")
|
|
347
|
+
return;
|
|
348
|
+
if (!Array.isArray(modules)) {
|
|
349
|
+
const key = moduleId in modules ? moduleId : Object.keys(modules).find((k) => k.startsWith(moduleId));
|
|
350
|
+
return key !== void 0 ? modules[key] : void 0;
|
|
351
|
+
}
|
|
352
|
+
const flat = modules.flat();
|
|
353
|
+
let idx = flat.findIndex((e) => String(e) === String(moduleId));
|
|
354
|
+
if (idx < 0) {
|
|
355
|
+
idx = flat.findIndex(
|
|
356
|
+
(e) => typeof e === "string" && e.startsWith(moduleId)
|
|
357
|
+
);
|
|
358
|
+
}
|
|
359
|
+
if (idx >= 0) {
|
|
360
|
+
return flat.slice(idx + 1).find((e) => typeof e === "function");
|
|
361
|
+
}
|
|
362
|
+
for (const entry of flat) {
|
|
363
|
+
if (!entry || typeof entry !== "object")
|
|
364
|
+
continue;
|
|
365
|
+
const obj = entry;
|
|
366
|
+
if (moduleId in obj)
|
|
367
|
+
return obj[moduleId];
|
|
368
|
+
const prefixKey = Object.keys(obj).find((k) => k.startsWith(moduleId));
|
|
369
|
+
if (prefixKey)
|
|
370
|
+
return obj[prefixKey];
|
|
371
|
+
}
|
|
372
|
+
return void 0;
|
|
373
|
+
}
|
|
374
|
+
function createTurbopackContext(scope, exports, moduleExports, modules, moduleInit, id) {
|
|
375
|
+
const scopedRequire = (moduleId) => requireModule(scope, moduleId, _chunk7XXO2DLFcjs.formatRemoteId.call(void 0, scope, String(moduleId)));
|
|
376
|
+
return {
|
|
377
|
+
// HMR not implemented for Remote Components
|
|
378
|
+
k: {
|
|
379
|
+
register() {
|
|
380
|
+
},
|
|
381
|
+
registerExports() {
|
|
382
|
+
},
|
|
383
|
+
signature() {
|
|
384
|
+
return (fn) => fn;
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
// ESM exports setup
|
|
388
|
+
s(bindings, esmId) {
|
|
389
|
+
let mod = exports;
|
|
390
|
+
if (typeof esmId === "string" || typeof esmId === "number") {
|
|
391
|
+
if (!scope.moduleCache[esmId]) {
|
|
392
|
+
scope.moduleCache[esmId] = {};
|
|
393
|
+
}
|
|
394
|
+
mod = scope.moduleCache[esmId];
|
|
395
|
+
}
|
|
396
|
+
Object.defineProperty(mod, "__esModule", { value: true });
|
|
397
|
+
if (Array.isArray(bindings)) {
|
|
398
|
+
let i = 0;
|
|
399
|
+
while (i < bindings.length) {
|
|
400
|
+
const propName = bindings[i++];
|
|
401
|
+
const tagOrFunc = bindings[i++];
|
|
402
|
+
if (typeof tagOrFunc === "number") {
|
|
403
|
+
Object.defineProperty(mod, propName, {
|
|
404
|
+
value: bindings[i++],
|
|
405
|
+
enumerable: true,
|
|
406
|
+
writable: false
|
|
407
|
+
});
|
|
408
|
+
} else {
|
|
409
|
+
const getterFn = tagOrFunc;
|
|
410
|
+
if (typeof bindings[i] === "function") {
|
|
411
|
+
const setterFn = bindings[i++];
|
|
412
|
+
Object.defineProperty(mod, propName, {
|
|
413
|
+
get: getterFn,
|
|
414
|
+
set: setterFn,
|
|
415
|
+
enumerable: true
|
|
416
|
+
});
|
|
417
|
+
} else {
|
|
418
|
+
Object.defineProperty(mod, propName, {
|
|
419
|
+
get: getterFn,
|
|
420
|
+
enumerable: true
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
// import — resolves directly via scope, no global dispatch
|
|
428
|
+
i(importId) {
|
|
429
|
+
let mod;
|
|
430
|
+
if (typeof importId === "string") {
|
|
431
|
+
const { exportSource, exportName } = _nullishCoalesce(_optionalChain([/\s+<export (?<exportSource>.*?) as (?<exportName>.*?)>$/, 'access', _22 => _22.exec, 'call', _23 => _23(
|
|
432
|
+
importId
|
|
433
|
+
), 'optionalAccess', _24 => _24.groups]), () => ( {}));
|
|
434
|
+
const normalizedId = importId.replace(
|
|
435
|
+
/\s+<export(?<specifier>.*)>$/,
|
|
436
|
+
""
|
|
437
|
+
);
|
|
438
|
+
mod = scopedRequire(normalizedId);
|
|
439
|
+
if (mod && exportSource && exportName && (exportSource === "*" || typeof mod[exportSource] !== "undefined") && typeof mod[exportName] === "undefined") {
|
|
440
|
+
if (exportSource === "*") {
|
|
441
|
+
mod[exportName] = mod;
|
|
442
|
+
} else {
|
|
443
|
+
mod[exportName] = mod[exportSource];
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
} else {
|
|
447
|
+
mod = scopedRequire(importId);
|
|
448
|
+
}
|
|
449
|
+
if (typeof mod !== "object" || mod === null) {
|
|
450
|
+
mod = { default: mod };
|
|
451
|
+
} else if (!("default" in mod) && // ES module namespace objects have a null prototype, so calling
|
|
452
|
+
// mod.toString() directly throws. Use Object.prototype.toString
|
|
453
|
+
// to safely detect them.
|
|
454
|
+
Object.prototype.toString.call(mod) !== "[object Module]") {
|
|
455
|
+
try {
|
|
456
|
+
mod.default = mod;
|
|
457
|
+
} catch (e2) {
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
return mod;
|
|
461
|
+
},
|
|
462
|
+
// require — resolves directly via scope
|
|
463
|
+
r(requireId) {
|
|
464
|
+
return scopedRequire(requireId);
|
|
465
|
+
},
|
|
466
|
+
// value exports
|
|
467
|
+
v(value) {
|
|
468
|
+
if (typeof value === "function") {
|
|
469
|
+
exports.default = value((vid) => scopedRequire(vid));
|
|
470
|
+
} else {
|
|
471
|
+
moduleExports.exports = value;
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
// async module initializer
|
|
475
|
+
async a(mod) {
|
|
476
|
+
let result;
|
|
477
|
+
await mod(
|
|
478
|
+
() => {
|
|
479
|
+
},
|
|
480
|
+
(value) => result = value
|
|
481
|
+
);
|
|
482
|
+
exports.default = result;
|
|
483
|
+
},
|
|
484
|
+
// async module loader — resolves directly via scope
|
|
485
|
+
async A(Aid) {
|
|
486
|
+
const mod = scopedRequire(Aid);
|
|
487
|
+
return mod.default((parentId) => scopedRequire(parentId));
|
|
488
|
+
},
|
|
489
|
+
// dynamic import tracking — no-op for remote components
|
|
490
|
+
j() {
|
|
491
|
+
},
|
|
492
|
+
// chunk loader — loads directly via scope, no global dispatch
|
|
493
|
+
l(url) {
|
|
494
|
+
const flatModules = Array.isArray(modules) ? modules : [];
|
|
495
|
+
const moduleInitIndex = flatModules.indexOf(moduleInit);
|
|
496
|
+
if (moduleInitIndex !== -1) {
|
|
497
|
+
const scriptIndex = flatModules.slice(0, moduleInitIndex).findLastIndex((bundleEntry) => bundleEntry instanceof Element);
|
|
498
|
+
if (scriptIndex !== -1) {
|
|
499
|
+
const script = flatModules[scriptIndex];
|
|
500
|
+
const scriptSrc = script.getAttribute("data-turbopack-src") || "";
|
|
501
|
+
const nextIndex = scriptSrc.indexOf("/_next");
|
|
502
|
+
const baseUrl = nextIndex !== -1 ? scriptSrc.slice(0, nextIndex) : "";
|
|
503
|
+
const chunkUrl = `${baseUrl}/_next/${url}`;
|
|
504
|
+
return loadChunkWithScope(scope, _chunk7XXO2DLFcjs.formatRemoteId.call(void 0, scope, chunkUrl));
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
throw new Error(
|
|
508
|
+
`Failed to load Turbopack chunk "${url}" for module "${id}". Check the URL is correct.`
|
|
509
|
+
);
|
|
510
|
+
},
|
|
511
|
+
// globalThis substitute shared across all modules in this scope
|
|
512
|
+
g: scope.moduleGlobal,
|
|
513
|
+
m: moduleExports,
|
|
514
|
+
e: exports
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
function createNoopHotModule() {
|
|
518
|
+
return {
|
|
519
|
+
active: true,
|
|
520
|
+
data: {},
|
|
521
|
+
accept() {
|
|
522
|
+
},
|
|
523
|
+
dispose() {
|
|
524
|
+
},
|
|
525
|
+
invalidate() {
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
// src/runtime/turbopack/shared-modules.ts
|
|
531
|
+
var DEDUPLICATION_WARNING = "This module will not be deduplicated \u2014 the remote may load its own copy, which can cause duplicate instance errors (e.g. invalid hook calls if React is loaded twice).";
|
|
532
|
+
var INLINE_REMOTE_SHARED_RE = /["']?__remote_shared_module_(?<specifier>[^"':]+)["']?\s*:\s*\(\)\s*=>\s*(?:__turbopack_context__|[a-z])\.A\((?<asyncSharedModuleId>"[^"]+"|[0-9]+)\)/g;
|
|
533
|
+
function getTurbopackModules(scope) {
|
|
534
|
+
if (scope.turbopackModules.length > 0) {
|
|
535
|
+
return scope.turbopackModules;
|
|
536
|
+
}
|
|
537
|
+
const self = globalThis;
|
|
538
|
+
const raw = self[`TURBOPACK_${scope.globalKey}`];
|
|
539
|
+
if (!raw)
|
|
540
|
+
return void 0;
|
|
541
|
+
if (Array.isArray(raw)) {
|
|
542
|
+
return raw.flat();
|
|
543
|
+
}
|
|
544
|
+
return Object.entries(raw).flat();
|
|
545
|
+
}
|
|
546
|
+
async function initializeSharedModules(scope, hostShared = {}, remoteShared = {}) {
|
|
547
|
+
const allModules = getTurbopackModules(scope);
|
|
548
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
549
|
+
"SharedModules",
|
|
550
|
+
`initializeSharedModules: scope="${scope.scopedName}", allModules=${allModules ? allModules.length : "null"}, hostShared=[${Object.keys(hostShared).join(", ")}], remoteShared=${JSON.stringify(remoteShared)}`
|
|
551
|
+
);
|
|
552
|
+
let sharedModuleInitializer = null;
|
|
553
|
+
if (allModules) {
|
|
554
|
+
const sharedModuleInitializerIndex = allModules.findIndex((idOrFunc) => {
|
|
555
|
+
if (typeof idOrFunc !== "function") {
|
|
556
|
+
return false;
|
|
557
|
+
}
|
|
558
|
+
const funcCode = idOrFunc.toString();
|
|
559
|
+
return REMOTE_SHARED_MARKER_RE.test(funcCode);
|
|
560
|
+
});
|
|
561
|
+
if (sharedModuleInitializerIndex > 0) {
|
|
562
|
+
const sharedModuleInitializerCode = allModules[sharedModuleInitializerIndex].toString();
|
|
563
|
+
const sharedModuleInitializerId = allModules[sharedModuleInitializerIndex - 1];
|
|
564
|
+
const sharedModuleId = extractGroup(
|
|
565
|
+
REMOTE_SHARED_ASSIGNMENT_RE,
|
|
566
|
+
sharedModuleInitializerCode,
|
|
567
|
+
"sharedModuleId"
|
|
568
|
+
);
|
|
569
|
+
if (sharedModuleId) {
|
|
570
|
+
const { default: sharedModuleInitializerInstance } = handleTurbopackModule(
|
|
571
|
+
scope,
|
|
572
|
+
sharedModuleId,
|
|
573
|
+
_chunk7XXO2DLFcjs.formatRemoteId.call(void 0, scope, String(sharedModuleInitializerId))
|
|
574
|
+
);
|
|
575
|
+
sharedModuleInitializer = sharedModuleInitializerInstance;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
if (sharedModuleInitializer) {
|
|
579
|
+
const { shared } = await sharedModuleInitializer;
|
|
580
|
+
const sharedModuleIds = extractSharedModuleIds(shared, scope);
|
|
581
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
582
|
+
"SharedModules",
|
|
583
|
+
`Resolved shared modules for scope="${scope.scopedName}": ${JSON.stringify(sharedModuleIds)}`
|
|
584
|
+
);
|
|
585
|
+
return installSharedModules(
|
|
586
|
+
scope,
|
|
587
|
+
hostShared,
|
|
588
|
+
sharedModuleIds,
|
|
589
|
+
(id, module) => `Host shared module "${module}" not found for ID ${id}. ${DEDUPLICATION_WARNING}`
|
|
590
|
+
);
|
|
591
|
+
}
|
|
592
|
+
const inlineSharedModuleIds = extractInlineSharedModuleIds(
|
|
593
|
+
allModules,
|
|
594
|
+
scope
|
|
595
|
+
);
|
|
596
|
+
if (Object.keys(inlineSharedModuleIds).length > 0) {
|
|
597
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
598
|
+
"SharedModules",
|
|
599
|
+
`Resolved inline shared modules for scope="${scope.scopedName}": ${JSON.stringify(inlineSharedModuleIds)}`
|
|
600
|
+
);
|
|
601
|
+
return installSharedModules(
|
|
602
|
+
scope,
|
|
603
|
+
hostShared,
|
|
604
|
+
inlineSharedModuleIds,
|
|
605
|
+
(id, module) => `Host shared module "${module}" not found for inline ID ${id}. ${DEDUPLICATION_WARNING}`
|
|
606
|
+
);
|
|
607
|
+
}
|
|
608
|
+
_chunkBBXVML3Dcjs.logWarn.call(void 0,
|
|
609
|
+
"SharedModules",
|
|
610
|
+
`No shared module initializer found in bundle for scope="${scope.scopedName}" \u2014 falling back to remoteShared mapping`
|
|
611
|
+
);
|
|
612
|
+
} else {
|
|
613
|
+
_chunkBBXVML3Dcjs.logWarn.call(void 0,
|
|
614
|
+
"SharedModules",
|
|
615
|
+
`No TURBOPACK modules found for scope="${scope.scopedName}" (TURBOPACK_${scope.globalKey} is empty)`
|
|
616
|
+
);
|
|
617
|
+
}
|
|
618
|
+
const normalizedRemoteShared = Object.fromEntries(
|
|
619
|
+
Object.entries(remoteShared).map(([id, module]) => [
|
|
620
|
+
id.replace("[app-ssr]", "[app-client]"),
|
|
621
|
+
module
|
|
622
|
+
])
|
|
623
|
+
);
|
|
624
|
+
return installSharedModules(
|
|
625
|
+
scope,
|
|
626
|
+
hostShared,
|
|
627
|
+
normalizedRemoteShared,
|
|
628
|
+
(_id, module) => `Shared module "${module}" not found for "${scope.name}". ${DEDUPLICATION_WARNING}`
|
|
629
|
+
);
|
|
630
|
+
}
|
|
631
|
+
function extractSharedModuleIds(shared, scope) {
|
|
632
|
+
return Object.entries(shared).filter(([, value]) => typeof value === "function").reduce((acc, [key, value]) => {
|
|
633
|
+
const asyncSharedModuleId = extractGroup(
|
|
634
|
+
ASYNC_MODULE_LOADER_RE,
|
|
635
|
+
value.toString(),
|
|
636
|
+
"asyncSharedModuleId"
|
|
637
|
+
);
|
|
638
|
+
if (asyncSharedModuleId) {
|
|
639
|
+
const asyncSharedModule = findModuleInit(
|
|
640
|
+
getTurbopackModules(scope),
|
|
641
|
+
asyncSharedModuleId
|
|
642
|
+
);
|
|
643
|
+
if (asyncSharedModule) {
|
|
644
|
+
const sharedModuleId = extractGroup(
|
|
645
|
+
ASYNC_MODULE_CALLBACK_RE,
|
|
646
|
+
asyncSharedModule.toString(),
|
|
647
|
+
"sharedModuleId"
|
|
648
|
+
);
|
|
649
|
+
acc[_nullishCoalesce(sharedModuleId, () => ( asyncSharedModuleId))] = key.replace(
|
|
650
|
+
"__remote_shared_module_",
|
|
651
|
+
""
|
|
652
|
+
);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
return acc;
|
|
656
|
+
}, {});
|
|
657
|
+
}
|
|
658
|
+
function extractInlineSharedModuleIds(allModules, scope) {
|
|
659
|
+
const sharedModuleIds = {};
|
|
660
|
+
for (const idOrFunc of allModules) {
|
|
661
|
+
if (typeof idOrFunc !== "function")
|
|
662
|
+
continue;
|
|
663
|
+
const funcCode = idOrFunc.toString();
|
|
664
|
+
if (!funcCode.includes("__remote_shared_module_"))
|
|
665
|
+
continue;
|
|
666
|
+
INLINE_REMOTE_SHARED_RE.lastIndex = 0;
|
|
667
|
+
for (const match of funcCode.matchAll(INLINE_REMOTE_SHARED_RE)) {
|
|
668
|
+
const specifier = _optionalChain([match, 'access', _25 => _25.groups, 'optionalAccess', _26 => _26.specifier]);
|
|
669
|
+
const asyncSharedModuleId = stripQuotes2(
|
|
670
|
+
_optionalChain([match, 'access', _27 => _27.groups, 'optionalAccess', _28 => _28.asyncSharedModuleId])
|
|
671
|
+
);
|
|
672
|
+
if (!specifier || !asyncSharedModuleId)
|
|
673
|
+
continue;
|
|
674
|
+
const asyncSharedModule = findModuleInit(
|
|
675
|
+
getTurbopackModules(scope),
|
|
676
|
+
asyncSharedModuleId
|
|
677
|
+
);
|
|
678
|
+
if (!asyncSharedModule)
|
|
679
|
+
continue;
|
|
680
|
+
const sharedModuleId = extractGroup(
|
|
681
|
+
ASYNC_MODULE_CALLBACK_RE,
|
|
682
|
+
asyncSharedModule.toString(),
|
|
683
|
+
"sharedModuleId"
|
|
684
|
+
);
|
|
685
|
+
sharedModuleIds[_nullishCoalesce(sharedModuleId, () => ( asyncSharedModuleId))] = specifier;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
return sharedModuleIds;
|
|
689
|
+
}
|
|
690
|
+
function stripQuotes2(value) {
|
|
691
|
+
if (_optionalChain([value, 'optionalAccess', _29 => _29.startsWith, 'call', _30 => _30('"')]) && value.endsWith('"')) {
|
|
692
|
+
return value.slice(1, -1);
|
|
693
|
+
}
|
|
694
|
+
return value;
|
|
695
|
+
}
|
|
696
|
+
function installSharedModules(scope, hostShared, sharedModuleIds, missingMessage) {
|
|
697
|
+
const plan = _chunk7XXO2DLFcjs.createSharedModulePlan.call(void 0, {
|
|
698
|
+
bundle: scope.name,
|
|
699
|
+
hostShared,
|
|
700
|
+
remoteShared: sharedModuleIds,
|
|
701
|
+
scope: `remote:${scope.scopedName}`,
|
|
702
|
+
callerTag: "SharedModules"
|
|
703
|
+
});
|
|
704
|
+
for (const entry of plan.entries) {
|
|
705
|
+
if (entry.status === "resolved") {
|
|
706
|
+
delete scope.moduleCache[entry.id];
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
return _chunk7XXO2DLFcjs.installSharedModulePlan.call(void 0, {
|
|
710
|
+
plan,
|
|
711
|
+
target: scope.sharedModules,
|
|
712
|
+
callerTag: "SharedModules",
|
|
713
|
+
onMissing: (entry) => {
|
|
714
|
+
_chunkBBXVML3Dcjs.logError.call(void 0, "SharedModules", missingMessage(entry.id, entry.specifier));
|
|
715
|
+
}
|
|
716
|
+
}).then((results) => {
|
|
717
|
+
for (const entry of plan.entries) {
|
|
718
|
+
if (entry.status === "resolved") {
|
|
719
|
+
delete scope.moduleCache[entry.id];
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
return results;
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
function getSharedModule(scope, id) {
|
|
726
|
+
const idStr = String(id);
|
|
727
|
+
if (scope.sharedModules[idStr] !== void 0) {
|
|
728
|
+
return scope.sharedModules[idStr];
|
|
729
|
+
}
|
|
730
|
+
for (const [key, value] of Object.entries(scope.sharedModules)) {
|
|
731
|
+
if (typeof value !== "undefined" && idStr !== key && matchesSharedModuleKey(idStr, key)) {
|
|
732
|
+
return value;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
return null;
|
|
736
|
+
}
|
|
737
|
+
function matchesSharedModuleKey(id, key) {
|
|
738
|
+
if (id.endsWith(key))
|
|
739
|
+
return true;
|
|
740
|
+
if (!key.includes("/") && !key.endsWith(".js"))
|
|
741
|
+
return false;
|
|
742
|
+
const index = id.lastIndexOf(key);
|
|
743
|
+
if (index < 0)
|
|
744
|
+
return false;
|
|
745
|
+
const afterKey = id.slice(index + key.length);
|
|
746
|
+
return /^\s+(?:\[[^\]]+\]\s*)?(?:\([^)]*\))?$/.test(afterKey);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
// src/config/webpack/next-client-pages-loader.ts
|
|
750
|
+
function nextClientPagesLoader(bundle, route, styleContainer = document.head) {
|
|
751
|
+
const self = globalThis;
|
|
752
|
+
const ns = _chunkZ2SLBFQLcjs.getNamespace.call(void 0, );
|
|
753
|
+
ns.pageComponentCache ??= {};
|
|
754
|
+
const cacheKey = `${bundle}:${route}`;
|
|
755
|
+
const remoteRequire = _optionalChain([self, 'access', _31 => _31.__remote_webpack_require__, 'optionalAccess', _32 => _32[bundle]]);
|
|
756
|
+
const turbopackScope = _optionalChain([remoteRequire, 'optionalAccess', _33 => _33.type]) === "turbopack" ? _chunk7XXO2DLFcjs.getScope.call(void 0, bundle) : void 0;
|
|
757
|
+
const applyBundleCss = () => {
|
|
758
|
+
const elements = _nullishCoalesce(ns.cssCache[bundle], () => ( []));
|
|
759
|
+
if (styleContainer) {
|
|
760
|
+
for (const el of elements) {
|
|
761
|
+
styleContainer.appendChild(el.cloneNode(true));
|
|
762
|
+
}
|
|
763
|
+
} else {
|
|
764
|
+
for (const el of elements) {
|
|
765
|
+
document.head.appendChild(el);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
const cachedEntry = ns.pageComponentCache[cacheKey];
|
|
770
|
+
if (cachedEntry) {
|
|
771
|
+
applyBundleCss();
|
|
772
|
+
return cachedEntry;
|
|
773
|
+
}
|
|
774
|
+
const nextCssOriginal = document.querySelector(
|
|
775
|
+
`[id="__next_css__DO_NOT_USE__"]:not([data-bundle="${bundle}"][data-route="${route}"])`
|
|
776
|
+
);
|
|
777
|
+
const nextCssOriginalParent = _nullishCoalesce(_optionalChain([nextCssOriginal, 'optionalAccess', _34 => _34.parentNode]), () => ( null));
|
|
778
|
+
const nextCssOriginalNextSibling = _nullishCoalesce(_optionalChain([nextCssOriginal, 'optionalAccess', _35 => _35.nextSibling]), () => ( null));
|
|
779
|
+
if (nextCssOriginal) {
|
|
780
|
+
_optionalChain([nextCssOriginalParent, 'optionalAccess', _36 => _36.removeChild, 'call', _37 => _37(nextCssOriginal)]);
|
|
781
|
+
}
|
|
782
|
+
const nextCss = document.createElement("noscript");
|
|
783
|
+
nextCss.id = "__next_css__DO_NOT_USE__";
|
|
784
|
+
nextCss.setAttribute("data-bundle", bundle);
|
|
785
|
+
nextCss.setAttribute("data-route", route);
|
|
786
|
+
const nextCssEnd = document.createElement("noscript");
|
|
787
|
+
nextCssEnd.id = "__next_css__DO_NOT_USE_END__";
|
|
788
|
+
nextCssEnd.setAttribute("data-bundle", bundle);
|
|
789
|
+
nextCssEnd.setAttribute("data-route", route);
|
|
790
|
+
document.head.appendChild(nextCssEnd);
|
|
791
|
+
document.head.appendChild(nextCss);
|
|
792
|
+
const componentLoaderChunk = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce((turbopackScope ? findTurbopackPagesLoaderId(turbopackScope, route) : void 0), () => ( Object.keys(_nullishCoalesce(_optionalChain([remoteRequire, 'optionalAccess', _38 => _38.m]), () => ( {}))).find(
|
|
793
|
+
(key) => key.includes("/webpack/loaders/next-client-pages-loader.js") && key.includes(`page=${encodeURIComponent(route)}!`)
|
|
794
|
+
))), () => ( Object.keys(_nullishCoalesce(_optionalChain([remoteRequire, 'optionalAccess', _39 => _39.m]), () => ( {}))).find(
|
|
795
|
+
(key) => key.includes("/next/dist/client/page-loader.js")
|
|
796
|
+
))), () => ( _optionalChain([self, 'access', _40 => _40.__remote_webpack_module_map__, 'optionalAccess', _41 => _41[bundle], 'optionalAccess', _42 => _42[_nullishCoalesce(_nullishCoalesce(Object.keys(_nullishCoalesce(self.__remote_webpack_module_map__[bundle], () => ( {}))).find(
|
|
797
|
+
(key) => key.includes("/webpack/loaders/next-client-pages-loader.js") && key.includes(`page=${encodeURIComponent(route)}!`)
|
|
798
|
+
), () => ( Object.keys(_nullishCoalesce(self.__remote_webpack_module_map__[bundle], () => ( {}))).find(
|
|
799
|
+
(key) => key.includes("/next/dist/client/page-loader.js")
|
|
800
|
+
))), () => ( ""))]]))), () => ( -1));
|
|
801
|
+
const appLoaderChunk = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce((turbopackScope ? findTurbopackPagesLoaderId(turbopackScope, "/_app") : void 0), () => ( Object.keys(_nullishCoalesce(_optionalChain([remoteRequire, 'optionalAccess', _43 => _43.m]), () => ( {}))).find(
|
|
802
|
+
(key) => key.includes("/webpack/loaders/next-client-pages-loader.js") && key.includes(`page=%2F_app`)
|
|
803
|
+
))), () => ( Object.keys(_nullishCoalesce(_optionalChain([remoteRequire, 'optionalAccess', _44 => _44.m]), () => ( {}))).find(
|
|
804
|
+
(key) => key.includes("/next/dist/client/page-loader.js")
|
|
805
|
+
))), () => ( _optionalChain([self, 'access', _45 => _45.__remote_webpack_module_map__, 'optionalAccess', _46 => _46[bundle], 'optionalAccess', _47 => _47[_nullishCoalesce(_nullishCoalesce(Object.keys(_nullishCoalesce(self.__remote_webpack_module_map__[bundle], () => ( {}))).find(
|
|
806
|
+
(key) => key.includes("/webpack/loaders/next-client-pages-loader.js") && key.includes(`page=%2F_app`)
|
|
807
|
+
), () => ( Object.keys(_nullishCoalesce(self.__remote_webpack_module_map__[bundle], () => ( {}))).find(
|
|
808
|
+
(key) => key.includes("/next/dist/client/page-loader.js")
|
|
809
|
+
))), () => ( ""))]]))), () => ( -1));
|
|
810
|
+
if (!isLoaderId(componentLoaderChunk) || !isLoaderId(appLoaderChunk)) {
|
|
811
|
+
throw new (0, _chunkBBXVML3Dcjs.RemoteComponentsError)(
|
|
812
|
+
`Next.js client pages loader not found in bundle "${bundle}".`
|
|
813
|
+
);
|
|
814
|
+
}
|
|
815
|
+
const __NEXT_P_ORIGINAL = self.__NEXT_P;
|
|
816
|
+
const selfOriginal = self;
|
|
817
|
+
delete selfOriginal.__NEXT_P;
|
|
818
|
+
try {
|
|
819
|
+
loadPagesLoaderModule(bundle, componentLoaderChunk, turbopackScope);
|
|
820
|
+
if (isLoaderId(appLoaderChunk)) {
|
|
821
|
+
loadPagesLoaderModule(bundle, appLoaderChunk, turbopackScope);
|
|
822
|
+
}
|
|
823
|
+
if (self.__NEXT_P) {
|
|
824
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
825
|
+
"ComponentLoader",
|
|
826
|
+
`Next.js Pages loader registry for "${route}" in "${bundle}": ${self.__NEXT_P.map((entry) => _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _48 => _48[0]]), () => ( "<empty>"))).join(", ")}`
|
|
827
|
+
);
|
|
828
|
+
const componentEntry = _nullishCoalesce(self.__NEXT_P.find(
|
|
829
|
+
(entry) => _optionalChain([entry, 'optionalAccess', _49 => _49[0]]) === route
|
|
830
|
+
), () => ( self.__NEXT_P[0]));
|
|
831
|
+
const appEntry = _nullishCoalesce(self.__NEXT_P.find((entry) => _optionalChain([entry, 'optionalAccess', _50 => _50[0]]) === "/_app"), () => ( self.__NEXT_P[2]));
|
|
832
|
+
const [, componentLoader] = _nullishCoalesce(componentEntry, () => ( [
|
|
833
|
+
void 0,
|
|
834
|
+
() => ({ default: null })
|
|
835
|
+
]));
|
|
836
|
+
const [, appLoader] = _nullishCoalesce(appEntry, () => ( [
|
|
837
|
+
void 0,
|
|
838
|
+
() => ({
|
|
839
|
+
default: null
|
|
840
|
+
})
|
|
841
|
+
]));
|
|
842
|
+
const { default: Component = null } = componentLoader();
|
|
843
|
+
const { default: App = null } = appLoader();
|
|
844
|
+
const cssCache = ns.cssCache;
|
|
845
|
+
if (!cssCache[bundle]) {
|
|
846
|
+
const cssRE = /\.s?css$/;
|
|
847
|
+
Object.keys(_nullishCoalesce(_optionalChain([self, 'access', _51 => _51.__remote_webpack_require__, 'optionalAccess', _52 => _52[bundle], 'optionalAccess', _53 => _53.m]), () => ( {}))).filter((id) => cssRE.test(id)).forEach((id) => {
|
|
848
|
+
_optionalChain([self, 'access', _54 => _54.__remote_webpack_require__, 'optionalAccess', _55 => _55[bundle], 'optionalCall', _56 => _56(id)]);
|
|
849
|
+
});
|
|
850
|
+
Object.keys(_nullishCoalesce(_optionalChain([self, 'access', _57 => _57.__remote_webpack_module_map__, 'optionalAccess', _58 => _58[bundle]]), () => ( {}))).filter((path) => cssRE.test(path)).forEach((path) => {
|
|
851
|
+
const id = _optionalChain([self, 'access', _59 => _59.__remote_webpack_module_map__, 'optionalAccess', _60 => _60[bundle], 'optionalAccess', _61 => _61[path]]);
|
|
852
|
+
if (id) {
|
|
853
|
+
_optionalChain([self, 'access', _62 => _62.__remote_webpack_require__, 'optionalAccess', _63 => _63[bundle], 'optionalCall', _64 => _64(id)]);
|
|
854
|
+
}
|
|
855
|
+
});
|
|
856
|
+
const elements = [];
|
|
857
|
+
let node = nextCss.previousSibling;
|
|
858
|
+
while (node && node !== nextCssEnd) {
|
|
859
|
+
elements.push(node);
|
|
860
|
+
node.remove();
|
|
861
|
+
node = nextCss.previousSibling;
|
|
862
|
+
}
|
|
863
|
+
cssCache[bundle] = elements;
|
|
864
|
+
}
|
|
865
|
+
applyBundleCss();
|
|
866
|
+
const result = { Component, App };
|
|
867
|
+
ns.pageComponentCache[cacheKey] = result;
|
|
868
|
+
return result;
|
|
869
|
+
}
|
|
870
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
871
|
+
"ComponentLoader",
|
|
872
|
+
`Next.js Pages loaders for route "${route}" in "${bundle}" did not populate __NEXT_P`
|
|
873
|
+
);
|
|
874
|
+
return { Component: null, App: null };
|
|
875
|
+
} finally {
|
|
876
|
+
if (typeof __NEXT_P_ORIGINAL === "undefined") {
|
|
877
|
+
delete self.__NEXT_P;
|
|
878
|
+
} else {
|
|
879
|
+
self.__NEXT_P = __NEXT_P_ORIGINAL;
|
|
880
|
+
}
|
|
881
|
+
if (nextCssOriginal && nextCssOriginalParent) {
|
|
882
|
+
const restoreBefore = _optionalChain([nextCssOriginalNextSibling, 'optionalAccess', _65 => _65.parentNode]) === nextCssOriginalParent ? nextCssOriginalNextSibling : null;
|
|
883
|
+
nextCssOriginalParent.insertBefore(nextCssOriginal, restoreBefore);
|
|
884
|
+
}
|
|
885
|
+
nextCss.remove();
|
|
886
|
+
nextCssEnd.remove();
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
function isLoaderId(id) {
|
|
890
|
+
return typeof id === "string" && id.length > 0 || typeof id === "number" && id !== -1;
|
|
891
|
+
}
|
|
892
|
+
function loadPagesLoaderModule(bundle, id, turbopackScope) {
|
|
893
|
+
const self = globalThis;
|
|
894
|
+
if (turbopackScope) {
|
|
895
|
+
delete turbopackScope.moduleCache[String(id)];
|
|
896
|
+
requireModule(turbopackScope, id);
|
|
897
|
+
return;
|
|
898
|
+
}
|
|
899
|
+
const remoteRequire = _optionalChain([self, 'access', _66 => _66.__remote_webpack_require__, 'optionalAccess', _67 => _67[bundle]]);
|
|
900
|
+
if (_optionalChain([remoteRequire, 'optionalAccess', _68 => _68.c])) {
|
|
901
|
+
delete remoteRequire.c[id];
|
|
902
|
+
}
|
|
903
|
+
_optionalChain([remoteRequire, 'optionalCall', _69 => _69(id)]);
|
|
904
|
+
}
|
|
905
|
+
function findTurbopackPagesLoaderId(scope, route) {
|
|
906
|
+
const modules = getTurbopackModules(scope);
|
|
907
|
+
if (!modules)
|
|
908
|
+
return void 0;
|
|
909
|
+
const routeLiteral = JSON.stringify(route);
|
|
910
|
+
const singleQuotedRouteLiteral = `'${route.replaceAll("'", "\\'")}'`;
|
|
911
|
+
const flat = modules.flat();
|
|
912
|
+
for (let index = 0; index < flat.length; index++) {
|
|
913
|
+
const entry = flat[index];
|
|
914
|
+
if (typeof entry === "function") {
|
|
915
|
+
const code = entry.toString();
|
|
916
|
+
if (code.includes("__NEXT_P") && (code.includes(routeLiteral) || code.includes(singleQuotedRouteLiteral))) {
|
|
917
|
+
const id = findPreviousModuleId(flat, index);
|
|
918
|
+
if (isLoaderId(id) && isTurbopackPagesLoaderId(id)) {
|
|
919
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
920
|
+
"SharedModules",
|
|
921
|
+
`Resolved Turbopack Pages loader for route "${route}" in "${scope.scopedName}" as "${id}"`
|
|
922
|
+
);
|
|
923
|
+
return id;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
continue;
|
|
927
|
+
}
|
|
928
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry))
|
|
929
|
+
continue;
|
|
930
|
+
if (typeof Element !== "undefined" && entry instanceof Element)
|
|
931
|
+
continue;
|
|
932
|
+
for (const [id, moduleInit] of Object.entries(
|
|
933
|
+
entry
|
|
934
|
+
)) {
|
|
935
|
+
if (typeof moduleInit !== "function")
|
|
936
|
+
continue;
|
|
937
|
+
const code = moduleInit.toString();
|
|
938
|
+
if (code.includes("__NEXT_P") && (code.includes(routeLiteral) || code.includes(singleQuotedRouteLiteral)) && isTurbopackPagesLoaderId(id)) {
|
|
939
|
+
_chunkBBXVML3Dcjs.logDebug.call(void 0,
|
|
940
|
+
"SharedModules",
|
|
941
|
+
`Resolved Turbopack Pages loader for route "${route}" in "${scope.scopedName}" as "${id}"`
|
|
942
|
+
);
|
|
943
|
+
return id;
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
return void 0;
|
|
948
|
+
}
|
|
949
|
+
function isTurbopackPagesLoaderId(id) {
|
|
950
|
+
if (typeof id === "number")
|
|
951
|
+
return true;
|
|
952
|
+
return id.includes("[next]/entry/page-loader.ts") || id.includes("/next/dist/client/page-loader.js");
|
|
953
|
+
}
|
|
954
|
+
function findPreviousModuleId(entries, factoryIndex) {
|
|
955
|
+
for (let index = factoryIndex - 1; index >= 0; index--) {
|
|
956
|
+
const entry = entries[index];
|
|
957
|
+
if (isLoaderId(entry))
|
|
958
|
+
return entry;
|
|
959
|
+
if (typeof entry === "function")
|
|
960
|
+
return void 0;
|
|
961
|
+
}
|
|
962
|
+
return void 0;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
exports.applySharedModules = applySharedModules; exports.loadChunkWithScope = loadChunkWithScope; exports.createChunkDispatcher = createChunkDispatcher; exports.initializeSharedModules = initializeSharedModules; exports.requireModule = requireModule; exports.nextClientPagesLoader = nextClientPagesLoader;
|
|
973
|
+
//# sourceMappingURL=chunk-HMB3SIVJ.cjs.map
|