dibk-design 9.3.6 → 9.4.0
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/dibk-design.css +1 -1
- package/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +1100 -1060
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +67 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import K, { Children as
|
|
3
|
-
|
|
1
|
+
import * as g from "react";
|
|
2
|
+
import K, { Children as xe, isValidElement as Re, Fragment as Nt, cloneElement as be, useState as ce, useEffect as le, createElement as Qt, useRef as $e, useCallback as Se, useId as Ye, useMemo as dt } from "react";
|
|
3
|
+
import { createPortal as en } from "react-dom";
|
|
4
|
+
var Te = { exports: {} }, Ee = {};
|
|
4
5
|
/**
|
|
5
6
|
* @license React
|
|
6
7
|
* react-jsx-runtime.production.js
|
|
@@ -11,8 +12,8 @@ var Te = { exports: {} }, je = {};
|
|
|
11
12
|
* LICENSE file in the root directory of this source tree.
|
|
12
13
|
*/
|
|
13
14
|
var ut;
|
|
14
|
-
function
|
|
15
|
-
if (ut) return
|
|
15
|
+
function tn() {
|
|
16
|
+
if (ut) return Ee;
|
|
16
17
|
ut = 1;
|
|
17
18
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
18
19
|
function n(a, r, s) {
|
|
@@ -30,7 +31,7 @@ function en() {
|
|
|
30
31
|
props: s
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
|
-
return
|
|
34
|
+
return Ee.Fragment = t, Ee.jsx = n, Ee.jsxs = n, Ee;
|
|
34
35
|
}
|
|
35
36
|
var ke = {};
|
|
36
37
|
/**
|
|
@@ -43,151 +44,151 @@ var ke = {};
|
|
|
43
44
|
* LICENSE file in the root directory of this source tree.
|
|
44
45
|
*/
|
|
45
46
|
var ht;
|
|
46
|
-
function
|
|
47
|
+
function nn() {
|
|
47
48
|
return ht || (ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
-
function e(
|
|
49
|
-
if (
|
|
50
|
-
if (typeof
|
|
51
|
-
return
|
|
52
|
-
if (typeof
|
|
53
|
-
switch (
|
|
49
|
+
function e(p) {
|
|
50
|
+
if (p == null) return null;
|
|
51
|
+
if (typeof p == "function")
|
|
52
|
+
return p.$$typeof === R ? null : p.displayName || p.name || null;
|
|
53
|
+
if (typeof p == "string") return p;
|
|
54
|
+
switch (p) {
|
|
54
55
|
case v:
|
|
55
56
|
return "Fragment";
|
|
56
|
-
case
|
|
57
|
+
case _:
|
|
57
58
|
return "Profiler";
|
|
58
59
|
case x:
|
|
59
60
|
return "StrictMode";
|
|
60
|
-
case
|
|
61
|
+
case j:
|
|
61
62
|
return "Suspense";
|
|
62
63
|
case L:
|
|
63
64
|
return "SuspenseList";
|
|
64
|
-
case
|
|
65
|
+
case k:
|
|
65
66
|
return "Activity";
|
|
66
67
|
}
|
|
67
|
-
if (typeof
|
|
68
|
-
switch (typeof
|
|
68
|
+
if (typeof p == "object")
|
|
69
|
+
switch (typeof p.tag == "number" && console.error(
|
|
69
70
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
70
|
-
),
|
|
71
|
+
), p.$$typeof) {
|
|
71
72
|
case f:
|
|
72
73
|
return "Portal";
|
|
73
|
-
case w:
|
|
74
|
-
return (g.displayName || "Context") + ".Provider";
|
|
75
74
|
case b:
|
|
76
|
-
return (
|
|
75
|
+
return (p.displayName || "Context") + ".Provider";
|
|
76
|
+
case w:
|
|
77
|
+
return (p._context.displayName || "Context") + ".Consumer";
|
|
77
78
|
case S:
|
|
78
|
-
var
|
|
79
|
-
return
|
|
80
|
-
case N:
|
|
81
|
-
return j = g.displayName || null, j !== null ? j : e(g.type) || "Memo";
|
|
79
|
+
var C = p.render;
|
|
80
|
+
return p = p.displayName, p || (p = C.displayName || C.name || "", p = p !== "" ? "ForwardRef(" + p + ")" : "ForwardRef"), p;
|
|
82
81
|
case I:
|
|
83
|
-
|
|
82
|
+
return C = p.displayName || null, C !== null ? C : e(p.type) || "Memo";
|
|
83
|
+
case N:
|
|
84
|
+
C = p._payload, p = p._init;
|
|
84
85
|
try {
|
|
85
|
-
return e(
|
|
86
|
+
return e(p(C));
|
|
86
87
|
} catch {
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
return null;
|
|
90
91
|
}
|
|
91
|
-
function t(
|
|
92
|
-
return "" +
|
|
92
|
+
function t(p) {
|
|
93
|
+
return "" + p;
|
|
93
94
|
}
|
|
94
|
-
function n(
|
|
95
|
+
function n(p) {
|
|
95
96
|
try {
|
|
96
|
-
t(
|
|
97
|
-
var
|
|
97
|
+
t(p);
|
|
98
|
+
var C = !1;
|
|
98
99
|
} catch {
|
|
99
|
-
|
|
100
|
+
C = !0;
|
|
100
101
|
}
|
|
101
|
-
if (
|
|
102
|
-
|
|
103
|
-
var
|
|
104
|
-
return
|
|
105
|
-
|
|
102
|
+
if (C) {
|
|
103
|
+
C = console;
|
|
104
|
+
var M = C.error, O = typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object";
|
|
105
|
+
return M.call(
|
|
106
|
+
C,
|
|
106
107
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
107
108
|
O
|
|
108
|
-
), t(
|
|
109
|
+
), t(p);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
|
-
function a(
|
|
112
|
-
if (
|
|
113
|
-
if (typeof
|
|
112
|
+
function a(p) {
|
|
113
|
+
if (p === v) return "<>";
|
|
114
|
+
if (typeof p == "object" && p !== null && p.$$typeof === N)
|
|
114
115
|
return "<...>";
|
|
115
116
|
try {
|
|
116
|
-
var
|
|
117
|
-
return
|
|
117
|
+
var C = e(p);
|
|
118
|
+
return C ? "<" + C + ">" : "<...>";
|
|
118
119
|
} catch {
|
|
119
120
|
return "<...>";
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
123
|
function r() {
|
|
123
|
-
var
|
|
124
|
-
return
|
|
124
|
+
var p = H.A;
|
|
125
|
+
return p === null ? null : p.getOwner();
|
|
125
126
|
}
|
|
126
127
|
function s() {
|
|
127
128
|
return Error("react-stack-top-frame");
|
|
128
129
|
}
|
|
129
|
-
function c(
|
|
130
|
-
if (
|
|
131
|
-
var
|
|
132
|
-
if (
|
|
130
|
+
function c(p) {
|
|
131
|
+
if (q.call(p, "key")) {
|
|
132
|
+
var C = Object.getOwnPropertyDescriptor(p, "key").get;
|
|
133
|
+
if (C && C.isReactWarning) return !1;
|
|
133
134
|
}
|
|
134
|
-
return
|
|
135
|
+
return p.key !== void 0;
|
|
135
136
|
}
|
|
136
|
-
function d(
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function d(p, C) {
|
|
138
|
+
function M() {
|
|
139
|
+
E || (E = !0, console.error(
|
|
139
140
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
140
|
-
|
|
141
|
+
C
|
|
141
142
|
));
|
|
142
143
|
}
|
|
143
|
-
|
|
144
|
-
get:
|
|
144
|
+
M.isReactWarning = !0, Object.defineProperty(p, "key", {
|
|
145
|
+
get: M,
|
|
145
146
|
configurable: !0
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
149
|
function i() {
|
|
149
|
-
var
|
|
150
|
-
return
|
|
150
|
+
var p = e(this.type);
|
|
151
|
+
return T[p] || (T[p] = !0, console.error(
|
|
151
152
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
152
|
-
)),
|
|
153
|
+
)), p = this.props.ref, p !== void 0 ? p : null;
|
|
153
154
|
}
|
|
154
|
-
function l(
|
|
155
|
-
return
|
|
155
|
+
function l(p, C, M, O, se, Y, Xe, Ue) {
|
|
156
|
+
return M = Y.ref, p = {
|
|
156
157
|
$$typeof: y,
|
|
157
|
-
type:
|
|
158
|
-
key:
|
|
158
|
+
type: p,
|
|
159
|
+
key: C,
|
|
159
160
|
props: Y,
|
|
160
|
-
_owner:
|
|
161
|
-
}, (
|
|
161
|
+
_owner: se
|
|
162
|
+
}, (M !== void 0 ? M : null) !== null ? Object.defineProperty(p, "ref", {
|
|
162
163
|
enumerable: !1,
|
|
163
164
|
get: i
|
|
164
|
-
}) : Object.defineProperty(
|
|
165
|
+
}) : Object.defineProperty(p, "ref", { enumerable: !1, value: null }), p._store = {}, Object.defineProperty(p._store, "validated", {
|
|
165
166
|
configurable: !1,
|
|
166
167
|
enumerable: !1,
|
|
167
168
|
writable: !0,
|
|
168
169
|
value: 0
|
|
169
|
-
}), Object.defineProperty(
|
|
170
|
+
}), Object.defineProperty(p, "_debugInfo", {
|
|
170
171
|
configurable: !1,
|
|
171
172
|
enumerable: !1,
|
|
172
173
|
writable: !0,
|
|
173
174
|
value: null
|
|
174
|
-
}), Object.defineProperty(
|
|
175
|
+
}), Object.defineProperty(p, "_debugStack", {
|
|
175
176
|
configurable: !1,
|
|
176
177
|
enumerable: !1,
|
|
177
178
|
writable: !0,
|
|
178
179
|
value: Xe
|
|
179
|
-
}), Object.defineProperty(
|
|
180
|
+
}), Object.defineProperty(p, "_debugTask", {
|
|
180
181
|
configurable: !1,
|
|
181
182
|
enumerable: !1,
|
|
182
183
|
writable: !0,
|
|
183
|
-
value:
|
|
184
|
-
}), Object.freeze && (Object.freeze(
|
|
184
|
+
value: Ue
|
|
185
|
+
}), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
|
|
185
186
|
}
|
|
186
|
-
function u(
|
|
187
|
-
var V =
|
|
187
|
+
function u(p, C, M, O, se, Y, Xe, Ue) {
|
|
188
|
+
var V = C.children;
|
|
188
189
|
if (V !== void 0)
|
|
189
190
|
if (O)
|
|
190
|
-
if (
|
|
191
|
+
if ($(V)) {
|
|
191
192
|
for (O = 0; O < V.length; O++)
|
|
192
193
|
m(V[O]);
|
|
193
194
|
Object.freeze && Object.freeze(V);
|
|
@@ -196,12 +197,12 @@ function tn() {
|
|
|
196
197
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
197
198
|
);
|
|
198
199
|
else m(V);
|
|
199
|
-
if (
|
|
200
|
-
V = e(
|
|
201
|
-
var
|
|
200
|
+
if (q.call(C, "key")) {
|
|
201
|
+
V = e(p);
|
|
202
|
+
var ue = Object.keys(C).filter(function(Zt) {
|
|
202
203
|
return Zt !== "key";
|
|
203
204
|
});
|
|
204
|
-
O = 0 <
|
|
205
|
+
O = 0 < ue.length ? "{key: someKey, " + ue.join(": ..., ") + ": ...}" : "{key: someKey}", ae[V + O] || (ue = 0 < ue.length ? "{" + ue.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
205
206
|
`A props object containing a "key" prop is being spread into JSX:
|
|
206
207
|
let props = %s;
|
|
207
208
|
<%s {...props} />
|
|
@@ -210,113 +211,113 @@ React keys must be passed directly to JSX without using spread:
|
|
|
210
211
|
<%s key={someKey} {...props} />`,
|
|
211
212
|
O,
|
|
212
213
|
V,
|
|
213
|
-
|
|
214
|
+
ue,
|
|
214
215
|
V
|
|
215
|
-
),
|
|
216
|
+
), ae[V + O] = !0);
|
|
216
217
|
}
|
|
217
|
-
if (V = null,
|
|
218
|
-
|
|
219
|
-
for (var
|
|
220
|
-
|
|
221
|
-
} else
|
|
218
|
+
if (V = null, M !== void 0 && (n(M), V = "" + M), c(C) && (n(C.key), V = "" + C.key), "key" in C) {
|
|
219
|
+
M = {};
|
|
220
|
+
for (var We in C)
|
|
221
|
+
We !== "key" && (M[We] = C[We]);
|
|
222
|
+
} else M = C;
|
|
222
223
|
return V && d(
|
|
223
|
-
|
|
224
|
-
typeof
|
|
224
|
+
M,
|
|
225
|
+
typeof p == "function" ? p.displayName || p.name || "Unknown" : p
|
|
225
226
|
), l(
|
|
226
|
-
|
|
227
|
+
p,
|
|
227
228
|
V,
|
|
228
229
|
Y,
|
|
229
|
-
|
|
230
|
+
se,
|
|
230
231
|
r(),
|
|
231
|
-
|
|
232
|
+
M,
|
|
232
233
|
Xe,
|
|
233
|
-
|
|
234
|
+
Ue
|
|
234
235
|
);
|
|
235
236
|
}
|
|
236
|
-
function m(
|
|
237
|
-
typeof
|
|
237
|
+
function m(p) {
|
|
238
|
+
typeof p == "object" && p !== null && p.$$typeof === y && p._store && (p._store.validated = 1);
|
|
238
239
|
}
|
|
239
|
-
var h = K, y = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"),
|
|
240
|
+
var h = K, y = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), b = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), R = Symbol.for("react.client.reference"), H = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, $ = Array.isArray, P = console.createTask ? console.createTask : function() {
|
|
240
241
|
return null;
|
|
241
242
|
};
|
|
242
243
|
h = {
|
|
243
|
-
"react-stack-bottom-frame": function(
|
|
244
|
-
return
|
|
244
|
+
"react-stack-bottom-frame": function(p) {
|
|
245
|
+
return p();
|
|
245
246
|
}
|
|
246
247
|
};
|
|
247
|
-
var
|
|
248
|
+
var E, T = {}, D = h["react-stack-bottom-frame"].bind(
|
|
248
249
|
h,
|
|
249
250
|
s
|
|
250
|
-
)(),
|
|
251
|
-
ke.Fragment = v, ke.jsx = function(
|
|
251
|
+
)(), X = P(a(s)), ae = {};
|
|
252
|
+
ke.Fragment = v, ke.jsx = function(p, C, M, O, se) {
|
|
252
253
|
var Y = 1e4 > H.recentlyCreatedOwnerStacks++;
|
|
253
254
|
return u(
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
p,
|
|
256
|
+
C,
|
|
257
|
+
M,
|
|
257
258
|
!1,
|
|
258
259
|
O,
|
|
259
|
-
|
|
260
|
-
Y ? Error("react-stack-top-frame") :
|
|
261
|
-
Y ? P(a(
|
|
260
|
+
se,
|
|
261
|
+
Y ? Error("react-stack-top-frame") : D,
|
|
262
|
+
Y ? P(a(p)) : X
|
|
262
263
|
);
|
|
263
|
-
}, ke.jsxs = function(
|
|
264
|
+
}, ke.jsxs = function(p, C, M, O, se) {
|
|
264
265
|
var Y = 1e4 > H.recentlyCreatedOwnerStacks++;
|
|
265
266
|
return u(
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
p,
|
|
268
|
+
C,
|
|
269
|
+
M,
|
|
269
270
|
!0,
|
|
270
271
|
O,
|
|
271
|
-
|
|
272
|
-
Y ? Error("react-stack-top-frame") :
|
|
273
|
-
Y ? P(a(
|
|
272
|
+
se,
|
|
273
|
+
Y ? Error("react-stack-top-frame") : D,
|
|
274
|
+
Y ? P(a(p)) : X
|
|
274
275
|
);
|
|
275
276
|
};
|
|
276
277
|
}()), ke;
|
|
277
278
|
}
|
|
278
279
|
var ft;
|
|
279
|
-
function
|
|
280
|
-
return ft || (ft = 1, process.env.NODE_ENV === "production" ? Te.exports =
|
|
280
|
+
function rn() {
|
|
281
|
+
return ft || (ft = 1, process.env.NODE_ENV === "production" ? Te.exports = tn() : Te.exports = nn()), Te.exports;
|
|
281
282
|
}
|
|
282
|
-
var o =
|
|
283
|
-
const
|
|
283
|
+
var o = rn();
|
|
284
|
+
const z = (e) => (e == null ? void 0 : e.filter(Boolean).join(" ")) || "", Rt = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), an = (e) => !(e != null && e.colors) || !Object.entries(e.colors).length ? {} : Object.entries(e.colors).reduce(
|
|
284
285
|
(t, [n, a]) => (n && a && (t[`--color-${Rt(n)}`] = a), t),
|
|
285
286
|
{}
|
|
286
|
-
),
|
|
287
|
+
), sn = (e) => !(e != null && e.sizes) || !Object.entries(e.sizes).length ? {} : Object.entries(e.sizes).reduce(
|
|
287
288
|
(t, [n, a]) => (n && a && (t[`--size-${Rt(n)}`] = a), t),
|
|
288
289
|
{}
|
|
289
|
-
),
|
|
290
|
-
...
|
|
291
|
-
...
|
|
292
|
-
}),
|
|
290
|
+
), on = (e) => ({
|
|
291
|
+
...an(e),
|
|
292
|
+
...sn(e)
|
|
293
|
+
}), ln = (e, t) => {
|
|
293
294
|
if (typeof document > "u") return;
|
|
294
295
|
const n = document.createElement("style");
|
|
295
296
|
n.setAttribute("id", e), n.textContent = t;
|
|
296
297
|
const a = document.getElementById(e);
|
|
297
298
|
a && a.remove(), document.head.appendChild(n);
|
|
298
|
-
},
|
|
299
|
+
}, cn = (e) => Object.entries(e).map(([t, n]) => `${t}: ${n};`).join(""), we = (e) => {
|
|
299
300
|
const t = [];
|
|
300
|
-
return
|
|
301
|
+
return xe.forEach(e, (n) => {
|
|
301
302
|
if (Re(n)) {
|
|
302
303
|
const a = n;
|
|
303
304
|
if (a.type === Nt) {
|
|
304
|
-
const r =
|
|
305
|
+
const r = we(a.props.children);
|
|
305
306
|
t.push(...r);
|
|
306
307
|
} else
|
|
307
|
-
t.push(
|
|
308
|
+
t.push(be(a, { ...a.props }));
|
|
308
309
|
} else
|
|
309
310
|
t.push(n);
|
|
310
311
|
}), t;
|
|
311
|
-
},
|
|
312
|
+
}, dn = (e) => {
|
|
312
313
|
if (typeof document > "u") return;
|
|
313
314
|
const t = document.createElement("button");
|
|
314
315
|
t.style.position = "absolute", t.style.opacity = "0", e.prepend(t), t.focus(), t.remove();
|
|
315
|
-
},
|
|
316
|
+
}, un = (e) => Array.from(
|
|
316
317
|
e.querySelectorAll('button, [href], input, [tabindex="0"]')
|
|
317
318
|
).filter((n) => !!n), Mt = (e) => {
|
|
318
|
-
|
|
319
|
-
const t =
|
|
319
|
+
dn(e);
|
|
320
|
+
const t = un(e), n = t[0], a = t[t.length - 1] || n;
|
|
320
321
|
n && (n.onkeydown = (r) => {
|
|
321
322
|
r.key === "Tab" && r.shiftKey && (r.preventDefault(), a.focus());
|
|
322
323
|
}), a && (a.onclick = () => {
|
|
@@ -324,22 +325,22 @@ const D = (e) => (e == null ? void 0 : e.filter(Boolean).join(" ")) || "", Rt =
|
|
|
324
325
|
}, a.onkeydown = (r) => {
|
|
325
326
|
r.key === "Tab" && !r.shiftKey && (r.preventDefault(), n == null || n.focus());
|
|
326
327
|
});
|
|
327
|
-
},
|
|
328
|
-
accordion:
|
|
328
|
+
}, hn = "_accordion_kwqaf_67", fn = "_panel_kwqaf_76", mn = "_content_kwqaf_77", pn = "_secondary_kwqaf_80", _n = "_info_kwqaf_88", gn = "_contrast_kwqaf_96", vn = "_margin_kwqaf_104", yn = "_panelText_kwqaf_138", xn = "_panelChevron_kwqaf_144", bn = "_expanded_kwqaf_171", wn = "_initialized_kwqaf_187", Cn = "_hide_kwqaf_1", En = "_show_kwqaf_1", G = {
|
|
329
|
+
accordion: hn,
|
|
329
330
|
default: "_default_kwqaf_73",
|
|
330
|
-
panel:
|
|
331
|
-
content:
|
|
332
|
-
secondary:
|
|
333
|
-
info:
|
|
334
|
-
contrast:
|
|
335
|
-
margin:
|
|
336
|
-
panelText:
|
|
337
|
-
panelChevron:
|
|
338
|
-
expanded:
|
|
339
|
-
initialized:
|
|
340
|
-
hide:
|
|
341
|
-
show:
|
|
342
|
-
},
|
|
331
|
+
panel: fn,
|
|
332
|
+
content: mn,
|
|
333
|
+
secondary: pn,
|
|
334
|
+
info: _n,
|
|
335
|
+
contrast: gn,
|
|
336
|
+
margin: vn,
|
|
337
|
+
panelText: yn,
|
|
338
|
+
panelChevron: xn,
|
|
339
|
+
expanded: bn,
|
|
340
|
+
initialized: wn,
|
|
341
|
+
hide: Cn,
|
|
342
|
+
show: En
|
|
343
|
+
}, kn = ({
|
|
343
344
|
title: e,
|
|
344
345
|
buttonProps: t,
|
|
345
346
|
expanded: n,
|
|
@@ -361,7 +362,7 @@ const D = (e) => (e == null ? void 0 : e.filter(Boolean).join(" ")) || "", Rt =
|
|
|
361
362
|
)
|
|
362
363
|
]
|
|
363
364
|
}
|
|
364
|
-
),
|
|
365
|
+
), yi = ({
|
|
365
366
|
title: e,
|
|
366
367
|
color: t = "default",
|
|
367
368
|
expanded: n = !1,
|
|
@@ -372,13 +373,13 @@ const D = (e) => (e == null ? void 0 : e.filter(Boolean).join(" ")) || "", Rt =
|
|
|
372
373
|
children: d,
|
|
373
374
|
...i
|
|
374
375
|
}) => {
|
|
375
|
-
const [l, u] =
|
|
376
|
+
const [l, u] = ce(n), [m, h] = ce(c), y = () => {
|
|
376
377
|
u(!l), h(!0), a && a();
|
|
377
378
|
};
|
|
378
|
-
|
|
379
|
+
le(() => {
|
|
379
380
|
u(n);
|
|
380
381
|
}, [n]);
|
|
381
|
-
const f =
|
|
382
|
+
const f = z([
|
|
382
383
|
G.accordion,
|
|
383
384
|
t && G[t],
|
|
384
385
|
!s && G.margin,
|
|
@@ -386,7 +387,7 @@ const D = (e) => (e == null ? void 0 : e.filter(Boolean).join(" ")) || "", Rt =
|
|
|
386
387
|
]);
|
|
387
388
|
return /* @__PURE__ */ o.jsxs("div", { className: f, ...i, children: [
|
|
388
389
|
/* @__PURE__ */ o.jsx(
|
|
389
|
-
|
|
390
|
+
kn,
|
|
390
391
|
{
|
|
391
392
|
title: e ?? "",
|
|
392
393
|
buttonProps: r ?? {},
|
|
@@ -403,10 +404,10 @@ const D = (e) => (e == null ? void 0 : e.filter(Boolean).join(" ")) || "", Rt =
|
|
|
403
404
|
)
|
|
404
405
|
] });
|
|
405
406
|
};
|
|
406
|
-
var
|
|
407
|
+
var je = {}, mt;
|
|
407
408
|
function jn() {
|
|
408
|
-
if (mt) return
|
|
409
|
-
mt = 1, Object.defineProperty(
|
|
409
|
+
if (mt) return je;
|
|
410
|
+
mt = 1, Object.defineProperty(je, "__esModule", { value: !0 }), je.parse = c, je.serialize = l;
|
|
410
411
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, n = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, a = /^[\u0020-\u003A\u003D-\u007E]*$/, r = Object.prototype.toString, s = /* @__PURE__ */ (() => {
|
|
411
412
|
const h = function() {
|
|
412
413
|
};
|
|
@@ -417,24 +418,24 @@ function jn() {
|
|
|
417
418
|
if (v < 2)
|
|
418
419
|
return f;
|
|
419
420
|
const x = (y == null ? void 0 : y.decode) || u;
|
|
420
|
-
let
|
|
421
|
+
let _ = 0;
|
|
421
422
|
do {
|
|
422
|
-
const
|
|
423
|
-
if (
|
|
423
|
+
const w = h.indexOf("=", _);
|
|
424
|
+
if (w === -1)
|
|
424
425
|
break;
|
|
425
|
-
const
|
|
426
|
-
if (
|
|
427
|
-
|
|
426
|
+
const b = h.indexOf(";", _), S = b === -1 ? v : b;
|
|
427
|
+
if (w > S) {
|
|
428
|
+
_ = h.lastIndexOf(";", w - 1) + 1;
|
|
428
429
|
continue;
|
|
429
430
|
}
|
|
430
|
-
const
|
|
431
|
-
if (f[
|
|
432
|
-
let
|
|
433
|
-
const
|
|
434
|
-
f[
|
|
431
|
+
const j = d(h, _, w), L = i(h, w, j), I = h.slice(j, L);
|
|
432
|
+
if (f[I] === void 0) {
|
|
433
|
+
let N = d(h, w + 1, S), k = i(h, S, N);
|
|
434
|
+
const R = x(h.slice(N, k));
|
|
435
|
+
f[I] = R;
|
|
435
436
|
}
|
|
436
|
-
|
|
437
|
-
} while (
|
|
437
|
+
_ = S + 1;
|
|
438
|
+
} while (_ < v);
|
|
438
439
|
return f;
|
|
439
440
|
}
|
|
440
441
|
function d(h, y, f) {
|
|
@@ -460,39 +461,39 @@ function jn() {
|
|
|
460
461
|
const x = v(y);
|
|
461
462
|
if (!t.test(x))
|
|
462
463
|
throw new TypeError(`argument val is invalid: ${y}`);
|
|
463
|
-
let
|
|
464
|
+
let _ = h + "=" + x;
|
|
464
465
|
if (!f)
|
|
465
|
-
return
|
|
466
|
+
return _;
|
|
466
467
|
if (f.maxAge !== void 0) {
|
|
467
468
|
if (!Number.isInteger(f.maxAge))
|
|
468
469
|
throw new TypeError(`option maxAge is invalid: ${f.maxAge}`);
|
|
469
|
-
|
|
470
|
+
_ += "; Max-Age=" + f.maxAge;
|
|
470
471
|
}
|
|
471
472
|
if (f.domain) {
|
|
472
473
|
if (!n.test(f.domain))
|
|
473
474
|
throw new TypeError(`option domain is invalid: ${f.domain}`);
|
|
474
|
-
|
|
475
|
+
_ += "; Domain=" + f.domain;
|
|
475
476
|
}
|
|
476
477
|
if (f.path) {
|
|
477
478
|
if (!a.test(f.path))
|
|
478
479
|
throw new TypeError(`option path is invalid: ${f.path}`);
|
|
479
|
-
|
|
480
|
+
_ += "; Path=" + f.path;
|
|
480
481
|
}
|
|
481
482
|
if (f.expires) {
|
|
482
483
|
if (!m(f.expires) || !Number.isFinite(f.expires.valueOf()))
|
|
483
484
|
throw new TypeError(`option expires is invalid: ${f.expires}`);
|
|
484
|
-
|
|
485
|
+
_ += "; Expires=" + f.expires.toUTCString();
|
|
485
486
|
}
|
|
486
|
-
if (f.httpOnly && (
|
|
487
|
+
if (f.httpOnly && (_ += "; HttpOnly"), f.secure && (_ += "; Secure"), f.partitioned && (_ += "; Partitioned"), f.priority)
|
|
487
488
|
switch (typeof f.priority == "string" ? f.priority.toLowerCase() : void 0) {
|
|
488
489
|
case "low":
|
|
489
|
-
|
|
490
|
+
_ += "; Priority=Low";
|
|
490
491
|
break;
|
|
491
492
|
case "medium":
|
|
492
|
-
|
|
493
|
+
_ += "; Priority=Medium";
|
|
493
494
|
break;
|
|
494
495
|
case "high":
|
|
495
|
-
|
|
496
|
+
_ += "; Priority=High";
|
|
496
497
|
break;
|
|
497
498
|
default:
|
|
498
499
|
throw new TypeError(`option priority is invalid: ${f.priority}`);
|
|
@@ -501,18 +502,18 @@ function jn() {
|
|
|
501
502
|
switch (typeof f.sameSite == "string" ? f.sameSite.toLowerCase() : f.sameSite) {
|
|
502
503
|
case !0:
|
|
503
504
|
case "strict":
|
|
504
|
-
|
|
505
|
+
_ += "; SameSite=Strict";
|
|
505
506
|
break;
|
|
506
507
|
case "lax":
|
|
507
|
-
|
|
508
|
+
_ += "; SameSite=Lax";
|
|
508
509
|
break;
|
|
509
510
|
case "none":
|
|
510
|
-
|
|
511
|
+
_ += "; SameSite=None";
|
|
511
512
|
break;
|
|
512
513
|
default:
|
|
513
514
|
throw new TypeError(`option sameSite is invalid: ${f.sameSite}`);
|
|
514
515
|
}
|
|
515
|
-
return
|
|
516
|
+
return _;
|
|
516
517
|
}
|
|
517
518
|
function u(h) {
|
|
518
519
|
if (h.indexOf("%") === -1)
|
|
@@ -526,7 +527,7 @@ function jn() {
|
|
|
526
527
|
function m(h) {
|
|
527
528
|
return r.call(h) === "[object Date]";
|
|
528
529
|
}
|
|
529
|
-
return
|
|
530
|
+
return je;
|
|
530
531
|
}
|
|
531
532
|
jn();
|
|
532
533
|
/**
|
|
@@ -543,7 +544,7 @@ function F(e, t) {
|
|
|
543
544
|
if (e === !1 || e === null || typeof e > "u")
|
|
544
545
|
throw new Error(t);
|
|
545
546
|
}
|
|
546
|
-
function
|
|
547
|
+
function ee(e, t) {
|
|
547
548
|
if (!e) {
|
|
548
549
|
typeof console < "u" && console.warn(t);
|
|
549
550
|
try {
|
|
@@ -570,17 +571,17 @@ function rt(e) {
|
|
|
570
571
|
return t;
|
|
571
572
|
}
|
|
572
573
|
function Tt(e, t, n = "/") {
|
|
573
|
-
return
|
|
574
|
+
return Ln(e, t, n, !1);
|
|
574
575
|
}
|
|
575
|
-
function
|
|
576
|
-
let r = typeof t == "string" ? rt(t) : t, s =
|
|
576
|
+
function Ln(e, t, n, a) {
|
|
577
|
+
let r = typeof t == "string" ? rt(t) : t, s = ie(r.pathname || "/", n);
|
|
577
578
|
if (s == null)
|
|
578
579
|
return null;
|
|
579
580
|
let c = zt(e);
|
|
580
|
-
|
|
581
|
+
Sn(c);
|
|
581
582
|
let d = null;
|
|
582
583
|
for (let i = 0; d == null && i < c.length; ++i) {
|
|
583
|
-
let l =
|
|
584
|
+
let l = Bn(s);
|
|
584
585
|
d = Dn(
|
|
585
586
|
c[i],
|
|
586
587
|
l,
|
|
@@ -601,7 +602,7 @@ function zt(e, t = [], n = [], a = "") {
|
|
|
601
602
|
i.relativePath.startsWith(a),
|
|
602
603
|
`Absolute route path "${i.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
|
|
603
604
|
), i.relativePath = i.relativePath.slice(a.length));
|
|
604
|
-
let l =
|
|
605
|
+
let l = Q([a, i.relativePath]), u = n.concat(i);
|
|
605
606
|
s.children && s.children.length > 0 && (F(
|
|
606
607
|
// Our types know better, but runtime JS may not!
|
|
607
608
|
// @ts-expect-error
|
|
@@ -609,7 +610,7 @@ function zt(e, t = [], n = [], a = "") {
|
|
|
609
610
|
`Index routes must not have child routes. Please remove all child routes from route path "${l}".`
|
|
610
611
|
), zt(s.children, t, u, l)), !(s.path == null && !s.index) && t.push({
|
|
611
612
|
path: l,
|
|
612
|
-
score:
|
|
613
|
+
score: zn(l, s.index),
|
|
613
614
|
routesMeta: u
|
|
614
615
|
});
|
|
615
616
|
};
|
|
@@ -618,17 +619,17 @@ function zt(e, t = [], n = [], a = "") {
|
|
|
618
619
|
if (s.path === "" || !((d = s.path) != null && d.includes("?")))
|
|
619
620
|
r(s, c);
|
|
620
621
|
else
|
|
621
|
-
for (let i of
|
|
622
|
+
for (let i of Pt(s.path))
|
|
622
623
|
r(s, c, i);
|
|
623
624
|
}), t;
|
|
624
625
|
}
|
|
625
|
-
function
|
|
626
|
+
function Pt(e) {
|
|
626
627
|
let t = e.split("/");
|
|
627
628
|
if (t.length === 0) return [];
|
|
628
629
|
let [n, ...a] = t, r = n.endsWith("?"), s = n.replace(/\?$/, "");
|
|
629
630
|
if (a.length === 0)
|
|
630
631
|
return r ? [s, ""] : [s];
|
|
631
|
-
let c =
|
|
632
|
+
let c = Pt(a.join("/")), d = [];
|
|
632
633
|
return d.push(
|
|
633
634
|
...c.map(
|
|
634
635
|
(i) => i === "" ? s : [s, i].join("/")
|
|
@@ -637,23 +638,23 @@ function Dt(e) {
|
|
|
637
638
|
(i) => e.startsWith("/") && i === "" ? "/" : i
|
|
638
639
|
);
|
|
639
640
|
}
|
|
640
|
-
function
|
|
641
|
+
function Sn(e) {
|
|
641
642
|
e.sort(
|
|
642
|
-
(t, n) => t.score !== n.score ? n.score - t.score :
|
|
643
|
+
(t, n) => t.score !== n.score ? n.score - t.score : Pn(
|
|
643
644
|
t.routesMeta.map((a) => a.childrenIndex),
|
|
644
645
|
n.routesMeta.map((a) => a.childrenIndex)
|
|
645
646
|
)
|
|
646
647
|
);
|
|
647
648
|
}
|
|
648
|
-
var
|
|
649
|
-
function
|
|
649
|
+
var $n = /^:[\w-]+$/, In = 3, Nn = 2, Rn = 1, Mn = 10, Tn = -2, pt = (e) => e === "*";
|
|
650
|
+
function zn(e, t) {
|
|
650
651
|
let n = e.split("/"), a = n.length;
|
|
651
|
-
return n.some(pt) && (a +=
|
|
652
|
-
(r, s) => r + (
|
|
652
|
+
return n.some(pt) && (a += Tn), t && (a += Nn), n.filter((r) => !pt(r)).reduce(
|
|
653
|
+
(r, s) => r + ($n.test(s) ? In : s === "" ? Rn : Mn),
|
|
653
654
|
a
|
|
654
655
|
);
|
|
655
656
|
}
|
|
656
|
-
function
|
|
657
|
+
function Pn(e, t) {
|
|
657
658
|
return e.length === t.length && e.slice(0, -1).every((a, r) => a === t[r]) ? (
|
|
658
659
|
// If two routes are siblings, we should try to match the earlier sibling
|
|
659
660
|
// first. This allows people to have fine-grained control over the matching
|
|
@@ -685,18 +686,18 @@ function Dn(e, t, n = !1) {
|
|
|
685
686
|
Object.assign(r, m.params), c.push({
|
|
686
687
|
// TODO: Can this as be avoided?
|
|
687
688
|
params: r,
|
|
688
|
-
pathname:
|
|
689
|
-
pathnameBase:
|
|
690
|
-
|
|
689
|
+
pathname: Q([s, m.pathname]),
|
|
690
|
+
pathnameBase: Hn(
|
|
691
|
+
Q([s, m.pathnameBase])
|
|
691
692
|
),
|
|
692
693
|
route: h
|
|
693
|
-
}), m.pathnameBase !== "/" && (s =
|
|
694
|
+
}), m.pathnameBase !== "/" && (s = Q([s, m.pathnameBase]));
|
|
694
695
|
}
|
|
695
696
|
return c;
|
|
696
697
|
}
|
|
697
698
|
function Oe(e, t) {
|
|
698
699
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
699
|
-
let [n, a] =
|
|
700
|
+
let [n, a] = An(
|
|
700
701
|
e.path,
|
|
701
702
|
e.caseSensitive,
|
|
702
703
|
e.end
|
|
@@ -720,8 +721,8 @@ function Oe(e, t) {
|
|
|
720
721
|
pattern: e
|
|
721
722
|
};
|
|
722
723
|
}
|
|
723
|
-
function
|
|
724
|
-
|
|
724
|
+
function An(e, t = !1, n = !0) {
|
|
725
|
+
ee(
|
|
725
726
|
e === "*" || !e.endsWith("*") || e.endsWith("/*"),
|
|
726
727
|
`Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
|
|
727
728
|
);
|
|
@@ -731,36 +732,36 @@ function Pn(e, t = !1, n = !0) {
|
|
|
731
732
|
);
|
|
732
733
|
return e.endsWith("*") ? (a.push({ paramName: "*" }), r += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? r += "\\/*$" : e !== "" && e !== "/" && (r += "(?:(?=\\/|$))"), [new RegExp(r, t ? void 0 : "i"), a];
|
|
733
734
|
}
|
|
734
|
-
function
|
|
735
|
+
function Bn(e) {
|
|
735
736
|
try {
|
|
736
737
|
return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
|
|
737
738
|
} catch (t) {
|
|
738
|
-
return
|
|
739
|
+
return ee(
|
|
739
740
|
!1,
|
|
740
741
|
`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`
|
|
741
742
|
), e;
|
|
742
743
|
}
|
|
743
744
|
}
|
|
744
|
-
function
|
|
745
|
+
function ie(e, t) {
|
|
745
746
|
if (t === "/") return e;
|
|
746
747
|
if (!e.toLowerCase().startsWith(t.toLowerCase()))
|
|
747
748
|
return null;
|
|
748
749
|
let n = t.endsWith("/") ? t.length - 1 : t.length, a = e.charAt(n);
|
|
749
750
|
return a && a !== "/" ? null : e.slice(n) || "/";
|
|
750
751
|
}
|
|
751
|
-
function
|
|
752
|
+
function Fn(e, t = "/") {
|
|
752
753
|
let {
|
|
753
754
|
pathname: n,
|
|
754
755
|
search: a = "",
|
|
755
756
|
hash: r = ""
|
|
756
757
|
} = typeof e == "string" ? rt(e) : e;
|
|
757
758
|
return {
|
|
758
|
-
pathname: n ? n.startsWith("/") ? n :
|
|
759
|
-
search:
|
|
760
|
-
hash:
|
|
759
|
+
pathname: n ? n.startsWith("/") ? n : On(n, t) : t,
|
|
760
|
+
search: qn(a),
|
|
761
|
+
hash: Xn(r)
|
|
761
762
|
};
|
|
762
763
|
}
|
|
763
|
-
function
|
|
764
|
+
function On(e, t) {
|
|
764
765
|
let n = t.replace(/\/+$/, "").split("/");
|
|
765
766
|
return e.split("/").forEach((r) => {
|
|
766
767
|
r === ".." ? n.length > 1 && n.pop() : r !== "." && n.push(r);
|
|
@@ -771,13 +772,13 @@ function Je(e, t, n, a) {
|
|
|
771
772
|
a
|
|
772
773
|
)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
|
|
773
774
|
}
|
|
774
|
-
function
|
|
775
|
+
function Vn(e) {
|
|
775
776
|
return e.filter(
|
|
776
777
|
(t, n) => n === 0 || t.route.path && t.route.path.length > 0
|
|
777
778
|
);
|
|
778
779
|
}
|
|
779
|
-
function
|
|
780
|
-
let t =
|
|
780
|
+
function Dt(e) {
|
|
781
|
+
let t = Vn(e);
|
|
781
782
|
return t.map(
|
|
782
783
|
(n, a) => a === t.length - 1 ? n.pathname : n.pathnameBase
|
|
783
784
|
);
|
|
@@ -807,11 +808,11 @@ function At(e, t, n, a = !1) {
|
|
|
807
808
|
}
|
|
808
809
|
d = m >= 0 ? t[m] : "/";
|
|
809
810
|
}
|
|
810
|
-
let i =
|
|
811
|
+
let i = Fn(r, d), l = c && c !== "/" && c.endsWith("/"), u = (s || c === ".") && n.endsWith("/");
|
|
811
812
|
return !i.pathname.endsWith("/") && (l || u) && (i.pathname += "/"), i;
|
|
812
813
|
}
|
|
813
|
-
var
|
|
814
|
-
function
|
|
814
|
+
var Q = (e) => e.join("/").replace(/\/\/+/g, "/"), Hn = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), qn = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Xn = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
815
|
+
function Un(e) {
|
|
815
816
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
816
817
|
}
|
|
817
818
|
var Bt = [
|
|
@@ -828,78 +829,78 @@ var Wn = [
|
|
|
828
829
|
...Bt
|
|
829
830
|
];
|
|
830
831
|
new Set(Wn);
|
|
831
|
-
var
|
|
832
|
-
|
|
833
|
-
var Ve =
|
|
832
|
+
var Ce = g.createContext(null);
|
|
833
|
+
Ce.displayName = "DataRouter";
|
|
834
|
+
var Ve = g.createContext(null);
|
|
834
835
|
Ve.displayName = "DataRouterState";
|
|
835
|
-
var Ft =
|
|
836
|
+
var Ft = g.createContext({
|
|
836
837
|
isTransitioning: !1
|
|
837
838
|
});
|
|
838
839
|
Ft.displayName = "ViewTransition";
|
|
839
|
-
var
|
|
840
|
+
var Yn = g.createContext(
|
|
840
841
|
/* @__PURE__ */ new Map()
|
|
841
842
|
);
|
|
842
|
-
|
|
843
|
-
var
|
|
844
|
-
|
|
845
|
-
var
|
|
843
|
+
Yn.displayName = "Fetchers";
|
|
844
|
+
var Jn = g.createContext(null);
|
|
845
|
+
Jn.displayName = "Await";
|
|
846
|
+
var ne = g.createContext(
|
|
846
847
|
null
|
|
847
848
|
);
|
|
848
|
-
|
|
849
|
-
var at =
|
|
849
|
+
ne.displayName = "Navigation";
|
|
850
|
+
var at = g.createContext(
|
|
850
851
|
null
|
|
851
852
|
);
|
|
852
853
|
at.displayName = "Location";
|
|
853
|
-
var
|
|
854
|
+
var re = g.createContext({
|
|
854
855
|
outlet: null,
|
|
855
856
|
matches: [],
|
|
856
857
|
isDataRoute: !1
|
|
857
858
|
});
|
|
858
|
-
|
|
859
|
-
var st =
|
|
859
|
+
re.displayName = "Route";
|
|
860
|
+
var st = g.createContext(null);
|
|
860
861
|
st.displayName = "RouteError";
|
|
861
|
-
function
|
|
862
|
+
function Gn(e, { relative: t } = {}) {
|
|
862
863
|
F(
|
|
863
864
|
He(),
|
|
864
865
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
865
866
|
// router loaded. We can help them understand how to avoid that.
|
|
866
867
|
"useHref() may be used only in the context of a <Router> component."
|
|
867
868
|
);
|
|
868
|
-
let { basename: n, navigator: a } =
|
|
869
|
-
return n !== "/" && (d = s === "/" ? n :
|
|
869
|
+
let { basename: n, navigator: a } = g.useContext(ne), { hash: r, pathname: s, search: c } = Me(e, { relative: t }), d = s;
|
|
870
|
+
return n !== "/" && (d = s === "/" ? n : Q([n, s])), a.createHref({ pathname: d, search: c, hash: r });
|
|
870
871
|
}
|
|
871
872
|
function He() {
|
|
872
|
-
return
|
|
873
|
+
return g.useContext(at) != null;
|
|
873
874
|
}
|
|
874
|
-
function
|
|
875
|
+
function de() {
|
|
875
876
|
return F(
|
|
876
877
|
He(),
|
|
877
878
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
878
879
|
// router loaded. We can help them understand how to avoid that.
|
|
879
880
|
"useLocation() may be used only in the context of a <Router> component."
|
|
880
|
-
),
|
|
881
|
+
), g.useContext(at).location;
|
|
881
882
|
}
|
|
882
883
|
var Ot = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
|
883
884
|
function Vt(e) {
|
|
884
|
-
|
|
885
|
-
}
|
|
886
|
-
function Gn() {
|
|
887
|
-
let { isDataRoute: e } = _.useContext(ne);
|
|
888
|
-
return e ? cr() : Kn();
|
|
885
|
+
g.useContext(ne).static || g.useLayoutEffect(e);
|
|
889
886
|
}
|
|
890
887
|
function Kn() {
|
|
888
|
+
let { isDataRoute: e } = g.useContext(re);
|
|
889
|
+
return e ? dr() : Zn();
|
|
890
|
+
}
|
|
891
|
+
function Zn() {
|
|
891
892
|
F(
|
|
892
893
|
He(),
|
|
893
894
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
894
895
|
// router loaded. We can help them understand how to avoid that.
|
|
895
896
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
896
897
|
);
|
|
897
|
-
let e =
|
|
898
|
+
let e = g.useContext(Ce), { basename: t, navigator: n } = g.useContext(ne), { matches: a } = g.useContext(re), { pathname: r } = de(), s = JSON.stringify(Dt(a)), c = g.useRef(!1);
|
|
898
899
|
return Vt(() => {
|
|
899
900
|
c.current = !0;
|
|
900
|
-
}),
|
|
901
|
+
}), g.useCallback(
|
|
901
902
|
(i, l = {}) => {
|
|
902
|
-
if (
|
|
903
|
+
if (ee(c.current, Ot), !c.current) return;
|
|
903
904
|
if (typeof i == "number") {
|
|
904
905
|
n.go(i);
|
|
905
906
|
return;
|
|
@@ -910,7 +911,7 @@ function Kn() {
|
|
|
910
911
|
r,
|
|
911
912
|
l.relative === "path"
|
|
912
913
|
);
|
|
913
|
-
e == null && t !== "/" && (u.pathname = u.pathname === "/" ? t :
|
|
914
|
+
e == null && t !== "/" && (u.pathname = u.pathname === "/" ? t : Q([t, u.pathname])), (l.replace ? n.replace : n.push)(
|
|
914
915
|
u,
|
|
915
916
|
l.state,
|
|
916
917
|
l
|
|
@@ -925,10 +926,10 @@ function Kn() {
|
|
|
925
926
|
]
|
|
926
927
|
);
|
|
927
928
|
}
|
|
928
|
-
|
|
929
|
+
g.createContext(null);
|
|
929
930
|
function Me(e, { relative: t } = {}) {
|
|
930
|
-
let { matches: n } =
|
|
931
|
-
return
|
|
931
|
+
let { matches: n } = g.useContext(re), { pathname: a } = de(), r = JSON.stringify(Dt(n));
|
|
932
|
+
return g.useMemo(
|
|
932
933
|
() => At(
|
|
933
934
|
e,
|
|
934
935
|
JSON.parse(r),
|
|
@@ -938,51 +939,51 @@ function Me(e, { relative: t } = {}) {
|
|
|
938
939
|
[e, r, a, t]
|
|
939
940
|
);
|
|
940
941
|
}
|
|
941
|
-
function
|
|
942
|
+
function Qn(e, t, n, a) {
|
|
942
943
|
F(
|
|
943
944
|
He(),
|
|
944
945
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
945
946
|
// router loaded. We can help them understand how to avoid that.
|
|
946
947
|
"useRoutes() may be used only in the context of a <Router> component."
|
|
947
948
|
);
|
|
948
|
-
let { navigator: r } =
|
|
949
|
+
let { navigator: r } = g.useContext(ne), { matches: s } = g.useContext(re), c = s[s.length - 1], d = c ? c.params : {}, i = c ? c.pathname : "/", l = c ? c.pathnameBase : "/", u = c && c.route;
|
|
949
950
|
{
|
|
950
|
-
let
|
|
951
|
+
let _ = u && u.path || "";
|
|
951
952
|
Ht(
|
|
952
953
|
i,
|
|
953
|
-
!u ||
|
|
954
|
-
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${i}" (under <Route path="${
|
|
954
|
+
!u || _.endsWith("*") || _.endsWith("*?"),
|
|
955
|
+
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${i}" (under <Route path="${_}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
955
956
|
|
|
956
|
-
Please change the parent <Route path="${
|
|
957
|
+
Please change the parent <Route path="${_}"> to <Route path="${_ === "/" ? "*" : `${_}/*`}">.`
|
|
957
958
|
);
|
|
958
959
|
}
|
|
959
|
-
let m =
|
|
960
|
+
let m = de(), h;
|
|
960
961
|
h = m;
|
|
961
962
|
let y = h.pathname || "/", f = y;
|
|
962
963
|
if (l !== "/") {
|
|
963
|
-
let
|
|
964
|
-
f = "/" + y.replace(/^\//, "").split("/").slice(
|
|
964
|
+
let _ = l.replace(/^\//, "").split("/");
|
|
965
|
+
f = "/" + y.replace(/^\//, "").split("/").slice(_.length).join("/");
|
|
965
966
|
}
|
|
966
967
|
let v = Tt(e, { pathname: f });
|
|
967
|
-
return
|
|
968
|
+
return ee(
|
|
968
969
|
u || v != null,
|
|
969
970
|
`No routes matched location "${h.pathname}${h.search}${h.hash}" `
|
|
970
|
-
),
|
|
971
|
+
), ee(
|
|
971
972
|
v == null || v[v.length - 1].route.element !== void 0 || v[v.length - 1].route.Component !== void 0 || v[v.length - 1].route.lazy !== void 0,
|
|
972
973
|
`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
|
|
973
|
-
),
|
|
974
|
+
), ar(
|
|
974
975
|
v && v.map(
|
|
975
|
-
(
|
|
976
|
-
params: Object.assign({}, d,
|
|
977
|
-
pathname:
|
|
976
|
+
(_) => Object.assign({}, _, {
|
|
977
|
+
params: Object.assign({}, d, _.params),
|
|
978
|
+
pathname: Q([
|
|
978
979
|
l,
|
|
979
980
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
980
|
-
r.encodeLocation ? r.encodeLocation(
|
|
981
|
+
r.encodeLocation ? r.encodeLocation(_.pathname).pathname : _.pathname
|
|
981
982
|
]),
|
|
982
|
-
pathnameBase:
|
|
983
|
+
pathnameBase: _.pathnameBase === "/" ? l : Q([
|
|
983
984
|
l,
|
|
984
985
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
985
|
-
r.encodeLocation ? r.encodeLocation(
|
|
986
|
+
r.encodeLocation ? r.encodeLocation(_.pathnameBase).pathname : _.pathnameBase
|
|
986
987
|
])
|
|
987
988
|
})
|
|
988
989
|
),
|
|
@@ -991,14 +992,14 @@ Please change the parent <Route path="${p}"> to <Route path="${p === "/" ? "*" :
|
|
|
991
992
|
a
|
|
992
993
|
);
|
|
993
994
|
}
|
|
994
|
-
function
|
|
995
|
-
let e =
|
|
995
|
+
function er() {
|
|
996
|
+
let e = cr(), t = Un(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null, a = "rgba(200,200,200, 0.5)", r = { padding: "0.5rem", backgroundColor: a }, s = { padding: "2px 4px", backgroundColor: a }, c = null;
|
|
996
997
|
return console.error(
|
|
997
998
|
"Error handled by React Router default ErrorBoundary:",
|
|
998
999
|
e
|
|
999
|
-
), c = /* @__PURE__ */
|
|
1000
|
+
), c = /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ g.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ g.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ g.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ g.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ g.createElement("pre", { style: r }, n) : null, c);
|
|
1000
1001
|
}
|
|
1001
|
-
var
|
|
1002
|
+
var tr = /* @__PURE__ */ g.createElement(er, null), nr = class extends g.Component {
|
|
1002
1003
|
constructor(e) {
|
|
1003
1004
|
super(e), this.state = {
|
|
1004
1005
|
location: e.location,
|
|
@@ -1028,7 +1029,7 @@ var er = /* @__PURE__ */ _.createElement(Qn, null), tr = class extends _.Compone
|
|
|
1028
1029
|
);
|
|
1029
1030
|
}
|
|
1030
1031
|
render() {
|
|
1031
|
-
return this.state.error !== void 0 ? /* @__PURE__ */
|
|
1032
|
+
return this.state.error !== void 0 ? /* @__PURE__ */ g.createElement(re.Provider, { value: this.props.routeContext }, /* @__PURE__ */ g.createElement(
|
|
1032
1033
|
st.Provider,
|
|
1033
1034
|
{
|
|
1034
1035
|
value: this.state.error,
|
|
@@ -1037,11 +1038,11 @@ var er = /* @__PURE__ */ _.createElement(Qn, null), tr = class extends _.Compone
|
|
|
1037
1038
|
)) : this.props.children;
|
|
1038
1039
|
}
|
|
1039
1040
|
};
|
|
1040
|
-
function
|
|
1041
|
-
let a =
|
|
1042
|
-
return a && a.static && a.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (a.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */
|
|
1041
|
+
function rr({ routeContext: e, match: t, children: n }) {
|
|
1042
|
+
let a = g.useContext(Ce);
|
|
1043
|
+
return a && a.static && a.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (a.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ g.createElement(re.Provider, { value: e }, n);
|
|
1043
1044
|
}
|
|
1044
|
-
function
|
|
1045
|
+
function ar(e, t = [], n = null, a = null) {
|
|
1045
1046
|
if (e == null) {
|
|
1046
1047
|
if (!n)
|
|
1047
1048
|
return null;
|
|
@@ -1081,15 +1082,15 @@ function rr(e, t = [], n = null, a = null) {
|
|
|
1081
1082
|
}
|
|
1082
1083
|
return r.reduceRight((i, l, u) => {
|
|
1083
1084
|
let m, h = !1, y = null, f = null;
|
|
1084
|
-
n && (m = s && l.route.id ? s[l.route.id] : void 0, y = l.route.errorElement ||
|
|
1085
|
+
n && (m = s && l.route.id ? s[l.route.id] : void 0, y = l.route.errorElement || tr, c && (d < 0 && u === 0 ? (Ht(
|
|
1085
1086
|
"route-fallback",
|
|
1086
1087
|
!1,
|
|
1087
1088
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
1088
1089
|
), h = !0, f = null) : d === u && (h = !0, f = l.route.hydrateFallbackElement || null)));
|
|
1089
1090
|
let v = t.concat(r.slice(0, u + 1)), x = () => {
|
|
1090
|
-
let
|
|
1091
|
-
return m ?
|
|
1092
|
-
|
|
1091
|
+
let _;
|
|
1092
|
+
return m ? _ = y : h ? _ = f : l.route.Component ? _ = /* @__PURE__ */ g.createElement(l.route.Component, null) : l.route.element ? _ = l.route.element : _ = i, /* @__PURE__ */ g.createElement(
|
|
1093
|
+
rr,
|
|
1093
1094
|
{
|
|
1094
1095
|
match: l,
|
|
1095
1096
|
routeContext: {
|
|
@@ -1097,12 +1098,12 @@ function rr(e, t = [], n = null, a = null) {
|
|
|
1097
1098
|
matches: v,
|
|
1098
1099
|
isDataRoute: n != null
|
|
1099
1100
|
},
|
|
1100
|
-
children:
|
|
1101
|
+
children: _
|
|
1101
1102
|
}
|
|
1102
1103
|
);
|
|
1103
1104
|
};
|
|
1104
|
-
return n && (l.route.ErrorBoundary || l.route.errorElement || u === 0) ? /* @__PURE__ */
|
|
1105
|
-
|
|
1105
|
+
return n && (l.route.ErrorBoundary || l.route.errorElement || u === 0) ? /* @__PURE__ */ g.createElement(
|
|
1106
|
+
nr,
|
|
1106
1107
|
{
|
|
1107
1108
|
location: n.location,
|
|
1108
1109
|
revalidation: n.revalidation,
|
|
@@ -1117,34 +1118,34 @@ function rr(e, t = [], n = null, a = null) {
|
|
|
1117
1118
|
function ot(e) {
|
|
1118
1119
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
1119
1120
|
}
|
|
1120
|
-
function ar(e) {
|
|
1121
|
-
let t = _.useContext(Ee);
|
|
1122
|
-
return F(t, ot(e)), t;
|
|
1123
|
-
}
|
|
1124
1121
|
function sr(e) {
|
|
1125
|
-
let t =
|
|
1122
|
+
let t = g.useContext(Ce);
|
|
1126
1123
|
return F(t, ot(e)), t;
|
|
1127
1124
|
}
|
|
1128
1125
|
function or(e) {
|
|
1129
|
-
let t =
|
|
1126
|
+
let t = g.useContext(Ve);
|
|
1127
|
+
return F(t, ot(e)), t;
|
|
1128
|
+
}
|
|
1129
|
+
function ir(e) {
|
|
1130
|
+
let t = g.useContext(re);
|
|
1130
1131
|
return F(t, ot(e)), t;
|
|
1131
1132
|
}
|
|
1132
1133
|
function it(e) {
|
|
1133
|
-
let t =
|
|
1134
|
+
let t = ir(e), n = t.matches[t.matches.length - 1];
|
|
1134
1135
|
return F(
|
|
1135
1136
|
n.route.id,
|
|
1136
1137
|
`${e} can only be used on routes that contain a unique "id"`
|
|
1137
1138
|
), n.route.id;
|
|
1138
1139
|
}
|
|
1139
|
-
function
|
|
1140
|
+
function lr() {
|
|
1140
1141
|
return it(
|
|
1141
1142
|
"useRouteId"
|
|
1142
1143
|
/* UseRouteId */
|
|
1143
1144
|
);
|
|
1144
1145
|
}
|
|
1145
|
-
function
|
|
1146
|
+
function cr() {
|
|
1146
1147
|
var a;
|
|
1147
|
-
let e =
|
|
1148
|
+
let e = g.useContext(st), t = or(
|
|
1148
1149
|
"useRouteError"
|
|
1149
1150
|
/* UseRouteError */
|
|
1150
1151
|
), n = it(
|
|
@@ -1153,58 +1154,58 @@ function lr() {
|
|
|
1153
1154
|
);
|
|
1154
1155
|
return e !== void 0 ? e : (a = t.errors) == null ? void 0 : a[n];
|
|
1155
1156
|
}
|
|
1156
|
-
function
|
|
1157
|
-
let { router: e } =
|
|
1157
|
+
function dr() {
|
|
1158
|
+
let { router: e } = sr(
|
|
1158
1159
|
"useNavigate"
|
|
1159
1160
|
/* UseNavigateStable */
|
|
1160
1161
|
), t = it(
|
|
1161
1162
|
"useNavigate"
|
|
1162
1163
|
/* UseNavigateStable */
|
|
1163
|
-
), n =
|
|
1164
|
+
), n = g.useRef(!1);
|
|
1164
1165
|
return Vt(() => {
|
|
1165
1166
|
n.current = !0;
|
|
1166
|
-
}),
|
|
1167
|
+
}), g.useCallback(
|
|
1167
1168
|
async (r, s = {}) => {
|
|
1168
|
-
|
|
1169
|
+
ee(n.current, Ot), n.current && (typeof r == "number" ? e.navigate(r) : await e.navigate(r, { fromRouteId: t, ...s }));
|
|
1169
1170
|
},
|
|
1170
1171
|
[e, t]
|
|
1171
1172
|
);
|
|
1172
1173
|
}
|
|
1173
1174
|
var _t = {};
|
|
1174
1175
|
function Ht(e, t, n) {
|
|
1175
|
-
!t && !_t[e] && (_t[e] = !0,
|
|
1176
|
+
!t && !_t[e] && (_t[e] = !0, ee(!1, n));
|
|
1176
1177
|
}
|
|
1177
|
-
|
|
1178
|
-
function
|
|
1178
|
+
g.memo(ur);
|
|
1179
|
+
function ur({
|
|
1179
1180
|
routes: e,
|
|
1180
1181
|
future: t,
|
|
1181
1182
|
state: n
|
|
1182
1183
|
}) {
|
|
1183
|
-
return
|
|
1184
|
+
return Qn(e, void 0, n, t);
|
|
1184
1185
|
}
|
|
1185
1186
|
var Be = "get", Fe = "application/x-www-form-urlencoded";
|
|
1186
1187
|
function qe(e) {
|
|
1187
1188
|
return e != null && typeof e.tagName == "string";
|
|
1188
1189
|
}
|
|
1189
|
-
function
|
|
1190
|
+
function hr(e) {
|
|
1190
1191
|
return qe(e) && e.tagName.toLowerCase() === "button";
|
|
1191
1192
|
}
|
|
1192
|
-
function
|
|
1193
|
+
function fr(e) {
|
|
1193
1194
|
return qe(e) && e.tagName.toLowerCase() === "form";
|
|
1194
1195
|
}
|
|
1195
|
-
function
|
|
1196
|
+
function mr(e) {
|
|
1196
1197
|
return qe(e) && e.tagName.toLowerCase() === "input";
|
|
1197
1198
|
}
|
|
1198
|
-
function
|
|
1199
|
+
function pr(e) {
|
|
1199
1200
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
1200
1201
|
}
|
|
1201
|
-
function
|
|
1202
|
+
function _r(e, t) {
|
|
1202
1203
|
return e.button === 0 && // Ignore everything but left clicks
|
|
1203
1204
|
(!t || t === "_self") && // Let browser handle "target=_blank" etc.
|
|
1204
|
-
!
|
|
1205
|
+
!pr(e);
|
|
1205
1206
|
}
|
|
1206
1207
|
var ze = null;
|
|
1207
|
-
function
|
|
1208
|
+
function gr() {
|
|
1208
1209
|
if (ze === null)
|
|
1209
1210
|
try {
|
|
1210
1211
|
new FormData(
|
|
@@ -1217,30 +1218,30 @@ function _r() {
|
|
|
1217
1218
|
}
|
|
1218
1219
|
return ze;
|
|
1219
1220
|
}
|
|
1220
|
-
var
|
|
1221
|
+
var vr = /* @__PURE__ */ new Set([
|
|
1221
1222
|
"application/x-www-form-urlencoded",
|
|
1222
1223
|
"multipart/form-data",
|
|
1223
1224
|
"text/plain"
|
|
1224
1225
|
]);
|
|
1225
1226
|
function Ge(e) {
|
|
1226
|
-
return e != null && !
|
|
1227
|
+
return e != null && !vr.has(e) ? (ee(
|
|
1227
1228
|
!1,
|
|
1228
1229
|
`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fe}"`
|
|
1229
1230
|
), null) : e;
|
|
1230
1231
|
}
|
|
1231
|
-
function
|
|
1232
|
+
function yr(e, t) {
|
|
1232
1233
|
let n, a, r, s, c;
|
|
1233
|
-
if (
|
|
1234
|
+
if (fr(e)) {
|
|
1234
1235
|
let d = e.getAttribute("action");
|
|
1235
|
-
a = d ?
|
|
1236
|
-
} else if (
|
|
1236
|
+
a = d ? ie(d, t) : null, n = e.getAttribute("method") || Be, r = Ge(e.getAttribute("enctype")) || Fe, s = new FormData(e);
|
|
1237
|
+
} else if (hr(e) || mr(e) && (e.type === "submit" || e.type === "image")) {
|
|
1237
1238
|
let d = e.form;
|
|
1238
1239
|
if (d == null)
|
|
1239
1240
|
throw new Error(
|
|
1240
1241
|
'Cannot submit a <button> or <input type="submit"> without a <form>'
|
|
1241
1242
|
);
|
|
1242
1243
|
let i = e.getAttribute("formaction") || d.getAttribute("action");
|
|
1243
|
-
if (a = i ?
|
|
1244
|
+
if (a = i ? ie(i, t) : null, n = e.getAttribute("formmethod") || d.getAttribute("method") || Be, r = Ge(e.getAttribute("formenctype")) || Ge(d.getAttribute("enctype")) || Fe, s = new FormData(d, e), !gr()) {
|
|
1244
1245
|
let { name: l, type: u, value: m } = e;
|
|
1245
1246
|
if (u === "image") {
|
|
1246
1247
|
let h = l ? `${l}.` : "";
|
|
@@ -1260,7 +1261,7 @@ function lt(e, t) {
|
|
|
1260
1261
|
if (e === !1 || e === null || typeof e > "u")
|
|
1261
1262
|
throw new Error(t);
|
|
1262
1263
|
}
|
|
1263
|
-
async function
|
|
1264
|
+
async function xr(e, t) {
|
|
1264
1265
|
if (e.id in t)
|
|
1265
1266
|
return t[e.id];
|
|
1266
1267
|
try {
|
|
@@ -1277,22 +1278,22 @@ async function yr(e, t) {
|
|
|
1277
1278
|
});
|
|
1278
1279
|
}
|
|
1279
1280
|
}
|
|
1280
|
-
function
|
|
1281
|
+
function br(e) {
|
|
1281
1282
|
return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
|
|
1282
1283
|
}
|
|
1283
|
-
async function
|
|
1284
|
+
async function wr(e, t, n) {
|
|
1284
1285
|
let a = await Promise.all(
|
|
1285
1286
|
e.map(async (r) => {
|
|
1286
1287
|
let s = t.routes[r.route.id];
|
|
1287
1288
|
if (s) {
|
|
1288
|
-
let c = await
|
|
1289
|
+
let c = await xr(s, n);
|
|
1289
1290
|
return c.links ? c.links() : [];
|
|
1290
1291
|
}
|
|
1291
1292
|
return [];
|
|
1292
1293
|
})
|
|
1293
1294
|
);
|
|
1294
1295
|
return jr(
|
|
1295
|
-
a.flat(1).filter(
|
|
1296
|
+
a.flat(1).filter(br).filter((r) => r.rel === "stylesheet" || r.rel === "preload").map(
|
|
1296
1297
|
(r) => r.rel === "stylesheet" ? { ...r, rel: "prefetch", as: "style" } : { ...r, rel: "prefetch" }
|
|
1297
1298
|
)
|
|
1298
1299
|
);
|
|
@@ -1333,8 +1334,8 @@ function gt(e, t, n, a, r, s) {
|
|
|
1333
1334
|
return !0;
|
|
1334
1335
|
}) : [];
|
|
1335
1336
|
}
|
|
1336
|
-
function
|
|
1337
|
-
return
|
|
1337
|
+
function Cr(e, t, { includeHydrateFallback: n } = {}) {
|
|
1338
|
+
return Er(
|
|
1338
1339
|
e.map((a) => {
|
|
1339
1340
|
let r = t.routes[a.route.id];
|
|
1340
1341
|
if (!r) return [];
|
|
@@ -1343,10 +1344,10 @@ function wr(e, t, { includeHydrateFallback: n } = {}) {
|
|
|
1343
1344
|
}).flat(1)
|
|
1344
1345
|
);
|
|
1345
1346
|
}
|
|
1346
|
-
function
|
|
1347
|
+
function Er(e) {
|
|
1347
1348
|
return [...new Set(e)];
|
|
1348
1349
|
}
|
|
1349
|
-
function
|
|
1350
|
+
function kr(e) {
|
|
1350
1351
|
let t = {}, n = Object.keys(e).sort();
|
|
1351
1352
|
for (let a of n)
|
|
1352
1353
|
t[a] = e[a];
|
|
@@ -1355,58 +1356,58 @@ function Er(e) {
|
|
|
1355
1356
|
function jr(e, t) {
|
|
1356
1357
|
let n = /* @__PURE__ */ new Set();
|
|
1357
1358
|
return new Set(t), e.reduce((a, r) => {
|
|
1358
|
-
let s = JSON.stringify(
|
|
1359
|
+
let s = JSON.stringify(kr(r));
|
|
1359
1360
|
return n.has(s) || (n.add(s), a.push({ key: s, link: r })), a;
|
|
1360
1361
|
}, []);
|
|
1361
1362
|
}
|
|
1362
1363
|
Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
|
|
1363
|
-
var
|
|
1364
|
-
function
|
|
1364
|
+
var Lr = /* @__PURE__ */ new Set([100, 101, 204, 205]);
|
|
1365
|
+
function Sr(e, t) {
|
|
1365
1366
|
let n = typeof e == "string" ? new URL(
|
|
1366
1367
|
e,
|
|
1367
1368
|
// This can be called during the SSR flow via PrefetchPageLinksImpl so
|
|
1368
1369
|
// don't assume window is available
|
|
1369
1370
|
typeof window > "u" ? "server://singlefetch/" : window.location.origin
|
|
1370
1371
|
) : e;
|
|
1371
|
-
return n.pathname === "/" ? n.pathname = "_root.data" : t &&
|
|
1372
|
+
return n.pathname === "/" ? n.pathname = "_root.data" : t && ie(n.pathname, t) === "/" ? n.pathname = `${t.replace(/\/$/, "")}/_root.data` : n.pathname = `${n.pathname.replace(/\/$/, "")}.data`, n;
|
|
1372
1373
|
}
|
|
1373
1374
|
function qt() {
|
|
1374
|
-
let e =
|
|
1375
|
+
let e = g.useContext(Ce);
|
|
1375
1376
|
return lt(
|
|
1376
1377
|
e,
|
|
1377
1378
|
"You must render this element inside a <DataRouterContext.Provider> element"
|
|
1378
1379
|
), e;
|
|
1379
1380
|
}
|
|
1380
|
-
function
|
|
1381
|
-
let e =
|
|
1381
|
+
function $r() {
|
|
1382
|
+
let e = g.useContext(Ve);
|
|
1382
1383
|
return lt(
|
|
1383
1384
|
e,
|
|
1384
1385
|
"You must render this element inside a <DataRouterStateContext.Provider> element"
|
|
1385
1386
|
), e;
|
|
1386
1387
|
}
|
|
1387
|
-
var ct =
|
|
1388
|
+
var ct = g.createContext(void 0);
|
|
1388
1389
|
ct.displayName = "FrameworkContext";
|
|
1389
1390
|
function Xt() {
|
|
1390
|
-
let e =
|
|
1391
|
+
let e = g.useContext(ct);
|
|
1391
1392
|
return lt(
|
|
1392
1393
|
e,
|
|
1393
1394
|
"You must render this element inside a <HydratedRouter> element"
|
|
1394
1395
|
), e;
|
|
1395
1396
|
}
|
|
1396
|
-
function
|
|
1397
|
-
let n =
|
|
1398
|
-
|
|
1397
|
+
function Ir(e, t) {
|
|
1398
|
+
let n = g.useContext(ct), [a, r] = g.useState(!1), [s, c] = g.useState(!1), { onFocus: d, onBlur: i, onMouseEnter: l, onMouseLeave: u, onTouchStart: m } = t, h = g.useRef(null);
|
|
1399
|
+
g.useEffect(() => {
|
|
1399
1400
|
if (e === "render" && c(!0), e === "viewport") {
|
|
1400
|
-
let v = (
|
|
1401
|
-
|
|
1402
|
-
c(
|
|
1401
|
+
let v = (_) => {
|
|
1402
|
+
_.forEach((w) => {
|
|
1403
|
+
c(w.isIntersecting);
|
|
1403
1404
|
});
|
|
1404
1405
|
}, x = new IntersectionObserver(v, { threshold: 0.5 });
|
|
1405
1406
|
return h.current && x.observe(h.current), () => {
|
|
1406
1407
|
x.disconnect();
|
|
1407
1408
|
};
|
|
1408
1409
|
}
|
|
1409
|
-
}, [e]),
|
|
1410
|
+
}, [e]), g.useEffect(() => {
|
|
1410
1411
|
if (a) {
|
|
1411
1412
|
let v = setTimeout(() => {
|
|
1412
1413
|
c(!0);
|
|
@@ -1425,34 +1426,34 @@ function $r(e, t) {
|
|
|
1425
1426
|
s,
|
|
1426
1427
|
h,
|
|
1427
1428
|
{
|
|
1428
|
-
onFocus:
|
|
1429
|
-
onBlur:
|
|
1430
|
-
onMouseEnter:
|
|
1431
|
-
onMouseLeave:
|
|
1432
|
-
onTouchStart:
|
|
1429
|
+
onFocus: Le(d, y),
|
|
1430
|
+
onBlur: Le(i, f),
|
|
1431
|
+
onMouseEnter: Le(l, y),
|
|
1432
|
+
onMouseLeave: Le(u, f),
|
|
1433
|
+
onTouchStart: Le(m, y)
|
|
1433
1434
|
}
|
|
1434
1435
|
] : [!1, h, {}];
|
|
1435
1436
|
}
|
|
1436
|
-
function
|
|
1437
|
+
function Le(e, t) {
|
|
1437
1438
|
return (n) => {
|
|
1438
1439
|
e && e(n), n.defaultPrevented || t(n);
|
|
1439
1440
|
};
|
|
1440
1441
|
}
|
|
1441
|
-
function
|
|
1442
|
+
function Nr({
|
|
1442
1443
|
page: e,
|
|
1443
1444
|
...t
|
|
1444
1445
|
}) {
|
|
1445
|
-
let { router: n } = qt(), a =
|
|
1446
|
+
let { router: n } = qt(), a = g.useMemo(
|
|
1446
1447
|
() => Tt(n.routes, e, n.basename),
|
|
1447
1448
|
[n.routes, e, n.basename]
|
|
1448
1449
|
);
|
|
1449
|
-
return a ? /* @__PURE__ */
|
|
1450
|
+
return a ? /* @__PURE__ */ g.createElement(Mr, { page: e, matches: a, ...t }) : null;
|
|
1450
1451
|
}
|
|
1451
|
-
function
|
|
1452
|
-
let { manifest: t, routeModules: n } = Xt(), [a, r] =
|
|
1453
|
-
return
|
|
1452
|
+
function Rr(e) {
|
|
1453
|
+
let { manifest: t, routeModules: n } = Xt(), [a, r] = g.useState([]);
|
|
1454
|
+
return g.useEffect(() => {
|
|
1454
1455
|
let s = !1;
|
|
1455
|
-
return
|
|
1456
|
+
return wr(e, t, n).then(
|
|
1456
1457
|
(c) => {
|
|
1457
1458
|
s || r(c);
|
|
1458
1459
|
}
|
|
@@ -1461,12 +1462,12 @@ function Nr(e) {
|
|
|
1461
1462
|
};
|
|
1462
1463
|
}, [e, t, n]), a;
|
|
1463
1464
|
}
|
|
1464
|
-
function
|
|
1465
|
+
function Mr({
|
|
1465
1466
|
page: e,
|
|
1466
1467
|
matches: t,
|
|
1467
1468
|
...n
|
|
1468
1469
|
}) {
|
|
1469
|
-
let a =
|
|
1470
|
+
let a = de(), { manifest: r, routeModules: s } = Xt(), { basename: c } = qt(), { loaderData: d, matches: i } = $r(), l = g.useMemo(
|
|
1470
1471
|
() => gt(
|
|
1471
1472
|
e,
|
|
1472
1473
|
t,
|
|
@@ -1476,7 +1477,7 @@ function Rr({
|
|
|
1476
1477
|
"data"
|
|
1477
1478
|
),
|
|
1478
1479
|
[e, t, i, r, a]
|
|
1479
|
-
), u =
|
|
1480
|
+
), u = g.useMemo(
|
|
1480
1481
|
() => gt(
|
|
1481
1482
|
e,
|
|
1482
1483
|
t,
|
|
@@ -1486,20 +1487,20 @@ function Rr({
|
|
|
1486
1487
|
"assets"
|
|
1487
1488
|
),
|
|
1488
1489
|
[e, t, i, r, a]
|
|
1489
|
-
), m =
|
|
1490
|
+
), m = g.useMemo(() => {
|
|
1490
1491
|
if (e === a.pathname + a.search + a.hash)
|
|
1491
1492
|
return [];
|
|
1492
1493
|
let f = /* @__PURE__ */ new Set(), v = !1;
|
|
1493
|
-
if (t.forEach((
|
|
1494
|
-
var
|
|
1495
|
-
let
|
|
1496
|
-
!
|
|
1494
|
+
if (t.forEach((_) => {
|
|
1495
|
+
var b;
|
|
1496
|
+
let w = r.routes[_.route.id];
|
|
1497
|
+
!w || !w.hasLoader || (!l.some((S) => S.route.id === _.route.id) && _.route.id in d && ((b = s[_.route.id]) != null && b.shouldRevalidate) || w.hasClientLoader ? v = !0 : f.add(_.route.id));
|
|
1497
1498
|
}), f.size === 0)
|
|
1498
1499
|
return [];
|
|
1499
|
-
let x =
|
|
1500
|
+
let x = Sr(e, c);
|
|
1500
1501
|
return v && f.size > 0 && x.searchParams.set(
|
|
1501
1502
|
"_routes",
|
|
1502
|
-
t.filter((
|
|
1503
|
+
t.filter((_) => f.has(_.route.id)).map((_) => _.route.id).join(",")
|
|
1503
1504
|
), [x.pathname + x.search];
|
|
1504
1505
|
}, [
|
|
1505
1506
|
c,
|
|
@@ -1510,29 +1511,29 @@ function Rr({
|
|
|
1510
1511
|
t,
|
|
1511
1512
|
e,
|
|
1512
1513
|
s
|
|
1513
|
-
]), h =
|
|
1514
|
-
() =>
|
|
1514
|
+
]), h = g.useMemo(
|
|
1515
|
+
() => Cr(u, r),
|
|
1515
1516
|
[u, r]
|
|
1516
|
-
), y =
|
|
1517
|
-
return /* @__PURE__ */
|
|
1517
|
+
), y = Rr(u);
|
|
1518
|
+
return /* @__PURE__ */ g.createElement(g.Fragment, null, m.map((f) => /* @__PURE__ */ g.createElement("link", { key: f, rel: "prefetch", as: "fetch", href: f, ...n })), h.map((f) => /* @__PURE__ */ g.createElement("link", { key: f, rel: "modulepreload", href: f, ...n })), y.map(({ key: f, link: v }) => (
|
|
1518
1519
|
// these don't spread `linkProps` because they are full link descriptors
|
|
1519
1520
|
// already with their own props
|
|
1520
|
-
/* @__PURE__ */
|
|
1521
|
+
/* @__PURE__ */ g.createElement("link", { key: f, ...v })
|
|
1521
1522
|
)));
|
|
1522
1523
|
}
|
|
1523
|
-
function
|
|
1524
|
+
function Tr(...e) {
|
|
1524
1525
|
return (t) => {
|
|
1525
1526
|
e.forEach((n) => {
|
|
1526
1527
|
typeof n == "function" ? n(t) : n != null && (n.current = t);
|
|
1527
1528
|
});
|
|
1528
1529
|
};
|
|
1529
1530
|
}
|
|
1530
|
-
var
|
|
1531
|
+
var Ut = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
|
|
1531
1532
|
try {
|
|
1532
|
-
|
|
1533
|
+
Ut && (window.__reactRouterVersion = "7.6.2");
|
|
1533
1534
|
} catch {
|
|
1534
1535
|
}
|
|
1535
|
-
var
|
|
1536
|
+
var Wt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ie = g.forwardRef(
|
|
1536
1537
|
function({
|
|
1537
1538
|
onClick: t,
|
|
1538
1539
|
discover: n = "render",
|
|
@@ -1547,21 +1548,21 @@ var Ut = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ie = _.forwardRef(
|
|
|
1547
1548
|
viewTransition: m,
|
|
1548
1549
|
...h
|
|
1549
1550
|
}, y) {
|
|
1550
|
-
let { basename: f } =
|
|
1551
|
-
if (typeof l == "string" && v && (x = l,
|
|
1551
|
+
let { basename: f } = g.useContext(ne), v = typeof l == "string" && Wt.test(l), x, _ = !1;
|
|
1552
|
+
if (typeof l == "string" && v && (x = l, Ut))
|
|
1552
1553
|
try {
|
|
1553
|
-
let
|
|
1554
|
-
|
|
1554
|
+
let k = new URL(window.location.href), R = l.startsWith("//") ? new URL(k.protocol + l) : new URL(l), H = ie(R.pathname, f);
|
|
1555
|
+
R.origin === k.origin && H != null ? l = H + R.search + R.hash : _ = !0;
|
|
1555
1556
|
} catch {
|
|
1556
|
-
|
|
1557
|
+
ee(
|
|
1557
1558
|
!1,
|
|
1558
1559
|
`<Link to="${l}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
1559
1560
|
);
|
|
1560
1561
|
}
|
|
1561
|
-
let
|
|
1562
|
+
let w = Gn(l, { relative: r }), [b, S, j] = Ir(
|
|
1562
1563
|
a,
|
|
1563
1564
|
h
|
|
1564
|
-
), L =
|
|
1565
|
+
), L = Ar(l, {
|
|
1565
1566
|
replace: c,
|
|
1566
1567
|
state: d,
|
|
1567
1568
|
target: i,
|
|
@@ -1569,29 +1570,29 @@ var Ut = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ie = _.forwardRef(
|
|
|
1569
1570
|
relative: r,
|
|
1570
1571
|
viewTransition: m
|
|
1571
1572
|
});
|
|
1572
|
-
function
|
|
1573
|
-
t && t(
|
|
1573
|
+
function I(k) {
|
|
1574
|
+
t && t(k), k.defaultPrevented || L(k);
|
|
1574
1575
|
}
|
|
1575
|
-
let
|
|
1576
|
+
let N = (
|
|
1576
1577
|
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
1577
|
-
/* @__PURE__ */
|
|
1578
|
+
/* @__PURE__ */ g.createElement(
|
|
1578
1579
|
"a",
|
|
1579
1580
|
{
|
|
1580
1581
|
...h,
|
|
1581
|
-
...
|
|
1582
|
-
href: x ||
|
|
1583
|
-
onClick:
|
|
1584
|
-
ref:
|
|
1582
|
+
...j,
|
|
1583
|
+
href: x || w,
|
|
1584
|
+
onClick: _ || s ? t : I,
|
|
1585
|
+
ref: Tr(y, S),
|
|
1585
1586
|
target: i,
|
|
1586
1587
|
"data-discover": !v && n === "render" ? "true" : void 0
|
|
1587
1588
|
}
|
|
1588
1589
|
)
|
|
1589
1590
|
);
|
|
1590
|
-
return
|
|
1591
|
+
return b && !v ? /* @__PURE__ */ g.createElement(g.Fragment, null, N, /* @__PURE__ */ g.createElement(Nr, { page: w })) : N;
|
|
1591
1592
|
}
|
|
1592
1593
|
);
|
|
1593
1594
|
Ie.displayName = "Link";
|
|
1594
|
-
var
|
|
1595
|
+
var zr = g.forwardRef(
|
|
1595
1596
|
function({
|
|
1596
1597
|
"aria-current": t = "page",
|
|
1597
1598
|
caseSensitive: n = !1,
|
|
@@ -1603,40 +1604,40 @@ var Tr = _.forwardRef(
|
|
|
1603
1604
|
children: i,
|
|
1604
1605
|
...l
|
|
1605
1606
|
}, u) {
|
|
1606
|
-
let m = Me(c, { relative: l.relative }), h =
|
|
1607
|
+
let m = Me(c, { relative: l.relative }), h = de(), y = g.useContext(Ve), { navigator: f, basename: v } = g.useContext(ne), x = y != null && // Conditional usage is OK here because the usage of a data router is static
|
|
1607
1608
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
1608
|
-
|
|
1609
|
-
n || (
|
|
1610
|
-
const S =
|
|
1611
|
-
let
|
|
1612
|
-
isActive:
|
|
1609
|
+
Hr(m) && d === !0, _ = f.encodeLocation ? f.encodeLocation(m).pathname : m.pathname, w = h.pathname, b = y && y.navigation && y.navigation.location ? y.navigation.location.pathname : null;
|
|
1610
|
+
n || (w = w.toLowerCase(), b = b ? b.toLowerCase() : null, _ = _.toLowerCase()), b && v && (b = ie(b, v) || b);
|
|
1611
|
+
const S = _ !== "/" && _.endsWith("/") ? _.length - 1 : _.length;
|
|
1612
|
+
let j = w === _ || !r && w.startsWith(_) && w.charAt(S) === "/", L = b != null && (b === _ || !r && b.startsWith(_) && b.charAt(_.length) === "/"), I = {
|
|
1613
|
+
isActive: j,
|
|
1613
1614
|
isPending: L,
|
|
1614
1615
|
isTransitioning: x
|
|
1615
|
-
},
|
|
1616
|
-
typeof a == "function" ?
|
|
1616
|
+
}, N = j ? t : void 0, k;
|
|
1617
|
+
typeof a == "function" ? k = a(I) : k = [
|
|
1617
1618
|
a,
|
|
1618
|
-
|
|
1619
|
+
j ? "active" : null,
|
|
1619
1620
|
L ? "pending" : null,
|
|
1620
1621
|
x ? "transitioning" : null
|
|
1621
1622
|
].filter(Boolean).join(" ");
|
|
1622
|
-
let
|
|
1623
|
-
return /* @__PURE__ */
|
|
1623
|
+
let R = typeof s == "function" ? s(I) : s;
|
|
1624
|
+
return /* @__PURE__ */ g.createElement(
|
|
1624
1625
|
Ie,
|
|
1625
1626
|
{
|
|
1626
1627
|
...l,
|
|
1627
|
-
"aria-current":
|
|
1628
|
-
className:
|
|
1628
|
+
"aria-current": N,
|
|
1629
|
+
className: k,
|
|
1629
1630
|
ref: u,
|
|
1630
|
-
style:
|
|
1631
|
+
style: R,
|
|
1631
1632
|
to: c,
|
|
1632
1633
|
viewTransition: d
|
|
1633
1634
|
},
|
|
1634
|
-
typeof i == "function" ? i(
|
|
1635
|
+
typeof i == "function" ? i(I) : i
|
|
1635
1636
|
);
|
|
1636
1637
|
}
|
|
1637
1638
|
);
|
|
1638
|
-
|
|
1639
|
-
var
|
|
1639
|
+
zr.displayName = "NavLink";
|
|
1640
|
+
var Pr = g.forwardRef(
|
|
1640
1641
|
({
|
|
1641
1642
|
discover: e = "render",
|
|
1642
1643
|
fetcherKey: t,
|
|
@@ -1652,13 +1653,13 @@ var zr = _.forwardRef(
|
|
|
1652
1653
|
viewTransition: m,
|
|
1653
1654
|
...h
|
|
1654
1655
|
}, y) => {
|
|
1655
|
-
let f =
|
|
1656
|
-
if (i && i(
|
|
1657
|
-
|
|
1658
|
-
let S =
|
|
1659
|
-
f(S ||
|
|
1656
|
+
let f = Or(), v = Vr(d, { relative: l }), x = c.toLowerCase() === "get" ? "get" : "post", _ = typeof d == "string" && Wt.test(d), w = (b) => {
|
|
1657
|
+
if (i && i(b), b.defaultPrevented) return;
|
|
1658
|
+
b.preventDefault();
|
|
1659
|
+
let S = b.nativeEvent.submitter, j = (S == null ? void 0 : S.getAttribute("formmethod")) || c;
|
|
1660
|
+
f(S || b.currentTarget, {
|
|
1660
1661
|
fetcherKey: t,
|
|
1661
|
-
method:
|
|
1662
|
+
method: j,
|
|
1662
1663
|
navigate: n,
|
|
1663
1664
|
replace: r,
|
|
1664
1665
|
state: s,
|
|
@@ -1667,28 +1668,28 @@ var zr = _.forwardRef(
|
|
|
1667
1668
|
viewTransition: m
|
|
1668
1669
|
});
|
|
1669
1670
|
};
|
|
1670
|
-
return /* @__PURE__ */
|
|
1671
|
+
return /* @__PURE__ */ g.createElement(
|
|
1671
1672
|
"form",
|
|
1672
1673
|
{
|
|
1673
1674
|
ref: y,
|
|
1674
1675
|
method: x,
|
|
1675
1676
|
action: v,
|
|
1676
|
-
onSubmit: a ? i :
|
|
1677
|
+
onSubmit: a ? i : w,
|
|
1677
1678
|
...h,
|
|
1678
|
-
"data-discover": !
|
|
1679
|
+
"data-discover": !_ && e === "render" ? "true" : void 0
|
|
1679
1680
|
}
|
|
1680
1681
|
);
|
|
1681
1682
|
}
|
|
1682
1683
|
);
|
|
1683
|
-
|
|
1684
|
+
Pr.displayName = "Form";
|
|
1684
1685
|
function Dr(e) {
|
|
1685
1686
|
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
1686
1687
|
}
|
|
1687
1688
|
function Yt(e) {
|
|
1688
|
-
let t =
|
|
1689
|
+
let t = g.useContext(Ce);
|
|
1689
1690
|
return F(t, Dr(e)), t;
|
|
1690
1691
|
}
|
|
1691
|
-
function
|
|
1692
|
+
function Ar(e, {
|
|
1692
1693
|
target: t,
|
|
1693
1694
|
replace: n,
|
|
1694
1695
|
state: a,
|
|
@@ -1696,10 +1697,10 @@ function Pr(e, {
|
|
|
1696
1697
|
relative: s,
|
|
1697
1698
|
viewTransition: c
|
|
1698
1699
|
} = {}) {
|
|
1699
|
-
let d =
|
|
1700
|
-
return
|
|
1700
|
+
let d = Kn(), i = de(), l = Me(e, { relative: s });
|
|
1701
|
+
return g.useCallback(
|
|
1701
1702
|
(u) => {
|
|
1702
|
-
if (
|
|
1703
|
+
if (_r(u, t)) {
|
|
1703
1704
|
u.preventDefault();
|
|
1704
1705
|
let m = n !== void 0 ? n : nt(i) === nt(l);
|
|
1705
1706
|
d(e, {
|
|
@@ -1725,20 +1726,20 @@ function Pr(e, {
|
|
|
1725
1726
|
]
|
|
1726
1727
|
);
|
|
1727
1728
|
}
|
|
1728
|
-
var
|
|
1729
|
-
function
|
|
1729
|
+
var Br = 0, Fr = () => `__${String(++Br)}__`;
|
|
1730
|
+
function Or() {
|
|
1730
1731
|
let { router: e } = Yt(
|
|
1731
1732
|
"useSubmit"
|
|
1732
1733
|
/* UseSubmit */
|
|
1733
|
-
), { basename: t } =
|
|
1734
|
-
return
|
|
1734
|
+
), { basename: t } = g.useContext(ne), n = lr();
|
|
1735
|
+
return g.useCallback(
|
|
1735
1736
|
async (a, r = {}) => {
|
|
1736
|
-
let { action: s, method: c, encType: d, formData: i, body: l } =
|
|
1737
|
+
let { action: s, method: c, encType: d, formData: i, body: l } = yr(
|
|
1737
1738
|
a,
|
|
1738
1739
|
t
|
|
1739
1740
|
);
|
|
1740
1741
|
if (r.navigate === !1) {
|
|
1741
|
-
let u = r.fetcherKey ||
|
|
1742
|
+
let u = r.fetcherKey || Fr();
|
|
1742
1743
|
await e.fetch(u, n, r.action || s, {
|
|
1743
1744
|
preventScrollReset: r.preventScrollReset,
|
|
1744
1745
|
formData: i,
|
|
@@ -1764,10 +1765,10 @@ function Fr() {
|
|
|
1764
1765
|
[e, t, n]
|
|
1765
1766
|
);
|
|
1766
1767
|
}
|
|
1767
|
-
function
|
|
1768
|
-
let { basename: n } =
|
|
1768
|
+
function Vr(e, { relative: t } = {}) {
|
|
1769
|
+
let { basename: n } = g.useContext(ne), a = g.useContext(re);
|
|
1769
1770
|
F(a, "useFormAction must be used inside a RouteContext");
|
|
1770
|
-
let [r] = a.matches.slice(-1), s = { ...Me(e || ".", { relative: t }) }, c =
|
|
1771
|
+
let [r] = a.matches.slice(-1), s = { ...Me(e || ".", { relative: t }) }, c = de();
|
|
1771
1772
|
if (e == null) {
|
|
1772
1773
|
s.search = c.search;
|
|
1773
1774
|
let d = new URLSearchParams(s.search), i = d.getAll("index");
|
|
@@ -1777,10 +1778,10 @@ function Or(e, { relative: t } = {}) {
|
|
|
1777
1778
|
s.search = u ? `?${u}` : "";
|
|
1778
1779
|
}
|
|
1779
1780
|
}
|
|
1780
|
-
return (!e || e === ".") && r.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), n !== "/" && (s.pathname = s.pathname === "/" ? n :
|
|
1781
|
+
return (!e || e === ".") && r.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), n !== "/" && (s.pathname = s.pathname === "/" ? n : Q([n, s.pathname])), nt(s);
|
|
1781
1782
|
}
|
|
1782
|
-
function
|
|
1783
|
-
let n =
|
|
1783
|
+
function Hr(e, t = {}) {
|
|
1784
|
+
let n = g.useContext(Ft);
|
|
1784
1785
|
F(
|
|
1785
1786
|
n != null,
|
|
1786
1787
|
"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
|
|
@@ -1791,29 +1792,29 @@ function Vr(e, t = {}) {
|
|
|
1791
1792
|
), r = Me(e, { relative: t.relative });
|
|
1792
1793
|
if (!n.isTransitioning)
|
|
1793
1794
|
return !1;
|
|
1794
|
-
let s =
|
|
1795
|
+
let s = ie(n.currentLocation.pathname, a) || n.currentLocation.pathname, c = ie(n.nextLocation.pathname, a) || n.nextLocation.pathname;
|
|
1795
1796
|
return Oe(r.pathname, c) != null || Oe(r.pathname, s) != null;
|
|
1796
1797
|
}
|
|
1797
1798
|
[
|
|
1798
|
-
...
|
|
1799
|
+
...Lr
|
|
1799
1800
|
];
|
|
1800
|
-
const
|
|
1801
|
-
button:
|
|
1802
|
-
noMargin:
|
|
1803
|
-
regular:
|
|
1801
|
+
const qr = "_button_1jbpj_161", Xr = "_noMargin_1jbpj_189", Ur = "_regular_1jbpj_199", Wr = "_small_1jbpj_202", Yr = "_primary_1jbpj_213", Jr = "_noHover_1jbpj_217", Gr = "_secondary_1jbpj_233", Kr = "_disabled_1jbpj_252", Zr = "_hasErrors_1jbpj_272", Qr = "_rounded_1jbpj_278", ea = "_hasArrowLeft_1jbpj_282", ta = "_pushprev_1jbpj_1", na = "_hasArrowRight_1jbpj_320", ra = "_pushnext_1jbpj_1", aa = "_hasIcon_1jbpj_358", sa = "_buttonContent_1jbpj_362", B = {
|
|
1802
|
+
button: qr,
|
|
1803
|
+
noMargin: Xr,
|
|
1804
|
+
regular: Ur,
|
|
1804
1805
|
small: Wr,
|
|
1805
|
-
primary:
|
|
1806
|
-
noHover:
|
|
1807
|
-
secondary:
|
|
1808
|
-
disabled:
|
|
1809
|
-
hasErrors:
|
|
1810
|
-
rounded:
|
|
1811
|
-
hasArrowLeft:
|
|
1812
|
-
pushprev:
|
|
1813
|
-
hasArrowRight:
|
|
1814
|
-
pushnext:
|
|
1815
|
-
hasIcon:
|
|
1816
|
-
buttonContent:
|
|
1806
|
+
primary: Yr,
|
|
1807
|
+
noHover: Jr,
|
|
1808
|
+
secondary: Gr,
|
|
1809
|
+
disabled: Kr,
|
|
1810
|
+
hasErrors: Zr,
|
|
1811
|
+
rounded: Qr,
|
|
1812
|
+
hasArrowLeft: ea,
|
|
1813
|
+
pushprev: ta,
|
|
1814
|
+
hasArrowRight: na,
|
|
1815
|
+
pushnext: ra,
|
|
1816
|
+
hasIcon: aa,
|
|
1817
|
+
buttonContent: sa
|
|
1817
1818
|
}, Jt = ({
|
|
1818
1819
|
content: e,
|
|
1819
1820
|
color: t = "primary",
|
|
@@ -1841,9 +1842,9 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
1841
1842
|
default:
|
|
1842
1843
|
return "";
|
|
1843
1844
|
}
|
|
1844
|
-
},
|
|
1845
|
+
}, _ = s === "radio" ? c ? "primary" : "secondary" : t, w = z([
|
|
1845
1846
|
B.button,
|
|
1846
|
-
B[
|
|
1847
|
+
B[_],
|
|
1847
1848
|
B[n],
|
|
1848
1849
|
x(a),
|
|
1849
1850
|
i || s === "radio" ? B.noHover : null,
|
|
@@ -1852,38 +1853,38 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
1852
1853
|
r ? B.disabled : null,
|
|
1853
1854
|
u ? B.noMargin : null,
|
|
1854
1855
|
y || f ? B.hasIcon : null
|
|
1855
|
-
]),
|
|
1856
|
+
]), b = {
|
|
1856
1857
|
"aria-invalid": d || void 0,
|
|
1857
1858
|
href: !r && (m != null && m.length) ? m : void 0,
|
|
1858
|
-
className:
|
|
1859
|
+
className: w,
|
|
1859
1860
|
// Always include className in buttonProps for all elements
|
|
1860
1861
|
...v
|
|
1861
1862
|
}, S = (L) => K.Children.toArray(
|
|
1862
|
-
|
|
1863
|
-
).map((
|
|
1864
|
-
if (!K.isValidElement(
|
|
1865
|
-
const
|
|
1866
|
-
return !r &&
|
|
1867
|
-
|
|
1863
|
+
we(L)
|
|
1864
|
+
).map((N) => {
|
|
1865
|
+
if (!K.isValidElement(N)) return null;
|
|
1866
|
+
const k = N, R = k.type === Ie && typeof k.props == "object" && k.props !== null && "to" in k.props;
|
|
1867
|
+
return !r && R ? be(
|
|
1868
|
+
k,
|
|
1868
1869
|
{
|
|
1869
|
-
className:
|
|
1870
|
-
key: `button-${
|
|
1871
|
-
to:
|
|
1870
|
+
className: w,
|
|
1871
|
+
key: `button-${k.key}`,
|
|
1872
|
+
to: k.props.to
|
|
1872
1873
|
},
|
|
1873
1874
|
y,
|
|
1874
|
-
/* @__PURE__ */ o.jsx("span", { className: B.buttonContent, children:
|
|
1875
|
+
/* @__PURE__ */ o.jsx("span", { className: B.buttonContent, children: k.props.children }),
|
|
1875
1876
|
f
|
|
1876
|
-
) : /* @__PURE__ */ Qt("button", { ...
|
|
1877
|
+
) : /* @__PURE__ */ Qt("button", { ...b, key: `button-${k.key}` }, y, /* @__PURE__ */ o.jsx("span", { className: B.buttonContent, children: e || (k.props ? k.props.children : null) }), f);
|
|
1877
1878
|
});
|
|
1878
1879
|
if (s === "button")
|
|
1879
|
-
return /* @__PURE__ */ o.jsxs("button", { type: "button", ...
|
|
1880
|
+
return /* @__PURE__ */ o.jsxs("button", { type: "button", ...b, children: [
|
|
1880
1881
|
y,
|
|
1881
1882
|
/* @__PURE__ */ o.jsx("span", { className: B.buttonContent, children: e || h }),
|
|
1882
1883
|
f
|
|
1883
1884
|
] });
|
|
1884
1885
|
if (s === "radio") {
|
|
1885
|
-
const L = { ...
|
|
1886
|
-
return delete L.href, /* @__PURE__ */ o.jsxs("label", { className:
|
|
1886
|
+
const L = { ...b };
|
|
1887
|
+
return delete L.href, /* @__PURE__ */ o.jsxs("label", { className: w, children: [
|
|
1887
1888
|
/* @__PURE__ */ o.jsx(
|
|
1888
1889
|
"input",
|
|
1889
1890
|
{
|
|
@@ -1897,25 +1898,25 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
1897
1898
|
] });
|
|
1898
1899
|
}
|
|
1899
1900
|
if (m != null && m.length && !r) {
|
|
1900
|
-
const L = { ...
|
|
1901
|
+
const L = { ...b };
|
|
1901
1902
|
return "type" in L && delete L.type, /* @__PURE__ */ o.jsxs("a", { ...L, children: [
|
|
1902
1903
|
y,
|
|
1903
1904
|
/* @__PURE__ */ o.jsx("span", { className: B.buttonContent, children: e || h }),
|
|
1904
1905
|
f
|
|
1905
1906
|
] });
|
|
1906
1907
|
}
|
|
1907
|
-
return K.isValidElement(h) && h.type === Ie ? /* @__PURE__ */ o.jsx(Nt, { children: S(
|
|
1908
|
+
return K.isValidElement(h) && h.type === Ie ? /* @__PURE__ */ o.jsx(Nt, { children: S(xe.toArray(h)) }) : /* @__PURE__ */ o.jsxs("button", { ...b, children: [
|
|
1908
1909
|
y,
|
|
1909
1910
|
/* @__PURE__ */ o.jsx("span", { className: B.buttonContent, children: e || h }),
|
|
1910
1911
|
f
|
|
1911
1912
|
] });
|
|
1912
|
-
},
|
|
1913
|
-
checkBoxIcon:
|
|
1914
|
-
showBox:
|
|
1915
|
-
hasErrors:
|
|
1916
|
-
checked:
|
|
1917
|
-
disabled:
|
|
1918
|
-
checkmark:
|
|
1913
|
+
}, oa = "_checkBoxIcon_1kc3w_1", ia = "_showBox_1kc3w_22", la = "_hasErrors_1kc3w_27", ca = "_checked_1kc3w_37", da = "_disabled_1kc3w_53", ua = "_checkmark_1kc3w_58", he = {
|
|
1914
|
+
checkBoxIcon: oa,
|
|
1915
|
+
showBox: ia,
|
|
1916
|
+
hasErrors: la,
|
|
1917
|
+
checked: ca,
|
|
1918
|
+
disabled: da,
|
|
1919
|
+
checkmark: ua
|
|
1919
1920
|
}, vt = ({
|
|
1920
1921
|
size: e = "20px",
|
|
1921
1922
|
checked: t = !1,
|
|
@@ -1929,21 +1930,21 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
1929
1930
|
width: e,
|
|
1930
1931
|
fontSize: e
|
|
1931
1932
|
}, d = [
|
|
1932
|
-
|
|
1933
|
-
t &&
|
|
1934
|
-
n &&
|
|
1935
|
-
a &&
|
|
1936
|
-
r &&
|
|
1933
|
+
he.checkBoxIcon,
|
|
1934
|
+
t && he.checked,
|
|
1935
|
+
n && he.disabled,
|
|
1936
|
+
a && he.showBox,
|
|
1937
|
+
r && he.hasErrors
|
|
1937
1938
|
].filter(Boolean).join(" ");
|
|
1938
|
-
return /* @__PURE__ */ o.jsx("span", { className: d, style: c, children: /* @__PURE__ */ o.jsx("span", { "aria-hidden": !0, className:
|
|
1939
|
-
},
|
|
1940
|
-
checkBoxInput:
|
|
1941
|
-
requiredSymbol:
|
|
1942
|
-
contentOnly:
|
|
1943
|
-
disabled:
|
|
1944
|
-
labelText:
|
|
1945
|
-
hasErrors:
|
|
1946
|
-
},
|
|
1939
|
+
return /* @__PURE__ */ o.jsx("span", { className: d, style: c, children: /* @__PURE__ */ o.jsx("span", { "aria-hidden": !0, className: he.checkmark, children: t ? s : "" }) });
|
|
1940
|
+
}, te = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32.275'%20height='30.469'%20focusable='false'%3e%3cpath%20fill='%239d2024'%20d='m0%2014.355%202.246-6.933c5.176%201.823%208.936%203.402%2011.28%204.736-.62-5.892-.945-9.944-.977-12.158h7.08c-.098%203.223-.472%207.26-1.123%2012.11%203.353-1.693%207.194-3.256%2011.523-4.688l2.246%206.933c-4.134%201.368-8.186%202.28-12.158%202.735%201.986%201.725%204.785%204.801%208.399%209.228l-5.86%204.15c-1.888-2.57-4.118-6.07-6.69-10.497-2.408%204.59-4.524%208.089-6.347%2010.498l-5.762-4.15c3.776-4.656%206.478-7.732%208.106-9.23-4.2-.813-8.187-1.724-11.963-2.734'/%3e%3c/svg%3e", ha = "_checkBoxInput_f1w9m_1", fa = "_requiredSymbol_f1w9m_6", ma = "_contentOnly_f1w9m_13", pa = "_disabled_f1w9m_13", _a = "_labelText_f1w9m_19", ga = "_hasErrors_f1w9m_27", fe = {
|
|
1941
|
+
checkBoxInput: ha,
|
|
1942
|
+
requiredSymbol: fa,
|
|
1943
|
+
contentOnly: ma,
|
|
1944
|
+
disabled: pa,
|
|
1945
|
+
labelText: _a,
|
|
1946
|
+
hasErrors: ga
|
|
1947
|
+
}, va = ({
|
|
1947
1948
|
checked: e = !1,
|
|
1948
1949
|
disabled: t = !1,
|
|
1949
1950
|
required: n = !1,
|
|
@@ -1961,17 +1962,17 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
1961
1962
|
value: f
|
|
1962
1963
|
}) => {
|
|
1963
1964
|
const v = [
|
|
1964
|
-
|
|
1965
|
-
d &&
|
|
1966
|
-
t &&
|
|
1967
|
-
i &&
|
|
1965
|
+
fe.checkBoxInput,
|
|
1966
|
+
d && fe.contentOnly,
|
|
1967
|
+
t && fe.disabled,
|
|
1968
|
+
i && fe.hasErrors
|
|
1968
1969
|
].filter(Boolean).join(" "), x = {
|
|
1969
1970
|
checked: e,
|
|
1970
1971
|
disabled: t,
|
|
1971
1972
|
showBox: !d,
|
|
1972
1973
|
hasErrors: d && i,
|
|
1973
1974
|
checkmarkCharacter: l
|
|
1974
|
-
},
|
|
1975
|
+
}, _ = {
|
|
1975
1976
|
id: r,
|
|
1976
1977
|
name: s,
|
|
1977
1978
|
type: "checkbox",
|
|
@@ -1988,21 +1989,21 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
1988
1989
|
return /* @__PURE__ */ o.jsxs("label", { htmlFor: r, className: v, children: [
|
|
1989
1990
|
d ? /* @__PURE__ */ o.jsx(vt, { ...x }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
1990
1991
|
/* @__PURE__ */ o.jsx(vt, { ...x }),
|
|
1991
|
-
/* @__PURE__ */ o.jsx("input", { ...
|
|
1992
|
+
/* @__PURE__ */ o.jsx("input", { ..._ })
|
|
1992
1993
|
] }),
|
|
1993
|
-
/* @__PURE__ */ o.jsxs("span", { className:
|
|
1994
|
+
/* @__PURE__ */ o.jsxs("span", { className: fe.labelText, children: [
|
|
1994
1995
|
m,
|
|
1995
|
-
n && /* @__PURE__ */ o.jsx("img", { src:
|
|
1996
|
+
n && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: fe.requiredSymbol })
|
|
1996
1997
|
] })
|
|
1997
1998
|
] });
|
|
1998
|
-
},
|
|
1999
|
-
checkBoxList:
|
|
2000
|
-
requiredSymbol:
|
|
2001
|
-
},
|
|
2002
|
-
headerContainer:
|
|
2003
|
-
header:
|
|
1999
|
+
}, ya = "_checkBoxList_1sp8d_1", xa = "_requiredSymbol_1sp8d_16", yt = {
|
|
2000
|
+
checkBoxList: ya,
|
|
2001
|
+
requiredSymbol: xa
|
|
2002
|
+
}, ba = "_headerContainer_t2si7_1", wa = "_header_t2si7_1", Ca = "_bigHeader_t2si7_16", Pe = {
|
|
2003
|
+
headerContainer: ba,
|
|
2004
|
+
header: wa,
|
|
2004
2005
|
"size-1": "_size-1_t2si7_8",
|
|
2005
|
-
bigHeader:
|
|
2006
|
+
bigHeader: Ca,
|
|
2006
2007
|
"size-2": "_size-2_t2si7_28",
|
|
2007
2008
|
"size-3": "_size-3_t2si7_36",
|
|
2008
2009
|
"size-4": "_size-4_t2si7_44",
|
|
@@ -2017,10 +2018,10 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2017
2018
|
htmlFor: c,
|
|
2018
2019
|
children: d
|
|
2019
2020
|
}) => {
|
|
2020
|
-
const i = s || `h${n}`, l =
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
a &&
|
|
2021
|
+
const i = s || `h${n}`, l = z([
|
|
2022
|
+
Pe.header,
|
|
2023
|
+
Pe[`size-${n}`],
|
|
2024
|
+
a && Pe.bigHeader
|
|
2024
2025
|
]), u = r != null && r.length && typeof r == "string" ? { "--label": `"${r}"` } : void 0, m = K.createElement(
|
|
2025
2026
|
i,
|
|
2026
2027
|
{
|
|
@@ -2031,19 +2032,19 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2031
2032
|
},
|
|
2032
2033
|
t != null && t.length ? t : d
|
|
2033
2034
|
);
|
|
2034
|
-
return /* @__PURE__ */ o.jsx("div", { className:
|
|
2035
|
-
},
|
|
2035
|
+
return /* @__PURE__ */ o.jsx("div", { className: Pe.headerContainer, children: m });
|
|
2036
|
+
}, Ea = ({
|
|
2036
2037
|
legend: e,
|
|
2037
2038
|
legendSize: t,
|
|
2038
2039
|
required: n = !1,
|
|
2039
2040
|
compact: a = !1,
|
|
2040
2041
|
children: r
|
|
2041
2042
|
}) => {
|
|
2042
|
-
const s = (c) =>
|
|
2043
|
+
const s = (c) => we(c).map((i) => {
|
|
2043
2044
|
var l;
|
|
2044
2045
|
return Re(
|
|
2045
2046
|
i
|
|
2046
|
-
) && ((l = i.type) == null ? void 0 : l.displayName) === "RadioButtonListItem" ?
|
|
2047
|
+
) && ((l = i.type) == null ? void 0 : l.displayName) === "RadioButtonListItem" ? be(i, {
|
|
2047
2048
|
requiredGroup: n,
|
|
2048
2049
|
compact: a,
|
|
2049
2050
|
key: `checkboxListItem-${i.key}`
|
|
@@ -2052,17 +2053,17 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2052
2053
|
return /* @__PURE__ */ o.jsxs("fieldset", { className: yt.checkBoxList, children: [
|
|
2053
2054
|
!!(e != null && e.length) && /* @__PURE__ */ o.jsxs("legend", { children: [
|
|
2054
2055
|
t ? /* @__PURE__ */ o.jsx(Gt, { size: t, children: e }) : e,
|
|
2055
|
-
n && /* @__PURE__ */ o.jsx("img", { src:
|
|
2056
|
+
n && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: yt.requiredSymbol })
|
|
2056
2057
|
] }),
|
|
2057
|
-
s(
|
|
2058
|
+
s(xe.toArray(r))
|
|
2058
2059
|
] });
|
|
2059
|
-
},
|
|
2060
|
-
checkBoxListItem:
|
|
2060
|
+
}, ka = "_checkBoxListItem_jnb8z_1", ja = "_contentOnly_jnb8z_26", La = "_compact_jnb8z_26", Sa = "_disabled_jnb8z_41", $a = "_checked_jnb8z_44", me = {
|
|
2061
|
+
checkBoxListItem: ka,
|
|
2061
2062
|
contentOnly: ja,
|
|
2062
|
-
compact:
|
|
2063
|
-
disabled:
|
|
2064
|
-
checked:
|
|
2065
|
-
},
|
|
2063
|
+
compact: La,
|
|
2064
|
+
disabled: Sa,
|
|
2065
|
+
checked: $a
|
|
2066
|
+
}, Ia = ({
|
|
2066
2067
|
checked: e = !1,
|
|
2067
2068
|
disabled: t = !1,
|
|
2068
2069
|
required: n = !1,
|
|
@@ -2079,13 +2080,13 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2079
2080
|
children: y,
|
|
2080
2081
|
value: f
|
|
2081
2082
|
}) => {
|
|
2082
|
-
const v =
|
|
2083
|
-
|
|
2084
|
-
e &&
|
|
2085
|
-
t &&
|
|
2086
|
-
i &&
|
|
2087
|
-
d &&
|
|
2088
|
-
l &&
|
|
2083
|
+
const v = z([
|
|
2084
|
+
me.checkBoxListItem,
|
|
2085
|
+
e && me.checked,
|
|
2086
|
+
t && me.disabled,
|
|
2087
|
+
i && me.compact,
|
|
2088
|
+
d && me.contentOnly,
|
|
2089
|
+
l && me.hasErrors
|
|
2089
2090
|
]), x = {
|
|
2090
2091
|
onChange: c ?? (() => {
|
|
2091
2092
|
}),
|
|
@@ -2102,24 +2103,24 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2102
2103
|
checkmarkCharacter: u,
|
|
2103
2104
|
value: f
|
|
2104
2105
|
};
|
|
2105
|
-
return /* @__PURE__ */ o.jsx("div", { className: v, children: /* @__PURE__ */ o.jsx(
|
|
2106
|
-
},
|
|
2107
|
-
container:
|
|
2108
|
-
},
|
|
2106
|
+
return /* @__PURE__ */ o.jsx("div", { className: v, children: /* @__PURE__ */ o.jsx(va, { ...x, children: y }) });
|
|
2107
|
+
}, Na = "_container_f8z49_1", Ra = {
|
|
2108
|
+
container: Na
|
|
2109
|
+
}, Ma = ({ maxWidth: e, children: t }) => {
|
|
2109
2110
|
const n = {
|
|
2110
2111
|
"--max-width": e != null && e.length ? e : void 0
|
|
2111
2112
|
};
|
|
2112
|
-
return /* @__PURE__ */ o.jsx("div", { className:
|
|
2113
|
-
},
|
|
2114
|
-
contentBox:
|
|
2115
|
-
link:
|
|
2113
|
+
return /* @__PURE__ */ o.jsx("div", { className: Ra.container, style: n, children: t });
|
|
2114
|
+
}, Ta = "_contentBox_1ndvc_1", za = "_link_1ndvc_8", Pa = "_content_1ndvc_1", Da = "_title_1ndvc_25", Aa = "_secondary_1ndvc_28", Ba = "_regular_1ndvc_36", Fa = "_large_1ndvc_45", pe = {
|
|
2115
|
+
contentBox: Ta,
|
|
2116
|
+
link: za,
|
|
2116
2117
|
default: "_default_1ndvc_21",
|
|
2117
|
-
content:
|
|
2118
|
+
content: Pa,
|
|
2118
2119
|
title: Da,
|
|
2119
|
-
secondary:
|
|
2120
|
-
regular:
|
|
2121
|
-
large:
|
|
2122
|
-
},
|
|
2120
|
+
secondary: Aa,
|
|
2121
|
+
regular: Ba,
|
|
2122
|
+
large: Fa
|
|
2123
|
+
}, xi = ({
|
|
2123
2124
|
title: e = null,
|
|
2124
2125
|
titleSize: t = "regular",
|
|
2125
2126
|
content: n = "",
|
|
@@ -2129,39 +2130,39 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2129
2130
|
}) => {
|
|
2130
2131
|
const c = () => {
|
|
2131
2132
|
if (!e) return null;
|
|
2132
|
-
const h = `${
|
|
2133
|
+
const h = `${pe.title} ${pe[t]}`;
|
|
2133
2134
|
return /* @__PURE__ */ o.jsx("h2", { className: h, children: e });
|
|
2134
|
-
}, d =
|
|
2135
|
+
}, d = pe[r] || "", i = s ? pe.link : "", l = `${pe.contentBox} ${d} ${i}`.trim(), u = n != null && n.length ? n : a, m = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
2135
2136
|
c(),
|
|
2136
|
-
/* @__PURE__ */ o.jsx("div", { className:
|
|
2137
|
+
/* @__PURE__ */ o.jsx("div", { className: pe.content, children: u })
|
|
2137
2138
|
] });
|
|
2138
2139
|
return s ? /* @__PURE__ */ o.jsx("a", { href: s, className: l, children: m }) : /* @__PURE__ */ o.jsx("div", { className: l, children: m });
|
|
2139
|
-
},
|
|
2140
|
-
descriptionDetails:
|
|
2141
|
-
compact:
|
|
2142
|
-
},
|
|
2140
|
+
}, Oa = "_descriptionDetails_1d1dj_1", Va = "_compact_1d1dj_7", xt = {
|
|
2141
|
+
descriptionDetails: Oa,
|
|
2142
|
+
compact: Va
|
|
2143
|
+
}, bi = ({
|
|
2143
2144
|
compact: e = !1,
|
|
2144
2145
|
titleWidth: t,
|
|
2145
2146
|
children: n
|
|
2146
2147
|
}) => /* @__PURE__ */ o.jsx(
|
|
2147
2148
|
"dd",
|
|
2148
2149
|
{
|
|
2149
|
-
className:
|
|
2150
|
+
className: z([
|
|
2150
2151
|
xt.descriptionDetails,
|
|
2151
2152
|
e && xt.compact
|
|
2152
2153
|
]),
|
|
2153
2154
|
style: { "--title-width": t || void 0 },
|
|
2154
2155
|
children: n
|
|
2155
2156
|
}
|
|
2156
|
-
),
|
|
2157
|
-
descriptionList:
|
|
2158
|
-
compact:
|
|
2159
|
-
},
|
|
2157
|
+
), Ha = "_descriptionList_w11ua_1", qa = "_compact_w11ua_13", bt = {
|
|
2158
|
+
descriptionList: Ha,
|
|
2159
|
+
compact: qa
|
|
2160
|
+
}, wi = ({
|
|
2160
2161
|
compact: e = !1,
|
|
2161
2162
|
titleWidth: t,
|
|
2162
2163
|
children: n
|
|
2163
2164
|
}) => {
|
|
2164
|
-
const a = (r) =>
|
|
2165
|
+
const a = (r) => we(r).map((c) => Re(c) ? be(c, {
|
|
2165
2166
|
compact: e,
|
|
2166
2167
|
titleWidth: t,
|
|
2167
2168
|
key: `descriptionListItem-${c.key}`
|
|
@@ -2169,7 +2170,7 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2169
2170
|
return K.createElement(
|
|
2170
2171
|
"dl",
|
|
2171
2172
|
{
|
|
2172
|
-
className:
|
|
2173
|
+
className: z([
|
|
2173
2174
|
bt.descriptionList,
|
|
2174
2175
|
e && bt.compact
|
|
2175
2176
|
]),
|
|
@@ -2177,39 +2178,39 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2177
2178
|
"--title-width": t || void 0
|
|
2178
2179
|
}
|
|
2179
2180
|
},
|
|
2180
|
-
a(
|
|
2181
|
+
a(xe.toArray(n))
|
|
2181
2182
|
);
|
|
2182
|
-
},
|
|
2183
|
-
descriptionTerm:
|
|
2184
|
-
compact:
|
|
2185
|
-
},
|
|
2183
|
+
}, Xa = "_descriptionTerm_uuapd_1", Ua = "_compact_uuapd_8", wt = {
|
|
2184
|
+
descriptionTerm: Xa,
|
|
2185
|
+
compact: Ua
|
|
2186
|
+
}, Ci = ({
|
|
2186
2187
|
compact: e = !1,
|
|
2187
2188
|
titleWidth: t,
|
|
2188
2189
|
children: n
|
|
2189
2190
|
}) => /* @__PURE__ */ o.jsx(
|
|
2190
2191
|
"dt",
|
|
2191
2192
|
{
|
|
2192
|
-
className:
|
|
2193
|
+
className: z([
|
|
2193
2194
|
wt.descriptionTerm,
|
|
2194
2195
|
e && wt.compact
|
|
2195
2196
|
]),
|
|
2196
2197
|
style: { "--title-width": t || void 0 },
|
|
2197
2198
|
children: n
|
|
2198
2199
|
}
|
|
2199
|
-
), Wa = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%3e%3cpath%20fill='%23072938'%20stroke='%23072938'%20stroke-linecap='round'%20stroke-width='3.23'%20d='m3.97%203.57%2017.44%2018.2m-17.44.01L21.41%203.57'/%3e%3c/svg%3e",
|
|
2200
|
-
dialog:
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
modalInVertical: Za,
|
|
2200
|
+
), Wa = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%3e%3cpath%20fill='%23072938'%20stroke='%23072938'%20stroke-linecap='round'%20stroke-width='3.23'%20d='m3.97%203.57%2017.44%2018.2m-17.44.01L21.41%203.57'/%3e%3c/svg%3e", Ya = "_dialog_pl6ui_19", Ja = "_backdrop_pl6ui_34", Ga = "_dialogContainer_pl6ui_42", Ka = "_modalInVertical_pl6ui_1", Za = "_dialogContent_pl6ui_52", Qa = "_noPadding_pl6ui_57", es = "_closeButton_pl6ui_65", ts = "_isSidebar_pl6ui_94", ns = "_left_pl6ui_117", rs = "_modalInHorizontalLeft_pl6ui_1", as = "_right_pl6ui_123", ss = "_modalInHorizontalRight_pl6ui_1", Z = {
|
|
2201
|
+
dialog: Ya,
|
|
2202
|
+
backdrop: Ja,
|
|
2203
|
+
dialogContainer: Ga,
|
|
2204
|
+
modalInVertical: Ka,
|
|
2205
|
+
dialogContent: Za,
|
|
2206
2206
|
noPadding: Qa,
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2207
|
+
closeButton: es,
|
|
2208
|
+
isSidebar: ts,
|
|
2209
|
+
left: ns,
|
|
2210
|
+
modalInHorizontalLeft: rs,
|
|
2211
|
+
right: as,
|
|
2212
|
+
modalInHorizontalRight: ss
|
|
2213
|
+
}, Ei = ({
|
|
2213
2214
|
maxWidth: e = "none",
|
|
2214
2215
|
noPadding: t,
|
|
2215
2216
|
closeButton: n,
|
|
@@ -2219,93 +2220,122 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2219
2220
|
hidden: c = !1,
|
|
2220
2221
|
children: d
|
|
2221
2222
|
}) => {
|
|
2222
|
-
const i
|
|
2223
|
-
|
|
2224
|
-
|
|
2223
|
+
const [i, l] = ce(
|
|
2224
|
+
null
|
|
2225
|
+
), u = $e(null), m = Se(
|
|
2226
|
+
(v) => {
|
|
2227
|
+
v && Mt(v);
|
|
2225
2228
|
},
|
|
2226
2229
|
[]
|
|
2227
2230
|
);
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2231
|
+
le(() => {
|
|
2232
|
+
if (c)
|
|
2233
|
+
return;
|
|
2234
|
+
const v = (x) => {
|
|
2235
|
+
x.key === "Escape" && a && a();
|
|
2236
|
+
};
|
|
2237
|
+
return document.addEventListener("keydown", v, !1), () => {
|
|
2238
|
+
document.removeEventListener("keydown", v, !1);
|
|
2233
2239
|
};
|
|
2234
|
-
|
|
2235
|
-
|
|
2240
|
+
}, [c, a]), le(() => {
|
|
2241
|
+
if (typeof window > "u")
|
|
2242
|
+
return;
|
|
2243
|
+
const x = (() => {
|
|
2244
|
+
const w = "dibk-design-dialog-root";
|
|
2245
|
+
let b = document.getElementById(w);
|
|
2246
|
+
return b || (b = document.createElement("div"), b.setAttribute("id", w), document.body.appendChild(b)), b;
|
|
2247
|
+
})(), _ = document.createElement("div");
|
|
2248
|
+
return x.appendChild(_), l(_), () => {
|
|
2249
|
+
l(null), x.contains(_) && x.removeChild(_);
|
|
2250
|
+
};
|
|
2251
|
+
}, []), le(() => {
|
|
2252
|
+
if (c || !r)
|
|
2253
|
+
return;
|
|
2254
|
+
const v = document.body.style.overflow;
|
|
2255
|
+
return document.body.style.overflow = "hidden", () => {
|
|
2256
|
+
document.body.style.overflow = v;
|
|
2236
2257
|
};
|
|
2237
|
-
}, [a]), ve(() => {
|
|
2238
|
-
i.current && (i.current.close(), c || (r ? i.current.showModal() : i.current.show()));
|
|
2239
2258
|
}, [c, r]);
|
|
2240
|
-
const
|
|
2259
|
+
const h = s && z([Z.isSidebar, Z[s]]), y = {
|
|
2241
2260
|
"--max-width": e
|
|
2242
2261
|
};
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2262
|
+
if (c || !i)
|
|
2263
|
+
return null;
|
|
2264
|
+
const f = r ? { role: "dialog", "aria-modal": "true" } : { role: "dialog" };
|
|
2265
|
+
return en(
|
|
2266
|
+
/* @__PURE__ */ o.jsxs(
|
|
2267
|
+
"div",
|
|
2268
|
+
{
|
|
2269
|
+
className: z([
|
|
2270
|
+
Z.dialog,
|
|
2271
|
+
h
|
|
2272
|
+
]),
|
|
2273
|
+
onClick: a,
|
|
2274
|
+
...f,
|
|
2275
|
+
children: [
|
|
2276
|
+
r && /* @__PURE__ */ o.jsx("div", { className: Z.backdrop, "aria-hidden": "true" }),
|
|
2277
|
+
/* @__PURE__ */ o.jsx(
|
|
2258
2278
|
"div",
|
|
2259
2279
|
{
|
|
2260
2280
|
ref: u,
|
|
2261
|
-
className:
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
+
className: Z.dialogContainer,
|
|
2282
|
+
style: y,
|
|
2283
|
+
onClick: (v) => v.stopPropagation(),
|
|
2284
|
+
children: /* @__PURE__ */ o.jsxs(
|
|
2285
|
+
"div",
|
|
2286
|
+
{
|
|
2287
|
+
ref: m,
|
|
2288
|
+
className: z([
|
|
2289
|
+
Z.dialogContent,
|
|
2290
|
+
t && Z.noPadding
|
|
2291
|
+
]),
|
|
2292
|
+
children: [
|
|
2293
|
+
n && /* @__PURE__ */ o.jsx(
|
|
2294
|
+
"button",
|
|
2295
|
+
{
|
|
2296
|
+
type: "button",
|
|
2297
|
+
"aria-label": "Lukk dialog",
|
|
2298
|
+
onClick: a,
|
|
2299
|
+
className: z([
|
|
2300
|
+
Z.closeButton,
|
|
2301
|
+
t && Z.noPadding
|
|
2302
|
+
]),
|
|
2303
|
+
children: /* @__PURE__ */ o.jsx("img", { src: Wa, alt: "" })
|
|
2304
|
+
}
|
|
2305
|
+
),
|
|
2306
|
+
/* @__PURE__ */ o.jsx("div", { "aria-live": "assertive", children: d })
|
|
2307
|
+
]
|
|
2308
|
+
}
|
|
2309
|
+
)
|
|
2281
2310
|
}
|
|
2282
2311
|
)
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2312
|
+
]
|
|
2313
|
+
}
|
|
2314
|
+
),
|
|
2315
|
+
i
|
|
2286
2316
|
);
|
|
2287
|
-
},
|
|
2288
|
-
dragAndDropFileInput:
|
|
2289
|
-
requiredSymbol:
|
|
2290
|
-
dragAndDropContainer:
|
|
2291
|
-
highlighted:
|
|
2292
|
-
},
|
|
2293
|
-
errorMessage:
|
|
2294
|
-
errorSign:
|
|
2317
|
+
}, os = "_dragAndDropFileInput_pfifv_1", is = "_requiredSymbol_pfifv_1", ls = "_dragAndDropContainer_pfifv_8", cs = "_highlighted_pfifv_25", De = {
|
|
2318
|
+
dragAndDropFileInput: os,
|
|
2319
|
+
requiredSymbol: is,
|
|
2320
|
+
dragAndDropContainer: ls,
|
|
2321
|
+
highlighted: cs
|
|
2322
|
+
}, ds = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20role='presentation'%3e%3cg%20clip-path='url(%23clip0_1089_7422)'%3e%3cmask%20id='mask0_1089_7422'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%20style='mask-type:%20alpha;'%3e%3crect%20width='20'%20height='20'%20style='fill:%20white;'%3e%3c/rect%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1089_7422)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2010C0%204.4775%204.4775%200%2010%200C15.5225%200%2020%204.4775%2020%2010C20%2015.5225%2015.5225%2020%2010%2020C4.4775%2020%200%2015.5225%200%2010ZM11%2014.0766C11%2014.8122%2010.5188%2015.3333%209.83335%2015.3333C9.13335%2015.3333%208.66669%2014.8122%208.66669%2014.0766C8.66669%2013.341%209.13335%2012.8046%209.83335%2012.8046C10.5188%2012.8046%2011%2013.341%2011%2014.0766ZM10.65%2011.9463H8.98752L8.75419%204.66663H10.8834L10.65%2011.9463Z'%20style='fill:%20rgb(219,%200,%200);'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1089_7422'%3e%3crect%20width='20'%20height='20'%20fill='white'%3e%3c/rect%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", us = "_errorMessage_i8u6b_7", hs = "_errorSign_i8u6b_19", Ct = {
|
|
2323
|
+
errorMessage: us,
|
|
2324
|
+
errorSign: hs
|
|
2295
2325
|
}, Ne = ({ id: e, content: t = "" }) => {
|
|
2296
2326
|
const n = () => ({
|
|
2297
2327
|
id: e != null && e.length ? e : void 0,
|
|
2298
2328
|
className: Ct.errorMessage
|
|
2299
2329
|
});
|
|
2300
2330
|
return (typeof t == "string" ? t.trim().length > 0 : !!t) ? /* @__PURE__ */ o.jsxs("span", { "aria-live": "polite", ...n(), children: [
|
|
2301
|
-
/* @__PURE__ */ o.jsx("img", { src:
|
|
2331
|
+
/* @__PURE__ */ o.jsx("img", { src: ds, alt: "", className: Ct.errorSign }),
|
|
2302
2332
|
t
|
|
2303
2333
|
] }) : null;
|
|
2304
|
-
},
|
|
2305
|
-
label:
|
|
2306
|
-
inline:
|
|
2307
|
-
normalCursor:
|
|
2308
|
-
},
|
|
2334
|
+
}, fs = "_label_18de6_1", ms = "_inline_18de6_11", ps = "_normalCursor_18de6_14", Ke = {
|
|
2335
|
+
label: fs,
|
|
2336
|
+
inline: ms,
|
|
2337
|
+
normalCursor: ps
|
|
2338
|
+
}, ye = ({
|
|
2309
2339
|
inline: e = !1,
|
|
2310
2340
|
normalCursor: t = !1,
|
|
2311
2341
|
htmlTag: n = "label",
|
|
@@ -2323,7 +2353,7 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2323
2353
|
id: r || void 0
|
|
2324
2354
|
};
|
|
2325
2355
|
return K.createElement(n, d, a);
|
|
2326
|
-
},
|
|
2356
|
+
}, ki = ({
|
|
2327
2357
|
id: e,
|
|
2328
2358
|
name: t,
|
|
2329
2359
|
onSelectChange: n,
|
|
@@ -2341,49 +2371,49 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2341
2371
|
children: f,
|
|
2342
2372
|
"data-transaction-name": v
|
|
2343
2373
|
}) => {
|
|
2344
|
-
const [x,
|
|
2345
|
-
|
|
2346
|
-
},
|
|
2347
|
-
var
|
|
2348
|
-
(
|
|
2349
|
-
},
|
|
2374
|
+
const [x, _] = ce(!1), w = $e(null), b = $e(null), S = ($) => {
|
|
2375
|
+
$.preventDefault(), $.stopPropagation();
|
|
2376
|
+
}, j = ($, P) => $ || P, L = () => {
|
|
2377
|
+
var $;
|
|
2378
|
+
($ = b.current) == null || $.click();
|
|
2379
|
+
}, I = () => `${e}-errorMessage`, N = {
|
|
2350
2380
|
id: e,
|
|
2351
|
-
"aria-describedby": m && (h != null && h.toString().length) ?
|
|
2381
|
+
"aria-describedby": m && (h != null && h.toString().length) ? I() : void 0,
|
|
2352
2382
|
"aria-invalid": m ? "true" : void 0,
|
|
2353
2383
|
name: t,
|
|
2354
2384
|
required: y
|
|
2355
|
-
},
|
|
2356
|
-
(
|
|
2385
|
+
}, k = l && i || d, R = Se(() => _(!0), []), H = Se(() => _(!1), []), q = Se(
|
|
2386
|
+
($) => {
|
|
2357
2387
|
var P;
|
|
2358
|
-
S(
|
|
2388
|
+
S($), (P = $.dataTransfer) != null && P.files && a($.dataTransfer.files), _(!1);
|
|
2359
2389
|
},
|
|
2360
2390
|
[a]
|
|
2361
2391
|
);
|
|
2362
|
-
return
|
|
2363
|
-
const
|
|
2364
|
-
if (
|
|
2392
|
+
return le(() => {
|
|
2393
|
+
const $ = w.current;
|
|
2394
|
+
if ($)
|
|
2365
2395
|
return ["dragenter", "dragover"].forEach((P) => {
|
|
2366
|
-
|
|
2396
|
+
$.addEventListener(P, R);
|
|
2367
2397
|
}), ["dragleave", "drop"].forEach((P) => {
|
|
2368
|
-
|
|
2398
|
+
$.addEventListener(P, H);
|
|
2369
2399
|
}), ["dragenter", "dragover", "dragleave", "drop"].forEach((P) => {
|
|
2370
|
-
|
|
2371
|
-
}),
|
|
2400
|
+
$.addEventListener(P, S);
|
|
2401
|
+
}), $.addEventListener("drop", q), () => {
|
|
2372
2402
|
["dragenter", "dragover", "dragleave", "drop"].forEach((P) => {
|
|
2373
|
-
|
|
2374
|
-
}),
|
|
2403
|
+
$.removeEventListener(P, S), $.removeEventListener(P, R), $.removeEventListener(P, H);
|
|
2404
|
+
}), $.removeEventListener("drop", q);
|
|
2375
2405
|
};
|
|
2376
|
-
}, [a]), /* @__PURE__ */ o.jsxs("div", { className:
|
|
2377
|
-
/* @__PURE__ */ o.jsxs(
|
|
2406
|
+
}, [a]), /* @__PURE__ */ o.jsxs("div", { className: De.dragAndDropFileInput, children: [
|
|
2407
|
+
/* @__PURE__ */ o.jsxs(ye, { htmlFor: e, children: [
|
|
2378
2408
|
r,
|
|
2379
|
-
y && /* @__PURE__ */ o.jsx("img", { src:
|
|
2409
|
+
y && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: De.requiredSymbol })
|
|
2380
2410
|
] }),
|
|
2381
2411
|
/* @__PURE__ */ o.jsx("div", { children: f }),
|
|
2382
2412
|
!s && /* @__PURE__ */ o.jsxs(
|
|
2383
2413
|
"div",
|
|
2384
2414
|
{
|
|
2385
|
-
ref:
|
|
2386
|
-
className: `${
|
|
2415
|
+
ref: w,
|
|
2416
|
+
className: `${De.dragAndDropContainer} ${x ? De.highlighted : ""}`,
|
|
2387
2417
|
children: [
|
|
2388
2418
|
l ? /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs("span", { children: [
|
|
2389
2419
|
/* @__PURE__ */ o.jsx("b", { children: "Valgt fil:" }),
|
|
@@ -2393,8 +2423,8 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2393
2423
|
/* @__PURE__ */ o.jsx(
|
|
2394
2424
|
"input",
|
|
2395
2425
|
{
|
|
2396
|
-
...
|
|
2397
|
-
ref:
|
|
2426
|
+
...N,
|
|
2427
|
+
ref: b,
|
|
2398
2428
|
type: "file",
|
|
2399
2429
|
onChange: n
|
|
2400
2430
|
}
|
|
@@ -2408,7 +2438,7 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2408
2438
|
inputType: "button",
|
|
2409
2439
|
color: c,
|
|
2410
2440
|
onClick: L,
|
|
2411
|
-
content:
|
|
2441
|
+
content: k,
|
|
2412
2442
|
hasErrors: m,
|
|
2413
2443
|
"data-transaction-name": v
|
|
2414
2444
|
}
|
|
@@ -2417,148 +2447,158 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2417
2447
|
]
|
|
2418
2448
|
}
|
|
2419
2449
|
),
|
|
2420
|
-
s && /* @__PURE__ */ o.jsx("span", { children:
|
|
2421
|
-
/* @__PURE__ */ o.jsx(Ne, { id:
|
|
2450
|
+
s && /* @__PURE__ */ o.jsx("span", { children: j(l, u) }),
|
|
2451
|
+
/* @__PURE__ */ o.jsx(Ne, { id: I(), content: h })
|
|
2422
2452
|
] });
|
|
2423
|
-
}, Kt = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2020%2020'%20role='presentation'%3e%3cpath%20d='M10%200C4.4775%200%200%204.4775%200%2010C0%2015.5225%204.4775%2020%2010%2020C15.5225%2020%2020%2015.5225%2020%2010C20%204.4775%2015.5225%200%2010%200ZM8.30583%2013.3417C8.77583%2011.8508%209.66583%2010.065%209.82333%209.61333C10.0508%208.9575%209.6475%208.66667%208.37333%209.7875L8.09%209.25417C9.54333%207.67333%2012.5358%207.31583%2011.5175%209.765C10.8817%2011.2942%2010.4267%2012.3267%2010.1667%2013.1233C9.7875%2014.2842%2010.745%2013.8133%2011.6825%2012.9475C11.81%2013.1558%2011.8517%2013.2233%2011.9792%2013.4633C9.8975%2015.445%207.58667%2015.62%208.30583%2013.3417ZM12.2575%206.53417C11.8142%206.91167%2011.1575%206.90333%2010.79%206.51583C10.4225%206.12833%2010.4842%205.50917%2010.9267%205.13167C11.37%204.75417%2012.0267%204.76333%2012.3942%205.15C12.76%205.53833%2012.7%206.1575%2012.2575%206.53417Z'%20style='fill:%20rgb(0,%2048,%2069);'%3e%3c/path%3e%3c/svg%3e",
|
|
2424
|
-
errorBoxContainer:
|
|
2425
|
-
messageIn:
|
|
2426
|
-
warning:
|
|
2427
|
-
error:
|
|
2428
|
-
fullScreen:
|
|
2429
|
-
errorBox:
|
|
2430
|
-
infoSign:
|
|
2431
|
-
},
|
|
2453
|
+
}, Kt = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2020%2020'%20role='presentation'%3e%3cpath%20d='M10%200C4.4775%200%200%204.4775%200%2010C0%2015.5225%204.4775%2020%2010%2020C15.5225%2020%2020%2015.5225%2020%2010C20%204.4775%2015.5225%200%2010%200ZM8.30583%2013.3417C8.77583%2011.8508%209.66583%2010.065%209.82333%209.61333C10.0508%208.9575%209.6475%208.66667%208.37333%209.7875L8.09%209.25417C9.54333%207.67333%2012.5358%207.31583%2011.5175%209.765C10.8817%2011.2942%2010.4267%2012.3267%2010.1667%2013.1233C9.7875%2014.2842%2010.745%2013.8133%2011.6825%2012.9475C11.81%2013.1558%2011.8517%2013.2233%2011.9792%2013.4633C9.8975%2015.445%207.58667%2015.62%208.30583%2013.3417ZM12.2575%206.53417C11.8142%206.91167%2011.1575%206.90333%2010.79%206.51583C10.4225%206.12833%2010.4842%205.50917%2010.9267%205.13167C11.37%204.75417%2012.0267%204.76333%2012.3942%205.15C12.76%205.53833%2012.7%206.1575%2012.2575%206.53417Z'%20style='fill:%20rgb(0,%2048,%2069);'%3e%3c/path%3e%3c/svg%3e", _s = "_errorBoxContainer_88ulw_7", gs = "_messageIn_88ulw_1", vs = "_warning_88ulw_14", ys = "_error_88ulw_7", xs = "_fullScreen_88ulw_22", bs = "_errorBox_88ulw_7", ws = "_infoSign_88ulw_38", _e = {
|
|
2454
|
+
errorBoxContainer: _s,
|
|
2455
|
+
messageIn: gs,
|
|
2456
|
+
warning: vs,
|
|
2457
|
+
error: ys,
|
|
2458
|
+
fullScreen: xs,
|
|
2459
|
+
errorBox: bs,
|
|
2460
|
+
infoSign: ws
|
|
2461
|
+
}, ji = ({
|
|
2432
2462
|
type: e = "warning",
|
|
2433
2463
|
fullScreen: t = !1,
|
|
2434
2464
|
children: n = ""
|
|
2435
2465
|
}) => /* @__PURE__ */ o.jsx(
|
|
2436
2466
|
"div",
|
|
2437
2467
|
{
|
|
2438
|
-
className:
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
t &&
|
|
2468
|
+
className: z([
|
|
2469
|
+
_e.errorBoxContainer,
|
|
2470
|
+
_e[e],
|
|
2471
|
+
t && _e.fullScreen
|
|
2442
2472
|
]),
|
|
2443
2473
|
children: /* @__PURE__ */ o.jsxs(
|
|
2444
2474
|
"div",
|
|
2445
2475
|
{
|
|
2446
|
-
className:
|
|
2447
|
-
|
|
2448
|
-
t &&
|
|
2476
|
+
className: z([
|
|
2477
|
+
_e.errorBox,
|
|
2478
|
+
t && _e.fullScreen
|
|
2449
2479
|
]),
|
|
2450
2480
|
children: [
|
|
2451
|
-
/* @__PURE__ */ o.jsx("img", { src: Kt, alt: "", className:
|
|
2481
|
+
/* @__PURE__ */ o.jsx("img", { src: Kt, alt: "", className: _e.infoSign }),
|
|
2452
2482
|
n
|
|
2453
2483
|
]
|
|
2454
2484
|
}
|
|
2455
2485
|
)
|
|
2456
2486
|
}
|
|
2457
|
-
),
|
|
2458
|
-
footer:
|
|
2459
|
-
},
|
|
2460
|
-
infoBox:
|
|
2487
|
+
), Cs = "_footer_19fad_1", Es = {
|
|
2488
|
+
footer: Cs
|
|
2489
|
+
}, Li = ({ children: e }) => /* @__PURE__ */ o.jsx("footer", { className: Es.footer, children: /* @__PURE__ */ o.jsx(Ma, { children: e }) }), ks = "_infoBox_1mh67_7", js = "_infoSign_1mh67_15", Et = {
|
|
2490
|
+
infoBox: ks,
|
|
2461
2491
|
infoSign: js
|
|
2462
|
-
},
|
|
2492
|
+
}, Si = ({ children: e = "" }) => /* @__PURE__ */ o.jsxs("div", { className: Et.infoBox, children: [
|
|
2463
2493
|
/* @__PURE__ */ o.jsx("img", { src: Kt, alt: "", className: Et.infoSign }),
|
|
2464
2494
|
e
|
|
2465
|
-
] }),
|
|
2466
|
-
inputField:
|
|
2467
|
-
noMargin:
|
|
2468
|
-
requiredSymbol:
|
|
2469
|
-
file:
|
|
2470
|
-
input:
|
|
2471
|
-
hasErrors:
|
|
2472
|
-
fileInputContainer:
|
|
2473
|
-
},
|
|
2495
|
+
] }), Ls = "_inputField_9tnyr_1", Ss = "_noMargin_9tnyr_4", $s = "_requiredSymbol_9tnyr_10", Is = "_file_9tnyr_17", Ns = "_input_9tnyr_1", Rs = "_hasErrors_9tnyr_50", Ms = "_fileInputContainer_9tnyr_62", U = {
|
|
2496
|
+
inputField: Ls,
|
|
2497
|
+
noMargin: Ss,
|
|
2498
|
+
requiredSymbol: $s,
|
|
2499
|
+
file: Is,
|
|
2500
|
+
input: Ns,
|
|
2501
|
+
hasErrors: Rs,
|
|
2502
|
+
fileInputContainer: Ms
|
|
2503
|
+
}, Ts = (e) => {
|
|
2474
2504
|
const t = typeof e == "string" ? new Date(e) : e;
|
|
2475
2505
|
if (Number.isNaN(t.getTime())) return String(e ?? "");
|
|
2476
2506
|
const n = String(t.getDate()).padStart(2, "0"), a = String(t.getMonth() + 1).padStart(2, "0"), r = t.getFullYear();
|
|
2477
2507
|
return `${n}.${a}.${r}`;
|
|
2478
|
-
},
|
|
2508
|
+
}, kt = (e) => {
|
|
2479
2509
|
if (e == null || e === "") return;
|
|
2480
2510
|
const t = e instanceof Date ? e : new Date(e);
|
|
2481
2511
|
if (Number.isNaN(t.getTime())) return;
|
|
2482
2512
|
const n = t.getFullYear(), a = String(t.getMonth() + 1).padStart(2, "0"), r = String(t.getDate()).padStart(2, "0");
|
|
2483
2513
|
return `${n}-${a}-${r}`;
|
|
2484
|
-
},
|
|
2514
|
+
}, zs = (e) => !e || ["text", "search", "url", "email", "tel", "password", "number"].includes(
|
|
2485
2515
|
e
|
|
2486
|
-
),
|
|
2516
|
+
), $i = ({
|
|
2487
2517
|
id: e,
|
|
2488
2518
|
onChange: t = () => {
|
|
2489
2519
|
},
|
|
2490
2520
|
// <-- default no-op
|
|
2491
2521
|
onBlur: n,
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2522
|
+
onFocus: a,
|
|
2523
|
+
name: r = "",
|
|
2524
|
+
type: s = "text",
|
|
2525
|
+
disabled: c = !1,
|
|
2526
|
+
required: d = !1,
|
|
2527
|
+
readOnly: i,
|
|
2528
|
+
width: l,
|
|
2529
|
+
value: u,
|
|
2530
|
+
defaultValue: m,
|
|
2531
|
+
elementKey: h,
|
|
2532
|
+
label: y = "",
|
|
2533
|
+
contentOnly: f = !1,
|
|
2534
|
+
buttonColor: v = "primary",
|
|
2535
|
+
buttonContent: x,
|
|
2536
|
+
selectedFileName: _,
|
|
2537
|
+
placeholder: w = "",
|
|
2507
2538
|
defaultContent: b = "",
|
|
2508
|
-
min:
|
|
2509
|
-
max:
|
|
2510
|
-
role:
|
|
2511
|
-
"aria-describedby":
|
|
2539
|
+
min: S,
|
|
2540
|
+
max: j,
|
|
2541
|
+
role: L,
|
|
2542
|
+
"aria-describedby": I,
|
|
2512
2543
|
"aria-autocomplete": N,
|
|
2513
|
-
hasErrors:
|
|
2514
|
-
errorMessage:
|
|
2515
|
-
noMargin:
|
|
2544
|
+
hasErrors: k = !1,
|
|
2545
|
+
errorMessage: R = "",
|
|
2546
|
+
noMargin: H = !1
|
|
2516
2547
|
}) => {
|
|
2517
|
-
const
|
|
2518
|
-
|
|
2519
|
-
if (
|
|
2520
|
-
|
|
2521
|
-
|
|
2548
|
+
const q = $e(null), $ = () => `${e}-errorMessage`, P = l ? { maxWidth: l } : {}, E = s === "date" && !c && !i, T = () => {
|
|
2549
|
+
var C;
|
|
2550
|
+
if (!E || !q.current) return;
|
|
2551
|
+
document.activeElement !== q.current && q.current.focus();
|
|
2552
|
+
const p = q.current;
|
|
2553
|
+
(C = p.showPicker) == null || C.call(p);
|
|
2554
|
+
}, D = (p) => {
|
|
2555
|
+
T(), a == null || a(p);
|
|
2556
|
+
}, X = (() => {
|
|
2557
|
+
if (s === "file") return {};
|
|
2558
|
+
if (s === "date") {
|
|
2559
|
+
const C = u !== void 0 ? kt(u) : void 0, M = u === void 0 && m !== void 0 ? kt(m) : void 0;
|
|
2560
|
+
return u !== void 0 ? { value: C ?? "" } : m !== void 0 ? { defaultValue: M } : {};
|
|
2522
2561
|
}
|
|
2523
|
-
const
|
|
2524
|
-
return
|
|
2525
|
-
})(),
|
|
2526
|
-
name:
|
|
2527
|
-
readOnly:
|
|
2528
|
-
disabled:
|
|
2529
|
-
required:
|
|
2530
|
-
type:
|
|
2531
|
-
role:
|
|
2562
|
+
const p = (C) => C instanceof Date ? String(C.getTime()) : C;
|
|
2563
|
+
return u !== void 0 ? { value: p(u) } : m !== void 0 ? { defaultValue: p(m) } : {};
|
|
2564
|
+
})(), ae = {
|
|
2565
|
+
name: r,
|
|
2566
|
+
readOnly: i,
|
|
2567
|
+
disabled: c,
|
|
2568
|
+
required: d,
|
|
2569
|
+
type: s,
|
|
2570
|
+
role: L,
|
|
2532
2571
|
id: e,
|
|
2533
|
-
min:
|
|
2534
|
-
max:
|
|
2572
|
+
min: S,
|
|
2573
|
+
max: j,
|
|
2535
2574
|
onChange: t,
|
|
2536
2575
|
onBlur: n,
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
"aria-
|
|
2541
|
-
"aria-
|
|
2542
|
-
|
|
2543
|
-
|
|
2576
|
+
onFocus: D,
|
|
2577
|
+
placeholder: s === "file" ? void 0 : w,
|
|
2578
|
+
className: k ? U.hasErrors : void 0,
|
|
2579
|
+
"aria-describedby": k && R ? $() : I,
|
|
2580
|
+
"aria-invalid": k || void 0,
|
|
2581
|
+
"aria-autocomplete": zs(s) ? N : void 0,
|
|
2582
|
+
style: P,
|
|
2583
|
+
...X
|
|
2544
2584
|
};
|
|
2545
|
-
if (
|
|
2546
|
-
const
|
|
2585
|
+
if (f) {
|
|
2586
|
+
const p = u ?? m ?? "", C = s === "date" ? p ? Ts(p) : b : String(p ?? "") || b;
|
|
2547
2587
|
return /* @__PURE__ */ o.jsxs(
|
|
2548
2588
|
"div",
|
|
2549
2589
|
{
|
|
2550
|
-
className:
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2590
|
+
className: z([
|
|
2591
|
+
U.inputField,
|
|
2592
|
+
U[s],
|
|
2593
|
+
H && U.noMargin
|
|
2554
2594
|
]),
|
|
2555
2595
|
children: [
|
|
2556
|
-
/* @__PURE__ */ o.jsxs(
|
|
2557
|
-
|
|
2558
|
-
|
|
2596
|
+
/* @__PURE__ */ o.jsxs(ye, { htmlFor: e, children: [
|
|
2597
|
+
y,
|
|
2598
|
+
d && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: U.requiredSymbol })
|
|
2559
2599
|
] }),
|
|
2560
|
-
/* @__PURE__ */ o.jsx("span", { children:
|
|
2561
|
-
|
|
2600
|
+
/* @__PURE__ */ o.jsx("span", { children: C }),
|
|
2601
|
+
k && R ? /* @__PURE__ */ o.jsx(Ne, { id: $(), content: R }) : null
|
|
2562
2602
|
]
|
|
2563
2603
|
}
|
|
2564
2604
|
);
|
|
@@ -2566,101 +2606,101 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2566
2606
|
return /* @__PURE__ */ o.jsxs(
|
|
2567
2607
|
"div",
|
|
2568
2608
|
{
|
|
2569
|
-
className:
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2609
|
+
className: z([
|
|
2610
|
+
U.inputField,
|
|
2611
|
+
U[s],
|
|
2612
|
+
H && U.noMargin
|
|
2573
2613
|
]),
|
|
2574
2614
|
children: [
|
|
2575
|
-
/* @__PURE__ */ o.jsxs(
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
/* @__PURE__ */ o.jsx("span", { className:
|
|
2580
|
-
|
|
2615
|
+
/* @__PURE__ */ o.jsxs(ye, { htmlFor: e, children: [
|
|
2616
|
+
y,
|
|
2617
|
+
d && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: U.requiredSymbol }),
|
|
2618
|
+
s === "file" && /* @__PURE__ */ o.jsxs("div", { className: U.fileInputContainer, children: [
|
|
2619
|
+
/* @__PURE__ */ o.jsx("span", { className: U.input, children: _ }),
|
|
2620
|
+
x && /* @__PURE__ */ o.jsx(
|
|
2581
2621
|
Jt,
|
|
2582
2622
|
{
|
|
2583
|
-
color:
|
|
2623
|
+
color: v,
|
|
2584
2624
|
inputType: "button",
|
|
2585
2625
|
onClick: () => {
|
|
2586
|
-
var
|
|
2587
|
-
return (
|
|
2626
|
+
var p;
|
|
2627
|
+
return (p = q.current) == null ? void 0 : p.click();
|
|
2588
2628
|
},
|
|
2589
|
-
content:
|
|
2629
|
+
content: x
|
|
2590
2630
|
}
|
|
2591
2631
|
)
|
|
2592
2632
|
] })
|
|
2593
2633
|
] }),
|
|
2594
|
-
/* @__PURE__ */ o.jsx("input", { ...
|
|
2595
|
-
|
|
2634
|
+
/* @__PURE__ */ o.jsx("input", { ...ae, ref: q }, h || e),
|
|
2635
|
+
k && R ? /* @__PURE__ */ o.jsx(Ne, { id: $(), content: R }) : null
|
|
2596
2636
|
]
|
|
2597
2637
|
}
|
|
2598
2638
|
);
|
|
2599
|
-
},
|
|
2600
|
-
lead:
|
|
2601
|
-
},
|
|
2639
|
+
}, Ps = "_lead_176gy_1", Ds = {
|
|
2640
|
+
lead: Ps
|
|
2641
|
+
}, Ii = ({ id: e, htmlTag: t = "p", children: n }) => K.createElement(
|
|
2602
2642
|
t,
|
|
2603
2643
|
{
|
|
2604
2644
|
className: Ds.lead,
|
|
2605
2645
|
id: e || void 0
|
|
2606
2646
|
},
|
|
2607
2647
|
n
|
|
2608
|
-
),
|
|
2609
|
-
list:
|
|
2610
|
-
compact:
|
|
2611
|
-
},
|
|
2648
|
+
), As = "_list_16gsl_1", Bs = "_compact_16gsl_10", jt = {
|
|
2649
|
+
list: As,
|
|
2650
|
+
compact: Bs
|
|
2651
|
+
}, Ni = ({
|
|
2612
2652
|
listStyle: e,
|
|
2613
2653
|
compact: t = !1,
|
|
2614
2654
|
ordered: n = !1,
|
|
2615
2655
|
children: a
|
|
2616
2656
|
}) => {
|
|
2617
|
-
const r = (i) =>
|
|
2657
|
+
const r = (i) => we(i).map((u) => Re(u) ? be(u, {
|
|
2618
2658
|
compact: t,
|
|
2619
2659
|
key: `listItem-${u.key}`
|
|
2620
2660
|
}) : u), s = n ? "ol" : "ul", c = n ? "decimal" : "disc";
|
|
2621
2661
|
return K.createElement(
|
|
2622
2662
|
s,
|
|
2623
2663
|
{
|
|
2624
|
-
className: `${
|
|
2664
|
+
className: `${jt.list} ${t ? jt.compact : ""}`,
|
|
2625
2665
|
style: { ["--listStyle"]: e || c }
|
|
2626
2666
|
},
|
|
2627
|
-
r(
|
|
2667
|
+
r(xe.toArray(a))
|
|
2628
2668
|
);
|
|
2629
|
-
},
|
|
2630
|
-
listItem:
|
|
2631
|
-
compact:
|
|
2632
|
-
},
|
|
2633
|
-
const n =
|
|
2669
|
+
}, Fs = "_listItem_33xs0_1", Os = "_compact_33xs0_5", Lt = {
|
|
2670
|
+
listItem: Fs,
|
|
2671
|
+
compact: Os
|
|
2672
|
+
}, Ri = ({ compact: e = !1, children: t }) => {
|
|
2673
|
+
const n = z([
|
|
2634
2674
|
Lt.listItem,
|
|
2635
2675
|
e && Lt.compact
|
|
2636
2676
|
]);
|
|
2637
2677
|
return /* @__PURE__ */ o.jsx("li", { className: n, children: t });
|
|
2638
|
-
},
|
|
2639
|
-
loadingAnimation:
|
|
2640
|
-
fixed:
|
|
2641
|
-
},
|
|
2678
|
+
}, Vs = "_loadingAnimation_hzd5u_1", Hs = "_fixed_hzd5u_17", Ze = {
|
|
2679
|
+
loadingAnimation: Vs,
|
|
2680
|
+
fixed: Hs
|
|
2681
|
+
}, Mi = ({
|
|
2642
2682
|
fixed: e = !1,
|
|
2643
2683
|
message: t = ""
|
|
2644
2684
|
}) => {
|
|
2645
2685
|
const n = e ? `${Ze.loadingAnimation} ${Ze.fixed}` : Ze.loadingAnimation;
|
|
2646
2686
|
return /* @__PURE__ */ o.jsx("div", { className: n, children: t });
|
|
2647
|
-
}, Hs = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20id='Layer_1'%20x='0px'%20y='0px'%20viewBox='0%200%20340.2%20412.5'%20style='enable-background:new%200%200%20340.2%20412.5;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23003045;}%20.st1{fill:%2389BAD6;}%20.st2{fill:%23FFFFFF;}%20%3c/style%3e%3cg%3e%3crect%20x='0'%20y='253.2'%20class='st0'%20width='340.2'%20height='105.8'/%3e%3crect%20x='0'%20class='st1'%20width='340.2'%20height='249.4'/%3e%3cg%3e%3cpolygon%20class='st2'%20points='138.5,189.9%20157,202%20157,118.8%20201.7,147.8%20201.7,106.6%20138.5,65.5%20'/%3e%3cpolygon%20class='st2'%20points='63.3,197.7%2063.3,153.5%20106.3,125.5%20106.3,30.2%2030.2,79.7%2030.2,219.2%20'/%3e%3cpolygon%20class='st2'%20points='208.9,101.9%20208.9,181.7%20238,200.5%20238,40.1%20175.9,80.4%20'/%3e%3cpolygon%20class='st2'%20points='113.4,30.2%20113.4,165.2%20131.4,153.5%20131.4,60.9%20131.4,41.9%20'/%3e%3cpolygon%20class='st2'%20points='259.5,110.2%20245.1,119.6%20245.1,195.9%20259.5,186.5%20309.9,219.2%20309.9,142.6%20'/%3e%3c/g%3e%3cpolygon%20class='st0'%20points='0,362.8%2075.6,412%2075.6,362.8%20'/%3e%3cg%3e%3cg%3e%3cpath%20class='st2'%20d='M30.2,277.5h6.2c7.3,0,11.6,2.9,11.6,11s-5.3,11-11.6,11h-6.2V277.5z%20M36.5,295.7c5.6,0,7.3-2.2,7.3-7.2%20c0-5-1.7-7.5-7.3-7.5h-2v14.6H36.5z'/%3e%3cpath%20class='st2'%20d='M51.9,277.5h4.3v21.9h-4.3V277.5z'/%3e%3cpath%20class='st2'%20d='M65.5,291.2h-0.2v8.2H61v-21.9h6.2c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L65.5,291.2z%20M67.2,288.2c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.6-3.5-4.3-3.5h-1.9v7.4H67.2z'/%3e%3cpath%20class='st2'%20d='M80,277.5h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6H94v3.6H80V277.5z'/%3e%3cpath%20class='st2'%20d='M97.8,277.5h4.3v9.8l8.7-9.8h4.4l-7.9,8.7l8.4,13.2h-4.8l-6.2-10.2l-2.6,2.8v7.4h-4.3V277.5z'/%3e%3cpath%20class='st2'%20d='M122.8,281.1h-6.3v-3.6h16.8v3.6H127v18.3h-4.3V281.1z'/%3e%3cpath%20class='st2'%20d='M134.7,288.4c0-7.6,5.4-11.5,10.8-11.5c6.4,0,10.8,3.9,10.8,11.5c0,7.6-5.4,11.5-10.8,11.5%20C139.1,299.9,134.7,296,134.7,288.4z%20M151.9,288.6c0-5.2-2.5-8-6.5-8c-3.9,0-6.5,2.8-6.5,7.7c0,5.2,2.5,8.1,6.5,8.1%20C149.4,296.3,151.9,293.5,151.9,288.6z'/%3e%3cpath%20class='st2'%20d='M164.4,291.2h-0.2v8.2h-4.3v-21.9h6.2c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L164.4,291.2z%20M166.2,288.2c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.5-3.5-4.3-3.5h-1.9v7.4H166.2z'/%3e%3cpath%20class='st2'%20d='M184.5,279.7l-0.8-2.2h4.4l8.6,21.9h-4.5l-1.7-4.5h-8.1l-1.7,4.5h-4.1L184.5,279.7z%20M183.6,291.7h5.8l-2.3-6%20l-0.6-1.9l-0.6,1.9L183.6,291.7z'/%3e%3cpath%20class='st2'%20d='M201.7,281.1h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V281.1z'/%3e%3cpath%20class='st2'%20d='M215.3,277.5h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6h9.7v3.6h-14V277.5z'/%3e%3cpath%20class='st2'%20d='M237.7,281.1h-6.3v-3.6h16.8v3.6H242v18.3h-4.3V281.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20class='st2'%20d='M30.2,312.9H44v3.6h-9.5v5.5h6.2v3.3h-6.2v9.6h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M45.6,323.9c0-7.6,5.4-11.5,10.8-11.5c6.4,0,10.8,3.9,10.8,11.5c0,7.6-5.4,11.5-10.8,11.5%20C50,335.3,45.6,331.4,45.6,323.9z%20M62.8,324c0-5.2-2.5-8-6.5-8c-3.9,0-6.5,2.8-6.5,7.7c0,5.2,2.5,8.1,6.5,8.1%20C60.3,331.7,62.8,328.9,62.8,324z'/%3e%3cpath%20class='st2'%20d='M75.3,326.7h-0.2v8.2h-4.3v-21.9H77c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L75.3,326.7z%20M77,323.7c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.5-3.5-4.3-3.5h-1.9v7.4H77z'/%3e%3cpath%20class='st2'%20d='M97.6,312.9h6.5c6,0,8.5,2,8.5,5.5c0,3-1.7,4.5-4.1,5.1v0.1c2.6,0.5,4.5,1.7,4.5,5.1c0,3.5-2.5,6.2-8.6,6.2%20h-6.7V312.9z%20M104.3,321.9c3.2,0,4.1-1.1,4.1-2.9c0-1.8-1.2-2.6-4.1-2.6h-2.4v5.5H104.3z%20M104.4,331.3c3.2,0,4.3-1.1,4.3-3%20c0-1.9-1.1-3-4.3-3h-2.6v6H104.4z'/%3e%3cpath%20class='st2'%20d='M121.2,325.8l-7.2-12.9h4.7l4.8,9.2l4.9-9.2h4.2l-7.2,12.9v9h-4.3V325.8z'/%3e%3cpath%20class='st2'%20d='M133,323.9c0-7.6,4.8-11.5,10.7-11.5c3.6,0,5.7,1.1,6.9,2.1v4.8c-1.2-1.9-3.2-3.3-6.4-3.3%20c-4.4,0-6.9,2.7-6.9,7.7c0,5,2.4,8.3,6.3,8.3c1,0,2-0.1,2.7-0.4v-6.8h4.3v8.8c-1.5,1-3.9,1.8-7.2,1.8%20C137.3,335.3,133,331.5,133,323.9z'/%3e%3cpath%20class='st2'%20d='M153.8,323.9c0-7.6,4.8-11.5,10.7-11.5c3.6,0,5.7,1.1,6.9,2.1v4.8c-1.2-1.9-3.2-3.3-6.4-3.3%20c-4.4,0-6.9,2.7-6.9,7.7c0,5,2.4,8.3,6.3,8.3c1,0,2-0.1,2.7-0.4v-6.8h4.3v8.8c-1.5,1-3.9,1.8-7.2,1.8%20C158,335.3,153.8,331.5,153.8,323.9z'/%3e%3cpath%20class='st2'%20d='M175.7,312.9h4.3v9.8l8.7-9.8h4.4l-7.9,8.7l8.4,13.2h-4.8l-6.2-10.2l-2.6,2.8v7.4h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M193.8,312.9h4.4l5.2,15.4h0.1l5.3-15.4h4.1l-7.9,21.9h-3.5L193.8,312.9z'/%3e%3cpath%20class='st2'%20d='M219.3,315.1l-0.8-2.2h4.4l8.6,21.9h-4.5l-1.7-4.5h-8.1l-1.7,4.5h-4.1L219.3,315.1z%20M218.4,327.1h5.8l-2.3-6%20l-0.6-1.9l-0.6,1.9L218.4,327.1z'/%3e%3cpath%20class='st2'%20d='M234.1,312.9h4.3v18.3h8.2v3.7h-12.4V312.9z'/%3e%3cpath%20class='st2'%20d='M249.7,312.9h4.3v21.9h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M263.4,316.5h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V316.5z'/%3e%3cpath%20class='st2'%20d='M277,312.9h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6h9.7v3.6h-14V312.9z'/%3e%3cpath%20class='st2'%20d='M299.4,316.5h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V316.5z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", qs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2019.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='14%20337%20406%20110'%20style='enable-background:new%2014%20337%20406%20110;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{display:none;}%20.st1{fill:%23003045;}%20.st2{fill:%2389BAD6;}%20.st3{fill:%23FFFFFF;}%20.st4{display:inline;fill:%23FFFFFF;}%20.st5{display:inline;fill:%23D7D4D1;}%20%3c/style%3e%3cg%20id='skisse__x28_forstørret_x29_'%20class='st0'%3e%3c/g%3e%3cg%20id='logo'%3e%3crect%20id='XMLID_5_'%20x='14'%20y='337'%20class='st1'%20width='640'%20height='110'/%3e%3cg%20id='XMLID_82_'%3e%3crect%20id='XMLID_80_'%20x='14'%20y='337'%20class='st2'%20width='150'%20height='110'/%3e%3cg%20id='XMLID_74_'%3e%3cpolygon%20id='XMLID_79_'%20class='st3'%20points='75.1,420.7%2083.2,426.1%2083.2,389.4%20103,402.2%20103,384%2075.1,365.9%20'/%3e%3cpolygon%20id='XMLID_78_'%20class='st3'%20points='41.9,424.2%2041.9,404.7%2060.9,392.4%2060.9,350.3%2027.3,372.1%2027.3,433.7%20'/%3e%3cpolygon%20id='XMLID_77_'%20class='st3'%20points='106.1,381.9%20106.1,417.1%20118.9,425.4%20118.9,354.7%2091.6,372.5%20'/%3e%3cpolygon%20id='XMLID_76_'%20class='st3'%20points='64,350.3%2064,409.8%2071.9,404.7%2071.9,363.9%2071.9,355.5%20'/%3e%3cpolygon%20id='XMLID_75_'%20class='st3'%20points='128.4,385.6%20122.1,389.7%20122.1,423.4%20128.4,419.3%20150.7,433.7%20150.7,399.9%20'/%3e%3c/g%3e%3c/g%3e%3cg%20id='XMLID_6_'%3e%3crect%20id='XMLID_81_'%20x='164.5'%20y='367.5'%20class='st1'%20width='255.5'%20height='79.5'/%3e%3cg%20id='XMLID_7_'%3e%3cg%20id='XMLID_44_'%3e%3cpath%20id='XMLID_71_'%20class='st3'%20d='M187.3,385.6h4.7c5.5,0,8.7,2.2,8.7,8.2s-4,8.2-8.7,8.2h-4.7V385.6z%20M191.9,399.4%20c4.2,0,5.5-1.6,5.5-5.4c0-3.7-1.3-5.6-5.5-5.6h-1.5v11H191.9z'/%3e%3cpath%20id='XMLID_69_'%20class='st3'%20d='M203.5,385.6h3.2v16.5h-3.2V385.6z'/%3e%3cpath%20id='XMLID_66_'%20class='st3'%20d='M213.7,396h-0.2v6.1h-3.2v-16.5h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L213.7,396z%20M215,393.7c2,0,3.2-1,3.2-2.9c0-1.9-1.2-2.7-3.2-2.7h-1.5v5.5h1.5V393.7z'/%3e%3cpath%20id='XMLID_64_'%20class='st3'%20d='M224.6,385.6h10.5v2.7h-7.3v4h4.9v2.5h-4.9v4.5h7.3v2.7h-10.5V385.6z'/%3e%3cpath%20id='XMLID_62_'%20class='st3'%20d='M238,385.6h3.2v7.4l6.5-7.3h3.3l-5.9,6.6l6.3,9.9h-3.6l-4.7-7.7l-1.9,2.1v5.5H238V385.6z'/%3e%3cpath%20id='XMLID_60_'%20class='st3'%20d='M256.8,388.4H252v-2.7h12.6v2.7H260v13.7h-3.2V388.4z'/%3e%3cpath%20id='XMLID_57_'%20class='st3'%20d='M265.7,393.9c0-5.7,4-8.6,8.1-8.6c4.8,0,8.1,3,8.1,8.6c0,5.7-4,8.6-8.1,8.6%20C269,402.5,265.7,399.6,265.7,393.9z%20M278.7,394c0-3.9-1.9-6-4.8-6s-4.8,2.1-4.8,5.8c0,3.9,1.9,6.1,4.8,6.1%20C276.7,399.8,278.7,397.7,278.7,394z'/%3e%3cpath%20id='XMLID_54_'%20class='st3'%20d='M288,396h-0.2v6.1h-3.2v-16.5h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L288,396z%20M289.3,393.7c2,0,3.2-1,3.2-2.9c0-1.9-1.2-2.7-3.2-2.7h-1.5v5.5h1.5V393.7z'/%3e%3cpath%20id='XMLID_51_'%20class='st3'%20d='M303.1,387.3l-0.6-1.7h3.3l6.5,16.5H309l-1.3-3.4h-6.1l-1.3,3.4h-3.1L303.1,387.3z%20M302.5,396.4h4.4l-1.7-4.5l-0.5-1.4l-0.5,1.4L302.5,396.4z'/%3e%3cpath%20id='XMLID_49_'%20class='st3'%20d='M316,388.4h-4.7v-2.7h12.6v2.7h-4.7v13.7H316V388.4z'/%3e%3cpath%20id='XMLID_47_'%20class='st3'%20d='M326.2,385.6h10.5v2.7h-7.3v4h4.9v2.5h-4.9v4.5h7.3v2.7h-10.5V385.6z'/%3e%3cpath%20id='XMLID_45_'%20class='st3'%20d='M343.1,388.4h-4.7v-2.7H351v2.7h-4.7v13.7h-3.2L343.1,388.4L343.1,388.4z'/%3e%3c/g%3e%3cg%20id='XMLID_8_'%3e%3cpath%20id='XMLID_42_'%20class='st3'%20d='M187.3,412.3h10.3v2.7h-7.1v4.1h4.7v2.4h-4.7v7.2h-3.2V412.3z'/%3e%3cpath%20id='XMLID_39_'%20class='st3'%20d='M198.8,420.5c0-5.7,4-8.6,8.1-8.6c4.8,0,8.1,3,8.1,8.6c0,5.7-4,8.6-8.1,8.6%20C202.1,429.1,198.8,426.2,198.8,420.5z%20M211.7,420.6c0-3.9-1.9-6-4.8-6c-2.9,0-4.8,2.1-4.8,5.8c0,3.9,1.9,6.1,4.8,6.1%20C209.8,426.4,211.7,424.3,211.7,420.6z'/%3e%3cpath%20id='XMLID_36_'%20class='st3'%20d='M221.1,422.6h-0.2v6.1h-3.2v-16.4h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L221.1,422.6z%20M222.4,420.3c2,0,3.2-1,3.2-2.9s-1.2-2.7-3.2-2.7h-1.5v5.5L222.4,420.3L222.4,420.3z'/%3e%3cpath%20id='XMLID_32_'%20class='st3'%20d='M237.8,412.3h4.9c4.5,0,6.4,1.5,6.4,4.1c0,2.3-1.3,3.4-3.1,3.8l0,0c2,0.3,3.3,1.3,3.3,3.9%20s-1.8,4.7-6.5,4.7h-5L237.8,412.3L237.8,412.3z%20M242.8,419c2.4,0,3.1-0.8,3.1-2.2c0-1.4-0.9-2-3.1-2H241v4.2H242.8z%20M243,426.1%20c2.4,0,3.2-0.8,3.2-2.3c0-1.4-0.8-2.3-3.2-2.3h-2v4.5h2V426.1z'/%3e%3cpath%20id='XMLID_30_'%20class='st3'%20d='M255.5,422l-5.4-9.7h3.5l3.6,6.9l3.7-6.9h3.2l-5.4,9.7v6.8h-3.2L255.5,422L255.5,422z'/%3e%3cpath%20id='XMLID_28_'%20class='st3'%20d='M264.5,420.5c0-5.7,3.6-8.6,8-8.6c2.7,0,4.3,0.8,5.2,1.6v3.6c-0.9-1.4-2.4-2.4-4.8-2.4%20c-3.3,0-5.2,2-5.2,5.7s1.8,6.2,4.7,6.2c0.8,0,1.5-0.1,2.1-0.3v-5.1h3.2v6.6c-1.1,0.7-2.9,1.4-5.4,1.4%20C267.7,429.1,264.5,426.3,264.5,420.5z'/%3e%3cpath%20id='XMLID_26_'%20class='st3'%20d='M280,420.5c0-5.7,3.6-8.6,8-8.6c2.7,0,4.3,0.8,5.2,1.6v3.6c-0.9-1.4-2.4-2.4-4.8-2.4%20c-3.3,0-5.2,2-5.2,5.7s1.8,6.2,4.7,6.2c0.8,0,1.5-0.1,2.1-0.3v-5.1h3.2v6.6c-1.1,0.7-2.9,1.4-5.4,1.4%20C283.2,429.1,280,426.3,280,420.5z'/%3e%3cpath%20id='XMLID_24_'%20class='st3'%20d='M296.5,412.3h3.2v7.3l6.5-7.3h3.3l-5.9,6.6l6.3,9.9h-3.6l-4.7-7.7l-1.9,2.1v5.5h-3.2%20L296.5,412.3L296.5,412.3z'/%3e%3cpath%20id='XMLID_22_'%20class='st3'%20d='M310.1,412.3h3.3l3.9,11.5h0.1l4-11.5h3.1l-5.9,16.5H316L310.1,412.3z'/%3e%3cpath%20id='XMLID_19_'%20class='st3'%20d='M329.2,413.9l-0.6-1.7h3.3l6.5,16.5h-3.3l-1.3-3.4h-6.1l-1.3,3.4h-3.1L329.2,413.9z%20M328.6,423h4.4l-1.7-4.5l-0.5-1.4l-0.5,1.4L328.6,423z'/%3e%3cpath%20id='XMLID_17_'%20class='st3'%20d='M340.4,412.3h3.2V426h6.1v2.8h-9.3L340.4,412.3L340.4,412.3z'/%3e%3cpath%20id='XMLID_15_'%20class='st3'%20d='M352.1,412.3h3.2v16.5h-3.2V412.3z'/%3e%3cpath%20id='XMLID_13_'%20class='st3'%20d='M362.3,415h-4.7v-2.7h12.6v2.7h-4.7v13.7h-3.2L362.3,415L362.3,415z'/%3e%3cpath%20id='XMLID_11_'%20class='st3'%20d='M372.6,412.3h10.5v2.7h-7.3v3.9h4.9v2.5h-4.9v4.6h7.3v2.7h-10.5V412.3z'/%3e%3cpath%20id='XMLID_9_'%20class='st3'%20d='M389.4,415h-4.7v-2.7h12.6v2.7h-4.7v13.7h-3.2L389.4,415L389.4,415z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='hamburgermeny'%20class='st0'%3e%3crect%20id='XMLID_94_'%20x='578'%20y='386'%20class='st4'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_95_'%20x='578'%20y='423'%20class='st4'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_96_'%20x='578'%20y='405'%20class='st4'%20width='60'%20height='6'/%3e%3c/g%3e%3cg%20id='hamburgermeny__hover'%20class='st0'%3e%3crect%20id='XMLID_97_'%20x='578'%20y='386'%20class='st5'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_93_'%20x='578'%20y='423'%20class='st5'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_91_'%20x='578'%20y='405'%20class='st5'%20width='60'%20height='6'/%3e%3c/g%3e%3c/svg%3e", Xs = (e) => (e == null ? void 0 : e.logo) ?? "", Ws = (e) => (e == null ? void 0 : e.logoPadding) ?? "", Us = (e) => (e == null ? void 0 : e.appName) ?? "", Ys = "_navigationBarContainer_n1cc0_1", Js = "_mainContentLink_n1cc0_1", Gs = "_compact_n1cc0_30", Ks = "_navigationBar_n1cc0_1", Zs = "_preventStacking_n1cc0_63", Qs = "_logoContainer_n1cc0_82", eo = "_childElements_n1cc0_91", to = "_menuToggle_n1cc0_97", no = "_hamburgerIcon_n1cc0_125", ro = "_active_n1cc0_161", ao = "_dropdownContainer_n1cc0_170", so = "_dropdown_n1cc0_170", oo = "_primaryList_n1cc0_195", io = "_secondaryList_n1cc0_196", lo = "_line_n1cc0_392", A = {
|
|
2648
|
-
navigationBarContainer:
|
|
2649
|
-
mainContentLink:
|
|
2650
|
-
compact:
|
|
2651
|
-
navigationBar:
|
|
2652
|
-
preventStacking:
|
|
2653
|
-
logoContainer:
|
|
2654
|
-
childElements:
|
|
2655
|
-
menuToggle:
|
|
2656
|
-
hamburgerIcon:
|
|
2657
|
-
active:
|
|
2658
|
-
dropdownContainer:
|
|
2659
|
-
dropdown:
|
|
2660
|
-
primaryList:
|
|
2661
|
-
secondaryList:
|
|
2662
|
-
line:
|
|
2663
|
-
}, St = ({ listItem: e }) => typeof e == "string" ? /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx("span", { children: e }) }) : typeof e == "object" ? /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx("a", { href: e.href, children: e.name }) }) : null,
|
|
2687
|
+
}, qs = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20id='Layer_1'%20x='0px'%20y='0px'%20viewBox='0%200%20340.2%20412.5'%20style='enable-background:new%200%200%20340.2%20412.5;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23003045;}%20.st1{fill:%2389BAD6;}%20.st2{fill:%23FFFFFF;}%20%3c/style%3e%3cg%3e%3crect%20x='0'%20y='253.2'%20class='st0'%20width='340.2'%20height='105.8'/%3e%3crect%20x='0'%20class='st1'%20width='340.2'%20height='249.4'/%3e%3cg%3e%3cpolygon%20class='st2'%20points='138.5,189.9%20157,202%20157,118.8%20201.7,147.8%20201.7,106.6%20138.5,65.5%20'/%3e%3cpolygon%20class='st2'%20points='63.3,197.7%2063.3,153.5%20106.3,125.5%20106.3,30.2%2030.2,79.7%2030.2,219.2%20'/%3e%3cpolygon%20class='st2'%20points='208.9,101.9%20208.9,181.7%20238,200.5%20238,40.1%20175.9,80.4%20'/%3e%3cpolygon%20class='st2'%20points='113.4,30.2%20113.4,165.2%20131.4,153.5%20131.4,60.9%20131.4,41.9%20'/%3e%3cpolygon%20class='st2'%20points='259.5,110.2%20245.1,119.6%20245.1,195.9%20259.5,186.5%20309.9,219.2%20309.9,142.6%20'/%3e%3c/g%3e%3cpolygon%20class='st0'%20points='0,362.8%2075.6,412%2075.6,362.8%20'/%3e%3cg%3e%3cg%3e%3cpath%20class='st2'%20d='M30.2,277.5h6.2c7.3,0,11.6,2.9,11.6,11s-5.3,11-11.6,11h-6.2V277.5z%20M36.5,295.7c5.6,0,7.3-2.2,7.3-7.2%20c0-5-1.7-7.5-7.3-7.5h-2v14.6H36.5z'/%3e%3cpath%20class='st2'%20d='M51.9,277.5h4.3v21.9h-4.3V277.5z'/%3e%3cpath%20class='st2'%20d='M65.5,291.2h-0.2v8.2H61v-21.9h6.2c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L65.5,291.2z%20M67.2,288.2c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.6-3.5-4.3-3.5h-1.9v7.4H67.2z'/%3e%3cpath%20class='st2'%20d='M80,277.5h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6H94v3.6H80V277.5z'/%3e%3cpath%20class='st2'%20d='M97.8,277.5h4.3v9.8l8.7-9.8h4.4l-7.9,8.7l8.4,13.2h-4.8l-6.2-10.2l-2.6,2.8v7.4h-4.3V277.5z'/%3e%3cpath%20class='st2'%20d='M122.8,281.1h-6.3v-3.6h16.8v3.6H127v18.3h-4.3V281.1z'/%3e%3cpath%20class='st2'%20d='M134.7,288.4c0-7.6,5.4-11.5,10.8-11.5c6.4,0,10.8,3.9,10.8,11.5c0,7.6-5.4,11.5-10.8,11.5%20C139.1,299.9,134.7,296,134.7,288.4z%20M151.9,288.6c0-5.2-2.5-8-6.5-8c-3.9,0-6.5,2.8-6.5,7.7c0,5.2,2.5,8.1,6.5,8.1%20C149.4,296.3,151.9,293.5,151.9,288.6z'/%3e%3cpath%20class='st2'%20d='M164.4,291.2h-0.2v8.2h-4.3v-21.9h6.2c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L164.4,291.2z%20M166.2,288.2c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.5-3.5-4.3-3.5h-1.9v7.4H166.2z'/%3e%3cpath%20class='st2'%20d='M184.5,279.7l-0.8-2.2h4.4l8.6,21.9h-4.5l-1.7-4.5h-8.1l-1.7,4.5h-4.1L184.5,279.7z%20M183.6,291.7h5.8l-2.3-6%20l-0.6-1.9l-0.6,1.9L183.6,291.7z'/%3e%3cpath%20class='st2'%20d='M201.7,281.1h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V281.1z'/%3e%3cpath%20class='st2'%20d='M215.3,277.5h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6h9.7v3.6h-14V277.5z'/%3e%3cpath%20class='st2'%20d='M237.7,281.1h-6.3v-3.6h16.8v3.6H242v18.3h-4.3V281.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20class='st2'%20d='M30.2,312.9H44v3.6h-9.5v5.5h6.2v3.3h-6.2v9.6h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M45.6,323.9c0-7.6,5.4-11.5,10.8-11.5c6.4,0,10.8,3.9,10.8,11.5c0,7.6-5.4,11.5-10.8,11.5%20C50,335.3,45.6,331.4,45.6,323.9z%20M62.8,324c0-5.2-2.5-8-6.5-8c-3.9,0-6.5,2.8-6.5,7.7c0,5.2,2.5,8.1,6.5,8.1%20C60.3,331.7,62.8,328.9,62.8,324z'/%3e%3cpath%20class='st2'%20d='M75.3,326.7h-0.2v8.2h-4.3v-21.9H77c5.1,0,8.6,1.8,8.6,6.5c0,3.7-2.3,6.2-5.8,7l7.5,8.5h-5.1L75.3,326.7z%20M77,323.7c2.7,0,4.3-1.3,4.3-3.8c0-2.5-1.5-3.5-4.3-3.5h-1.9v7.4H77z'/%3e%3cpath%20class='st2'%20d='M97.6,312.9h6.5c6,0,8.5,2,8.5,5.5c0,3-1.7,4.5-4.1,5.1v0.1c2.6,0.5,4.5,1.7,4.5,5.1c0,3.5-2.5,6.2-8.6,6.2%20h-6.7V312.9z%20M104.3,321.9c3.2,0,4.1-1.1,4.1-2.9c0-1.8-1.2-2.6-4.1-2.6h-2.4v5.5H104.3z%20M104.4,331.3c3.2,0,4.3-1.1,4.3-3%20c0-1.9-1.1-3-4.3-3h-2.6v6H104.4z'/%3e%3cpath%20class='st2'%20d='M121.2,325.8l-7.2-12.9h4.7l4.8,9.2l4.9-9.2h4.2l-7.2,12.9v9h-4.3V325.8z'/%3e%3cpath%20class='st2'%20d='M133,323.9c0-7.6,4.8-11.5,10.7-11.5c3.6,0,5.7,1.1,6.9,2.1v4.8c-1.2-1.9-3.2-3.3-6.4-3.3%20c-4.4,0-6.9,2.7-6.9,7.7c0,5,2.4,8.3,6.3,8.3c1,0,2-0.1,2.7-0.4v-6.8h4.3v8.8c-1.5,1-3.9,1.8-7.2,1.8%20C137.3,335.3,133,331.5,133,323.9z'/%3e%3cpath%20class='st2'%20d='M153.8,323.9c0-7.6,4.8-11.5,10.7-11.5c3.6,0,5.7,1.1,6.9,2.1v4.8c-1.2-1.9-3.2-3.3-6.4-3.3%20c-4.4,0-6.9,2.7-6.9,7.7c0,5,2.4,8.3,6.3,8.3c1,0,2-0.1,2.7-0.4v-6.8h4.3v8.8c-1.5,1-3.9,1.8-7.2,1.8%20C158,335.3,153.8,331.5,153.8,323.9z'/%3e%3cpath%20class='st2'%20d='M175.7,312.9h4.3v9.8l8.7-9.8h4.4l-7.9,8.7l8.4,13.2h-4.8l-6.2-10.2l-2.6,2.8v7.4h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M193.8,312.9h4.4l5.2,15.4h0.1l5.3-15.4h4.1l-7.9,21.9h-3.5L193.8,312.9z'/%3e%3cpath%20class='st2'%20d='M219.3,315.1l-0.8-2.2h4.4l8.6,21.9h-4.5l-1.7-4.5h-8.1l-1.7,4.5h-4.1L219.3,315.1z%20M218.4,327.1h5.8l-2.3-6%20l-0.6-1.9l-0.6,1.9L218.4,327.1z'/%3e%3cpath%20class='st2'%20d='M234.1,312.9h4.3v18.3h8.2v3.7h-12.4V312.9z'/%3e%3cpath%20class='st2'%20d='M249.7,312.9h4.3v21.9h-4.3V312.9z'/%3e%3cpath%20class='st2'%20d='M263.4,316.5h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V316.5z'/%3e%3cpath%20class='st2'%20d='M277,312.9h14v3.6h-9.7v5.3h6.5v3.4h-6.5v6h9.7v3.6h-14V312.9z'/%3e%3cpath%20class='st2'%20d='M299.4,316.5h-6.3v-3.6h16.8v3.6h-6.3v18.3h-4.3V316.5z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Xs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2019.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='14%20337%20406%20110'%20style='enable-background:new%2014%20337%20406%20110;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{display:none;}%20.st1{fill:%23003045;}%20.st2{fill:%2389BAD6;}%20.st3{fill:%23FFFFFF;}%20.st4{display:inline;fill:%23FFFFFF;}%20.st5{display:inline;fill:%23D7D4D1;}%20%3c/style%3e%3cg%20id='skisse__x28_forstørret_x29_'%20class='st0'%3e%3c/g%3e%3cg%20id='logo'%3e%3crect%20id='XMLID_5_'%20x='14'%20y='337'%20class='st1'%20width='640'%20height='110'/%3e%3cg%20id='XMLID_82_'%3e%3crect%20id='XMLID_80_'%20x='14'%20y='337'%20class='st2'%20width='150'%20height='110'/%3e%3cg%20id='XMLID_74_'%3e%3cpolygon%20id='XMLID_79_'%20class='st3'%20points='75.1,420.7%2083.2,426.1%2083.2,389.4%20103,402.2%20103,384%2075.1,365.9%20'/%3e%3cpolygon%20id='XMLID_78_'%20class='st3'%20points='41.9,424.2%2041.9,404.7%2060.9,392.4%2060.9,350.3%2027.3,372.1%2027.3,433.7%20'/%3e%3cpolygon%20id='XMLID_77_'%20class='st3'%20points='106.1,381.9%20106.1,417.1%20118.9,425.4%20118.9,354.7%2091.6,372.5%20'/%3e%3cpolygon%20id='XMLID_76_'%20class='st3'%20points='64,350.3%2064,409.8%2071.9,404.7%2071.9,363.9%2071.9,355.5%20'/%3e%3cpolygon%20id='XMLID_75_'%20class='st3'%20points='128.4,385.6%20122.1,389.7%20122.1,423.4%20128.4,419.3%20150.7,433.7%20150.7,399.9%20'/%3e%3c/g%3e%3c/g%3e%3cg%20id='XMLID_6_'%3e%3crect%20id='XMLID_81_'%20x='164.5'%20y='367.5'%20class='st1'%20width='255.5'%20height='79.5'/%3e%3cg%20id='XMLID_7_'%3e%3cg%20id='XMLID_44_'%3e%3cpath%20id='XMLID_71_'%20class='st3'%20d='M187.3,385.6h4.7c5.5,0,8.7,2.2,8.7,8.2s-4,8.2-8.7,8.2h-4.7V385.6z%20M191.9,399.4%20c4.2,0,5.5-1.6,5.5-5.4c0-3.7-1.3-5.6-5.5-5.6h-1.5v11H191.9z'/%3e%3cpath%20id='XMLID_69_'%20class='st3'%20d='M203.5,385.6h3.2v16.5h-3.2V385.6z'/%3e%3cpath%20id='XMLID_66_'%20class='st3'%20d='M213.7,396h-0.2v6.1h-3.2v-16.5h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L213.7,396z%20M215,393.7c2,0,3.2-1,3.2-2.9c0-1.9-1.2-2.7-3.2-2.7h-1.5v5.5h1.5V393.7z'/%3e%3cpath%20id='XMLID_64_'%20class='st3'%20d='M224.6,385.6h10.5v2.7h-7.3v4h4.9v2.5h-4.9v4.5h7.3v2.7h-10.5V385.6z'/%3e%3cpath%20id='XMLID_62_'%20class='st3'%20d='M238,385.6h3.2v7.4l6.5-7.3h3.3l-5.9,6.6l6.3,9.9h-3.6l-4.7-7.7l-1.9,2.1v5.5H238V385.6z'/%3e%3cpath%20id='XMLID_60_'%20class='st3'%20d='M256.8,388.4H252v-2.7h12.6v2.7H260v13.7h-3.2V388.4z'/%3e%3cpath%20id='XMLID_57_'%20class='st3'%20d='M265.7,393.9c0-5.7,4-8.6,8.1-8.6c4.8,0,8.1,3,8.1,8.6c0,5.7-4,8.6-8.1,8.6%20C269,402.5,265.7,399.6,265.7,393.9z%20M278.7,394c0-3.9-1.9-6-4.8-6s-4.8,2.1-4.8,5.8c0,3.9,1.9,6.1,4.8,6.1%20C276.7,399.8,278.7,397.7,278.7,394z'/%3e%3cpath%20id='XMLID_54_'%20class='st3'%20d='M288,396h-0.2v6.1h-3.2v-16.5h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L288,396z%20M289.3,393.7c2,0,3.2-1,3.2-2.9c0-1.9-1.2-2.7-3.2-2.7h-1.5v5.5h1.5V393.7z'/%3e%3cpath%20id='XMLID_51_'%20class='st3'%20d='M303.1,387.3l-0.6-1.7h3.3l6.5,16.5H309l-1.3-3.4h-6.1l-1.3,3.4h-3.1L303.1,387.3z%20M302.5,396.4h4.4l-1.7-4.5l-0.5-1.4l-0.5,1.4L302.5,396.4z'/%3e%3cpath%20id='XMLID_49_'%20class='st3'%20d='M316,388.4h-4.7v-2.7h12.6v2.7h-4.7v13.7H316V388.4z'/%3e%3cpath%20id='XMLID_47_'%20class='st3'%20d='M326.2,385.6h10.5v2.7h-7.3v4h4.9v2.5h-4.9v4.5h7.3v2.7h-10.5V385.6z'/%3e%3cpath%20id='XMLID_45_'%20class='st3'%20d='M343.1,388.4h-4.7v-2.7H351v2.7h-4.7v13.7h-3.2L343.1,388.4L343.1,388.4z'/%3e%3c/g%3e%3cg%20id='XMLID_8_'%3e%3cpath%20id='XMLID_42_'%20class='st3'%20d='M187.3,412.3h10.3v2.7h-7.1v4.1h4.7v2.4h-4.7v7.2h-3.2V412.3z'/%3e%3cpath%20id='XMLID_39_'%20class='st3'%20d='M198.8,420.5c0-5.7,4-8.6,8.1-8.6c4.8,0,8.1,3,8.1,8.6c0,5.7-4,8.6-8.1,8.6%20C202.1,429.1,198.8,426.2,198.8,420.5z%20M211.7,420.6c0-3.9-1.9-6-4.8-6c-2.9,0-4.8,2.1-4.8,5.8c0,3.9,1.9,6.1,4.8,6.1%20C209.8,426.4,211.7,424.3,211.7,420.6z'/%3e%3cpath%20id='XMLID_36_'%20class='st3'%20d='M221.1,422.6h-0.2v6.1h-3.2v-16.4h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L221.1,422.6z%20M222.4,420.3c2,0,3.2-1,3.2-2.9s-1.2-2.7-3.2-2.7h-1.5v5.5L222.4,420.3L222.4,420.3z'/%3e%3cpath%20id='XMLID_32_'%20class='st3'%20d='M237.8,412.3h4.9c4.5,0,6.4,1.5,6.4,4.1c0,2.3-1.3,3.4-3.1,3.8l0,0c2,0.3,3.3,1.3,3.3,3.9%20s-1.8,4.7-6.5,4.7h-5L237.8,412.3L237.8,412.3z%20M242.8,419c2.4,0,3.1-0.8,3.1-2.2c0-1.4-0.9-2-3.1-2H241v4.2H242.8z%20M243,426.1%20c2.4,0,3.2-0.8,3.2-2.3c0-1.4-0.8-2.3-3.2-2.3h-2v4.5h2V426.1z'/%3e%3cpath%20id='XMLID_30_'%20class='st3'%20d='M255.5,422l-5.4-9.7h3.5l3.6,6.9l3.7-6.9h3.2l-5.4,9.7v6.8h-3.2L255.5,422L255.5,422z'/%3e%3cpath%20id='XMLID_28_'%20class='st3'%20d='M264.5,420.5c0-5.7,3.6-8.6,8-8.6c2.7,0,4.3,0.8,5.2,1.6v3.6c-0.9-1.4-2.4-2.4-4.8-2.4%20c-3.3,0-5.2,2-5.2,5.7s1.8,6.2,4.7,6.2c0.8,0,1.5-0.1,2.1-0.3v-5.1h3.2v6.6c-1.1,0.7-2.9,1.4-5.4,1.4%20C267.7,429.1,264.5,426.3,264.5,420.5z'/%3e%3cpath%20id='XMLID_26_'%20class='st3'%20d='M280,420.5c0-5.7,3.6-8.6,8-8.6c2.7,0,4.3,0.8,5.2,1.6v3.6c-0.9-1.4-2.4-2.4-4.8-2.4%20c-3.3,0-5.2,2-5.2,5.7s1.8,6.2,4.7,6.2c0.8,0,1.5-0.1,2.1-0.3v-5.1h3.2v6.6c-1.1,0.7-2.9,1.4-5.4,1.4%20C283.2,429.1,280,426.3,280,420.5z'/%3e%3cpath%20id='XMLID_24_'%20class='st3'%20d='M296.5,412.3h3.2v7.3l6.5-7.3h3.3l-5.9,6.6l6.3,9.9h-3.6l-4.7-7.7l-1.9,2.1v5.5h-3.2%20L296.5,412.3L296.5,412.3z'/%3e%3cpath%20id='XMLID_22_'%20class='st3'%20d='M310.1,412.3h3.3l3.9,11.5h0.1l4-11.5h3.1l-5.9,16.5H316L310.1,412.3z'/%3e%3cpath%20id='XMLID_19_'%20class='st3'%20d='M329.2,413.9l-0.6-1.7h3.3l6.5,16.5h-3.3l-1.3-3.4h-6.1l-1.3,3.4h-3.1L329.2,413.9z%20M328.6,423h4.4l-1.7-4.5l-0.5-1.4l-0.5,1.4L328.6,423z'/%3e%3cpath%20id='XMLID_17_'%20class='st3'%20d='M340.4,412.3h3.2V426h6.1v2.8h-9.3L340.4,412.3L340.4,412.3z'/%3e%3cpath%20id='XMLID_15_'%20class='st3'%20d='M352.1,412.3h3.2v16.5h-3.2V412.3z'/%3e%3cpath%20id='XMLID_13_'%20class='st3'%20d='M362.3,415h-4.7v-2.7h12.6v2.7h-4.7v13.7h-3.2L362.3,415L362.3,415z'/%3e%3cpath%20id='XMLID_11_'%20class='st3'%20d='M372.6,412.3h10.5v2.7h-7.3v3.9h4.9v2.5h-4.9v4.6h7.3v2.7h-10.5V412.3z'/%3e%3cpath%20id='XMLID_9_'%20class='st3'%20d='M389.4,415h-4.7v-2.7h12.6v2.7h-4.7v13.7h-3.2L389.4,415L389.4,415z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='hamburgermeny'%20class='st0'%3e%3crect%20id='XMLID_94_'%20x='578'%20y='386'%20class='st4'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_95_'%20x='578'%20y='423'%20class='st4'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_96_'%20x='578'%20y='405'%20class='st4'%20width='60'%20height='6'/%3e%3c/g%3e%3cg%20id='hamburgermeny__hover'%20class='st0'%3e%3crect%20id='XMLID_97_'%20x='578'%20y='386'%20class='st5'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_93_'%20x='578'%20y='423'%20class='st5'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_91_'%20x='578'%20y='405'%20class='st5'%20width='60'%20height='6'/%3e%3c/g%3e%3c/svg%3e", Us = (e) => (e == null ? void 0 : e.logo) ?? "", Ws = (e) => (e == null ? void 0 : e.logoPadding) ?? "", Ys = (e) => (e == null ? void 0 : e.appName) ?? "", Js = "_navigationBarContainer_n1cc0_1", Gs = "_mainContentLink_n1cc0_1", Ks = "_compact_n1cc0_30", Zs = "_navigationBar_n1cc0_1", Qs = "_preventStacking_n1cc0_63", eo = "_logoContainer_n1cc0_82", to = "_childElements_n1cc0_91", no = "_menuToggle_n1cc0_97", ro = "_hamburgerIcon_n1cc0_125", ao = "_active_n1cc0_161", so = "_dropdownContainer_n1cc0_170", oo = "_dropdown_n1cc0_170", io = "_primaryList_n1cc0_195", lo = "_secondaryList_n1cc0_196", co = "_line_n1cc0_392", A = {
|
|
2688
|
+
navigationBarContainer: Js,
|
|
2689
|
+
mainContentLink: Gs,
|
|
2690
|
+
compact: Ks,
|
|
2691
|
+
navigationBar: Zs,
|
|
2692
|
+
preventStacking: Qs,
|
|
2693
|
+
logoContainer: eo,
|
|
2694
|
+
childElements: to,
|
|
2695
|
+
menuToggle: no,
|
|
2696
|
+
hamburgerIcon: ro,
|
|
2697
|
+
active: ao,
|
|
2698
|
+
dropdownContainer: so,
|
|
2699
|
+
dropdown: oo,
|
|
2700
|
+
primaryList: io,
|
|
2701
|
+
secondaryList: lo,
|
|
2702
|
+
line: co
|
|
2703
|
+
}, St = ({ listItem: e }) => typeof e == "string" ? /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx("span", { children: e }) }) : typeof e == "object" ? /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx("a", { href: e.href, children: e.name }) }) : null, Ti = ({
|
|
2664
2704
|
primaryListItems: e = [],
|
|
2665
2705
|
secondaryListItems: t = [],
|
|
2666
2706
|
logoLink: n = "",
|
|
@@ -2672,31 +2712,31 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2672
2712
|
preventChildElementStacking: i = !1,
|
|
2673
2713
|
children: l
|
|
2674
2714
|
}) => {
|
|
2675
|
-
const [u, m] =
|
|
2676
|
-
padding: Ws(
|
|
2677
|
-
}), f = (
|
|
2678
|
-
const
|
|
2679
|
-
return
|
|
2680
|
-
/* @__PURE__ */ o.jsx("span", { children:
|
|
2681
|
-
f(
|
|
2682
|
-
] },
|
|
2683
|
-
}) }) : null, v = () => t.length ? /* @__PURE__ */ o.jsx("ul", { className: A.secondaryList, children: t.map((
|
|
2684
|
-
const
|
|
2685
|
-
return
|
|
2715
|
+
const [u, m] = ce(!1), h = () => m(!u), y = (j) => ({
|
|
2716
|
+
padding: Ws(j)
|
|
2717
|
+
}), f = (j = e, L = 0) => j.length ? /* @__PURE__ */ o.jsx("ul", { className: A.primaryList, children: j.map((I, N) => {
|
|
2718
|
+
const k = `${L}-${N}`;
|
|
2719
|
+
return I.listItems ? /* @__PURE__ */ o.jsxs("li", { children: [
|
|
2720
|
+
/* @__PURE__ */ o.jsx("span", { children: I.name }),
|
|
2721
|
+
f(I.listItems, L + 1)
|
|
2722
|
+
] }, k) : /* @__PURE__ */ o.jsx(St, { listItem: I }, k);
|
|
2723
|
+
}) }) : null, v = () => t.length ? /* @__PURE__ */ o.jsx("ul", { className: A.secondaryList, children: t.map((j) => /* @__PURE__ */ o.jsx(St, { listItem: j }, j.name)) }) : null, x = (j, L) => {
|
|
2724
|
+
const I = Us(s), N = Ys(s), k = j && L ? "" : I && N ? `${N} logo` : "DIBK logo", R = I ? /* @__PURE__ */ o.jsx("img", { alt: k, src: I, style: y(s) }) : /* @__PURE__ */ o.jsx("img", { alt: k, src: c ? Xs : qs });
|
|
2725
|
+
return j != null && j.length ? /* @__PURE__ */ o.jsx(
|
|
2686
2726
|
"a",
|
|
2687
2727
|
{
|
|
2688
|
-
href:
|
|
2728
|
+
href: j,
|
|
2689
2729
|
title: L,
|
|
2690
2730
|
target: r ? "_blank" : void 0,
|
|
2691
2731
|
rel: r ? "noopener noreferrer" : void 0,
|
|
2692
|
-
children:
|
|
2732
|
+
children: R
|
|
2693
2733
|
}
|
|
2694
|
-
) :
|
|
2695
|
-
},
|
|
2734
|
+
) : R;
|
|
2735
|
+
}, _ = e.length > 0 || t.length > 0, w = Ye(), b = Ye(), S = Ye();
|
|
2696
2736
|
return /* @__PURE__ */ o.jsxs(
|
|
2697
2737
|
"div",
|
|
2698
2738
|
{
|
|
2699
|
-
className:
|
|
2739
|
+
className: z([
|
|
2700
2740
|
c && A.compact,
|
|
2701
2741
|
A.navigationBarContainer
|
|
2702
2742
|
]),
|
|
@@ -2704,23 +2744,23 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2704
2744
|
d && /* @__PURE__ */ o.jsx(
|
|
2705
2745
|
"a",
|
|
2706
2746
|
{
|
|
2707
|
-
id:
|
|
2747
|
+
id: w,
|
|
2708
2748
|
href: `#${d}`,
|
|
2709
2749
|
className: A.mainContentLink,
|
|
2710
|
-
children: /* @__PURE__ */ o.jsx("span", { id:
|
|
2750
|
+
children: /* @__PURE__ */ o.jsx("span", { id: b, children: "Hopp til hovedinnhold" })
|
|
2711
2751
|
}
|
|
2712
2752
|
),
|
|
2713
2753
|
/* @__PURE__ */ o.jsxs(
|
|
2714
2754
|
"div",
|
|
2715
2755
|
{
|
|
2716
|
-
className:
|
|
2756
|
+
className: z([
|
|
2717
2757
|
A.navigationBar,
|
|
2718
2758
|
i && A.preventStacking
|
|
2719
2759
|
]),
|
|
2720
2760
|
children: [
|
|
2721
2761
|
/* @__PURE__ */ o.jsx("div", { className: A.logoContainer, children: x(n, a) }),
|
|
2722
2762
|
l && /* @__PURE__ */ o.jsx("div", { className: A.childElements, children: l }),
|
|
2723
|
-
|
|
2763
|
+
_ && /* @__PURE__ */ o.jsxs(
|
|
2724
2764
|
"button",
|
|
2725
2765
|
{
|
|
2726
2766
|
type: "button",
|
|
@@ -2741,10 +2781,10 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2741
2781
|
]
|
|
2742
2782
|
}
|
|
2743
2783
|
),
|
|
2744
|
-
|
|
2784
|
+
_ && /* @__PURE__ */ o.jsx(
|
|
2745
2785
|
"div",
|
|
2746
2786
|
{
|
|
2747
|
-
className:
|
|
2787
|
+
className: z([
|
|
2748
2788
|
A.dropdownContainer,
|
|
2749
2789
|
u && A.active
|
|
2750
2790
|
]),
|
|
@@ -2757,11 +2797,11 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2757
2797
|
]
|
|
2758
2798
|
}
|
|
2759
2799
|
);
|
|
2760
|
-
},
|
|
2761
|
-
paper:
|
|
2762
|
-
noMargin:
|
|
2763
|
-
noPadding:
|
|
2764
|
-
},
|
|
2800
|
+
}, uo = "_paper_1lgl3_1", ho = "_noMargin_1lgl3_6", fo = "_noPadding_1lgl3_9", Qe = {
|
|
2801
|
+
paper: uo,
|
|
2802
|
+
noMargin: ho,
|
|
2803
|
+
noPadding: fo
|
|
2804
|
+
}, zi = ({
|
|
2765
2805
|
noMargin: e = !1,
|
|
2766
2806
|
noPadding: t = !1,
|
|
2767
2807
|
children: n
|
|
@@ -2772,10 +2812,10 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2772
2812
|
t && Qe.noPadding
|
|
2773
2813
|
].filter(Boolean).join(" ");
|
|
2774
2814
|
return /* @__PURE__ */ o.jsx("div", { className: a, children: n });
|
|
2775
|
-
},
|
|
2776
|
-
progressBar:
|
|
2777
|
-
hasErrors:
|
|
2778
|
-
},
|
|
2815
|
+
}, mo = "_progressBar_t5aid_1", po = "_hasErrors_t5aid_23", $t = {
|
|
2816
|
+
progressBar: mo,
|
|
2817
|
+
hasErrors: po
|
|
2818
|
+
}, Pi = ({ progress: e = 0, hasErrors: t = !1 }) => /* @__PURE__ */ o.jsx(
|
|
2779
2819
|
"div",
|
|
2780
2820
|
{
|
|
2781
2821
|
className: `${$t.progressBar} ${t ? $t.hasErrors : ""}`,
|
|
@@ -2785,12 +2825,12 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2785
2825
|
"aria-valuemax": 100,
|
|
2786
2826
|
style: { "--value": e }
|
|
2787
2827
|
}
|
|
2788
|
-
),
|
|
2789
|
-
radioButtonIcon:
|
|
2790
|
-
hasErrors:
|
|
2791
|
-
checked:
|
|
2792
|
-
disabled:
|
|
2793
|
-
},
|
|
2828
|
+
), _o = "_radioButtonIcon_32fe0_1", go = "_hasErrors_32fe0_22", vo = "_checked_32fe0_32", yo = "_disabled_32fe0_48", Ae = {
|
|
2829
|
+
radioButtonIcon: _o,
|
|
2830
|
+
hasErrors: go,
|
|
2831
|
+
checked: vo,
|
|
2832
|
+
disabled: yo
|
|
2833
|
+
}, xo = ({
|
|
2794
2834
|
size: e = "10px",
|
|
2795
2835
|
checked: t = !1,
|
|
2796
2836
|
disabled: n = !1,
|
|
@@ -2806,12 +2846,12 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2806
2846
|
a && Ae.hasErrors
|
|
2807
2847
|
].filter(Boolean).join(" ");
|
|
2808
2848
|
return /* @__PURE__ */ o.jsx("span", { className: s, style: r });
|
|
2809
|
-
},
|
|
2810
|
-
radioButtonInput:
|
|
2811
|
-
requiredSymbol:
|
|
2812
|
-
disabled:
|
|
2813
|
-
labelText:
|
|
2814
|
-
hasErrors:
|
|
2849
|
+
}, bo = "_radioButtonInput_1i7cy_1", wo = "_requiredSymbol_1i7cy_6", Co = "_disabled_1i7cy_13", Eo = "_labelText_1i7cy_19", ko = "_hasErrors_1i7cy_27", ge = {
|
|
2850
|
+
radioButtonInput: bo,
|
|
2851
|
+
requiredSymbol: wo,
|
|
2852
|
+
disabled: Co,
|
|
2853
|
+
labelText: Eo,
|
|
2854
|
+
hasErrors: ko
|
|
2815
2855
|
}, jo = ({
|
|
2816
2856
|
checked: e = !1,
|
|
2817
2857
|
disabled: t = !1,
|
|
@@ -2829,10 +2869,10 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2829
2869
|
"aria-describedby": y
|
|
2830
2870
|
}) => {
|
|
2831
2871
|
const f = [
|
|
2832
|
-
|
|
2833
|
-
e &&
|
|
2834
|
-
t &&
|
|
2835
|
-
i &&
|
|
2872
|
+
ge.radioButtonInput,
|
|
2873
|
+
e && ge.checked,
|
|
2874
|
+
t && ge.disabled,
|
|
2875
|
+
i && ge.hasErrors
|
|
2836
2876
|
].filter(Boolean).join(" "), v = {
|
|
2837
2877
|
checked: e,
|
|
2838
2878
|
disabled: t,
|
|
@@ -2853,27 +2893,27 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2853
2893
|
};
|
|
2854
2894
|
return /* @__PURE__ */ o.jsxs("label", { htmlFor: r, className: f, children: [
|
|
2855
2895
|
!d && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
2856
|
-
/* @__PURE__ */ o.jsx(
|
|
2896
|
+
/* @__PURE__ */ o.jsx(xo, { ...v }),
|
|
2857
2897
|
/* @__PURE__ */ o.jsx("input", { ...x })
|
|
2858
2898
|
] }),
|
|
2859
|
-
/* @__PURE__ */ o.jsxs("span", { className:
|
|
2899
|
+
/* @__PURE__ */ o.jsxs("span", { className: ge.labelText, children: [
|
|
2860
2900
|
m,
|
|
2861
|
-
n && /* @__PURE__ */ o.jsx("img", { src:
|
|
2901
|
+
n && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: ge.requiredSymbol })
|
|
2862
2902
|
] })
|
|
2863
2903
|
] });
|
|
2864
|
-
},
|
|
2865
|
-
radioButtonList:
|
|
2866
|
-
requiredSymbol:
|
|
2867
|
-
},
|
|
2904
|
+
}, Lo = "_radioButtonList_1cyu3_1", So = "_requiredSymbol_1cyu3_16", It = {
|
|
2905
|
+
radioButtonList: Lo,
|
|
2906
|
+
requiredSymbol: So
|
|
2907
|
+
}, Di = ({
|
|
2868
2908
|
legend: e,
|
|
2869
2909
|
legendSize: t,
|
|
2870
2910
|
required: n = !1,
|
|
2871
2911
|
compact: a = !1,
|
|
2872
2912
|
children: r
|
|
2873
2913
|
}) => {
|
|
2874
|
-
const s = (c) =>
|
|
2914
|
+
const s = (c) => we(c).map((i) => {
|
|
2875
2915
|
var l;
|
|
2876
|
-
return Re(i) && ((l = i.type) == null ? void 0 : l.displayName) === "RadioButtonListItem" ?
|
|
2916
|
+
return Re(i) && ((l = i.type) == null ? void 0 : l.displayName) === "RadioButtonListItem" ? be(i, {
|
|
2877
2917
|
requiredGroup: n,
|
|
2878
2918
|
compact: a,
|
|
2879
2919
|
key: `radioButtonListItem-${i.key}`
|
|
@@ -2882,17 +2922,17 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2882
2922
|
return /* @__PURE__ */ o.jsxs("fieldset", { className: It.radioButtonList, children: [
|
|
2883
2923
|
!!(e != null && e.length) && /* @__PURE__ */ o.jsxs("legend", { children: [
|
|
2884
2924
|
t ? /* @__PURE__ */ o.jsx(Gt, { size: t, children: e }) : e,
|
|
2885
|
-
n && /* @__PURE__ */ o.jsx("img", { src:
|
|
2925
|
+
n && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: It.requiredSymbol })
|
|
2886
2926
|
] }),
|
|
2887
|
-
s(
|
|
2927
|
+
s(xe.toArray(r))
|
|
2888
2928
|
] });
|
|
2889
|
-
},
|
|
2890
|
-
radioButtonListItem:
|
|
2891
|
-
contentOnly:
|
|
2892
|
-
compact:
|
|
2893
|
-
disabled:
|
|
2894
|
-
checked:
|
|
2895
|
-
},
|
|
2929
|
+
}, $o = "_radioButtonListItem_1ggab_1", Io = "_contentOnly_1ggab_26", No = "_compact_1ggab_26", Ro = "_disabled_1ggab_41", Mo = "_checked_1ggab_44", ve = {
|
|
2930
|
+
radioButtonListItem: $o,
|
|
2931
|
+
contentOnly: Io,
|
|
2932
|
+
compact: No,
|
|
2933
|
+
disabled: Ro,
|
|
2934
|
+
checked: Mo
|
|
2935
|
+
}, Ai = ({
|
|
2896
2936
|
inputValue: e,
|
|
2897
2937
|
checked: t = !1,
|
|
2898
2938
|
disabled: n = !1,
|
|
@@ -2908,13 +2948,13 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2908
2948
|
"aria-describedby": h,
|
|
2909
2949
|
children: y
|
|
2910
2950
|
}) => {
|
|
2911
|
-
const f =
|
|
2912
|
-
|
|
2913
|
-
t &&
|
|
2914
|
-
n &&
|
|
2915
|
-
l &&
|
|
2916
|
-
i &&
|
|
2917
|
-
u &&
|
|
2951
|
+
const f = z([
|
|
2952
|
+
ve.radioButtonListItem,
|
|
2953
|
+
t && ve.checked,
|
|
2954
|
+
n && ve.disabled,
|
|
2955
|
+
l && ve.compact,
|
|
2956
|
+
i && ve.contentOnly,
|
|
2957
|
+
u && ve.hasErrors
|
|
2918
2958
|
]), v = {
|
|
2919
2959
|
onChange: d,
|
|
2920
2960
|
inputValue: e,
|
|
@@ -2930,15 +2970,15 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2930
2970
|
name: s
|
|
2931
2971
|
};
|
|
2932
2972
|
return /* @__PURE__ */ o.jsx("div", { className: f, children: /* @__PURE__ */ o.jsx(jo, { ...v, children: y }) });
|
|
2933
|
-
},
|
|
2934
|
-
select:
|
|
2935
|
-
requiredSymbol:
|
|
2936
|
-
selectContainer:
|
|
2973
|
+
}, To = "_select_11vnt_1", zo = "_requiredSymbol_11vnt_1", Po = "_selectContainer_11vnt_8", Do = "_selectListArrow_11vnt_11", Ao = "_multipleSelectDropdown_11vnt_40", Bo = "_multipleSelectElement_11vnt_50", Fo = "_hasErrors_11vnt_98", oe = {
|
|
2974
|
+
select: To,
|
|
2975
|
+
requiredSymbol: zo,
|
|
2976
|
+
selectContainer: Po,
|
|
2937
2977
|
selectListArrow: Do,
|
|
2938
|
-
multipleSelectDropdown:
|
|
2939
|
-
multipleSelectElement:
|
|
2940
|
-
hasErrors:
|
|
2941
|
-
},
|
|
2978
|
+
multipleSelectDropdown: Ao,
|
|
2979
|
+
multipleSelectElement: Bo,
|
|
2980
|
+
hasErrors: Fo
|
|
2981
|
+
}, Bi = (e) => {
|
|
2942
2982
|
const {
|
|
2943
2983
|
id: t,
|
|
2944
2984
|
name: n = "",
|
|
@@ -2956,93 +2996,93 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
2956
2996
|
"aria-describedby": f,
|
|
2957
2997
|
hasErrors: v = !1,
|
|
2958
2998
|
errorMessage: x = ""
|
|
2959
|
-
} = e, [
|
|
2960
|
-
|
|
2961
|
-
}, []),
|
|
2962
|
-
|
|
2963
|
-
const
|
|
2964
|
-
|
|
2965
|
-
},
|
|
2966
|
-
|
|
2999
|
+
} = e, [_, w] = ce(!1), b = $e(null), S = Se((E) => {
|
|
3000
|
+
E && Mt(E);
|
|
3001
|
+
}, []), j = () => w(!1);
|
|
3002
|
+
le(() => {
|
|
3003
|
+
const E = (D) => {
|
|
3004
|
+
D.key === "Escape" && j();
|
|
3005
|
+
}, T = (D) => {
|
|
3006
|
+
b.current && !b.current.contains(D.target) && j();
|
|
2967
3007
|
};
|
|
2968
|
-
return document.addEventListener("mousedown",
|
|
2969
|
-
document.removeEventListener("mousedown",
|
|
3008
|
+
return document.addEventListener("mousedown", T), document.addEventListener("keydown", E), () => {
|
|
3009
|
+
document.removeEventListener("mousedown", T), document.removeEventListener("keydown", E);
|
|
2970
3010
|
};
|
|
2971
3011
|
}, []);
|
|
2972
|
-
const L = (
|
|
2973
|
-
const
|
|
2974
|
-
return
|
|
2975
|
-
},
|
|
2976
|
-
const
|
|
2977
|
-
return
|
|
2978
|
-
}, H = (
|
|
2979
|
-
const
|
|
2980
|
-
e.multiple && e.onChange(
|
|
2981
|
-
},
|
|
2982
|
-
const
|
|
2983
|
-
return s.map((
|
|
2984
|
-
const { key:
|
|
3012
|
+
const L = (E) => typeof E == "object" ? { key: E.key, value: E.value } : { key: E, value: E }, I = (E) => {
|
|
3013
|
+
const T = s.map(L).find((D) => D.value === E || D.key === E);
|
|
3014
|
+
return T ? T.key ?? T.value : E;
|
|
3015
|
+
}, N = (E) => Array.isArray(E) ? E : E == null ? [] : [E], k = () => e.value !== void 0 ? N(e.value) : e.defaultValue !== void 0 ? N(e.defaultValue) : [], R = () => {
|
|
3016
|
+
const E = k();
|
|
3017
|
+
return E.length === 0 ? u || h || "" : E.map(I).join(", ");
|
|
3018
|
+
}, H = (E) => {
|
|
3019
|
+
const T = k(), X = T.includes(E) ? T.filter((ae) => ae !== E) : [...T, E];
|
|
3020
|
+
e.multiple && e.onChange(X);
|
|
3021
|
+
}, q = () => {
|
|
3022
|
+
const E = k();
|
|
3023
|
+
return s.map((T) => {
|
|
3024
|
+
const { key: D, value: X } = L(T), ae = E.includes(X), p = `${t}-${String(X)}`;
|
|
2985
3025
|
return /* @__PURE__ */ o.jsx(
|
|
2986
|
-
|
|
3026
|
+
Ia,
|
|
2987
3027
|
{
|
|
2988
|
-
id:
|
|
2989
|
-
value:
|
|
2990
|
-
checked:
|
|
2991
|
-
onChange: () => H(
|
|
2992
|
-
children:
|
|
3028
|
+
id: p,
|
|
3029
|
+
value: X,
|
|
3030
|
+
checked: ae,
|
|
3031
|
+
onChange: () => H(X),
|
|
3032
|
+
children: D
|
|
2993
3033
|
},
|
|
2994
|
-
String(
|
|
3034
|
+
String(X)
|
|
2995
3035
|
);
|
|
2996
3036
|
});
|
|
2997
|
-
},
|
|
3037
|
+
}, $ = () => `${t}-errorMessage`;
|
|
2998
3038
|
if (i) {
|
|
2999
|
-
const
|
|
3000
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
3001
|
-
/* @__PURE__ */ o.jsx(
|
|
3002
|
-
/* @__PURE__ */ o.jsx("span", { children:
|
|
3039
|
+
const E = k(), T = E.length === 0 ? h : l ? E.map(I).join(", ") : E.join(", ");
|
|
3040
|
+
return /* @__PURE__ */ o.jsxs("div", { className: oe.select, children: [
|
|
3041
|
+
/* @__PURE__ */ o.jsx(ye, { htmlFor: t, children: d }),
|
|
3042
|
+
/* @__PURE__ */ o.jsx("span", { children: T })
|
|
3003
3043
|
] });
|
|
3004
3044
|
}
|
|
3005
|
-
const P = (
|
|
3006
|
-
const
|
|
3007
|
-
return
|
|
3045
|
+
const P = (E) => {
|
|
3046
|
+
const T = s.map(L).find((D) => String(D.value) === E);
|
|
3047
|
+
return T ? T.value : E;
|
|
3008
3048
|
};
|
|
3009
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
3010
|
-
/* @__PURE__ */ o.jsxs(
|
|
3049
|
+
return /* @__PURE__ */ o.jsxs("div", { className: oe.select, children: [
|
|
3050
|
+
/* @__PURE__ */ o.jsxs(ye, { htmlFor: t, children: [
|
|
3011
3051
|
d,
|
|
3012
|
-
a && /* @__PURE__ */ o.jsx("img", { src:
|
|
3052
|
+
a && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: oe.requiredSymbol })
|
|
3013
3053
|
] }),
|
|
3014
3054
|
/* @__PURE__ */ o.jsxs(
|
|
3015
3055
|
"div",
|
|
3016
3056
|
{
|
|
3017
|
-
className:
|
|
3057
|
+
className: oe.selectContainer,
|
|
3018
3058
|
style: c ? { maxWidth: c } : void 0,
|
|
3019
3059
|
children: [
|
|
3020
|
-
/* @__PURE__ */ o.jsx("span", { className:
|
|
3060
|
+
/* @__PURE__ */ o.jsx("span", { className: oe.selectListArrow }),
|
|
3021
3061
|
e.multiple ? (
|
|
3022
3062
|
// ---- MULTI (custom checkbox dropdown) ----
|
|
3023
|
-
/* @__PURE__ */ o.jsxs("div", { ref:
|
|
3063
|
+
/* @__PURE__ */ o.jsxs("div", { ref: b, children: [
|
|
3024
3064
|
/* @__PURE__ */ o.jsx(
|
|
3025
3065
|
"button",
|
|
3026
3066
|
{
|
|
3027
3067
|
type: "button",
|
|
3028
3068
|
id: t,
|
|
3029
3069
|
"aria-haspopup": "listbox",
|
|
3030
|
-
"aria-expanded":
|
|
3031
|
-
onClick: () =>
|
|
3032
|
-
className:
|
|
3070
|
+
"aria-expanded": _,
|
|
3071
|
+
onClick: () => w((E) => !E),
|
|
3072
|
+
className: oe.multipleSelectElement,
|
|
3033
3073
|
disabled: r,
|
|
3034
|
-
children:
|
|
3074
|
+
children: R()
|
|
3035
3075
|
}
|
|
3036
3076
|
),
|
|
3037
|
-
|
|
3077
|
+
_ && /* @__PURE__ */ o.jsx(
|
|
3038
3078
|
"div",
|
|
3039
3079
|
{
|
|
3040
3080
|
ref: S,
|
|
3041
|
-
className:
|
|
3081
|
+
className: oe.multipleSelectDropdown,
|
|
3042
3082
|
role: "listbox",
|
|
3043
3083
|
"aria-multiselectable": "true",
|
|
3044
3084
|
"aria-labelledby": t,
|
|
3045
|
-
children: /* @__PURE__ */ o.jsx(
|
|
3085
|
+
children: /* @__PURE__ */ o.jsx(Ea, { compact: !0, children: q() })
|
|
3046
3086
|
}
|
|
3047
3087
|
)
|
|
3048
3088
|
] })
|
|
@@ -3054,21 +3094,21 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3054
3094
|
name: n,
|
|
3055
3095
|
required: a,
|
|
3056
3096
|
disabled: r,
|
|
3057
|
-
onChange: (
|
|
3097
|
+
onChange: (E) => e.onChange(P(E.target.value)),
|
|
3058
3098
|
id: t,
|
|
3059
3099
|
role: y,
|
|
3060
|
-
className:
|
|
3061
|
-
v &&
|
|
3100
|
+
className: z([
|
|
3101
|
+
v && oe.hasErrors
|
|
3062
3102
|
]),
|
|
3063
|
-
"aria-describedby": v && x ?
|
|
3103
|
+
"aria-describedby": v && x ? $() : f,
|
|
3064
3104
|
"aria-invalid": v || void 0,
|
|
3065
3105
|
style: c ? { maxWidth: c } : void 0,
|
|
3066
3106
|
...e.value !== void 0 ? { value: e.value } : e.defaultValue !== void 0 ? { defaultValue: e.defaultValue } : {},
|
|
3067
3107
|
children: [
|
|
3068
3108
|
u && /* @__PURE__ */ o.jsx("option", { value: m, disabled: !0, children: u }),
|
|
3069
|
-
s.map((
|
|
3070
|
-
const { key:
|
|
3071
|
-
return /* @__PURE__ */ o.jsx("option", { value: String(
|
|
3109
|
+
s.map((E) => {
|
|
3110
|
+
const { key: T, value: D } = L(E);
|
|
3111
|
+
return /* @__PURE__ */ o.jsx("option", { value: String(D), children: T }, String(D));
|
|
3072
3112
|
})
|
|
3073
3113
|
]
|
|
3074
3114
|
}
|
|
@@ -3077,26 +3117,26 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3077
3117
|
]
|
|
3078
3118
|
}
|
|
3079
3119
|
),
|
|
3080
|
-
/* @__PURE__ */ o.jsx(Ne, { id:
|
|
3120
|
+
/* @__PURE__ */ o.jsx(Ne, { id: $(), content: x })
|
|
3081
3121
|
] });
|
|
3082
|
-
},
|
|
3083
|
-
table:
|
|
3084
|
-
thButton:
|
|
3085
|
-
sortable:
|
|
3086
|
-
label:
|
|
3087
|
-
sortIndicators:
|
|
3088
|
-
sortArrow:
|
|
3122
|
+
}, Oo = "_table_19a1d_1", Vo = "_thButton_19a1d_30", Ho = "_sortable_19a1d_41", qo = "_label_19a1d_51", Xo = "_sortIndicators_19a1d_55", Uo = "_sortArrow_19a1d_62", Wo = "_activeArrow_19a1d_65", Yo = "_evenRow_19a1d_69", Jo = "_oddRow_19a1d_72", W = {
|
|
3123
|
+
table: Oo,
|
|
3124
|
+
thButton: Vo,
|
|
3125
|
+
sortable: Ho,
|
|
3126
|
+
label: qo,
|
|
3127
|
+
sortIndicators: Xo,
|
|
3128
|
+
sortArrow: Uo,
|
|
3089
3129
|
activeArrow: Wo,
|
|
3090
|
-
evenRow:
|
|
3091
|
-
oddRow:
|
|
3092
|
-
},
|
|
3130
|
+
evenRow: Yo,
|
|
3131
|
+
oddRow: Jo
|
|
3132
|
+
}, Fi = ({
|
|
3093
3133
|
columns: e,
|
|
3094
3134
|
data: t,
|
|
3095
3135
|
caption: n,
|
|
3096
3136
|
getRowId: a
|
|
3097
3137
|
}) => {
|
|
3098
|
-
const [r, s] =
|
|
3099
|
-
|
|
3138
|
+
const [r, s] = ce(null);
|
|
3139
|
+
le(() => {
|
|
3100
3140
|
const u = e.find((m) => m.sortable);
|
|
3101
3141
|
s(u ? { headerKey: u.key, direction: "asc" } : null);
|
|
3102
3142
|
}, [e]);
|
|
@@ -3118,8 +3158,8 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3118
3158
|
return r.direction === "asc" ? v - x : x - v;
|
|
3119
3159
|
if (v instanceof Date && x instanceof Date)
|
|
3120
3160
|
return r.direction === "asc" ? v.getTime() - x.getTime() : x.getTime() - v.getTime();
|
|
3121
|
-
const
|
|
3122
|
-
return r.direction === "asc" ?
|
|
3161
|
+
const _ = String(v), w = String(x);
|
|
3162
|
+
return r.direction === "asc" ? _.localeCompare(w, void 0, { numeric: !0 }) : w.localeCompare(_, void 0, { numeric: !0 });
|
|
3123
3163
|
}), h;
|
|
3124
3164
|
}, [t, r, c]), i = (u) => {
|
|
3125
3165
|
s((m) => !m || m.headerKey !== u ? { headerKey: u, direction: "asc" } : {
|
|
@@ -3130,7 +3170,7 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3130
3170
|
if (m)
|
|
3131
3171
|
return (r == null ? void 0 : r.headerKey) !== u ? "none" : r.direction === "asc" ? "ascending" : "descending";
|
|
3132
3172
|
};
|
|
3133
|
-
return /* @__PURE__ */ o.jsxs("table", { className:
|
|
3173
|
+
return /* @__PURE__ */ o.jsxs("table", { className: W.table, children: [
|
|
3134
3174
|
n && /* @__PURE__ */ o.jsx("caption", { children: n }),
|
|
3135
3175
|
/* @__PURE__ */ o.jsx("thead", { children: /* @__PURE__ */ o.jsx("tr", { children: e.map(({ key: u, label: m, sortable: h, ariaLabel: y }) => {
|
|
3136
3176
|
const f = (r == null ? void 0 : r.headerKey) === u, v = f && r.direction === "asc", x = f && r.direction === "desc";
|
|
@@ -3138,24 +3178,24 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3138
3178
|
"button",
|
|
3139
3179
|
{
|
|
3140
3180
|
type: "button",
|
|
3141
|
-
className: `${
|
|
3181
|
+
className: `${W.thButton} ${h ? W.sortable : ""}`,
|
|
3142
3182
|
onClick: h ? () => i(u) : void 0,
|
|
3143
3183
|
disabled: !h,
|
|
3144
3184
|
"aria-label": h ? `${y ?? m}: sort ${f && v ? "descending" : "ascending"}` : void 0,
|
|
3145
3185
|
children: [
|
|
3146
|
-
/* @__PURE__ */ o.jsx("span", { className:
|
|
3147
|
-
h && /* @__PURE__ */ o.jsxs("span", { className:
|
|
3186
|
+
/* @__PURE__ */ o.jsx("span", { className: W.label, children: m }),
|
|
3187
|
+
h && /* @__PURE__ */ o.jsxs("span", { className: W.sortIndicators, "aria-hidden": "true", children: [
|
|
3148
3188
|
/* @__PURE__ */ o.jsx(
|
|
3149
3189
|
"span",
|
|
3150
3190
|
{
|
|
3151
|
-
className: `${
|
|
3191
|
+
className: `${W.sortArrow} ${v ? W.activeArrow : ""}`,
|
|
3152
3192
|
children: "▲"
|
|
3153
3193
|
}
|
|
3154
3194
|
),
|
|
3155
3195
|
/* @__PURE__ */ o.jsx(
|
|
3156
3196
|
"span",
|
|
3157
3197
|
{
|
|
3158
|
-
className: `${
|
|
3198
|
+
className: `${W.sortArrow} ${x ? W.activeArrow : ""}`,
|
|
3159
3199
|
children: "▼"
|
|
3160
3200
|
}
|
|
3161
3201
|
)
|
|
@@ -3167,7 +3207,7 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3167
3207
|
/* @__PURE__ */ o.jsx("tbody", { children: d.map((u, m) => /* @__PURE__ */ o.jsx(
|
|
3168
3208
|
"tr",
|
|
3169
3209
|
{
|
|
3170
|
-
className: m % 2 === 0 ?
|
|
3210
|
+
className: m % 2 === 0 ? W.evenRow : W.oddRow,
|
|
3171
3211
|
children: e.map((h) => {
|
|
3172
3212
|
var y;
|
|
3173
3213
|
return /* @__PURE__ */ o.jsx("td", { children: h.render ? h.render(u) : String(((y = h.accessor) == null ? void 0 : y.call(h, u)) ?? "") }, h.key);
|
|
@@ -3176,17 +3216,17 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3176
3216
|
a == null ? void 0 : a(u, m)
|
|
3177
3217
|
)) })
|
|
3178
3218
|
] });
|
|
3179
|
-
},
|
|
3219
|
+
}, Go = (e) => {
|
|
3180
3220
|
let t = "";
|
|
3181
3221
|
const n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", a = n.length;
|
|
3182
3222
|
for (let r = 0; r < e; r++)
|
|
3183
3223
|
t += n.charAt(Math.floor(Math.random() * a));
|
|
3184
3224
|
return t;
|
|
3185
|
-
},
|
|
3186
|
-
textarea:
|
|
3187
|
-
requiredSymbol:
|
|
3188
|
-
hasErrors:
|
|
3189
|
-
},
|
|
3225
|
+
}, Ko = "_textarea_1596u_1", Zo = "_requiredSymbol_1596u_4", Qo = "_hasErrors_1596u_55", et = {
|
|
3226
|
+
textarea: Ko,
|
|
3227
|
+
requiredSymbol: Zo,
|
|
3228
|
+
hasErrors: Qo
|
|
3229
|
+
}, Oi = ({
|
|
3190
3230
|
id: e,
|
|
3191
3231
|
onChange: t,
|
|
3192
3232
|
onBlur: n,
|
|
@@ -3204,14 +3244,14 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3204
3244
|
contentOnly: f = !1,
|
|
3205
3245
|
placeholder: v = "",
|
|
3206
3246
|
defaultContent: x = "",
|
|
3207
|
-
"aria-describedby":
|
|
3208
|
-
hasErrors:
|
|
3209
|
-
errorMessage:
|
|
3247
|
+
"aria-describedby": _,
|
|
3248
|
+
hasErrors: w = !1,
|
|
3249
|
+
errorMessage: b = ""
|
|
3210
3250
|
}) => {
|
|
3211
|
-
const S = () => `${e}-errorMessage`,
|
|
3251
|
+
const S = () => `${e}-errorMessage`, j = !(l != null && l.length) && (u != null && u.length) ? u : void 0, L = m || `${e}-${Go(6)}`, I = {
|
|
3212
3252
|
...d && { maxWidth: d },
|
|
3213
3253
|
...i && { resize: i }
|
|
3214
|
-
},
|
|
3254
|
+
}, N = {
|
|
3215
3255
|
name: a,
|
|
3216
3256
|
readOnly: s,
|
|
3217
3257
|
disabled: c,
|
|
@@ -3219,31 +3259,31 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3219
3259
|
id: e,
|
|
3220
3260
|
onChange: t,
|
|
3221
3261
|
onBlur: n,
|
|
3222
|
-
value:
|
|
3223
|
-
defaultValue:
|
|
3262
|
+
value: j ? void 0 : l,
|
|
3263
|
+
defaultValue: j || void 0,
|
|
3224
3264
|
placeholder: v,
|
|
3225
3265
|
rows: h ? parseInt(h, 10) : void 0,
|
|
3226
|
-
className:
|
|
3227
|
-
"aria-describedby":
|
|
3228
|
-
"aria-invalid":
|
|
3229
|
-
style:
|
|
3266
|
+
className: w ? et.hasErrors : "",
|
|
3267
|
+
"aria-describedby": w && b ? S() : _,
|
|
3268
|
+
"aria-invalid": w ? "true" : void 0,
|
|
3269
|
+
style: I
|
|
3230
3270
|
};
|
|
3231
3271
|
return /* @__PURE__ */ o.jsxs("div", { className: et.textarea, children: [
|
|
3232
|
-
/* @__PURE__ */ o.jsxs(
|
|
3272
|
+
/* @__PURE__ */ o.jsxs(ye, { htmlFor: e, children: [
|
|
3233
3273
|
y,
|
|
3234
|
-
r && /* @__PURE__ */ o.jsx("img", { src:
|
|
3274
|
+
r && /* @__PURE__ */ o.jsx("img", { src: te, alt: "", className: et.requiredSymbol })
|
|
3235
3275
|
] }),
|
|
3236
|
-
f ? /* @__PURE__ */ o.jsx("span", { children: l || u || x }) : /* @__PURE__ */ o.jsx("textarea", { ...
|
|
3237
|
-
/* @__PURE__ */ o.jsx(Ne, { id: S(), content:
|
|
3276
|
+
f ? /* @__PURE__ */ o.jsx("span", { children: l || u || x }) : /* @__PURE__ */ o.jsx("textarea", { ...N }, L),
|
|
3277
|
+
/* @__PURE__ */ o.jsx(Ne, { id: S(), content: b })
|
|
3238
3278
|
] });
|
|
3239
|
-
},
|
|
3240
|
-
const n =
|
|
3279
|
+
}, Vi = ({ theme: e, children: t }) => {
|
|
3280
|
+
const n = on(e), a = cn(
|
|
3241
3281
|
n
|
|
3242
3282
|
);
|
|
3243
|
-
return
|
|
3244
|
-
},
|
|
3245
|
-
toggleNavigationButton:
|
|
3246
|
-
},
|
|
3283
|
+
return ln("theme-provider", `:root {${a}}`), t;
|
|
3284
|
+
}, ei = "_toggleNavigationButton_1eb2w_1", ti = {
|
|
3285
|
+
toggleNavigationButton: ei
|
|
3286
|
+
}, Hi = ({
|
|
3247
3287
|
id: e,
|
|
3248
3288
|
htmlTag: t = "button",
|
|
3249
3289
|
showText: n,
|
|
@@ -3254,27 +3294,27 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3254
3294
|
t,
|
|
3255
3295
|
{
|
|
3256
3296
|
...r,
|
|
3257
|
-
className:
|
|
3297
|
+
className: ti.toggleNavigationButton,
|
|
3258
3298
|
id: e || void 0
|
|
3259
3299
|
},
|
|
3260
3300
|
s ? a : n
|
|
3261
|
-
),
|
|
3262
|
-
wizardTopnavItem:
|
|
3263
|
-
wizardTopnavItemContent:
|
|
3264
|
-
vertical:
|
|
3265
|
-
stepNumber:
|
|
3266
|
-
stepName:
|
|
3267
|
-
active:
|
|
3268
|
-
finished:
|
|
3269
|
-
hasErrors:
|
|
3270
|
-
horizontal:
|
|
3271
|
-
},
|
|
3301
|
+
), ni = "_wizardTopnavItem_5ar16_1", ri = "_wizardTopnavItemContent_5ar16_4", ai = "_vertical_5ar16_7", si = "_stepNumber_5ar16_24", oi = "_stepName_5ar16_36", ii = "_active_5ar16_46", li = "_finished_5ar16_46", ci = "_hasErrors_5ar16_46", di = "_horizontal_5ar16_64", J = {
|
|
3302
|
+
wizardTopnavItem: ni,
|
|
3303
|
+
wizardTopnavItemContent: ri,
|
|
3304
|
+
vertical: ai,
|
|
3305
|
+
stepNumber: si,
|
|
3306
|
+
stepName: oi,
|
|
3307
|
+
active: ii,
|
|
3308
|
+
finished: li,
|
|
3309
|
+
hasErrors: ci,
|
|
3310
|
+
horizontal: di
|
|
3311
|
+
}, ui = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20aria-label='Ferdig'%20style='fill:%20rgb(23,%20121,%2018);'%3e%3cmask%20id='mask0_1089_7430'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%20style='mask-type:%20alpha;'%3e%3crect%20width='20'%20height='20'%3e%3c/rect%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1089_7430)'%3e%3cpath%20d='M5.71427%208.57149L3.80951%2010.4762L8.57141%2015.2382L17.1428%206.66672L15.2381%204.76196L8.57141%2011.4286L5.71427%208.57149Z'%3e%3c/path%3e%3c/g%3e%3c/svg%3e", hi = ({
|
|
3272
3312
|
step: e,
|
|
3273
3313
|
index: t,
|
|
3274
3314
|
activeStepId: n,
|
|
3275
3315
|
direction: a = "vertical"
|
|
3276
3316
|
}) => {
|
|
3277
|
-
const r = n === e.id, s = a === "vertical", c =
|
|
3317
|
+
const r = n === e.id, s = a === "vertical", c = z([
|
|
3278
3318
|
J.wizardTopnavItem,
|
|
3279
3319
|
r && J.active,
|
|
3280
3320
|
e.finished && J.finished,
|
|
@@ -3283,7 +3323,7 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3283
3323
|
]), d = r ? "step" : void 0, i = () => /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
3284
3324
|
/* @__PURE__ */ o.jsx("span", { className: J.stepNumber, children: t + 1 }),
|
|
3285
3325
|
/* @__PURE__ */ o.jsx("span", { className: J.stepName, children: e.name }),
|
|
3286
|
-
s && e.finished && !r && /* @__PURE__ */ o.jsx("img", { src:
|
|
3326
|
+
s && e.finished && !r && /* @__PURE__ */ o.jsx("img", { src: ui, alt: "", className: J.checkmarkSymbol })
|
|
3287
3327
|
] });
|
|
3288
3328
|
return e.link && Object.keys(e.link).length > 0 ? /* @__PURE__ */ o.jsx("li", { className: c, children: /* @__PURE__ */ o.jsx(
|
|
3289
3329
|
Ie,
|
|
@@ -3301,12 +3341,12 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3301
3341
|
children: i()
|
|
3302
3342
|
}
|
|
3303
3343
|
) });
|
|
3304
|
-
},
|
|
3305
|
-
wizardTopnavContainer:
|
|
3306
|
-
wizardTopnav:
|
|
3307
|
-
vertical:
|
|
3308
|
-
horizontal:
|
|
3309
|
-
},
|
|
3344
|
+
}, fi = "_wizardTopnavContainer_qiy2o_1", mi = "_wizardTopnav_qiy2o_1", pi = "_vertical_qiy2o_6", _i = "_horizontal_qiy2o_11", tt = {
|
|
3345
|
+
wizardTopnavContainer: fi,
|
|
3346
|
+
wizardTopnav: mi,
|
|
3347
|
+
vertical: pi,
|
|
3348
|
+
horizontal: _i
|
|
3349
|
+
}, qi = ({
|
|
3310
3350
|
steps: e,
|
|
3311
3351
|
activeStepId: t,
|
|
3312
3352
|
direction: n = "vertical",
|
|
@@ -3317,12 +3357,12 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3317
3357
|
"nav",
|
|
3318
3358
|
{
|
|
3319
3359
|
"aria-label": d,
|
|
3320
|
-
className:
|
|
3360
|
+
className: z([
|
|
3321
3361
|
tt.wizardTopnavContainer,
|
|
3322
3362
|
tt[n]
|
|
3323
3363
|
]),
|
|
3324
3364
|
children: /* @__PURE__ */ o.jsx("ol", { className: tt.wizardTopnav, children: r.map((i, l) => /* @__PURE__ */ o.jsx(
|
|
3325
|
-
|
|
3365
|
+
hi,
|
|
3326
3366
|
{
|
|
3327
3367
|
step: e[i],
|
|
3328
3368
|
activeStepId: t,
|
|
@@ -3335,44 +3375,44 @@ const Hr = "_button_1jbpj_161", qr = "_noMargin_1jbpj_189", Xr = "_regular_1jbpj
|
|
|
3335
3375
|
);
|
|
3336
3376
|
};
|
|
3337
3377
|
export {
|
|
3338
|
-
|
|
3378
|
+
yi as Accordion,
|
|
3339
3379
|
Jt as Button,
|
|
3340
3380
|
vt as CheckBoxIcon,
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3381
|
+
va as CheckBoxInput,
|
|
3382
|
+
Ea as CheckBoxList,
|
|
3383
|
+
Ia as CheckBoxListItem,
|
|
3384
|
+
Ma as Container,
|
|
3385
|
+
xi as ContentBox,
|
|
3386
|
+
bi as DescriptionDetails,
|
|
3387
|
+
wi as DescriptionList,
|
|
3388
|
+
Ci as DescriptionTerm,
|
|
3389
|
+
Ei as Dialog,
|
|
3390
|
+
ki as DragAndDropFileInput,
|
|
3391
|
+
ji as ErrorBox,
|
|
3352
3392
|
Ne as ErrorMessage,
|
|
3353
|
-
|
|
3393
|
+
Li as Footer,
|
|
3354
3394
|
Gt as Header,
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3395
|
+
Si as InfoBox,
|
|
3396
|
+
$i as InputField,
|
|
3397
|
+
ye as Label,
|
|
3398
|
+
Ii as Lead,
|
|
3399
|
+
Ni as List,
|
|
3400
|
+
Ri as ListItem,
|
|
3401
|
+
Mi as LoadingAnimation,
|
|
3402
|
+
Ti as NavigationBar,
|
|
3363
3403
|
St as NavigationBarListItem,
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3404
|
+
zi as Paper,
|
|
3405
|
+
Pi as ProgressBar,
|
|
3406
|
+
xo as RadioButtonIcon,
|
|
3367
3407
|
jo as RadioButtonInput,
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3408
|
+
Di as RadioButtonList,
|
|
3409
|
+
Ai as RadioButtonListItem,
|
|
3410
|
+
Bi as Select,
|
|
3411
|
+
Fi as Table,
|
|
3412
|
+
Oi as Textarea,
|
|
3413
|
+
Vi as ThemeProvider,
|
|
3414
|
+
Hi as ToggleNavigationButton,
|
|
3415
|
+
qi as WizardNavigation,
|
|
3416
|
+
hi as WizardNavigationStep
|
|
3377
3417
|
};
|
|
3378
3418
|
//# sourceMappingURL=index.es.js.map
|