@purpurds/footer 8.12.2 → 8.13.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 +341 -350
- package/dist/footer.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +16 -16
package/dist/footer.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as o, jsxs as v, Fragment as
|
|
2
|
-
import * as
|
|
3
|
-
import { Children as
|
|
1
|
+
import { jsx as o, jsxs as v, Fragment as re } from "react/jsx-runtime";
|
|
2
|
+
import * as f from "react";
|
|
3
|
+
import { Children as Y, isValidElement as ee, forwardRef as te, useId as D, createContext as ne, useContext as ie, useState as ae, createElement as L } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
import { useTheme as
|
|
6
|
-
function
|
|
5
|
+
import { useTheme as pe, useColorScheme as ue, useApplyTheme as oe } from "@purpurds/theme";
|
|
6
|
+
function le(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 rr = { exports: {} }, er;
|
|
10
|
+
function se() {
|
|
11
|
+
return er || (er = 1, (function(e) {
|
|
12
12
|
(function() {
|
|
13
13
|
var a = {}.hasOwnProperty;
|
|
14
14
|
function n() {
|
|
@@ -37,10 +37,10 @@ function ce() {
|
|
|
37
37
|
}
|
|
38
38
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
39
39
|
})();
|
|
40
|
-
})(
|
|
40
|
+
})(rr)), rr.exports;
|
|
41
41
|
}
|
|
42
|
-
var
|
|
43
|
-
const
|
|
42
|
+
var _e = se();
|
|
43
|
+
const Zr = /* @__PURE__ */ le(_e), ce = {
|
|
44
44
|
"purpur-grid-item": "_purpur-grid-item_zx9tz_1",
|
|
45
45
|
"purpur-grid-item--no-col-gap": "_purpur-grid-item--no-col-gap_zx9tz_6",
|
|
46
46
|
"purpur-grid-item-colspan-sm-4": "_purpur-grid-item-colspan-sm-4_zx9tz_24",
|
|
@@ -67,7 +67,7 @@ const Rr = /* @__PURE__ */ _e(de), ge = {
|
|
|
67
67
|
"purpur-grid-item-colspan-lg-3": "_purpur-grid-item-colspan-lg-3_zx9tz_122",
|
|
68
68
|
"purpur-grid-item-colspan-lg-2": "_purpur-grid-item-colspan-lg-2_zx9tz_127",
|
|
69
69
|
"purpur-grid-item-colspan-lg-1": "_purpur-grid-item-colspan-lg-1_zx9tz_77"
|
|
70
|
-
},
|
|
70
|
+
}, de = Zr.bind(ce), q = "purpur-grid-item", H = ({
|
|
71
71
|
children: e,
|
|
72
72
|
className: a,
|
|
73
73
|
colSpanSm: n = 4,
|
|
@@ -76,20 +76,20 @@ const Rr = /* @__PURE__ */ _e(de), ge = {
|
|
|
76
76
|
noColGap: r = !1,
|
|
77
77
|
...t
|
|
78
78
|
}) => {
|
|
79
|
-
const i =
|
|
80
|
-
|
|
79
|
+
const i = de([
|
|
80
|
+
q,
|
|
81
81
|
{
|
|
82
|
-
[`${
|
|
83
|
-
[`${
|
|
84
|
-
[`${
|
|
85
|
-
[`${
|
|
82
|
+
[`${q}--no-col-gap`]: r,
|
|
83
|
+
[`${q}-colspan-sm-${n}`]: n,
|
|
84
|
+
[`${q}-colspan-md-${u}`]: u,
|
|
85
|
+
[`${q}-colspan-lg-${p}`]: p
|
|
86
86
|
},
|
|
87
87
|
a
|
|
88
88
|
]);
|
|
89
89
|
return /* @__PURE__ */ o("div", { className: i, ...t, children: e });
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
const
|
|
90
|
+
}, ge = (e) => !!e && ee(e) && e.type === H;
|
|
91
|
+
H.displayName = "Grid.Item";
|
|
92
|
+
const me = {
|
|
93
93
|
"purpur-grid": "_purpur-grid_8kjv6_1",
|
|
94
94
|
"purpur-grid__inner": "_purpur-grid__inner_8kjv6_27",
|
|
95
95
|
"purpur-grid__inner--no-gap": "_purpur-grid__inner--no-gap_8kjv6_32",
|
|
@@ -118,7 +118,7 @@ const ve = {
|
|
|
118
118
|
"purpur-grid__inner-col-lg-3": "_purpur-grid__inner-col-lg-3_8kjv6_147",
|
|
119
119
|
"purpur-grid__inner-col-lg-2": "_purpur-grid__inner-col-lg-2_8kjv6_152",
|
|
120
120
|
"purpur-grid__inner--flex": "_purpur-grid__inner--flex_8kjv6_156"
|
|
121
|
-
},
|
|
121
|
+
}, tr = Zr.bind(me), fe = "purpur-grid", N = "purpur-grid__inner", G = ({
|
|
122
122
|
children: e,
|
|
123
123
|
className: a,
|
|
124
124
|
containerClassName: n,
|
|
@@ -128,32 +128,32 @@ const ve = {
|
|
|
128
128
|
noGap: t = !1,
|
|
129
129
|
noColGap: i = !1,
|
|
130
130
|
noRowGap: c = !1,
|
|
131
|
-
...
|
|
131
|
+
...d
|
|
132
132
|
}) => {
|
|
133
|
-
const x =
|
|
134
|
-
|
|
133
|
+
const x = Y.toArray(e).filter(ge), l = !!x.length, g = tr([fe, n]), $ = tr([
|
|
134
|
+
N,
|
|
135
135
|
{
|
|
136
|
-
[`${
|
|
137
|
-
[`${
|
|
138
|
-
[`${
|
|
139
|
-
[`${
|
|
140
|
-
[`${
|
|
141
|
-
[`${
|
|
142
|
-
[`${
|
|
143
|
-
[`${
|
|
136
|
+
[`${N}--grid`]: !l,
|
|
137
|
+
[`${N}--flex`]: l,
|
|
138
|
+
[`${N}--no-gap`]: t,
|
|
139
|
+
[`${N}--no-col-gap`]: i,
|
|
140
|
+
[`${N}--no-row-gap`]: c,
|
|
141
|
+
[`${N}-col-sm-${u}`]: u > 1 && !l,
|
|
142
|
+
[`${N}-col-md-${p}`]: p > 1 && !l,
|
|
143
|
+
[`${N}-col-lg-${r}`]: r > 1 && !l
|
|
144
144
|
},
|
|
145
145
|
a
|
|
146
146
|
]);
|
|
147
|
-
return /* @__PURE__ */ o("div", { className:
|
|
147
|
+
return /* @__PURE__ */ o("div", { className: g, ...d, children: /* @__PURE__ */ o("div", { className: $, children: l ? Y.map(x, ({ props: { children: b, ...S } }) => /* @__PURE__ */ o(H, { ...S, noColGap: t || i, children: b })) : e }) });
|
|
148
148
|
};
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
function
|
|
149
|
+
G.displayName = "Grid";
|
|
150
|
+
G.Item = H;
|
|
151
|
+
function ve(e) {
|
|
152
152
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
153
153
|
}
|
|
154
|
-
var
|
|
155
|
-
function
|
|
156
|
-
return
|
|
154
|
+
var nr = { exports: {} }, ir;
|
|
155
|
+
function he() {
|
|
156
|
+
return ir || (ir = 1, (function(e) {
|
|
157
157
|
(function() {
|
|
158
158
|
var a = {}.hasOwnProperty;
|
|
159
159
|
function n() {
|
|
@@ -182,10 +182,10 @@ function $e() {
|
|
|
182
182
|
}
|
|
183
183
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
184
184
|
})();
|
|
185
|
-
})(
|
|
185
|
+
})(nr)), nr.exports;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
const
|
|
187
|
+
var ye = he();
|
|
188
|
+
const $e = /* @__PURE__ */ ve(ye), xe = {
|
|
189
189
|
"purpur-link": "_purpur-link_5pram_1",
|
|
190
190
|
"purpur-link--text": "_purpur-link--text_5pram_18",
|
|
191
191
|
"purpur-link--standalone": "_purpur-link--standalone_5pram_18",
|
|
@@ -196,7 +196,7 @@ const be = /* @__PURE__ */ ye(xe), we = {
|
|
|
196
196
|
"purpur-link--navigation-negative": "_purpur-link--navigation-negative_5pram_32",
|
|
197
197
|
"purpur-link--ensure-target-area": "_purpur-link--ensure-target-area_5pram_71",
|
|
198
198
|
"purpur-link--silent": "_purpur-link--silent_5pram_77"
|
|
199
|
-
},
|
|
199
|
+
}, be = $e.bind(xe), k = "purpur-link", W = ({
|
|
200
200
|
["data-testid"]: e,
|
|
201
201
|
children: a,
|
|
202
202
|
className: n,
|
|
@@ -206,29 +206,29 @@ const be = /* @__PURE__ */ ye(xe), we = {
|
|
|
206
206
|
negative: t = !1,
|
|
207
207
|
onClick: i,
|
|
208
208
|
rel: c,
|
|
209
|
-
silent:
|
|
209
|
+
silent: d,
|
|
210
210
|
target: x,
|
|
211
211
|
variant: l,
|
|
212
|
-
...
|
|
212
|
+
...g
|
|
213
213
|
}) => (
|
|
214
214
|
/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */
|
|
215
215
|
/* @__PURE__ */ o(
|
|
216
216
|
"span",
|
|
217
217
|
{
|
|
218
|
-
className:
|
|
218
|
+
className: be(
|
|
219
219
|
n,
|
|
220
220
|
k,
|
|
221
221
|
`${k}--${t ? `${l}-negative` : l}`,
|
|
222
222
|
{
|
|
223
|
-
[`${k}--silent`]:
|
|
223
|
+
[`${k}--silent`]: d,
|
|
224
224
|
[`${k}--negative`]: t,
|
|
225
|
-
[`${k}--disable-visited`]: u ??
|
|
225
|
+
[`${k}--disable-visited`]: u ?? d,
|
|
226
226
|
[`${k}--ensure-target-area`]: p
|
|
227
227
|
}
|
|
228
228
|
),
|
|
229
229
|
"data-testid": e,
|
|
230
230
|
onClick: r ? void 0 : i,
|
|
231
|
-
...r ? {} :
|
|
231
|
+
...r ? {} : g,
|
|
232
232
|
children: r ? /* @__PURE__ */ o(
|
|
233
233
|
"a",
|
|
234
234
|
{
|
|
@@ -237,20 +237,20 @@ const be = /* @__PURE__ */ ye(xe), we = {
|
|
|
237
237
|
rel: c,
|
|
238
238
|
onClick: i,
|
|
239
239
|
"data-testid": e ? `${e} a` : void 0,
|
|
240
|
-
...
|
|
240
|
+
...g,
|
|
241
241
|
children: a
|
|
242
242
|
}
|
|
243
243
|
) : a
|
|
244
244
|
}
|
|
245
245
|
)
|
|
246
246
|
);
|
|
247
|
-
|
|
248
|
-
function
|
|
247
|
+
W.displayName = "Link";
|
|
248
|
+
function we(e) {
|
|
249
249
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
250
250
|
}
|
|
251
|
-
var
|
|
252
|
-
function
|
|
253
|
-
return
|
|
251
|
+
var ar = { exports: {} }, pr;
|
|
252
|
+
function je() {
|
|
253
|
+
return pr || (pr = 1, (function(e) {
|
|
254
254
|
(function() {
|
|
255
255
|
var a = {}.hasOwnProperty;
|
|
256
256
|
function n() {
|
|
@@ -279,10 +279,10 @@ function Se() {
|
|
|
279
279
|
}
|
|
280
280
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
281
281
|
})();
|
|
282
|
-
})(
|
|
282
|
+
})(ar)), ar.exports;
|
|
283
283
|
}
|
|
284
|
-
var
|
|
285
|
-
const
|
|
284
|
+
var Ne = je();
|
|
285
|
+
const Se = /* @__PURE__ */ we(Ne), Ce = {
|
|
286
286
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
287
287
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
288
288
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -290,34 +290,34 @@ const ke = /* @__PURE__ */ je(Ce), ze = {
|
|
|
290
290
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
291
291
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
292
292
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
293
|
-
},
|
|
293
|
+
}, ke = Se.bind(Ce), ur = "purpur-icon", ze = "md", Oe = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), Pe = ({ content: e = "", title: a } = {}) => {
|
|
294
294
|
const n = [
|
|
295
295
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
296
296
|
{ name: "fill", value: "currentColor" },
|
|
297
297
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
298
298
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
299
299
|
], u = a ? `<title>${a}</title>` : "";
|
|
300
|
-
return `<svg ${
|
|
301
|
-
}, qe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
302
|
-
const r =
|
|
300
|
+
return `<svg ${Oe(n)}>${u}${e}</svg>`;
|
|
301
|
+
}, qe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Rr = ({ svg: e, allyTitle: a, className: n, size: u = ze, ...p }) => {
|
|
302
|
+
const r = Pe({
|
|
303
303
|
content: qe(e.svg),
|
|
304
304
|
title: a
|
|
305
|
-
}), t =
|
|
305
|
+
}), t = ke(ur, `${ur}--${u}`, n);
|
|
306
306
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
307
307
|
};
|
|
308
|
-
|
|
309
|
-
const
|
|
308
|
+
Rr.displayName = "Icon";
|
|
309
|
+
const Ae = {
|
|
310
310
|
name: "error-filled",
|
|
311
311
|
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>',
|
|
312
312
|
keywords: ["error-filled"],
|
|
313
313
|
category: "status"
|
|
314
314
|
};
|
|
315
|
-
function
|
|
315
|
+
function Me(e) {
|
|
316
316
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
320
|
-
return
|
|
318
|
+
var or = { exports: {} }, lr;
|
|
319
|
+
function Te() {
|
|
320
|
+
return lr || (lr = 1, (function(e) {
|
|
321
321
|
(function() {
|
|
322
322
|
var a = {}.hasOwnProperty;
|
|
323
323
|
function n() {
|
|
@@ -346,14 +346,14 @@ function Ie() {
|
|
|
346
346
|
}
|
|
347
347
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
348
348
|
})();
|
|
349
|
-
})(
|
|
349
|
+
})(or)), or.exports;
|
|
350
350
|
}
|
|
351
|
-
var
|
|
352
|
-
const
|
|
351
|
+
var Ve = Te();
|
|
352
|
+
const Ie = /* @__PURE__ */ Me(Ve), He = {
|
|
353
353
|
"purpur-field-error-text": "_purpur-field-error-text_u1cy2_1",
|
|
354
354
|
"purpur-field-error-text--negative": "_purpur-field-error-text--negative_u1cy2_11",
|
|
355
355
|
"purpur-field-error-text__icon": "_purpur-field-error-text__icon_u1cy2_14"
|
|
356
|
-
},
|
|
356
|
+
}, sr = Ie.bind(He), Z = "purpur-field-error-text", Le = ({
|
|
357
357
|
children: e,
|
|
358
358
|
className: a,
|
|
359
359
|
negative: n = !1,
|
|
@@ -362,24 +362,24 @@ const Le = /* @__PURE__ */ Ve(He), Ze = {
|
|
|
362
362
|
}) => /* @__PURE__ */ v(
|
|
363
363
|
"div",
|
|
364
364
|
{
|
|
365
|
-
className:
|
|
366
|
-
[`${
|
|
365
|
+
className: sr(a, Z, {
|
|
366
|
+
[`${Z}--negative`]: n
|
|
367
367
|
}),
|
|
368
368
|
"aria-live": "assertive",
|
|
369
369
|
"aria-relevant": u,
|
|
370
370
|
...p,
|
|
371
371
|
children: [
|
|
372
|
-
/* @__PURE__ */ o(
|
|
372
|
+
/* @__PURE__ */ o(Rr, { svg: Ae, size: "xs", className: sr(`${Z}__icon`) }),
|
|
373
373
|
e
|
|
374
374
|
]
|
|
375
375
|
}
|
|
376
376
|
);
|
|
377
|
-
function
|
|
377
|
+
function Ze(e) {
|
|
378
378
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
379
379
|
}
|
|
380
|
-
var
|
|
381
|
-
function
|
|
382
|
-
return
|
|
380
|
+
var _r = { exports: {} }, cr;
|
|
381
|
+
function Re() {
|
|
382
|
+
return cr || (cr = 1, (function(e) {
|
|
383
383
|
(function() {
|
|
384
384
|
var a = {}.hasOwnProperty;
|
|
385
385
|
function n() {
|
|
@@ -408,14 +408,14 @@ function Ee() {
|
|
|
408
408
|
}
|
|
409
409
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
410
410
|
})();
|
|
411
|
-
})(
|
|
411
|
+
})(_r)), _r.exports;
|
|
412
412
|
}
|
|
413
|
-
var
|
|
414
|
-
const
|
|
413
|
+
var Be = Re();
|
|
414
|
+
const Ee = /* @__PURE__ */ Ze(Be), Fe = {
|
|
415
415
|
"purpur-field-helper-text": "_purpur-field-helper-text_11nsh_1",
|
|
416
416
|
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_11nsh_9",
|
|
417
417
|
"purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_11nsh_12"
|
|
418
|
-
},
|
|
418
|
+
}, De = Ee.bind(Fe), R = "purpur-field-helper-text", Ge = ({
|
|
419
419
|
children: e,
|
|
420
420
|
className: a,
|
|
421
421
|
disabled: n,
|
|
@@ -423,18 +423,18 @@ const Ge = /* @__PURE__ */ Be(Fe), De = {
|
|
|
423
423
|
negative: p,
|
|
424
424
|
...r
|
|
425
425
|
}) => {
|
|
426
|
-
const t =
|
|
427
|
-
[`${
|
|
428
|
-
[`${
|
|
426
|
+
const t = De(a, R, {
|
|
427
|
+
[`${R}--disabled`]: n,
|
|
428
|
+
[`${R}--negative`]: p
|
|
429
429
|
});
|
|
430
430
|
return /* @__PURE__ */ o("span", { id: u, className: t, ...r, children: e });
|
|
431
431
|
};
|
|
432
|
-
function
|
|
432
|
+
function We(e) {
|
|
433
433
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
434
434
|
}
|
|
435
|
-
var
|
|
436
|
-
function
|
|
437
|
-
return
|
|
435
|
+
var dr = { exports: {} }, gr;
|
|
436
|
+
function Je() {
|
|
437
|
+
return gr || (gr = 1, (function(e) {
|
|
438
438
|
(function() {
|
|
439
439
|
var a = {}.hasOwnProperty;
|
|
440
440
|
function n() {
|
|
@@ -463,10 +463,10 @@ function Qe() {
|
|
|
463
463
|
}
|
|
464
464
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
465
465
|
})();
|
|
466
|
-
})(
|
|
466
|
+
})(dr)), dr.exports;
|
|
467
467
|
}
|
|
468
|
-
var
|
|
469
|
-
const
|
|
468
|
+
var Ke = Je();
|
|
469
|
+
const Qe = /* @__PURE__ */ We(Ke), Ue = {
|
|
470
470
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
471
471
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
472
472
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -474,95 +474,86 @@ const Xe = /* @__PURE__ */ Ke(Ue), Ye = {
|
|
|
474
474
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
475
475
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
476
476
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
477
|
-
},
|
|
477
|
+
}, Xe = Qe.bind(Ue), mr = "purpur-icon", Ye = "md", rt = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), et = ({ content: e = "", title: a } = {}) => {
|
|
478
478
|
const n = [
|
|
479
479
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
480
480
|
{ name: "fill", value: "currentColor" },
|
|
481
481
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
482
482
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
483
483
|
], u = a ? `<title>${a}</title>` : "";
|
|
484
|
-
return `<svg ${
|
|
485
|
-
},
|
|
486
|
-
const r =
|
|
487
|
-
content:
|
|
484
|
+
return `<svg ${rt(n)}>${u}${e}</svg>`;
|
|
485
|
+
}, tt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), J = ({ svg: e, allyTitle: a, className: n, size: u = Ye, ...p }) => {
|
|
486
|
+
const r = et({
|
|
487
|
+
content: tt(e.svg),
|
|
488
488
|
title: a
|
|
489
|
-
}), t =
|
|
489
|
+
}), t = Xe(mr, `${mr}--${u}`, n);
|
|
490
490
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
491
491
|
};
|
|
492
|
-
|
|
493
|
-
const
|
|
492
|
+
J.displayName = "Icon";
|
|
493
|
+
const nt = {
|
|
494
494
|
name: "check-circle-filled",
|
|
495
495
|
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>',
|
|
496
496
|
keywords: ["check-circle-filled"],
|
|
497
497
|
category: "status"
|
|
498
|
-
},
|
|
499
|
-
|
|
500
|
-
const
|
|
498
|
+
}, Br = (e) => /* @__PURE__ */ o(J, { ...e, svg: nt });
|
|
499
|
+
Br.displayName = "IconCheckCircleFilled";
|
|
500
|
+
const it = {
|
|
501
501
|
name: "chevron-down",
|
|
502
502
|
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>',
|
|
503
503
|
keywords: ["chevron-down"],
|
|
504
504
|
category: "utility"
|
|
505
|
-
},
|
|
506
|
-
|
|
507
|
-
function
|
|
505
|
+
}, Er = (e) => /* @__PURE__ */ o(J, { ...e, svg: it });
|
|
506
|
+
Er.displayName = "IconChevronDown";
|
|
507
|
+
function fr(e, a) {
|
|
508
508
|
if (typeof e == "function")
|
|
509
509
|
return e(a);
|
|
510
510
|
e != null && (e.current = a);
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function at(...e) {
|
|
513
513
|
return (a) => {
|
|
514
514
|
let n = !1;
|
|
515
515
|
const u = e.map((p) => {
|
|
516
|
-
const r =
|
|
516
|
+
const r = fr(p, a);
|
|
517
517
|
return !n && typeof r == "function" && (n = !0), r;
|
|
518
518
|
});
|
|
519
519
|
if (n)
|
|
520
520
|
return () => {
|
|
521
521
|
for (let p = 0; p < u.length; p++) {
|
|
522
522
|
const r = u[p];
|
|
523
|
-
typeof r == "function" ? r() :
|
|
523
|
+
typeof r == "function" ? r() : fr(e[p], null);
|
|
524
524
|
}
|
|
525
525
|
};
|
|
526
526
|
};
|
|
527
527
|
}
|
|
528
|
-
var ot = Symbol.for("react.lazy"), I = d[" use ".trim().toString()];
|
|
529
|
-
function lt(e) {
|
|
530
|
-
return typeof e == "object" && e !== null && "then" in e;
|
|
531
|
-
}
|
|
532
|
-
function Gr(e) {
|
|
533
|
-
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === ot && "_payload" in e && lt(e._payload);
|
|
534
|
-
}
|
|
535
528
|
// @__NO_SIDE_EFFECTS__
|
|
536
|
-
function
|
|
537
|
-
const a = /* @__PURE__ */
|
|
538
|
-
|
|
539
|
-
Gr(r) && typeof I == "function" && (r = I(r._payload));
|
|
540
|
-
const i = d.Children.toArray(r), c = i.find(dt);
|
|
529
|
+
function pt(e) {
|
|
530
|
+
const a = /* @__PURE__ */ ut(e), n = f.forwardRef((u, p) => {
|
|
531
|
+
const { children: r, ...t } = u, i = f.Children.toArray(r), c = i.find(lt);
|
|
541
532
|
if (c) {
|
|
542
|
-
const
|
|
543
|
-
return /* @__PURE__ */ o(a, { ...t, ref: p, children:
|
|
533
|
+
const d = c.props.children, x = i.map((l) => l === c ? f.Children.count(d) > 1 ? f.Children.only(null) : f.isValidElement(d) ? d.props.children : null : l);
|
|
534
|
+
return /* @__PURE__ */ o(a, { ...t, ref: p, children: f.isValidElement(d) ? f.cloneElement(d, void 0, x) : null });
|
|
544
535
|
}
|
|
545
536
|
return /* @__PURE__ */ o(a, { ...t, ref: p, children: r });
|
|
546
537
|
});
|
|
547
538
|
return n.displayName = `${e}.Slot`, n;
|
|
548
539
|
}
|
|
549
540
|
// @__NO_SIDE_EFFECTS__
|
|
550
|
-
function
|
|
551
|
-
const a =
|
|
552
|
-
|
|
553
|
-
if (
|
|
554
|
-
const t =
|
|
555
|
-
return p.type !==
|
|
541
|
+
function ut(e) {
|
|
542
|
+
const a = f.forwardRef((n, u) => {
|
|
543
|
+
const { children: p, ...r } = n;
|
|
544
|
+
if (f.isValidElement(p)) {
|
|
545
|
+
const t = _t(p), i = st(r, p.props);
|
|
546
|
+
return p.type !== f.Fragment && (i.ref = u ? at(u, t) : t), f.cloneElement(p, i);
|
|
556
547
|
}
|
|
557
|
-
return
|
|
548
|
+
return f.Children.count(p) > 1 ? f.Children.only(null) : null;
|
|
558
549
|
});
|
|
559
550
|
return a.displayName = `${e}.SlotClone`, a;
|
|
560
551
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return
|
|
552
|
+
var ot = Symbol("radix.slottable");
|
|
553
|
+
function lt(e) {
|
|
554
|
+
return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ot;
|
|
564
555
|
}
|
|
565
|
-
function
|
|
556
|
+
function st(e, a) {
|
|
566
557
|
const n = { ...a };
|
|
567
558
|
for (const u in a) {
|
|
568
559
|
const p = e[u], r = a[u];
|
|
@@ -573,11 +564,11 @@ function gt(e, a) {
|
|
|
573
564
|
}
|
|
574
565
|
return { ...e, ...n };
|
|
575
566
|
}
|
|
576
|
-
function
|
|
567
|
+
function _t(e) {
|
|
577
568
|
let a = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = a && "isReactWarning" in a && a.isReactWarning;
|
|
578
569
|
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);
|
|
579
570
|
}
|
|
580
|
-
var
|
|
571
|
+
var ct = [
|
|
581
572
|
"a",
|
|
582
573
|
"button",
|
|
583
574
|
"div",
|
|
@@ -595,14 +586,14 @@ var ft = [
|
|
|
595
586
|
"span",
|
|
596
587
|
"svg",
|
|
597
588
|
"ul"
|
|
598
|
-
],
|
|
599
|
-
const n = /* @__PURE__ */
|
|
589
|
+
], dt = ct.reduce((e, a) => {
|
|
590
|
+
const n = /* @__PURE__ */ pt(`Primitive.${a}`), u = f.forwardRef((p, r) => {
|
|
600
591
|
const { asChild: t, ...i } = p, c = t ? n : a;
|
|
601
592
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(c, { ...i, ref: r });
|
|
602
593
|
});
|
|
603
594
|
return u.displayName = `Primitive.${a}`, { ...e, [a]: u };
|
|
604
|
-
}, {}),
|
|
605
|
-
|
|
595
|
+
}, {}), gt = "Label", Fr = f.forwardRef((e, a) => /* @__PURE__ */ o(
|
|
596
|
+
dt.label,
|
|
606
597
|
{
|
|
607
598
|
...e,
|
|
608
599
|
ref: a,
|
|
@@ -611,14 +602,14 @@ var ft = [
|
|
|
611
602
|
}
|
|
612
603
|
}
|
|
613
604
|
));
|
|
614
|
-
|
|
615
|
-
var
|
|
616
|
-
function
|
|
605
|
+
Fr.displayName = gt;
|
|
606
|
+
var mt = Fr;
|
|
607
|
+
function ft(e) {
|
|
617
608
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
618
609
|
}
|
|
619
|
-
var
|
|
620
|
-
function
|
|
621
|
-
return
|
|
610
|
+
var vr = { exports: {} }, hr;
|
|
611
|
+
function vt() {
|
|
612
|
+
return hr || (hr = 1, (function(e) {
|
|
622
613
|
(function() {
|
|
623
614
|
var a = {}.hasOwnProperty;
|
|
624
615
|
function n() {
|
|
@@ -647,32 +638,32 @@ function xt() {
|
|
|
647
638
|
}
|
|
648
639
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
649
640
|
})();
|
|
650
|
-
})(
|
|
641
|
+
})(vr)), vr.exports;
|
|
651
642
|
}
|
|
652
|
-
var
|
|
653
|
-
const
|
|
643
|
+
var ht = vt();
|
|
644
|
+
const yt = /* @__PURE__ */ ft(ht), $t = {
|
|
654
645
|
"purpur-label": "_purpur-label_1x80u_1",
|
|
655
646
|
"purpur-label--negative": "_purpur-label--negative_1x80u_8",
|
|
656
647
|
"purpur-label--disabled": "_purpur-label--disabled_1x80u_11"
|
|
657
|
-
},
|
|
648
|
+
}, xt = yt.bind($t), B = "purpur-label", bt = ({
|
|
658
649
|
children: e,
|
|
659
650
|
className: a,
|
|
660
651
|
disabled: n,
|
|
661
652
|
negative: u = !1,
|
|
662
653
|
...p
|
|
663
654
|
}) => {
|
|
664
|
-
const r =
|
|
665
|
-
[`${
|
|
666
|
-
[`${
|
|
655
|
+
const r = xt(a, B, {
|
|
656
|
+
[`${B}--disabled`]: n,
|
|
657
|
+
[`${B}--negative`]: u
|
|
667
658
|
});
|
|
668
|
-
return /* @__PURE__ */ o(
|
|
659
|
+
return /* @__PURE__ */ o(mt, { className: r, ...p, children: e });
|
|
669
660
|
};
|
|
670
|
-
function
|
|
661
|
+
function wt(e) {
|
|
671
662
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
672
663
|
}
|
|
673
|
-
var
|
|
674
|
-
function
|
|
675
|
-
return
|
|
664
|
+
var yr = { exports: {} }, $r;
|
|
665
|
+
function jt() {
|
|
666
|
+
return $r || ($r = 1, (function(e) {
|
|
676
667
|
(function() {
|
|
677
668
|
var a = {}.hasOwnProperty;
|
|
678
669
|
function n() {
|
|
@@ -701,48 +692,48 @@ function kt() {
|
|
|
701
692
|
}
|
|
702
693
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
703
694
|
})();
|
|
704
|
-
})(
|
|
695
|
+
})(yr)), yr.exports;
|
|
705
696
|
}
|
|
706
|
-
var
|
|
707
|
-
const
|
|
697
|
+
var Nt = jt();
|
|
698
|
+
const St = /* @__PURE__ */ wt(Nt), Ct = "_rotate_12t9p_1", kt = "_dash_12t9p_1", zt = {
|
|
708
699
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
709
|
-
rotate:
|
|
700
|
+
rotate: Ct,
|
|
710
701
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
711
702
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
712
703
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
713
704
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
714
705
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
715
706
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
716
|
-
dash:
|
|
707
|
+
dash: kt,
|
|
717
708
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
718
709
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
719
|
-
},
|
|
710
|
+
}, xr = St.bind(zt), A = "purpur-spinner", Ot = {
|
|
720
711
|
SM: "sm"
|
|
721
|
-
},
|
|
712
|
+
}, Dr = ({
|
|
722
713
|
disabled: e = !1,
|
|
723
714
|
negative: a = !1,
|
|
724
|
-
size: n =
|
|
715
|
+
size: n = Ot.SM,
|
|
725
716
|
className: u,
|
|
726
717
|
...p
|
|
727
|
-
}) => /* @__PURE__ */ o("div", { className:
|
|
718
|
+
}) => /* @__PURE__ */ o("div", { className: xr(A, `${A}--${n}`, u), ...p, children: /* @__PURE__ */ o("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ o(
|
|
728
719
|
"circle",
|
|
729
720
|
{
|
|
730
|
-
className:
|
|
731
|
-
[`${
|
|
732
|
-
[`${
|
|
721
|
+
className: xr(`${A}__circle`, {
|
|
722
|
+
[`${A}__circle--disabled`]: e,
|
|
723
|
+
[`${A}__circle--negative`]: a
|
|
733
724
|
}),
|
|
734
725
|
cx: "25",
|
|
735
726
|
cy: "25",
|
|
736
727
|
r: "20"
|
|
737
728
|
}
|
|
738
729
|
) }) });
|
|
739
|
-
|
|
740
|
-
function
|
|
730
|
+
Dr.displayName = "Spinner";
|
|
731
|
+
function Pt(e) {
|
|
741
732
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
742
733
|
}
|
|
743
|
-
var
|
|
744
|
-
function
|
|
745
|
-
return
|
|
734
|
+
var br = { exports: {} }, wr;
|
|
735
|
+
function qt() {
|
|
736
|
+
return wr || (wr = 1, (function(e) {
|
|
746
737
|
(function() {
|
|
747
738
|
var a = {}.hasOwnProperty;
|
|
748
739
|
function n() {
|
|
@@ -771,30 +762,30 @@ function Vt() {
|
|
|
771
762
|
}
|
|
772
763
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
773
764
|
})();
|
|
774
|
-
})(
|
|
765
|
+
})(br)), br.exports;
|
|
775
766
|
}
|
|
776
|
-
var
|
|
777
|
-
const
|
|
778
|
-
"purpur-select": "_purpur-
|
|
779
|
-
"purpur-select__label": "_purpur-
|
|
780
|
-
"purpur-select__field-row": "_purpur-select__field-
|
|
781
|
-
"purpur-select__frame": "_purpur-
|
|
782
|
-
"purpur-select__frame--negative": "_purpur-select__frame--
|
|
783
|
-
"purpur-select__select-container": "_purpur-select__select-
|
|
784
|
-
"purpur-select__select-container--disabled": "_purpur-select__select-container--
|
|
785
|
-
"purpur-select__select-container--readonly": "_purpur-select__select-container--
|
|
786
|
-
"purpur-select__select-container--negative": "_purpur-select__select-container--
|
|
787
|
-
"purpur-select__select": "_purpur-
|
|
788
|
-
"purpur-select__select--error": "_purpur-select__select--
|
|
789
|
-
"purpur-select__select--is-valid": "_purpur-select__select--is-
|
|
790
|
-
"purpur-select__select--negative": "_purpur-select__select--
|
|
791
|
-
"purpur-select__end-adornments": "_purpur-select__end-
|
|
792
|
-
"purpur-select__select-icon": "_purpur-select__select-
|
|
793
|
-
"purpur-select__select-icon--readonly": "_purpur-select__select-icon--
|
|
794
|
-
"purpur-select__select-icon--disabled": "_purpur-select__select-icon--
|
|
795
|
-
"purpur-select__select-icon--negative": "_purpur-select__select-icon--
|
|
796
|
-
"purpur-select__valid-icon": "_purpur-select__valid-
|
|
797
|
-
}, w =
|
|
767
|
+
var At = qt();
|
|
768
|
+
const Mt = /* @__PURE__ */ Pt(At), Tt = {
|
|
769
|
+
"purpur-select": "_purpur-select_a9qjf_1",
|
|
770
|
+
"purpur-select__label": "_purpur-select__label_a9qjf_7",
|
|
771
|
+
"purpur-select__field-row": "_purpur-select__field-row_a9qjf_12",
|
|
772
|
+
"purpur-select__frame": "_purpur-select__frame_a9qjf_16",
|
|
773
|
+
"purpur-select__frame--negative": "_purpur-select__frame--negative_a9qjf_23",
|
|
774
|
+
"purpur-select__select-container": "_purpur-select__select-container_a9qjf_26",
|
|
775
|
+
"purpur-select__select-container--disabled": "_purpur-select__select-container--disabled_a9qjf_34",
|
|
776
|
+
"purpur-select__select-container--readonly": "_purpur-select__select-container--readonly_a9qjf_37",
|
|
777
|
+
"purpur-select__select-container--negative": "_purpur-select__select-container--negative_a9qjf_40",
|
|
778
|
+
"purpur-select__select": "_purpur-select__select_a9qjf_26",
|
|
779
|
+
"purpur-select__select--error": "_purpur-select__select--error_a9qjf_98",
|
|
780
|
+
"purpur-select__select--is-valid": "_purpur-select__select--is-valid_a9qjf_104",
|
|
781
|
+
"purpur-select__select--negative": "_purpur-select__select--negative_a9qjf_110",
|
|
782
|
+
"purpur-select__end-adornments": "_purpur-select__end-adornments_a9qjf_123",
|
|
783
|
+
"purpur-select__select-icon": "_purpur-select__select-icon_a9qjf_133",
|
|
784
|
+
"purpur-select__select-icon--readonly": "_purpur-select__select-icon--readonly_a9qjf_136",
|
|
785
|
+
"purpur-select__select-icon--disabled": "_purpur-select__select-icon--disabled_a9qjf_136",
|
|
786
|
+
"purpur-select__select-icon--negative": "_purpur-select__select-icon--negative_a9qjf_139",
|
|
787
|
+
"purpur-select__valid-icon": "_purpur-select__valid-icon_a9qjf_145"
|
|
788
|
+
}, w = Mt.bind(Tt), s = "purpur-select", Gr = te(
|
|
798
789
|
({
|
|
799
790
|
label: e,
|
|
800
791
|
options: a,
|
|
@@ -805,11 +796,11 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
805
796
|
placeholder: t,
|
|
806
797
|
readOnly: i = !1,
|
|
807
798
|
["data-testid"]: c,
|
|
808
|
-
valid:
|
|
799
|
+
valid: d,
|
|
809
800
|
loading: x,
|
|
810
801
|
...l
|
|
811
|
-
},
|
|
812
|
-
const $ = (P) => c ? `${c}-${P}` : void 0, b =
|
|
802
|
+
}, g) => {
|
|
803
|
+
const $ = (P) => c ? `${c}-${P}` : void 0, b = d && !u, S = D(), m = l.id ?? S, h = p ? `${m}-helper-text` : void 0, C = w(`${s}__select-container`, {
|
|
813
804
|
[`${s}__select-container--disabled`]: l.disabled,
|
|
814
805
|
[`${s}__select-container--readonly`]: i && !l.disabled,
|
|
815
806
|
[`${s}__select-container--negative`]: r
|
|
@@ -827,9 +818,9 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
827
818
|
}),
|
|
828
819
|
children: [
|
|
829
820
|
e && /* @__PURE__ */ v(
|
|
830
|
-
|
|
821
|
+
bt,
|
|
831
822
|
{
|
|
832
|
-
htmlFor:
|
|
823
|
+
htmlFor: m,
|
|
833
824
|
className: w(`${s}__label`),
|
|
834
825
|
"data-testid": $("label"),
|
|
835
826
|
disabled: l.disabled,
|
|
@@ -846,8 +837,8 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
846
837
|
{
|
|
847
838
|
...l,
|
|
848
839
|
onChange: i ? void 0 : l?.onChange,
|
|
849
|
-
id:
|
|
850
|
-
ref:
|
|
840
|
+
id: m,
|
|
841
|
+
ref: g,
|
|
851
842
|
"data-testid": $("select"),
|
|
852
843
|
"aria-describedby": l["aria-describedby"] || h,
|
|
853
844
|
"aria-invalid": l["aria-invalid"] || !!u,
|
|
@@ -861,14 +852,14 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
861
852
|
children: [
|
|
862
853
|
t && /* @__PURE__ */ o("option", { value: t.value ?? t.label, disabled: !0, children: t.label }),
|
|
863
854
|
a.map(
|
|
864
|
-
(P,
|
|
855
|
+
(P, X) => Vt(P) ? It(P, m, X, i) : Wr(P, m, X, i)
|
|
865
856
|
)
|
|
866
857
|
]
|
|
867
858
|
}
|
|
868
859
|
),
|
|
869
860
|
/* @__PURE__ */ v("div", { className: w(`${s}__end-adornments`), children: [
|
|
870
861
|
x ? /* @__PURE__ */ o(
|
|
871
|
-
|
|
862
|
+
Dr,
|
|
872
863
|
{
|
|
873
864
|
disabled: l.disabled,
|
|
874
865
|
size: "xxs",
|
|
@@ -877,7 +868,7 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
877
868
|
},
|
|
878
869
|
"spinner"
|
|
879
870
|
) : /* @__PURE__ */ o(
|
|
880
|
-
|
|
871
|
+
Er,
|
|
881
872
|
{
|
|
882
873
|
className: w(`${s}__select-icon`, {
|
|
883
874
|
[`${s}__select-icon--disabled`]: l.disabled,
|
|
@@ -891,7 +882,7 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
891
882
|
"chevron-down-icon"
|
|
892
883
|
),
|
|
893
884
|
b && /* @__PURE__ */ o(
|
|
894
|
-
|
|
885
|
+
Br,
|
|
895
886
|
{
|
|
896
887
|
"data-testid": $("valid-icon"),
|
|
897
888
|
className: w(`${s}__valid-icon`)
|
|
@@ -909,7 +900,7 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
909
900
|
)
|
|
910
901
|
] }) }),
|
|
911
902
|
h && /* @__PURE__ */ o(
|
|
912
|
-
|
|
903
|
+
Ge,
|
|
913
904
|
{
|
|
914
905
|
disabled: l.disabled,
|
|
915
906
|
"data-testid": $("helper-text"),
|
|
@@ -918,15 +909,15 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
918
909
|
children: p
|
|
919
910
|
}
|
|
920
911
|
),
|
|
921
|
-
u && /* @__PURE__ */ o(
|
|
912
|
+
u && /* @__PURE__ */ o(Le, { negative: r, "data-testid": $("error-text"), children: u })
|
|
922
913
|
]
|
|
923
914
|
}
|
|
924
915
|
);
|
|
925
916
|
}
|
|
926
|
-
),
|
|
917
|
+
), Vt = (e) => e.hasOwnProperty("options"), It = (e, a, n, u) => {
|
|
927
918
|
const p = `${a}--group--${n}`;
|
|
928
|
-
return /* @__PURE__ */ o("optgroup", { label: e.label, children: e.options.map((r, t) =>
|
|
929
|
-
},
|
|
919
|
+
return /* @__PURE__ */ o("optgroup", { label: e.label, children: e.options.map((r, t) => Wr(r, p, t, u)) }, p);
|
|
920
|
+
}, Wr = (e, a, n, u) => /* @__PURE__ */ o(
|
|
930
921
|
"option",
|
|
931
922
|
{
|
|
932
923
|
value: e.value ?? e.label,
|
|
@@ -935,13 +926,13 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
935
926
|
},
|
|
936
927
|
`${a}--option--${n}`
|
|
937
928
|
);
|
|
938
|
-
|
|
939
|
-
function
|
|
929
|
+
Gr.displayName = "Select";
|
|
930
|
+
function Ht(e) {
|
|
940
931
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
941
932
|
}
|
|
942
|
-
var
|
|
933
|
+
var E = { exports: {} };
|
|
943
934
|
var jr;
|
|
944
|
-
function
|
|
935
|
+
function Lt() {
|
|
945
936
|
return jr || (jr = 1, (function(e) {
|
|
946
937
|
(function() {
|
|
947
938
|
var a = {}.hasOwnProperty;
|
|
@@ -971,10 +962,10 @@ function Et() {
|
|
|
971
962
|
}
|
|
972
963
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
973
964
|
})();
|
|
974
|
-
})(
|
|
965
|
+
})(E)), E.exports;
|
|
975
966
|
}
|
|
976
|
-
var
|
|
977
|
-
const
|
|
967
|
+
var Zt = Lt();
|
|
968
|
+
const K = /* @__PURE__ */ Ht(Zt), _ = "purpur-footer", Q = {
|
|
978
969
|
"purpur-footer": "_purpur-footer_1jrwm_1",
|
|
979
970
|
"purpur-footer__container": "_purpur-footer__container_1jrwm_8",
|
|
980
971
|
"purpur-footer__logo": "_purpur-footer__logo_1jrwm_29",
|
|
@@ -999,12 +990,12 @@ const Q = /* @__PURE__ */ Bt(Ft), _ = "purpur-footer", U = {
|
|
|
999
990
|
"purpur-footer__additional-links": "_purpur-footer__additional-links_1jrwm_271",
|
|
1000
991
|
"purpur-footer__custom-content": "_purpur-footer__custom-content_1jrwm_283"
|
|
1001
992
|
};
|
|
1002
|
-
function
|
|
993
|
+
function Rt(e) {
|
|
1003
994
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1004
995
|
}
|
|
1005
|
-
var
|
|
1006
|
-
function
|
|
1007
|
-
return
|
|
996
|
+
var Nr = { exports: {} }, Sr;
|
|
997
|
+
function Bt() {
|
|
998
|
+
return Sr || (Sr = 1, (function(e) {
|
|
1008
999
|
(function() {
|
|
1009
1000
|
var a = {}.hasOwnProperty;
|
|
1010
1001
|
function n() {
|
|
@@ -1033,10 +1024,10 @@ function Dt() {
|
|
|
1033
1024
|
}
|
|
1034
1025
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1035
1026
|
})();
|
|
1036
|
-
})(
|
|
1027
|
+
})(Nr)), Nr.exports;
|
|
1037
1028
|
}
|
|
1038
|
-
var
|
|
1039
|
-
const
|
|
1029
|
+
var Et = Bt();
|
|
1030
|
+
const Ft = /* @__PURE__ */ Rt(Et), T = {
|
|
1040
1031
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
1041
1032
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
1042
1033
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -1056,18 +1047,18 @@ const Jt = /* @__PURE__ */ Gt(Wt), T = {
|
|
|
1056
1047
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
1057
1048
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
1058
1049
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
1059
|
-
},
|
|
1050
|
+
}, Dt = {
|
|
1060
1051
|
TITLE100: "title-100"
|
|
1061
|
-
}, V = "purpur-heading",
|
|
1052
|
+
}, V = "purpur-heading", U = ({
|
|
1062
1053
|
children: e,
|
|
1063
1054
|
className: a = "",
|
|
1064
1055
|
enableHyphenation: n = !1,
|
|
1065
1056
|
negative: u = !1,
|
|
1066
1057
|
tag: p,
|
|
1067
|
-
variant: r =
|
|
1058
|
+
variant: r = Dt.TITLE100,
|
|
1068
1059
|
...t
|
|
1069
1060
|
}) => {
|
|
1070
|
-
const i = p, c =
|
|
1061
|
+
const i = p, c = Ft([
|
|
1071
1062
|
a,
|
|
1072
1063
|
T[V],
|
|
1073
1064
|
T[`${V}--${r}`],
|
|
@@ -1078,13 +1069,13 @@ const Jt = /* @__PURE__ */ Gt(Wt), T = {
|
|
|
1078
1069
|
]);
|
|
1079
1070
|
return /* @__PURE__ */ o(i, { className: c, ...t, children: e });
|
|
1080
1071
|
};
|
|
1081
|
-
|
|
1082
|
-
function
|
|
1072
|
+
U.displayName = "Heading";
|
|
1073
|
+
function Gt(e) {
|
|
1083
1074
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1084
1075
|
}
|
|
1085
|
-
var
|
|
1086
|
-
function
|
|
1087
|
-
return
|
|
1076
|
+
var Cr = { exports: {} }, kr;
|
|
1077
|
+
function Wt() {
|
|
1078
|
+
return kr || (kr = 1, (function(e) {
|
|
1088
1079
|
(function() {
|
|
1089
1080
|
var a = {}.hasOwnProperty;
|
|
1090
1081
|
function n() {
|
|
@@ -1113,20 +1104,20 @@ function Ut() {
|
|
|
1113
1104
|
}
|
|
1114
1105
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1115
1106
|
})();
|
|
1116
|
-
})(
|
|
1107
|
+
})(Cr)), Cr.exports;
|
|
1117
1108
|
}
|
|
1118
|
-
var
|
|
1119
|
-
const
|
|
1109
|
+
var Jt = Wt();
|
|
1110
|
+
const Jr = /* @__PURE__ */ Gt(Jt), Kt = {
|
|
1120
1111
|
"purpur-accordion": "_purpur-accordion_mwmy0_1",
|
|
1121
1112
|
"purpur-accordion__title": "_purpur-accordion__title_mwmy0_4",
|
|
1122
1113
|
"purpur-accordion--negative": "_purpur-accordion--negative_mwmy0_13"
|
|
1123
1114
|
};
|
|
1124
|
-
function
|
|
1115
|
+
function Qt(e) {
|
|
1125
1116
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1126
1117
|
}
|
|
1127
|
-
var
|
|
1128
|
-
function
|
|
1129
|
-
return
|
|
1118
|
+
var zr = { exports: {} }, Or;
|
|
1119
|
+
function Ut() {
|
|
1120
|
+
return Or || (Or = 1, (function(e) {
|
|
1130
1121
|
(function() {
|
|
1131
1122
|
var a = {}.hasOwnProperty;
|
|
1132
1123
|
function n() {
|
|
@@ -1155,10 +1146,10 @@ function en() {
|
|
|
1155
1146
|
}
|
|
1156
1147
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1157
1148
|
})();
|
|
1158
|
-
})(
|
|
1149
|
+
})(zr)), zr.exports;
|
|
1159
1150
|
}
|
|
1160
|
-
var
|
|
1161
|
-
const
|
|
1151
|
+
var Xt = Ut();
|
|
1152
|
+
const Yt = /* @__PURE__ */ Qt(Xt), rn = {
|
|
1162
1153
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1163
1154
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1164
1155
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1166,35 +1157,35 @@ const nn = /* @__PURE__ */ rn(tn), an = {
|
|
|
1166
1157
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1167
1158
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1168
1159
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1169
|
-
},
|
|
1160
|
+
}, en = Yt.bind(rn), Pr = "purpur-icon", tn = "md", nn = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), an = ({ content: e = "", title: a } = {}) => {
|
|
1170
1161
|
const n = [
|
|
1171
1162
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1172
1163
|
{ name: "fill", value: "currentColor" },
|
|
1173
1164
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1174
1165
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1175
1166
|
], u = a ? `<title>${a}</title>` : "";
|
|
1176
|
-
return `<svg ${
|
|
1177
|
-
},
|
|
1178
|
-
const r =
|
|
1179
|
-
content:
|
|
1167
|
+
return `<svg ${nn(n)}>${u}${e}</svg>`;
|
|
1168
|
+
}, pn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Kr = ({ svg: e, allyTitle: a, className: n, size: u = tn, ...p }) => {
|
|
1169
|
+
const r = an({
|
|
1170
|
+
content: pn(e.svg),
|
|
1180
1171
|
title: a
|
|
1181
|
-
}), t =
|
|
1172
|
+
}), t = en(Pr, `${Pr}--${u}`, n);
|
|
1182
1173
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
1183
1174
|
};
|
|
1184
|
-
|
|
1185
|
-
const
|
|
1175
|
+
Kr.displayName = "Icon";
|
|
1176
|
+
const un = {
|
|
1186
1177
|
name: "chevron-down",
|
|
1187
1178
|
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>',
|
|
1188
1179
|
keywords: ["chevron-down"],
|
|
1189
1180
|
category: "utility"
|
|
1190
|
-
},
|
|
1191
|
-
|
|
1192
|
-
function
|
|
1181
|
+
}, Qr = (e) => /* @__PURE__ */ o(Kr, { ...e, svg: un });
|
|
1182
|
+
Qr.displayName = "IconChevronDown";
|
|
1183
|
+
function on(e) {
|
|
1193
1184
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1194
1185
|
}
|
|
1195
|
-
var
|
|
1196
|
-
function
|
|
1197
|
-
return
|
|
1186
|
+
var qr = { exports: {} }, Ar;
|
|
1187
|
+
function ln() {
|
|
1188
|
+
return Ar || (Ar = 1, (function(e) {
|
|
1198
1189
|
(function() {
|
|
1199
1190
|
var a = {}.hasOwnProperty;
|
|
1200
1191
|
function n() {
|
|
@@ -1223,10 +1214,10 @@ function dn() {
|
|
|
1223
1214
|
}
|
|
1224
1215
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1225
1216
|
})();
|
|
1226
|
-
})(
|
|
1217
|
+
})(qr)), qr.exports;
|
|
1227
1218
|
}
|
|
1228
|
-
var
|
|
1229
|
-
const
|
|
1219
|
+
var sn = ln();
|
|
1220
|
+
const _n = /* @__PURE__ */ on(sn), cn = {
|
|
1230
1221
|
"purpur-paragraph": "_purpur-paragraph_1vz75_1",
|
|
1231
1222
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1vz75_7",
|
|
1232
1223
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1vz75_10",
|
|
@@ -1242,26 +1233,26 @@ const mn = /* @__PURE__ */ cn(gn), fn = {
|
|
|
1242
1233
|
"purpur-paragraph--additional-100-bold": "_purpur-paragraph--additional-100-bold_1vz75_67",
|
|
1243
1234
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1vz75_74",
|
|
1244
1235
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1vz75_82"
|
|
1245
|
-
},
|
|
1236
|
+
}, dn = _n.bind(cn), gn = {
|
|
1246
1237
|
PARAGRAPH100: "paragraph-100"
|
|
1247
|
-
},
|
|
1238
|
+
}, M = "purpur-paragraph", Ur = ({
|
|
1248
1239
|
children: e,
|
|
1249
1240
|
className: a,
|
|
1250
1241
|
disabled: n,
|
|
1251
1242
|
enableHyphenation: u = !1,
|
|
1252
1243
|
negative: p = !1,
|
|
1253
|
-
variant: r =
|
|
1244
|
+
variant: r = gn.PARAGRAPH100,
|
|
1254
1245
|
...t
|
|
1255
1246
|
}) => {
|
|
1256
|
-
const i =
|
|
1257
|
-
[`${
|
|
1258
|
-
[`${
|
|
1259
|
-
[`${
|
|
1247
|
+
const i = dn(a, M, `${M}--${r}`, {
|
|
1248
|
+
[`${M}--hyphens`]: u,
|
|
1249
|
+
[`${M}--disabled`]: n,
|
|
1250
|
+
[`${M}--negative`]: p
|
|
1260
1251
|
});
|
|
1261
1252
|
return /* @__PURE__ */ o("p", { ...t, className: i, children: e });
|
|
1262
1253
|
};
|
|
1263
|
-
|
|
1264
|
-
const
|
|
1254
|
+
Ur.displayName = "Paragraph";
|
|
1255
|
+
const mn = {
|
|
1265
1256
|
"purpur-accordion-item": "_purpur-accordion-item_1du2l_1",
|
|
1266
1257
|
"purpur-accordion-item__trigger": "_purpur-accordion-item__trigger_1du2l_4",
|
|
1267
1258
|
"purpur-accordion-item__header": "_purpur-accordion-item__header_1du2l_10",
|
|
@@ -1273,7 +1264,7 @@ const yn = {
|
|
|
1273
1264
|
"purpur-accordion-item__contentText": "_purpur-accordion-item__contentText_1du2l_82",
|
|
1274
1265
|
"purpur-accordion-item__contentText--limit-width": "_purpur-accordion-item__contentText--limit-width_1du2l_85",
|
|
1275
1266
|
"purpur-accordion-item--negative": "_purpur-accordion-item--negative_1du2l_107"
|
|
1276
|
-
}, z =
|
|
1267
|
+
}, z = Jr.bind(mn), j = "purpur-accordion-item", fn = ({
|
|
1277
1268
|
children: e,
|
|
1278
1269
|
className: a,
|
|
1279
1270
|
fullWidth: n = !1,
|
|
@@ -1283,39 +1274,39 @@ const yn = {
|
|
|
1283
1274
|
onClick: t,
|
|
1284
1275
|
onOpen: i,
|
|
1285
1276
|
onClose: c,
|
|
1286
|
-
...
|
|
1277
|
+
...d
|
|
1287
1278
|
}) => {
|
|
1288
|
-
const x =
|
|
1289
|
-
|
|
1279
|
+
const x = ie(Xr), l = D(), [g, $] = ae(!r), b = z([
|
|
1280
|
+
j,
|
|
1290
1281
|
{
|
|
1291
|
-
[`${
|
|
1282
|
+
[`${j}--negative`]: x
|
|
1292
1283
|
},
|
|
1293
1284
|
a
|
|
1294
1285
|
]);
|
|
1295
|
-
return /* @__PURE__ */ v("div", { className: b, ...
|
|
1286
|
+
return /* @__PURE__ */ v("div", { className: b, ...d, children: [
|
|
1296
1287
|
/* @__PURE__ */ o(
|
|
1297
|
-
|
|
1288
|
+
U,
|
|
1298
1289
|
{
|
|
1299
1290
|
tag: p,
|
|
1300
1291
|
variant: "title-100",
|
|
1301
|
-
className: z([`${
|
|
1292
|
+
className: z([`${j}__header`, `${j}__title`]),
|
|
1302
1293
|
children: /* @__PURE__ */ v(
|
|
1303
1294
|
"button",
|
|
1304
1295
|
{
|
|
1305
1296
|
type: "button",
|
|
1306
|
-
"data-state":
|
|
1297
|
+
"data-state": g ? "open" : "close",
|
|
1307
1298
|
onClick: (S) => {
|
|
1308
|
-
t && t(S),
|
|
1299
|
+
t && t(S), g ? i && i() : c && c(), $(!g);
|
|
1309
1300
|
},
|
|
1310
|
-
className: z(`${
|
|
1311
|
-
[`${
|
|
1301
|
+
className: z(`${j}__trigger`, a, {
|
|
1302
|
+
[`${j}__rotate`]: !g
|
|
1312
1303
|
}),
|
|
1313
|
-
"aria-expanded": !
|
|
1304
|
+
"aria-expanded": !g,
|
|
1314
1305
|
"aria-controls": l,
|
|
1315
1306
|
id: l + "button",
|
|
1316
1307
|
children: [
|
|
1317
1308
|
u,
|
|
1318
|
-
/* @__PURE__ */ o(
|
|
1309
|
+
/* @__PURE__ */ o(Qr, { size: "md", className: z(`${j}__icon`), "aria-hidden": !0 })
|
|
1319
1310
|
]
|
|
1320
1311
|
}
|
|
1321
1312
|
)
|
|
@@ -1324,24 +1315,24 @@ const yn = {
|
|
|
1324
1315
|
/* @__PURE__ */ o(
|
|
1325
1316
|
"div",
|
|
1326
1317
|
{
|
|
1327
|
-
className: z(`${
|
|
1328
|
-
"aria-hidden":
|
|
1318
|
+
className: z(`${j}__content`, a),
|
|
1319
|
+
"aria-hidden": g,
|
|
1329
1320
|
id: l,
|
|
1330
1321
|
"aria-labelledby": l + "button",
|
|
1331
1322
|
role: "region",
|
|
1332
1323
|
children: /* @__PURE__ */ o(
|
|
1333
1324
|
"div",
|
|
1334
1325
|
{
|
|
1335
|
-
className: z(`${
|
|
1336
|
-
[`${
|
|
1326
|
+
className: z(`${j}__contentText`, {
|
|
1327
|
+
[`${j}__contentText--limit-width`]: !n
|
|
1337
1328
|
}),
|
|
1338
|
-
children: typeof e == "string" ? /* @__PURE__ */ o(
|
|
1329
|
+
children: typeof e == "string" ? /* @__PURE__ */ o(Ur, { variant: "paragraph-200", children: e }) : e
|
|
1339
1330
|
}
|
|
1340
1331
|
)
|
|
1341
1332
|
}
|
|
1342
1333
|
)
|
|
1343
1334
|
] });
|
|
1344
|
-
},
|
|
1335
|
+
}, Mr = Jr.bind(Kt), F = "purpur-accordion", Xr = ne(!1), I = ({
|
|
1345
1336
|
children: e,
|
|
1346
1337
|
className: a,
|
|
1347
1338
|
negative: n = !1,
|
|
@@ -1351,16 +1342,16 @@ const yn = {
|
|
|
1351
1342
|
schema: t,
|
|
1352
1343
|
...i
|
|
1353
1344
|
}) => {
|
|
1354
|
-
const c =
|
|
1355
|
-
|
|
1345
|
+
const c = Mr([
|
|
1346
|
+
F,
|
|
1356
1347
|
{
|
|
1357
|
-
[`${
|
|
1348
|
+
[`${F}--negative`]: n
|
|
1358
1349
|
},
|
|
1359
1350
|
a
|
|
1360
1351
|
]);
|
|
1361
1352
|
return /* @__PURE__ */ v("div", { className: c, ...i, children: [
|
|
1362
|
-
u && /* @__PURE__ */ o(
|
|
1363
|
-
/* @__PURE__ */ o(
|
|
1353
|
+
u && /* @__PURE__ */ o(U, { tag: p, variant: r, className: Mr(`${F}__title`), children: u }),
|
|
1354
|
+
/* @__PURE__ */ o(Xr.Provider, { value: n, children: e }),
|
|
1364
1355
|
t && /* @__PURE__ */ o(
|
|
1365
1356
|
"script",
|
|
1366
1357
|
{
|
|
@@ -1372,9 +1363,9 @@ const yn = {
|
|
|
1372
1363
|
)
|
|
1373
1364
|
] });
|
|
1374
1365
|
};
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
const O =
|
|
1366
|
+
I.Item = fn;
|
|
1367
|
+
I.displayName = "Accordion";
|
|
1368
|
+
const O = K.bind(Q), Tr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul", { children: e.map(({ href: n, text: u, ...p }, r) => /* @__PURE__ */ o("li", { children: a ? /* @__PURE__ */ o(
|
|
1378
1369
|
a,
|
|
1379
1370
|
{
|
|
1380
1371
|
...p,
|
|
@@ -1382,11 +1373,11 @@ const O = Q.bind(U), Vr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul
|
|
|
1382
1373
|
className: O(`${_}__custom-link-navigation`),
|
|
1383
1374
|
children: u
|
|
1384
1375
|
}
|
|
1385
|
-
) : /* @__PURE__ */ o(
|
|
1376
|
+
) : /* @__PURE__ */ o(W, { ...p, variant: "navigation", negative: !0, href: n, disableVisited: !0, children: u }) }, r)) }), vn = ({
|
|
1386
1377
|
navigationLinks: e,
|
|
1387
1378
|
sectionProps: a,
|
|
1388
1379
|
customLink: n
|
|
1389
|
-
}) => /* @__PURE__ */ v(
|
|
1380
|
+
}) => /* @__PURE__ */ v(re, { children: [
|
|
1390
1381
|
/* @__PURE__ */ o(
|
|
1391
1382
|
"section",
|
|
1392
1383
|
{
|
|
@@ -1398,7 +1389,7 @@ const O = Q.bind(U), Vr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul
|
|
|
1398
1389
|
),
|
|
1399
1390
|
children: e.map((u, p) => /* @__PURE__ */ v("div", { className: O(`${_}__navigation-section`), children: [
|
|
1400
1391
|
/* @__PURE__ */ o("h3", { className: O(`${_}__navigation-section-heading`), children: u.heading }),
|
|
1401
|
-
/* @__PURE__ */ o(
|
|
1392
|
+
/* @__PURE__ */ o(Tr, { links: u.links, customLink: n })
|
|
1402
1393
|
] }, p))
|
|
1403
1394
|
}
|
|
1404
1395
|
),
|
|
@@ -1411,25 +1402,25 @@ const O = Q.bind(U), Vr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul
|
|
|
1411
1402
|
`${_}__navigation--sm`,
|
|
1412
1403
|
a?.className
|
|
1413
1404
|
),
|
|
1414
|
-
children: /* @__PURE__ */ o(
|
|
1415
|
-
|
|
1405
|
+
children: /* @__PURE__ */ o(I, { negative: !0, children: e.map((u, p) => /* @__PURE__ */ o(
|
|
1406
|
+
I.Item,
|
|
1416
1407
|
{
|
|
1417
1408
|
title: u.heading,
|
|
1418
1409
|
titleTag: "h2",
|
|
1419
1410
|
className: O(`${_}__navigation-section`),
|
|
1420
|
-
children: /* @__PURE__ */ o(
|
|
1411
|
+
children: /* @__PURE__ */ o(Tr, { links: u.links, customLink: n })
|
|
1421
1412
|
},
|
|
1422
1413
|
p
|
|
1423
1414
|
)) })
|
|
1424
1415
|
}
|
|
1425
1416
|
)
|
|
1426
1417
|
] });
|
|
1427
|
-
function
|
|
1418
|
+
function hn(e) {
|
|
1428
1419
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1429
1420
|
}
|
|
1430
|
-
var
|
|
1431
|
-
function
|
|
1432
|
-
return
|
|
1421
|
+
var Vr = { exports: {} }, Ir;
|
|
1422
|
+
function yn() {
|
|
1423
|
+
return Ir || (Ir = 1, (function(e) {
|
|
1433
1424
|
(function() {
|
|
1434
1425
|
var a = {}.hasOwnProperty;
|
|
1435
1426
|
function n() {
|
|
@@ -1458,10 +1449,10 @@ function wn() {
|
|
|
1458
1449
|
}
|
|
1459
1450
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1460
1451
|
})();
|
|
1461
|
-
})(
|
|
1452
|
+
})(Vr)), Vr.exports;
|
|
1462
1453
|
}
|
|
1463
|
-
var
|
|
1464
|
-
const
|
|
1454
|
+
var $n = yn();
|
|
1455
|
+
const xn = /* @__PURE__ */ hn($n), bn = {
|
|
1465
1456
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1466
1457
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1467
1458
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1469,33 +1460,33 @@ const jn = /* @__PURE__ */ bn(Nn), Sn = {
|
|
|
1469
1460
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1470
1461
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1471
1462
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1472
|
-
},
|
|
1463
|
+
}, wn = xn.bind(bn), Hr = "purpur-icon", jn = "md", Nn = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), Sn = ({ content: e = "", title: a } = {}) => {
|
|
1473
1464
|
const n = [
|
|
1474
1465
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1475
1466
|
{ name: "fill", value: "currentColor" },
|
|
1476
1467
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1477
1468
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1478
1469
|
], u = a ? `<title>${a}</title>` : "";
|
|
1479
|
-
return `<svg ${
|
|
1480
|
-
},
|
|
1481
|
-
const r =
|
|
1482
|
-
content:
|
|
1470
|
+
return `<svg ${Nn(n)}>${u}${e}</svg>`;
|
|
1471
|
+
}, Cn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Yr = ({ svg: e, allyTitle: a, className: n, size: u = jn, ...p }) => {
|
|
1472
|
+
const r = Sn({
|
|
1473
|
+
content: Cn(e.svg),
|
|
1483
1474
|
title: a
|
|
1484
|
-
}), t =
|
|
1475
|
+
}), t = wn(Hr, `${Hr}--${u}`, n);
|
|
1485
1476
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
1486
1477
|
};
|
|
1487
|
-
|
|
1488
|
-
const
|
|
1478
|
+
Yr.displayName = "Icon";
|
|
1479
|
+
const kn = K.bind(Q), Lr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
1489
1480
|
"a",
|
|
1490
1481
|
{
|
|
1491
1482
|
...n,
|
|
1492
1483
|
href: a,
|
|
1493
|
-
className:
|
|
1484
|
+
className: kn(`${_}__social-link`),
|
|
1494
1485
|
rel: "noreferrer",
|
|
1495
1486
|
target: "_blank",
|
|
1496
|
-
children: /* @__PURE__ */ o(
|
|
1487
|
+
children: /* @__PURE__ */ o(Yr, { svg: e })
|
|
1497
1488
|
}
|
|
1498
|
-
),
|
|
1489
|
+
), zn = () => /* @__PURE__ */ v(
|
|
1499
1490
|
"svg",
|
|
1500
1491
|
{
|
|
1501
1492
|
width: "81",
|
|
@@ -1566,7 +1557,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1566
1557
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_5309_7721", children: /* @__PURE__ */ o("rect", { width: "81", height: "32", fill: "currentColor" }) }) })
|
|
1567
1558
|
]
|
|
1568
1559
|
}
|
|
1569
|
-
), y =
|
|
1560
|
+
), y = K.bind(Q), On = ({
|
|
1570
1561
|
className: e,
|
|
1571
1562
|
navigation: a,
|
|
1572
1563
|
social: n,
|
|
@@ -1576,21 +1567,21 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1576
1567
|
payments: t,
|
|
1577
1568
|
logo: i,
|
|
1578
1569
|
themeSelect: c,
|
|
1579
|
-
forceColorScheme:
|
|
1570
|
+
forceColorScheme: d,
|
|
1580
1571
|
...x
|
|
1581
1572
|
}) => {
|
|
1582
|
-
const l = y(e, _),
|
|
1583
|
-
return
|
|
1584
|
-
cssVariablesSelector: `[data-id="${
|
|
1585
|
-
currentColorScheme:
|
|
1586
|
-
}), /* @__PURE__ */ o("footer", { "data-id":
|
|
1573
|
+
const l = y(e, _), g = D(), { options: $ } = pe(), [b, S] = ue();
|
|
1574
|
+
return oe({
|
|
1575
|
+
cssVariablesSelector: `[data-id="${g}"]`,
|
|
1576
|
+
currentColorScheme: d ?? $?.footerColorScheme
|
|
1577
|
+
}), /* @__PURE__ */ o("footer", { "data-id": g, className: l, ...x, children: /* @__PURE__ */ o(G, { children: /* @__PURE__ */ v("div", { className: y(`${_}__container`), children: [
|
|
1587
1578
|
/* @__PURE__ */ o(
|
|
1588
1579
|
"div",
|
|
1589
1580
|
{
|
|
1590
1581
|
className: y(`${_}__logo`, {
|
|
1591
1582
|
[`${_}__logo--telia`]: !i
|
|
1592
1583
|
}),
|
|
1593
|
-
children: i ?? /* @__PURE__ */ o(
|
|
1584
|
+
children: i ?? /* @__PURE__ */ o(zn, {})
|
|
1594
1585
|
}
|
|
1595
1586
|
),
|
|
1596
1587
|
n && /* @__PURE__ */ o(
|
|
@@ -1602,11 +1593,11 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1602
1593
|
`${_}__social--md`,
|
|
1603
1594
|
n.sectionProps?.className
|
|
1604
1595
|
),
|
|
1605
|
-
children: n.links.map(({ icon:
|
|
1596
|
+
children: n.links.map(({ icon: m, href: h, ...C }) => /* @__PURE__ */ L(Lr, { ...C, icon: m, href: h, key: h }))
|
|
1606
1597
|
}
|
|
1607
1598
|
),
|
|
1608
1599
|
a && /* @__PURE__ */ o(
|
|
1609
|
-
|
|
1600
|
+
vn,
|
|
1610
1601
|
{
|
|
1611
1602
|
customLink: a.customLink,
|
|
1612
1603
|
navigationLinks: a.links,
|
|
@@ -1618,12 +1609,12 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1618
1609
|
{
|
|
1619
1610
|
...t.sectionProps,
|
|
1620
1611
|
className: y(`${_}__payments`, t.sectionProps?.className),
|
|
1621
|
-
children: t.images.map(({ alt:
|
|
1612
|
+
children: t.images.map(({ alt: m, src: h }) => /* @__PURE__ */ o(
|
|
1622
1613
|
"img",
|
|
1623
1614
|
{
|
|
1624
1615
|
className: y(`${_}__payments-image`),
|
|
1625
1616
|
src: h,
|
|
1626
|
-
alt:
|
|
1617
|
+
alt: m
|
|
1627
1618
|
},
|
|
1628
1619
|
h
|
|
1629
1620
|
))
|
|
@@ -1660,15 +1651,15 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1660
1651
|
}
|
|
1661
1652
|
),
|
|
1662
1653
|
c && /* @__PURE__ */ o(
|
|
1663
|
-
|
|
1654
|
+
Gr,
|
|
1664
1655
|
{
|
|
1665
1656
|
value: b,
|
|
1666
1657
|
label: c.label,
|
|
1667
1658
|
options: c.options,
|
|
1668
1659
|
negative: !0,
|
|
1669
1660
|
className: y(`${_}__theme-select`),
|
|
1670
|
-
onChange: (
|
|
1671
|
-
S(
|
|
1661
|
+
onChange: (m) => {
|
|
1662
|
+
S(m.target.value);
|
|
1672
1663
|
}
|
|
1673
1664
|
}
|
|
1674
1665
|
),
|
|
@@ -1680,14 +1671,14 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1680
1671
|
`${_}__additional-links`,
|
|
1681
1672
|
p.sectionProps?.className
|
|
1682
1673
|
),
|
|
1683
|
-
children: p?.links?.map(({ href:
|
|
1684
|
-
|
|
1674
|
+
children: p?.links?.map(({ href: m, text: h, ...C }) => /* @__PURE__ */ L(
|
|
1675
|
+
W,
|
|
1685
1676
|
{
|
|
1686
1677
|
...C,
|
|
1687
1678
|
variant: "standalone",
|
|
1688
1679
|
negative: !0,
|
|
1689
|
-
href:
|
|
1690
|
-
key:
|
|
1680
|
+
href: m,
|
|
1681
|
+
key: m,
|
|
1691
1682
|
disableVisited: !0
|
|
1692
1683
|
},
|
|
1693
1684
|
h
|
|
@@ -1704,13 +1695,13 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1704
1695
|
`${_}__social--sm`,
|
|
1705
1696
|
n.sectionProps?.className
|
|
1706
1697
|
),
|
|
1707
|
-
children: n.links.map(({ icon:
|
|
1698
|
+
children: n.links.map(({ icon: m, href: h, ...C }) => /* @__PURE__ */ L(Lr, { ...C, icon: m, href: h, key: h }))
|
|
1708
1699
|
}
|
|
1709
1700
|
)
|
|
1710
1701
|
] }) }) });
|
|
1711
1702
|
};
|
|
1712
|
-
|
|
1703
|
+
On.displayName = "Footer";
|
|
1713
1704
|
export {
|
|
1714
|
-
|
|
1705
|
+
On as Footer
|
|
1715
1706
|
};
|
|
1716
1707
|
//# sourceMappingURL=footer.es.js.map
|