@equinor/cpl-top-bar-react 1.0.1 → 1.0.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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +113 -161
- package/dist/index.mjs +113 -163
- package/package.json +23 -16
package/dist/index.mjs
CHANGED
|
@@ -1,41 +1,10 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
1
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
-
var __spreadValues = (a, b) => {
|
|
10
|
-
for (var prop in b || (b = {}))
|
|
11
|
-
if (__hasOwnProp.call(b, prop))
|
|
12
|
-
__defNormalProp(a, prop, b[prop]);
|
|
13
|
-
if (__getOwnPropSymbols)
|
|
14
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
-
if (__propIsEnum.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
17
|
-
}
|
|
18
|
-
return a;
|
|
19
|
-
};
|
|
20
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
2
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
22
3
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
23
4
|
}) : x)(function(x) {
|
|
24
5
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
25
6
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
26
7
|
});
|
|
27
|
-
var __objRest = (source, exclude) => {
|
|
28
|
-
var target = {};
|
|
29
|
-
for (var prop in source)
|
|
30
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
31
|
-
target[prop] = source[prop];
|
|
32
|
-
if (source != null && __getOwnPropSymbols)
|
|
33
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
34
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
35
|
-
target[prop] = source[prop];
|
|
36
|
-
}
|
|
37
|
-
return target;
|
|
38
|
-
};
|
|
39
8
|
var __commonJS = (cb, mod) => function __require2() {
|
|
40
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
41
10
|
};
|
|
@@ -85,9 +54,9 @@ var require_interop_require_default = __commonJS({
|
|
|
85
54
|
}
|
|
86
55
|
});
|
|
87
56
|
|
|
88
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
57
|
+
// ../../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
|
|
89
58
|
var require_app_router_context_shared_runtime = __commonJS({
|
|
90
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
59
|
+
"../../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"(exports) {
|
|
91
60
|
"use strict";
|
|
92
61
|
"use client";
|
|
93
62
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -132,9 +101,9 @@ var require_app_router_context_shared_runtime = __commonJS({
|
|
|
132
101
|
}
|
|
133
102
|
});
|
|
134
103
|
|
|
135
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
104
|
+
// ../../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
|
|
136
105
|
var require_readonly_url_search_params = __commonJS({
|
|
137
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
106
|
+
"../../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"(exports, module) {
|
|
138
107
|
"use strict";
|
|
139
108
|
Object.defineProperty(exports, "__esModule", {
|
|
140
109
|
value: true
|
|
@@ -176,9 +145,9 @@ var require_readonly_url_search_params = __commonJS({
|
|
|
176
145
|
}
|
|
177
146
|
});
|
|
178
147
|
|
|
179
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
148
|
+
// ../../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
|
|
180
149
|
var require_hooks_client_context_shared_runtime = __commonJS({
|
|
181
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
150
|
+
"../../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"(exports) {
|
|
182
151
|
"use strict";
|
|
183
152
|
"use client";
|
|
184
153
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -232,9 +201,9 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
232
201
|
}
|
|
233
202
|
});
|
|
234
203
|
|
|
235
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
204
|
+
// ../../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
|
|
236
205
|
var require_segment = __commonJS({
|
|
237
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
206
|
+
"../../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"(exports) {
|
|
238
207
|
"use strict";
|
|
239
208
|
Object.defineProperty(exports, "__esModule", {
|
|
240
209
|
value: true
|
|
@@ -299,13 +268,12 @@ var require_segment = __commonJS({
|
|
|
299
268
|
return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment;
|
|
300
269
|
}
|
|
301
270
|
function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) {
|
|
302
|
-
var _a;
|
|
303
271
|
let node;
|
|
304
272
|
if (first) {
|
|
305
273
|
node = tree[1][parallelRouteKey];
|
|
306
274
|
} else {
|
|
307
275
|
const parallelRoutes = tree[1];
|
|
308
|
-
node =
|
|
276
|
+
node = parallelRoutes.children ?? Object.values(parallelRoutes)[0];
|
|
309
277
|
}
|
|
310
278
|
if (!node) return segmentPath;
|
|
311
279
|
const segment = node[0];
|
|
@@ -322,9 +290,9 @@ var require_segment = __commonJS({
|
|
|
322
290
|
}
|
|
323
291
|
});
|
|
324
292
|
|
|
325
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
293
|
+
// ../../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
|
|
326
294
|
var require_server_inserted_html_shared_runtime = __commonJS({
|
|
327
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
295
|
+
"../../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"(exports) {
|
|
328
296
|
"use strict";
|
|
329
297
|
"use client";
|
|
330
298
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -356,9 +324,9 @@ var require_server_inserted_html_shared_runtime = __commonJS({
|
|
|
356
324
|
}
|
|
357
325
|
});
|
|
358
326
|
|
|
359
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
327
|
+
// ../../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
|
|
360
328
|
var require_unrecognized_action_error = __commonJS({
|
|
361
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
329
|
+
"../../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"(exports, module) {
|
|
362
330
|
"use strict";
|
|
363
331
|
Object.defineProperty(exports, "__esModule", {
|
|
364
332
|
value: true
|
|
@@ -394,9 +362,9 @@ var require_unrecognized_action_error = __commonJS({
|
|
|
394
362
|
}
|
|
395
363
|
});
|
|
396
364
|
|
|
397
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
365
|
+
// ../../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
|
|
398
366
|
var require_redirect_status_code = __commonJS({
|
|
399
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
367
|
+
"../../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"(exports, module) {
|
|
400
368
|
"use strict";
|
|
401
369
|
Object.defineProperty(exports, "__esModule", {
|
|
402
370
|
value: true
|
|
@@ -421,9 +389,9 @@ var require_redirect_status_code = __commonJS({
|
|
|
421
389
|
}
|
|
422
390
|
});
|
|
423
391
|
|
|
424
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
392
|
+
// ../../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
|
|
425
393
|
var require_redirect_error = __commonJS({
|
|
426
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
394
|
+
"../../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"(exports, module) {
|
|
427
395
|
"use strict";
|
|
428
396
|
Object.defineProperty(exports, "__esModule", {
|
|
429
397
|
value: true
|
|
@@ -471,9 +439,9 @@ var require_redirect_error = __commonJS({
|
|
|
471
439
|
}
|
|
472
440
|
});
|
|
473
441
|
|
|
474
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
442
|
+
// ../../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
|
|
475
443
|
var require_async_local_storage = __commonJS({
|
|
476
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
444
|
+
"../../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"(exports) {
|
|
477
445
|
"use strict";
|
|
478
446
|
Object.defineProperty(exports, "__esModule", {
|
|
479
447
|
value: true
|
|
@@ -544,9 +512,9 @@ var require_async_local_storage = __commonJS({
|
|
|
544
512
|
}
|
|
545
513
|
});
|
|
546
514
|
|
|
547
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
515
|
+
// ../../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
|
|
548
516
|
var require_action_async_storage_instance = __commonJS({
|
|
549
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
517
|
+
"../../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"(exports) {
|
|
550
518
|
"use strict";
|
|
551
519
|
Object.defineProperty(exports, "__esModule", {
|
|
552
520
|
value: true
|
|
@@ -562,9 +530,9 @@ var require_action_async_storage_instance = __commonJS({
|
|
|
562
530
|
}
|
|
563
531
|
});
|
|
564
532
|
|
|
565
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
533
|
+
// ../../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
|
|
566
534
|
var require_action_async_storage_external = __commonJS({
|
|
567
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
535
|
+
"../../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"(exports) {
|
|
568
536
|
"use strict";
|
|
569
537
|
Object.defineProperty(exports, "__esModule", {
|
|
570
538
|
value: true
|
|
@@ -579,9 +547,9 @@ var require_action_async_storage_external = __commonJS({
|
|
|
579
547
|
}
|
|
580
548
|
});
|
|
581
549
|
|
|
582
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
550
|
+
// ../../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
|
|
583
551
|
var require_redirect = __commonJS({
|
|
584
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
552
|
+
"../../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"(exports, module) {
|
|
585
553
|
"use strict";
|
|
586
554
|
Object.defineProperty(exports, "__esModule", {
|
|
587
555
|
value: true
|
|
@@ -625,8 +593,7 @@ var require_redirect = __commonJS({
|
|
|
625
593
|
return error;
|
|
626
594
|
}
|
|
627
595
|
function redirect(url, type) {
|
|
628
|
-
|
|
629
|
-
type != null ? type : type = ((_a = actionAsyncStorage == null ? void 0 : actionAsyncStorage.getStore()) == null ? void 0 : _a.isAction) ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace;
|
|
596
|
+
type ??= actionAsyncStorage?.getStore()?.isAction ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace;
|
|
630
597
|
throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.TemporaryRedirect);
|
|
631
598
|
}
|
|
632
599
|
function permanentRedirect(url, type = _redirecterror.RedirectType.replace) {
|
|
@@ -664,9 +631,9 @@ var require_redirect = __commonJS({
|
|
|
664
631
|
}
|
|
665
632
|
});
|
|
666
633
|
|
|
667
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
634
|
+
// ../../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
|
|
668
635
|
var require_http_access_fallback = __commonJS({
|
|
669
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
636
|
+
"../../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"(exports, module) {
|
|
670
637
|
"use strict";
|
|
671
638
|
Object.defineProperty(exports, "__esModule", {
|
|
672
639
|
value: true
|
|
@@ -732,9 +699,9 @@ var require_http_access_fallback = __commonJS({
|
|
|
732
699
|
}
|
|
733
700
|
});
|
|
734
701
|
|
|
735
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
702
|
+
// ../../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
|
|
736
703
|
var require_not_found = __commonJS({
|
|
737
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
704
|
+
"../../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"(exports, module) {
|
|
738
705
|
"use strict";
|
|
739
706
|
Object.defineProperty(exports, "__esModule", {
|
|
740
707
|
value: true
|
|
@@ -764,9 +731,9 @@ var require_not_found = __commonJS({
|
|
|
764
731
|
}
|
|
765
732
|
});
|
|
766
733
|
|
|
767
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
734
|
+
// ../../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
|
|
768
735
|
var require_forbidden = __commonJS({
|
|
769
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
736
|
+
"../../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"(exports, module) {
|
|
770
737
|
"use strict";
|
|
771
738
|
Object.defineProperty(exports, "__esModule", {
|
|
772
739
|
value: true
|
|
@@ -803,9 +770,9 @@ var require_forbidden = __commonJS({
|
|
|
803
770
|
}
|
|
804
771
|
});
|
|
805
772
|
|
|
806
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
773
|
+
// ../../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
|
|
807
774
|
var require_unauthorized = __commonJS({
|
|
808
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
775
|
+
"../../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"(exports, module) {
|
|
809
776
|
"use strict";
|
|
810
777
|
Object.defineProperty(exports, "__esModule", {
|
|
811
778
|
value: true
|
|
@@ -842,9 +809,9 @@ var require_unauthorized = __commonJS({
|
|
|
842
809
|
}
|
|
843
810
|
});
|
|
844
811
|
|
|
845
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
812
|
+
// ../../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
|
|
846
813
|
var require_dynamic_rendering_utils = __commonJS({
|
|
847
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
814
|
+
"../../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"(exports) {
|
|
848
815
|
"use strict";
|
|
849
816
|
Object.defineProperty(exports, "__esModule", {
|
|
850
817
|
value: true
|
|
@@ -921,9 +888,9 @@ var require_dynamic_rendering_utils = __commonJS({
|
|
|
921
888
|
}
|
|
922
889
|
});
|
|
923
890
|
|
|
924
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
891
|
+
// ../../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
|
|
925
892
|
var require_is_postpone = __commonJS({
|
|
926
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
893
|
+
"../../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"(exports) {
|
|
927
894
|
"use strict";
|
|
928
895
|
Object.defineProperty(exports, "__esModule", {
|
|
929
896
|
value: true
|
|
@@ -941,9 +908,9 @@ var require_is_postpone = __commonJS({
|
|
|
941
908
|
}
|
|
942
909
|
});
|
|
943
910
|
|
|
944
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
911
|
+
// ../../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
|
|
945
912
|
var require_bailout_to_csr = __commonJS({
|
|
946
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
913
|
+
"../../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"(exports) {
|
|
947
914
|
"use strict";
|
|
948
915
|
Object.defineProperty(exports, "__esModule", {
|
|
949
916
|
value: true
|
|
@@ -977,9 +944,9 @@ var require_bailout_to_csr = __commonJS({
|
|
|
977
944
|
}
|
|
978
945
|
});
|
|
979
946
|
|
|
980
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
947
|
+
// ../../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
|
|
981
948
|
var require_is_next_router_error = __commonJS({
|
|
982
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
949
|
+
"../../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"(exports, module) {
|
|
983
950
|
"use strict";
|
|
984
951
|
Object.defineProperty(exports, "__esModule", {
|
|
985
952
|
value: true
|
|
@@ -1003,9 +970,9 @@ var require_is_next_router_error = __commonJS({
|
|
|
1003
970
|
}
|
|
1004
971
|
});
|
|
1005
972
|
|
|
1006
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
973
|
+
// ../../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
|
|
1007
974
|
var require_hooks_server_context = __commonJS({
|
|
1008
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
975
|
+
"../../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"(exports, module) {
|
|
1009
976
|
"use strict";
|
|
1010
977
|
Object.defineProperty(exports, "__esModule", {
|
|
1011
978
|
value: true
|
|
@@ -1044,9 +1011,9 @@ var require_hooks_server_context = __commonJS({
|
|
|
1044
1011
|
}
|
|
1045
1012
|
});
|
|
1046
1013
|
|
|
1047
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1014
|
+
// ../../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
|
|
1048
1015
|
var require_static_generation_bailout = __commonJS({
|
|
1049
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1016
|
+
"../../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"(exports, module) {
|
|
1050
1017
|
"use strict";
|
|
1051
1018
|
Object.defineProperty(exports, "__esModule", {
|
|
1052
1019
|
value: true
|
|
@@ -1085,9 +1052,9 @@ var require_static_generation_bailout = __commonJS({
|
|
|
1085
1052
|
}
|
|
1086
1053
|
});
|
|
1087
1054
|
|
|
1088
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1055
|
+
// ../../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
|
|
1089
1056
|
var require_work_unit_async_storage_instance = __commonJS({
|
|
1090
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1057
|
+
"../../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"(exports) {
|
|
1091
1058
|
"use strict";
|
|
1092
1059
|
Object.defineProperty(exports, "__esModule", {
|
|
1093
1060
|
value: true
|
|
@@ -1103,9 +1070,9 @@ var require_work_unit_async_storage_instance = __commonJS({
|
|
|
1103
1070
|
}
|
|
1104
1071
|
});
|
|
1105
1072
|
|
|
1106
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1073
|
+
// ../../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
|
|
1107
1074
|
var require_app_router_headers = __commonJS({
|
|
1108
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1075
|
+
"../../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"(exports, module) {
|
|
1109
1076
|
"use strict";
|
|
1110
1077
|
Object.defineProperty(exports, "__esModule", {
|
|
1111
1078
|
value: true
|
|
@@ -1212,9 +1179,9 @@ var require_app_router_headers = __commonJS({
|
|
|
1212
1179
|
}
|
|
1213
1180
|
});
|
|
1214
1181
|
|
|
1215
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1182
|
+
// ../../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
|
|
1216
1183
|
var require_invariant_error = __commonJS({
|
|
1217
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1184
|
+
"../../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"(exports) {
|
|
1218
1185
|
"use strict";
|
|
1219
1186
|
Object.defineProperty(exports, "__esModule", {
|
|
1220
1187
|
value: true
|
|
@@ -1234,9 +1201,9 @@ var require_invariant_error = __commonJS({
|
|
|
1234
1201
|
}
|
|
1235
1202
|
});
|
|
1236
1203
|
|
|
1237
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1204
|
+
// ../../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
|
|
1238
1205
|
var require_work_unit_async_storage_external = __commonJS({
|
|
1239
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1206
|
+
"../../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"(exports) {
|
|
1240
1207
|
"use strict";
|
|
1241
1208
|
Object.defineProperty(exports, "__esModule", {
|
|
1242
1209
|
value: true
|
|
@@ -1322,7 +1289,6 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1322
1289
|
}
|
|
1323
1290
|
}
|
|
1324
1291
|
function getRenderResumeDataCache(workUnitStore) {
|
|
1325
|
-
var _a;
|
|
1326
1292
|
switch (workUnitStore.type) {
|
|
1327
1293
|
case "request":
|
|
1328
1294
|
case "prerender":
|
|
@@ -1333,7 +1299,7 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1333
1299
|
}
|
|
1334
1300
|
// fallthrough
|
|
1335
1301
|
case "prerender-ppr":
|
|
1336
|
-
return
|
|
1302
|
+
return workUnitStore.prerenderResumeDataCache ?? null;
|
|
1337
1303
|
case "cache":
|
|
1338
1304
|
case "private-cache":
|
|
1339
1305
|
case "unstable-cache":
|
|
@@ -1366,13 +1332,12 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1366
1332
|
return void 0;
|
|
1367
1333
|
}
|
|
1368
1334
|
function isHmrRefresh(workStore, workUnitStore) {
|
|
1369
|
-
var _a;
|
|
1370
1335
|
if (workStore.dev) {
|
|
1371
1336
|
switch (workUnitStore.type) {
|
|
1372
1337
|
case "cache":
|
|
1373
1338
|
case "private-cache":
|
|
1374
1339
|
case "request":
|
|
1375
|
-
return
|
|
1340
|
+
return workUnitStore.isHmrRefresh ?? false;
|
|
1376
1341
|
case "prerender":
|
|
1377
1342
|
case "prerender-client":
|
|
1378
1343
|
case "prerender-runtime":
|
|
@@ -1467,9 +1432,9 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1467
1432
|
}
|
|
1468
1433
|
});
|
|
1469
1434
|
|
|
1470
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1435
|
+
// ../../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
|
|
1471
1436
|
var require_work_async_storage_instance = __commonJS({
|
|
1472
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1437
|
+
"../../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"(exports) {
|
|
1473
1438
|
"use strict";
|
|
1474
1439
|
Object.defineProperty(exports, "__esModule", {
|
|
1475
1440
|
value: true
|
|
@@ -1485,9 +1450,9 @@ var require_work_async_storage_instance = __commonJS({
|
|
|
1485
1450
|
}
|
|
1486
1451
|
});
|
|
1487
1452
|
|
|
1488
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1453
|
+
// ../../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
|
|
1489
1454
|
var require_work_async_storage_external = __commonJS({
|
|
1490
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1455
|
+
"../../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"(exports) {
|
|
1491
1456
|
"use strict";
|
|
1492
1457
|
Object.defineProperty(exports, "__esModule", {
|
|
1493
1458
|
value: true
|
|
@@ -1502,9 +1467,9 @@ var require_work_async_storage_external = __commonJS({
|
|
|
1502
1467
|
}
|
|
1503
1468
|
});
|
|
1504
1469
|
|
|
1505
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1470
|
+
// ../../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
|
|
1506
1471
|
var require_boundary_constants = __commonJS({
|
|
1507
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1472
|
+
"../../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"(exports) {
|
|
1508
1473
|
"use strict";
|
|
1509
1474
|
Object.defineProperty(exports, "__esModule", {
|
|
1510
1475
|
value: true
|
|
@@ -1536,9 +1501,9 @@ var require_boundary_constants = __commonJS({
|
|
|
1536
1501
|
}
|
|
1537
1502
|
});
|
|
1538
1503
|
|
|
1539
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1504
|
+
// ../../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
|
|
1540
1505
|
var require_scheduler = __commonJS({
|
|
1541
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1506
|
+
"../../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"(exports) {
|
|
1542
1507
|
"use strict";
|
|
1543
1508
|
Object.defineProperty(exports, "__esModule", {
|
|
1544
1509
|
value: true
|
|
@@ -1592,9 +1557,9 @@ var require_scheduler = __commonJS({
|
|
|
1592
1557
|
}
|
|
1593
1558
|
});
|
|
1594
1559
|
|
|
1595
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1560
|
+
// ../../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
|
|
1596
1561
|
var require_dynamic_rendering = __commonJS({
|
|
1597
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
1562
|
+
"../../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"(exports) {
|
|
1598
1563
|
"use strict";
|
|
1599
1564
|
Object.defineProperty(exports, "__esModule", {
|
|
1600
1565
|
value: true
|
|
@@ -2251,9 +2216,9 @@ ${stack}`;
|
|
|
2251
2216
|
}
|
|
2252
2217
|
});
|
|
2253
2218
|
|
|
2254
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2219
|
+
// ../../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
|
|
2255
2220
|
var require_unstable_rethrow_server = __commonJS({
|
|
2256
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2221
|
+
"../../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"(exports, module) {
|
|
2257
2222
|
"use strict";
|
|
2258
2223
|
Object.defineProperty(exports, "__esModule", {
|
|
2259
2224
|
value: true
|
|
@@ -2286,9 +2251,9 @@ var require_unstable_rethrow_server = __commonJS({
|
|
|
2286
2251
|
}
|
|
2287
2252
|
});
|
|
2288
2253
|
|
|
2289
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2254
|
+
// ../../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
|
|
2290
2255
|
var require_unstable_rethrow_browser = __commonJS({
|
|
2291
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2256
|
+
"../../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"(exports, module) {
|
|
2292
2257
|
"use strict";
|
|
2293
2258
|
Object.defineProperty(exports, "__esModule", {
|
|
2294
2259
|
value: true
|
|
@@ -2317,9 +2282,9 @@ var require_unstable_rethrow_browser = __commonJS({
|
|
|
2317
2282
|
}
|
|
2318
2283
|
});
|
|
2319
2284
|
|
|
2320
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2285
|
+
// ../../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
|
|
2321
2286
|
var require_unstable_rethrow = __commonJS({
|
|
2322
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2287
|
+
"../../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"(exports, module) {
|
|
2323
2288
|
"use strict";
|
|
2324
2289
|
Object.defineProperty(exports, "__esModule", {
|
|
2325
2290
|
value: true
|
|
@@ -2339,9 +2304,9 @@ var require_unstable_rethrow = __commonJS({
|
|
|
2339
2304
|
}
|
|
2340
2305
|
});
|
|
2341
2306
|
|
|
2342
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2307
|
+
// ../../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
|
|
2343
2308
|
var require_navigation_react_server = __commonJS({
|
|
2344
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2309
|
+
"../../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"(exports, module) {
|
|
2345
2310
|
"use strict";
|
|
2346
2311
|
Object.defineProperty(exports, "__esModule", {
|
|
2347
2312
|
value: true
|
|
@@ -2403,9 +2368,9 @@ var require_navigation_react_server = __commonJS({
|
|
|
2403
2368
|
}
|
|
2404
2369
|
});
|
|
2405
2370
|
|
|
2406
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2371
|
+
// ../../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
|
|
2407
2372
|
var require_navigation = __commonJS({
|
|
2408
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2373
|
+
"../../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"(exports, module) {
|
|
2409
2374
|
"use strict";
|
|
2410
2375
|
Object.defineProperty(exports, "__esModule", {
|
|
2411
2376
|
value: true
|
|
@@ -2482,7 +2447,7 @@ var require_navigation = __commonJS({
|
|
|
2482
2447
|
var useDynamicRouteParams = typeof window === "undefined" ? require_dynamic_rendering().useDynamicRouteParams : void 0;
|
|
2483
2448
|
var useDynamicSearchParams = typeof window === "undefined" ? require_dynamic_rendering().useDynamicSearchParams : void 0;
|
|
2484
2449
|
function useSearchParams() {
|
|
2485
|
-
useDynamicSearchParams
|
|
2450
|
+
useDynamicSearchParams?.("useSearchParams()");
|
|
2486
2451
|
const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);
|
|
2487
2452
|
const readonlySearchParams = (0, _react.useMemo)(() => {
|
|
2488
2453
|
if (!searchParams) {
|
|
@@ -2501,7 +2466,7 @@ var require_navigation = __commonJS({
|
|
|
2501
2466
|
return readonlySearchParams;
|
|
2502
2467
|
}
|
|
2503
2468
|
function usePathname2() {
|
|
2504
|
-
useDynamicRouteParams
|
|
2469
|
+
useDynamicRouteParams?.("usePathname()");
|
|
2505
2470
|
const pathname = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);
|
|
2506
2471
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2507
2472
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
@@ -2523,7 +2488,7 @@ var require_navigation = __commonJS({
|
|
|
2523
2488
|
return router;
|
|
2524
2489
|
}
|
|
2525
2490
|
function useParams() {
|
|
2526
|
-
useDynamicRouteParams
|
|
2491
|
+
useDynamicRouteParams?.("useParams()");
|
|
2527
2492
|
const params = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);
|
|
2528
2493
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2529
2494
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
@@ -2534,14 +2499,13 @@ var require_navigation = __commonJS({
|
|
|
2534
2499
|
return params;
|
|
2535
2500
|
}
|
|
2536
2501
|
function useSelectedLayoutSegments(parallelRouteKey = "children") {
|
|
2537
|
-
|
|
2538
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams("useSelectedLayoutSegments()");
|
|
2502
|
+
useDynamicRouteParams?.("useSelectedLayoutSegments()");
|
|
2539
2503
|
const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);
|
|
2540
2504
|
if (!context) return null;
|
|
2541
2505
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2542
2506
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
2543
2507
|
if (navigationPromises) {
|
|
2544
|
-
const promise =
|
|
2508
|
+
const promise = navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey);
|
|
2545
2509
|
if (promise) {
|
|
2546
2510
|
return (0, _react.use)(promise);
|
|
2547
2511
|
}
|
|
@@ -2550,12 +2514,11 @@ var require_navigation = __commonJS({
|
|
|
2550
2514
|
return (0, _segment.getSelectedLayoutSegmentPath)(context.parentTree, parallelRouteKey);
|
|
2551
2515
|
}
|
|
2552
2516
|
function useSelectedLayoutSegment(parallelRouteKey = "children") {
|
|
2553
|
-
|
|
2554
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams("useSelectedLayoutSegment()");
|
|
2517
|
+
useDynamicRouteParams?.("useSelectedLayoutSegment()");
|
|
2555
2518
|
const navigationPromises = (0, _react.useContext)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
2556
2519
|
const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);
|
|
2557
2520
|
if (process.env.NODE_ENV !== "production" && navigationPromises && "use" in _react.default) {
|
|
2558
|
-
const promise =
|
|
2521
|
+
const promise = navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey);
|
|
2559
2522
|
if (promise) {
|
|
2560
2523
|
return (0, _react.use)(promise);
|
|
2561
2524
|
}
|
|
@@ -2570,9 +2533,9 @@ var require_navigation = __commonJS({
|
|
|
2570
2533
|
}
|
|
2571
2534
|
});
|
|
2572
2535
|
|
|
2573
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2536
|
+
// ../../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
|
|
2574
2537
|
var require_navigation2 = __commonJS({
|
|
2575
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
2538
|
+
"../../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"(exports, module) {
|
|
2576
2539
|
"use strict";
|
|
2577
2540
|
module.exports = require_navigation();
|
|
2578
2541
|
}
|
|
@@ -2593,32 +2556,21 @@ import { external_link, menu } from "@equinor/eds-icons";
|
|
|
2593
2556
|
import { tokens } from "@equinor/eds-tokens";
|
|
2594
2557
|
import styled from "styled-components";
|
|
2595
2558
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2596
|
-
function TopBar(
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
"appName",
|
|
2610
|
-
"logoLink",
|
|
2611
|
-
"sideMenuOpen",
|
|
2612
|
-
"setSideMenuOpen",
|
|
2613
|
-
"feedbackLink",
|
|
2614
|
-
"documentationLink",
|
|
2615
|
-
"documentationName",
|
|
2616
|
-
"userMenu",
|
|
2617
|
-
"logoPath",
|
|
2618
|
-
"logoAlt"
|
|
2619
|
-
]);
|
|
2559
|
+
function TopBar({
|
|
2560
|
+
appName,
|
|
2561
|
+
logoLink,
|
|
2562
|
+
sideMenuOpen,
|
|
2563
|
+
setSideMenuOpen,
|
|
2564
|
+
feedbackLink,
|
|
2565
|
+
documentationLink,
|
|
2566
|
+
documentationName = "Documentation",
|
|
2567
|
+
userMenu,
|
|
2568
|
+
logoPath = ".",
|
|
2569
|
+
logoAlt = "logo",
|
|
2570
|
+
...edsTopBarProps
|
|
2571
|
+
}) {
|
|
2620
2572
|
const hasSideMenu = setSideMenuOpen && sideMenuOpen !== void 0;
|
|
2621
|
-
return /* @__PURE__ */ jsxs(StyledEDSTopBar,
|
|
2573
|
+
return /* @__PURE__ */ jsxs(StyledEDSTopBar, { ...edsTopBarProps, children: [
|
|
2622
2574
|
/* @__PURE__ */ jsxs(EDSTopBar.Header, { style: { padding: 0 }, children: [
|
|
2623
2575
|
hasSideMenu && /* @__PURE__ */ jsx(
|
|
2624
2576
|
Button,
|
|
@@ -2642,7 +2594,7 @@ function TopBar(_a) {
|
|
|
2642
2594
|
] }),
|
|
2643
2595
|
userMenu
|
|
2644
2596
|
] }) })
|
|
2645
|
-
] })
|
|
2597
|
+
] });
|
|
2646
2598
|
}
|
|
2647
2599
|
var StyledEDSTopBar = styled(EDSTopBar)`
|
|
2648
2600
|
border-color: var(--cpl-top-bar-border-color);
|
|
@@ -2741,7 +2693,7 @@ function useAppUrlByNameAndEnvironment(appName, currentEnvironment, appUrls) {
|
|
|
2741
2693
|
if (currentEnvironment === "local") {
|
|
2742
2694
|
currentEnvironment = "dev";
|
|
2743
2695
|
}
|
|
2744
|
-
const configByEnvironment = appUrls[appName];
|
|
2696
|
+
const configByEnvironment = appUrls[appName] ?? {};
|
|
2745
2697
|
const appUrlInCurrentEnvironment = configByEnvironment[currentEnvironment];
|
|
2746
2698
|
return appUrlInCurrentEnvironment || "";
|
|
2747
2699
|
}
|
|
@@ -2751,7 +2703,7 @@ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
|
2751
2703
|
var usePathname;
|
|
2752
2704
|
try {
|
|
2753
2705
|
usePathname = require_navigation2().usePathname;
|
|
2754
|
-
} catch
|
|
2706
|
+
} catch {
|
|
2755
2707
|
}
|
|
2756
2708
|
function MenuLink({
|
|
2757
2709
|
item,
|
|
@@ -2759,10 +2711,9 @@ function MenuLink({
|
|
|
2759
2711
|
appUrls,
|
|
2760
2712
|
linkComponent: LinkComponent
|
|
2761
2713
|
}) {
|
|
2762
|
-
|
|
2763
|
-
const
|
|
2764
|
-
const
|
|
2765
|
-
const nextPathName = usePathname == null ? void 0 : usePathname();
|
|
2714
|
+
const urlByNameAndEnvironment = useAppUrlByNameAndEnvironment(item.appName, environment, appUrls) ?? "";
|
|
2715
|
+
const url = item?.url ?? urlByNameAndEnvironment;
|
|
2716
|
+
const nextPathName = usePathname?.();
|
|
2766
2717
|
let isActive = !item.external && nextPathName == item.url;
|
|
2767
2718
|
const linkContent = /* @__PURE__ */ jsxs4("span", { children: [
|
|
2768
2719
|
item.name,
|
|
@@ -2918,7 +2869,6 @@ function SideMenu({
|
|
|
2918
2869
|
appUrls,
|
|
2919
2870
|
linkComponent
|
|
2920
2871
|
}) {
|
|
2921
|
-
var _a;
|
|
2922
2872
|
const width = "268px";
|
|
2923
2873
|
const [hasOverflow, setHasOverflow] = useState(false);
|
|
2924
2874
|
const [scrolledDown, setScrolledDown] = useState(false);
|
|
@@ -2930,9 +2880,10 @@ function SideMenu({
|
|
|
2930
2880
|
}
|
|
2931
2881
|
return mainMenuItems.map((menuItem) => {
|
|
2932
2882
|
if ("items" in menuItem) {
|
|
2933
|
-
return
|
|
2883
|
+
return {
|
|
2884
|
+
...menuItem,
|
|
2934
2885
|
isExpanded: menuItem.items.some((item) => pathname === item.url)
|
|
2935
|
-
}
|
|
2886
|
+
};
|
|
2936
2887
|
}
|
|
2937
2888
|
return menuItem;
|
|
2938
2889
|
});
|
|
@@ -2993,7 +2944,7 @@ function SideMenu({
|
|
|
2993
2944
|
/* @__PURE__ */ jsx6(
|
|
2994
2945
|
MenuList,
|
|
2995
2946
|
{
|
|
2996
|
-
items: mainMenuItemsWithActiveCatalogue
|
|
2947
|
+
items: mainMenuItemsWithActiveCatalogue ?? [],
|
|
2997
2948
|
currentEnvironment,
|
|
2998
2949
|
appUrls,
|
|
2999
2950
|
onToggleMenuGroup: checkOverflow,
|
|
@@ -3013,7 +2964,7 @@ function SideMenu({
|
|
|
3013
2964
|
color: tokens5.colors.interactive.secondary__resting.rgba,
|
|
3014
2965
|
padding: "12px 19px 4px 19px"
|
|
3015
2966
|
},
|
|
3016
|
-
children:
|
|
2967
|
+
children: titleOtherMenuItems?.toUpperCase() ?? "OTHER SOLUTIONS"
|
|
3017
2968
|
}
|
|
3018
2969
|
),
|
|
3019
2970
|
/* @__PURE__ */ jsx6(
|
|
@@ -3092,7 +3043,6 @@ import { useState as useState2 } from "react";
|
|
|
3092
3043
|
import styled6 from "styled-components";
|
|
3093
3044
|
import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
3094
3045
|
function UserMenu({ user, logout, settingsLink, children }) {
|
|
3095
|
-
var _a, _b, _c, _d, _e;
|
|
3096
3046
|
const [isOpen, setIsOpen] = useState2(false);
|
|
3097
3047
|
const [anchorEl, setAnchorEl] = useState2(null);
|
|
3098
3048
|
const openMenu = () => {
|
|
@@ -3114,7 +3064,7 @@ function UserMenu({ user, logout, settingsLink, children }) {
|
|
|
3114
3064
|
] });
|
|
3115
3065
|
}
|
|
3116
3066
|
};
|
|
3117
|
-
const firstLetter =
|
|
3067
|
+
const firstLetter = user?.email?.[0]?.toUpperCase() ?? "-";
|
|
3118
3068
|
return /* @__PURE__ */ jsxs7(Fragment2, { children: [
|
|
3119
3069
|
/* @__PURE__ */ jsx7(
|
|
3120
3070
|
StyledUserButton,
|
|
@@ -3142,8 +3092,8 @@ function UserMenu({ user, logout, settingsLink, children }) {
|
|
|
3142
3092
|
/* @__PURE__ */ jsxs7(IconAndTextWrapper, { children: [
|
|
3143
3093
|
/* @__PURE__ */ jsx7(LetterCircle, { children: firstLetter }),
|
|
3144
3094
|
isOpen && /* @__PURE__ */ jsxs7("div", { children: [
|
|
3145
|
-
/* @__PURE__ */ jsx7("div", { style: { fontWeight: "bold", lineHeight: 0.9, marginBottom: 2 }, children:
|
|
3146
|
-
/* @__PURE__ */ jsx7("div", { children:
|
|
3095
|
+
/* @__PURE__ */ jsx7("div", { style: { fontWeight: "bold", lineHeight: 0.9, marginBottom: 2 }, children: user?.name ?? "-" }),
|
|
3096
|
+
/* @__PURE__ */ jsx7("div", { children: user?.email ?? "-" })
|
|
3147
3097
|
] })
|
|
3148
3098
|
] }),
|
|
3149
3099
|
settingsLink && /* @__PURE__ */ jsxs7(Menu.Item, { as: "a", href: settingsLink, className: "menu-item", children: [
|