@purpurds/footer 8.18.0 → 8.20.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/LICENSE.txt +5 -5
- package/dist/footer.cjs.js +1 -1
- package/dist/footer.cjs.js.map +1 -1
- package/dist/footer.es.js +297 -294
- package/dist/footer.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +15 -15
package/dist/footer.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as p, jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as p, jsxs as f, Fragment as Xr } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { forwardRef as Vr, useId as E, createContext as Yr, useContext as re, useState as ee, createElement as H } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
import { useTheme as
|
|
6
|
-
function
|
|
5
|
+
import { useTheme as te, useColorScheme as ne, useApplyTheme as ie } from "@purpurds/theme";
|
|
6
|
+
function ae(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
9
|
-
var
|
|
10
|
-
function
|
|
11
|
-
return
|
|
9
|
+
var Q = { exports: {} }, U;
|
|
10
|
+
function oe() {
|
|
11
|
+
return U || (U = 1, (function(e) {
|
|
12
12
|
(function() {
|
|
13
13
|
var a = {}.hasOwnProperty;
|
|
14
14
|
function n() {
|
|
@@ -37,10 +37,10 @@ function ie() {
|
|
|
37
37
|
}
|
|
38
38
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
39
39
|
})();
|
|
40
|
-
})(
|
|
40
|
+
})(Q)), Q.exports;
|
|
41
41
|
}
|
|
42
|
-
var
|
|
43
|
-
const
|
|
42
|
+
var ue = oe();
|
|
43
|
+
const pe = /* @__PURE__ */ ae(ue), le = {
|
|
44
44
|
"purpur-container": "_purpur-container_1t9gx_1",
|
|
45
45
|
"purpur-container--xs": "_purpur-container--xs_1t9gx_13",
|
|
46
46
|
"purpur-container--sm": "_purpur-container--sm_1t9gx_24",
|
|
@@ -48,25 +48,19 @@ const oe = /* @__PURE__ */ ne(ae), ue = {
|
|
|
48
48
|
"purpur-container--lg": "_purpur-container--lg_1t9gx_42",
|
|
49
49
|
"purpur-container--xl": "_purpur-container--xl_1t9gx_45",
|
|
50
50
|
"purpur-container--xxl": "_purpur-container--xxl_1t9gx_48"
|
|
51
|
-
},
|
|
52
|
-
({
|
|
53
|
-
|
|
54
|
-
className: a,
|
|
55
|
-
width: n = "xxl",
|
|
56
|
-
element: u = "div",
|
|
57
|
-
...o
|
|
58
|
-
}, r) => {
|
|
59
|
-
const t = pe([U, `${U}--${n}`, a]);
|
|
51
|
+
}, se = pe.bind(le), X = "purpur-container", Hr = Vr(
|
|
52
|
+
({ children: e, className: a, width: n = "xxl", element: u = "div", ...o }, r) => {
|
|
53
|
+
const t = se([X, `${X}--${n}`, a]);
|
|
60
54
|
return /* @__PURE__ */ p(u, { className: t, ref: r, ...o, children: e });
|
|
61
55
|
}
|
|
62
56
|
);
|
|
63
|
-
|
|
64
|
-
function
|
|
57
|
+
Hr.displayName = "Container";
|
|
58
|
+
function ce(e) {
|
|
65
59
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
66
60
|
}
|
|
67
|
-
var
|
|
68
|
-
function
|
|
69
|
-
return
|
|
61
|
+
var Y = { exports: {} }, rr;
|
|
62
|
+
function _e() {
|
|
63
|
+
return rr || (rr = 1, (function(e) {
|
|
70
64
|
(function() {
|
|
71
65
|
var a = {}.hasOwnProperty;
|
|
72
66
|
function n() {
|
|
@@ -95,10 +89,10 @@ function se() {
|
|
|
95
89
|
}
|
|
96
90
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
97
91
|
})();
|
|
98
|
-
})(
|
|
92
|
+
})(Y)), Y.exports;
|
|
99
93
|
}
|
|
100
|
-
var
|
|
101
|
-
const
|
|
94
|
+
var de = _e();
|
|
95
|
+
const fe = /* @__PURE__ */ ce(de), ge = {
|
|
102
96
|
"purpur-link": "_purpur-link_5pram_1",
|
|
103
97
|
"purpur-link--text": "_purpur-link--text_5pram_18",
|
|
104
98
|
"purpur-link--standalone": "_purpur-link--standalone_5pram_18",
|
|
@@ -109,7 +103,7 @@ const _e = /* @__PURE__ */ le(ce), de = {
|
|
|
109
103
|
"purpur-link--navigation-negative": "_purpur-link--navigation-negative_5pram_32",
|
|
110
104
|
"purpur-link--ensure-target-area": "_purpur-link--ensure-target-area_5pram_71",
|
|
111
105
|
"purpur-link--silent": "_purpur-link--silent_5pram_77"
|
|
112
|
-
},
|
|
106
|
+
}, he = fe.bind(ge), C = "purpur-link", F = ({
|
|
113
107
|
["data-testid"]: e,
|
|
114
108
|
children: a,
|
|
115
109
|
className: n,
|
|
@@ -128,7 +122,7 @@ const _e = /* @__PURE__ */ le(ce), de = {
|
|
|
128
122
|
/* @__PURE__ */ p(
|
|
129
123
|
"span",
|
|
130
124
|
{
|
|
131
|
-
className:
|
|
125
|
+
className: he(
|
|
132
126
|
n,
|
|
133
127
|
C,
|
|
134
128
|
`${C}--${t ? `${l}-negative` : l}`,
|
|
@@ -157,13 +151,13 @@ const _e = /* @__PURE__ */ le(ce), de = {
|
|
|
157
151
|
}
|
|
158
152
|
)
|
|
159
153
|
);
|
|
160
|
-
|
|
161
|
-
function
|
|
154
|
+
F.displayName = "Link";
|
|
155
|
+
function ve(e) {
|
|
162
156
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
163
157
|
}
|
|
164
|
-
var
|
|
165
|
-
function
|
|
166
|
-
return
|
|
158
|
+
var er = { exports: {} }, tr;
|
|
159
|
+
function me() {
|
|
160
|
+
return tr || (tr = 1, (function(e) {
|
|
167
161
|
(function() {
|
|
168
162
|
var a = {}.hasOwnProperty;
|
|
169
163
|
function n() {
|
|
@@ -192,10 +186,10 @@ function he() {
|
|
|
192
186
|
}
|
|
193
187
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
194
188
|
})();
|
|
195
|
-
})(
|
|
189
|
+
})(er)), er.exports;
|
|
196
190
|
}
|
|
197
|
-
var
|
|
198
|
-
const
|
|
191
|
+
var ye = me();
|
|
192
|
+
const $e = /* @__PURE__ */ ve(ye), be = {
|
|
199
193
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
200
194
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
201
195
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -203,34 +197,34 @@ const me = /* @__PURE__ */ ge(ve), ye = {
|
|
|
203
197
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
204
198
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
205
199
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
206
|
-
},
|
|
200
|
+
}, xe = $e.bind(be), nr = "purpur-icon", we = "md", Ne = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), Se = ({ content: e = "", title: a } = {}) => {
|
|
207
201
|
const n = [
|
|
208
202
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
209
203
|
{ name: "fill", value: "currentColor" },
|
|
210
204
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
211
205
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
212
206
|
], u = a ? `<title>${a}</title>` : "";
|
|
213
|
-
return `<svg ${
|
|
214
|
-
},
|
|
215
|
-
const r =
|
|
216
|
-
content:
|
|
207
|
+
return `<svg ${Ne(n)}>${u}${e}</svg>`;
|
|
208
|
+
}, Ce = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ir = ({ svg: e, allyTitle: a, className: n, size: u = we, ...o }) => {
|
|
209
|
+
const r = Se({
|
|
210
|
+
content: Ce(e.svg),
|
|
217
211
|
title: a
|
|
218
|
-
}), t =
|
|
212
|
+
}), t = xe(nr, `${nr}--${u}`, n);
|
|
219
213
|
return /* @__PURE__ */ p("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...o });
|
|
220
214
|
};
|
|
221
|
-
|
|
222
|
-
const
|
|
215
|
+
Ir.displayName = "Icon";
|
|
216
|
+
const Oe = {
|
|
223
217
|
name: "error-filled",
|
|
224
218
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="currentColor"><path fill-rule="evenodd" d="M14.268 3.5c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.733-3l-8.66-15Zm-.694 5.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.585 1.234-1.25 1.234-.648 0-1.25-.585-1.25-1.234 0-.633.602-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"/></svg>',
|
|
225
219
|
keywords: ["error-filled"],
|
|
226
220
|
category: "status"
|
|
227
221
|
};
|
|
228
|
-
function
|
|
222
|
+
function je(e) {
|
|
229
223
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
230
224
|
}
|
|
231
|
-
var
|
|
232
|
-
function
|
|
233
|
-
return
|
|
225
|
+
var ir = { exports: {} }, ar;
|
|
226
|
+
function ke() {
|
|
227
|
+
return ar || (ar = 1, (function(e) {
|
|
234
228
|
(function() {
|
|
235
229
|
var a = {}.hasOwnProperty;
|
|
236
230
|
function n() {
|
|
@@ -259,40 +253,40 @@ function Oe() {
|
|
|
259
253
|
}
|
|
260
254
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
261
255
|
})();
|
|
262
|
-
})(
|
|
256
|
+
})(ir)), ir.exports;
|
|
263
257
|
}
|
|
264
|
-
var
|
|
265
|
-
const
|
|
258
|
+
var qe = ke();
|
|
259
|
+
const Pe = /* @__PURE__ */ je(qe), Ae = {
|
|
266
260
|
"purpur-field-error-text": "_purpur-field-error-text_u1cy2_1",
|
|
267
261
|
"purpur-field-error-text--negative": "_purpur-field-error-text--negative_u1cy2_11",
|
|
268
262
|
"purpur-field-error-text__icon": "_purpur-field-error-text__icon_u1cy2_14"
|
|
269
|
-
},
|
|
263
|
+
}, or = Pe.bind(Ae), I = "purpur-field-error-text", Me = ({
|
|
270
264
|
children: e,
|
|
271
265
|
className: a,
|
|
272
266
|
negative: n = !1,
|
|
273
267
|
["aria-relevant"]: u = "additions text",
|
|
274
268
|
...o
|
|
275
|
-
}) => /* @__PURE__ */
|
|
269
|
+
}) => /* @__PURE__ */ f(
|
|
276
270
|
"div",
|
|
277
271
|
{
|
|
278
|
-
className:
|
|
279
|
-
[`${
|
|
272
|
+
className: or(a, I, {
|
|
273
|
+
[`${I}--negative`]: n
|
|
280
274
|
}),
|
|
281
275
|
"aria-live": "assertive",
|
|
282
276
|
"aria-relevant": u,
|
|
283
277
|
...o,
|
|
284
278
|
children: [
|
|
285
|
-
/* @__PURE__ */ p(
|
|
279
|
+
/* @__PURE__ */ p(Ir, { svg: Oe, size: "xs", className: or(`${I}__icon`) }),
|
|
286
280
|
e
|
|
287
281
|
]
|
|
288
282
|
}
|
|
289
283
|
);
|
|
290
|
-
function
|
|
284
|
+
function Te(e) {
|
|
291
285
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
292
286
|
}
|
|
293
|
-
var
|
|
294
|
-
function
|
|
295
|
-
return
|
|
287
|
+
var ur = { exports: {} }, pr;
|
|
288
|
+
function ze() {
|
|
289
|
+
return pr || (pr = 1, (function(e) {
|
|
296
290
|
(function() {
|
|
297
291
|
var a = {}.hasOwnProperty;
|
|
298
292
|
function n() {
|
|
@@ -321,14 +315,14 @@ function Me() {
|
|
|
321
315
|
}
|
|
322
316
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
323
317
|
})();
|
|
324
|
-
})(
|
|
318
|
+
})(ur)), ur.exports;
|
|
325
319
|
}
|
|
326
|
-
var
|
|
327
|
-
const
|
|
320
|
+
var Ve = ze();
|
|
321
|
+
const He = /* @__PURE__ */ Te(Ve), Ie = {
|
|
328
322
|
"purpur-field-helper-text": "_purpur-field-helper-text_1ociq_1",
|
|
329
323
|
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_1ociq_9",
|
|
330
324
|
"purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_1ociq_12"
|
|
331
|
-
},
|
|
325
|
+
}, Ze = He.bind(Ie), Z = "purpur-field-helper-text", Le = ({
|
|
332
326
|
children: e,
|
|
333
327
|
className: a,
|
|
334
328
|
disabled: n,
|
|
@@ -336,18 +330,18 @@ const ze = /* @__PURE__ */ Ae(Te), Ve = {
|
|
|
336
330
|
negative: o,
|
|
337
331
|
...r
|
|
338
332
|
}) => {
|
|
339
|
-
const t =
|
|
340
|
-
[`${
|
|
341
|
-
[`${
|
|
333
|
+
const t = Ze(a, Z, {
|
|
334
|
+
[`${Z}--disabled`]: n,
|
|
335
|
+
[`${Z}--negative`]: o
|
|
342
336
|
});
|
|
343
337
|
return /* @__PURE__ */ p("span", { id: u, className: t, ...r, children: e });
|
|
344
338
|
};
|
|
345
|
-
function
|
|
339
|
+
function Re(e) {
|
|
346
340
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
347
341
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
342
|
+
var lr = { exports: {} }, sr;
|
|
343
|
+
function Be() {
|
|
344
|
+
return sr || (sr = 1, (function(e) {
|
|
351
345
|
(function() {
|
|
352
346
|
var a = {}.hasOwnProperty;
|
|
353
347
|
function n() {
|
|
@@ -376,10 +370,10 @@ function Le() {
|
|
|
376
370
|
}
|
|
377
371
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
378
372
|
})();
|
|
379
|
-
})(
|
|
373
|
+
})(lr)), lr.exports;
|
|
380
374
|
}
|
|
381
|
-
var
|
|
382
|
-
const
|
|
375
|
+
var Ee = Be();
|
|
376
|
+
const Fe = /* @__PURE__ */ Re(Ee), De = {
|
|
383
377
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
384
378
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
385
379
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -387,86 +381,95 @@ const Be = /* @__PURE__ */ Ze(Re), Ee = {
|
|
|
387
381
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
388
382
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
389
383
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
390
|
-
},
|
|
384
|
+
}, We = Fe.bind(De), cr = "purpur-icon", Ge = "md", Je = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), Ke = ({ content: e = "", title: a } = {}) => {
|
|
391
385
|
const n = [
|
|
392
386
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
393
387
|
{ name: "fill", value: "currentColor" },
|
|
394
388
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
395
389
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
396
390
|
], u = a ? `<title>${a}</title>` : "";
|
|
397
|
-
return `<svg ${
|
|
398
|
-
},
|
|
399
|
-
const r =
|
|
400
|
-
content:
|
|
391
|
+
return `<svg ${Je(n)}>${u}${e}</svg>`;
|
|
392
|
+
}, Qe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), D = ({ svg: e, allyTitle: a, className: n, size: u = Ge, ...o }) => {
|
|
393
|
+
const r = Ke({
|
|
394
|
+
content: Qe(e.svg),
|
|
401
395
|
title: a
|
|
402
|
-
}), t =
|
|
396
|
+
}), t = We(cr, `${cr}--${u}`, n);
|
|
403
397
|
return /* @__PURE__ */ p("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...o });
|
|
404
398
|
};
|
|
405
|
-
|
|
406
|
-
const
|
|
399
|
+
D.displayName = "Icon";
|
|
400
|
+
const Ue = {
|
|
407
401
|
name: "check-circle-filled",
|
|
408
402
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.712-12.491a.875.875 0 1 0-1.424-1.018l-4.4 6.16-2.27-2.27a.875.875 0 0 0-1.237 1.238l3 3a.875.875 0 0 0 1.331-.11l5-7Z" clip-rule="evenodd"/></svg>',
|
|
409
403
|
keywords: ["check-circle-filled"],
|
|
410
404
|
category: "status"
|
|
411
|
-
},
|
|
412
|
-
|
|
413
|
-
const
|
|
405
|
+
}, Zr = (e) => /* @__PURE__ */ p(D, { ...e, svg: Ue });
|
|
406
|
+
Zr.displayName = "IconCheckCircleFilled";
|
|
407
|
+
const Xe = {
|
|
414
408
|
name: "chevron-down",
|
|
415
409
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',
|
|
416
410
|
keywords: ["chevron-down"],
|
|
417
411
|
category: "utility"
|
|
418
|
-
},
|
|
419
|
-
|
|
420
|
-
function
|
|
412
|
+
}, Lr = (e) => /* @__PURE__ */ p(D, { ...e, svg: Xe });
|
|
413
|
+
Lr.displayName = "IconChevronDown";
|
|
414
|
+
function _r(e, a) {
|
|
421
415
|
if (typeof e == "function")
|
|
422
416
|
return e(a);
|
|
423
417
|
e != null && (e.current = a);
|
|
424
418
|
}
|
|
425
|
-
function
|
|
419
|
+
function Ye(...e) {
|
|
426
420
|
return (a) => {
|
|
427
421
|
let n = !1;
|
|
428
422
|
const u = e.map((o) => {
|
|
429
|
-
const r =
|
|
423
|
+
const r = _r(o, a);
|
|
430
424
|
return !n && typeof r == "function" && (n = !0), r;
|
|
431
425
|
});
|
|
432
426
|
if (n)
|
|
433
427
|
return () => {
|
|
434
428
|
for (let o = 0; o < u.length; o++) {
|
|
435
429
|
const r = u[o];
|
|
436
|
-
typeof r == "function" ? r() :
|
|
430
|
+
typeof r == "function" ? r() : _r(e[o], null);
|
|
437
431
|
}
|
|
438
432
|
};
|
|
439
433
|
};
|
|
440
434
|
}
|
|
435
|
+
var rt = /* @__PURE__ */ Symbol.for("react.lazy"), z = d[" use ".trim().toString()];
|
|
436
|
+
function et(e) {
|
|
437
|
+
return typeof e == "object" && e !== null && "then" in e;
|
|
438
|
+
}
|
|
439
|
+
function Rr(e) {
|
|
440
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === rt && "_payload" in e && et(e._payload);
|
|
441
|
+
}
|
|
441
442
|
// @__NO_SIDE_EFFECTS__
|
|
442
|
-
function
|
|
443
|
-
const a = /* @__PURE__ */
|
|
444
|
-
|
|
443
|
+
function tt(e) {
|
|
444
|
+
const a = /* @__PURE__ */ nt(e), n = d.forwardRef((u, o) => {
|
|
445
|
+
let { children: r, ...t } = u;
|
|
446
|
+
Rr(r) && typeof z == "function" && (r = z(r._payload));
|
|
447
|
+
const i = d.Children.toArray(r), _ = i.find(at);
|
|
445
448
|
if (_) {
|
|
446
|
-
const h = _.props.children, w = i.map((l) => l === _ ?
|
|
447
|
-
return /* @__PURE__ */ p(a, { ...t, ref: o, children:
|
|
449
|
+
const h = _.props.children, w = i.map((l) => l === _ ? d.Children.count(h) > 1 ? d.Children.only(null) : d.isValidElement(h) ? h.props.children : null : l);
|
|
450
|
+
return /* @__PURE__ */ p(a, { ...t, ref: o, children: d.isValidElement(h) ? d.cloneElement(h, void 0, w) : null });
|
|
448
451
|
}
|
|
449
452
|
return /* @__PURE__ */ p(a, { ...t, ref: o, children: r });
|
|
450
453
|
});
|
|
451
454
|
return n.displayName = `${e}.Slot`, n;
|
|
452
455
|
}
|
|
453
456
|
// @__NO_SIDE_EFFECTS__
|
|
454
|
-
function
|
|
455
|
-
const a =
|
|
456
|
-
|
|
457
|
-
if (
|
|
458
|
-
const t =
|
|
459
|
-
return o.type !==
|
|
457
|
+
function nt(e) {
|
|
458
|
+
const a = d.forwardRef((n, u) => {
|
|
459
|
+
let { children: o, ...r } = n;
|
|
460
|
+
if (Rr(o) && typeof z == "function" && (o = z(o._payload)), d.isValidElement(o)) {
|
|
461
|
+
const t = ut(o), i = ot(r, o.props);
|
|
462
|
+
return o.type !== d.Fragment && (i.ref = u ? Ye(u, t) : t), d.cloneElement(o, i);
|
|
460
463
|
}
|
|
461
|
-
return
|
|
464
|
+
return d.Children.count(o) > 1 ? d.Children.only(null) : null;
|
|
462
465
|
});
|
|
463
466
|
return a.displayName = `${e}.SlotClone`, a;
|
|
464
467
|
}
|
|
465
|
-
var
|
|
466
|
-
function
|
|
467
|
-
return
|
|
468
|
+
var it = /* @__PURE__ */ Symbol("radix.slottable");
|
|
469
|
+
function at(e) {
|
|
470
|
+
return d.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === it;
|
|
468
471
|
}
|
|
469
|
-
function
|
|
472
|
+
function ot(e, a) {
|
|
470
473
|
const n = { ...a };
|
|
471
474
|
for (const u in a) {
|
|
472
475
|
const o = e[u], r = a[u];
|
|
@@ -477,11 +480,11 @@ function tt(e, a) {
|
|
|
477
480
|
}
|
|
478
481
|
return { ...e, ...n };
|
|
479
482
|
}
|
|
480
|
-
function
|
|
483
|
+
function ut(e) {
|
|
481
484
|
let a = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = a && "isReactWarning" in a && a.isReactWarning;
|
|
482
485
|
return n ? e.ref : (a = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
483
486
|
}
|
|
484
|
-
var
|
|
487
|
+
var pt = [
|
|
485
488
|
"a",
|
|
486
489
|
"button",
|
|
487
490
|
"div",
|
|
@@ -499,14 +502,14 @@ var it = [
|
|
|
499
502
|
"span",
|
|
500
503
|
"svg",
|
|
501
504
|
"ul"
|
|
502
|
-
],
|
|
503
|
-
const n = /* @__PURE__ */
|
|
505
|
+
], lt = pt.reduce((e, a) => {
|
|
506
|
+
const n = /* @__PURE__ */ tt(`Primitive.${a}`), u = d.forwardRef((o, r) => {
|
|
504
507
|
const { asChild: t, ...i } = o, _ = t ? n : a;
|
|
505
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(_, { ...i, ref: r });
|
|
508
|
+
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(_, { ...i, ref: r });
|
|
506
509
|
});
|
|
507
510
|
return u.displayName = `Primitive.${a}`, { ...e, [a]: u };
|
|
508
|
-
}, {}),
|
|
509
|
-
|
|
511
|
+
}, {}), st = "Label", Br = d.forwardRef((e, a) => /* @__PURE__ */ p(
|
|
512
|
+
lt.label,
|
|
510
513
|
{
|
|
511
514
|
...e,
|
|
512
515
|
ref: a,
|
|
@@ -515,14 +518,14 @@ var it = [
|
|
|
515
518
|
}
|
|
516
519
|
}
|
|
517
520
|
));
|
|
518
|
-
|
|
519
|
-
var
|
|
520
|
-
function
|
|
521
|
+
Br.displayName = st;
|
|
522
|
+
var ct = Br;
|
|
523
|
+
function _t(e) {
|
|
521
524
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
522
525
|
}
|
|
523
|
-
var
|
|
524
|
-
function
|
|
525
|
-
return
|
|
526
|
+
var dr = { exports: {} }, fr;
|
|
527
|
+
function dt() {
|
|
528
|
+
return fr || (fr = 1, (function(e) {
|
|
526
529
|
(function() {
|
|
527
530
|
var a = {}.hasOwnProperty;
|
|
528
531
|
function n() {
|
|
@@ -551,32 +554,32 @@ function lt() {
|
|
|
551
554
|
}
|
|
552
555
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
553
556
|
})();
|
|
554
|
-
})(
|
|
557
|
+
})(dr)), dr.exports;
|
|
555
558
|
}
|
|
556
|
-
var
|
|
557
|
-
const
|
|
559
|
+
var ft = dt();
|
|
560
|
+
const gt = /* @__PURE__ */ _t(ft), ht = {
|
|
558
561
|
"purpur-label": "_purpur-label_1x80u_1",
|
|
559
562
|
"purpur-label--negative": "_purpur-label--negative_1x80u_8",
|
|
560
563
|
"purpur-label--disabled": "_purpur-label--disabled_1x80u_11"
|
|
561
|
-
},
|
|
564
|
+
}, vt = gt.bind(ht), L = "purpur-label", mt = ({
|
|
562
565
|
children: e,
|
|
563
566
|
className: a,
|
|
564
567
|
disabled: n,
|
|
565
568
|
negative: u = !1,
|
|
566
569
|
...o
|
|
567
570
|
}) => {
|
|
568
|
-
const r =
|
|
569
|
-
[`${
|
|
570
|
-
[`${
|
|
571
|
+
const r = vt(a, L, {
|
|
572
|
+
[`${L}--disabled`]: n,
|
|
573
|
+
[`${L}--negative`]: u
|
|
571
574
|
});
|
|
572
|
-
return /* @__PURE__ */ p(
|
|
575
|
+
return /* @__PURE__ */ p(ct, { className: r, ...o, children: e });
|
|
573
576
|
};
|
|
574
|
-
function
|
|
577
|
+
function yt(e) {
|
|
575
578
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
576
579
|
}
|
|
577
|
-
var
|
|
578
|
-
function
|
|
579
|
-
return
|
|
580
|
+
var gr = { exports: {} }, hr;
|
|
581
|
+
function $t() {
|
|
582
|
+
return hr || (hr = 1, (function(e) {
|
|
580
583
|
(function() {
|
|
581
584
|
var a = {}.hasOwnProperty;
|
|
582
585
|
function n() {
|
|
@@ -605,33 +608,33 @@ function ht() {
|
|
|
605
608
|
}
|
|
606
609
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
607
610
|
})();
|
|
608
|
-
})(
|
|
611
|
+
})(gr)), gr.exports;
|
|
609
612
|
}
|
|
610
|
-
var
|
|
611
|
-
const
|
|
613
|
+
var bt = $t();
|
|
614
|
+
const xt = /* @__PURE__ */ yt(bt), wt = "_rotate_12t9p_1", Nt = "_dash_12t9p_1", St = {
|
|
612
615
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
613
|
-
rotate:
|
|
616
|
+
rotate: wt,
|
|
614
617
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
615
618
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
616
619
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
617
620
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
618
621
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
619
622
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
620
|
-
dash:
|
|
623
|
+
dash: Nt,
|
|
621
624
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
622
625
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
623
|
-
},
|
|
626
|
+
}, vr = xt.bind(St), P = "purpur-spinner", Ct = {
|
|
624
627
|
SM: "sm"
|
|
625
|
-
},
|
|
628
|
+
}, Er = ({
|
|
626
629
|
disabled: e = !1,
|
|
627
630
|
negative: a = !1,
|
|
628
|
-
size: n =
|
|
631
|
+
size: n = Ct.SM,
|
|
629
632
|
className: u,
|
|
630
633
|
...o
|
|
631
|
-
}) => /* @__PURE__ */ p("div", { className:
|
|
634
|
+
}) => /* @__PURE__ */ p("div", { className: vr(P, `${P}--${n}`, u), ...o, children: /* @__PURE__ */ p("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ p(
|
|
632
635
|
"circle",
|
|
633
636
|
{
|
|
634
|
-
className:
|
|
637
|
+
className: vr(`${P}__circle`, {
|
|
635
638
|
[`${P}__circle--disabled`]: e,
|
|
636
639
|
[`${P}__circle--negative`]: a
|
|
637
640
|
}),
|
|
@@ -640,13 +643,13 @@ const mt = /* @__PURE__ */ gt(vt), yt = "_rotate_12t9p_1", $t = "_dash_12t9p_1",
|
|
|
640
643
|
r: "20"
|
|
641
644
|
}
|
|
642
645
|
) }) });
|
|
643
|
-
|
|
644
|
-
function
|
|
646
|
+
Er.displayName = "Spinner";
|
|
647
|
+
function Ot(e) {
|
|
645
648
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
646
649
|
}
|
|
647
|
-
var
|
|
648
|
-
function
|
|
649
|
-
return
|
|
650
|
+
var mr = { exports: {} }, yr;
|
|
651
|
+
function jt() {
|
|
652
|
+
return yr || (yr = 1, (function(e) {
|
|
650
653
|
(function() {
|
|
651
654
|
var a = {}.hasOwnProperty;
|
|
652
655
|
function n() {
|
|
@@ -675,10 +678,10 @@ function Nt() {
|
|
|
675
678
|
}
|
|
676
679
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
677
680
|
})();
|
|
678
|
-
})(
|
|
681
|
+
})(mr)), mr.exports;
|
|
679
682
|
}
|
|
680
|
-
var
|
|
681
|
-
const
|
|
683
|
+
var kt = jt();
|
|
684
|
+
const qt = /* @__PURE__ */ Ot(kt), Pt = {
|
|
682
685
|
"purpur-select": "_purpur-select_1gf3p_1",
|
|
683
686
|
"purpur-select__label": "_purpur-select__label_1gf3p_7",
|
|
684
687
|
"purpur-select__field-row": "_purpur-select__field-row_1gf3p_12",
|
|
@@ -698,7 +701,7 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
698
701
|
"purpur-select__select-icon--disabled": "_purpur-select__select-icon--disabled_1gf3p_133",
|
|
699
702
|
"purpur-select__select-icon--negative": "_purpur-select__select-icon--negative_1gf3p_136",
|
|
700
703
|
"purpur-select__valid-icon": "_purpur-select__valid-icon_1gf3p_142"
|
|
701
|
-
}, b =
|
|
704
|
+
}, b = qt.bind(Pt), s = "purpur-select", Fr = Vr(
|
|
702
705
|
({
|
|
703
706
|
label: e,
|
|
704
707
|
options: a,
|
|
@@ -713,7 +716,7 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
713
716
|
loading: w,
|
|
714
717
|
...l
|
|
715
718
|
}, v) => {
|
|
716
|
-
const $ = (q) => _ ? `${_}-${q}` : void 0, N = h && !u, k =
|
|
719
|
+
const $ = (q) => _ ? `${_}-${q}` : void 0, N = h && !u, k = E(), g = l.id ?? k, m = o ? `${g}-helper-text` : void 0, S = b(`${s}__select-container`, {
|
|
717
720
|
[`${s}__select-container--disabled`]: l.disabled,
|
|
718
721
|
[`${s}__select-container--readonly`]: i && !l.disabled,
|
|
719
722
|
[`${s}__select-container--negative`]: r
|
|
@@ -723,17 +726,17 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
723
726
|
[`${s}__select-icon--readonly`]: i && !l.disabled,
|
|
724
727
|
[`${s}__select-icon--is-valid`]: N,
|
|
725
728
|
[`${s}__select-icon--negative`]: r
|
|
726
|
-
}), N && b(`${s}__valid-icon`), /* @__PURE__ */
|
|
729
|
+
}), N && b(`${s}__valid-icon`), /* @__PURE__ */ f(
|
|
727
730
|
"div",
|
|
728
731
|
{
|
|
729
732
|
className: b(s, n, {
|
|
730
733
|
[`${s}--negative`]: r
|
|
731
734
|
}),
|
|
732
735
|
children: [
|
|
733
|
-
e && /* @__PURE__ */
|
|
734
|
-
|
|
736
|
+
e && /* @__PURE__ */ f(
|
|
737
|
+
mt,
|
|
735
738
|
{
|
|
736
|
-
htmlFor:
|
|
739
|
+
htmlFor: g,
|
|
737
740
|
className: b(`${s}__label`),
|
|
738
741
|
"data-testid": $("label"),
|
|
739
742
|
disabled: l.disabled,
|
|
@@ -744,13 +747,13 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
744
747
|
]
|
|
745
748
|
}
|
|
746
749
|
),
|
|
747
|
-
/* @__PURE__ */ p("div", { className: b(`${s}__field-row`), children: /* @__PURE__ */
|
|
748
|
-
/* @__PURE__ */
|
|
750
|
+
/* @__PURE__ */ p("div", { className: b(`${s}__field-row`), children: /* @__PURE__ */ f("div", { className: S, children: [
|
|
751
|
+
/* @__PURE__ */ f(
|
|
749
752
|
"select",
|
|
750
753
|
{
|
|
751
754
|
...l,
|
|
752
755
|
onChange: i ? void 0 : l?.onChange,
|
|
753
|
-
id:
|
|
756
|
+
id: g,
|
|
754
757
|
ref: v,
|
|
755
758
|
"data-testid": $("select"),
|
|
756
759
|
"aria-describedby": l["aria-describedby"] || m,
|
|
@@ -765,14 +768,14 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
765
768
|
children: [
|
|
766
769
|
t && /* @__PURE__ */ p("option", { value: t.value ?? t.label, disabled: !0, children: t.label }),
|
|
767
770
|
a.map(
|
|
768
|
-
(q,
|
|
771
|
+
(q, K) => At(q) ? Mt(q, g, K, i) : Dr(q, g, K, i)
|
|
769
772
|
)
|
|
770
773
|
]
|
|
771
774
|
}
|
|
772
775
|
),
|
|
773
|
-
/* @__PURE__ */
|
|
776
|
+
/* @__PURE__ */ f("div", { className: b(`${s}__end-adornments`), children: [
|
|
774
777
|
w ? /* @__PURE__ */ p(
|
|
775
|
-
|
|
778
|
+
Er,
|
|
776
779
|
{
|
|
777
780
|
disabled: l.disabled,
|
|
778
781
|
size: "xxs",
|
|
@@ -781,7 +784,7 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
781
784
|
},
|
|
782
785
|
"spinner"
|
|
783
786
|
) : /* @__PURE__ */ p(
|
|
784
|
-
|
|
787
|
+
Lr,
|
|
785
788
|
{
|
|
786
789
|
className: b(`${s}__select-icon`, {
|
|
787
790
|
[`${s}__select-icon--disabled`]: l.disabled,
|
|
@@ -795,7 +798,7 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
795
798
|
"chevron-down-icon"
|
|
796
799
|
),
|
|
797
800
|
N && /* @__PURE__ */ p(
|
|
798
|
-
|
|
801
|
+
Zr,
|
|
799
802
|
{
|
|
800
803
|
"data-testid": $("valid-icon"),
|
|
801
804
|
className: b(`${s}__valid-icon`)
|
|
@@ -813,7 +816,7 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
813
816
|
)
|
|
814
817
|
] }) }),
|
|
815
818
|
m && /* @__PURE__ */ p(
|
|
816
|
-
|
|
819
|
+
Le,
|
|
817
820
|
{
|
|
818
821
|
disabled: l.disabled,
|
|
819
822
|
"data-testid": $("helper-text"),
|
|
@@ -822,15 +825,15 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
822
825
|
children: o
|
|
823
826
|
}
|
|
824
827
|
),
|
|
825
|
-
u && /* @__PURE__ */ p(
|
|
828
|
+
u && /* @__PURE__ */ p(Me, { negative: r, "data-testid": $("error-text"), children: u })
|
|
826
829
|
]
|
|
827
830
|
}
|
|
828
831
|
);
|
|
829
832
|
}
|
|
830
|
-
),
|
|
833
|
+
), At = (e) => e.hasOwnProperty("options"), Mt = (e, a, n, u) => {
|
|
831
834
|
const o = `${a}--group--${n}`;
|
|
832
|
-
return /* @__PURE__ */ p("optgroup", { label: e.label, children: e.options.map((r, t) =>
|
|
833
|
-
},
|
|
835
|
+
return /* @__PURE__ */ p("optgroup", { label: e.label, children: e.options.map((r, t) => Dr(r, o, t, u)) }, o);
|
|
836
|
+
}, Dr = (e, a, n, u) => /* @__PURE__ */ p(
|
|
834
837
|
"option",
|
|
835
838
|
{
|
|
836
839
|
value: e.value ?? e.label,
|
|
@@ -839,14 +842,14 @@ const Ct = /* @__PURE__ */ wt(St), Ot = {
|
|
|
839
842
|
},
|
|
840
843
|
`${a}--option--${n}`
|
|
841
844
|
);
|
|
842
|
-
|
|
843
|
-
function
|
|
845
|
+
Fr.displayName = "Select";
|
|
846
|
+
function Tt(e) {
|
|
844
847
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
845
848
|
}
|
|
846
|
-
var
|
|
847
|
-
var
|
|
848
|
-
function
|
|
849
|
-
return
|
|
849
|
+
var R = { exports: {} };
|
|
850
|
+
var $r;
|
|
851
|
+
function zt() {
|
|
852
|
+
return $r || ($r = 1, (function(e) {
|
|
850
853
|
(function() {
|
|
851
854
|
var a = {}.hasOwnProperty;
|
|
852
855
|
function n() {
|
|
@@ -875,10 +878,10 @@ function Pt() {
|
|
|
875
878
|
}
|
|
876
879
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
877
880
|
})();
|
|
878
|
-
})(
|
|
881
|
+
})(R)), R.exports;
|
|
879
882
|
}
|
|
880
|
-
var
|
|
881
|
-
const
|
|
883
|
+
var Vt = zt();
|
|
884
|
+
const W = /* @__PURE__ */ Tt(Vt), c = "purpur-footer", G = {
|
|
882
885
|
"purpur-footer": "_purpur-footer_yqb4h_1",
|
|
883
886
|
"purpur-footer__container": "_purpur-footer__container_yqb4h_8",
|
|
884
887
|
"purpur-footer__logo": "_purpur-footer__logo_yqb4h_30",
|
|
@@ -903,12 +906,12 @@ const D = /* @__PURE__ */ qt(At), c = "purpur-footer", W = {
|
|
|
903
906
|
"purpur-footer__additional-links": "_purpur-footer__additional-links_yqb4h_280",
|
|
904
907
|
"purpur-footer__custom-content": "_purpur-footer__custom-content_yqb4h_292"
|
|
905
908
|
};
|
|
906
|
-
function
|
|
909
|
+
function Ht(e) {
|
|
907
910
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
908
911
|
}
|
|
909
|
-
var
|
|
910
|
-
function
|
|
911
|
-
return
|
|
912
|
+
var br = { exports: {} }, xr;
|
|
913
|
+
function It() {
|
|
914
|
+
return xr || (xr = 1, (function(e) {
|
|
912
915
|
(function() {
|
|
913
916
|
var a = {}.hasOwnProperty;
|
|
914
917
|
function n() {
|
|
@@ -937,10 +940,10 @@ function Tt() {
|
|
|
937
940
|
}
|
|
938
941
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
939
942
|
})();
|
|
940
|
-
})(
|
|
943
|
+
})(br)), br.exports;
|
|
941
944
|
}
|
|
942
|
-
var
|
|
943
|
-
const
|
|
945
|
+
var Zt = It();
|
|
946
|
+
const Lt = /* @__PURE__ */ Ht(Zt), M = {
|
|
944
947
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
945
948
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
946
949
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -960,18 +963,18 @@ const Vt = /* @__PURE__ */ Mt(zt), M = {
|
|
|
960
963
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
961
964
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
962
965
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
963
|
-
},
|
|
966
|
+
}, Rt = {
|
|
964
967
|
TITLE100: "title-100"
|
|
965
|
-
}, T = "purpur-heading",
|
|
968
|
+
}, T = "purpur-heading", J = ({
|
|
966
969
|
children: e,
|
|
967
970
|
className: a = "",
|
|
968
971
|
enableHyphenation: n = !1,
|
|
969
972
|
negative: u = !1,
|
|
970
973
|
tag: o,
|
|
971
|
-
variant: r =
|
|
974
|
+
variant: r = Rt.TITLE100,
|
|
972
975
|
...t
|
|
973
976
|
}) => {
|
|
974
|
-
const i = o, _ =
|
|
977
|
+
const i = o, _ = Lt([
|
|
975
978
|
a,
|
|
976
979
|
M[T],
|
|
977
980
|
M[`${T}--${r}`],
|
|
@@ -982,13 +985,13 @@ const Vt = /* @__PURE__ */ Mt(zt), M = {
|
|
|
982
985
|
]);
|
|
983
986
|
return /* @__PURE__ */ p(i, { className: _, ...t, children: e });
|
|
984
987
|
};
|
|
985
|
-
|
|
986
|
-
function
|
|
988
|
+
J.displayName = "Heading";
|
|
989
|
+
function Bt(e) {
|
|
987
990
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
988
991
|
}
|
|
989
|
-
var
|
|
990
|
-
function
|
|
991
|
-
return
|
|
992
|
+
var wr = { exports: {} }, Nr;
|
|
993
|
+
function Et() {
|
|
994
|
+
return Nr || (Nr = 1, (function(e) {
|
|
992
995
|
(function() {
|
|
993
996
|
var a = {}.hasOwnProperty;
|
|
994
997
|
function n() {
|
|
@@ -1017,20 +1020,20 @@ function Zt() {
|
|
|
1017
1020
|
}
|
|
1018
1021
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1019
1022
|
})();
|
|
1020
|
-
})(
|
|
1023
|
+
})(wr)), wr.exports;
|
|
1021
1024
|
}
|
|
1022
|
-
var
|
|
1023
|
-
const
|
|
1025
|
+
var Ft = Et();
|
|
1026
|
+
const Wr = /* @__PURE__ */ Bt(Ft), Dt = {
|
|
1024
1027
|
"purpur-accordion": "_purpur-accordion_mwmy0_1",
|
|
1025
1028
|
"purpur-accordion__title": "_purpur-accordion__title_mwmy0_4",
|
|
1026
1029
|
"purpur-accordion--negative": "_purpur-accordion--negative_mwmy0_13"
|
|
1027
1030
|
};
|
|
1028
|
-
function
|
|
1031
|
+
function Wt(e) {
|
|
1029
1032
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1030
1033
|
}
|
|
1031
|
-
var
|
|
1032
|
-
function
|
|
1033
|
-
return
|
|
1034
|
+
var Sr = { exports: {} }, Cr;
|
|
1035
|
+
function Gt() {
|
|
1036
|
+
return Cr || (Cr = 1, (function(e) {
|
|
1034
1037
|
(function() {
|
|
1035
1038
|
var a = {}.hasOwnProperty;
|
|
1036
1039
|
function n() {
|
|
@@ -1059,10 +1062,10 @@ function Et() {
|
|
|
1059
1062
|
}
|
|
1060
1063
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1061
1064
|
})();
|
|
1062
|
-
})(
|
|
1065
|
+
})(Sr)), Sr.exports;
|
|
1063
1066
|
}
|
|
1064
|
-
var
|
|
1065
|
-
const
|
|
1067
|
+
var Jt = Gt();
|
|
1068
|
+
const Kt = /* @__PURE__ */ Wt(Jt), Qt = {
|
|
1066
1069
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1067
1070
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1068
1071
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1070,35 +1073,35 @@ const Dt = /* @__PURE__ */ Bt(Ft), Wt = {
|
|
|
1070
1073
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1071
1074
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1072
1075
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1073
|
-
},
|
|
1076
|
+
}, Ut = Kt.bind(Qt), Or = "purpur-icon", Xt = "md", Yt = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), rn = ({ content: e = "", title: a } = {}) => {
|
|
1074
1077
|
const n = [
|
|
1075
1078
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1076
1079
|
{ name: "fill", value: "currentColor" },
|
|
1077
1080
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1078
1081
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1079
1082
|
], u = a ? `<title>${a}</title>` : "";
|
|
1080
|
-
return `<svg ${
|
|
1081
|
-
},
|
|
1082
|
-
const r =
|
|
1083
|
-
content:
|
|
1083
|
+
return `<svg ${Yt(n)}>${u}${e}</svg>`;
|
|
1084
|
+
}, en = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Gr = ({ svg: e, allyTitle: a, className: n, size: u = Xt, ...o }) => {
|
|
1085
|
+
const r = rn({
|
|
1086
|
+
content: en(e.svg),
|
|
1084
1087
|
title: a
|
|
1085
|
-
}), t =
|
|
1088
|
+
}), t = Ut(Or, `${Or}--${u}`, n);
|
|
1086
1089
|
return /* @__PURE__ */ p("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...o });
|
|
1087
1090
|
};
|
|
1088
|
-
|
|
1089
|
-
const
|
|
1091
|
+
Gr.displayName = "Icon";
|
|
1092
|
+
const tn = {
|
|
1090
1093
|
name: "chevron-down",
|
|
1091
1094
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',
|
|
1092
1095
|
keywords: ["chevron-down"],
|
|
1093
1096
|
category: "utility"
|
|
1094
|
-
},
|
|
1095
|
-
|
|
1096
|
-
function
|
|
1097
|
+
}, Jr = (e) => /* @__PURE__ */ p(Gr, { ...e, svg: tn });
|
|
1098
|
+
Jr.displayName = "IconChevronDown";
|
|
1099
|
+
function nn(e) {
|
|
1097
1100
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1098
1101
|
}
|
|
1099
|
-
var
|
|
1100
|
-
function
|
|
1101
|
-
return
|
|
1102
|
+
var jr = { exports: {} }, kr;
|
|
1103
|
+
function an() {
|
|
1104
|
+
return kr || (kr = 1, (function(e) {
|
|
1102
1105
|
(function() {
|
|
1103
1106
|
var a = {}.hasOwnProperty;
|
|
1104
1107
|
function n() {
|
|
@@ -1127,10 +1130,10 @@ function rn() {
|
|
|
1127
1130
|
}
|
|
1128
1131
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1129
1132
|
})();
|
|
1130
|
-
})(
|
|
1133
|
+
})(jr)), jr.exports;
|
|
1131
1134
|
}
|
|
1132
|
-
var
|
|
1133
|
-
const
|
|
1135
|
+
var on = an();
|
|
1136
|
+
const un = /* @__PURE__ */ nn(on), pn = {
|
|
1134
1137
|
"purpur-paragraph": "_purpur-paragraph_1vz75_1",
|
|
1135
1138
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1vz75_7",
|
|
1136
1139
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1vz75_10",
|
|
@@ -1146,26 +1149,26 @@ const tn = /* @__PURE__ */ Yt(en), nn = {
|
|
|
1146
1149
|
"purpur-paragraph--additional-100-bold": "_purpur-paragraph--additional-100-bold_1vz75_67",
|
|
1147
1150
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1vz75_74",
|
|
1148
1151
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1vz75_82"
|
|
1149
|
-
},
|
|
1152
|
+
}, ln = un.bind(pn), sn = {
|
|
1150
1153
|
PARAGRAPH100: "paragraph-100"
|
|
1151
|
-
}, A = "purpur-paragraph",
|
|
1154
|
+
}, A = "purpur-paragraph", Kr = ({
|
|
1152
1155
|
children: e,
|
|
1153
1156
|
className: a,
|
|
1154
1157
|
disabled: n,
|
|
1155
1158
|
enableHyphenation: u = !1,
|
|
1156
1159
|
negative: o = !1,
|
|
1157
|
-
variant: r =
|
|
1160
|
+
variant: r = sn.PARAGRAPH100,
|
|
1158
1161
|
...t
|
|
1159
1162
|
}) => {
|
|
1160
|
-
const i =
|
|
1163
|
+
const i = ln(a, A, `${A}--${r}`, {
|
|
1161
1164
|
[`${A}--hyphens`]: u,
|
|
1162
1165
|
[`${A}--disabled`]: n,
|
|
1163
1166
|
[`${A}--negative`]: o
|
|
1164
1167
|
});
|
|
1165
1168
|
return /* @__PURE__ */ p("p", { ...t, className: i, children: e });
|
|
1166
1169
|
};
|
|
1167
|
-
|
|
1168
|
-
const
|
|
1170
|
+
Kr.displayName = "Paragraph";
|
|
1171
|
+
const cn = {
|
|
1169
1172
|
"purpur-accordion-item": "_purpur-accordion-item_1du2l_1",
|
|
1170
1173
|
"purpur-accordion-item__trigger": "_purpur-accordion-item__trigger_1du2l_4",
|
|
1171
1174
|
"purpur-accordion-item__header": "_purpur-accordion-item__header_1du2l_10",
|
|
@@ -1177,7 +1180,7 @@ const un = {
|
|
|
1177
1180
|
"purpur-accordion-item__contentText": "_purpur-accordion-item__contentText_1du2l_82",
|
|
1178
1181
|
"purpur-accordion-item__contentText--limit-width": "_purpur-accordion-item__contentText--limit-width_1du2l_85",
|
|
1179
1182
|
"purpur-accordion-item--negative": "_purpur-accordion-item--negative_1du2l_107"
|
|
1180
|
-
}, O =
|
|
1183
|
+
}, O = Wr.bind(cn), x = "purpur-accordion-item", _n = ({
|
|
1181
1184
|
children: e,
|
|
1182
1185
|
className: a,
|
|
1183
1186
|
fullWidth: n = !1,
|
|
@@ -1189,21 +1192,21 @@ const un = {
|
|
|
1189
1192
|
onClose: _,
|
|
1190
1193
|
...h
|
|
1191
1194
|
}) => {
|
|
1192
|
-
const w =
|
|
1195
|
+
const w = re(Qr), l = E(), [v, $] = ee(!r), N = O([
|
|
1193
1196
|
x,
|
|
1194
1197
|
{
|
|
1195
1198
|
[`${x}--negative`]: w
|
|
1196
1199
|
},
|
|
1197
1200
|
a
|
|
1198
1201
|
]);
|
|
1199
|
-
return /* @__PURE__ */
|
|
1202
|
+
return /* @__PURE__ */ f("div", { className: N, ...h, children: [
|
|
1200
1203
|
/* @__PURE__ */ p(
|
|
1201
|
-
|
|
1204
|
+
J,
|
|
1202
1205
|
{
|
|
1203
1206
|
tag: o,
|
|
1204
1207
|
variant: "title-100",
|
|
1205
1208
|
className: O([`${x}__header`, `${x}__title`]),
|
|
1206
|
-
children: /* @__PURE__ */
|
|
1209
|
+
children: /* @__PURE__ */ f(
|
|
1207
1210
|
"button",
|
|
1208
1211
|
{
|
|
1209
1212
|
type: "button",
|
|
@@ -1219,7 +1222,7 @@ const un = {
|
|
|
1219
1222
|
id: l + "button",
|
|
1220
1223
|
children: [
|
|
1221
1224
|
u,
|
|
1222
|
-
/* @__PURE__ */ p(
|
|
1225
|
+
/* @__PURE__ */ p(Jr, { size: "md", className: O(`${x}__icon`), "aria-hidden": !0 })
|
|
1223
1226
|
]
|
|
1224
1227
|
}
|
|
1225
1228
|
)
|
|
@@ -1239,13 +1242,13 @@ const un = {
|
|
|
1239
1242
|
className: O(`${x}__contentText`, {
|
|
1240
1243
|
[`${x}__contentText--limit-width`]: !n
|
|
1241
1244
|
}),
|
|
1242
|
-
children: typeof e == "string" ? /* @__PURE__ */ p(
|
|
1245
|
+
children: typeof e == "string" ? /* @__PURE__ */ p(Kr, { variant: "paragraph-200", children: e }) : e
|
|
1243
1246
|
}
|
|
1244
1247
|
)
|
|
1245
1248
|
}
|
|
1246
1249
|
)
|
|
1247
1250
|
] });
|
|
1248
|
-
},
|
|
1251
|
+
}, qr = Wr.bind(Dt), B = "purpur-accordion", Qr = Yr(!1), V = ({
|
|
1249
1252
|
children: e,
|
|
1250
1253
|
className: a,
|
|
1251
1254
|
negative: n = !1,
|
|
@@ -1255,16 +1258,16 @@ const un = {
|
|
|
1255
1258
|
schema: t,
|
|
1256
1259
|
...i
|
|
1257
1260
|
}) => {
|
|
1258
|
-
const _ =
|
|
1259
|
-
|
|
1261
|
+
const _ = qr([
|
|
1262
|
+
B,
|
|
1260
1263
|
{
|
|
1261
|
-
[`${
|
|
1264
|
+
[`${B}--negative`]: n
|
|
1262
1265
|
},
|
|
1263
1266
|
a
|
|
1264
1267
|
]);
|
|
1265
|
-
return /* @__PURE__ */
|
|
1266
|
-
u && /* @__PURE__ */ p(
|
|
1267
|
-
/* @__PURE__ */ p(
|
|
1268
|
+
return /* @__PURE__ */ f("div", { className: _, ...i, children: [
|
|
1269
|
+
u && /* @__PURE__ */ p(J, { tag: o, variant: r, className: qr(`${B}__title`), children: u }),
|
|
1270
|
+
/* @__PURE__ */ p(Qr.Provider, { value: n, children: e }),
|
|
1268
1271
|
t && /* @__PURE__ */ p(
|
|
1269
1272
|
"script",
|
|
1270
1273
|
{
|
|
@@ -1276,9 +1279,9 @@ const un = {
|
|
|
1276
1279
|
)
|
|
1277
1280
|
] });
|
|
1278
1281
|
};
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
const j =
|
|
1282
|
+
V.Item = _n;
|
|
1283
|
+
V.displayName = "Accordion";
|
|
1284
|
+
const j = W.bind(G), Pr = ({ links: e, customLink: a }) => /* @__PURE__ */ p("ul", { children: e.map(({ href: n, text: u, ...o }, r) => /* @__PURE__ */ p("li", { children: a ? /* @__PURE__ */ p(
|
|
1282
1285
|
a,
|
|
1283
1286
|
{
|
|
1284
1287
|
...o,
|
|
@@ -1286,11 +1289,11 @@ const j = D.bind(W), qr = ({ links: e, customLink: a }) => /* @__PURE__ */ p("ul
|
|
|
1286
1289
|
className: j(`${c}__custom-link-navigation`),
|
|
1287
1290
|
children: u
|
|
1288
1291
|
}
|
|
1289
|
-
) : /* @__PURE__ */ p(
|
|
1292
|
+
) : /* @__PURE__ */ p(F, { ...o, variant: "navigation", negative: !0, href: n, disableVisited: !0, children: u }) }, r)) }), dn = ({
|
|
1290
1293
|
navigationLinks: e,
|
|
1291
1294
|
sectionProps: a,
|
|
1292
1295
|
customLink: n
|
|
1293
|
-
}) => /* @__PURE__ */
|
|
1296
|
+
}) => /* @__PURE__ */ f(Xr, { children: [
|
|
1294
1297
|
/* @__PURE__ */ p(
|
|
1295
1298
|
"section",
|
|
1296
1299
|
{
|
|
@@ -1300,9 +1303,9 @@ const j = D.bind(W), qr = ({ links: e, customLink: a }) => /* @__PURE__ */ p("ul
|
|
|
1300
1303
|
`${c}__navigation--lg`,
|
|
1301
1304
|
a?.className
|
|
1302
1305
|
),
|
|
1303
|
-
children: e.map((u, o) => /* @__PURE__ */
|
|
1306
|
+
children: e.map((u, o) => /* @__PURE__ */ f("div", { className: j(`${c}__navigation-section`), children: [
|
|
1304
1307
|
/* @__PURE__ */ p("h3", { className: j(`${c}__navigation-section-heading`), children: u.heading }),
|
|
1305
|
-
/* @__PURE__ */ p(
|
|
1308
|
+
/* @__PURE__ */ p(Pr, { links: u.links, customLink: n })
|
|
1306
1309
|
] }, o))
|
|
1307
1310
|
}
|
|
1308
1311
|
),
|
|
@@ -1315,25 +1318,25 @@ const j = D.bind(W), qr = ({ links: e, customLink: a }) => /* @__PURE__ */ p("ul
|
|
|
1315
1318
|
`${c}__navigation--sm`,
|
|
1316
1319
|
a?.className
|
|
1317
1320
|
),
|
|
1318
|
-
children: /* @__PURE__ */ p(
|
|
1319
|
-
|
|
1321
|
+
children: /* @__PURE__ */ p(V, { negative: !0, children: e.map((u, o) => /* @__PURE__ */ p(
|
|
1322
|
+
V.Item,
|
|
1320
1323
|
{
|
|
1321
1324
|
title: u.heading,
|
|
1322
1325
|
titleTag: "h2",
|
|
1323
1326
|
className: j(`${c}__navigation-section`),
|
|
1324
|
-
children: /* @__PURE__ */ p(
|
|
1327
|
+
children: /* @__PURE__ */ p(Pr, { links: u.links, customLink: n })
|
|
1325
1328
|
},
|
|
1326
1329
|
o
|
|
1327
1330
|
)) })
|
|
1328
1331
|
}
|
|
1329
1332
|
)
|
|
1330
1333
|
] });
|
|
1331
|
-
function
|
|
1334
|
+
function fn(e) {
|
|
1332
1335
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1333
1336
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1336
|
-
return
|
|
1337
|
+
var Ar = { exports: {} }, Mr;
|
|
1338
|
+
function gn() {
|
|
1339
|
+
return Mr || (Mr = 1, (function(e) {
|
|
1337
1340
|
(function() {
|
|
1338
1341
|
var a = {}.hasOwnProperty;
|
|
1339
1342
|
function n() {
|
|
@@ -1362,10 +1365,10 @@ function cn() {
|
|
|
1362
1365
|
}
|
|
1363
1366
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1364
1367
|
})();
|
|
1365
|
-
})(
|
|
1368
|
+
})(Ar)), Ar.exports;
|
|
1366
1369
|
}
|
|
1367
|
-
var
|
|
1368
|
-
const
|
|
1370
|
+
var hn = gn();
|
|
1371
|
+
const vn = /* @__PURE__ */ fn(hn), mn = {
|
|
1369
1372
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1370
1373
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1371
1374
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1373,33 +1376,33 @@ const dn = /* @__PURE__ */ sn(_n), fn = {
|
|
|
1373
1376
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1374
1377
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1375
1378
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1376
|
-
},
|
|
1379
|
+
}, yn = vn.bind(mn), Tr = "purpur-icon", $n = "md", bn = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), xn = ({ content: e = "", title: a } = {}) => {
|
|
1377
1380
|
const n = [
|
|
1378
1381
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1379
1382
|
{ name: "fill", value: "currentColor" },
|
|
1380
1383
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1381
1384
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1382
1385
|
], u = a ? `<title>${a}</title>` : "";
|
|
1383
|
-
return `<svg ${
|
|
1384
|
-
},
|
|
1385
|
-
const r =
|
|
1386
|
-
content:
|
|
1386
|
+
return `<svg ${bn(n)}>${u}${e}</svg>`;
|
|
1387
|
+
}, wn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ur = ({ svg: e, allyTitle: a, className: n, size: u = $n, ...o }) => {
|
|
1388
|
+
const r = xn({
|
|
1389
|
+
content: wn(e.svg),
|
|
1387
1390
|
title: a
|
|
1388
|
-
}), t =
|
|
1391
|
+
}), t = yn(Tr, `${Tr}--${u}`, n);
|
|
1389
1392
|
return /* @__PURE__ */ p("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...o });
|
|
1390
1393
|
};
|
|
1391
|
-
|
|
1392
|
-
const
|
|
1394
|
+
Ur.displayName = "Icon";
|
|
1395
|
+
const Nn = W.bind(G), zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
1393
1396
|
"a",
|
|
1394
1397
|
{
|
|
1395
1398
|
...n,
|
|
1396
1399
|
href: a,
|
|
1397
|
-
className:
|
|
1400
|
+
className: Nn(`${c}__social-link`),
|
|
1398
1401
|
rel: "noreferrer",
|
|
1399
1402
|
target: "_blank",
|
|
1400
|
-
children: /* @__PURE__ */ p(
|
|
1403
|
+
children: /* @__PURE__ */ p(Ur, { svg: e })
|
|
1401
1404
|
}
|
|
1402
|
-
),
|
|
1405
|
+
), Sn = () => /* @__PURE__ */ f(
|
|
1403
1406
|
"svg",
|
|
1404
1407
|
{
|
|
1405
1408
|
width: "81",
|
|
@@ -1409,7 +1412,7 @@ const $n = D.bind(W), Tr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
|
1409
1412
|
role: "img",
|
|
1410
1413
|
"aria-hidden": "true",
|
|
1411
1414
|
children: [
|
|
1412
|
-
/* @__PURE__ */
|
|
1415
|
+
/* @__PURE__ */ f("g", { clipPath: "url(#clip0_5309_7721)", children: [
|
|
1413
1416
|
/* @__PURE__ */ p(
|
|
1414
1417
|
"path",
|
|
1415
1418
|
{
|
|
@@ -1470,7 +1473,7 @@ const $n = D.bind(W), Tr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
|
1470
1473
|
/* @__PURE__ */ p("defs", { children: /* @__PURE__ */ p("clipPath", { id: "clip0_5309_7721", children: /* @__PURE__ */ p("rect", { width: "81", height: "32", fill: "currentColor" }) }) })
|
|
1471
1474
|
]
|
|
1472
1475
|
}
|
|
1473
|
-
), y =
|
|
1476
|
+
), y = W.bind(G), Cn = ({
|
|
1474
1477
|
className: e,
|
|
1475
1478
|
navigation: a,
|
|
1476
1479
|
social: n,
|
|
@@ -1483,18 +1486,18 @@ const $n = D.bind(W), Tr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
|
1483
1486
|
forceColorScheme: h,
|
|
1484
1487
|
...w
|
|
1485
1488
|
}) => {
|
|
1486
|
-
const l = y(e, c), v =
|
|
1487
|
-
return
|
|
1489
|
+
const l = y(e, c), v = E(), { options: $ } = te(), [N, k] = ne();
|
|
1490
|
+
return ie({
|
|
1488
1491
|
cssVariablesSelector: `[data-id="${v}"]`,
|
|
1489
1492
|
currentColorScheme: h ?? $?.footerColorScheme
|
|
1490
|
-
}), /* @__PURE__ */ p("footer", { "data-id": v, className: l, ...w, children: /* @__PURE__ */ p(
|
|
1493
|
+
}), /* @__PURE__ */ p("footer", { "data-id": v, className: l, ...w, children: /* @__PURE__ */ p(Hr, { children: /* @__PURE__ */ f("div", { className: y(`${c}__container`), children: [
|
|
1491
1494
|
/* @__PURE__ */ p(
|
|
1492
1495
|
"div",
|
|
1493
1496
|
{
|
|
1494
1497
|
className: y(`${c}__logo`, {
|
|
1495
1498
|
[`${c}__logo--telia`]: !i
|
|
1496
1499
|
}),
|
|
1497
|
-
children: i ?? /* @__PURE__ */ p(
|
|
1500
|
+
children: i ?? /* @__PURE__ */ p(Sn, {})
|
|
1498
1501
|
}
|
|
1499
1502
|
),
|
|
1500
1503
|
n && /* @__PURE__ */ p(
|
|
@@ -1506,30 +1509,30 @@ const $n = D.bind(W), Tr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
|
1506
1509
|
`${c}__social--md`,
|
|
1507
1510
|
n.sectionProps?.className
|
|
1508
1511
|
),
|
|
1509
|
-
children: n.links.map(({ icon:
|
|
1512
|
+
children: n.links.map(({ icon: g, href: m, ...S }) => /* @__PURE__ */ H(zr, { ...S, icon: g, href: m, key: m }))
|
|
1510
1513
|
}
|
|
1511
1514
|
),
|
|
1512
1515
|
a && /* @__PURE__ */ p(
|
|
1513
|
-
|
|
1516
|
+
dn,
|
|
1514
1517
|
{
|
|
1515
1518
|
customLink: a.customLink,
|
|
1516
1519
|
navigationLinks: a.links,
|
|
1517
1520
|
sectionProps: a.sectionProps
|
|
1518
1521
|
}
|
|
1519
1522
|
),
|
|
1520
|
-
t && /* @__PURE__ */
|
|
1523
|
+
t && /* @__PURE__ */ f(
|
|
1521
1524
|
"section",
|
|
1522
1525
|
{
|
|
1523
1526
|
...t.sectionProps,
|
|
1524
1527
|
className: y(`${c}__payments`, t.sectionProps?.className),
|
|
1525
1528
|
children: [
|
|
1526
1529
|
t.content,
|
|
1527
|
-
t.images?.map(({ alt:
|
|
1530
|
+
t.images?.map(({ alt: g, src: m }) => /* @__PURE__ */ p(
|
|
1528
1531
|
"img",
|
|
1529
1532
|
{
|
|
1530
1533
|
className: y(`${c}__payments-image`),
|
|
1531
1534
|
src: m,
|
|
1532
|
-
alt:
|
|
1535
|
+
alt: g
|
|
1533
1536
|
},
|
|
1534
1537
|
m
|
|
1535
1538
|
))
|
|
@@ -1537,18 +1540,18 @@ const $n = D.bind(W), Tr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
|
1537
1540
|
}
|
|
1538
1541
|
),
|
|
1539
1542
|
_ && /* @__PURE__ */ p("section", { className: y(`${c}__theme-select`), children: /* @__PURE__ */ p(
|
|
1540
|
-
|
|
1543
|
+
Fr,
|
|
1541
1544
|
{
|
|
1542
1545
|
value: N,
|
|
1543
1546
|
label: _.label,
|
|
1544
1547
|
options: _.options,
|
|
1545
1548
|
negative: !0,
|
|
1546
|
-
onChange: (
|
|
1547
|
-
k(
|
|
1549
|
+
onChange: (g) => {
|
|
1550
|
+
k(g.target.value);
|
|
1548
1551
|
}
|
|
1549
1552
|
}
|
|
1550
1553
|
) }),
|
|
1551
|
-
u && /* @__PURE__ */
|
|
1554
|
+
u && /* @__PURE__ */ f(
|
|
1552
1555
|
"section",
|
|
1553
1556
|
{
|
|
1554
1557
|
...u.sectionProps,
|
|
@@ -1569,7 +1572,7 @@ const $n = D.bind(W), Tr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
|
1569
1572
|
]
|
|
1570
1573
|
}
|
|
1571
1574
|
),
|
|
1572
|
-
(r || o) && /* @__PURE__ */
|
|
1575
|
+
(r || o) && /* @__PURE__ */ f("div", { className: y(`${c}__additional`), children: [
|
|
1573
1576
|
r && /* @__PURE__ */ p(
|
|
1574
1577
|
"section",
|
|
1575
1578
|
{
|
|
@@ -1586,14 +1589,14 @@ const $n = D.bind(W), Tr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
|
1586
1589
|
`${c}__additional-links`,
|
|
1587
1590
|
o.sectionProps?.className
|
|
1588
1591
|
),
|
|
1589
|
-
children: o?.links?.map(({ href:
|
|
1590
|
-
|
|
1592
|
+
children: o?.links?.map(({ href: g, text: m, ...S }) => /* @__PURE__ */ H(
|
|
1593
|
+
F,
|
|
1591
1594
|
{
|
|
1592
1595
|
...S,
|
|
1593
1596
|
variant: "standalone",
|
|
1594
1597
|
negative: !0,
|
|
1595
|
-
href:
|
|
1596
|
-
key:
|
|
1598
|
+
href: g,
|
|
1599
|
+
key: g,
|
|
1597
1600
|
disableVisited: !0
|
|
1598
1601
|
},
|
|
1599
1602
|
m
|
|
@@ -1610,13 +1613,13 @@ const $n = D.bind(W), Tr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ p(
|
|
|
1610
1613
|
`${c}__social--sm`,
|
|
1611
1614
|
n.sectionProps?.className
|
|
1612
1615
|
),
|
|
1613
|
-
children: n.links.map(({ icon:
|
|
1616
|
+
children: n.links.map(({ icon: g, href: m, ...S }) => /* @__PURE__ */ H(zr, { ...S, icon: g, href: m, key: m }))
|
|
1614
1617
|
}
|
|
1615
1618
|
)
|
|
1616
1619
|
] }) }) });
|
|
1617
1620
|
};
|
|
1618
|
-
|
|
1621
|
+
Cn.displayName = "Footer";
|
|
1619
1622
|
export {
|
|
1620
|
-
|
|
1623
|
+
Cn as Footer
|
|
1621
1624
|
};
|
|
1622
1625
|
//# sourceMappingURL=footer.es.js.map
|