@purpurds/footer 8.8.0 → 8.9.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 -61
- package/dist/footer.cjs.js.map +1 -1
- package/dist/footer.es.js +400 -483
- package/dist/footer.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +29 -29
package/dist/footer.es.js
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { Children as
|
|
1
|
+
import { jsx as o, jsxs as h, Fragment as te } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { Children as rr, isValidElement as ne, forwardRef as ie, useId as D, createContext as ae, useContext as pe, useState as ue, createElement as Z } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
import { useTheme as
|
|
6
|
-
function
|
|
5
|
+
import { useTheme as oe, useColorScheme as le, useApplyTheme as se } from "@purpurds/theme";
|
|
6
|
+
function _e(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Licensed under the MIT License (MIT), see
|
|
13
|
-
http://jedwatson.github.io/classnames
|
|
14
|
-
*/
|
|
15
|
-
var pr;
|
|
16
|
-
function fe() {
|
|
17
|
-
return pr || (pr = 1, (function(e) {
|
|
9
|
+
var er = { exports: {} }, tr;
|
|
10
|
+
function ce() {
|
|
11
|
+
return tr || (tr = 1, (function(e) {
|
|
18
12
|
(function() {
|
|
19
13
|
var a = {}.hasOwnProperty;
|
|
20
14
|
function n() {
|
|
@@ -43,10 +37,10 @@ function fe() {
|
|
|
43
37
|
}
|
|
44
38
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
45
39
|
})();
|
|
46
|
-
})(
|
|
40
|
+
})(er)), er.exports;
|
|
47
41
|
}
|
|
48
|
-
var
|
|
49
|
-
const
|
|
42
|
+
var de = ce();
|
|
43
|
+
const Rr = /* @__PURE__ */ _e(de), ge = {
|
|
50
44
|
"purpur-grid-item": "_purpur-grid-item_zx9tz_1",
|
|
51
45
|
"purpur-grid-item--no-col-gap": "_purpur-grid-item--no-col-gap_zx9tz_6",
|
|
52
46
|
"purpur-grid-item-colspan-sm-4": "_purpur-grid-item-colspan-sm-4_zx9tz_24",
|
|
@@ -73,7 +67,7 @@ const Gr = /* @__PURE__ */ me(ve), he = {
|
|
|
73
67
|
"purpur-grid-item-colspan-lg-3": "_purpur-grid-item-colspan-lg-3_zx9tz_122",
|
|
74
68
|
"purpur-grid-item-colspan-lg-2": "_purpur-grid-item-colspan-lg-2_zx9tz_127",
|
|
75
69
|
"purpur-grid-item-colspan-lg-1": "_purpur-grid-item-colspan-lg-1_zx9tz_77"
|
|
76
|
-
},
|
|
70
|
+
}, me = Rr.bind(ge), A = "purpur-grid-item", L = ({
|
|
77
71
|
children: e,
|
|
78
72
|
className: a,
|
|
79
73
|
colSpanSm: n = 4,
|
|
@@ -82,20 +76,20 @@ const Gr = /* @__PURE__ */ me(ve), he = {
|
|
|
82
76
|
noColGap: r = !1,
|
|
83
77
|
...t
|
|
84
78
|
}) => {
|
|
85
|
-
const i =
|
|
86
|
-
|
|
79
|
+
const i = me([
|
|
80
|
+
A,
|
|
87
81
|
{
|
|
88
|
-
[`${
|
|
89
|
-
[`${
|
|
90
|
-
[`${
|
|
91
|
-
[`${
|
|
82
|
+
[`${A}--no-col-gap`]: r,
|
|
83
|
+
[`${A}-colspan-sm-${n}`]: n,
|
|
84
|
+
[`${A}-colspan-md-${u}`]: u,
|
|
85
|
+
[`${A}-colspan-lg-${p}`]: p
|
|
92
86
|
},
|
|
93
87
|
a
|
|
94
88
|
]);
|
|
95
89
|
return /* @__PURE__ */ o("div", { className: i, ...t, children: e });
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
const
|
|
90
|
+
}, fe = (e) => !!e && ne(e) && e.type === L;
|
|
91
|
+
L.displayName = "Grid.Item";
|
|
92
|
+
const he = {
|
|
99
93
|
"purpur-grid": "_purpur-grid_8kjv6_1",
|
|
100
94
|
"purpur-grid__inner": "_purpur-grid__inner_8kjv6_27",
|
|
101
95
|
"purpur-grid__inner--no-gap": "_purpur-grid__inner--no-gap_8kjv6_32",
|
|
@@ -124,7 +118,7 @@ const xe = {
|
|
|
124
118
|
"purpur-grid__inner-col-lg-3": "_purpur-grid__inner-col-lg-3_8kjv6_147",
|
|
125
119
|
"purpur-grid__inner-col-lg-2": "_purpur-grid__inner-col-lg-2_8kjv6_152",
|
|
126
120
|
"purpur-grid__inner--flex": "_purpur-grid__inner--flex_8kjv6_156"
|
|
127
|
-
},
|
|
121
|
+
}, nr = Rr.bind(he), ve = "purpur-grid", j = "purpur-grid__inner", W = ({
|
|
128
122
|
children: e,
|
|
129
123
|
className: a,
|
|
130
124
|
containerClassName: n,
|
|
@@ -134,9 +128,9 @@ const xe = {
|
|
|
134
128
|
noGap: t = !1,
|
|
135
129
|
noColGap: i = !1,
|
|
136
130
|
noRowGap: c = !1,
|
|
137
|
-
...
|
|
131
|
+
...g
|
|
138
132
|
}) => {
|
|
139
|
-
const
|
|
133
|
+
const x = rr.toArray(e).filter(fe), l = !!x.length, m = nr([ve, n]), $ = nr([
|
|
140
134
|
j,
|
|
141
135
|
{
|
|
142
136
|
[`${j}--grid`]: !l,
|
|
@@ -150,22 +144,16 @@ const xe = {
|
|
|
150
144
|
},
|
|
151
145
|
a
|
|
152
146
|
]);
|
|
153
|
-
return /* @__PURE__ */ o("div", { className:
|
|
147
|
+
return /* @__PURE__ */ o("div", { className: m, ...g, children: /* @__PURE__ */ o("div", { className: $, children: l ? rr.map(x, ({ props: { children: b, ...S } }) => /* @__PURE__ */ o(L, { ...S, noColGap: t || i, children: b })) : e }) });
|
|
154
148
|
};
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
function
|
|
149
|
+
W.displayName = "Grid";
|
|
150
|
+
W.Item = L;
|
|
151
|
+
function ye(e) {
|
|
158
152
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
159
153
|
}
|
|
160
|
-
var
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
Licensed under the MIT License (MIT), see
|
|
164
|
-
http://jedwatson.github.io/classnames
|
|
165
|
-
*/
|
|
166
|
-
var sr;
|
|
167
|
-
function Ne() {
|
|
168
|
-
return sr || (sr = 1, (function(e) {
|
|
154
|
+
var ir = { exports: {} }, ar;
|
|
155
|
+
function $e() {
|
|
156
|
+
return ar || (ar = 1, (function(e) {
|
|
169
157
|
(function() {
|
|
170
158
|
var a = {}.hasOwnProperty;
|
|
171
159
|
function n() {
|
|
@@ -194,10 +182,10 @@ function Ne() {
|
|
|
194
182
|
}
|
|
195
183
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
196
184
|
})();
|
|
197
|
-
})(
|
|
185
|
+
})(ir)), ir.exports;
|
|
198
186
|
}
|
|
199
|
-
var
|
|
200
|
-
const
|
|
187
|
+
var xe = $e();
|
|
188
|
+
const be = /* @__PURE__ */ ye(xe), we = {
|
|
201
189
|
"purpur-link": "_purpur-link_5pram_1",
|
|
202
190
|
"purpur-link--text": "_purpur-link--text_5pram_18",
|
|
203
191
|
"purpur-link--standalone": "_purpur-link--standalone_5pram_18",
|
|
@@ -208,7 +196,7 @@ const Se = /* @__PURE__ */ we(je), Ce = {
|
|
|
208
196
|
"purpur-link--navigation-negative": "_purpur-link--navigation-negative_5pram_32",
|
|
209
197
|
"purpur-link--ensure-target-area": "_purpur-link--ensure-target-area_5pram_71",
|
|
210
198
|
"purpur-link--silent": "_purpur-link--silent_5pram_77"
|
|
211
|
-
},
|
|
199
|
+
}, Ne = be.bind(we), k = "purpur-link", J = ({
|
|
212
200
|
["data-testid"]: e,
|
|
213
201
|
children: a,
|
|
214
202
|
className: n,
|
|
@@ -218,57 +206,51 @@ const Se = /* @__PURE__ */ we(je), Ce = {
|
|
|
218
206
|
negative: t = !1,
|
|
219
207
|
onClick: i,
|
|
220
208
|
rel: c,
|
|
221
|
-
silent:
|
|
222
|
-
target:
|
|
209
|
+
silent: g,
|
|
210
|
+
target: x,
|
|
223
211
|
variant: l,
|
|
224
|
-
...
|
|
212
|
+
...m
|
|
225
213
|
}) => (
|
|
226
214
|
/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */
|
|
227
215
|
/* @__PURE__ */ o(
|
|
228
216
|
"span",
|
|
229
217
|
{
|
|
230
|
-
className:
|
|
218
|
+
className: Ne(
|
|
231
219
|
n,
|
|
232
|
-
|
|
233
|
-
`${
|
|
220
|
+
k,
|
|
221
|
+
`${k}--${t ? `${l}-negative` : l}`,
|
|
234
222
|
{
|
|
235
|
-
[`${
|
|
236
|
-
[`${
|
|
237
|
-
[`${
|
|
238
|
-
[`${
|
|
223
|
+
[`${k}--silent`]: g,
|
|
224
|
+
[`${k}--negative`]: t,
|
|
225
|
+
[`${k}--disable-visited`]: u ?? g,
|
|
226
|
+
[`${k}--ensure-target-area`]: p
|
|
239
227
|
}
|
|
240
228
|
),
|
|
241
229
|
"data-testid": e,
|
|
242
230
|
onClick: r ? void 0 : i,
|
|
243
|
-
...r ? {} :
|
|
231
|
+
...r ? {} : m,
|
|
244
232
|
children: r ? /* @__PURE__ */ o(
|
|
245
233
|
"a",
|
|
246
234
|
{
|
|
247
235
|
href: r,
|
|
248
|
-
target:
|
|
236
|
+
target: x,
|
|
249
237
|
rel: c,
|
|
250
238
|
onClick: i,
|
|
251
239
|
"data-testid": e ? `${e} a` : void 0,
|
|
252
|
-
...
|
|
240
|
+
...m,
|
|
253
241
|
children: a
|
|
254
242
|
}
|
|
255
243
|
) : a
|
|
256
244
|
}
|
|
257
245
|
)
|
|
258
246
|
);
|
|
259
|
-
|
|
260
|
-
function
|
|
247
|
+
J.displayName = "Link";
|
|
248
|
+
function je(e) {
|
|
261
249
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
262
250
|
}
|
|
263
|
-
var
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
Licensed under the MIT License (MIT), see
|
|
267
|
-
http://jedwatson.github.io/classnames
|
|
268
|
-
*/
|
|
269
|
-
var cr;
|
|
270
|
-
function ze() {
|
|
271
|
-
return cr || (cr = 1, (function(e) {
|
|
251
|
+
var pr = { exports: {} }, ur;
|
|
252
|
+
function Se() {
|
|
253
|
+
return ur || (ur = 1, (function(e) {
|
|
272
254
|
(function() {
|
|
273
255
|
var a = {}.hasOwnProperty;
|
|
274
256
|
function n() {
|
|
@@ -297,10 +279,10 @@ function ze() {
|
|
|
297
279
|
}
|
|
298
280
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
299
281
|
})();
|
|
300
|
-
})(
|
|
282
|
+
})(pr)), pr.exports;
|
|
301
283
|
}
|
|
302
|
-
var
|
|
303
|
-
const
|
|
284
|
+
var Ce = Se();
|
|
285
|
+
const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
304
286
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
305
287
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
306
288
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -308,40 +290,34 @@ const Ae = /* @__PURE__ */ Oe(Pe), Me = {
|
|
|
308
290
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
309
291
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
310
292
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
311
|
-
},
|
|
293
|
+
}, ze = ke.bind(Oe), or = "purpur-icon", Pe = "md", Ae = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), Me = ({ content: e = "", title: a } = {}) => {
|
|
312
294
|
const n = [
|
|
313
295
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
314
296
|
{ name: "fill", value: "currentColor" },
|
|
315
297
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
316
298
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
317
299
|
], u = a ? `<title>${a}</title>` : "";
|
|
318
|
-
return `<svg ${
|
|
319
|
-
},
|
|
320
|
-
const r =
|
|
321
|
-
content:
|
|
300
|
+
return `<svg ${Ae(n)}>${u}${e}</svg>`;
|
|
301
|
+
}, qe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Br = ({ svg: e, allyTitle: a, className: n, size: u = Pe, ...p }) => {
|
|
302
|
+
const r = Me({
|
|
303
|
+
content: qe(e.svg),
|
|
322
304
|
title: a
|
|
323
|
-
}), t =
|
|
305
|
+
}), t = ze(or, `${or}--${u}`, n);
|
|
324
306
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
325
307
|
};
|
|
326
|
-
|
|
327
|
-
const
|
|
308
|
+
Br.displayName = "Icon";
|
|
309
|
+
const Te = {
|
|
328
310
|
name: "error-filled",
|
|
329
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>',
|
|
330
312
|
keywords: ["error-filled"],
|
|
331
313
|
category: "status"
|
|
332
314
|
};
|
|
333
|
-
function
|
|
315
|
+
function Ve(e) {
|
|
334
316
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
335
317
|
}
|
|
336
|
-
var
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
Licensed under the MIT License (MIT), see
|
|
340
|
-
http://jedwatson.github.io/classnames
|
|
341
|
-
*/
|
|
342
|
-
var mr;
|
|
343
|
-
function Re() {
|
|
344
|
-
return mr || (mr = 1, (function(e) {
|
|
318
|
+
var lr = { exports: {} }, sr;
|
|
319
|
+
function Ie() {
|
|
320
|
+
return sr || (sr = 1, (function(e) {
|
|
345
321
|
(function() {
|
|
346
322
|
var a = {}.hasOwnProperty;
|
|
347
323
|
function n() {
|
|
@@ -370,46 +346,40 @@ function Re() {
|
|
|
370
346
|
}
|
|
371
347
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
372
348
|
})();
|
|
373
|
-
})(
|
|
349
|
+
})(lr)), lr.exports;
|
|
374
350
|
}
|
|
375
|
-
var
|
|
376
|
-
const
|
|
351
|
+
var He = Ie();
|
|
352
|
+
const Le = /* @__PURE__ */ Ve(He), Ze = {
|
|
377
353
|
"purpur-field-error-text": "_purpur-field-error-text_u1cy2_1",
|
|
378
354
|
"purpur-field-error-text--negative": "_purpur-field-error-text--negative_u1cy2_11",
|
|
379
355
|
"purpur-field-error-text__icon": "_purpur-field-error-text__icon_u1cy2_14"
|
|
380
|
-
},
|
|
356
|
+
}, _r = Le.bind(Ze), R = "purpur-field-error-text", Re = ({
|
|
381
357
|
children: e,
|
|
382
358
|
className: a,
|
|
383
359
|
negative: n = !1,
|
|
384
360
|
["aria-relevant"]: u = "additions text",
|
|
385
361
|
...p
|
|
386
|
-
}) => /* @__PURE__ */
|
|
362
|
+
}) => /* @__PURE__ */ h(
|
|
387
363
|
"div",
|
|
388
364
|
{
|
|
389
|
-
className:
|
|
390
|
-
[`${
|
|
365
|
+
className: _r(a, R, {
|
|
366
|
+
[`${R}--negative`]: n
|
|
391
367
|
}),
|
|
392
368
|
"aria-live": "assertive",
|
|
393
369
|
"aria-relevant": u,
|
|
394
370
|
...p,
|
|
395
371
|
children: [
|
|
396
|
-
/* @__PURE__ */ o(
|
|
372
|
+
/* @__PURE__ */ o(Br, { svg: Te, size: "xs", className: _r(`${R}__icon`) }),
|
|
397
373
|
e
|
|
398
374
|
]
|
|
399
375
|
}
|
|
400
376
|
);
|
|
401
|
-
function
|
|
377
|
+
function Be(e) {
|
|
402
378
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
403
379
|
}
|
|
404
|
-
var
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
Licensed under the MIT License (MIT), see
|
|
408
|
-
http://jedwatson.github.io/classnames
|
|
409
|
-
*/
|
|
410
|
-
var hr;
|
|
411
|
-
function We() {
|
|
412
|
-
return hr || (hr = 1, (function(e) {
|
|
380
|
+
var cr = { exports: {} }, dr;
|
|
381
|
+
function Ee() {
|
|
382
|
+
return dr || (dr = 1, (function(e) {
|
|
413
383
|
(function() {
|
|
414
384
|
var a = {}.hasOwnProperty;
|
|
415
385
|
function n() {
|
|
@@ -438,14 +408,14 @@ function We() {
|
|
|
438
408
|
}
|
|
439
409
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
440
410
|
})();
|
|
441
|
-
})(
|
|
411
|
+
})(cr)), cr.exports;
|
|
442
412
|
}
|
|
443
|
-
var
|
|
444
|
-
const
|
|
413
|
+
var Fe = Ee();
|
|
414
|
+
const Ge = /* @__PURE__ */ Be(Fe), De = {
|
|
445
415
|
"purpur-field-helper-text": "_purpur-field-helper-text_11nsh_1",
|
|
446
416
|
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_11nsh_9",
|
|
447
417
|
"purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_11nsh_12"
|
|
448
|
-
},
|
|
418
|
+
}, We = Ge.bind(De), B = "purpur-field-helper-text", Je = ({
|
|
449
419
|
children: e,
|
|
450
420
|
className: a,
|
|
451
421
|
disabled: n,
|
|
@@ -453,24 +423,18 @@ const Ke = /* @__PURE__ */ Ge(Je), Qe = {
|
|
|
453
423
|
negative: p,
|
|
454
424
|
...r
|
|
455
425
|
}) => {
|
|
456
|
-
const t =
|
|
457
|
-
[`${
|
|
458
|
-
[`${
|
|
426
|
+
const t = We(a, B, {
|
|
427
|
+
[`${B}--disabled`]: n,
|
|
428
|
+
[`${B}--negative`]: p
|
|
459
429
|
});
|
|
460
430
|
return /* @__PURE__ */ o("span", { id: u, className: t, ...r, children: e });
|
|
461
431
|
};
|
|
462
|
-
function
|
|
432
|
+
function Ke(e) {
|
|
463
433
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
464
434
|
}
|
|
465
|
-
var
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
Licensed under the MIT License (MIT), see
|
|
469
|
-
http://jedwatson.github.io/classnames
|
|
470
|
-
*/
|
|
471
|
-
var $r;
|
|
472
|
-
function rt() {
|
|
473
|
-
return $r || ($r = 1, (function(e) {
|
|
435
|
+
var gr = { exports: {} }, mr;
|
|
436
|
+
function Qe() {
|
|
437
|
+
return mr || (mr = 1, (function(e) {
|
|
474
438
|
(function() {
|
|
475
439
|
var a = {}.hasOwnProperty;
|
|
476
440
|
function n() {
|
|
@@ -499,10 +463,10 @@ function rt() {
|
|
|
499
463
|
}
|
|
500
464
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
501
465
|
})();
|
|
502
|
-
})(
|
|
466
|
+
})(gr)), gr.exports;
|
|
503
467
|
}
|
|
504
|
-
var
|
|
505
|
-
const
|
|
468
|
+
var Ue = Qe();
|
|
469
|
+
const Xe = /* @__PURE__ */ Ke(Ue), Ye = {
|
|
506
470
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
507
471
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
508
472
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -510,86 +474,95 @@ const tt = /* @__PURE__ */ Ye(et), nt = {
|
|
|
510
474
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
511
475
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
512
476
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
513
|
-
},
|
|
477
|
+
}, rt = Xe.bind(Ye), fr = "purpur-icon", et = "md", tt = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), nt = ({ content: e = "", title: a } = {}) => {
|
|
514
478
|
const n = [
|
|
515
479
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
516
480
|
{ name: "fill", value: "currentColor" },
|
|
517
481
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
518
482
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
519
483
|
], u = a ? `<title>${a}</title>` : "";
|
|
520
|
-
return `<svg ${
|
|
521
|
-
},
|
|
522
|
-
const r =
|
|
523
|
-
content:
|
|
484
|
+
return `<svg ${tt(n)}>${u}${e}</svg>`;
|
|
485
|
+
}, it = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), K = ({ svg: e, allyTitle: a, className: n, size: u = et, ...p }) => {
|
|
486
|
+
const r = nt({
|
|
487
|
+
content: it(e.svg),
|
|
524
488
|
title: a
|
|
525
|
-
}), t =
|
|
489
|
+
}), t = rt(fr, `${fr}--${u}`, n);
|
|
526
490
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
527
491
|
};
|
|
528
|
-
|
|
529
|
-
const
|
|
492
|
+
K.displayName = "Icon";
|
|
493
|
+
const at = {
|
|
530
494
|
name: "check-circle-filled",
|
|
531
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>',
|
|
532
496
|
keywords: ["check-circle-filled"],
|
|
533
497
|
category: "status"
|
|
534
|
-
},
|
|
535
|
-
|
|
536
|
-
const
|
|
498
|
+
}, Er = (e) => /* @__PURE__ */ o(K, { ...e, svg: at });
|
|
499
|
+
Er.displayName = "IconCheckCircleFilled";
|
|
500
|
+
const pt = {
|
|
537
501
|
name: "chevron-down",
|
|
538
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>',
|
|
539
503
|
keywords: ["chevron-down"],
|
|
540
504
|
category: "utility"
|
|
541
|
-
},
|
|
542
|
-
|
|
543
|
-
function
|
|
505
|
+
}, Fr = (e) => /* @__PURE__ */ o(K, { ...e, svg: pt });
|
|
506
|
+
Fr.displayName = "IconChevronDown";
|
|
507
|
+
function hr(e, a) {
|
|
544
508
|
if (typeof e == "function")
|
|
545
509
|
return e(a);
|
|
546
510
|
e != null && (e.current = a);
|
|
547
511
|
}
|
|
548
|
-
function
|
|
512
|
+
function ut(...e) {
|
|
549
513
|
return (a) => {
|
|
550
514
|
let n = !1;
|
|
551
515
|
const u = e.map((p) => {
|
|
552
|
-
const r =
|
|
516
|
+
const r = hr(p, a);
|
|
553
517
|
return !n && typeof r == "function" && (n = !0), r;
|
|
554
518
|
});
|
|
555
519
|
if (n)
|
|
556
520
|
return () => {
|
|
557
521
|
for (let p = 0; p < u.length; p++) {
|
|
558
522
|
const r = u[p];
|
|
559
|
-
typeof r == "function" ? r() :
|
|
523
|
+
typeof r == "function" ? r() : hr(e[p], null);
|
|
560
524
|
}
|
|
561
525
|
};
|
|
562
526
|
};
|
|
563
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
|
+
}
|
|
564
535
|
// @__NO_SIDE_EFFECTS__
|
|
565
|
-
function
|
|
566
|
-
const a = /* @__PURE__ */
|
|
567
|
-
|
|
536
|
+
function st(e) {
|
|
537
|
+
const a = /* @__PURE__ */ _t(e), n = d.forwardRef((u, p) => {
|
|
538
|
+
let { children: r, ...t } = u;
|
|
539
|
+
Gr(r) && typeof I == "function" && (r = I(r._payload));
|
|
540
|
+
const i = d.Children.toArray(r), c = i.find(dt);
|
|
568
541
|
if (c) {
|
|
569
|
-
const
|
|
570
|
-
return /* @__PURE__ */ o(a, { ...t, ref: p, children:
|
|
542
|
+
const g = c.props.children, x = i.map((l) => l === c ? d.Children.count(g) > 1 ? d.Children.only(null) : d.isValidElement(g) ? g.props.children : null : l);
|
|
543
|
+
return /* @__PURE__ */ o(a, { ...t, ref: p, children: d.isValidElement(g) ? d.cloneElement(g, void 0, x) : null });
|
|
571
544
|
}
|
|
572
545
|
return /* @__PURE__ */ o(a, { ...t, ref: p, children: r });
|
|
573
546
|
});
|
|
574
547
|
return n.displayName = `${e}.Slot`, n;
|
|
575
548
|
}
|
|
576
549
|
// @__NO_SIDE_EFFECTS__
|
|
577
|
-
function
|
|
578
|
-
const a =
|
|
579
|
-
|
|
580
|
-
if (
|
|
581
|
-
const t =
|
|
582
|
-
return p.type !==
|
|
550
|
+
function _t(e) {
|
|
551
|
+
const a = d.forwardRef((n, u) => {
|
|
552
|
+
let { children: p, ...r } = n;
|
|
553
|
+
if (Gr(p) && typeof I == "function" && (p = I(p._payload)), d.isValidElement(p)) {
|
|
554
|
+
const t = mt(p), i = gt(r, p.props);
|
|
555
|
+
return p.type !== d.Fragment && (i.ref = u ? ut(u, t) : t), d.cloneElement(p, i);
|
|
583
556
|
}
|
|
584
|
-
return
|
|
557
|
+
return d.Children.count(p) > 1 ? d.Children.only(null) : null;
|
|
585
558
|
});
|
|
586
559
|
return a.displayName = `${e}.SlotClone`, a;
|
|
587
560
|
}
|
|
588
|
-
var
|
|
589
|
-
function
|
|
590
|
-
return
|
|
561
|
+
var ct = Symbol("radix.slottable");
|
|
562
|
+
function dt(e) {
|
|
563
|
+
return d.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ct;
|
|
591
564
|
}
|
|
592
|
-
function
|
|
565
|
+
function gt(e, a) {
|
|
593
566
|
const n = { ...a };
|
|
594
567
|
for (const u in a) {
|
|
595
568
|
const p = e[u], r = a[u];
|
|
@@ -600,12 +573,11 @@ function ft(e, a) {
|
|
|
600
573
|
}
|
|
601
574
|
return { ...e, ...n };
|
|
602
575
|
}
|
|
603
|
-
function
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
return p ? e.ref : (u = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, p = u && "isReactWarning" in u && u.isReactWarning, p ? e.props.ref : e.props.ref || e.ref);
|
|
576
|
+
function mt(e) {
|
|
577
|
+
let a = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = a && "isReactWarning" in a && a.isReactWarning;
|
|
578
|
+
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);
|
|
607
579
|
}
|
|
608
|
-
var
|
|
580
|
+
var ft = [
|
|
609
581
|
"a",
|
|
610
582
|
"button",
|
|
611
583
|
"div",
|
|
@@ -623,37 +595,30 @@ var ht = [
|
|
|
623
595
|
"span",
|
|
624
596
|
"svg",
|
|
625
597
|
"ul"
|
|
626
|
-
],
|
|
627
|
-
const n = /* @__PURE__ */
|
|
598
|
+
], ht = ft.reduce((e, a) => {
|
|
599
|
+
const n = /* @__PURE__ */ st(`Primitive.${a}`), u = d.forwardRef((p, r) => {
|
|
628
600
|
const { asChild: t, ...i } = p, c = t ? n : a;
|
|
629
601
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(c, { ...i, ref: r });
|
|
630
602
|
});
|
|
631
603
|
return u.displayName = `Primitive.${a}`, { ...e, [a]: u };
|
|
632
|
-
}, {}),
|
|
633
|
-
|
|
604
|
+
}, {}), vt = "Label", Dr = d.forwardRef((e, a) => /* @__PURE__ */ o(
|
|
605
|
+
ht.label,
|
|
634
606
|
{
|
|
635
607
|
...e,
|
|
636
608
|
ref: a,
|
|
637
609
|
onMouseDown: (n) => {
|
|
638
|
-
|
|
639
|
-
n.target.closest("button, input, select, textarea") || ((u = e.onMouseDown) == null || u.call(e, n), !n.defaultPrevented && n.detail > 1 && n.preventDefault());
|
|
610
|
+
n.target.closest("button, input, select, textarea") || (e.onMouseDown?.(n), !n.defaultPrevented && n.detail > 1 && n.preventDefault());
|
|
640
611
|
}
|
|
641
612
|
}
|
|
642
613
|
));
|
|
643
|
-
|
|
644
|
-
var
|
|
645
|
-
function
|
|
614
|
+
Dr.displayName = vt;
|
|
615
|
+
var yt = Dr;
|
|
616
|
+
function $t(e) {
|
|
646
617
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
647
618
|
}
|
|
648
|
-
var
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
Licensed under the MIT License (MIT), see
|
|
652
|
-
http://jedwatson.github.io/classnames
|
|
653
|
-
*/
|
|
654
|
-
var Nr;
|
|
655
|
-
function wt() {
|
|
656
|
-
return Nr || (Nr = 1, (function(e) {
|
|
619
|
+
var vr = { exports: {} }, yr;
|
|
620
|
+
function xt() {
|
|
621
|
+
return yr || (yr = 1, (function(e) {
|
|
657
622
|
(function() {
|
|
658
623
|
var a = {}.hasOwnProperty;
|
|
659
624
|
function n() {
|
|
@@ -682,38 +647,32 @@ function wt() {
|
|
|
682
647
|
}
|
|
683
648
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
684
649
|
})();
|
|
685
|
-
})(
|
|
650
|
+
})(vr)), vr.exports;
|
|
686
651
|
}
|
|
687
|
-
var
|
|
688
|
-
const
|
|
652
|
+
var bt = xt();
|
|
653
|
+
const wt = /* @__PURE__ */ $t(bt), Nt = {
|
|
689
654
|
"purpur-label": "_purpur-label_1x80u_1",
|
|
690
655
|
"purpur-label--negative": "_purpur-label--negative_1x80u_8",
|
|
691
656
|
"purpur-label--disabled": "_purpur-label--disabled_1x80u_11"
|
|
692
|
-
},
|
|
657
|
+
}, jt = wt.bind(Nt), E = "purpur-label", St = ({
|
|
693
658
|
children: e,
|
|
694
659
|
className: a,
|
|
695
660
|
disabled: n,
|
|
696
661
|
negative: u = !1,
|
|
697
662
|
...p
|
|
698
663
|
}) => {
|
|
699
|
-
const r =
|
|
700
|
-
[`${
|
|
701
|
-
[`${
|
|
664
|
+
const r = jt(a, E, {
|
|
665
|
+
[`${E}--disabled`]: n,
|
|
666
|
+
[`${E}--negative`]: u
|
|
702
667
|
});
|
|
703
|
-
return /* @__PURE__ */ o(
|
|
668
|
+
return /* @__PURE__ */ o(yt, { className: r, ...p, children: e });
|
|
704
669
|
};
|
|
705
|
-
function
|
|
670
|
+
function Ct(e) {
|
|
706
671
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
707
672
|
}
|
|
708
|
-
var
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
Licensed under the MIT License (MIT), see
|
|
712
|
-
http://jedwatson.github.io/classnames
|
|
713
|
-
*/
|
|
714
|
-
var Sr;
|
|
715
|
-
function zt() {
|
|
716
|
-
return Sr || (Sr = 1, (function(e) {
|
|
673
|
+
var $r = { exports: {} }, xr;
|
|
674
|
+
function kt() {
|
|
675
|
+
return xr || (xr = 1, (function(e) {
|
|
717
676
|
(function() {
|
|
718
677
|
var a = {}.hasOwnProperty;
|
|
719
678
|
function n() {
|
|
@@ -742,54 +701,48 @@ function zt() {
|
|
|
742
701
|
}
|
|
743
702
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
744
703
|
})();
|
|
745
|
-
})(
|
|
704
|
+
})($r)), $r.exports;
|
|
746
705
|
}
|
|
747
|
-
var
|
|
748
|
-
const
|
|
706
|
+
var Ot = kt();
|
|
707
|
+
const zt = /* @__PURE__ */ Ct(Ot), Pt = "_rotate_12t9p_1", At = "_dash_12t9p_1", Mt = {
|
|
749
708
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
750
|
-
rotate:
|
|
709
|
+
rotate: Pt,
|
|
751
710
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
752
711
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
753
712
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
754
713
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
755
714
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
756
715
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
757
|
-
dash:
|
|
716
|
+
dash: At,
|
|
758
717
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
759
718
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
760
|
-
},
|
|
719
|
+
}, br = zt.bind(Mt), M = "purpur-spinner", qt = {
|
|
761
720
|
SM: "sm"
|
|
762
|
-
},
|
|
721
|
+
}, Wr = ({
|
|
763
722
|
disabled: e = !1,
|
|
764
723
|
negative: a = !1,
|
|
765
|
-
size: n =
|
|
724
|
+
size: n = qt.SM,
|
|
766
725
|
className: u,
|
|
767
726
|
...p
|
|
768
|
-
}) => /* @__PURE__ */ o("div", { className:
|
|
727
|
+
}) => /* @__PURE__ */ o("div", { className: br(M, `${M}--${n}`, u), ...p, children: /* @__PURE__ */ o("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ o(
|
|
769
728
|
"circle",
|
|
770
729
|
{
|
|
771
|
-
className:
|
|
772
|
-
[`${
|
|
773
|
-
[`${
|
|
730
|
+
className: br(`${M}__circle`, {
|
|
731
|
+
[`${M}__circle--disabled`]: e,
|
|
732
|
+
[`${M}__circle--negative`]: a
|
|
774
733
|
}),
|
|
775
734
|
cx: "25",
|
|
776
735
|
cy: "25",
|
|
777
736
|
r: "20"
|
|
778
737
|
}
|
|
779
738
|
) }) });
|
|
780
|
-
|
|
781
|
-
function
|
|
739
|
+
Wr.displayName = "Spinner";
|
|
740
|
+
function Tt(e) {
|
|
782
741
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
783
742
|
}
|
|
784
|
-
var
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
Licensed under the MIT License (MIT), see
|
|
788
|
-
http://jedwatson.github.io/classnames
|
|
789
|
-
*/
|
|
790
|
-
var Or;
|
|
791
|
-
function Ht() {
|
|
792
|
-
return Or || (Or = 1, (function(e) {
|
|
743
|
+
var wr = { exports: {} }, Nr;
|
|
744
|
+
function Vt() {
|
|
745
|
+
return Nr || (Nr = 1, (function(e) {
|
|
793
746
|
(function() {
|
|
794
747
|
var a = {}.hasOwnProperty;
|
|
795
748
|
function n() {
|
|
@@ -818,10 +771,10 @@ function Ht() {
|
|
|
818
771
|
}
|
|
819
772
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
820
773
|
})();
|
|
821
|
-
})(
|
|
774
|
+
})(wr)), wr.exports;
|
|
822
775
|
}
|
|
823
|
-
var
|
|
824
|
-
const
|
|
776
|
+
var It = Vt();
|
|
777
|
+
const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
825
778
|
"purpur-select": "_purpur-select_t7uxd_1",
|
|
826
779
|
"purpur-select__label": "_purpur-select__label_t7uxd_7",
|
|
827
780
|
"purpur-select__field-row": "_purpur-select__field-row_t7uxd_12",
|
|
@@ -841,7 +794,7 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
841
794
|
"purpur-select__select-icon--disabled": "_purpur-select__select-icon--disabled_t7uxd_133",
|
|
842
795
|
"purpur-select__select-icon--negative": "_purpur-select__select-icon--negative_t7uxd_136",
|
|
843
796
|
"purpur-select__valid-icon": "_purpur-select__valid-icon_t7uxd_142"
|
|
844
|
-
},
|
|
797
|
+
}, w = Ht.bind(Lt), s = "purpur-select", Jr = ie(
|
|
845
798
|
({
|
|
846
799
|
label: e,
|
|
847
800
|
options: a,
|
|
@@ -852,33 +805,33 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
852
805
|
placeholder: t,
|
|
853
806
|
readOnly: i = !1,
|
|
854
807
|
["data-testid"]: c,
|
|
855
|
-
valid:
|
|
856
|
-
loading:
|
|
808
|
+
valid: g,
|
|
809
|
+
loading: x,
|
|
857
810
|
...l
|
|
858
|
-
},
|
|
859
|
-
const
|
|
811
|
+
}, m) => {
|
|
812
|
+
const $ = (P) => c ? `${c}-${P}` : void 0, b = g && !u, S = D(), f = l.id ?? S, v = p ? `${f}-helper-text` : void 0, C = w(`${s}__select-container`, {
|
|
860
813
|
[`${s}__select-container--disabled`]: l.disabled,
|
|
861
814
|
[`${s}__select-container--readonly`]: i && !l.disabled,
|
|
862
815
|
[`${s}__select-container--negative`]: r
|
|
863
816
|
});
|
|
864
|
-
return
|
|
817
|
+
return w(`${s}__select-icon`, {
|
|
865
818
|
[`${s}__select-icon--disabled`]: l.disabled,
|
|
866
819
|
[`${s}__select-icon--readonly`]: i && !l.disabled,
|
|
867
|
-
[`${s}__select-icon--is-valid`]:
|
|
820
|
+
[`${s}__select-icon--is-valid`]: b,
|
|
868
821
|
[`${s}__select-icon--negative`]: r
|
|
869
|
-
}),
|
|
822
|
+
}), b && w(`${s}__valid-icon`), /* @__PURE__ */ h(
|
|
870
823
|
"div",
|
|
871
824
|
{
|
|
872
|
-
className:
|
|
825
|
+
className: w(s, n, {
|
|
873
826
|
[`${s}--negative`]: r
|
|
874
827
|
}),
|
|
875
828
|
children: [
|
|
876
|
-
e && /* @__PURE__ */
|
|
877
|
-
|
|
829
|
+
e && /* @__PURE__ */ h(
|
|
830
|
+
St,
|
|
878
831
|
{
|
|
879
|
-
htmlFor:
|
|
880
|
-
className:
|
|
881
|
-
"data-testid":
|
|
832
|
+
htmlFor: f,
|
|
833
|
+
className: w(`${s}__label`),
|
|
834
|
+
"data-testid": $("label"),
|
|
882
835
|
disabled: l.disabled,
|
|
883
836
|
negative: r,
|
|
884
837
|
children: [
|
|
@@ -887,61 +840,61 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
887
840
|
]
|
|
888
841
|
}
|
|
889
842
|
),
|
|
890
|
-
/* @__PURE__ */ o("div", { className:
|
|
891
|
-
/* @__PURE__ */
|
|
843
|
+
/* @__PURE__ */ o("div", { className: w(`${s}__field-row`), children: /* @__PURE__ */ h("div", { className: C, children: [
|
|
844
|
+
/* @__PURE__ */ h(
|
|
892
845
|
"select",
|
|
893
846
|
{
|
|
894
847
|
...l,
|
|
895
|
-
onChange: i
|
|
896
|
-
id:
|
|
897
|
-
ref:
|
|
898
|
-
"data-testid":
|
|
899
|
-
"aria-describedby": l["aria-describedby"] ||
|
|
848
|
+
onChange: i ? void 0 : l?.onChange,
|
|
849
|
+
id: f,
|
|
850
|
+
ref: m,
|
|
851
|
+
"data-testid": $("select"),
|
|
852
|
+
"aria-describedby": l["aria-describedby"] || v,
|
|
900
853
|
"aria-invalid": l["aria-invalid"] || !!u,
|
|
901
854
|
"aria-disabled": l["aria-disabled"] || l.disabled,
|
|
902
855
|
"aria-readonly": l["aria-readonly"] || i && !l.disabled,
|
|
903
|
-
className:
|
|
856
|
+
className: w(`${s}__select`, {
|
|
904
857
|
[`${s}__select--error`]: !!u,
|
|
905
|
-
[`${s}__select--is-valid`]:
|
|
858
|
+
[`${s}__select--is-valid`]: b,
|
|
906
859
|
[`${s}__select--negative`]: r
|
|
907
860
|
}),
|
|
908
861
|
children: [
|
|
909
862
|
t && /* @__PURE__ */ o("option", { value: t.value ?? t.label, disabled: !0, children: t.label }),
|
|
910
863
|
a.map(
|
|
911
|
-
(
|
|
864
|
+
(P, Y) => Zt(P) ? Rt(P, f, Y, i) : Kr(P, f, Y, i)
|
|
912
865
|
)
|
|
913
866
|
]
|
|
914
867
|
}
|
|
915
868
|
),
|
|
916
|
-
/* @__PURE__ */
|
|
917
|
-
|
|
918
|
-
|
|
869
|
+
/* @__PURE__ */ h("div", { className: w(`${s}__end-adornments`), children: [
|
|
870
|
+
x ? /* @__PURE__ */ o(
|
|
871
|
+
Wr,
|
|
919
872
|
{
|
|
920
873
|
disabled: l.disabled,
|
|
921
874
|
size: "xxs",
|
|
922
875
|
negative: r,
|
|
923
|
-
"data-testid":
|
|
876
|
+
"data-testid": $("spinner")
|
|
924
877
|
},
|
|
925
878
|
"spinner"
|
|
926
879
|
) : /* @__PURE__ */ o(
|
|
927
|
-
|
|
880
|
+
Fr,
|
|
928
881
|
{
|
|
929
|
-
className:
|
|
882
|
+
className: w(`${s}__select-icon`, {
|
|
930
883
|
[`${s}__select-icon--disabled`]: l.disabled,
|
|
931
884
|
[`${s}__select-icon--readonly`]: i && !l.disabled,
|
|
932
|
-
[`${s}__select-icon--is-valid`]:
|
|
885
|
+
[`${s}__select-icon--is-valid`]: b,
|
|
933
886
|
[`${s}__select-icon--negative`]: r
|
|
934
887
|
}),
|
|
935
|
-
"data-testid":
|
|
888
|
+
"data-testid": $("dropdown-icon"),
|
|
936
889
|
size: "sm"
|
|
937
890
|
},
|
|
938
891
|
"chevron-down-icon"
|
|
939
892
|
),
|
|
940
|
-
|
|
941
|
-
|
|
893
|
+
b && /* @__PURE__ */ o(
|
|
894
|
+
Er,
|
|
942
895
|
{
|
|
943
|
-
"data-testid":
|
|
944
|
-
className:
|
|
896
|
+
"data-testid": $("valid-icon"),
|
|
897
|
+
className: w(`${s}__valid-icon`)
|
|
945
898
|
},
|
|
946
899
|
"valid-icon"
|
|
947
900
|
)
|
|
@@ -949,31 +902,31 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
949
902
|
/* @__PURE__ */ o(
|
|
950
903
|
"div",
|
|
951
904
|
{
|
|
952
|
-
className:
|
|
905
|
+
className: w(`${s}__frame`, {
|
|
953
906
|
[`${s}__frame--negative`]: r
|
|
954
907
|
})
|
|
955
908
|
}
|
|
956
909
|
)
|
|
957
910
|
] }) }),
|
|
958
|
-
|
|
959
|
-
|
|
911
|
+
v && /* @__PURE__ */ o(
|
|
912
|
+
Je,
|
|
960
913
|
{
|
|
961
914
|
disabled: l.disabled,
|
|
962
|
-
"data-testid":
|
|
963
|
-
id:
|
|
915
|
+
"data-testid": $("helper-text"),
|
|
916
|
+
id: v,
|
|
964
917
|
negative: r,
|
|
965
918
|
children: p
|
|
966
919
|
}
|
|
967
920
|
),
|
|
968
|
-
u && /* @__PURE__ */ o(
|
|
921
|
+
u && /* @__PURE__ */ o(Re, { negative: r, "data-testid": $("error-text"), children: u })
|
|
969
922
|
]
|
|
970
923
|
}
|
|
971
924
|
);
|
|
972
925
|
}
|
|
973
|
-
),
|
|
926
|
+
), Zt = (e) => e.hasOwnProperty("options"), Rt = (e, a, n, u) => {
|
|
974
927
|
const p = `${a}--group--${n}`;
|
|
975
|
-
return /* @__PURE__ */ o("optgroup", { label: e.label, children: e.options.map((r, t) =>
|
|
976
|
-
},
|
|
928
|
+
return /* @__PURE__ */ o("optgroup", { label: e.label, children: e.options.map((r, t) => Kr(r, p, t, u)) }, p);
|
|
929
|
+
}, Kr = (e, a, n, u) => /* @__PURE__ */ o(
|
|
977
930
|
"option",
|
|
978
931
|
{
|
|
979
932
|
value: e.value ?? e.label,
|
|
@@ -982,19 +935,14 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
982
935
|
},
|
|
983
936
|
`${a}--option--${n}`
|
|
984
937
|
);
|
|
985
|
-
|
|
986
|
-
function
|
|
938
|
+
Jr.displayName = "Select";
|
|
939
|
+
function Bt(e) {
|
|
987
940
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
988
941
|
}
|
|
989
|
-
var
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
http://jedwatson.github.io/classnames
|
|
994
|
-
*/
|
|
995
|
-
var zr;
|
|
996
|
-
function Dt() {
|
|
997
|
-
return zr || (zr = 1, (function(e) {
|
|
942
|
+
var F = { exports: {} };
|
|
943
|
+
var jr;
|
|
944
|
+
function Et() {
|
|
945
|
+
return jr || (jr = 1, (function(e) {
|
|
998
946
|
(function() {
|
|
999
947
|
var a = {}.hasOwnProperty;
|
|
1000
948
|
function n() {
|
|
@@ -1023,10 +971,10 @@ function Dt() {
|
|
|
1023
971
|
}
|
|
1024
972
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1025
973
|
})();
|
|
1026
|
-
})(
|
|
974
|
+
})(F)), F.exports;
|
|
1027
975
|
}
|
|
1028
|
-
var
|
|
1029
|
-
const
|
|
976
|
+
var Ft = Et();
|
|
977
|
+
const Q = /* @__PURE__ */ Bt(Ft), _ = "purpur-footer", U = {
|
|
1030
978
|
"purpur-footer": "_purpur-footer_1jrwm_1",
|
|
1031
979
|
"purpur-footer__container": "_purpur-footer__container_1jrwm_8",
|
|
1032
980
|
"purpur-footer__logo": "_purpur-footer__logo_1jrwm_29",
|
|
@@ -1051,18 +999,12 @@ const Y = /* @__PURE__ */ Ft(Gt), _ = "purpur-footer", rr = {
|
|
|
1051
999
|
"purpur-footer__additional-links": "_purpur-footer__additional-links_1jrwm_271",
|
|
1052
1000
|
"purpur-footer__custom-content": "_purpur-footer__custom-content_1jrwm_283"
|
|
1053
1001
|
};
|
|
1054
|
-
function
|
|
1002
|
+
function Gt(e) {
|
|
1055
1003
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1056
1004
|
}
|
|
1057
|
-
var
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
Licensed under the MIT License (MIT), see
|
|
1061
|
-
http://jedwatson.github.io/classnames
|
|
1062
|
-
*/
|
|
1063
|
-
var Ar;
|
|
1064
|
-
function Jt() {
|
|
1065
|
-
return Ar || (Ar = 1, (function(e) {
|
|
1005
|
+
var Sr = { exports: {} }, Cr;
|
|
1006
|
+
function Dt() {
|
|
1007
|
+
return Cr || (Cr = 1, (function(e) {
|
|
1066
1008
|
(function() {
|
|
1067
1009
|
var a = {}.hasOwnProperty;
|
|
1068
1010
|
function n() {
|
|
@@ -1091,10 +1033,10 @@ function Jt() {
|
|
|
1091
1033
|
}
|
|
1092
1034
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1093
1035
|
})();
|
|
1094
|
-
})(
|
|
1036
|
+
})(Sr)), Sr.exports;
|
|
1095
1037
|
}
|
|
1096
|
-
var
|
|
1097
|
-
const
|
|
1038
|
+
var Wt = Dt();
|
|
1039
|
+
const Jt = /* @__PURE__ */ Gt(Wt), T = {
|
|
1098
1040
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
1099
1041
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
1100
1042
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -1114,41 +1056,35 @@ const Qt = /* @__PURE__ */ Wt(Kt), L = {
|
|
|
1114
1056
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
1115
1057
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
1116
1058
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
1117
|
-
},
|
|
1059
|
+
}, Kt = {
|
|
1118
1060
|
TITLE100: "title-100"
|
|
1119
|
-
},
|
|
1061
|
+
}, V = "purpur-heading", X = ({
|
|
1120
1062
|
children: e,
|
|
1121
1063
|
className: a = "",
|
|
1122
1064
|
enableHyphenation: n = !1,
|
|
1123
1065
|
negative: u = !1,
|
|
1124
1066
|
tag: p,
|
|
1125
|
-
variant: r =
|
|
1067
|
+
variant: r = Kt.TITLE100,
|
|
1126
1068
|
...t
|
|
1127
1069
|
}) => {
|
|
1128
|
-
const i = p, c =
|
|
1070
|
+
const i = p, c = Jt([
|
|
1129
1071
|
a,
|
|
1130
|
-
|
|
1131
|
-
|
|
1072
|
+
T[V],
|
|
1073
|
+
T[`${V}--${r}`],
|
|
1132
1074
|
{
|
|
1133
|
-
[
|
|
1134
|
-
[
|
|
1075
|
+
[T[`${V}--hyphens`]]: n,
|
|
1076
|
+
[T[`${V}--negative`]]: u
|
|
1135
1077
|
}
|
|
1136
1078
|
]);
|
|
1137
1079
|
return /* @__PURE__ */ o(i, { className: c, ...t, children: e });
|
|
1138
1080
|
};
|
|
1139
|
-
|
|
1140
|
-
function
|
|
1081
|
+
X.displayName = "Heading";
|
|
1082
|
+
function Qt(e) {
|
|
1141
1083
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1142
1084
|
}
|
|
1143
|
-
var
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
Licensed under the MIT License (MIT), see
|
|
1147
|
-
http://jedwatson.github.io/classnames
|
|
1148
|
-
*/
|
|
1149
|
-
var qr;
|
|
1150
|
-
function Yt() {
|
|
1151
|
-
return qr || (qr = 1, (function(e) {
|
|
1085
|
+
var kr = { exports: {} }, Or;
|
|
1086
|
+
function Ut() {
|
|
1087
|
+
return Or || (Or = 1, (function(e) {
|
|
1152
1088
|
(function() {
|
|
1153
1089
|
var a = {}.hasOwnProperty;
|
|
1154
1090
|
function n() {
|
|
@@ -1177,26 +1113,20 @@ function Yt() {
|
|
|
1177
1113
|
}
|
|
1178
1114
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1179
1115
|
})();
|
|
1180
|
-
})(
|
|
1116
|
+
})(kr)), kr.exports;
|
|
1181
1117
|
}
|
|
1182
|
-
var
|
|
1183
|
-
const
|
|
1118
|
+
var Xt = Ut();
|
|
1119
|
+
const Qr = /* @__PURE__ */ Qt(Xt), Yt = {
|
|
1184
1120
|
"purpur-accordion": "_purpur-accordion_mwmy0_1",
|
|
1185
1121
|
"purpur-accordion__title": "_purpur-accordion__title_mwmy0_4",
|
|
1186
1122
|
"purpur-accordion--negative": "_purpur-accordion--negative_mwmy0_13"
|
|
1187
1123
|
};
|
|
1188
|
-
function
|
|
1124
|
+
function rn(e) {
|
|
1189
1125
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1190
1126
|
}
|
|
1191
|
-
var
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
Licensed under the MIT License (MIT), see
|
|
1195
|
-
http://jedwatson.github.io/classnames
|
|
1196
|
-
*/
|
|
1197
|
-
var Vr;
|
|
1198
|
-
function nn() {
|
|
1199
|
-
return Vr || (Vr = 1, (function(e) {
|
|
1127
|
+
var zr = { exports: {} }, Pr;
|
|
1128
|
+
function en() {
|
|
1129
|
+
return Pr || (Pr = 1, (function(e) {
|
|
1200
1130
|
(function() {
|
|
1201
1131
|
var a = {}.hasOwnProperty;
|
|
1202
1132
|
function n() {
|
|
@@ -1225,10 +1155,10 @@ function nn() {
|
|
|
1225
1155
|
}
|
|
1226
1156
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1227
1157
|
})();
|
|
1228
|
-
})(
|
|
1158
|
+
})(zr)), zr.exports;
|
|
1229
1159
|
}
|
|
1230
|
-
var
|
|
1231
|
-
const
|
|
1160
|
+
var tn = en();
|
|
1161
|
+
const nn = /* @__PURE__ */ rn(tn), an = {
|
|
1232
1162
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1233
1163
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1234
1164
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1236,41 +1166,35 @@ const un = /* @__PURE__ */ tn(an), pn = {
|
|
|
1236
1166
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1237
1167
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1238
1168
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1239
|
-
},
|
|
1169
|
+
}, pn = nn.bind(an), Ar = "purpur-icon", un = "md", on = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), ln = ({ content: e = "", title: a } = {}) => {
|
|
1240
1170
|
const n = [
|
|
1241
1171
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1242
1172
|
{ name: "fill", value: "currentColor" },
|
|
1243
1173
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1244
1174
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1245
1175
|
], u = a ? `<title>${a}</title>` : "";
|
|
1246
|
-
return `<svg ${
|
|
1247
|
-
},
|
|
1248
|
-
const r =
|
|
1249
|
-
content:
|
|
1176
|
+
return `<svg ${on(n)}>${u}${e}</svg>`;
|
|
1177
|
+
}, sn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ur = ({ svg: e, allyTitle: a, className: n, size: u = un, ...p }) => {
|
|
1178
|
+
const r = ln({
|
|
1179
|
+
content: sn(e.svg),
|
|
1250
1180
|
title: a
|
|
1251
|
-
}), t =
|
|
1181
|
+
}), t = pn(Ar, `${Ar}--${u}`, n);
|
|
1252
1182
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
1253
1183
|
};
|
|
1254
|
-
|
|
1255
|
-
const
|
|
1184
|
+
Ur.displayName = "Icon";
|
|
1185
|
+
const _n = {
|
|
1256
1186
|
name: "chevron-down",
|
|
1257
1187
|
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>',
|
|
1258
1188
|
keywords: ["chevron-down"],
|
|
1259
1189
|
category: "utility"
|
|
1260
|
-
},
|
|
1261
|
-
|
|
1262
|
-
function
|
|
1190
|
+
}, Xr = (e) => /* @__PURE__ */ o(Ur, { ...e, svg: _n });
|
|
1191
|
+
Xr.displayName = "IconChevronDown";
|
|
1192
|
+
function cn(e) {
|
|
1263
1193
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1264
1194
|
}
|
|
1265
|
-
var
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
Licensed under the MIT License (MIT), see
|
|
1269
|
-
http://jedwatson.github.io/classnames
|
|
1270
|
-
*/
|
|
1271
|
-
var Lr;
|
|
1272
|
-
function mn() {
|
|
1273
|
-
return Lr || (Lr = 1, (function(e) {
|
|
1195
|
+
var Mr = { exports: {} }, qr;
|
|
1196
|
+
function dn() {
|
|
1197
|
+
return qr || (qr = 1, (function(e) {
|
|
1274
1198
|
(function() {
|
|
1275
1199
|
var a = {}.hasOwnProperty;
|
|
1276
1200
|
function n() {
|
|
@@ -1299,10 +1223,10 @@ function mn() {
|
|
|
1299
1223
|
}
|
|
1300
1224
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1301
1225
|
})();
|
|
1302
|
-
})(
|
|
1226
|
+
})(Mr)), Mr.exports;
|
|
1303
1227
|
}
|
|
1304
|
-
var
|
|
1305
|
-
const
|
|
1228
|
+
var gn = dn();
|
|
1229
|
+
const mn = /* @__PURE__ */ cn(gn), fn = {
|
|
1306
1230
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1307
1231
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1308
1232
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1317,26 +1241,26 @@ const vn = /* @__PURE__ */ gn(fn), hn = {
|
|
|
1317
1241
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1318
1242
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1319
1243
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1320
|
-
},
|
|
1244
|
+
}, hn = mn.bind(fn), vn = {
|
|
1321
1245
|
PARAGRAPH100: "paragraph-100"
|
|
1322
|
-
},
|
|
1246
|
+
}, q = "purpur-paragraph", Yr = ({
|
|
1323
1247
|
children: e,
|
|
1324
1248
|
className: a,
|
|
1325
1249
|
disabled: n,
|
|
1326
1250
|
enableHyphenation: u = !1,
|
|
1327
1251
|
negative: p = !1,
|
|
1328
|
-
variant: r =
|
|
1252
|
+
variant: r = vn.PARAGRAPH100,
|
|
1329
1253
|
...t
|
|
1330
1254
|
}) => {
|
|
1331
|
-
const i =
|
|
1332
|
-
[`${
|
|
1333
|
-
[`${
|
|
1334
|
-
[`${
|
|
1255
|
+
const i = hn(a, q, `${q}--${r}`, {
|
|
1256
|
+
[`${q}--hyphens`]: u,
|
|
1257
|
+
[`${q}--disabled`]: n,
|
|
1258
|
+
[`${q}--negative`]: p
|
|
1335
1259
|
});
|
|
1336
1260
|
return /* @__PURE__ */ o("p", { ...t, className: i, children: e });
|
|
1337
1261
|
};
|
|
1338
|
-
|
|
1339
|
-
const
|
|
1262
|
+
Yr.displayName = "Paragraph";
|
|
1263
|
+
const yn = {
|
|
1340
1264
|
"purpur-accordion-item": "_purpur-accordion-item_1du2l_1",
|
|
1341
1265
|
"purpur-accordion-item__trigger": "_purpur-accordion-item__trigger_1du2l_4",
|
|
1342
1266
|
"purpur-accordion-item__header": "_purpur-accordion-item__header_1du2l_10",
|
|
@@ -1348,7 +1272,7 @@ const xn = {
|
|
|
1348
1272
|
"purpur-accordion-item__contentText": "_purpur-accordion-item__contentText_1du2l_82",
|
|
1349
1273
|
"purpur-accordion-item__contentText--limit-width": "_purpur-accordion-item__contentText--limit-width_1du2l_85",
|
|
1350
1274
|
"purpur-accordion-item--negative": "_purpur-accordion-item--negative_1du2l_107"
|
|
1351
|
-
},
|
|
1275
|
+
}, O = Qr.bind(yn), N = "purpur-accordion-item", $n = ({
|
|
1352
1276
|
children: e,
|
|
1353
1277
|
className: a,
|
|
1354
1278
|
fullWidth: n = !1,
|
|
@@ -1358,39 +1282,39 @@ const xn = {
|
|
|
1358
1282
|
onClick: t,
|
|
1359
1283
|
onOpen: i,
|
|
1360
1284
|
onClose: c,
|
|
1361
|
-
...
|
|
1285
|
+
...g
|
|
1362
1286
|
}) => {
|
|
1363
|
-
const
|
|
1287
|
+
const x = pe(re), l = D(), [m, $] = ue(!r), b = O([
|
|
1364
1288
|
N,
|
|
1365
1289
|
{
|
|
1366
|
-
[`${N}--negative`]:
|
|
1290
|
+
[`${N}--negative`]: x
|
|
1367
1291
|
},
|
|
1368
1292
|
a
|
|
1369
1293
|
]);
|
|
1370
|
-
return /* @__PURE__ */
|
|
1294
|
+
return /* @__PURE__ */ h("div", { className: b, ...g, children: [
|
|
1371
1295
|
/* @__PURE__ */ o(
|
|
1372
|
-
|
|
1296
|
+
X,
|
|
1373
1297
|
{
|
|
1374
1298
|
tag: p,
|
|
1375
1299
|
variant: "title-100",
|
|
1376
|
-
className:
|
|
1377
|
-
children: /* @__PURE__ */
|
|
1300
|
+
className: O([`${N}__header`, `${N}__title`]),
|
|
1301
|
+
children: /* @__PURE__ */ h(
|
|
1378
1302
|
"button",
|
|
1379
1303
|
{
|
|
1380
1304
|
type: "button",
|
|
1381
|
-
"data-state":
|
|
1382
|
-
onClick: (
|
|
1383
|
-
t && t(
|
|
1305
|
+
"data-state": m ? "open" : "close",
|
|
1306
|
+
onClick: (S) => {
|
|
1307
|
+
t && t(S), m ? i && i() : c && c(), $(!m);
|
|
1384
1308
|
},
|
|
1385
|
-
className:
|
|
1386
|
-
[`${N}__rotate`]: !
|
|
1309
|
+
className: O(`${N}__trigger`, a, {
|
|
1310
|
+
[`${N}__rotate`]: !m
|
|
1387
1311
|
}),
|
|
1388
|
-
"aria-expanded": !
|
|
1312
|
+
"aria-expanded": !m,
|
|
1389
1313
|
"aria-controls": l,
|
|
1390
1314
|
id: l + "button",
|
|
1391
1315
|
children: [
|
|
1392
1316
|
u,
|
|
1393
|
-
/* @__PURE__ */ o(
|
|
1317
|
+
/* @__PURE__ */ o(Xr, { size: "md", className: O(`${N}__icon`), "aria-hidden": !0 })
|
|
1394
1318
|
]
|
|
1395
1319
|
}
|
|
1396
1320
|
)
|
|
@@ -1399,24 +1323,24 @@ const xn = {
|
|
|
1399
1323
|
/* @__PURE__ */ o(
|
|
1400
1324
|
"div",
|
|
1401
1325
|
{
|
|
1402
|
-
className:
|
|
1403
|
-
"aria-hidden":
|
|
1326
|
+
className: O(`${N}__content`, a),
|
|
1327
|
+
"aria-hidden": m,
|
|
1404
1328
|
id: l,
|
|
1405
1329
|
"aria-labelledby": l + "button",
|
|
1406
1330
|
role: "region",
|
|
1407
1331
|
children: /* @__PURE__ */ o(
|
|
1408
1332
|
"div",
|
|
1409
1333
|
{
|
|
1410
|
-
className:
|
|
1334
|
+
className: O(`${N}__contentText`, {
|
|
1411
1335
|
[`${N}__contentText--limit-width`]: !n
|
|
1412
1336
|
}),
|
|
1413
|
-
children: typeof e == "string" ? /* @__PURE__ */ o(
|
|
1337
|
+
children: typeof e == "string" ? /* @__PURE__ */ o(Yr, { variant: "paragraph-200", children: e }) : e
|
|
1414
1338
|
}
|
|
1415
1339
|
)
|
|
1416
1340
|
}
|
|
1417
1341
|
)
|
|
1418
1342
|
] });
|
|
1419
|
-
},
|
|
1343
|
+
}, Tr = Qr.bind(Yt), G = "purpur-accordion", re = ae(!1), H = ({
|
|
1420
1344
|
children: e,
|
|
1421
1345
|
className: a,
|
|
1422
1346
|
negative: n = !1,
|
|
@@ -1426,16 +1350,16 @@ const xn = {
|
|
|
1426
1350
|
schema: t,
|
|
1427
1351
|
...i
|
|
1428
1352
|
}) => {
|
|
1429
|
-
const c =
|
|
1430
|
-
|
|
1353
|
+
const c = Tr([
|
|
1354
|
+
G,
|
|
1431
1355
|
{
|
|
1432
|
-
[`${
|
|
1356
|
+
[`${G}--negative`]: n
|
|
1433
1357
|
},
|
|
1434
1358
|
a
|
|
1435
1359
|
]);
|
|
1436
|
-
return /* @__PURE__ */
|
|
1437
|
-
u && /* @__PURE__ */ o(
|
|
1438
|
-
/* @__PURE__ */ o(
|
|
1360
|
+
return /* @__PURE__ */ h("div", { className: c, ...i, children: [
|
|
1361
|
+
u && /* @__PURE__ */ o(X, { tag: p, variant: r, className: Tr(`${G}__title`), children: u }),
|
|
1362
|
+
/* @__PURE__ */ o(re.Provider, { value: n, children: e }),
|
|
1439
1363
|
t && /* @__PURE__ */ o(
|
|
1440
1364
|
"script",
|
|
1441
1365
|
{
|
|
@@ -1447,33 +1371,33 @@ const xn = {
|
|
|
1447
1371
|
)
|
|
1448
1372
|
] });
|
|
1449
1373
|
};
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
const
|
|
1374
|
+
H.Item = $n;
|
|
1375
|
+
H.displayName = "Accordion";
|
|
1376
|
+
const z = Q.bind(U), Vr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul", { children: e.map(({ href: n, text: u, ...p }, r) => /* @__PURE__ */ o("li", { children: a ? /* @__PURE__ */ o(
|
|
1453
1377
|
a,
|
|
1454
1378
|
{
|
|
1455
1379
|
...p,
|
|
1456
1380
|
href: n,
|
|
1457
|
-
className:
|
|
1381
|
+
className: z(`${_}__custom-link-navigation`),
|
|
1458
1382
|
children: u
|
|
1459
1383
|
}
|
|
1460
|
-
) : /* @__PURE__ */ o(
|
|
1384
|
+
) : /* @__PURE__ */ o(J, { ...p, variant: "navigation", negative: !0, href: n, disableVisited: !0, children: u }) }, r)) }), xn = ({
|
|
1461
1385
|
navigationLinks: e,
|
|
1462
1386
|
sectionProps: a,
|
|
1463
1387
|
customLink: n
|
|
1464
|
-
}) => /* @__PURE__ */
|
|
1388
|
+
}) => /* @__PURE__ */ h(te, { children: [
|
|
1465
1389
|
/* @__PURE__ */ o(
|
|
1466
1390
|
"section",
|
|
1467
1391
|
{
|
|
1468
1392
|
...a,
|
|
1469
|
-
className:
|
|
1393
|
+
className: z(
|
|
1470
1394
|
`${_}__navigation`,
|
|
1471
1395
|
`${_}__navigation--lg`,
|
|
1472
|
-
a
|
|
1396
|
+
a?.className
|
|
1473
1397
|
),
|
|
1474
|
-
children: e.map((u, p) => /* @__PURE__ */
|
|
1475
|
-
/* @__PURE__ */ o("h3", { className:
|
|
1476
|
-
/* @__PURE__ */ o(
|
|
1398
|
+
children: e.map((u, p) => /* @__PURE__ */ h("div", { className: z(`${_}__navigation-section`), children: [
|
|
1399
|
+
/* @__PURE__ */ o("h3", { className: z(`${_}__navigation-section-heading`), children: u.heading }),
|
|
1400
|
+
/* @__PURE__ */ o(Vr, { links: u.links, customLink: n })
|
|
1477
1401
|
] }, p))
|
|
1478
1402
|
}
|
|
1479
1403
|
),
|
|
@@ -1481,36 +1405,30 @@ const A = Y.bind(rr), Rr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("u
|
|
|
1481
1405
|
"section",
|
|
1482
1406
|
{
|
|
1483
1407
|
...a,
|
|
1484
|
-
className:
|
|
1408
|
+
className: z(
|
|
1485
1409
|
`${_}__navigation`,
|
|
1486
1410
|
`${_}__navigation--sm`,
|
|
1487
|
-
a
|
|
1411
|
+
a?.className
|
|
1488
1412
|
),
|
|
1489
|
-
children: /* @__PURE__ */ o(
|
|
1490
|
-
|
|
1413
|
+
children: /* @__PURE__ */ o(H, { negative: !0, children: e.map((u, p) => /* @__PURE__ */ o(
|
|
1414
|
+
H.Item,
|
|
1491
1415
|
{
|
|
1492
1416
|
title: u.heading,
|
|
1493
1417
|
titleTag: "h2",
|
|
1494
|
-
className:
|
|
1495
|
-
children: /* @__PURE__ */ o(
|
|
1418
|
+
className: z(`${_}__navigation-section`),
|
|
1419
|
+
children: /* @__PURE__ */ o(Vr, { links: u.links, customLink: n })
|
|
1496
1420
|
},
|
|
1497
1421
|
p
|
|
1498
1422
|
)) })
|
|
1499
1423
|
}
|
|
1500
1424
|
)
|
|
1501
1425
|
] });
|
|
1502
|
-
function
|
|
1426
|
+
function bn(e) {
|
|
1503
1427
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1504
1428
|
}
|
|
1505
|
-
var
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
Licensed under the MIT License (MIT), see
|
|
1509
|
-
http://jedwatson.github.io/classnames
|
|
1510
|
-
*/
|
|
1511
|
-
var Er;
|
|
1512
|
-
function jn() {
|
|
1513
|
-
return Er || (Er = 1, (function(e) {
|
|
1429
|
+
var Ir = { exports: {} }, Hr;
|
|
1430
|
+
function wn() {
|
|
1431
|
+
return Hr || (Hr = 1, (function(e) {
|
|
1514
1432
|
(function() {
|
|
1515
1433
|
var a = {}.hasOwnProperty;
|
|
1516
1434
|
function n() {
|
|
@@ -1539,10 +1457,10 @@ function jn() {
|
|
|
1539
1457
|
}
|
|
1540
1458
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1541
1459
|
})();
|
|
1542
|
-
})(
|
|
1460
|
+
})(Ir)), Ir.exports;
|
|
1543
1461
|
}
|
|
1544
|
-
var
|
|
1545
|
-
const
|
|
1462
|
+
var Nn = wn();
|
|
1463
|
+
const jn = /* @__PURE__ */ bn(Nn), Sn = {
|
|
1546
1464
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1547
1465
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1548
1466
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1550,33 +1468,33 @@ const Cn = /* @__PURE__ */ Nn(Sn), kn = {
|
|
|
1550
1468
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1551
1469
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1552
1470
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1553
|
-
},
|
|
1471
|
+
}, Cn = jn.bind(Sn), Lr = "purpur-icon", kn = "md", On = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), zn = ({ content: e = "", title: a } = {}) => {
|
|
1554
1472
|
const n = [
|
|
1555
1473
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1556
1474
|
{ name: "fill", value: "currentColor" },
|
|
1557
1475
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1558
1476
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1559
1477
|
], u = a ? `<title>${a}</title>` : "";
|
|
1560
|
-
return `<svg ${
|
|
1561
|
-
},
|
|
1562
|
-
const r =
|
|
1563
|
-
content:
|
|
1478
|
+
return `<svg ${On(n)}>${u}${e}</svg>`;
|
|
1479
|
+
}, Pn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), ee = ({ svg: e, allyTitle: a, className: n, size: u = kn, ...p }) => {
|
|
1480
|
+
const r = zn({
|
|
1481
|
+
content: Pn(e.svg),
|
|
1564
1482
|
title: a
|
|
1565
|
-
}), t =
|
|
1483
|
+
}), t = Cn(Lr, `${Lr}--${u}`, n);
|
|
1566
1484
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
1567
1485
|
};
|
|
1568
|
-
|
|
1569
|
-
const
|
|
1486
|
+
ee.displayName = "Icon";
|
|
1487
|
+
const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
1570
1488
|
"a",
|
|
1571
1489
|
{
|
|
1572
1490
|
...n,
|
|
1573
1491
|
href: a,
|
|
1574
|
-
className:
|
|
1492
|
+
className: An(`${_}__social-link`),
|
|
1575
1493
|
rel: "noreferrer",
|
|
1576
1494
|
target: "_blank",
|
|
1577
|
-
children: /* @__PURE__ */ o(
|
|
1495
|
+
children: /* @__PURE__ */ o(ee, { svg: e })
|
|
1578
1496
|
}
|
|
1579
|
-
),
|
|
1497
|
+
), Mn = () => /* @__PURE__ */ h(
|
|
1580
1498
|
"svg",
|
|
1581
1499
|
{
|
|
1582
1500
|
width: "81",
|
|
@@ -1586,7 +1504,7 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1586
1504
|
role: "img",
|
|
1587
1505
|
"aria-hidden": "true",
|
|
1588
1506
|
children: [
|
|
1589
|
-
/* @__PURE__ */
|
|
1507
|
+
/* @__PURE__ */ h("g", { clipPath: "url(#clip0_5309_7721)", children: [
|
|
1590
1508
|
/* @__PURE__ */ o(
|
|
1591
1509
|
"path",
|
|
1592
1510
|
{
|
|
@@ -1647,7 +1565,7 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1647
1565
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_5309_7721", children: /* @__PURE__ */ o("rect", { width: "81", height: "32", fill: "currentColor" }) }) })
|
|
1648
1566
|
]
|
|
1649
1567
|
}
|
|
1650
|
-
),
|
|
1568
|
+
), y = Q.bind(U), qn = ({
|
|
1651
1569
|
className: e,
|
|
1652
1570
|
navigation: a,
|
|
1653
1571
|
social: n,
|
|
@@ -1657,38 +1575,37 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1657
1575
|
payments: t,
|
|
1658
1576
|
logo: i,
|
|
1659
1577
|
themeSelect: c,
|
|
1660
|
-
forceColorScheme:
|
|
1661
|
-
...
|
|
1578
|
+
forceColorScheme: g,
|
|
1579
|
+
...x
|
|
1662
1580
|
}) => {
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
}), /* @__PURE__ */ o("footer", { "data-id": g, className: l, ...y, children: /* @__PURE__ */ o(Q, { children: /* @__PURE__ */ f("div", { className: h(`${_}__container`), children: [
|
|
1581
|
+
const l = y(e, _), m = D(), { options: $ } = oe(), [b, S] = le();
|
|
1582
|
+
return se({
|
|
1583
|
+
cssVariablesSelector: `[data-id="${m}"]`,
|
|
1584
|
+
currentColorScheme: g ?? $?.footerColorScheme
|
|
1585
|
+
}), /* @__PURE__ */ o("footer", { "data-id": m, className: l, ...x, children: /* @__PURE__ */ o(W, { children: /* @__PURE__ */ h("div", { className: y(`${_}__container`), children: [
|
|
1669
1586
|
/* @__PURE__ */ o(
|
|
1670
1587
|
"div",
|
|
1671
1588
|
{
|
|
1672
|
-
className:
|
|
1589
|
+
className: y(`${_}__logo`, {
|
|
1673
1590
|
[`${_}__logo--telia`]: !i
|
|
1674
1591
|
}),
|
|
1675
|
-
children: i ?? /* @__PURE__ */ o(
|
|
1592
|
+
children: i ?? /* @__PURE__ */ o(Mn, {})
|
|
1676
1593
|
}
|
|
1677
1594
|
),
|
|
1678
1595
|
n && /* @__PURE__ */ o(
|
|
1679
1596
|
"section",
|
|
1680
1597
|
{
|
|
1681
1598
|
...n.sectionProps,
|
|
1682
|
-
className:
|
|
1599
|
+
className: y(
|
|
1683
1600
|
`${_}__social`,
|
|
1684
1601
|
`${_}__social--md`,
|
|
1685
|
-
|
|
1602
|
+
n.sectionProps?.className
|
|
1686
1603
|
),
|
|
1687
|
-
children: n.links.map(({ icon:
|
|
1604
|
+
children: n.links.map(({ icon: f, href: v, ...C }) => /* @__PURE__ */ Z(Zr, { ...C, icon: f, href: v, key: v }))
|
|
1688
1605
|
}
|
|
1689
1606
|
),
|
|
1690
1607
|
a && /* @__PURE__ */ o(
|
|
1691
|
-
|
|
1608
|
+
xn,
|
|
1692
1609
|
{
|
|
1693
1610
|
customLink: a.customLink,
|
|
1694
1611
|
navigationLinks: a.links,
|
|
@@ -1699,32 +1616,32 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1699
1616
|
"section",
|
|
1700
1617
|
{
|
|
1701
1618
|
...t.sectionProps,
|
|
1702
|
-
className:
|
|
1703
|
-
children: t.images.map(({ alt:
|
|
1619
|
+
className: y(`${_}__payments`, t.sectionProps?.className),
|
|
1620
|
+
children: t.images.map(({ alt: f, src: v }) => /* @__PURE__ */ o(
|
|
1704
1621
|
"img",
|
|
1705
1622
|
{
|
|
1706
|
-
className:
|
|
1707
|
-
src:
|
|
1708
|
-
alt:
|
|
1623
|
+
className: y(`${_}__payments-image`),
|
|
1624
|
+
src: v,
|
|
1625
|
+
alt: f
|
|
1709
1626
|
},
|
|
1710
|
-
|
|
1627
|
+
v
|
|
1711
1628
|
))
|
|
1712
1629
|
}
|
|
1713
1630
|
),
|
|
1714
|
-
u && /* @__PURE__ */
|
|
1631
|
+
u && /* @__PURE__ */ h(
|
|
1715
1632
|
"section",
|
|
1716
1633
|
{
|
|
1717
1634
|
...u.sectionProps,
|
|
1718
|
-
className:
|
|
1635
|
+
className: y(`${_}__contacts`, u.sectionProps?.className),
|
|
1719
1636
|
children: [
|
|
1720
|
-
u.copyright && /* @__PURE__ */ o("div", { className:
|
|
1637
|
+
u.copyright && /* @__PURE__ */ o("div", { className: y(`${_}__contacts-copyright`), children: u.copyright }),
|
|
1721
1638
|
u.address && /* @__PURE__ */ o(
|
|
1722
1639
|
"address",
|
|
1723
1640
|
{
|
|
1724
1641
|
...u.address.addressProps,
|
|
1725
|
-
className:
|
|
1642
|
+
className: y(
|
|
1726
1643
|
`${_}__contacts-address`,
|
|
1727
|
-
|
|
1644
|
+
u.address.addressProps?.className
|
|
1728
1645
|
),
|
|
1729
1646
|
children: u.address.content
|
|
1730
1647
|
}
|
|
@@ -1732,25 +1649,25 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1732
1649
|
]
|
|
1733
1650
|
}
|
|
1734
1651
|
),
|
|
1735
|
-
(r || p) && /* @__PURE__ */
|
|
1652
|
+
(r || p) && /* @__PURE__ */ h("div", { className: y(`${_}__additional`), children: [
|
|
1736
1653
|
r && /* @__PURE__ */ o(
|
|
1737
1654
|
"section",
|
|
1738
1655
|
{
|
|
1739
1656
|
...r.sectionProps,
|
|
1740
|
-
className:
|
|
1657
|
+
className: y(`${_}__custom-content`, r.sectionProps?.className),
|
|
1741
1658
|
children: r.content
|
|
1742
1659
|
}
|
|
1743
1660
|
),
|
|
1744
1661
|
c && /* @__PURE__ */ o(
|
|
1745
|
-
|
|
1662
|
+
Jr,
|
|
1746
1663
|
{
|
|
1747
|
-
value:
|
|
1664
|
+
value: b,
|
|
1748
1665
|
label: c.label,
|
|
1749
1666
|
options: c.options,
|
|
1750
1667
|
negative: !0,
|
|
1751
|
-
className:
|
|
1752
|
-
onChange: (
|
|
1753
|
-
|
|
1668
|
+
className: y(`${_}__theme-select`),
|
|
1669
|
+
onChange: (f) => {
|
|
1670
|
+
S(f.target.value);
|
|
1754
1671
|
}
|
|
1755
1672
|
}
|
|
1756
1673
|
),
|
|
@@ -1758,21 +1675,21 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1758
1675
|
"section",
|
|
1759
1676
|
{
|
|
1760
1677
|
...p.sectionProps,
|
|
1761
|
-
className:
|
|
1678
|
+
className: y(
|
|
1762
1679
|
`${_}__additional-links`,
|
|
1763
|
-
|
|
1680
|
+
p.sectionProps?.className
|
|
1764
1681
|
),
|
|
1765
|
-
children:
|
|
1766
|
-
|
|
1682
|
+
children: p?.links?.map(({ href: f, text: v, ...C }) => /* @__PURE__ */ Z(
|
|
1683
|
+
J,
|
|
1767
1684
|
{
|
|
1768
|
-
...
|
|
1685
|
+
...C,
|
|
1769
1686
|
variant: "standalone",
|
|
1770
1687
|
negative: !0,
|
|
1771
|
-
href:
|
|
1772
|
-
key:
|
|
1688
|
+
href: f,
|
|
1689
|
+
key: f,
|
|
1773
1690
|
disableVisited: !0
|
|
1774
1691
|
},
|
|
1775
|
-
|
|
1692
|
+
v
|
|
1776
1693
|
))
|
|
1777
1694
|
}
|
|
1778
1695
|
)
|
|
@@ -1781,18 +1698,18 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1781
1698
|
"section",
|
|
1782
1699
|
{
|
|
1783
1700
|
...n.sectionProps,
|
|
1784
|
-
className:
|
|
1701
|
+
className: y(
|
|
1785
1702
|
`${_}__social`,
|
|
1786
1703
|
`${_}__social--sm`,
|
|
1787
|
-
|
|
1704
|
+
n.sectionProps?.className
|
|
1788
1705
|
),
|
|
1789
|
-
children: n.links.map(({ icon:
|
|
1706
|
+
children: n.links.map(({ icon: f, href: v, ...C }) => /* @__PURE__ */ Z(Zr, { ...C, icon: f, href: v, key: v }))
|
|
1790
1707
|
}
|
|
1791
1708
|
)
|
|
1792
1709
|
] }) }) });
|
|
1793
1710
|
};
|
|
1794
|
-
|
|
1711
|
+
qn.displayName = "Footer";
|
|
1795
1712
|
export {
|
|
1796
|
-
|
|
1713
|
+
qn as Footer
|
|
1797
1714
|
};
|
|
1798
1715
|
//# sourceMappingURL=footer.es.js.map
|