@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.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.1.6_@playwright+test@1.58.
|
|
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.1.6_@playwright+test@1.58.
|
|
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,9 @@ var require_app_router_context_shared_runtime = __commonJS({
|
|
|
151
122
|
}
|
|
152
123
|
});
|
|
153
124
|
|
|
154
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
155
126
|
var require_readonly_url_search_params = __commonJS({
|
|
156
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
157
128
|
"use strict";
|
|
158
129
|
Object.defineProperty(exports2, "__esModule", {
|
|
159
130
|
value: true
|
|
@@ -195,9 +166,9 @@ var require_readonly_url_search_params = __commonJS({
|
|
|
195
166
|
}
|
|
196
167
|
});
|
|
197
168
|
|
|
198
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
199
170
|
var require_hooks_client_context_shared_runtime = __commonJS({
|
|
200
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
201
172
|
"use strict";
|
|
202
173
|
"use client";
|
|
203
174
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -251,9 +222,9 @@ var require_hooks_client_context_shared_runtime = __commonJS({
|
|
|
251
222
|
}
|
|
252
223
|
});
|
|
253
224
|
|
|
254
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
255
226
|
var require_segment = __commonJS({
|
|
256
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
257
228
|
"use strict";
|
|
258
229
|
Object.defineProperty(exports2, "__esModule", {
|
|
259
230
|
value: true
|
|
@@ -318,13 +289,12 @@ var require_segment = __commonJS({
|
|
|
318
289
|
return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment;
|
|
319
290
|
}
|
|
320
291
|
function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) {
|
|
321
|
-
var _a;
|
|
322
292
|
let node;
|
|
323
293
|
if (first) {
|
|
324
294
|
node = tree[1][parallelRouteKey];
|
|
325
295
|
} else {
|
|
326
296
|
const parallelRoutes = tree[1];
|
|
327
|
-
node =
|
|
297
|
+
node = parallelRoutes.children ?? Object.values(parallelRoutes)[0];
|
|
328
298
|
}
|
|
329
299
|
if (!node) return segmentPath;
|
|
330
300
|
const segment = node[0];
|
|
@@ -341,9 +311,9 @@ var require_segment = __commonJS({
|
|
|
341
311
|
}
|
|
342
312
|
});
|
|
343
313
|
|
|
344
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
345
315
|
var require_server_inserted_html_shared_runtime = __commonJS({
|
|
346
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
347
317
|
"use strict";
|
|
348
318
|
"use client";
|
|
349
319
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -375,9 +345,9 @@ var require_server_inserted_html_shared_runtime = __commonJS({
|
|
|
375
345
|
}
|
|
376
346
|
});
|
|
377
347
|
|
|
378
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
379
349
|
var require_unrecognized_action_error = __commonJS({
|
|
380
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
381
351
|
"use strict";
|
|
382
352
|
Object.defineProperty(exports2, "__esModule", {
|
|
383
353
|
value: true
|
|
@@ -413,9 +383,9 @@ var require_unrecognized_action_error = __commonJS({
|
|
|
413
383
|
}
|
|
414
384
|
});
|
|
415
385
|
|
|
416
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
417
387
|
var require_redirect_status_code = __commonJS({
|
|
418
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
419
389
|
"use strict";
|
|
420
390
|
Object.defineProperty(exports2, "__esModule", {
|
|
421
391
|
value: true
|
|
@@ -440,9 +410,9 @@ var require_redirect_status_code = __commonJS({
|
|
|
440
410
|
}
|
|
441
411
|
});
|
|
442
412
|
|
|
443
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
444
414
|
var require_redirect_error = __commonJS({
|
|
445
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
446
416
|
"use strict";
|
|
447
417
|
Object.defineProperty(exports2, "__esModule", {
|
|
448
418
|
value: true
|
|
@@ -490,9 +460,9 @@ var require_redirect_error = __commonJS({
|
|
|
490
460
|
}
|
|
491
461
|
});
|
|
492
462
|
|
|
493
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
494
464
|
var require_async_local_storage = __commonJS({
|
|
495
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
496
466
|
"use strict";
|
|
497
467
|
Object.defineProperty(exports2, "__esModule", {
|
|
498
468
|
value: true
|
|
@@ -563,9 +533,9 @@ var require_async_local_storage = __commonJS({
|
|
|
563
533
|
}
|
|
564
534
|
});
|
|
565
535
|
|
|
566
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
567
537
|
var require_action_async_storage_instance = __commonJS({
|
|
568
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
569
539
|
"use strict";
|
|
570
540
|
Object.defineProperty(exports2, "__esModule", {
|
|
571
541
|
value: true
|
|
@@ -581,9 +551,9 @@ var require_action_async_storage_instance = __commonJS({
|
|
|
581
551
|
}
|
|
582
552
|
});
|
|
583
553
|
|
|
584
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
585
555
|
var require_action_async_storage_external = __commonJS({
|
|
586
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
587
557
|
"use strict";
|
|
588
558
|
Object.defineProperty(exports2, "__esModule", {
|
|
589
559
|
value: true
|
|
@@ -598,9 +568,9 @@ var require_action_async_storage_external = __commonJS({
|
|
|
598
568
|
}
|
|
599
569
|
});
|
|
600
570
|
|
|
601
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
602
572
|
var require_redirect = __commonJS({
|
|
603
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
604
574
|
"use strict";
|
|
605
575
|
Object.defineProperty(exports2, "__esModule", {
|
|
606
576
|
value: true
|
|
@@ -644,8 +614,7 @@ var require_redirect = __commonJS({
|
|
|
644
614
|
return error;
|
|
645
615
|
}
|
|
646
616
|
function redirect(url, type) {
|
|
647
|
-
|
|
648
|
-
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;
|
|
649
618
|
throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.TemporaryRedirect);
|
|
650
619
|
}
|
|
651
620
|
function permanentRedirect(url, type = _redirecterror.RedirectType.replace) {
|
|
@@ -683,9 +652,9 @@ var require_redirect = __commonJS({
|
|
|
683
652
|
}
|
|
684
653
|
});
|
|
685
654
|
|
|
686
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
687
656
|
var require_http_access_fallback = __commonJS({
|
|
688
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
689
658
|
"use strict";
|
|
690
659
|
Object.defineProperty(exports2, "__esModule", {
|
|
691
660
|
value: true
|
|
@@ -751,9 +720,9 @@ var require_http_access_fallback = __commonJS({
|
|
|
751
720
|
}
|
|
752
721
|
});
|
|
753
722
|
|
|
754
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
755
724
|
var require_not_found = __commonJS({
|
|
756
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
757
726
|
"use strict";
|
|
758
727
|
Object.defineProperty(exports2, "__esModule", {
|
|
759
728
|
value: true
|
|
@@ -783,9 +752,9 @@ var require_not_found = __commonJS({
|
|
|
783
752
|
}
|
|
784
753
|
});
|
|
785
754
|
|
|
786
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
787
756
|
var require_forbidden = __commonJS({
|
|
788
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
789
758
|
"use strict";
|
|
790
759
|
Object.defineProperty(exports2, "__esModule", {
|
|
791
760
|
value: true
|
|
@@ -822,9 +791,9 @@ var require_forbidden = __commonJS({
|
|
|
822
791
|
}
|
|
823
792
|
});
|
|
824
793
|
|
|
825
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
826
795
|
var require_unauthorized = __commonJS({
|
|
827
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
828
797
|
"use strict";
|
|
829
798
|
Object.defineProperty(exports2, "__esModule", {
|
|
830
799
|
value: true
|
|
@@ -861,9 +830,9 @@ var require_unauthorized = __commonJS({
|
|
|
861
830
|
}
|
|
862
831
|
});
|
|
863
832
|
|
|
864
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
865
834
|
var require_dynamic_rendering_utils = __commonJS({
|
|
866
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
867
836
|
"use strict";
|
|
868
837
|
Object.defineProperty(exports2, "__esModule", {
|
|
869
838
|
value: true
|
|
@@ -940,9 +909,9 @@ var require_dynamic_rendering_utils = __commonJS({
|
|
|
940
909
|
}
|
|
941
910
|
});
|
|
942
911
|
|
|
943
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
944
913
|
var require_is_postpone = __commonJS({
|
|
945
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
946
915
|
"use strict";
|
|
947
916
|
Object.defineProperty(exports2, "__esModule", {
|
|
948
917
|
value: true
|
|
@@ -960,9 +929,9 @@ var require_is_postpone = __commonJS({
|
|
|
960
929
|
}
|
|
961
930
|
});
|
|
962
931
|
|
|
963
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
964
933
|
var require_bailout_to_csr = __commonJS({
|
|
965
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
966
935
|
"use strict";
|
|
967
936
|
Object.defineProperty(exports2, "__esModule", {
|
|
968
937
|
value: true
|
|
@@ -996,9 +965,9 @@ var require_bailout_to_csr = __commonJS({
|
|
|
996
965
|
}
|
|
997
966
|
});
|
|
998
967
|
|
|
999
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1000
969
|
var require_is_next_router_error = __commonJS({
|
|
1001
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1002
971
|
"use strict";
|
|
1003
972
|
Object.defineProperty(exports2, "__esModule", {
|
|
1004
973
|
value: true
|
|
@@ -1022,9 +991,9 @@ var require_is_next_router_error = __commonJS({
|
|
|
1022
991
|
}
|
|
1023
992
|
});
|
|
1024
993
|
|
|
1025
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1026
995
|
var require_hooks_server_context = __commonJS({
|
|
1027
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1028
997
|
"use strict";
|
|
1029
998
|
Object.defineProperty(exports2, "__esModule", {
|
|
1030
999
|
value: true
|
|
@@ -1063,9 +1032,9 @@ var require_hooks_server_context = __commonJS({
|
|
|
1063
1032
|
}
|
|
1064
1033
|
});
|
|
1065
1034
|
|
|
1066
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1067
1036
|
var require_static_generation_bailout = __commonJS({
|
|
1068
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1069
1038
|
"use strict";
|
|
1070
1039
|
Object.defineProperty(exports2, "__esModule", {
|
|
1071
1040
|
value: true
|
|
@@ -1104,9 +1073,9 @@ var require_static_generation_bailout = __commonJS({
|
|
|
1104
1073
|
}
|
|
1105
1074
|
});
|
|
1106
1075
|
|
|
1107
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1108
1077
|
var require_work_unit_async_storage_instance = __commonJS({
|
|
1109
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1110
1079
|
"use strict";
|
|
1111
1080
|
Object.defineProperty(exports2, "__esModule", {
|
|
1112
1081
|
value: true
|
|
@@ -1122,9 +1091,9 @@ var require_work_unit_async_storage_instance = __commonJS({
|
|
|
1122
1091
|
}
|
|
1123
1092
|
});
|
|
1124
1093
|
|
|
1125
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1126
1095
|
var require_app_router_headers = __commonJS({
|
|
1127
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1128
1097
|
"use strict";
|
|
1129
1098
|
Object.defineProperty(exports2, "__esModule", {
|
|
1130
1099
|
value: true
|
|
@@ -1231,9 +1200,9 @@ var require_app_router_headers = __commonJS({
|
|
|
1231
1200
|
}
|
|
1232
1201
|
});
|
|
1233
1202
|
|
|
1234
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1235
1204
|
var require_invariant_error = __commonJS({
|
|
1236
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1237
1206
|
"use strict";
|
|
1238
1207
|
Object.defineProperty(exports2, "__esModule", {
|
|
1239
1208
|
value: true
|
|
@@ -1253,9 +1222,9 @@ var require_invariant_error = __commonJS({
|
|
|
1253
1222
|
}
|
|
1254
1223
|
});
|
|
1255
1224
|
|
|
1256
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1257
1226
|
var require_work_unit_async_storage_external = __commonJS({
|
|
1258
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1259
1228
|
"use strict";
|
|
1260
1229
|
Object.defineProperty(exports2, "__esModule", {
|
|
1261
1230
|
value: true
|
|
@@ -1341,7 +1310,6 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1341
1310
|
}
|
|
1342
1311
|
}
|
|
1343
1312
|
function getRenderResumeDataCache(workUnitStore) {
|
|
1344
|
-
var _a;
|
|
1345
1313
|
switch (workUnitStore.type) {
|
|
1346
1314
|
case "request":
|
|
1347
1315
|
case "prerender":
|
|
@@ -1352,7 +1320,7 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1352
1320
|
}
|
|
1353
1321
|
// fallthrough
|
|
1354
1322
|
case "prerender-ppr":
|
|
1355
|
-
return
|
|
1323
|
+
return workUnitStore.prerenderResumeDataCache ?? null;
|
|
1356
1324
|
case "cache":
|
|
1357
1325
|
case "private-cache":
|
|
1358
1326
|
case "unstable-cache":
|
|
@@ -1385,13 +1353,12 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1385
1353
|
return void 0;
|
|
1386
1354
|
}
|
|
1387
1355
|
function isHmrRefresh(workStore, workUnitStore) {
|
|
1388
|
-
var _a;
|
|
1389
1356
|
if (workStore.dev) {
|
|
1390
1357
|
switch (workUnitStore.type) {
|
|
1391
1358
|
case "cache":
|
|
1392
1359
|
case "private-cache":
|
|
1393
1360
|
case "request":
|
|
1394
|
-
return
|
|
1361
|
+
return workUnitStore.isHmrRefresh ?? false;
|
|
1395
1362
|
case "prerender":
|
|
1396
1363
|
case "prerender-client":
|
|
1397
1364
|
case "prerender-runtime":
|
|
@@ -1486,9 +1453,9 @@ var require_work_unit_async_storage_external = __commonJS({
|
|
|
1486
1453
|
}
|
|
1487
1454
|
});
|
|
1488
1455
|
|
|
1489
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1490
1457
|
var require_work_async_storage_instance = __commonJS({
|
|
1491
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1492
1459
|
"use strict";
|
|
1493
1460
|
Object.defineProperty(exports2, "__esModule", {
|
|
1494
1461
|
value: true
|
|
@@ -1504,9 +1471,9 @@ var require_work_async_storage_instance = __commonJS({
|
|
|
1504
1471
|
}
|
|
1505
1472
|
});
|
|
1506
1473
|
|
|
1507
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1508
1475
|
var require_work_async_storage_external = __commonJS({
|
|
1509
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1510
1477
|
"use strict";
|
|
1511
1478
|
Object.defineProperty(exports2, "__esModule", {
|
|
1512
1479
|
value: true
|
|
@@ -1521,9 +1488,9 @@ var require_work_async_storage_external = __commonJS({
|
|
|
1521
1488
|
}
|
|
1522
1489
|
});
|
|
1523
1490
|
|
|
1524
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1525
1492
|
var require_boundary_constants = __commonJS({
|
|
1526
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1527
1494
|
"use strict";
|
|
1528
1495
|
Object.defineProperty(exports2, "__esModule", {
|
|
1529
1496
|
value: true
|
|
@@ -1555,9 +1522,9 @@ var require_boundary_constants = __commonJS({
|
|
|
1555
1522
|
}
|
|
1556
1523
|
});
|
|
1557
1524
|
|
|
1558
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1559
1526
|
var require_scheduler = __commonJS({
|
|
1560
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1561
1528
|
"use strict";
|
|
1562
1529
|
Object.defineProperty(exports2, "__esModule", {
|
|
1563
1530
|
value: true
|
|
@@ -1611,9 +1578,9 @@ var require_scheduler = __commonJS({
|
|
|
1611
1578
|
}
|
|
1612
1579
|
});
|
|
1613
1580
|
|
|
1614
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
1615
1582
|
var require_dynamic_rendering = __commonJS({
|
|
1616
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
1617
1584
|
"use strict";
|
|
1618
1585
|
Object.defineProperty(exports2, "__esModule", {
|
|
1619
1586
|
value: true
|
|
@@ -2270,9 +2237,9 @@ ${stack}`;
|
|
|
2270
2237
|
}
|
|
2271
2238
|
});
|
|
2272
2239
|
|
|
2273
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
2274
2241
|
var require_unstable_rethrow_server = __commonJS({
|
|
2275
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
2276
2243
|
"use strict";
|
|
2277
2244
|
Object.defineProperty(exports2, "__esModule", {
|
|
2278
2245
|
value: true
|
|
@@ -2305,9 +2272,9 @@ var require_unstable_rethrow_server = __commonJS({
|
|
|
2305
2272
|
}
|
|
2306
2273
|
});
|
|
2307
2274
|
|
|
2308
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
2309
2276
|
var require_unstable_rethrow_browser = __commonJS({
|
|
2310
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
2311
2278
|
"use strict";
|
|
2312
2279
|
Object.defineProperty(exports2, "__esModule", {
|
|
2313
2280
|
value: true
|
|
@@ -2336,9 +2303,9 @@ var require_unstable_rethrow_browser = __commonJS({
|
|
|
2336
2303
|
}
|
|
2337
2304
|
});
|
|
2338
2305
|
|
|
2339
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
2340
2307
|
var require_unstable_rethrow = __commonJS({
|
|
2341
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
2342
2309
|
"use strict";
|
|
2343
2310
|
Object.defineProperty(exports2, "__esModule", {
|
|
2344
2311
|
value: true
|
|
@@ -2358,9 +2325,9 @@ var require_unstable_rethrow = __commonJS({
|
|
|
2358
2325
|
}
|
|
2359
2326
|
});
|
|
2360
2327
|
|
|
2361
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
2362
2329
|
var require_navigation_react_server = __commonJS({
|
|
2363
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
2364
2331
|
"use strict";
|
|
2365
2332
|
Object.defineProperty(exports2, "__esModule", {
|
|
2366
2333
|
value: true
|
|
@@ -2422,9 +2389,9 @@ var require_navigation_react_server = __commonJS({
|
|
|
2422
2389
|
}
|
|
2423
2390
|
});
|
|
2424
2391
|
|
|
2425
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
2426
2393
|
var require_navigation = __commonJS({
|
|
2427
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
2428
2395
|
"use strict";
|
|
2429
2396
|
Object.defineProperty(exports2, "__esModule", {
|
|
2430
2397
|
value: true
|
|
@@ -2501,7 +2468,7 @@ var require_navigation = __commonJS({
|
|
|
2501
2468
|
var useDynamicRouteParams = typeof window === "undefined" ? require_dynamic_rendering().useDynamicRouteParams : void 0;
|
|
2502
2469
|
var useDynamicSearchParams = typeof window === "undefined" ? require_dynamic_rendering().useDynamicSearchParams : void 0;
|
|
2503
2470
|
function useSearchParams() {
|
|
2504
|
-
useDynamicSearchParams
|
|
2471
|
+
useDynamicSearchParams?.("useSearchParams()");
|
|
2505
2472
|
const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);
|
|
2506
2473
|
const readonlySearchParams = (0, _react.useMemo)(() => {
|
|
2507
2474
|
if (!searchParams) {
|
|
@@ -2520,7 +2487,7 @@ var require_navigation = __commonJS({
|
|
|
2520
2487
|
return readonlySearchParams;
|
|
2521
2488
|
}
|
|
2522
2489
|
function usePathname2() {
|
|
2523
|
-
useDynamicRouteParams
|
|
2490
|
+
useDynamicRouteParams?.("usePathname()");
|
|
2524
2491
|
const pathname = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);
|
|
2525
2492
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2526
2493
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
@@ -2542,7 +2509,7 @@ var require_navigation = __commonJS({
|
|
|
2542
2509
|
return router;
|
|
2543
2510
|
}
|
|
2544
2511
|
function useParams() {
|
|
2545
|
-
useDynamicRouteParams
|
|
2512
|
+
useDynamicRouteParams?.("useParams()");
|
|
2546
2513
|
const params = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);
|
|
2547
2514
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2548
2515
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
@@ -2553,14 +2520,13 @@ var require_navigation = __commonJS({
|
|
|
2553
2520
|
return params;
|
|
2554
2521
|
}
|
|
2555
2522
|
function useSelectedLayoutSegments(parallelRouteKey = "children") {
|
|
2556
|
-
|
|
2557
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams("useSelectedLayoutSegments()");
|
|
2523
|
+
useDynamicRouteParams?.("useSelectedLayoutSegments()");
|
|
2558
2524
|
const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);
|
|
2559
2525
|
if (!context) return null;
|
|
2560
2526
|
if (process.env.NODE_ENV !== "production" && "use" in _react.default) {
|
|
2561
2527
|
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
2562
2528
|
if (navigationPromises) {
|
|
2563
|
-
const promise =
|
|
2529
|
+
const promise = navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey);
|
|
2564
2530
|
if (promise) {
|
|
2565
2531
|
return (0, _react.use)(promise);
|
|
2566
2532
|
}
|
|
@@ -2569,12 +2535,11 @@ var require_navigation = __commonJS({
|
|
|
2569
2535
|
return (0, _segment.getSelectedLayoutSegmentPath)(context.parentTree, parallelRouteKey);
|
|
2570
2536
|
}
|
|
2571
2537
|
function useSelectedLayoutSegment(parallelRouteKey = "children") {
|
|
2572
|
-
|
|
2573
|
-
useDynamicRouteParams == null ? void 0 : useDynamicRouteParams("useSelectedLayoutSegment()");
|
|
2538
|
+
useDynamicRouteParams?.("useSelectedLayoutSegment()");
|
|
2574
2539
|
const navigationPromises = (0, _react.useContext)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
2575
2540
|
const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);
|
|
2576
2541
|
if (process.env.NODE_ENV !== "production" && navigationPromises && "use" in _react.default) {
|
|
2577
|
-
const promise =
|
|
2542
|
+
const promise = navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey);
|
|
2578
2543
|
if (promise) {
|
|
2579
2544
|
return (0, _react.use)(promise);
|
|
2580
2545
|
}
|
|
@@ -2589,9 +2554,9 @@ var require_navigation = __commonJS({
|
|
|
2589
2554
|
}
|
|
2590
2555
|
});
|
|
2591
2556
|
|
|
2592
|
-
// ../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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
|
|
2593
2558
|
var require_navigation2 = __commonJS({
|
|
2594
|
-
"../../node_modules/.pnpm/next@16.1.6_@playwright+test@1.58.
|
|
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) {
|
|
2595
2560
|
"use strict";
|
|
2596
2561
|
module2.exports = require_navigation();
|
|
2597
2562
|
}
|
|
@@ -2620,32 +2585,21 @@ var import_eds_icons = require("@equinor/eds-icons");
|
|
|
2620
2585
|
var import_eds_tokens = require("@equinor/eds-tokens");
|
|
2621
2586
|
var import_styled_components = __toESM(require("styled-components"));
|
|
2622
2587
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
2623
|
-
function TopBar(
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
"appName",
|
|
2637
|
-
"logoLink",
|
|
2638
|
-
"sideMenuOpen",
|
|
2639
|
-
"setSideMenuOpen",
|
|
2640
|
-
"feedbackLink",
|
|
2641
|
-
"documentationLink",
|
|
2642
|
-
"documentationName",
|
|
2643
|
-
"userMenu",
|
|
2644
|
-
"logoPath",
|
|
2645
|
-
"logoAlt"
|
|
2646
|
-
]);
|
|
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
|
+
}) {
|
|
2647
2601
|
const hasSideMenu = setSideMenuOpen && sideMenuOpen !== void 0;
|
|
2648
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(StyledEDSTopBar,
|
|
2602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(StyledEDSTopBar, { ...edsTopBarProps, children: [
|
|
2649
2603
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_eds_core_react.TopBar.Header, { style: { padding: 0 }, children: [
|
|
2650
2604
|
hasSideMenu && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2651
2605
|
import_eds_core_react.Button,
|
|
@@ -2669,7 +2623,7 @@ function TopBar(_a) {
|
|
|
2669
2623
|
] }),
|
|
2670
2624
|
userMenu
|
|
2671
2625
|
] }) })
|
|
2672
|
-
] })
|
|
2626
|
+
] });
|
|
2673
2627
|
}
|
|
2674
2628
|
var StyledEDSTopBar = (0, import_styled_components.default)(import_eds_core_react.TopBar)`
|
|
2675
2629
|
border-color: var(--cpl-top-bar-border-color);
|
|
@@ -2768,7 +2722,7 @@ function useAppUrlByNameAndEnvironment(appName, currentEnvironment, appUrls) {
|
|
|
2768
2722
|
if (currentEnvironment === "local") {
|
|
2769
2723
|
currentEnvironment = "dev";
|
|
2770
2724
|
}
|
|
2771
|
-
const configByEnvironment = appUrls[appName];
|
|
2725
|
+
const configByEnvironment = appUrls[appName] ?? {};
|
|
2772
2726
|
const appUrlInCurrentEnvironment = configByEnvironment[currentEnvironment];
|
|
2773
2727
|
return appUrlInCurrentEnvironment || "";
|
|
2774
2728
|
}
|
|
@@ -2778,7 +2732,7 @@ var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
|
2778
2732
|
var usePathname;
|
|
2779
2733
|
try {
|
|
2780
2734
|
usePathname = require_navigation2().usePathname;
|
|
2781
|
-
} catch
|
|
2735
|
+
} catch {
|
|
2782
2736
|
}
|
|
2783
2737
|
function MenuLink({
|
|
2784
2738
|
item,
|
|
@@ -2786,10 +2740,9 @@ function MenuLink({
|
|
|
2786
2740
|
appUrls,
|
|
2787
2741
|
linkComponent: LinkComponent
|
|
2788
2742
|
}) {
|
|
2789
|
-
|
|
2790
|
-
const
|
|
2791
|
-
const
|
|
2792
|
-
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?.();
|
|
2793
2746
|
let isActive = !item.external && nextPathName == item.url;
|
|
2794
2747
|
const linkContent = /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { children: [
|
|
2795
2748
|
item.name,
|
|
@@ -2945,7 +2898,6 @@ function SideMenu({
|
|
|
2945
2898
|
appUrls,
|
|
2946
2899
|
linkComponent
|
|
2947
2900
|
}) {
|
|
2948
|
-
var _a;
|
|
2949
2901
|
const width = "268px";
|
|
2950
2902
|
const [hasOverflow, setHasOverflow] = (0, import_react.useState)(false);
|
|
2951
2903
|
const [scrolledDown, setScrolledDown] = (0, import_react.useState)(false);
|
|
@@ -2957,9 +2909,10 @@ function SideMenu({
|
|
|
2957
2909
|
}
|
|
2958
2910
|
return mainMenuItems.map((menuItem) => {
|
|
2959
2911
|
if ("items" in menuItem) {
|
|
2960
|
-
return
|
|
2912
|
+
return {
|
|
2913
|
+
...menuItem,
|
|
2961
2914
|
isExpanded: menuItem.items.some((item) => pathname === item.url)
|
|
2962
|
-
}
|
|
2915
|
+
};
|
|
2963
2916
|
}
|
|
2964
2917
|
return menuItem;
|
|
2965
2918
|
});
|
|
@@ -3020,7 +2973,7 @@ function SideMenu({
|
|
|
3020
2973
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3021
2974
|
MenuList,
|
|
3022
2975
|
{
|
|
3023
|
-
items: mainMenuItemsWithActiveCatalogue
|
|
2976
|
+
items: mainMenuItemsWithActiveCatalogue ?? [],
|
|
3024
2977
|
currentEnvironment,
|
|
3025
2978
|
appUrls,
|
|
3026
2979
|
onToggleMenuGroup: checkOverflow,
|
|
@@ -3040,7 +2993,7 @@ function SideMenu({
|
|
|
3040
2993
|
color: import_eds_tokens5.tokens.colors.interactive.secondary__resting.rgba,
|
|
3041
2994
|
padding: "12px 19px 4px 19px"
|
|
3042
2995
|
},
|
|
3043
|
-
children:
|
|
2996
|
+
children: titleOtherMenuItems?.toUpperCase() ?? "OTHER SOLUTIONS"
|
|
3044
2997
|
}
|
|
3045
2998
|
),
|
|
3046
2999
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
@@ -3119,7 +3072,6 @@ var import_react2 = require("react");
|
|
|
3119
3072
|
var import_styled_components6 = __toESM(require("styled-components"));
|
|
3120
3073
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
3121
3074
|
function UserMenu({ user, logout, settingsLink, children }) {
|
|
3122
|
-
var _a, _b, _c, _d, _e;
|
|
3123
3075
|
const [isOpen, setIsOpen] = (0, import_react2.useState)(false);
|
|
3124
3076
|
const [anchorEl, setAnchorEl] = (0, import_react2.useState)(null);
|
|
3125
3077
|
const openMenu = () => {
|
|
@@ -3141,7 +3093,7 @@ function UserMenu({ user, logout, settingsLink, children }) {
|
|
|
3141
3093
|
] });
|
|
3142
3094
|
}
|
|
3143
3095
|
};
|
|
3144
|
-
const firstLetter =
|
|
3096
|
+
const firstLetter = user?.email?.[0]?.toUpperCase() ?? "-";
|
|
3145
3097
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
3146
3098
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
3147
3099
|
StyledUserButton,
|
|
@@ -3169,8 +3121,8 @@ function UserMenu({ user, logout, settingsLink, children }) {
|
|
|
3169
3121
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(IconAndTextWrapper, { children: [
|
|
3170
3122
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(LetterCircle, { children: firstLetter }),
|
|
3171
3123
|
isOpen && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
3172
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { style: { fontWeight: "bold", lineHeight: 0.9, marginBottom: 2 }, children:
|
|
3173
|
-
/* @__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 ?? "-" })
|
|
3174
3126
|
] })
|
|
3175
3127
|
] }),
|
|
3176
3128
|
settingsLink && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_eds_core_react6.Menu.Item, { as: "a", href: settingsLink, className: "menu-item", children: [
|