@equinor/cpl-top-bar-react 1.0.0 → 1.0.2
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +274 -357
- package/dist/index.mjs +274 -359
- package/package.json +24 -17
package/dist/index.js
CHANGED
|
@@ -1,39 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
|
-
var __defProps = Object.defineProperties;
|
|
5
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
9
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
10
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
-
var __spreadValues = (a, b) => {
|
|
14
|
-
for (var prop in b || (b = {}))
|
|
15
|
-
if (__hasOwnProp.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
17
|
-
if (__getOwnPropSymbols)
|
|
18
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
-
if (__propIsEnum.call(b, prop))
|
|
20
|
-
__defNormalProp(a, prop, b[prop]);
|
|
21
|
-
}
|
|
22
|
-
return a;
|
|
23
|
-
};
|
|
24
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
-
var __objRest = (source, exclude) => {
|
|
26
|
-
var target = {};
|
|
27
|
-
for (var prop in source)
|
|
28
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
-
target[prop] = source[prop];
|
|
30
|
-
if (source != null && __getOwnPropSymbols)
|
|
31
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
-
target[prop] = source[prop];
|
|
34
|
-
}
|
|
35
|
-
return target;
|
|
36
|
-
};
|
|
37
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
38
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
39
10
|
};
|
|
@@ -104,9 +75,9 @@ var require_interop_require_default = __commonJS({
|
|
|
104
75
|
}
|
|
105
76
|
});
|
|
106
77
|
|
|
107
|
-
// ../../node_modules/.pnpm/next@16.
|
|
78
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js
|
|
108
79
|
var require_app_router_context_shared_runtime = __commonJS({
|
|
109
|
-
"../../node_modules/.pnpm/next@16.
|
|
80
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js"(exports2) {
|
|
110
81
|
"use strict";
|
|
111
82
|
"use client";
|
|
112
83
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -151,9 +122,53 @@ var require_app_router_context_shared_runtime = __commonJS({
|
|
|
151
122
|
}
|
|
152
123
|
});
|
|
153
124
|
|
|
154
|
-
// ../../node_modules/.pnpm/next@16.
|
|
125
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/readonly-url-search-params.js
|
|
126
|
+
var require_readonly_url_search_params = __commonJS({
|
|
127
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/readonly-url-search-params.js"(exports2, module2) {
|
|
128
|
+
"use strict";
|
|
129
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
130
|
+
value: true
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports2, "ReadonlyURLSearchParams", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function() {
|
|
135
|
+
return ReadonlyURLSearchParams;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
var ReadonlyURLSearchParamsError = class extends Error {
|
|
139
|
+
constructor() {
|
|
140
|
+
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
var ReadonlyURLSearchParams = class extends URLSearchParams {
|
|
144
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
145
|
+
append() {
|
|
146
|
+
throw new ReadonlyURLSearchParamsError();
|
|
147
|
+
}
|
|
148
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
149
|
+
delete() {
|
|
150
|
+
throw new ReadonlyURLSearchParamsError();
|
|
151
|
+
}
|
|
152
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
153
|
+
set() {
|
|
154
|
+
throw new ReadonlyURLSearchParamsError();
|
|
155
|
+
}
|
|
156
|
+
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
157
|
+
sort() {
|
|
158
|
+
throw new ReadonlyURLSearchParamsError();
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
|
|
162
|
+
Object.defineProperty(exports2.default, "__esModule", { value: true });
|
|
163
|
+
Object.assign(exports2.default, exports2);
|
|
164
|
+
module2.exports = exports2.default;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js
|
|
155
170
|
var require_hooks_client_context_shared_runtime = __commonJS({
|
|
156
|
-
"../../node_modules/.pnpm/next@16.
|
|
171
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js"(exports2) {
|
|
157
172
|
"use strict";
|
|
158
173
|
"use client";
|
|
159
174
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -175,6 +190,9 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
175
190
|
PathnameContext: function() {
|
|
176
191
|
return PathnameContext;
|
|
177
192
|
},
|
|
193
|
+
ReadonlyURLSearchParams: function() {
|
|
194
|
+
return _readonlyurlsearchparams.ReadonlyURLSearchParams;
|
|
195
|
+
},
|
|
178
196
|
SearchParamsContext: function() {
|
|
179
197
|
return SearchParamsContext;
|
|
180
198
|
},
|
|
@@ -183,6 +201,7 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
183
201
|
}
|
|
184
202
|
});
|
|
185
203
|
var _react = require("react");
|
|
204
|
+
var _readonlyurlsearchparams = require_readonly_url_search_params();
|
|
186
205
|
var SearchParamsContext = (0, _react.createContext)(null);
|
|
187
206
|
var PathnameContext = (0, _react.createContext)(null);
|
|
188
207
|
var PathParamsContext = (0, _react.createContext)(null);
|
|
@@ -203,9 +222,9 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
203
222
|
}
|
|
204
223
|
});
|
|
205
224
|
|
|
206
|
-
// ../../node_modules/.pnpm/next@16.
|
|
225
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/segment.js
|
|
207
226
|
var require_segment = __commonJS({
|
|
208
|
-
"../../node_modules/.pnpm/next@16.
|
|
227
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/segment.js"(exports2) {
|
|
209
228
|
"use strict";
|
|
210
229
|
Object.defineProperty(exports2, "__esModule", {
|
|
211
230
|
value: true
|
|
@@ -220,6 +239,9 @@ var require_segment = __commonJS({
|
|
|
220
239
|
DEFAULT_SEGMENT_KEY: function() {
|
|
221
240
|
return DEFAULT_SEGMENT_KEY;
|
|
222
241
|
},
|
|
242
|
+
NOT_FOUND_SEGMENT_KEY: function() {
|
|
243
|
+
return NOT_FOUND_SEGMENT_KEY;
|
|
244
|
+
},
|
|
223
245
|
PAGE_SEGMENT_KEY: function() {
|
|
224
246
|
return PAGE_SEGMENT_KEY;
|
|
225
247
|
},
|
|
@@ -267,13 +289,12 @@ var require_segment = __commonJS({
|
|
|
267
289
|
return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment;
|
|
268
290
|
}
|
|
269
291
|
function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) {
|
|
270
|
-
var _a;
|
|
271
292
|
let node;
|
|
272
293
|
if (first) {
|
|
273
294
|
node = tree[1][parallelRouteKey];
|
|
274
295
|
} else {
|
|
275
296
|
const parallelRoutes = tree[1];
|
|
276
|
-
node =
|
|
297
|
+
node = parallelRoutes.children ?? Object.values(parallelRoutes)[0];
|
|
277
298
|
}
|
|
278
299
|
if (!node) return segmentPath;
|
|
279
300
|
const segment = node[0];
|
|
@@ -286,56 +307,13 @@ var require_segment = __commonJS({
|
|
|
286
307
|
}
|
|
287
308
|
var PAGE_SEGMENT_KEY = "__PAGE__";
|
|
288
309
|
var DEFAULT_SEGMENT_KEY = "__DEFAULT__";
|
|
310
|
+
var NOT_FOUND_SEGMENT_KEY = "/_not-found";
|
|
289
311
|
}
|
|
290
312
|
});
|
|
291
313
|
|
|
292
|
-
// ../../node_modules/.pnpm/next@16.
|
|
293
|
-
var require_readonly_url_search_params = __commonJS({
|
|
294
|
-
"../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/readonly-url-search-params.js"(exports2, module2) {
|
|
295
|
-
"use strict";
|
|
296
|
-
Object.defineProperty(exports2, "__esModule", {
|
|
297
|
-
value: true
|
|
298
|
-
});
|
|
299
|
-
Object.defineProperty(exports2, "ReadonlyURLSearchParams", {
|
|
300
|
-
enumerable: true,
|
|
301
|
-
get: function() {
|
|
302
|
-
return ReadonlyURLSearchParams;
|
|
303
|
-
}
|
|
304
|
-
});
|
|
305
|
-
var ReadonlyURLSearchParamsError = class extends Error {
|
|
306
|
-
constructor() {
|
|
307
|
-
super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams");
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
var ReadonlyURLSearchParams = class extends URLSearchParams {
|
|
311
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
312
|
-
append() {
|
|
313
|
-
throw new ReadonlyURLSearchParamsError();
|
|
314
|
-
}
|
|
315
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
316
|
-
delete() {
|
|
317
|
-
throw new ReadonlyURLSearchParamsError();
|
|
318
|
-
}
|
|
319
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
320
|
-
set() {
|
|
321
|
-
throw new ReadonlyURLSearchParamsError();
|
|
322
|
-
}
|
|
323
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
324
|
-
sort() {
|
|
325
|
-
throw new ReadonlyURLSearchParamsError();
|
|
326
|
-
}
|
|
327
|
-
};
|
|
328
|
-
if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
|
|
329
|
-
Object.defineProperty(exports2.default, "__esModule", { value: true });
|
|
330
|
-
Object.assign(exports2.default, exports2);
|
|
331
|
-
module2.exports = exports2.default;
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
|
|
336
|
-
// ../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js
|
|
314
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js
|
|
337
315
|
var require_server_inserted_html_shared_runtime = __commonJS({
|
|
338
|
-
"../../node_modules/.pnpm/next@16.
|
|
316
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js"(exports2) {
|
|
339
317
|
"use strict";
|
|
340
318
|
"use client";
|
|
341
319
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -367,9 +345,9 @@ var require_server_inserted_html_shared_runtime = __commonJS({
|
|
|
367
345
|
}
|
|
368
346
|
});
|
|
369
347
|
|
|
370
|
-
// ../../node_modules/.pnpm/next@16.
|
|
348
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unrecognized-action-error.js
|
|
371
349
|
var require_unrecognized_action_error = __commonJS({
|
|
372
|
-
"../../node_modules/.pnpm/next@16.
|
|
350
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unrecognized-action-error.js"(exports2, module2) {
|
|
373
351
|
"use strict";
|
|
374
352
|
Object.defineProperty(exports2, "__esModule", {
|
|
375
353
|
value: true
|
|
@@ -405,9 +383,9 @@ var require_unrecognized_action_error = __commonJS({
|
|
|
405
383
|
}
|
|
406
384
|
});
|
|
407
385
|
|
|
408
|
-
// ../../node_modules/.pnpm/next@16.
|
|
386
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect-status-code.js
|
|
409
387
|
var require_redirect_status_code = __commonJS({
|
|
410
|
-
"../../node_modules/.pnpm/next@16.
|
|
388
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect-status-code.js"(exports2, module2) {
|
|
411
389
|
"use strict";
|
|
412
390
|
Object.defineProperty(exports2, "__esModule", {
|
|
413
391
|
value: true
|
|
@@ -418,12 +396,12 @@ var require_redirect_status_code = __commonJS({
|
|
|
418
396
|
return RedirectStatusCode;
|
|
419
397
|
}
|
|
420
398
|
});
|
|
421
|
-
var RedirectStatusCode = /* @__PURE__ */ function(RedirectStatusCode2) {
|
|
399
|
+
var RedirectStatusCode = /* @__PURE__ */ (function(RedirectStatusCode2) {
|
|
422
400
|
RedirectStatusCode2[RedirectStatusCode2["SeeOther"] = 303] = "SeeOther";
|
|
423
401
|
RedirectStatusCode2[RedirectStatusCode2["TemporaryRedirect"] = 307] = "TemporaryRedirect";
|
|
424
402
|
RedirectStatusCode2[RedirectStatusCode2["PermanentRedirect"] = 308] = "PermanentRedirect";
|
|
425
403
|
return RedirectStatusCode2;
|
|
426
|
-
}({});
|
|
404
|
+
})({});
|
|
427
405
|
if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
|
|
428
406
|
Object.defineProperty(exports2.default, "__esModule", { value: true });
|
|
429
407
|
Object.assign(exports2.default, exports2);
|
|
@@ -432,9 +410,9 @@ var require_redirect_status_code = __commonJS({
|
|
|
432
410
|
}
|
|
433
411
|
});
|
|
434
412
|
|
|
435
|
-
// ../../node_modules/.pnpm/next@16.
|
|
413
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect-error.js
|
|
436
414
|
var require_redirect_error = __commonJS({
|
|
437
|
-
"../../node_modules/.pnpm/next@16.
|
|
415
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect-error.js"(exports2, module2) {
|
|
438
416
|
"use strict";
|
|
439
417
|
Object.defineProperty(exports2, "__esModule", {
|
|
440
418
|
value: true
|
|
@@ -458,11 +436,11 @@ var require_redirect_error = __commonJS({
|
|
|
458
436
|
});
|
|
459
437
|
var _redirectstatuscode = require_redirect_status_code();
|
|
460
438
|
var REDIRECT_ERROR_CODE = "NEXT_REDIRECT";
|
|
461
|
-
var RedirectType = /* @__PURE__ */ function(RedirectType2) {
|
|
439
|
+
var RedirectType = /* @__PURE__ */ (function(RedirectType2) {
|
|
462
440
|
RedirectType2["push"] = "push";
|
|
463
441
|
RedirectType2["replace"] = "replace";
|
|
464
442
|
return RedirectType2;
|
|
465
|
-
}({});
|
|
443
|
+
})({});
|
|
466
444
|
function isRedirectError(error) {
|
|
467
445
|
if (typeof error !== "object" || error === null || !("digest" in error) || typeof error.digest !== "string") {
|
|
468
446
|
return false;
|
|
@@ -482,9 +460,9 @@ var require_redirect_error = __commonJS({
|
|
|
482
460
|
}
|
|
483
461
|
});
|
|
484
462
|
|
|
485
|
-
// ../../node_modules/.pnpm/next@16.
|
|
463
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/async-local-storage.js
|
|
486
464
|
var require_async_local_storage = __commonJS({
|
|
487
|
-
"../../node_modules/.pnpm/next@16.
|
|
465
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/async-local-storage.js"(exports2) {
|
|
488
466
|
"use strict";
|
|
489
467
|
Object.defineProperty(exports2, "__esModule", {
|
|
490
468
|
value: true
|
|
@@ -555,9 +533,9 @@ var require_async_local_storage = __commonJS({
|
|
|
555
533
|
}
|
|
556
534
|
});
|
|
557
535
|
|
|
558
|
-
// ../../node_modules/.pnpm/next@16.
|
|
536
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/action-async-storage-instance.js
|
|
559
537
|
var require_action_async_storage_instance = __commonJS({
|
|
560
|
-
"../../node_modules/.pnpm/next@16.
|
|
538
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/action-async-storage-instance.js"(exports2) {
|
|
561
539
|
"use strict";
|
|
562
540
|
Object.defineProperty(exports2, "__esModule", {
|
|
563
541
|
value: true
|
|
@@ -573,9 +551,9 @@ var require_action_async_storage_instance = __commonJS({
|
|
|
573
551
|
}
|
|
574
552
|
});
|
|
575
553
|
|
|
576
|
-
// ../../node_modules/.pnpm/next@16.
|
|
554
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/action-async-storage.external.js
|
|
577
555
|
var require_action_async_storage_external = __commonJS({
|
|
578
|
-
"../../node_modules/.pnpm/next@16.
|
|
556
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/action-async-storage.external.js"(exports2) {
|
|
579
557
|
"use strict";
|
|
580
558
|
Object.defineProperty(exports2, "__esModule", {
|
|
581
559
|
value: true
|
|
@@ -590,9 +568,9 @@ var require_action_async_storage_external = __commonJS({
|
|
|
590
568
|
}
|
|
591
569
|
});
|
|
592
570
|
|
|
593
|
-
// ../../node_modules/.pnpm/next@16.
|
|
571
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect.js
|
|
594
572
|
var require_redirect = __commonJS({
|
|
595
|
-
"../../node_modules/.pnpm/next@16.
|
|
573
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/redirect.js"(exports2, module2) {
|
|
596
574
|
"use strict";
|
|
597
575
|
Object.defineProperty(exports2, "__esModule", {
|
|
598
576
|
value: true
|
|
@@ -636,8 +614,7 @@ var require_redirect = __commonJS({
|
|
|
636
614
|
return error;
|
|
637
615
|
}
|
|
638
616
|
function redirect(url, type) {
|
|
639
|
-
|
|
640
|
-
type != null ? type : type = ((_a = actionAsyncStorage == null ? void 0 : actionAsyncStorage.getStore()) == null ? void 0 : _a.isAction) ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace;
|
|
617
|
+
type ??= actionAsyncStorage?.getStore()?.isAction ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace;
|
|
641
618
|
throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.TemporaryRedirect);
|
|
642
619
|
}
|
|
643
620
|
function permanentRedirect(url, type = _redirecterror.RedirectType.replace) {
|
|
@@ -675,9 +652,9 @@ var require_redirect = __commonJS({
|
|
|
675
652
|
}
|
|
676
653
|
});
|
|
677
654
|
|
|
678
|
-
// ../../node_modules/.pnpm/next@16.
|
|
655
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js
|
|
679
656
|
var require_http_access_fallback = __commonJS({
|
|
680
|
-
"../../node_modules/.pnpm/next@16.
|
|
657
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js"(exports2, module2) {
|
|
681
658
|
"use strict";
|
|
682
659
|
Object.defineProperty(exports2, "__esModule", {
|
|
683
660
|
value: true
|
|
@@ -743,9 +720,9 @@ var require_http_access_fallback = __commonJS({
|
|
|
743
720
|
}
|
|
744
721
|
});
|
|
745
722
|
|
|
746
|
-
// ../../node_modules/.pnpm/next@16.
|
|
723
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/not-found.js
|
|
747
724
|
var require_not_found = __commonJS({
|
|
748
|
-
"../../node_modules/.pnpm/next@16.
|
|
725
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/not-found.js"(exports2, module2) {
|
|
749
726
|
"use strict";
|
|
750
727
|
Object.defineProperty(exports2, "__esModule", {
|
|
751
728
|
value: true
|
|
@@ -775,9 +752,9 @@ var require_not_found = __commonJS({
|
|
|
775
752
|
}
|
|
776
753
|
});
|
|
777
754
|
|
|
778
|
-
// ../../node_modules/.pnpm/next@16.
|
|
755
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/forbidden.js
|
|
779
756
|
var require_forbidden = __commonJS({
|
|
780
|
-
"../../node_modules/.pnpm/next@16.
|
|
757
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/forbidden.js"(exports2, module2) {
|
|
781
758
|
"use strict";
|
|
782
759
|
Object.defineProperty(exports2, "__esModule", {
|
|
783
760
|
value: true
|
|
@@ -814,9 +791,9 @@ var require_forbidden = __commonJS({
|
|
|
814
791
|
}
|
|
815
792
|
});
|
|
816
793
|
|
|
817
|
-
// ../../node_modules/.pnpm/next@16.
|
|
794
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unauthorized.js
|
|
818
795
|
var require_unauthorized = __commonJS({
|
|
819
|
-
"../../node_modules/.pnpm/next@16.
|
|
796
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unauthorized.js"(exports2, module2) {
|
|
820
797
|
"use strict";
|
|
821
798
|
Object.defineProperty(exports2, "__esModule", {
|
|
822
799
|
value: true
|
|
@@ -853,9 +830,9 @@ var require_unauthorized = __commonJS({
|
|
|
853
830
|
}
|
|
854
831
|
});
|
|
855
832
|
|
|
856
|
-
// ../../node_modules/.pnpm/next@16.
|
|
833
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/dynamic-rendering-utils.js
|
|
857
834
|
var require_dynamic_rendering_utils = __commonJS({
|
|
858
|
-
"../../node_modules/.pnpm/next@16.
|
|
835
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/dynamic-rendering-utils.js"(exports2) {
|
|
859
836
|
"use strict";
|
|
860
837
|
Object.defineProperty(exports2, "__esModule", {
|
|
861
838
|
value: true
|
|
@@ -932,9 +909,9 @@ var require_dynamic_rendering_utils = __commonJS({
|
|
|
932
909
|
}
|
|
933
910
|
});
|
|
934
911
|
|
|
935
|
-
// ../../node_modules/.pnpm/next@16.
|
|
912
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/lib/router-utils/is-postpone.js
|
|
936
913
|
var require_is_postpone = __commonJS({
|
|
937
|
-
"../../node_modules/.pnpm/next@16.
|
|
914
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/lib/router-utils/is-postpone.js"(exports2) {
|
|
938
915
|
"use strict";
|
|
939
916
|
Object.defineProperty(exports2, "__esModule", {
|
|
940
917
|
value: true
|
|
@@ -945,16 +922,16 @@ var require_is_postpone = __commonJS({
|
|
|
945
922
|
return isPostpone;
|
|
946
923
|
}
|
|
947
924
|
});
|
|
948
|
-
var REACT_POSTPONE_TYPE = Symbol.for("react.postpone");
|
|
925
|
+
var REACT_POSTPONE_TYPE = /* @__PURE__ */ Symbol.for("react.postpone");
|
|
949
926
|
function isPostpone(error) {
|
|
950
927
|
return typeof error === "object" && error !== null && error.$$typeof === REACT_POSTPONE_TYPE;
|
|
951
928
|
}
|
|
952
929
|
}
|
|
953
930
|
});
|
|
954
931
|
|
|
955
|
-
// ../../node_modules/.pnpm/next@16.
|
|
932
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js
|
|
956
933
|
var require_bailout_to_csr = __commonJS({
|
|
957
|
-
"../../node_modules/.pnpm/next@16.
|
|
934
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js"(exports2) {
|
|
958
935
|
"use strict";
|
|
959
936
|
Object.defineProperty(exports2, "__esModule", {
|
|
960
937
|
value: true
|
|
@@ -988,9 +965,9 @@ var require_bailout_to_csr = __commonJS({
|
|
|
988
965
|
}
|
|
989
966
|
});
|
|
990
967
|
|
|
991
|
-
// ../../node_modules/.pnpm/next@16.
|
|
968
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/is-next-router-error.js
|
|
992
969
|
var require_is_next_router_error = __commonJS({
|
|
993
|
-
"../../node_modules/.pnpm/next@16.
|
|
970
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/is-next-router-error.js"(exports2, module2) {
|
|
994
971
|
"use strict";
|
|
995
972
|
Object.defineProperty(exports2, "__esModule", {
|
|
996
973
|
value: true
|
|
@@ -1014,9 +991,9 @@ var require_is_next_router_error = __commonJS({
|
|
|
1014
991
|
}
|
|
1015
992
|
});
|
|
1016
993
|
|
|
1017
|
-
// ../../node_modules/.pnpm/next@16.
|
|
994
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/hooks-server-context.js
|
|
1018
995
|
var require_hooks_server_context = __commonJS({
|
|
1019
|
-
"../../node_modules/.pnpm/next@16.
|
|
996
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/hooks-server-context.js"(exports2, module2) {
|
|
1020
997
|
"use strict";
|
|
1021
998
|
Object.defineProperty(exports2, "__esModule", {
|
|
1022
999
|
value: true
|
|
@@ -1055,9 +1032,9 @@ var require_hooks_server_context = __commonJS({
|
|
|
1055
1032
|
}
|
|
1056
1033
|
});
|
|
1057
1034
|
|
|
1058
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1035
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/static-generation-bailout.js
|
|
1059
1036
|
var require_static_generation_bailout = __commonJS({
|
|
1060
|
-
"../../node_modules/.pnpm/next@16.
|
|
1037
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/static-generation-bailout.js"(exports2, module2) {
|
|
1061
1038
|
"use strict";
|
|
1062
1039
|
Object.defineProperty(exports2, "__esModule", {
|
|
1063
1040
|
value: true
|
|
@@ -1096,9 +1073,9 @@ var require_static_generation_bailout = __commonJS({
|
|
|
1096
1073
|
}
|
|
1097
1074
|
});
|
|
1098
1075
|
|
|
1099
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1076
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js
|
|
1100
1077
|
var require_work_unit_async_storage_instance = __commonJS({
|
|
1101
|
-
"../../node_modules/.pnpm/next@16.
|
|
1078
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js"(exports2) {
|
|
1102
1079
|
"use strict";
|
|
1103
1080
|
Object.defineProperty(exports2, "__esModule", {
|
|
1104
1081
|
value: true
|
|
@@ -1114,9 +1091,9 @@ var require_work_unit_async_storage_instance = __commonJS({
|
|
|
1114
1091
|
}
|
|
1115
1092
|
});
|
|
1116
1093
|
|
|
1117
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1094
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/app-router-headers.js
|
|
1118
1095
|
var require_app_router_headers = __commonJS({
|
|
1119
|
-
"../../node_modules/.pnpm/next@16.
|
|
1096
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/app-router-headers.js"(exports2, module2) {
|
|
1120
1097
|
"use strict";
|
|
1121
1098
|
Object.defineProperty(exports2, "__esModule", {
|
|
1122
1099
|
value: true
|
|
@@ -1137,6 +1114,9 @@ var require_app_router_headers = __commonJS({
|
|
|
1137
1114
|
NEXT_ACTION_NOT_FOUND_HEADER: function() {
|
|
1138
1115
|
return NEXT_ACTION_NOT_FOUND_HEADER;
|
|
1139
1116
|
},
|
|
1117
|
+
NEXT_ACTION_REVALIDATED_HEADER: function() {
|
|
1118
|
+
return NEXT_ACTION_REVALIDATED_HEADER;
|
|
1119
|
+
},
|
|
1140
1120
|
NEXT_DID_POSTPONE_HEADER: function() {
|
|
1141
1121
|
return NEXT_DID_POSTPONE_HEADER;
|
|
1142
1122
|
},
|
|
@@ -1211,6 +1191,7 @@ var require_app_router_headers = __commonJS({
|
|
|
1211
1191
|
var NEXT_ACTION_NOT_FOUND_HEADER = "x-nextjs-action-not-found";
|
|
1212
1192
|
var NEXT_REQUEST_ID_HEADER = "x-nextjs-request-id";
|
|
1213
1193
|
var NEXT_HTML_REQUEST_ID_HEADER = "x-nextjs-html-request-id";
|
|
1194
|
+
var NEXT_ACTION_REVALIDATED_HEADER = "x-action-revalidated";
|
|
1214
1195
|
if ((typeof exports2.default === "function" || typeof exports2.default === "object" && exports2.default !== null) && typeof exports2.default.__esModule === "undefined") {
|
|
1215
1196
|
Object.defineProperty(exports2.default, "__esModule", { value: true });
|
|
1216
1197
|
Object.assign(exports2.default, exports2);
|
|
@@ -1219,9 +1200,9 @@ var require_app_router_headers = __commonJS({
|
|
|
1219
1200
|
}
|
|
1220
1201
|
});
|
|
1221
1202
|
|
|
1222
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1203
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/invariant-error.js
|
|
1223
1204
|
var require_invariant_error = __commonJS({
|
|
1224
|
-
"../../node_modules/.pnpm/next@16.
|
|
1205
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/shared/lib/invariant-error.js"(exports2) {
|
|
1225
1206
|
"use strict";
|
|
1226
1207
|
Object.defineProperty(exports2, "__esModule", {
|
|
1227
1208
|
value: true
|
|
@@ -1241,9 +1222,9 @@ var require_invariant_error = __commonJS({
|
|
|
1241
1222
|
}
|
|
1242
1223
|
});
|
|
1243
1224
|
|
|
1244
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1225
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js
|
|
1245
1226
|
var require_work_unit_async_storage_external = __commonJS({
|
|
1246
|
-
"../../node_modules/.pnpm/next@16.
|
|
1227
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js"(exports2) {
|
|
1247
1228
|
"use strict";
|
|
1248
1229
|
Object.defineProperty(exports2, "__esModule", {
|
|
1249
1230
|
value: true
|
|
@@ -1329,7 +1310,6 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1329
1310
|
}
|
|
1330
1311
|
}
|
|
1331
1312
|
function getRenderResumeDataCache(workUnitStore) {
|
|
1332
|
-
var _a;
|
|
1333
1313
|
switch (workUnitStore.type) {
|
|
1334
1314
|
case "request":
|
|
1335
1315
|
case "prerender":
|
|
@@ -1340,7 +1320,7 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1340
1320
|
}
|
|
1341
1321
|
// fallthrough
|
|
1342
1322
|
case "prerender-ppr":
|
|
1343
|
-
return
|
|
1323
|
+
return workUnitStore.prerenderResumeDataCache ?? null;
|
|
1344
1324
|
case "cache":
|
|
1345
1325
|
case "private-cache":
|
|
1346
1326
|
case "unstable-cache":
|
|
@@ -1373,13 +1353,12 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1373
1353
|
return void 0;
|
|
1374
1354
|
}
|
|
1375
1355
|
function isHmrRefresh(workStore, workUnitStore) {
|
|
1376
|
-
var _a;
|
|
1377
1356
|
if (workStore.dev) {
|
|
1378
1357
|
switch (workUnitStore.type) {
|
|
1379
1358
|
case "cache":
|
|
1380
1359
|
case "private-cache":
|
|
1381
1360
|
case "request":
|
|
1382
|
-
return
|
|
1361
|
+
return workUnitStore.isHmrRefresh ?? false;
|
|
1383
1362
|
case "prerender":
|
|
1384
1363
|
case "prerender-client":
|
|
1385
1364
|
case "prerender-runtime":
|
|
@@ -1474,9 +1453,9 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1474
1453
|
}
|
|
1475
1454
|
});
|
|
1476
1455
|
|
|
1477
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1456
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-async-storage-instance.js
|
|
1478
1457
|
var require_work_async_storage_instance = __commonJS({
|
|
1479
|
-
"../../node_modules/.pnpm/next@16.
|
|
1458
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-async-storage-instance.js"(exports2) {
|
|
1480
1459
|
"use strict";
|
|
1481
1460
|
Object.defineProperty(exports2, "__esModule", {
|
|
1482
1461
|
value: true
|
|
@@ -1492,9 +1471,9 @@ var require_work_async_storage_instance = __commonJS({
|
|
|
1492
1471
|
}
|
|
1493
1472
|
});
|
|
1494
1473
|
|
|
1495
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1474
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-async-storage.external.js
|
|
1496
1475
|
var require_work_async_storage_external = __commonJS({
|
|
1497
|
-
"../../node_modules/.pnpm/next@16.
|
|
1476
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/work-async-storage.external.js"(exports2) {
|
|
1498
1477
|
"use strict";
|
|
1499
1478
|
Object.defineProperty(exports2, "__esModule", {
|
|
1500
1479
|
value: true
|
|
@@ -1509,9 +1488,9 @@ var require_work_async_storage_external = __commonJS({
|
|
|
1509
1488
|
}
|
|
1510
1489
|
});
|
|
1511
1490
|
|
|
1512
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1491
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-constants.js
|
|
1513
1492
|
var require_boundary_constants = __commonJS({
|
|
1514
|
-
"../../node_modules/.pnpm/next@16.
|
|
1493
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-constants.js"(exports2) {
|
|
1515
1494
|
"use strict";
|
|
1516
1495
|
Object.defineProperty(exports2, "__esModule", {
|
|
1517
1496
|
value: true
|
|
@@ -1543,9 +1522,9 @@ var require_boundary_constants = __commonJS({
|
|
|
1543
1522
|
}
|
|
1544
1523
|
});
|
|
1545
1524
|
|
|
1546
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1525
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/scheduler.js
|
|
1547
1526
|
var require_scheduler = __commonJS({
|
|
1548
|
-
"../../node_modules/.pnpm/next@16.
|
|
1527
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/scheduler.js"(exports2) {
|
|
1549
1528
|
"use strict";
|
|
1550
1529
|
Object.defineProperty(exports2, "__esModule", {
|
|
1551
1530
|
value: true
|
|
@@ -1599,145 +1578,9 @@ var require_scheduler = __commonJS({
|
|
|
1599
1578
|
}
|
|
1600
1579
|
});
|
|
1601
1580
|
|
|
1602
|
-
// ../../node_modules/.pnpm/next@16.
|
|
1603
|
-
var require_promise_with_resolvers = __commonJS({
|
|
1604
|
-
"../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/shared/lib/promise-with-resolvers.js"(exports2) {
|
|
1605
|
-
"use strict";
|
|
1606
|
-
Object.defineProperty(exports2, "__esModule", {
|
|
1607
|
-
value: true
|
|
1608
|
-
});
|
|
1609
|
-
Object.defineProperty(exports2, "createPromiseWithResolvers", {
|
|
1610
|
-
enumerable: true,
|
|
1611
|
-
get: function() {
|
|
1612
|
-
return createPromiseWithResolvers;
|
|
1613
|
-
}
|
|
1614
|
-
});
|
|
1615
|
-
function createPromiseWithResolvers() {
|
|
1616
|
-
let resolve;
|
|
1617
|
-
let reject;
|
|
1618
|
-
const promise = new Promise((res, rej) => {
|
|
1619
|
-
resolve = res;
|
|
1620
|
-
reject = rej;
|
|
1621
|
-
});
|
|
1622
|
-
return {
|
|
1623
|
-
resolve,
|
|
1624
|
-
reject,
|
|
1625
|
-
promise
|
|
1626
|
-
};
|
|
1627
|
-
}
|
|
1628
|
-
}
|
|
1629
|
-
});
|
|
1630
|
-
|
|
1631
|
-
// ../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/staged-rendering.js
|
|
1632
|
-
var require_staged_rendering = __commonJS({
|
|
1633
|
-
"../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/staged-rendering.js"(exports2) {
|
|
1634
|
-
"use strict";
|
|
1635
|
-
Object.defineProperty(exports2, "__esModule", {
|
|
1636
|
-
value: true
|
|
1637
|
-
});
|
|
1638
|
-
function _export(target, all) {
|
|
1639
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
1640
|
-
enumerable: true,
|
|
1641
|
-
get: all[name]
|
|
1642
|
-
});
|
|
1643
|
-
}
|
|
1644
|
-
_export(exports2, {
|
|
1645
|
-
RenderStage: function() {
|
|
1646
|
-
return RenderStage;
|
|
1647
|
-
},
|
|
1648
|
-
StagedRenderingController: function() {
|
|
1649
|
-
return StagedRenderingController;
|
|
1650
|
-
}
|
|
1651
|
-
});
|
|
1652
|
-
var _invarianterror = require_invariant_error();
|
|
1653
|
-
var _promisewithresolvers = require_promise_with_resolvers();
|
|
1654
|
-
var RenderStage = /* @__PURE__ */ function(RenderStage2) {
|
|
1655
|
-
RenderStage2[RenderStage2["Static"] = 1] = "Static";
|
|
1656
|
-
RenderStage2[RenderStage2["Runtime"] = 2] = "Runtime";
|
|
1657
|
-
RenderStage2[RenderStage2["Dynamic"] = 3] = "Dynamic";
|
|
1658
|
-
return RenderStage2;
|
|
1659
|
-
}({});
|
|
1660
|
-
var StagedRenderingController = class {
|
|
1661
|
-
constructor(abortSignal = null) {
|
|
1662
|
-
this.abortSignal = abortSignal;
|
|
1663
|
-
this.currentStage = 1;
|
|
1664
|
-
this.runtimeStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)();
|
|
1665
|
-
this.dynamicStagePromise = (0, _promisewithresolvers.createPromiseWithResolvers)();
|
|
1666
|
-
if (abortSignal) {
|
|
1667
|
-
abortSignal.addEventListener("abort", () => {
|
|
1668
|
-
const { reason } = abortSignal;
|
|
1669
|
-
if (this.currentStage < 2) {
|
|
1670
|
-
this.runtimeStagePromise.promise.catch(ignoreReject);
|
|
1671
|
-
this.runtimeStagePromise.reject(reason);
|
|
1672
|
-
}
|
|
1673
|
-
if (this.currentStage < 3) {
|
|
1674
|
-
this.dynamicStagePromise.promise.catch(ignoreReject);
|
|
1675
|
-
this.dynamicStagePromise.reject(reason);
|
|
1676
|
-
}
|
|
1677
|
-
}, {
|
|
1678
|
-
once: true
|
|
1679
|
-
});
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
1682
|
-
advanceStage(stage) {
|
|
1683
|
-
if (this.currentStage >= stage) {
|
|
1684
|
-
return;
|
|
1685
|
-
}
|
|
1686
|
-
this.currentStage = stage;
|
|
1687
|
-
if (stage >= 2) {
|
|
1688
|
-
this.runtimeStagePromise.resolve();
|
|
1689
|
-
}
|
|
1690
|
-
if (stage >= 3) {
|
|
1691
|
-
this.dynamicStagePromise.resolve();
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
|
-
getStagePromise(stage) {
|
|
1695
|
-
switch (stage) {
|
|
1696
|
-
case 2: {
|
|
1697
|
-
return this.runtimeStagePromise.promise;
|
|
1698
|
-
}
|
|
1699
|
-
case 3: {
|
|
1700
|
-
return this.dynamicStagePromise.promise;
|
|
1701
|
-
}
|
|
1702
|
-
default: {
|
|
1703
|
-
stage;
|
|
1704
|
-
throw Object.defineProperty(new _invarianterror.InvariantError(`Invalid render stage: ${stage}`), "__NEXT_ERROR_CODE", {
|
|
1705
|
-
value: "E881",
|
|
1706
|
-
enumerable: false,
|
|
1707
|
-
configurable: true
|
|
1708
|
-
});
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
waitForStage(stage) {
|
|
1713
|
-
return this.getStagePromise(stage);
|
|
1714
|
-
}
|
|
1715
|
-
delayUntilStage(stage, displayName, resolvedValue) {
|
|
1716
|
-
const ioTriggerPromise = this.getStagePromise(stage);
|
|
1717
|
-
const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue);
|
|
1718
|
-
if (this.abortSignal) {
|
|
1719
|
-
promise.catch(ignoreReject);
|
|
1720
|
-
}
|
|
1721
|
-
return promise;
|
|
1722
|
-
}
|
|
1723
|
-
};
|
|
1724
|
-
function ignoreReject() {
|
|
1725
|
-
}
|
|
1726
|
-
function makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) {
|
|
1727
|
-
const promise = new Promise((resolve, reject) => {
|
|
1728
|
-
ioTrigger.then(resolve.bind(null, resolvedValue), reject);
|
|
1729
|
-
});
|
|
1730
|
-
if (displayName !== void 0) {
|
|
1731
|
-
promise.displayName = displayName;
|
|
1732
|
-
}
|
|
1733
|
-
return promise;
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
});
|
|
1737
|
-
|
|
1738
|
-
// ../../node_modules/.pnpm/next@16.0.7_@playwright+test@1.53.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/app-render/dynamic-rendering.js
|
|
1581
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/dynamic-rendering.js
|
|
1739
1582
|
var require_dynamic_rendering = __commonJS({
|
|
1740
|
-
"../../node_modules/.pnpm/next@16.
|
|
1583
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/server/app-render/dynamic-rendering.js"(exports2) {
|
|
1741
1584
|
"use strict";
|
|
1742
1585
|
Object.defineProperty(exports2, "__esModule", {
|
|
1743
1586
|
value: true
|
|
@@ -1791,6 +1634,9 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1791
1634
|
getFirstDynamicReason: function() {
|
|
1792
1635
|
return getFirstDynamicReason;
|
|
1793
1636
|
},
|
|
1637
|
+
getStaticShellDisallowedDynamicReasons: function() {
|
|
1638
|
+
return getStaticShellDisallowedDynamicReasons;
|
|
1639
|
+
},
|
|
1794
1640
|
isDynamicPostpone: function() {
|
|
1795
1641
|
return isDynamicPostpone;
|
|
1796
1642
|
},
|
|
@@ -1818,8 +1664,11 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1818
1664
|
trackDynamicDataInDynamicRender: function() {
|
|
1819
1665
|
return trackDynamicDataInDynamicRender;
|
|
1820
1666
|
},
|
|
1821
|
-
|
|
1822
|
-
return
|
|
1667
|
+
trackDynamicHoleInRuntimeShell: function() {
|
|
1668
|
+
return trackDynamicHoleInRuntimeShell;
|
|
1669
|
+
},
|
|
1670
|
+
trackDynamicHoleInStaticShell: function() {
|
|
1671
|
+
return trackDynamicHoleInStaticShell;
|
|
1823
1672
|
},
|
|
1824
1673
|
useDynamicRouteParams: function() {
|
|
1825
1674
|
return useDynamicRouteParams;
|
|
@@ -1838,7 +1687,6 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1838
1687
|
var _scheduler = require_scheduler();
|
|
1839
1688
|
var _bailouttocsr = require_bailout_to_csr();
|
|
1840
1689
|
var _invarianterror = require_invariant_error();
|
|
1841
|
-
var _stagedrendering = require_staged_rendering();
|
|
1842
1690
|
function _interop_require_default(obj) {
|
|
1843
1691
|
return obj && obj.__esModule ? obj : {
|
|
1844
1692
|
default: obj
|
|
@@ -1856,6 +1704,7 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1856
1704
|
return {
|
|
1857
1705
|
hasSuspenseAboveBody: false,
|
|
1858
1706
|
hasDynamicMetadata: false,
|
|
1707
|
+
dynamicMetadata: null,
|
|
1859
1708
|
hasDynamicViewport: false,
|
|
1860
1709
|
hasAllowedDynamic: false,
|
|
1861
1710
|
dynamicErrors: []
|
|
@@ -1969,11 +1818,6 @@ var require_dynamic_rendering = __commonJS({
|
|
|
1969
1818
|
}
|
|
1970
1819
|
}
|
|
1971
1820
|
}
|
|
1972
|
-
function trackSynchronousPlatformIOAccessInDev(requestStore) {
|
|
1973
|
-
if (requestStore.stagedRendering) {
|
|
1974
|
-
requestStore.stagedRendering.advanceStage(_stagedrendering.RenderStage.Dynamic);
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
1821
|
function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {
|
|
1978
1822
|
const prerenderSignal = prerenderStore.controller.signal;
|
|
1979
1823
|
if (prerenderSignal.aborted === false) {
|
|
@@ -2238,6 +2082,66 @@ ${stack}`;
|
|
|
2238
2082
|
return;
|
|
2239
2083
|
}
|
|
2240
2084
|
}
|
|
2085
|
+
function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
2086
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
2087
|
+
return;
|
|
2088
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
2089
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;
|
|
2090
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2091
|
+
dynamicValidation.dynamicMetadata = error;
|
|
2092
|
+
return;
|
|
2093
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
2094
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;
|
|
2095
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2096
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2097
|
+
return;
|
|
2098
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
2099
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2100
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
2101
|
+
return;
|
|
2102
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
2103
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2104
|
+
return;
|
|
2105
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
2106
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
2107
|
+
return;
|
|
2108
|
+
} else {
|
|
2109
|
+
const message = `Route "${workStore.route}": Uncached data or \`connection()\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;
|
|
2110
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2111
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2112
|
+
return;
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {
|
|
2116
|
+
if (hasOutletRegex.test(componentStack)) {
|
|
2117
|
+
return;
|
|
2118
|
+
} else if (hasMetadataRegex.test(componentStack)) {
|
|
2119
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;
|
|
2120
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2121
|
+
dynamicValidation.dynamicMetadata = error;
|
|
2122
|
+
return;
|
|
2123
|
+
} else if (hasViewportRegex.test(componentStack)) {
|
|
2124
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;
|
|
2125
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2126
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2127
|
+
return;
|
|
2128
|
+
} else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
|
|
2129
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2130
|
+
dynamicValidation.hasSuspenseAboveBody = true;
|
|
2131
|
+
return;
|
|
2132
|
+
} else if (hasSuspenseRegex.test(componentStack)) {
|
|
2133
|
+
dynamicValidation.hasAllowedDynamic = true;
|
|
2134
|
+
return;
|
|
2135
|
+
} else if (clientDynamic.syncDynamicErrorWithStack) {
|
|
2136
|
+
dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
|
|
2137
|
+
return;
|
|
2138
|
+
} else {
|
|
2139
|
+
const message = `Route "${workStore.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;
|
|
2140
|
+
const error = createErrorWithComponentOrOwnerStack(message, componentStack);
|
|
2141
|
+
dynamicValidation.dynamicErrors.push(error);
|
|
2142
|
+
return;
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2241
2145
|
function createErrorWithComponentOrOwnerStack(message, componentStack) {
|
|
2242
2146
|
const ownerStack = process.env.NODE_ENV !== "production" && _react.default.captureOwnerStack ? _react.default.captureOwnerStack() : null;
|
|
2243
2147
|
const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
|
|
@@ -2245,15 +2149,15 @@ ${stack}`;
|
|
|
2245
2149
|
enumerable: false,
|
|
2246
2150
|
configurable: true
|
|
2247
2151
|
});
|
|
2248
|
-
error.stack = error.name + ": " + message + (ownerStack
|
|
2152
|
+
error.stack = error.name + ": " + message + (ownerStack || componentStack);
|
|
2249
2153
|
return error;
|
|
2250
2154
|
}
|
|
2251
|
-
var PreludeState = /* @__PURE__ */ function(PreludeState2) {
|
|
2155
|
+
var PreludeState = /* @__PURE__ */ (function(PreludeState2) {
|
|
2252
2156
|
PreludeState2[PreludeState2["Full"] = 0] = "Full";
|
|
2253
2157
|
PreludeState2[PreludeState2["Empty"] = 1] = "Empty";
|
|
2254
2158
|
PreludeState2[PreludeState2["Errored"] = 2] = "Errored";
|
|
2255
2159
|
return PreludeState2;
|
|
2256
|
-
}({});
|
|
2160
|
+
})({});
|
|
2257
2161
|
function logDisallowedDynamicError(workStore, error) {
|
|
2258
2162
|
console.error(error);
|
|
2259
2163
|
if (!workStore.dev) {
|
|
@@ -2297,6 +2201,33 @@ ${stack}`;
|
|
|
2297
2201
|
}
|
|
2298
2202
|
}
|
|
2299
2203
|
}
|
|
2204
|
+
function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation) {
|
|
2205
|
+
if (dynamicValidation.hasSuspenseAboveBody) {
|
|
2206
|
+
return [];
|
|
2207
|
+
}
|
|
2208
|
+
if (prelude !== 0) {
|
|
2209
|
+
const dynamicErrors = dynamicValidation.dynamicErrors;
|
|
2210
|
+
if (dynamicErrors.length > 0) {
|
|
2211
|
+
return dynamicErrors;
|
|
2212
|
+
}
|
|
2213
|
+
if (prelude === 1) {
|
|
2214
|
+
return [
|
|
2215
|
+
Object.defineProperty(new _invarianterror.InvariantError(`Route "${workStore.route}" did not produce a static shell and Next.js was unable to determine a reason.`), "__NEXT_ERROR_CODE", {
|
|
2216
|
+
value: "E936",
|
|
2217
|
+
enumerable: false,
|
|
2218
|
+
configurable: true
|
|
2219
|
+
})
|
|
2220
|
+
];
|
|
2221
|
+
}
|
|
2222
|
+
} else {
|
|
2223
|
+
if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {
|
|
2224
|
+
return [
|
|
2225
|
+
dynamicValidation.dynamicMetadata
|
|
2226
|
+
];
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2229
|
+
return [];
|
|
2230
|
+
}
|
|
2300
2231
|
function delayUntilRuntimeStage(prerenderStore, result) {
|
|
2301
2232
|
if (prerenderStore.runtimeStagePromise) {
|
|
2302
2233
|
return prerenderStore.runtimeStagePromise.then(() => result);
|
|
@@ -2306,9 +2237,9 @@ ${stack}`;
|
|
|
2306
2237
|
}
|
|
2307
2238
|
});
|
|
2308
2239
|
|
|
2309
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2240
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.server.js
|
|
2310
2241
|
var require_unstable_rethrow_server = __commonJS({
|
|
2311
|
-
"../../node_modules/.pnpm/next@16.
|
|
2242
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.server.js"(exports2, module2) {
|
|
2312
2243
|
"use strict";
|
|
2313
2244
|
Object.defineProperty(exports2, "__esModule", {
|
|
2314
2245
|
value: true
|
|
@@ -2341,9 +2272,9 @@ var require_unstable_rethrow_server = __commonJS({
|
|
|
2341
2272
|
}
|
|
2342
2273
|
});
|
|
2343
2274
|
|
|
2344
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2275
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.browser.js
|
|
2345
2276
|
var require_unstable_rethrow_browser = __commonJS({
|
|
2346
|
-
"../../node_modules/.pnpm/next@16.
|
|
2277
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.browser.js"(exports2, module2) {
|
|
2347
2278
|
"use strict";
|
|
2348
2279
|
Object.defineProperty(exports2, "__esModule", {
|
|
2349
2280
|
value: true
|
|
@@ -2372,9 +2303,9 @@ var require_unstable_rethrow_browser = __commonJS({
|
|
|
2372
2303
|
}
|
|
2373
2304
|
});
|
|
2374
2305
|
|
|
2375
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2306
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.js
|
|
2376
2307
|
var require_unstable_rethrow = __commonJS({
|
|
2377
|
-
"../../node_modules/.pnpm/next@16.
|
|
2308
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/unstable-rethrow.js"(exports2, module2) {
|
|
2378
2309
|
"use strict";
|
|
2379
2310
|
Object.defineProperty(exports2, "__esModule", {
|
|
2380
2311
|
value: true
|
|
@@ -2394,9 +2325,9 @@ var require_unstable_rethrow = __commonJS({
|
|
|
2394
2325
|
}
|
|
2395
2326
|
});
|
|
2396
2327
|
|
|
2397
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2328
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/navigation.react-server.js
|
|
2398
2329
|
var require_navigation_react_server = __commonJS({
|
|
2399
|
-
"../../node_modules/.pnpm/next@16.
|
|
2330
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/navigation.react-server.js"(exports2, module2) {
|
|
2400
2331
|
"use strict";
|
|
2401
2332
|
Object.defineProperty(exports2, "__esModule", {
|
|
2402
2333
|
value: true
|
|
@@ -2458,9 +2389,9 @@ var require_navigation_react_server = __commonJS({
|
|
|
2458
2389
|
}
|
|
2459
2390
|
});
|
|
2460
2391
|
|
|
2461
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2392
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/navigation.js
|
|
2462
2393
|
var require_navigation = __commonJS({
|
|
2463
|
-
"../../node_modules/.pnpm/next@16.
|
|
2394
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/navigation.js"(exports2, module2) {
|
|
2464
2395
|
"use strict";
|
|
2465
2396
|
Object.defineProperty(exports2, "__esModule", {
|
|
2466
2397
|
value: true
|
|
@@ -2472,8 +2403,10 @@ var require_navigation = __commonJS({
|
|
|
2472
2403
|
});
|
|
2473
2404
|
}
|
|
2474
2405
|
_export(exports2, {
|
|
2406
|
+
// We need the same class that was used to instantiate the context value
|
|
2407
|
+
// Otherwise instanceof checks will fail in usercode
|
|
2475
2408
|
ReadonlyURLSearchParams: function() {
|
|
2476
|
-
return
|
|
2409
|
+
return _hooksclientcontextsharedruntime.ReadonlyURLSearchParams;
|
|
2477
2410
|
},
|
|
2478
2411
|
RedirectType: function() {
|
|
2479
2412
|
return _navigationreactserver.RedirectType;
|
|
@@ -2529,20 +2462,19 @@ var require_navigation = __commonJS({
|
|
|
2529
2462
|
var _approutercontextsharedruntime = require_app_router_context_shared_runtime();
|
|
2530
2463
|
var _hooksclientcontextsharedruntime = require_hooks_client_context_shared_runtime();
|
|
2531
2464
|
var _segment = require_segment();
|
|
2532
|
-
var _readonlyurlsearchparams = require_readonly_url_search_params();
|
|
2533
2465
|
var _serverinsertedhtmlsharedruntime = require_server_inserted_html_shared_runtime();
|
|
2534
2466
|
var _unrecognizedactionerror = require_unrecognized_action_error();
|
|
2535
2467
|
var _navigationreactserver = require_navigation_react_server();
|
|
2536
2468
|
var useDynamicRouteParams = typeof window === "undefined" ? require_dynamic_rendering().useDynamicRouteParams : void 0;
|
|
2537
2469
|
var useDynamicSearchParams = typeof window === "undefined" ? require_dynamic_rendering().useDynamicSearchParams : void 0;
|
|
2538
2470
|
function useSearchParams() {
|
|
2539
|
-
useDynamicSearchParams
|
|
2471
|
+
useDynamicSearchParams?.("useSearchParams()");
|
|
2540
2472
|
const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);
|
|
2541
2473
|
const readonlySearchParams = (0, _react.useMemo)(() => {
|
|
2542
2474
|
if (!searchParams) {
|
|
2543
2475
|
return null;
|
|
2544
2476
|
}
|
|
2545
|
-
return new
|
|
2477
|
+
return new _hooksclientcontextsharedruntime.ReadonlyURLSearchParams(searchParams);
|
|
2546
2478
|
}, [
|
|
2547
2479
|
searchParams
|
|
2548
2480
|
]);
|
|
@@ -2555,7 +2487,7 @@ var require_navigation = __commonJS({
|
|
|
2555
2487
|
return readonlySearchParams;
|
|
2556
2488
|
}
|
|
2557
2489
|
function usePathname2() {
|
|
2558
|
-
useDynamicRouteParams
|
|
2490
|
+
useDynamicRouteParams?.("usePathname()");
|
|
2559
2491
|
const pathname = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);
|
|
2560
2492
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2561
2493
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
@@ -2577,7 +2509,7 @@ var require_navigation = __commonJS({
|
|
|
2577
2509
|
return router;
|
|
2578
2510
|
}
|
|
2579
2511
|
function useParams() {
|
|
2580
|
-
useDynamicRouteParams
|
|
2512
|
+
useDynamicRouteParams?.("useParams()");
|
|
2581
2513
|
const params = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);
|
|
2582
2514
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2583
2515
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
@@ -2588,14 +2520,13 @@ var require_navigation = __commonJS({
|
|
|
2588
2520
|
return params;
|
|
2589
2521
|
}
|
|
2590
2522
|
function useSelectedLayoutSegments(parallelRouteKey = "children") {
|
|
2591
|
-
|
|
2592
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams("useSelectedLayoutSegments()");
|
|
2523
|
+
useDynamicRouteParams?.("useSelectedLayoutSegments()");
|
|
2593
2524
|
const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);
|
|
2594
2525
|
if (!context) return null;
|
|
2595
2526
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2596
2527
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
2597
2528
|
if (navigationPromises) {
|
|
2598
|
-
const promise =
|
|
2529
|
+
const promise = navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey);
|
|
2599
2530
|
if (promise) {
|
|
2600
2531
|
return (0, _react.use)(promise);
|
|
2601
2532
|
}
|
|
@@ -2604,12 +2535,11 @@ var require_navigation = __commonJS({
|
|
|
2604
2535
|
return (0, _segment.getSelectedLayoutSegmentPath)(context.parentTree, parallelRouteKey);
|
|
2605
2536
|
}
|
|
2606
2537
|
function useSelectedLayoutSegment(parallelRouteKey = "children") {
|
|
2607
|
-
|
|
2608
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams("useSelectedLayoutSegment()");
|
|
2538
|
+
useDynamicRouteParams?.("useSelectedLayoutSegment()");
|
|
2609
2539
|
const navigationPromises = (0, _react.useContext)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
2610
2540
|
const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);
|
|
2611
2541
|
if (process.env.NODE_ENV !== "production" && navigationPromises && "use" in _react.default) {
|
|
2612
|
-
const promise =
|
|
2542
|
+
const promise = navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey);
|
|
2613
2543
|
if (promise) {
|
|
2614
2544
|
return (0, _react.use)(promise);
|
|
2615
2545
|
}
|
|
@@ -2624,9 +2554,9 @@ var require_navigation = __commonJS({
|
|
|
2624
2554
|
}
|
|
2625
2555
|
});
|
|
2626
2556
|
|
|
2627
|
-
// ../../node_modules/.pnpm/next@16.
|
|
2557
|
+
// ../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/navigation.js
|
|
2628
2558
|
var require_navigation2 = __commonJS({
|
|
2629
|
-
"../../node_modules/.pnpm/next@16.
|
|
2559
|
+
"../../node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/navigation.js"(exports2, module2) {
|
|
2630
2560
|
"use strict";
|
|
2631
2561
|
module2.exports = require_navigation();
|
|
2632
2562
|
}
|
|
@@ -2655,32 +2585,21 @@ var import_eds_icons = require("@equinor/eds-icons");
|
|
|
2655
2585
|
var import_eds_tokens = require("@equinor/eds-tokens");
|
|
2656
2586
|
var import_styled_components = __toESM(require("styled-components"));
|
|
2657
2587
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
2658
|
-
function TopBar(
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
"appName",
|
|
2672
|
-
"logoLink",
|
|
2673
|
-
"sideMenuOpen",
|
|
2674
|
-
"setSideMenuOpen",
|
|
2675
|
-
"feedbackLink",
|
|
2676
|
-
"documentationLink",
|
|
2677
|
-
"documentationName",
|
|
2678
|
-
"userMenu",
|
|
2679
|
-
"logoPath",
|
|
2680
|
-
"logoAlt"
|
|
2681
|
-
]);
|
|
2588
|
+
function TopBar({
|
|
2589
|
+
appName,
|
|
2590
|
+
logoLink,
|
|
2591
|
+
sideMenuOpen,
|
|
2592
|
+
setSideMenuOpen,
|
|
2593
|
+
feedbackLink,
|
|
2594
|
+
documentationLink,
|
|
2595
|
+
documentationName = "Documentation",
|
|
2596
|
+
userMenu,
|
|
2597
|
+
logoPath = ".",
|
|
2598
|
+
logoAlt = "logo",
|
|
2599
|
+
...edsTopBarProps
|
|
2600
|
+
}) {
|
|
2682
2601
|
const hasSideMenu = setSideMenuOpen && sideMenuOpen !== void 0;
|
|
2683
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(StyledEDSTopBar,
|
|
2602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(StyledEDSTopBar, { ...edsTopBarProps, children: [
|
|
2684
2603
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_eds_core_react.TopBar.Header, { style: { padding: 0 }, children: [
|
|
2685
2604
|
hasSideMenu && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2686
2605
|
import_eds_core_react.Button,
|
|
@@ -2704,7 +2623,7 @@ function TopBar(_a) {
|
|
|
2704
2623
|
] }),
|
|
2705
2624
|
userMenu
|
|
2706
2625
|
] }) })
|
|
2707
|
-
] })
|
|
2626
|
+
] });
|
|
2708
2627
|
}
|
|
2709
2628
|
var StyledEDSTopBar = (0, import_styled_components.default)(import_eds_core_react.TopBar)`
|
|
2710
2629
|
border-color: var(--cpl-top-bar-border-color);
|
|
@@ -2813,7 +2732,7 @@ var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
|
2813
2732
|
var usePathname;
|
|
2814
2733
|
try {
|
|
2815
2734
|
usePathname = require_navigation2().usePathname;
|
|
2816
|
-
} catch
|
|
2735
|
+
} catch {
|
|
2817
2736
|
}
|
|
2818
2737
|
function MenuLink({
|
|
2819
2738
|
item,
|
|
@@ -2821,10 +2740,9 @@ function MenuLink({
|
|
|
2821
2740
|
appUrls,
|
|
2822
2741
|
linkComponent: LinkComponent
|
|
2823
2742
|
}) {
|
|
2824
|
-
|
|
2825
|
-
const
|
|
2826
|
-
const
|
|
2827
|
-
const nextPathName = usePathname == null ? void 0 : usePathname();
|
|
2743
|
+
const urlByNameAndEnvironment = useAppUrlByNameAndEnvironment(item.appName, environment, appUrls) ?? "";
|
|
2744
|
+
const url = item?.url ?? urlByNameAndEnvironment;
|
|
2745
|
+
const nextPathName = usePathname?.();
|
|
2828
2746
|
let isActive = !item.external && nextPathName == item.url;
|
|
2829
2747
|
const linkContent = /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { children: [
|
|
2830
2748
|
item.name,
|
|
@@ -2980,7 +2898,6 @@ function SideMenu({
|
|
|
2980
2898
|
appUrls,
|
|
2981
2899
|
linkComponent
|
|
2982
2900
|
}) {
|
|
2983
|
-
var _a;
|
|
2984
2901
|
const width = "268px";
|
|
2985
2902
|
const [hasOverflow, setHasOverflow] = (0, import_react.useState)(false);
|
|
2986
2903
|
const [scrolledDown, setScrolledDown] = (0, import_react.useState)(false);
|
|
@@ -2992,9 +2909,10 @@ function SideMenu({
|
|
|
2992
2909
|
}
|
|
2993
2910
|
return mainMenuItems.map((menuItem) => {
|
|
2994
2911
|
if ("items" in menuItem) {
|
|
2995
|
-
return
|
|
2912
|
+
return {
|
|
2913
|
+
...menuItem,
|
|
2996
2914
|
isExpanded: menuItem.items.some((item) => pathname === item.url)
|
|
2997
|
-
}
|
|
2915
|
+
};
|
|
2998
2916
|
}
|
|
2999
2917
|
return menuItem;
|
|
3000
2918
|
});
|
|
@@ -3055,7 +2973,7 @@ function SideMenu({
|
|
|
3055
2973
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3056
2974
|
MenuList,
|
|
3057
2975
|
{
|
|
3058
|
-
items: mainMenuItemsWithActiveCatalogue
|
|
2976
|
+
items: mainMenuItemsWithActiveCatalogue ?? [],
|
|
3059
2977
|
currentEnvironment,
|
|
3060
2978
|
appUrls,
|
|
3061
2979
|
onToggleMenuGroup: checkOverflow,
|
|
@@ -3075,7 +2993,7 @@ function SideMenu({
|
|
|
3075
2993
|
color: import_eds_tokens5.tokens.colors.interactive.secondary__resting.rgba,
|
|
3076
2994
|
padding: "12px 19px 4px 19px"
|
|
3077
2995
|
},
|
|
3078
|
-
children:
|
|
2996
|
+
children: titleOtherMenuItems?.toUpperCase() ?? "OTHER SOLUTIONS"
|
|
3079
2997
|
}
|
|
3080
2998
|
),
|
|
3081
2999
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
@@ -3154,7 +3072,6 @@ var import_react2 = require("react");
|
|
|
3154
3072
|
var import_styled_components6 = __toESM(require("styled-components"));
|
|
3155
3073
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
3156
3074
|
function UserMenu({ user, logout, settingsLink, children }) {
|
|
3157
|
-
var _a, _b, _c, _d, _e;
|
|
3158
3075
|
const [isOpen, setIsOpen] = (0, import_react2.useState)(false);
|
|
3159
3076
|
const [anchorEl, setAnchorEl] = (0, import_react2.useState)(null);
|
|
3160
3077
|
const openMenu = () => {
|
|
@@ -3176,7 +3093,7 @@ function UserMenu({ user, logout, settingsLink, children }) {
|
|
|
3176
3093
|
] });
|
|
3177
3094
|
}
|
|
3178
3095
|
};
|
|
3179
|
-
const firstLetter =
|
|
3096
|
+
const firstLetter = user?.email?.[0]?.toUpperCase() ?? "-";
|
|
3180
3097
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
3181
3098
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
3182
3099
|
StyledUserButton,
|
|
@@ -3204,8 +3121,8 @@ function UserMenu({ user, logout, settingsLink, children }) {
|
|
|
3204
3121
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(IconAndTextWrapper, { children: [
|
|
3205
3122
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(LetterCircle, { children: firstLetter }),
|
|
3206
3123
|
isOpen && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
3207
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { style: { fontWeight: "bold", lineHeight: 0.9, marginBottom: 2 }, children:
|
|
3208
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { children:
|
|
3124
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { style: { fontWeight: "bold", lineHeight: 0.9, marginBottom: 2 }, children: user?.name ?? "-" }),
|
|
3125
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { children: user?.email ?? "-" })
|
|
3209
3126
|
] })
|
|
3210
3127
|
] }),
|
|
3211
3128
|
settingsLink && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_eds_core_react6.Menu.Item, { as: "a", href: settingsLink, className: "menu-item", children: [
|