@purpurds/promotion-card 6.2.0 → 6.3.1
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 +6 -6
- package/dist/promotion-card.cjs.js +17 -17
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.es.js +957 -952
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +14 -14
|
@@ -1,48 +1,51 @@
|
|
|
1
|
-
import { jsxs as _, jsx as u, Fragment as
|
|
1
|
+
import { jsxs as _, jsx as u, Fragment as ar } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
3
|
import { forwardRef as W } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
function
|
|
5
|
+
function de(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
8
|
-
var
|
|
8
|
+
var ir = { exports: {} };
|
|
9
9
|
/*!
|
|
10
10
|
Copyright (c) 2018 Jed Watson.
|
|
11
11
|
Licensed under the MIT License (MIT), see
|
|
12
12
|
http://jedwatson.github.io/classnames
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
var or;
|
|
15
|
+
function ce() {
|
|
16
|
+
return or || (or = 1, function(e) {
|
|
17
|
+
(function() {
|
|
18
|
+
var i = {}.hasOwnProperty;
|
|
19
|
+
function a() {
|
|
20
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
21
|
+
var n = arguments[t];
|
|
22
|
+
n && (r = p(r, o.call(this, n)));
|
|
23
|
+
}
|
|
24
|
+
return r;
|
|
21
25
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const Yr = /* @__PURE__ */ Xr(Kr), Jr = {
|
|
26
|
+
function o(r) {
|
|
27
|
+
if (typeof r == "string" || typeof r == "number")
|
|
28
|
+
return this && this[r] || r;
|
|
29
|
+
if (typeof r != "object")
|
|
30
|
+
return "";
|
|
31
|
+
if (Array.isArray(r))
|
|
32
|
+
return a.apply(this, r);
|
|
33
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
34
|
+
return r.toString();
|
|
35
|
+
var t = "";
|
|
36
|
+
for (var n in r)
|
|
37
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
38
|
+
return t;
|
|
39
|
+
}
|
|
40
|
+
function p(r, t) {
|
|
41
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
42
|
+
}
|
|
43
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
44
|
+
})();
|
|
45
|
+
}(ir)), ir.exports;
|
|
46
|
+
}
|
|
47
|
+
var _e = ce();
|
|
48
|
+
const fe = /* @__PURE__ */ de(_e), ge = {
|
|
46
49
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
47
50
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
48
51
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -50,115 +53,118 @@ const Yr = /* @__PURE__ */ Xr(Kr), Jr = {
|
|
|
50
53
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
51
54
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
52
55
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
53
|
-
},
|
|
56
|
+
}, he = fe.bind(ge), pr = "purpur-icon", me = "md", ve = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), ye = ({ content: e = "", title: i } = {}) => {
|
|
54
57
|
const a = [
|
|
55
58
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
56
59
|
{ name: "fill", value: "currentColor" },
|
|
57
60
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
58
|
-
|
|
59
|
-
], o =
|
|
60
|
-
return `<svg ${
|
|
61
|
-
},
|
|
61
|
+
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
62
|
+
], o = i ? `<title>${i}</title>` : "";
|
|
63
|
+
return `<svg ${ve(a)}>${o}${e}</svg>`;
|
|
64
|
+
}, we = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Xr = ({
|
|
62
65
|
["data-testid"]: e,
|
|
63
|
-
svg:
|
|
66
|
+
svg: i,
|
|
64
67
|
allyTitle: a,
|
|
65
68
|
className: o,
|
|
66
|
-
size: p =
|
|
69
|
+
size: p = me,
|
|
67
70
|
...r
|
|
68
71
|
}) => {
|
|
69
|
-
const t =
|
|
70
|
-
content:
|
|
72
|
+
const t = ye({
|
|
73
|
+
content: we(i.svg),
|
|
71
74
|
title: a
|
|
72
|
-
}),
|
|
75
|
+
}), n = he(o, pr, `${pr}--${p}`);
|
|
73
76
|
return /* @__PURE__ */ u(
|
|
74
77
|
"span",
|
|
75
78
|
{
|
|
76
79
|
"aria-label": a,
|
|
77
|
-
className:
|
|
80
|
+
className: n,
|
|
78
81
|
"data-testid": e,
|
|
79
82
|
dangerouslySetInnerHTML: { __html: t },
|
|
80
83
|
...r
|
|
81
84
|
}
|
|
82
85
|
);
|
|
83
86
|
};
|
|
84
|
-
|
|
85
|
-
const
|
|
87
|
+
Xr.displayName = "Icon";
|
|
88
|
+
const xe = {
|
|
86
89
|
name: "alert",
|
|
87
90
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
88
91
|
keywords: ["alert"],
|
|
89
92
|
category: "status"
|
|
90
|
-
},
|
|
93
|
+
}, be = {
|
|
91
94
|
name: "check-circle",
|
|
92
95
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
93
96
|
keywords: ["check-circle"],
|
|
94
97
|
category: "status"
|
|
95
|
-
},
|
|
98
|
+
}, $e = {
|
|
96
99
|
name: "error",
|
|
97
100
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
|
|
98
101
|
keywords: ["error"],
|
|
99
102
|
category: "status"
|
|
100
|
-
},
|
|
103
|
+
}, Se = {
|
|
101
104
|
name: "info",
|
|
102
105
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
103
106
|
keywords: ["info"],
|
|
104
107
|
category: "status"
|
|
105
|
-
},
|
|
108
|
+
}, Ce = {
|
|
106
109
|
name: "offering",
|
|
107
110
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
|
|
108
111
|
keywords: ["offering"],
|
|
109
112
|
category: "other"
|
|
110
|
-
},
|
|
113
|
+
}, ke = {
|
|
111
114
|
name: "question",
|
|
112
115
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
113
116
|
keywords: ["question"],
|
|
114
117
|
category: "status"
|
|
115
|
-
},
|
|
118
|
+
}, Oe = {
|
|
116
119
|
name: "tag",
|
|
117
120
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
|
|
118
121
|
keywords: ["tag"],
|
|
119
122
|
category: "other"
|
|
120
123
|
};
|
|
121
|
-
function
|
|
124
|
+
function Ae(e) {
|
|
122
125
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
123
126
|
}
|
|
124
|
-
var
|
|
127
|
+
var ur = { exports: {} };
|
|
125
128
|
/*!
|
|
126
129
|
Copyright (c) 2018 Jed Watson.
|
|
127
130
|
Licensed under the MIT License (MIT), see
|
|
128
131
|
http://jedwatson.github.io/classnames
|
|
129
132
|
*/
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
function
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
function o(r) {
|
|
141
|
-
if (typeof r == "string" || typeof r == "number")
|
|
133
|
+
var lr;
|
|
134
|
+
function Fe() {
|
|
135
|
+
return lr || (lr = 1, function(e) {
|
|
136
|
+
(function() {
|
|
137
|
+
var i = {}.hasOwnProperty;
|
|
138
|
+
function a() {
|
|
139
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
140
|
+
var n = arguments[t];
|
|
141
|
+
n && (r = p(r, o(n)));
|
|
142
|
+
}
|
|
142
143
|
return r;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
144
|
+
}
|
|
145
|
+
function o(r) {
|
|
146
|
+
if (typeof r == "string" || typeof r == "number")
|
|
147
|
+
return r;
|
|
148
|
+
if (typeof r != "object")
|
|
149
|
+
return "";
|
|
150
|
+
if (Array.isArray(r))
|
|
151
|
+
return a.apply(null, r);
|
|
152
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
153
|
+
return r.toString();
|
|
154
|
+
var t = "";
|
|
155
|
+
for (var n in r)
|
|
156
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
157
|
+
return t;
|
|
158
|
+
}
|
|
159
|
+
function p(r, t) {
|
|
160
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
161
|
+
}
|
|
162
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
163
|
+
})();
|
|
164
|
+
}(ur)), ur.exports;
|
|
165
|
+
}
|
|
166
|
+
var Be = Fe();
|
|
167
|
+
const Ne = /* @__PURE__ */ Ae(Be), sr = {
|
|
162
168
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
163
169
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
164
170
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -168,7 +174,7 @@ const _e = /* @__PURE__ */ de(ce), nr = {
|
|
|
168
174
|
"purpur-badge--warning": "_purpur-badge--warning_19vzu_33",
|
|
169
175
|
"purpur-badge--error": "_purpur-badge--error_19vzu_37",
|
|
170
176
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_19vzu_41"
|
|
171
|
-
},
|
|
177
|
+
}, dr = "purpur-badge", $ = {
|
|
172
178
|
ATTENTION: "attention",
|
|
173
179
|
SPECIAL: "special",
|
|
174
180
|
NEUTRAL: "neutral",
|
|
@@ -177,122 +183,118 @@ const _e = /* @__PURE__ */ de(ce), nr = {
|
|
|
177
183
|
WARNING: "warning",
|
|
178
184
|
ERROR: "error",
|
|
179
185
|
BLACK_FRIDAY: "black-friday"
|
|
180
|
-
},
|
|
186
|
+
}, Me = (e) => {
|
|
181
187
|
switch (e) {
|
|
182
188
|
case $.ATTENTION:
|
|
183
189
|
case $.SPECIAL:
|
|
184
|
-
return
|
|
190
|
+
return Ce;
|
|
185
191
|
case $.INFORMATION:
|
|
186
|
-
return
|
|
192
|
+
return Se;
|
|
187
193
|
case $.SUCCESS:
|
|
188
|
-
return
|
|
194
|
+
return be;
|
|
189
195
|
case $.WARNING:
|
|
190
|
-
return
|
|
196
|
+
return xe;
|
|
191
197
|
case $.ERROR:
|
|
192
|
-
return
|
|
198
|
+
return $e;
|
|
193
199
|
case $.NEUTRAL:
|
|
194
|
-
return
|
|
200
|
+
return ke;
|
|
195
201
|
case $.BLACK_FRIDAY:
|
|
196
|
-
return
|
|
202
|
+
return Oe;
|
|
197
203
|
default:
|
|
198
204
|
return;
|
|
199
205
|
}
|
|
200
|
-
},
|
|
206
|
+
}, je = ({
|
|
201
207
|
children: e,
|
|
202
|
-
showIcon:
|
|
208
|
+
showIcon: i = !0,
|
|
203
209
|
variant: a,
|
|
204
210
|
["data-testid"]: o,
|
|
205
211
|
allyLabel: p,
|
|
206
212
|
className: r = "",
|
|
207
213
|
...t
|
|
208
214
|
}) => {
|
|
209
|
-
const
|
|
215
|
+
const n = Me(a), l = Ne([r, sr[dr], sr[`${dr}--${a}`]]);
|
|
210
216
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
211
|
-
|
|
217
|
+
i && n && /* @__PURE__ */ u(Xr, { "data-testid": `${o}-icon`, allyTitle: p, size: "xs", svg: n }),
|
|
212
218
|
e
|
|
213
219
|
] });
|
|
214
|
-
},
|
|
215
|
-
XS: "xs",
|
|
216
|
-
SM: "sm",
|
|
217
|
-
MD: "md",
|
|
220
|
+
}, Ge = {
|
|
218
221
|
LG: "lg"
|
|
219
222
|
};
|
|
220
|
-
function
|
|
223
|
+
function qe(e) {
|
|
221
224
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
222
225
|
}
|
|
223
|
-
var
|
|
226
|
+
var cr = { exports: {} };
|
|
224
227
|
/*!
|
|
225
228
|
Copyright (c) 2018 Jed Watson.
|
|
226
229
|
Licensed under the MIT License (MIT), see
|
|
227
230
|
http://jedwatson.github.io/classnames
|
|
228
231
|
*/
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
function
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
function o(r) {
|
|
240
|
-
if (typeof r == "string" || typeof r == "number")
|
|
232
|
+
var _r;
|
|
233
|
+
function Ze() {
|
|
234
|
+
return _r || (_r = 1, function(e) {
|
|
235
|
+
(function() {
|
|
236
|
+
var i = {}.hasOwnProperty;
|
|
237
|
+
function a() {
|
|
238
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
239
|
+
var n = arguments[t];
|
|
240
|
+
n && (r = p(r, o(n)));
|
|
241
|
+
}
|
|
241
242
|
return r;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
243
|
+
}
|
|
244
|
+
function o(r) {
|
|
245
|
+
if (typeof r == "string" || typeof r == "number")
|
|
246
|
+
return r;
|
|
247
|
+
if (typeof r != "object")
|
|
248
|
+
return "";
|
|
249
|
+
if (Array.isArray(r))
|
|
250
|
+
return a.apply(null, r);
|
|
251
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
252
|
+
return r.toString();
|
|
253
|
+
var t = "";
|
|
254
|
+
for (var n in r)
|
|
255
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
256
|
+
return t;
|
|
257
|
+
}
|
|
258
|
+
function p(r, t) {
|
|
259
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
260
|
+
}
|
|
261
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
262
|
+
})();
|
|
263
|
+
}(cr)), cr.exports;
|
|
264
|
+
}
|
|
265
|
+
var Ee = Ze();
|
|
266
|
+
const fr = /* @__PURE__ */ qe(Ee), ze = "_rotate_1xozj_1", Ue = "_dash_1xozj_1", q = {
|
|
261
267
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
262
|
-
rotate:
|
|
268
|
+
rotate: ze,
|
|
263
269
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
264
270
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
265
271
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
266
272
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
267
273
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
268
274
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
269
|
-
dash:
|
|
275
|
+
dash: Ue,
|
|
270
276
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
271
277
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
272
|
-
},
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
SM: "sm",
|
|
276
|
-
MD: "md",
|
|
277
|
-
LG: "lg"
|
|
278
|
-
}, be = ({
|
|
278
|
+
}, Z = "purpur-spinner", Ie = {
|
|
279
|
+
SM: "sm"
|
|
280
|
+
}, Re = ({
|
|
279
281
|
["data-testid"]: e,
|
|
280
|
-
disabled:
|
|
282
|
+
disabled: i = !1,
|
|
281
283
|
negative: a = !1,
|
|
282
|
-
size: o =
|
|
284
|
+
size: o = Ie.SM,
|
|
283
285
|
...p
|
|
284
286
|
}) => /* @__PURE__ */ u(
|
|
285
287
|
"div",
|
|
286
288
|
{
|
|
287
|
-
className:
|
|
289
|
+
className: fr([q[Z], q[`${Z}--${o}`]]),
|
|
288
290
|
"data-testid": e,
|
|
289
291
|
...p,
|
|
290
292
|
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
291
293
|
"circle",
|
|
292
294
|
{
|
|
293
|
-
className:
|
|
294
|
-
[
|
|
295
|
-
[
|
|
295
|
+
className: fr(q[`${Z}__circle`], {
|
|
296
|
+
[q[`${Z}__circle--disabled`]]: i,
|
|
297
|
+
[q[`${Z}__circle--negative`]]: a
|
|
296
298
|
}),
|
|
297
299
|
cx: "25",
|
|
298
300
|
cy: "25",
|
|
@@ -301,47 +303,50 @@ const pr = /* @__PURE__ */ me(ve), ye = "_rotate_1xozj_1", we = "_dash_1xozj_1",
|
|
|
301
303
|
) })
|
|
302
304
|
}
|
|
303
305
|
);
|
|
304
|
-
function
|
|
306
|
+
function Pe(e) {
|
|
305
307
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
306
308
|
}
|
|
307
|
-
var
|
|
309
|
+
var gr = { exports: {} };
|
|
308
310
|
/*!
|
|
309
311
|
Copyright (c) 2018 Jed Watson.
|
|
310
312
|
Licensed under the MIT License (MIT), see
|
|
311
313
|
http://jedwatson.github.io/classnames
|
|
312
314
|
*/
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
function
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
315
|
+
var hr;
|
|
316
|
+
function Le() {
|
|
317
|
+
return hr || (hr = 1, function(e) {
|
|
318
|
+
(function() {
|
|
319
|
+
var i = {}.hasOwnProperty;
|
|
320
|
+
function a() {
|
|
321
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
322
|
+
var n = arguments[t];
|
|
323
|
+
n && (r = p(r, o.call(this, n)));
|
|
324
|
+
}
|
|
325
|
+
return r;
|
|
320
326
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
const Ce = /* @__PURE__ */ $e(Se), Ae = {
|
|
327
|
+
function o(r) {
|
|
328
|
+
if (typeof r == "string" || typeof r == "number")
|
|
329
|
+
return this && this[r] || r;
|
|
330
|
+
if (typeof r != "object")
|
|
331
|
+
return "";
|
|
332
|
+
if (Array.isArray(r))
|
|
333
|
+
return a.apply(this, r);
|
|
334
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
335
|
+
return r.toString();
|
|
336
|
+
var t = "";
|
|
337
|
+
for (var n in r)
|
|
338
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
339
|
+
return t;
|
|
340
|
+
}
|
|
341
|
+
function p(r, t) {
|
|
342
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
343
|
+
}
|
|
344
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
345
|
+
})();
|
|
346
|
+
}(gr)), gr.exports;
|
|
347
|
+
}
|
|
348
|
+
var De = Le();
|
|
349
|
+
const Te = /* @__PURE__ */ Pe(De), He = {
|
|
345
350
|
"purpur-button": "_purpur-button_w455q_1",
|
|
346
351
|
"purpur-button--xs": "_purpur-button--xs_w455q_33",
|
|
347
352
|
"purpur-button--icon-only": "_purpur-button--icon-only_w455q_36",
|
|
@@ -363,15 +368,15 @@ const Ce = /* @__PURE__ */ $e(Se), Ae = {
|
|
|
363
368
|
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_w455q_166",
|
|
364
369
|
"purpur-button--text-negative": "_purpur-button--text-negative_w455q_181",
|
|
365
370
|
"purpur-button--text": "_purpur-button--text_w455q_181"
|
|
366
|
-
},
|
|
371
|
+
}, Ve = Te.bind(He), A = "purpur-button", We = ({
|
|
367
372
|
children: e,
|
|
368
|
-
className:
|
|
373
|
+
className: i,
|
|
369
374
|
["data-testid"]: a,
|
|
370
375
|
disabled: o = !1,
|
|
371
376
|
fullWidth: p = !1,
|
|
372
377
|
iconOnly: r,
|
|
373
378
|
loading: t = !1,
|
|
374
|
-
negative:
|
|
379
|
+
negative: n = !1,
|
|
375
380
|
onClick: l,
|
|
376
381
|
size: d = "md",
|
|
377
382
|
variant: m,
|
|
@@ -380,22 +385,22 @@ const Ce = /* @__PURE__ */ $e(Se), Ae = {
|
|
|
380
385
|
}, C) => {
|
|
381
386
|
if (r && m === "destructive")
|
|
382
387
|
return null;
|
|
383
|
-
const f =
|
|
388
|
+
const f = Ve(
|
|
384
389
|
[
|
|
385
|
-
|
|
386
|
-
`${
|
|
387
|
-
`${
|
|
390
|
+
A,
|
|
391
|
+
`${A}--${n ? `${m}-negative` : m}`,
|
|
392
|
+
`${A}--${d}`
|
|
388
393
|
],
|
|
389
394
|
{
|
|
390
|
-
[`${
|
|
391
|
-
[`${
|
|
392
|
-
[`${
|
|
393
|
-
[`${
|
|
395
|
+
[`${A}--icon-only`]: r,
|
|
396
|
+
[`${A}--negative`]: n,
|
|
397
|
+
[`${A}--full-width`]: p,
|
|
398
|
+
[`${A}--disabled`]: o || t
|
|
394
399
|
},
|
|
395
|
-
|
|
396
|
-
),
|
|
400
|
+
i
|
|
401
|
+
), N = (v) => {
|
|
397
402
|
o || t ? v.preventDefault() : l && l(v);
|
|
398
|
-
},
|
|
403
|
+
}, k = !!B["aria-disabled"] || o || t;
|
|
399
404
|
return /* @__PURE__ */ _(
|
|
400
405
|
"button",
|
|
401
406
|
{
|
|
@@ -403,102 +408,108 @@ const Ce = /* @__PURE__ */ $e(Se), Ae = {
|
|
|
403
408
|
"data-testid": a,
|
|
404
409
|
type: b,
|
|
405
410
|
ref: C,
|
|
406
|
-
"aria-disabled":
|
|
407
|
-
onClick:
|
|
411
|
+
"aria-disabled": k,
|
|
412
|
+
onClick: N,
|
|
408
413
|
...B,
|
|
409
414
|
children: [
|
|
410
|
-
t && /* @__PURE__ */ u(
|
|
415
|
+
t && /* @__PURE__ */ u(Re, { size: d === Ge.LG ? "xs" : "xxs", negative: n, disabled: k }),
|
|
411
416
|
" ",
|
|
412
417
|
e
|
|
413
418
|
]
|
|
414
419
|
}
|
|
415
420
|
);
|
|
416
|
-
},
|
|
417
|
-
|
|
418
|
-
function
|
|
421
|
+
}, Qr = W(We);
|
|
422
|
+
Qr.displayName = "Button";
|
|
423
|
+
function Ye(e) {
|
|
419
424
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
420
425
|
}
|
|
421
|
-
var
|
|
426
|
+
var mr = { exports: {} };
|
|
422
427
|
/*!
|
|
423
428
|
Copyright (c) 2018 Jed Watson.
|
|
424
429
|
Licensed under the MIT License (MIT), see
|
|
425
430
|
http://jedwatson.github.io/classnames
|
|
426
431
|
*/
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
function
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
432
|
+
var vr;
|
|
433
|
+
function Ke() {
|
|
434
|
+
return vr || (vr = 1, function(e) {
|
|
435
|
+
(function() {
|
|
436
|
+
var i = {}.hasOwnProperty;
|
|
437
|
+
function a() {
|
|
438
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
439
|
+
var n = arguments[t];
|
|
440
|
+
n && (r = p(r, o.call(this, n)));
|
|
441
|
+
}
|
|
442
|
+
return r;
|
|
434
443
|
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
const h = /* @__PURE__ */ Ne(Be), Fe = {
|
|
444
|
+
function o(r) {
|
|
445
|
+
if (typeof r == "string" || typeof r == "number")
|
|
446
|
+
return this && this[r] || r;
|
|
447
|
+
if (typeof r != "object")
|
|
448
|
+
return "";
|
|
449
|
+
if (Array.isArray(r))
|
|
450
|
+
return a.apply(this, r);
|
|
451
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
452
|
+
return r.toString();
|
|
453
|
+
var t = "";
|
|
454
|
+
for (var n in r)
|
|
455
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
456
|
+
return t;
|
|
457
|
+
}
|
|
458
|
+
function p(r, t) {
|
|
459
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
460
|
+
}
|
|
461
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
462
|
+
})();
|
|
463
|
+
}(mr)), mr.exports;
|
|
464
|
+
}
|
|
465
|
+
var Je = Ke();
|
|
466
|
+
const h = /* @__PURE__ */ Ye(Je), Xe = {
|
|
459
467
|
"purpur-card": "_purpur-card_1ruml_1"
|
|
460
468
|
};
|
|
461
|
-
function
|
|
469
|
+
function Qe(e) {
|
|
462
470
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
463
471
|
}
|
|
464
|
-
var
|
|
472
|
+
var yr = { exports: {} };
|
|
465
473
|
/*!
|
|
466
474
|
Copyright (c) 2018 Jed Watson.
|
|
467
475
|
Licensed under the MIT License (MIT), see
|
|
468
476
|
http://jedwatson.github.io/classnames
|
|
469
477
|
*/
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
function
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
478
|
+
var wr;
|
|
479
|
+
function rt() {
|
|
480
|
+
return wr || (wr = 1, function(e) {
|
|
481
|
+
(function() {
|
|
482
|
+
var i = {}.hasOwnProperty;
|
|
483
|
+
function a() {
|
|
484
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
485
|
+
var n = arguments[t];
|
|
486
|
+
n && (r = p(r, o.call(this, n)));
|
|
487
|
+
}
|
|
488
|
+
return r;
|
|
477
489
|
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
const je = /* @__PURE__ */ Me(Ee), Ie = {
|
|
490
|
+
function o(r) {
|
|
491
|
+
if (typeof r == "string" || typeof r == "number")
|
|
492
|
+
return this && this[r] || r;
|
|
493
|
+
if (typeof r != "object")
|
|
494
|
+
return "";
|
|
495
|
+
if (Array.isArray(r))
|
|
496
|
+
return a.apply(this, r);
|
|
497
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
498
|
+
return r.toString();
|
|
499
|
+
var t = "";
|
|
500
|
+
for (var n in r)
|
|
501
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
502
|
+
return t;
|
|
503
|
+
}
|
|
504
|
+
function p(r, t) {
|
|
505
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
506
|
+
}
|
|
507
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
508
|
+
})();
|
|
509
|
+
}(yr)), yr.exports;
|
|
510
|
+
}
|
|
511
|
+
var et = rt();
|
|
512
|
+
const tt = /* @__PURE__ */ Qe(et), at = {
|
|
502
513
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
503
514
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
504
515
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -506,115 +517,118 @@ const je = /* @__PURE__ */ Me(Ee), Ie = {
|
|
|
506
517
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
507
518
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
508
519
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
509
|
-
},
|
|
520
|
+
}, nt = tt.bind(at), xr = "purpur-icon", it = "md", ot = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), pt = ({ content: e = "", title: i } = {}) => {
|
|
510
521
|
const a = [
|
|
511
522
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
512
523
|
{ name: "fill", value: "currentColor" },
|
|
513
524
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
514
|
-
|
|
515
|
-
], o =
|
|
516
|
-
return `<svg ${
|
|
517
|
-
},
|
|
525
|
+
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
526
|
+
], o = i ? `<title>${i}</title>` : "";
|
|
527
|
+
return `<svg ${ot(a)}>${o}${e}</svg>`;
|
|
528
|
+
}, ut = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), re = ({
|
|
518
529
|
["data-testid"]: e,
|
|
519
|
-
svg:
|
|
530
|
+
svg: i,
|
|
520
531
|
allyTitle: a,
|
|
521
532
|
className: o,
|
|
522
|
-
size: p =
|
|
533
|
+
size: p = it,
|
|
523
534
|
...r
|
|
524
535
|
}) => {
|
|
525
|
-
const t =
|
|
526
|
-
content:
|
|
536
|
+
const t = pt({
|
|
537
|
+
content: ut(i.svg),
|
|
527
538
|
title: a
|
|
528
|
-
}),
|
|
539
|
+
}), n = nt(o, xr, `${xr}--${p}`);
|
|
529
540
|
return /* @__PURE__ */ u(
|
|
530
541
|
"span",
|
|
531
542
|
{
|
|
532
543
|
"aria-label": a,
|
|
533
|
-
className:
|
|
544
|
+
className: n,
|
|
534
545
|
"data-testid": e,
|
|
535
546
|
dangerouslySetInnerHTML: { __html: t },
|
|
536
547
|
...r
|
|
537
548
|
}
|
|
538
549
|
);
|
|
539
550
|
};
|
|
540
|
-
|
|
541
|
-
const
|
|
551
|
+
re.displayName = "Icon";
|
|
552
|
+
const lt = {
|
|
542
553
|
name: "alert",
|
|
543
554
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
544
555
|
keywords: ["alert"],
|
|
545
556
|
category: "status"
|
|
546
|
-
},
|
|
557
|
+
}, st = {
|
|
547
558
|
name: "check-circle",
|
|
548
559
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
549
560
|
keywords: ["check-circle"],
|
|
550
561
|
category: "status"
|
|
551
|
-
},
|
|
562
|
+
}, dt = {
|
|
552
563
|
name: "error",
|
|
553
564
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
|
|
554
565
|
keywords: ["error"],
|
|
555
566
|
category: "status"
|
|
556
|
-
},
|
|
567
|
+
}, ct = {
|
|
557
568
|
name: "info",
|
|
558
569
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
559
570
|
keywords: ["info"],
|
|
560
571
|
category: "status"
|
|
561
|
-
},
|
|
572
|
+
}, _t = {
|
|
562
573
|
name: "offering",
|
|
563
574
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
|
|
564
575
|
keywords: ["offering"],
|
|
565
576
|
category: "other"
|
|
566
|
-
},
|
|
577
|
+
}, ft = {
|
|
567
578
|
name: "question",
|
|
568
579
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
569
580
|
keywords: ["question"],
|
|
570
581
|
category: "status"
|
|
571
|
-
},
|
|
582
|
+
}, gt = {
|
|
572
583
|
name: "tag",
|
|
573
584
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
|
|
574
585
|
keywords: ["tag"],
|
|
575
586
|
category: "other"
|
|
576
587
|
};
|
|
577
|
-
function
|
|
588
|
+
function ht(e) {
|
|
578
589
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
579
590
|
}
|
|
580
|
-
var
|
|
591
|
+
var br = { exports: {} };
|
|
581
592
|
/*!
|
|
582
593
|
Copyright (c) 2018 Jed Watson.
|
|
583
594
|
Licensed under the MIT License (MIT), see
|
|
584
595
|
http://jedwatson.github.io/classnames
|
|
585
596
|
*/
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
function
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
function o(r) {
|
|
597
|
-
if (typeof r == "string" || typeof r == "number")
|
|
597
|
+
var $r;
|
|
598
|
+
function mt() {
|
|
599
|
+
return $r || ($r = 1, function(e) {
|
|
600
|
+
(function() {
|
|
601
|
+
var i = {}.hasOwnProperty;
|
|
602
|
+
function a() {
|
|
603
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
604
|
+
var n = arguments[t];
|
|
605
|
+
n && (r = p(r, o(n)));
|
|
606
|
+
}
|
|
598
607
|
return r;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
608
|
+
}
|
|
609
|
+
function o(r) {
|
|
610
|
+
if (typeof r == "string" || typeof r == "number")
|
|
611
|
+
return r;
|
|
612
|
+
if (typeof r != "object")
|
|
613
|
+
return "";
|
|
614
|
+
if (Array.isArray(r))
|
|
615
|
+
return a.apply(null, r);
|
|
616
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
617
|
+
return r.toString();
|
|
618
|
+
var t = "";
|
|
619
|
+
for (var n in r)
|
|
620
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
621
|
+
return t;
|
|
622
|
+
}
|
|
623
|
+
function p(r, t) {
|
|
624
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
625
|
+
}
|
|
626
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
627
|
+
})();
|
|
628
|
+
}(br)), br.exports;
|
|
629
|
+
}
|
|
630
|
+
var vt = mt();
|
|
631
|
+
const yt = /* @__PURE__ */ ht(vt), Sr = {
|
|
618
632
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
619
633
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
620
634
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -624,7 +638,7 @@ const Ke = /* @__PURE__ */ We(Xe), lr = {
|
|
|
624
638
|
"purpur-badge--warning": "_purpur-badge--warning_19vzu_33",
|
|
625
639
|
"purpur-badge--error": "_purpur-badge--error_19vzu_37",
|
|
626
640
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_19vzu_41"
|
|
627
|
-
},
|
|
641
|
+
}, Cr = "purpur-badge", S = {
|
|
628
642
|
ATTENTION: "attention",
|
|
629
643
|
SPECIAL: "special",
|
|
630
644
|
NEUTRAL: "neutral",
|
|
@@ -633,161 +647,160 @@ const Ke = /* @__PURE__ */ We(Xe), lr = {
|
|
|
633
647
|
WARNING: "warning",
|
|
634
648
|
ERROR: "error",
|
|
635
649
|
BLACK_FRIDAY: "black-friday"
|
|
636
|
-
},
|
|
650
|
+
}, wt = (e) => {
|
|
637
651
|
switch (e) {
|
|
638
652
|
case S.ATTENTION:
|
|
639
653
|
case S.SPECIAL:
|
|
640
|
-
return
|
|
654
|
+
return _t;
|
|
641
655
|
case S.INFORMATION:
|
|
642
|
-
return
|
|
656
|
+
return ct;
|
|
643
657
|
case S.SUCCESS:
|
|
644
|
-
return
|
|
658
|
+
return st;
|
|
645
659
|
case S.WARNING:
|
|
646
|
-
return
|
|
660
|
+
return lt;
|
|
647
661
|
case S.ERROR:
|
|
648
|
-
return
|
|
662
|
+
return dt;
|
|
649
663
|
case S.NEUTRAL:
|
|
650
|
-
return
|
|
664
|
+
return ft;
|
|
651
665
|
case S.BLACK_FRIDAY:
|
|
652
|
-
return
|
|
666
|
+
return gt;
|
|
653
667
|
default:
|
|
654
668
|
return;
|
|
655
669
|
}
|
|
656
|
-
},
|
|
670
|
+
}, xt = ({
|
|
657
671
|
children: e,
|
|
658
|
-
showIcon:
|
|
672
|
+
showIcon: i = !0,
|
|
659
673
|
variant: a,
|
|
660
674
|
["data-testid"]: o,
|
|
661
675
|
allyLabel: p,
|
|
662
676
|
className: r = "",
|
|
663
677
|
...t
|
|
664
678
|
}) => {
|
|
665
|
-
const
|
|
679
|
+
const n = wt(a), l = yt([r, Sr[Cr], Sr[`${Cr}--${a}`]]);
|
|
666
680
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
667
|
-
|
|
681
|
+
i && n && /* @__PURE__ */ u(re, { "data-testid": `${o}-icon`, allyTitle: p, size: "xs", svg: n }),
|
|
668
682
|
e
|
|
669
683
|
] });
|
|
670
|
-
},
|
|
684
|
+
}, bt = {
|
|
671
685
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
672
|
-
},
|
|
686
|
+
}, $t = h.bind(bt), St = "purpur-card-badge", Ct = ({
|
|
673
687
|
["data-testid"]: e = "purpur-card-badge",
|
|
674
|
-
variant:
|
|
688
|
+
variant: i,
|
|
675
689
|
text: a
|
|
676
|
-
}) =>
|
|
677
|
-
|
|
690
|
+
}) => i && a ? /* @__PURE__ */ u(
|
|
691
|
+
xt,
|
|
678
692
|
{
|
|
679
|
-
className:
|
|
680
|
-
variant:
|
|
693
|
+
className: $t(St),
|
|
694
|
+
variant: i,
|
|
681
695
|
showIcon: !1,
|
|
682
696
|
"data-testid": e,
|
|
683
697
|
children: a
|
|
684
698
|
}
|
|
685
|
-
) : null,
|
|
699
|
+
) : null, kt = {
|
|
686
700
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
687
|
-
},
|
|
701
|
+
}, Ot = h.bind(kt), At = "purpur-card-content", Ft = ({
|
|
688
702
|
["data-testid"]: e = "purpur-card-content",
|
|
689
|
-
children:
|
|
690
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
703
|
+
children: i
|
|
704
|
+
}) => /* @__PURE__ */ u("div", { className: Ot(At), "data-testid": e, children: i }), Bt = {
|
|
691
705
|
"purpur-card-content-container": "_purpur-card-content-container_putaw_1",
|
|
692
706
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_putaw_12",
|
|
693
707
|
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--sm_putaw_20",
|
|
694
708
|
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_putaw_23",
|
|
695
709
|
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_putaw_26"
|
|
696
|
-
},
|
|
710
|
+
}, Nt = h.bind(Bt), Y = "purpur-card-content-container", Mt = ({
|
|
697
711
|
["data-testid"]: e = "purpur-card-content-container",
|
|
698
|
-
children:
|
|
712
|
+
children: i,
|
|
699
713
|
isFooter: a = !1,
|
|
700
714
|
gapSize: o = "md"
|
|
701
715
|
}) => /* @__PURE__ */ u(
|
|
702
716
|
"div",
|
|
703
717
|
{
|
|
704
|
-
className:
|
|
705
|
-
|
|
706
|
-
`${
|
|
718
|
+
className: Nt([
|
|
719
|
+
Y,
|
|
720
|
+
`${Y}--gap-size--${o}`,
|
|
707
721
|
{
|
|
708
|
-
[`${
|
|
722
|
+
[`${Y}--footer`]: a
|
|
709
723
|
}
|
|
710
724
|
]),
|
|
711
725
|
"data-testid": e,
|
|
712
|
-
children:
|
|
726
|
+
children: i
|
|
713
727
|
}
|
|
714
728
|
);
|
|
715
|
-
function
|
|
729
|
+
function jt(e) {
|
|
716
730
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
717
731
|
}
|
|
718
|
-
var
|
|
732
|
+
var kr = { exports: {} };
|
|
719
733
|
/*!
|
|
720
734
|
Copyright (c) 2018 Jed Watson.
|
|
721
735
|
Licensed under the MIT License (MIT), see
|
|
722
736
|
http://jedwatson.github.io/classnames
|
|
723
737
|
*/
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
function
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
function o(r) {
|
|
735
|
-
if (typeof r == "string" || typeof r == "number")
|
|
738
|
+
var Or;
|
|
739
|
+
function Gt() {
|
|
740
|
+
return Or || (Or = 1, function(e) {
|
|
741
|
+
(function() {
|
|
742
|
+
var i = {}.hasOwnProperty;
|
|
743
|
+
function a() {
|
|
744
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
745
|
+
var n = arguments[t];
|
|
746
|
+
n && (r = p(r, o(n)));
|
|
747
|
+
}
|
|
736
748
|
return r;
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
749
|
+
}
|
|
750
|
+
function o(r) {
|
|
751
|
+
if (typeof r == "string" || typeof r == "number")
|
|
752
|
+
return r;
|
|
753
|
+
if (typeof r != "object")
|
|
754
|
+
return "";
|
|
755
|
+
if (Array.isArray(r))
|
|
756
|
+
return a.apply(null, r);
|
|
757
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
758
|
+
return r.toString();
|
|
759
|
+
var t = "";
|
|
760
|
+
for (var n in r)
|
|
761
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
762
|
+
return t;
|
|
763
|
+
}
|
|
764
|
+
function p(r, t) {
|
|
765
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
766
|
+
}
|
|
767
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
768
|
+
})();
|
|
769
|
+
}(kr)), kr.exports;
|
|
770
|
+
}
|
|
771
|
+
var qt = Gt();
|
|
772
|
+
const Ar = /* @__PURE__ */ jt(qt), Zt = "_rotate_1xozj_1", Et = "_dash_1xozj_1", E = {
|
|
756
773
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
757
|
-
rotate:
|
|
774
|
+
rotate: Zt,
|
|
758
775
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
759
776
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
760
777
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
761
778
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
762
779
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
763
780
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
764
|
-
dash:
|
|
781
|
+
dash: Et,
|
|
765
782
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
766
783
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
767
|
-
},
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
SM: "sm",
|
|
771
|
-
MD: "md",
|
|
772
|
-
LG: "lg"
|
|
773
|
-
}, gt = ({
|
|
784
|
+
}, z = "purpur-spinner", zt = {
|
|
785
|
+
SM: "sm"
|
|
786
|
+
}, Ut = ({
|
|
774
787
|
["data-testid"]: e,
|
|
775
|
-
disabled:
|
|
788
|
+
disabled: i = !1,
|
|
776
789
|
negative: a = !1,
|
|
777
|
-
size: o =
|
|
790
|
+
size: o = zt.SM,
|
|
778
791
|
...p
|
|
779
792
|
}) => /* @__PURE__ */ u(
|
|
780
793
|
"div",
|
|
781
794
|
{
|
|
782
|
-
className:
|
|
795
|
+
className: Ar([E[z], E[`${z}--${o}`]]),
|
|
783
796
|
"data-testid": e,
|
|
784
797
|
...p,
|
|
785
798
|
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
786
799
|
"circle",
|
|
787
800
|
{
|
|
788
|
-
className:
|
|
789
|
-
[
|
|
790
|
-
[
|
|
801
|
+
className: Ar(E[`${z}__circle`], {
|
|
802
|
+
[E[`${z}__circle--disabled`]]: i,
|
|
803
|
+
[E[`${z}__circle--negative`]]: a
|
|
791
804
|
}),
|
|
792
805
|
cx: "25",
|
|
793
806
|
cy: "25",
|
|
@@ -795,7 +808,7 @@ const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1",
|
|
|
795
808
|
}
|
|
796
809
|
) })
|
|
797
810
|
}
|
|
798
|
-
),
|
|
811
|
+
), It = {
|
|
799
812
|
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1wc0z_1",
|
|
800
813
|
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1wc0z_33",
|
|
801
814
|
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1wc0z_36",
|
|
@@ -814,42 +827,42 @@ const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1",
|
|
|
814
827
|
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1wc0z_131",
|
|
815
828
|
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1wc0z_131",
|
|
816
829
|
"purpur-card-cta--text": "_purpur-card-cta--text_1wc0z_139"
|
|
817
|
-
},
|
|
830
|
+
}, Rt = h.bind(It), x = "purpur-card-cta", Pt = ({
|
|
818
831
|
["data-testid"]: e = "purpur-card-cta",
|
|
819
|
-
className:
|
|
832
|
+
className: i,
|
|
820
833
|
children: a,
|
|
821
834
|
disabled: o = !1,
|
|
822
835
|
iconPosition: p = "right",
|
|
823
836
|
loading: r = !1,
|
|
824
837
|
text: t,
|
|
825
|
-
linkStyling:
|
|
838
|
+
linkStyling: n = !1,
|
|
826
839
|
...l
|
|
827
840
|
}) => /* @__PURE__ */ u(
|
|
828
841
|
"div",
|
|
829
842
|
{
|
|
830
|
-
className: `${
|
|
843
|
+
className: `${Rt([
|
|
831
844
|
x,
|
|
832
|
-
|
|
845
|
+
i,
|
|
833
846
|
{
|
|
834
847
|
[`${x}--disabled`]: o,
|
|
835
848
|
[`${x}--text`]: !!t,
|
|
836
|
-
[`${x}--cta-styling`]:
|
|
837
|
-
[`${x}--button-styling`]: !
|
|
838
|
-
[`${x}--button-styling--md`]: !
|
|
839
|
-
[`${x}--button-styling--secondary`]: !
|
|
840
|
-
[`${x}--button-styling--icon-only`]: !
|
|
849
|
+
[`${x}--cta-styling`]: n,
|
|
850
|
+
[`${x}--button-styling`]: !n,
|
|
851
|
+
[`${x}--button-styling--md`]: !n,
|
|
852
|
+
[`${x}--button-styling--secondary`]: !n,
|
|
853
|
+
[`${x}--button-styling--icon-only`]: !n && !t
|
|
841
854
|
}
|
|
842
855
|
])} ${x}`,
|
|
843
856
|
"data-testid": e,
|
|
844
857
|
...l,
|
|
845
|
-
children: r ? /* @__PURE__ */ u(
|
|
858
|
+
children: r ? /* @__PURE__ */ u(Ut, { "data-testid": `${e}-spinner`, size: "xs", disabled: o }) : /* @__PURE__ */ _(ar, { children: [
|
|
846
859
|
p === "left" && a,
|
|
847
860
|
t,
|
|
848
861
|
p === "right" && a
|
|
849
862
|
] })
|
|
850
863
|
}
|
|
851
864
|
);
|
|
852
|
-
function
|
|
865
|
+
function Lt(e) {
|
|
853
866
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
854
867
|
}
|
|
855
868
|
var Fr = { exports: {} };
|
|
@@ -858,38 +871,41 @@ var Fr = { exports: {} };
|
|
|
858
871
|
Licensed under the MIT License (MIT), see
|
|
859
872
|
http://jedwatson.github.io/classnames
|
|
860
873
|
*/
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
function
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
874
|
+
var Br;
|
|
875
|
+
function Dt() {
|
|
876
|
+
return Br || (Br = 1, function(e) {
|
|
877
|
+
(function() {
|
|
878
|
+
var i = {}.hasOwnProperty;
|
|
879
|
+
function a() {
|
|
880
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
881
|
+
var n = arguments[t];
|
|
882
|
+
n && (r = p(r, o.call(this, n)));
|
|
883
|
+
}
|
|
884
|
+
return r;
|
|
868
885
|
}
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
const xt = /* @__PURE__ */ yt(wt), bt = {
|
|
886
|
+
function o(r) {
|
|
887
|
+
if (typeof r == "string" || typeof r == "number")
|
|
888
|
+
return this && this[r] || r;
|
|
889
|
+
if (typeof r != "object")
|
|
890
|
+
return "";
|
|
891
|
+
if (Array.isArray(r))
|
|
892
|
+
return a.apply(this, r);
|
|
893
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
894
|
+
return r.toString();
|
|
895
|
+
var t = "";
|
|
896
|
+
for (var n in r)
|
|
897
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
898
|
+
return t;
|
|
899
|
+
}
|
|
900
|
+
function p(r, t) {
|
|
901
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
902
|
+
}
|
|
903
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
904
|
+
})();
|
|
905
|
+
}(Fr)), Fr.exports;
|
|
906
|
+
}
|
|
907
|
+
var Tt = Dt();
|
|
908
|
+
const Ht = /* @__PURE__ */ Lt(Tt), Vt = {
|
|
893
909
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
894
910
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
895
911
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -897,86 +913,89 @@ const xt = /* @__PURE__ */ yt(wt), bt = {
|
|
|
897
913
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
898
914
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
899
915
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
900
|
-
},
|
|
916
|
+
}, Wt = Ht.bind(Vt), Nr = "purpur-icon", Yt = "md", Kt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Jt = ({ content: e = "", title: i } = {}) => {
|
|
901
917
|
const a = [
|
|
902
918
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
903
919
|
{ name: "fill", value: "currentColor" },
|
|
904
920
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
905
|
-
|
|
906
|
-
], o =
|
|
907
|
-
return `<svg ${
|
|
908
|
-
},
|
|
921
|
+
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
922
|
+
], o = i ? `<title>${i}</title>` : "";
|
|
923
|
+
return `<svg ${Kt(a)}>${o}${e}</svg>`;
|
|
924
|
+
}, Xt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), ee = ({
|
|
909
925
|
["data-testid"]: e,
|
|
910
|
-
svg:
|
|
926
|
+
svg: i,
|
|
911
927
|
allyTitle: a,
|
|
912
928
|
className: o,
|
|
913
|
-
size: p =
|
|
929
|
+
size: p = Yt,
|
|
914
930
|
...r
|
|
915
931
|
}) => {
|
|
916
|
-
const t =
|
|
917
|
-
content:
|
|
932
|
+
const t = Jt({
|
|
933
|
+
content: Xt(i.svg),
|
|
918
934
|
title: a
|
|
919
|
-
}),
|
|
935
|
+
}), n = Wt(o, Nr, `${Nr}--${p}`);
|
|
920
936
|
return /* @__PURE__ */ u(
|
|
921
937
|
"span",
|
|
922
938
|
{
|
|
923
939
|
"aria-label": a,
|
|
924
|
-
className:
|
|
940
|
+
className: n,
|
|
925
941
|
"data-testid": e,
|
|
926
942
|
dangerouslySetInnerHTML: { __html: t },
|
|
927
943
|
...r
|
|
928
944
|
}
|
|
929
945
|
);
|
|
930
946
|
};
|
|
931
|
-
|
|
932
|
-
const
|
|
947
|
+
ee.displayName = "Icon";
|
|
948
|
+
const Qt = {
|
|
933
949
|
name: "checkmark",
|
|
934
950
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',
|
|
935
951
|
keywords: ["checkmark"],
|
|
936
952
|
category: "utility"
|
|
937
|
-
},
|
|
938
|
-
|
|
939
|
-
function
|
|
953
|
+
}, te = (e) => /* @__PURE__ */ u(ee, { ...e, svg: Qt });
|
|
954
|
+
te.displayName = "IconCheckmark";
|
|
955
|
+
function ra(e) {
|
|
940
956
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
941
957
|
}
|
|
942
|
-
var
|
|
958
|
+
var Mr = { exports: {} };
|
|
943
959
|
/*!
|
|
944
960
|
Copyright (c) 2018 Jed Watson.
|
|
945
961
|
Licensed under the MIT License (MIT), see
|
|
946
962
|
http://jedwatson.github.io/classnames
|
|
947
963
|
*/
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
function
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
function o(r) {
|
|
959
|
-
if (typeof r == "string" || typeof r == "number")
|
|
964
|
+
var jr;
|
|
965
|
+
function ea() {
|
|
966
|
+
return jr || (jr = 1, function(e) {
|
|
967
|
+
(function() {
|
|
968
|
+
var i = {}.hasOwnProperty;
|
|
969
|
+
function a() {
|
|
970
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
971
|
+
var n = arguments[t];
|
|
972
|
+
n && (r = p(r, o(n)));
|
|
973
|
+
}
|
|
960
974
|
return r;
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
975
|
+
}
|
|
976
|
+
function o(r) {
|
|
977
|
+
if (typeof r == "string" || typeof r == "number")
|
|
978
|
+
return r;
|
|
979
|
+
if (typeof r != "object")
|
|
980
|
+
return "";
|
|
981
|
+
if (Array.isArray(r))
|
|
982
|
+
return a.apply(null, r);
|
|
983
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
984
|
+
return r.toString();
|
|
985
|
+
var t = "";
|
|
986
|
+
for (var n in r)
|
|
987
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
988
|
+
return t;
|
|
989
|
+
}
|
|
990
|
+
function p(r, t) {
|
|
991
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
992
|
+
}
|
|
993
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
994
|
+
})();
|
|
995
|
+
}(Mr)), Mr.exports;
|
|
996
|
+
}
|
|
997
|
+
var ta = ea();
|
|
998
|
+
const aa = /* @__PURE__ */ ra(ta), U = {
|
|
980
999
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
981
1000
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
982
1001
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -991,99 +1010,93 @@ const Ft = /* @__PURE__ */ Nt(Bt), L = {
|
|
|
991
1010
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
992
1011
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
993
1012
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
994
|
-
},
|
|
995
|
-
PARAGRAPH100: "paragraph-100"
|
|
996
|
-
|
|
997
|
-
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
998
|
-
PARAGRAPH200: "paragraph-200",
|
|
999
|
-
PREAMBLE100: "preamble-100",
|
|
1000
|
-
PREAMBLE200: "preamble-200",
|
|
1001
|
-
ADDITIONAL100: "additional-100",
|
|
1002
|
-
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1003
|
-
OVERLINE100: "overline-100",
|
|
1004
|
-
OVERLINE200: "overline-200"
|
|
1005
|
-
}, R = "purpur-paragraph", ar = ({
|
|
1013
|
+
}, na = {
|
|
1014
|
+
PARAGRAPH100: "paragraph-100"
|
|
1015
|
+
}, I = "purpur-paragraph", nr = ({
|
|
1006
1016
|
["data-testid"]: e,
|
|
1007
|
-
children:
|
|
1017
|
+
children: i,
|
|
1008
1018
|
className: a,
|
|
1009
1019
|
disabled: o,
|
|
1010
1020
|
enableHyphenation: p = !1,
|
|
1011
1021
|
negative: r = !1,
|
|
1012
|
-
variant: t =
|
|
1013
|
-
...
|
|
1022
|
+
variant: t = na.PARAGRAPH100,
|
|
1023
|
+
...n
|
|
1014
1024
|
}) => {
|
|
1015
|
-
const l =
|
|
1025
|
+
const l = aa([
|
|
1016
1026
|
a,
|
|
1017
|
-
|
|
1018
|
-
|
|
1027
|
+
U[I],
|
|
1028
|
+
U[`${I}--${t}`],
|
|
1019
1029
|
{
|
|
1020
|
-
[
|
|
1021
|
-
[
|
|
1022
|
-
[
|
|
1030
|
+
[U[`${I}--hyphens`]]: p,
|
|
1031
|
+
[U[`${I}--disabled`]]: o,
|
|
1032
|
+
[U[`${I}--negative`]]: r
|
|
1023
1033
|
}
|
|
1024
1034
|
]);
|
|
1025
|
-
return /* @__PURE__ */ u("p", { ...
|
|
1035
|
+
return /* @__PURE__ */ u("p", { ...n, className: l, "data-testid": e, children: i });
|
|
1026
1036
|
};
|
|
1027
|
-
|
|
1028
|
-
const
|
|
1029
|
-
"purpur-card-feature-list": "_purpur-card-feature-
|
|
1030
|
-
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-
|
|
1031
|
-
},
|
|
1037
|
+
nr.displayName = "Paragraph";
|
|
1038
|
+
const ia = {
|
|
1039
|
+
"purpur-card-feature-list": "_purpur-card-feature-list_198s4_1",
|
|
1040
|
+
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_198s4_7"
|
|
1041
|
+
}, Gr = h.bind(ia), qr = "purpur-card-feature-list", oa = ({
|
|
1032
1042
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1033
|
-
listItems:
|
|
1034
|
-
}) =>
|
|
1043
|
+
listItems: i
|
|
1044
|
+
}) => i && i.length > 0 ? /* @__PURE__ */ u("ul", { className: Gr(qr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
|
|
1035
1045
|
"li",
|
|
1036
1046
|
{
|
|
1037
|
-
className:
|
|
1047
|
+
className: Gr(`${qr}__list-item`),
|
|
1038
1048
|
"data-testid": `${e}-item`,
|
|
1039
1049
|
children: [
|
|
1040
|
-
/* @__PURE__ */ u(
|
|
1041
|
-
/* @__PURE__ */ u(
|
|
1050
|
+
/* @__PURE__ */ u(te, { size: "xs" }),
|
|
1051
|
+
/* @__PURE__ */ u(nr, { children: a })
|
|
1042
1052
|
]
|
|
1043
1053
|
},
|
|
1044
1054
|
a
|
|
1045
1055
|
)) }) : null;
|
|
1046
|
-
function
|
|
1056
|
+
function pa(e) {
|
|
1047
1057
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1048
1058
|
}
|
|
1049
|
-
var
|
|
1059
|
+
var Zr = { exports: {} };
|
|
1050
1060
|
/*!
|
|
1051
1061
|
Copyright (c) 2018 Jed Watson.
|
|
1052
1062
|
Licensed under the MIT License (MIT), see
|
|
1053
1063
|
http://jedwatson.github.io/classnames
|
|
1054
1064
|
*/
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
function
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
function o(r) {
|
|
1066
|
-
if (typeof r == "string" || typeof r == "number")
|
|
1065
|
+
var Er;
|
|
1066
|
+
function ua() {
|
|
1067
|
+
return Er || (Er = 1, function(e) {
|
|
1068
|
+
(function() {
|
|
1069
|
+
var i = {}.hasOwnProperty;
|
|
1070
|
+
function a() {
|
|
1071
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1072
|
+
var n = arguments[t];
|
|
1073
|
+
n && (r = p(r, o(n)));
|
|
1074
|
+
}
|
|
1067
1075
|
return r;
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1076
|
+
}
|
|
1077
|
+
function o(r) {
|
|
1078
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1079
|
+
return r;
|
|
1080
|
+
if (typeof r != "object")
|
|
1081
|
+
return "";
|
|
1082
|
+
if (Array.isArray(r))
|
|
1083
|
+
return a.apply(null, r);
|
|
1084
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1085
|
+
return r.toString();
|
|
1086
|
+
var t = "";
|
|
1087
|
+
for (var n in r)
|
|
1088
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
1089
|
+
return t;
|
|
1090
|
+
}
|
|
1091
|
+
function p(r, t) {
|
|
1092
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1093
|
+
}
|
|
1094
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1095
|
+
})();
|
|
1096
|
+
}(Zr)), Zr.exports;
|
|
1097
|
+
}
|
|
1098
|
+
var la = ua();
|
|
1099
|
+
const sa = /* @__PURE__ */ pa(la), D = {
|
|
1087
1100
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1088
1101
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1089
1102
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1099,139 +1112,132 @@ const qt = /* @__PURE__ */ It(Gt), T = {
|
|
|
1099
1112
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1100
1113
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1101
1114
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1102
|
-
},
|
|
1103
|
-
TITLE100: "title-100"
|
|
1104
|
-
|
|
1105
|
-
TITLE300: "title-300",
|
|
1106
|
-
TITLE400: "title-400",
|
|
1107
|
-
TITLE500: "title-500",
|
|
1108
|
-
TITLE600: "title-600",
|
|
1109
|
-
TITLE700: "title-700",
|
|
1110
|
-
SUBSECTION100: "subsection-100"
|
|
1111
|
-
}, D = "purpur-heading", Gr = ({
|
|
1115
|
+
}, da = {
|
|
1116
|
+
TITLE100: "title-100"
|
|
1117
|
+
}, T = "purpur-heading", ae = ({
|
|
1112
1118
|
["data-testid"]: e,
|
|
1113
|
-
children:
|
|
1119
|
+
children: i,
|
|
1114
1120
|
className: a = "",
|
|
1115
1121
|
enableHyphenation: o = !1,
|
|
1116
1122
|
negative: p = !1,
|
|
1117
1123
|
tag: r,
|
|
1118
|
-
variant: t =
|
|
1119
|
-
...
|
|
1124
|
+
variant: t = da.TITLE100,
|
|
1125
|
+
...n
|
|
1120
1126
|
}) => {
|
|
1121
|
-
const l = r, d =
|
|
1127
|
+
const l = r, d = sa([
|
|
1122
1128
|
a,
|
|
1123
|
-
T
|
|
1124
|
-
|
|
1129
|
+
D[T],
|
|
1130
|
+
D[`${T}--${t}`],
|
|
1125
1131
|
{
|
|
1126
|
-
[
|
|
1127
|
-
[
|
|
1132
|
+
[D[`${T}--hyphens`]]: o,
|
|
1133
|
+
[D[`${T}--negative`]]: p
|
|
1128
1134
|
}
|
|
1129
1135
|
]);
|
|
1130
|
-
return /* @__PURE__ */ u(l, { ...
|
|
1136
|
+
return /* @__PURE__ */ u(l, { ...n, className: d, "data-testid": e, children: i });
|
|
1131
1137
|
};
|
|
1132
|
-
|
|
1133
|
-
const
|
|
1138
|
+
ae.displayName = "Heading";
|
|
1139
|
+
const ca = {
|
|
1134
1140
|
"purpur-card-heading": "_purpur-card-heading_1lsjo_1",
|
|
1135
1141
|
"purpur-card-heading__heading": "_purpur-card-heading__heading_1lsjo_6",
|
|
1136
1142
|
"purpur-card-heading__icon": "_purpur-card-heading__icon_1lsjo_11"
|
|
1137
|
-
}, K = h.bind(
|
|
1143
|
+
}, K = h.bind(ca), J = "purpur-card-heading", _a = ({
|
|
1138
1144
|
["data-testid"]: e = "purpur-card-heading",
|
|
1139
|
-
title:
|
|
1145
|
+
title: i,
|
|
1140
1146
|
icon: a,
|
|
1141
1147
|
children: o,
|
|
1142
1148
|
titleTag: p = "h2"
|
|
1143
|
-
}) => /* @__PURE__ */ _("div", { className: K(
|
|
1144
|
-
/* @__PURE__ */ _("div", { className: K(`${
|
|
1145
|
-
a && /* @__PURE__ */ u("div", { className: K(`${
|
|
1146
|
-
/* @__PURE__ */ u(
|
|
1149
|
+
}) => /* @__PURE__ */ _("div", { className: K(J), "data-testid": e, children: [
|
|
1150
|
+
/* @__PURE__ */ _("div", { className: K(`${J}__heading`), children: [
|
|
1151
|
+
a && /* @__PURE__ */ u("div", { className: K(`${J}__icon`), children: a }),
|
|
1152
|
+
/* @__PURE__ */ u(ae, { tag: p, variant: "title-100", children: i })
|
|
1147
1153
|
] }),
|
|
1148
1154
|
o
|
|
1149
|
-
] }),
|
|
1155
|
+
] }), fa = {
|
|
1150
1156
|
"purpur-card-media": "_purpur-card-media_udc1o_1"
|
|
1151
|
-
},
|
|
1157
|
+
}, ga = h.bind(fa), ha = "purpur-card-media", ma = ({
|
|
1152
1158
|
["data-testid"]: e = "purpur-card-media",
|
|
1153
|
-
className:
|
|
1159
|
+
className: i,
|
|
1154
1160
|
children: a
|
|
1155
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
1161
|
+
}) => /* @__PURE__ */ u("div", { className: ga([ha, i]), "data-testid": e, children: a }), va = {
|
|
1156
1162
|
"purpur-card-media-layout": "_purpur-card-media-layout_1yfvb_1"
|
|
1157
|
-
},
|
|
1163
|
+
}, ya = h.bind(va), wa = "purpur-card-media-layout", xa = ({
|
|
1158
1164
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
1159
|
-
className:
|
|
1165
|
+
className: i,
|
|
1160
1166
|
children: a
|
|
1161
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
1167
|
+
}) => /* @__PURE__ */ u("div", { className: ya([wa, i]), "data-testid": e, children: a }), ba = {
|
|
1162
1168
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1163
|
-
},
|
|
1169
|
+
}, $a = h.bind(ba), Sa = "purpur-card-overline", Ca = ({
|
|
1164
1170
|
["data-testid"]: e = "purpur-card-overline",
|
|
1165
|
-
overline:
|
|
1166
|
-
}) =>
|
|
1171
|
+
overline: i
|
|
1172
|
+
}) => i ? /* @__PURE__ */ u(nr, { className: $a(Sa), "data-testid": e, children: i }) : null, ka = {
|
|
1167
1173
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1168
1174
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1169
1175
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1170
1176
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1171
|
-
},
|
|
1177
|
+
}, Oa = {
|
|
1172
1178
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1173
1179
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1174
1180
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
1175
1181
|
};
|
|
1176
|
-
function
|
|
1182
|
+
function zr(e, i) {
|
|
1177
1183
|
if (typeof e == "function")
|
|
1178
|
-
return e(
|
|
1179
|
-
e != null && (e.current =
|
|
1184
|
+
return e(i);
|
|
1185
|
+
e != null && (e.current = i);
|
|
1180
1186
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return (
|
|
1187
|
+
function Aa(...e) {
|
|
1188
|
+
return (i) => {
|
|
1183
1189
|
let a = !1;
|
|
1184
1190
|
const o = e.map((p) => {
|
|
1185
|
-
const r =
|
|
1191
|
+
const r = zr(p, i);
|
|
1186
1192
|
return !a && typeof r == "function" && (a = !0), r;
|
|
1187
1193
|
});
|
|
1188
1194
|
if (a)
|
|
1189
1195
|
return () => {
|
|
1190
1196
|
for (let p = 0; p < o.length; p++) {
|
|
1191
1197
|
const r = o[p];
|
|
1192
|
-
typeof r == "function" ? r() :
|
|
1198
|
+
typeof r == "function" ? r() : zr(e[p], null);
|
|
1193
1199
|
}
|
|
1194
1200
|
};
|
|
1195
1201
|
};
|
|
1196
1202
|
}
|
|
1197
|
-
var
|
|
1198
|
-
const { children: a, ...o } = e, p = c.Children.toArray(a), r = p.find(
|
|
1203
|
+
var ne = c.forwardRef((e, i) => {
|
|
1204
|
+
const { children: a, ...o } = e, p = c.Children.toArray(a), r = p.find(Ba);
|
|
1199
1205
|
if (r) {
|
|
1200
|
-
const t = r.props.children,
|
|
1201
|
-
return /* @__PURE__ */ u(
|
|
1206
|
+
const t = r.props.children, n = p.map((l) => l === r ? c.Children.count(t) > 1 ? c.Children.only(null) : c.isValidElement(t) ? t.props.children : null : l);
|
|
1207
|
+
return /* @__PURE__ */ u(er, { ...o, ref: i, children: c.isValidElement(t) ? c.cloneElement(t, void 0, n) : null });
|
|
1202
1208
|
}
|
|
1203
|
-
return /* @__PURE__ */ u(
|
|
1209
|
+
return /* @__PURE__ */ u(er, { ...o, ref: i, children: a });
|
|
1204
1210
|
});
|
|
1205
|
-
|
|
1206
|
-
var
|
|
1211
|
+
ne.displayName = "Slot";
|
|
1212
|
+
var er = c.forwardRef((e, i) => {
|
|
1207
1213
|
const { children: a, ...o } = e;
|
|
1208
1214
|
if (c.isValidElement(a)) {
|
|
1209
|
-
const p =
|
|
1210
|
-
return a.type !== c.Fragment && (r.ref =
|
|
1215
|
+
const p = Ma(a), r = Na(o, a.props);
|
|
1216
|
+
return a.type !== c.Fragment && (r.ref = i ? Aa(i, p) : p), c.cloneElement(a, r);
|
|
1211
1217
|
}
|
|
1212
1218
|
return c.Children.count(a) > 1 ? c.Children.only(null) : null;
|
|
1213
1219
|
});
|
|
1214
|
-
|
|
1215
|
-
var
|
|
1216
|
-
function
|
|
1217
|
-
return c.isValidElement(e) && e.type ===
|
|
1220
|
+
er.displayName = "SlotClone";
|
|
1221
|
+
var Fa = ({ children: e }) => /* @__PURE__ */ u(ar, { children: e });
|
|
1222
|
+
function Ba(e) {
|
|
1223
|
+
return c.isValidElement(e) && e.type === Fa;
|
|
1218
1224
|
}
|
|
1219
|
-
function
|
|
1220
|
-
const a = { ...
|
|
1221
|
-
for (const o in
|
|
1222
|
-
const p = e[o], r =
|
|
1225
|
+
function Na(e, i) {
|
|
1226
|
+
const a = { ...i };
|
|
1227
|
+
for (const o in i) {
|
|
1228
|
+
const p = e[o], r = i[o];
|
|
1223
1229
|
/^on[A-Z]/.test(o) ? p && r ? a[o] = (...t) => {
|
|
1224
1230
|
r(...t), p(...t);
|
|
1225
1231
|
} : p && (a[o] = p) : o === "style" ? a[o] = { ...p, ...r } : o === "className" && (a[o] = [p, r].filter(Boolean).join(" "));
|
|
1226
1232
|
}
|
|
1227
1233
|
return { ...e, ...a };
|
|
1228
1234
|
}
|
|
1229
|
-
function
|
|
1230
|
-
var
|
|
1231
|
-
let o = (
|
|
1235
|
+
function Ma(e) {
|
|
1236
|
+
var i, a;
|
|
1237
|
+
let o = (i = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : i.get, p = o && "isReactWarning" in o && o.isReactWarning;
|
|
1232
1238
|
return p ? e.ref : (o = (a = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : a.get, p = o && "isReactWarning" in o && o.isReactWarning, p ? e.props.ref : e.props.ref || e.ref);
|
|
1233
1239
|
}
|
|
1234
|
-
var
|
|
1240
|
+
var ja = [
|
|
1235
1241
|
"a",
|
|
1236
1242
|
"button",
|
|
1237
1243
|
"div",
|
|
@@ -1248,18 +1254,18 @@ var oa = [
|
|
|
1248
1254
|
"span",
|
|
1249
1255
|
"svg",
|
|
1250
1256
|
"ul"
|
|
1251
|
-
],
|
|
1257
|
+
], Ga = ja.reduce((e, i) => {
|
|
1252
1258
|
const a = c.forwardRef((o, p) => {
|
|
1253
|
-
const { asChild: r, ...t } = o,
|
|
1254
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(
|
|
1259
|
+
const { asChild: r, ...t } = o, n = r ? ne : i;
|
|
1260
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(n, { ...t, ref: p });
|
|
1255
1261
|
});
|
|
1256
|
-
return a.displayName = `Primitive.${
|
|
1257
|
-
}, {}),
|
|
1258
|
-
(e,
|
|
1259
|
-
|
|
1262
|
+
return a.displayName = `Primitive.${i}`, { ...e, [i]: a };
|
|
1263
|
+
}, {}), qa = "VisuallyHidden", ie = c.forwardRef(
|
|
1264
|
+
(e, i) => /* @__PURE__ */ u(
|
|
1265
|
+
Ga.span,
|
|
1260
1266
|
{
|
|
1261
1267
|
...e,
|
|
1262
|
-
ref:
|
|
1268
|
+
ref: i,
|
|
1263
1269
|
style: {
|
|
1264
1270
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
1265
1271
|
position: "absolute",
|
|
@@ -1277,157 +1283,160 @@ var oa = [
|
|
|
1277
1283
|
}
|
|
1278
1284
|
)
|
|
1279
1285
|
);
|
|
1280
|
-
|
|
1281
|
-
var
|
|
1282
|
-
const
|
|
1286
|
+
ie.displayName = qa;
|
|
1287
|
+
var Za = ie;
|
|
1288
|
+
const Ur = ({
|
|
1283
1289
|
asChild: e,
|
|
1284
|
-
children:
|
|
1290
|
+
children: i,
|
|
1285
1291
|
className: a = "",
|
|
1286
1292
|
["data-testid"]: o
|
|
1287
|
-
}) => /* @__PURE__ */ u(
|
|
1293
|
+
}) => /* @__PURE__ */ u(Za, { asChild: e, "data-testid": o, className: a, children: i }), Ir = h.bind(Oa), F = "purpur-card-trigger-item", Ea = ({
|
|
1288
1294
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1289
|
-
disabled:
|
|
1295
|
+
disabled: i = !1,
|
|
1290
1296
|
href: a,
|
|
1291
1297
|
onClick: o,
|
|
1292
1298
|
screenReaderText: p
|
|
1293
1299
|
}) => {
|
|
1294
|
-
const r = (
|
|
1295
|
-
|
|
1296
|
-
}, t = `${
|
|
1300
|
+
const r = (n) => {
|
|
1301
|
+
i ? n.preventDefault() : o && o();
|
|
1302
|
+
}, t = `${F} ${i ? `${F}--disabled` : ""}`;
|
|
1297
1303
|
return a ? (
|
|
1298
1304
|
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
1299
1305
|
/* @__PURE__ */ u(
|
|
1300
1306
|
"a",
|
|
1301
1307
|
{
|
|
1302
|
-
"aria-disabled":
|
|
1303
|
-
className: `${
|
|
1304
|
-
|
|
1308
|
+
"aria-disabled": i,
|
|
1309
|
+
className: `${Ir([
|
|
1310
|
+
F,
|
|
1305
1311
|
{
|
|
1306
|
-
[`${
|
|
1312
|
+
[`${F}--disabled`]: i
|
|
1307
1313
|
}
|
|
1308
1314
|
])} ${t}`,
|
|
1309
1315
|
"data-testid": e,
|
|
1310
|
-
href:
|
|
1311
|
-
tabIndex:
|
|
1316
|
+
href: i ? void 0 : a,
|
|
1317
|
+
tabIndex: i ? 0 : void 0,
|
|
1312
1318
|
onClick: r,
|
|
1313
|
-
children: /* @__PURE__ */ u(
|
|
1319
|
+
children: /* @__PURE__ */ u(Ur, { children: p })
|
|
1314
1320
|
}
|
|
1315
1321
|
)
|
|
1316
1322
|
) : /* @__PURE__ */ u(
|
|
1317
1323
|
"button",
|
|
1318
1324
|
{
|
|
1319
|
-
"aria-disabled":
|
|
1320
|
-
className: `${
|
|
1321
|
-
|
|
1322
|
-
`${
|
|
1325
|
+
"aria-disabled": i,
|
|
1326
|
+
className: `${Ir([
|
|
1327
|
+
F,
|
|
1328
|
+
`${F}--button`,
|
|
1323
1329
|
{
|
|
1324
|
-
[`${
|
|
1330
|
+
[`${F}--disabled`]: i
|
|
1325
1331
|
}
|
|
1326
1332
|
])} ${t}`,
|
|
1327
1333
|
"data-testid": e,
|
|
1328
1334
|
type: "button",
|
|
1329
1335
|
onClick: r,
|
|
1330
|
-
children: /* @__PURE__ */ u(
|
|
1336
|
+
children: /* @__PURE__ */ u(Ur, { children: p })
|
|
1331
1337
|
}
|
|
1332
1338
|
);
|
|
1333
|
-
},
|
|
1339
|
+
}, za = h.bind(ka), X = "purpur-card-root", oe = W(
|
|
1334
1340
|
({
|
|
1335
1341
|
["data-testid"]: e = "purpur-card-root",
|
|
1336
|
-
children:
|
|
1342
|
+
children: i,
|
|
1337
1343
|
className: a,
|
|
1338
1344
|
disabled: o,
|
|
1339
1345
|
fullHeight: p,
|
|
1340
1346
|
href: r,
|
|
1341
1347
|
onClick: t,
|
|
1342
|
-
screenReaderText:
|
|
1348
|
+
screenReaderText: n,
|
|
1343
1349
|
variant: l,
|
|
1344
1350
|
...d
|
|
1345
1351
|
}, m) => {
|
|
1346
|
-
const b =
|
|
1347
|
-
|
|
1352
|
+
const b = za([
|
|
1353
|
+
X,
|
|
1348
1354
|
a,
|
|
1349
1355
|
{
|
|
1350
|
-
[`${
|
|
1351
|
-
[`${
|
|
1356
|
+
[`${X}--${l}`]: l,
|
|
1357
|
+
[`${X}--full-height`]: p
|
|
1352
1358
|
}
|
|
1353
1359
|
]);
|
|
1354
1360
|
return /* @__PURE__ */ _("div", { className: b, "data-testid": e, ref: m, ...d, children: [
|
|
1355
|
-
|
|
1356
|
-
(t || r) &&
|
|
1357
|
-
|
|
1361
|
+
i,
|
|
1362
|
+
(t || r) && n && /* @__PURE__ */ u(
|
|
1363
|
+
Ea,
|
|
1358
1364
|
{
|
|
1359
1365
|
disabled: o,
|
|
1360
1366
|
href: r,
|
|
1361
1367
|
onClick: t,
|
|
1362
|
-
screenReaderText:
|
|
1368
|
+
screenReaderText: n
|
|
1363
1369
|
}
|
|
1364
1370
|
)
|
|
1365
1371
|
] });
|
|
1366
1372
|
}
|
|
1367
1373
|
);
|
|
1368
|
-
|
|
1369
|
-
const
|
|
1370
|
-
const o =
|
|
1374
|
+
oe.displayName = "CardRoot";
|
|
1375
|
+
const Rr = h.bind(Xe), Q = "purpur-card", y = ({ children: e, className: i, ...a }) => {
|
|
1376
|
+
const o = Rr([
|
|
1371
1377
|
Q,
|
|
1372
|
-
|
|
1378
|
+
i,
|
|
1373
1379
|
{
|
|
1374
1380
|
[`${Q}--is-interactive`]: a.onClick || a.href,
|
|
1375
1381
|
[`${Q}--disabled`]: a.disabled
|
|
1376
1382
|
}
|
|
1377
1383
|
]);
|
|
1378
|
-
return /* @__PURE__ */ u(
|
|
1384
|
+
return /* @__PURE__ */ u(oe, { className: Rr(o), ...a, children: e });
|
|
1379
1385
|
};
|
|
1380
|
-
y.Badge =
|
|
1381
|
-
y.Content =
|
|
1382
|
-
y.ContentContainer =
|
|
1383
|
-
y.Cta =
|
|
1384
|
-
y.FeatureList =
|
|
1385
|
-
y.Overline =
|
|
1386
|
-
y.Heading =
|
|
1387
|
-
y.Media =
|
|
1388
|
-
y.MediaLayout =
|
|
1386
|
+
y.Badge = Ct;
|
|
1387
|
+
y.Content = Ft;
|
|
1388
|
+
y.ContentContainer = Mt;
|
|
1389
|
+
y.Cta = Pt;
|
|
1390
|
+
y.FeatureList = oa;
|
|
1391
|
+
y.Overline = Ca;
|
|
1392
|
+
y.Heading = _a;
|
|
1393
|
+
y.Media = ma;
|
|
1394
|
+
y.MediaLayout = xa;
|
|
1389
1395
|
y.displayName = "Card";
|
|
1390
|
-
function
|
|
1396
|
+
function Ua(e) {
|
|
1391
1397
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1392
1398
|
}
|
|
1393
|
-
var
|
|
1399
|
+
var Pr = { exports: {} };
|
|
1394
1400
|
/*!
|
|
1395
1401
|
Copyright (c) 2018 Jed Watson.
|
|
1396
1402
|
Licensed under the MIT License (MIT), see
|
|
1397
1403
|
http://jedwatson.github.io/classnames
|
|
1398
1404
|
*/
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
function
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1405
|
+
var Lr;
|
|
1406
|
+
function Ia() {
|
|
1407
|
+
return Lr || (Lr = 1, function(e) {
|
|
1408
|
+
(function() {
|
|
1409
|
+
var i = {}.hasOwnProperty;
|
|
1410
|
+
function a() {
|
|
1411
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1412
|
+
var n = arguments[t];
|
|
1413
|
+
n && (r = p(r, o.call(this, n)));
|
|
1414
|
+
}
|
|
1415
|
+
return r;
|
|
1406
1416
|
}
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
const fa = /* @__PURE__ */ ca(_a), ga = {
|
|
1417
|
+
function o(r) {
|
|
1418
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1419
|
+
return this && this[r] || r;
|
|
1420
|
+
if (typeof r != "object")
|
|
1421
|
+
return "";
|
|
1422
|
+
if (Array.isArray(r))
|
|
1423
|
+
return a.apply(this, r);
|
|
1424
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1425
|
+
return r.toString();
|
|
1426
|
+
var t = "";
|
|
1427
|
+
for (var n in r)
|
|
1428
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
1429
|
+
return t;
|
|
1430
|
+
}
|
|
1431
|
+
function p(r, t) {
|
|
1432
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1433
|
+
}
|
|
1434
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1435
|
+
})();
|
|
1436
|
+
}(Pr)), Pr.exports;
|
|
1437
|
+
}
|
|
1438
|
+
var Ra = Ia();
|
|
1439
|
+
const Pa = /* @__PURE__ */ Ua(Ra), La = {
|
|
1431
1440
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1432
1441
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1433
1442
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1435,100 +1444,103 @@ const fa = /* @__PURE__ */ ca(_a), ga = {
|
|
|
1435
1444
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1436
1445
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1437
1446
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1438
|
-
},
|
|
1447
|
+
}, Da = Pa.bind(La), Dr = "purpur-icon", Ta = "md", Ha = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Va = ({ content: e = "", title: i } = {}) => {
|
|
1439
1448
|
const a = [
|
|
1440
1449
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1441
1450
|
{ name: "fill", value: "currentColor" },
|
|
1442
1451
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1443
|
-
|
|
1444
|
-
], o =
|
|
1445
|
-
return `<svg ${
|
|
1446
|
-
},
|
|
1452
|
+
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1453
|
+
], o = i ? `<title>${i}</title>` : "";
|
|
1454
|
+
return `<svg ${Ha(a)}>${o}${e}</svg>`;
|
|
1455
|
+
}, Wa = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), tr = ({
|
|
1447
1456
|
["data-testid"]: e,
|
|
1448
|
-
svg:
|
|
1457
|
+
svg: i,
|
|
1449
1458
|
allyTitle: a,
|
|
1450
1459
|
className: o,
|
|
1451
|
-
size: p =
|
|
1460
|
+
size: p = Ta,
|
|
1452
1461
|
...r
|
|
1453
1462
|
}) => {
|
|
1454
|
-
const t =
|
|
1455
|
-
content:
|
|
1463
|
+
const t = Va({
|
|
1464
|
+
content: Wa(i.svg),
|
|
1456
1465
|
title: a
|
|
1457
|
-
}),
|
|
1466
|
+
}), n = Da(o, Dr, `${Dr}--${p}`);
|
|
1458
1467
|
return /* @__PURE__ */ u(
|
|
1459
1468
|
"span",
|
|
1460
1469
|
{
|
|
1461
1470
|
"aria-label": a,
|
|
1462
|
-
className:
|
|
1471
|
+
className: n,
|
|
1463
1472
|
"data-testid": e,
|
|
1464
1473
|
dangerouslySetInnerHTML: { __html: t },
|
|
1465
1474
|
...r
|
|
1466
1475
|
}
|
|
1467
1476
|
);
|
|
1468
1477
|
};
|
|
1469
|
-
|
|
1470
|
-
const
|
|
1478
|
+
tr.displayName = "Icon";
|
|
1479
|
+
const Ya = {
|
|
1471
1480
|
name: "arrow-left",
|
|
1472
1481
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
|
|
1473
1482
|
keywords: ["arrow-left"],
|
|
1474
1483
|
category: "utility"
|
|
1475
|
-
},
|
|
1484
|
+
}, Ka = {
|
|
1476
1485
|
name: "arrow-right",
|
|
1477
1486
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
|
|
1478
1487
|
keywords: ["arrow-right"],
|
|
1479
1488
|
category: "utility"
|
|
1480
|
-
},
|
|
1489
|
+
}, Ja = {
|
|
1481
1490
|
name: "external",
|
|
1482
1491
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M15 3.4a.9.9 0 1 1 0-1.8h6.5a.9.9 0 0 1 .9.9V9a.9.9 0 1 1-1.8 0V4.673l-7.964 7.963a.9.9 0 1 1-1.272-1.272L19.327 3.4H15ZM1.6 5c0-1.05.85-1.9 1.9-1.9h6a.9.9 0 0 1 0 1.8h-6a.1.1 0 0 0-.1.1v15.5a.1.1 0 0 0 .1.1h16a.1.1 0 0 0 .1-.1V14a.9.9 0 1 1 1.8 0v6.5a1.9 1.9 0 0 1-1.9 1.9h-16a1.9 1.9 0 0 1-1.9-1.9V5Z" clip-rule="evenodd"/></svg>',
|
|
1483
1492
|
keywords: ["external"],
|
|
1484
1493
|
category: "media"
|
|
1485
|
-
},
|
|
1494
|
+
}, Xa = {
|
|
1486
1495
|
name: "phone",
|
|
1487
1496
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M5.341 2.228c.75-.622 1.73-.43 2.305.145l2.783 2.783a1.9 1.9 0 0 1 0 2.687L8.843 9.43a.1.1 0 0 0 0 .142l5.586 5.585a.1.1 0 0 0 .142 0l1.585-1.585a1.9 1.9 0 0 1 2.687 0l3.5 3.5c.343.342.698 1.023.31 1.742-.346.645-1.173 1.615-3.154 2.936-1.75 1.167-3.667 1.269-5.297.903-1.61-.361-3.015-1.192-3.839-2.016a.9.9 0 0 1 1.273-1.272c.573.572 1.669 1.242 2.96 1.532 1.27.285 2.656.188 3.905-.645 1.483-.989 2.137-1.68 2.418-2.06l-3.348-3.347a.1.1 0 0 0-.142 0l-1.586 1.585a1.9 1.9 0 0 1-2.687 0l-5.585-5.585a1.9 1.9 0 0 1 0-2.688l1.585-1.585a.1.1 0 0 0 0-.142L6.41 3.682c-.447.383-1.183 1.102-2.206 2.38-.878 1.097-1.14 2.08-1.127 2.951.013.898.323 1.758.732 2.59.24.488.733 1.079 1.551 1.88.561.549 1.227 1.152 2.002 1.854.344.312.71.644 1.098 1a.9.9 0 0 1-1.215 1.327c-.367-.336-.722-.658-1.061-.965a77.443 77.443 0 0 1-2.082-1.93c-.831-.813-1.523-1.586-1.909-2.372-.456-.93-.896-2.07-.916-3.356-.02-1.314.399-2.7 1.521-4.103 1.148-1.435 1.995-2.254 2.544-2.71Z" clip-rule="evenodd"/></svg>',
|
|
1488
1497
|
keywords: ["phone"],
|
|
1489
1498
|
category: "device"
|
|
1490
1499
|
};
|
|
1491
|
-
function
|
|
1500
|
+
function Qa(e) {
|
|
1492
1501
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1493
1502
|
}
|
|
1494
|
-
var
|
|
1503
|
+
var Tr = { exports: {} };
|
|
1495
1504
|
/*!
|
|
1496
1505
|
Copyright (c) 2018 Jed Watson.
|
|
1497
1506
|
Licensed under the MIT License (MIT), see
|
|
1498
1507
|
http://jedwatson.github.io/classnames
|
|
1499
1508
|
*/
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
function
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1509
|
+
var Hr;
|
|
1510
|
+
function rn() {
|
|
1511
|
+
return Hr || (Hr = 1, function(e) {
|
|
1512
|
+
(function() {
|
|
1513
|
+
var i = {}.hasOwnProperty;
|
|
1514
|
+
function a() {
|
|
1515
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1516
|
+
var n = arguments[t];
|
|
1517
|
+
n && (r = p(r, o.call(this, n)));
|
|
1518
|
+
}
|
|
1519
|
+
return r;
|
|
1507
1520
|
}
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
const ka = /* @__PURE__ */ Ca(Aa), Oa = {
|
|
1521
|
+
function o(r) {
|
|
1522
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1523
|
+
return this && this[r] || r;
|
|
1524
|
+
if (typeof r != "object")
|
|
1525
|
+
return "";
|
|
1526
|
+
if (Array.isArray(r))
|
|
1527
|
+
return a.apply(this, r);
|
|
1528
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1529
|
+
return r.toString();
|
|
1530
|
+
var t = "";
|
|
1531
|
+
for (var n in r)
|
|
1532
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
1533
|
+
return t;
|
|
1534
|
+
}
|
|
1535
|
+
function p(r, t) {
|
|
1536
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1537
|
+
}
|
|
1538
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1539
|
+
})();
|
|
1540
|
+
}(Tr)), Tr.exports;
|
|
1541
|
+
}
|
|
1542
|
+
var en = rn();
|
|
1543
|
+
const tn = /* @__PURE__ */ Qa(en), an = {
|
|
1532
1544
|
"purpur-cta-link": "_purpur-cta-link_1e75l_1",
|
|
1533
1545
|
"purpur-cta-link--xs": "_purpur-cta-link--xs_1e75l_33",
|
|
1534
1546
|
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1e75l_36",
|
|
@@ -1543,91 +1555,94 @@ const ka = /* @__PURE__ */ Ca(Aa), Oa = {
|
|
|
1543
1555
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
|
|
1544
1556
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
|
|
1545
1557
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
|
|
1546
|
-
},
|
|
1547
|
-
forward:
|
|
1548
|
-
external:
|
|
1549
|
-
back:
|
|
1550
|
-
phone:
|
|
1551
|
-
},
|
|
1558
|
+
}, nn = tn.bind(an), M = "purpur-cta-link", on = {
|
|
1559
|
+
forward: Ka,
|
|
1560
|
+
external: Ja,
|
|
1561
|
+
back: Ya,
|
|
1562
|
+
phone: Xa
|
|
1563
|
+
}, pe = W(
|
|
1552
1564
|
({
|
|
1553
1565
|
children: e,
|
|
1554
|
-
className:
|
|
1566
|
+
className: i,
|
|
1555
1567
|
["data-testid"]: a,
|
|
1556
1568
|
fullWidth: o = !1,
|
|
1557
1569
|
iconOnly: p = !1,
|
|
1558
1570
|
showIcon: r = !0,
|
|
1559
1571
|
negative: t = !1,
|
|
1560
|
-
size:
|
|
1572
|
+
size: n = "md",
|
|
1561
1573
|
variant: l,
|
|
1562
1574
|
icon: d = "forward",
|
|
1563
1575
|
...m
|
|
1564
1576
|
}, b) => {
|
|
1565
|
-
const B =
|
|
1577
|
+
const B = nn(
|
|
1566
1578
|
[
|
|
1567
|
-
|
|
1579
|
+
i,
|
|
1568
1580
|
M,
|
|
1569
1581
|
`${M}--${t ? `${l}-negative` : l}`,
|
|
1570
|
-
`${M}--${
|
|
1582
|
+
`${M}--${n}`
|
|
1571
1583
|
],
|
|
1572
1584
|
{
|
|
1573
1585
|
[`${M}--icon-only`]: p,
|
|
1574
1586
|
[`${M}--negative`]: t,
|
|
1575
1587
|
[`${M}--full-width`]: o
|
|
1576
1588
|
}
|
|
1577
|
-
), C =
|
|
1578
|
-
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(
|
|
1589
|
+
), C = on[d], f = /* @__PURE__ */ _(ar, { children: [
|
|
1590
|
+
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(tr, { svg: C, size: n === "lg" ? "sm" : "xs" }),
|
|
1579
1591
|
(!p || p && !r) && e,
|
|
1580
|
-
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(
|
|
1581
|
-
] }),
|
|
1592
|
+
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(tr, { svg: C, size: n === "lg" ? "sm" : "xs" })
|
|
1593
|
+
] }), N = {
|
|
1582
1594
|
...m,
|
|
1583
1595
|
className: B,
|
|
1584
1596
|
"data-testid": a
|
|
1585
1597
|
};
|
|
1586
|
-
return "href" in m && m.href ? /* @__PURE__ */ u("a", { ...
|
|
1598
|
+
return "href" in m && m.href ? /* @__PURE__ */ u("a", { ...N, ref: b, children: f }) : /* @__PURE__ */ u("span", { ...N, ref: b, children: f });
|
|
1587
1599
|
}
|
|
1588
1600
|
);
|
|
1589
|
-
|
|
1590
|
-
function
|
|
1601
|
+
pe.displayName = "CtaLink";
|
|
1602
|
+
function pn(e) {
|
|
1591
1603
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1592
1604
|
}
|
|
1593
|
-
var
|
|
1605
|
+
var Vr = { exports: {} };
|
|
1594
1606
|
/*!
|
|
1595
1607
|
Copyright (c) 2018 Jed Watson.
|
|
1596
1608
|
Licensed under the MIT License (MIT), see
|
|
1597
1609
|
http://jedwatson.github.io/classnames
|
|
1598
1610
|
*/
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
function
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
function o(r) {
|
|
1610
|
-
if (typeof r == "string" || typeof r == "number")
|
|
1611
|
+
var Wr;
|
|
1612
|
+
function un() {
|
|
1613
|
+
return Wr || (Wr = 1, function(e) {
|
|
1614
|
+
(function() {
|
|
1615
|
+
var i = {}.hasOwnProperty;
|
|
1616
|
+
function a() {
|
|
1617
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1618
|
+
var n = arguments[t];
|
|
1619
|
+
n && (r = p(r, o(n)));
|
|
1620
|
+
}
|
|
1611
1621
|
return r;
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1622
|
+
}
|
|
1623
|
+
function o(r) {
|
|
1624
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1625
|
+
return r;
|
|
1626
|
+
if (typeof r != "object")
|
|
1627
|
+
return "";
|
|
1628
|
+
if (Array.isArray(r))
|
|
1629
|
+
return a.apply(null, r);
|
|
1630
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1631
|
+
return r.toString();
|
|
1632
|
+
var t = "";
|
|
1633
|
+
for (var n in r)
|
|
1634
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
1635
|
+
return t;
|
|
1636
|
+
}
|
|
1637
|
+
function p(r, t) {
|
|
1638
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1639
|
+
}
|
|
1640
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1641
|
+
})();
|
|
1642
|
+
}(Vr)), Vr.exports;
|
|
1643
|
+
}
|
|
1644
|
+
var ln = un();
|
|
1645
|
+
const sn = /* @__PURE__ */ pn(ln), H = {
|
|
1631
1646
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1632
1647
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1633
1648
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1643,26 +1658,19 @@ const Ea = /* @__PURE__ */ Fa(Ma), H = {
|
|
|
1643
1658
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1644
1659
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1645
1660
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1646
|
-
},
|
|
1647
|
-
TITLE100: "title-100"
|
|
1648
|
-
|
|
1649
|
-
TITLE300: "title-300",
|
|
1650
|
-
TITLE400: "title-400",
|
|
1651
|
-
TITLE500: "title-500",
|
|
1652
|
-
TITLE600: "title-600",
|
|
1653
|
-
TITLE700: "title-700",
|
|
1654
|
-
SUBSECTION100: "subsection-100"
|
|
1655
|
-
}, V = "purpur-heading", Tr = ({
|
|
1661
|
+
}, dn = {
|
|
1662
|
+
TITLE100: "title-100"
|
|
1663
|
+
}, V = "purpur-heading", ue = ({
|
|
1656
1664
|
["data-testid"]: e,
|
|
1657
|
-
children:
|
|
1665
|
+
children: i,
|
|
1658
1666
|
className: a = "",
|
|
1659
1667
|
enableHyphenation: o = !1,
|
|
1660
1668
|
negative: p = !1,
|
|
1661
1669
|
tag: r,
|
|
1662
|
-
variant: t =
|
|
1663
|
-
...
|
|
1670
|
+
variant: t = dn.TITLE100,
|
|
1671
|
+
...n
|
|
1664
1672
|
}) => {
|
|
1665
|
-
const l = r, d =
|
|
1673
|
+
const l = r, d = sn([
|
|
1666
1674
|
a,
|
|
1667
1675
|
H[V],
|
|
1668
1676
|
H[`${V}--${t}`],
|
|
@@ -1671,50 +1679,53 @@ const Ea = /* @__PURE__ */ Fa(Ma), H = {
|
|
|
1671
1679
|
[H[`${V}--negative`]]: p
|
|
1672
1680
|
}
|
|
1673
1681
|
]);
|
|
1674
|
-
return /* @__PURE__ */ u(l, { ...
|
|
1682
|
+
return /* @__PURE__ */ u(l, { ...n, className: d, "data-testid": e, children: i });
|
|
1675
1683
|
};
|
|
1676
|
-
|
|
1677
|
-
function
|
|
1684
|
+
ue.displayName = "Heading";
|
|
1685
|
+
function cn(e) {
|
|
1678
1686
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1679
1687
|
}
|
|
1680
|
-
var
|
|
1688
|
+
var Yr = { exports: {} };
|
|
1681
1689
|
/*!
|
|
1682
1690
|
Copyright (c) 2018 Jed Watson.
|
|
1683
1691
|
Licensed under the MIT License (MIT), see
|
|
1684
1692
|
http://jedwatson.github.io/classnames
|
|
1685
1693
|
*/
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
function
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
function o(r) {
|
|
1697
|
-
if (typeof r == "string" || typeof r == "number")
|
|
1694
|
+
var Kr;
|
|
1695
|
+
function _n() {
|
|
1696
|
+
return Kr || (Kr = 1, function(e) {
|
|
1697
|
+
(function() {
|
|
1698
|
+
var i = {}.hasOwnProperty;
|
|
1699
|
+
function a() {
|
|
1700
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1701
|
+
var n = arguments[t];
|
|
1702
|
+
n && (r = p(r, o(n)));
|
|
1703
|
+
}
|
|
1698
1704
|
return r;
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1705
|
+
}
|
|
1706
|
+
function o(r) {
|
|
1707
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1708
|
+
return r;
|
|
1709
|
+
if (typeof r != "object")
|
|
1710
|
+
return "";
|
|
1711
|
+
if (Array.isArray(r))
|
|
1712
|
+
return a.apply(null, r);
|
|
1713
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1714
|
+
return r.toString();
|
|
1715
|
+
var t = "";
|
|
1716
|
+
for (var n in r)
|
|
1717
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
1718
|
+
return t;
|
|
1719
|
+
}
|
|
1720
|
+
function p(r, t) {
|
|
1721
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1722
|
+
}
|
|
1723
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1724
|
+
})();
|
|
1725
|
+
}(Yr)), Yr.exports;
|
|
1726
|
+
}
|
|
1727
|
+
var fn = _n();
|
|
1728
|
+
const gn = /* @__PURE__ */ cn(fn), R = {
|
|
1718
1729
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1719
1730
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1720
1731
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1729,81 +1740,75 @@ const qa = /* @__PURE__ */ Ia(Ga), U = {
|
|
|
1729
1740
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1730
1741
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1731
1742
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1732
|
-
},
|
|
1733
|
-
PARAGRAPH100: "paragraph-100"
|
|
1734
|
-
|
|
1735
|
-
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
1736
|
-
PARAGRAPH200: "paragraph-200",
|
|
1737
|
-
PREAMBLE100: "preamble-100",
|
|
1738
|
-
PREAMBLE200: "preamble-200",
|
|
1739
|
-
ADDITIONAL100: "additional-100",
|
|
1740
|
-
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1741
|
-
OVERLINE100: "overline-100",
|
|
1742
|
-
OVERLINE200: "overline-200"
|
|
1743
|
-
}, z = "purpur-paragraph", Hr = ({
|
|
1743
|
+
}, hn = {
|
|
1744
|
+
PARAGRAPH100: "paragraph-100"
|
|
1745
|
+
}, P = "purpur-paragraph", le = ({
|
|
1744
1746
|
["data-testid"]: e,
|
|
1745
|
-
children:
|
|
1747
|
+
children: i,
|
|
1746
1748
|
className: a,
|
|
1747
1749
|
disabled: o,
|
|
1748
1750
|
enableHyphenation: p = !1,
|
|
1749
1751
|
negative: r = !1,
|
|
1750
|
-
variant: t =
|
|
1751
|
-
...
|
|
1752
|
+
variant: t = hn.PARAGRAPH100,
|
|
1753
|
+
...n
|
|
1752
1754
|
}) => {
|
|
1753
|
-
const l =
|
|
1755
|
+
const l = gn([
|
|
1754
1756
|
a,
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
+
R[P],
|
|
1758
|
+
R[`${P}--${t}`],
|
|
1757
1759
|
{
|
|
1758
|
-
[
|
|
1759
|
-
[
|
|
1760
|
-
[
|
|
1760
|
+
[R[`${P}--hyphens`]]: p,
|
|
1761
|
+
[R[`${P}--disabled`]]: o,
|
|
1762
|
+
[R[`${P}--negative`]]: r
|
|
1761
1763
|
}
|
|
1762
1764
|
]);
|
|
1763
|
-
return /* @__PURE__ */ u("p", { ...
|
|
1765
|
+
return /* @__PURE__ */ u("p", { ...n, className: l, "data-testid": e, children: i });
|
|
1764
1766
|
};
|
|
1765
|
-
|
|
1766
|
-
function
|
|
1767
|
+
le.displayName = "Paragraph";
|
|
1768
|
+
function mn(e) {
|
|
1767
1769
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1768
1770
|
}
|
|
1769
|
-
var
|
|
1771
|
+
var rr = { exports: {} };
|
|
1770
1772
|
/*!
|
|
1771
1773
|
Copyright (c) 2018 Jed Watson.
|
|
1772
1774
|
Licensed under the MIT License (MIT), see
|
|
1773
1775
|
http://jedwatson.github.io/classnames
|
|
1774
1776
|
*/
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
function
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1777
|
+
var Jr;
|
|
1778
|
+
function vn() {
|
|
1779
|
+
return Jr || (Jr = 1, function(e) {
|
|
1780
|
+
(function() {
|
|
1781
|
+
var i = {}.hasOwnProperty;
|
|
1782
|
+
function a() {
|
|
1783
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1784
|
+
var n = arguments[t];
|
|
1785
|
+
n && (r = p(r, o.call(this, n)));
|
|
1786
|
+
}
|
|
1787
|
+
return r;
|
|
1782
1788
|
}
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
const Ua = /* @__PURE__ */ La(Ra), za = {
|
|
1789
|
+
function o(r) {
|
|
1790
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1791
|
+
return this && this[r] || r;
|
|
1792
|
+
if (typeof r != "object")
|
|
1793
|
+
return "";
|
|
1794
|
+
if (Array.isArray(r))
|
|
1795
|
+
return a.apply(this, r);
|
|
1796
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1797
|
+
return r.toString();
|
|
1798
|
+
var t = "";
|
|
1799
|
+
for (var n in r)
|
|
1800
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
1801
|
+
return t;
|
|
1802
|
+
}
|
|
1803
|
+
function p(r, t) {
|
|
1804
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1805
|
+
}
|
|
1806
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1807
|
+
})();
|
|
1808
|
+
}(rr)), rr.exports;
|
|
1809
|
+
}
|
|
1810
|
+
var yn = vn();
|
|
1811
|
+
const wn = /* @__PURE__ */ mn(yn), xn = {
|
|
1807
1812
|
"purpur-promotion-card": "_purpur-promotion-card_1cvjr_1",
|
|
1808
1813
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1cvjr_8",
|
|
1809
1814
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_1cvjr_8",
|
|
@@ -1824,27 +1829,27 @@ const Ua = /* @__PURE__ */ La(Ra), za = {
|
|
|
1824
1829
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1cvjr_149",
|
|
1825
1830
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1cvjr_152",
|
|
1826
1831
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1cvjr_153"
|
|
1827
|
-
},
|
|
1832
|
+
}, Mn = ["primary", "secondary", "quaternary"], bn = {
|
|
1828
1833
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1829
1834
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1830
1835
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1831
|
-
},
|
|
1836
|
+
}, $n = {
|
|
1832
1837
|
primary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,
|
|
1833
1838
|
secondary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,
|
|
1834
1839
|
quaternary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`
|
|
1835
|
-
},
|
|
1840
|
+
}, Sn = {
|
|
1836
1841
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1837
1842
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1838
1843
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1839
|
-
}, g =
|
|
1844
|
+
}, g = wn.bind(xn), s = "purpur-promotion-card", Cn = ({
|
|
1840
1845
|
["data-testid"]: e,
|
|
1841
|
-
variant:
|
|
1846
|
+
variant: i = "primary",
|
|
1842
1847
|
badgeText: a,
|
|
1843
1848
|
badgeIcon: o,
|
|
1844
1849
|
title: p,
|
|
1845
1850
|
titleTag: r = "h2",
|
|
1846
1851
|
titleVariant: t = "title-300",
|
|
1847
|
-
enableTitleHyphenation:
|
|
1852
|
+
enableTitleHyphenation: n = !1,
|
|
1848
1853
|
className: l,
|
|
1849
1854
|
actions: d,
|
|
1850
1855
|
children: m,
|
|
@@ -1852,41 +1857,41 @@ const Ua = /* @__PURE__ */ La(Ra), za = {
|
|
|
1852
1857
|
alignment: B = "space-between",
|
|
1853
1858
|
additionalText: C,
|
|
1854
1859
|
...f
|
|
1855
|
-
},
|
|
1856
|
-
let
|
|
1860
|
+
}, N) => {
|
|
1861
|
+
let k = f, v, L;
|
|
1857
1862
|
if ("decorativeImage" in f) {
|
|
1858
|
-
const { hasGradient: w, decorativeImage:
|
|
1859
|
-
v =
|
|
1863
|
+
const { hasGradient: w, decorativeImage: O, ...j } = f;
|
|
1864
|
+
v = O, L = w, k = j;
|
|
1860
1865
|
} else if ("productImage" in f) {
|
|
1861
|
-
const { hasGradient: w, productImage:
|
|
1862
|
-
v =
|
|
1866
|
+
const { hasGradient: w, productImage: O, ...j } = f;
|
|
1867
|
+
v = O, L = w, k = j;
|
|
1863
1868
|
} else if ("hasGradient" in f) {
|
|
1864
|
-
const { hasGradient: w, ...
|
|
1865
|
-
|
|
1869
|
+
const { hasGradient: w, ...O } = f;
|
|
1870
|
+
L = w, k = O;
|
|
1866
1871
|
}
|
|
1867
|
-
const
|
|
1868
|
-
"--promotion-card-background":
|
|
1869
|
-
"--promotion-card-color":
|
|
1870
|
-
"--promotion-card-background-image":
|
|
1872
|
+
const se = {
|
|
1873
|
+
"--promotion-card-background": bn[i],
|
|
1874
|
+
"--promotion-card-color": Sn[i],
|
|
1875
|
+
"--promotion-card-background-image": $n[i]
|
|
1871
1876
|
};
|
|
1872
|
-
return /* @__PURE__ */ u(y, { ref:
|
|
1877
|
+
return /* @__PURE__ */ u(y, { ref: N, className: g(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1873
1878
|
"div",
|
|
1874
1879
|
{
|
|
1875
1880
|
"data-testid": e,
|
|
1876
1881
|
style: {
|
|
1877
|
-
...
|
|
1882
|
+
...se,
|
|
1878
1883
|
...b
|
|
1879
1884
|
},
|
|
1880
1885
|
className: g([
|
|
1881
1886
|
l,
|
|
1882
1887
|
s,
|
|
1883
|
-
`${s}--${
|
|
1888
|
+
`${s}--${i}`,
|
|
1884
1889
|
{
|
|
1885
1890
|
[`${s}--with-image`]: v,
|
|
1886
1891
|
[`${s}--without-image`]: !v
|
|
1887
1892
|
}
|
|
1888
1893
|
]),
|
|
1889
|
-
...
|
|
1894
|
+
...k,
|
|
1890
1895
|
children: [
|
|
1891
1896
|
/* @__PURE__ */ _(
|
|
1892
1897
|
"div",
|
|
@@ -1899,7 +1904,7 @@ const Ua = /* @__PURE__ */ La(Ra), za = {
|
|
|
1899
1904
|
}
|
|
1900
1905
|
]),
|
|
1901
1906
|
children: [
|
|
1902
|
-
a && /* @__PURE__ */ u("div", { "data-testid": "badgeWrapper", className: g(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(
|
|
1907
|
+
a && /* @__PURE__ */ u("div", { "data-testid": "badgeWrapper", className: g(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(je, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1903
1908
|
o && o,
|
|
1904
1909
|
a
|
|
1905
1910
|
] }) }),
|
|
@@ -1912,28 +1917,28 @@ const Ua = /* @__PURE__ */ La(Ra), za = {
|
|
|
1912
1917
|
),
|
|
1913
1918
|
children: [
|
|
1914
1919
|
/* @__PURE__ */ u(
|
|
1915
|
-
|
|
1920
|
+
ue,
|
|
1916
1921
|
{
|
|
1917
1922
|
tag: r,
|
|
1918
1923
|
variant: t,
|
|
1919
|
-
enableHyphenation:
|
|
1924
|
+
enableHyphenation: n,
|
|
1920
1925
|
className: g(`${s}__heading`),
|
|
1921
1926
|
children: p
|
|
1922
1927
|
}
|
|
1923
1928
|
),
|
|
1924
1929
|
/* @__PURE__ */ _("div", { className: g(`${s}__body`), children: [
|
|
1925
1930
|
/* @__PURE__ */ u("div", { className: g(`${s}__child-content`), children: m }),
|
|
1926
|
-
d && d.length > 0 && /* @__PURE__ */ u("div", { className: g(`${s}__actions`), children: d.map(({ label: w, ...
|
|
1927
|
-
const
|
|
1928
|
-
variant:
|
|
1929
|
-
negative:
|
|
1930
|
-
...
|
|
1931
|
+
d && d.length > 0 && /* @__PURE__ */ u("div", { className: g(`${s}__actions`), children: d.map(({ label: w, ...O }, j) => {
|
|
1932
|
+
const G = {
|
|
1933
|
+
variant: j === 0 ? "primary" : "secondary",
|
|
1934
|
+
negative: i === "primary",
|
|
1935
|
+
...O,
|
|
1931
1936
|
children: w
|
|
1932
1937
|
};
|
|
1933
|
-
return
|
|
1938
|
+
return kn(G) ? /* @__PURE__ */ u(pe, { ...G }, w) : "onClick" in G && !("href" in G) ? /* @__PURE__ */ u(Qr, { ...G }, w) : null;
|
|
1934
1939
|
}) }),
|
|
1935
1940
|
C && /* @__PURE__ */ u(
|
|
1936
|
-
|
|
1941
|
+
le,
|
|
1937
1942
|
{
|
|
1938
1943
|
negative: !0,
|
|
1939
1944
|
variant: "additional-100",
|
|
@@ -1960,7 +1965,7 @@ const Ua = /* @__PURE__ */ La(Ra), za = {
|
|
|
1960
1965
|
]),
|
|
1961
1966
|
children: [
|
|
1962
1967
|
v,
|
|
1963
|
-
|
|
1968
|
+
L && /* @__PURE__ */ u(
|
|
1964
1969
|
"div",
|
|
1965
1970
|
{
|
|
1966
1971
|
className: g(`${s}__image-gradient`),
|
|
@@ -1973,10 +1978,10 @@ const Ua = /* @__PURE__ */ La(Ra), za = {
|
|
|
1973
1978
|
]
|
|
1974
1979
|
}
|
|
1975
1980
|
) });
|
|
1976
|
-
},
|
|
1977
|
-
|
|
1981
|
+
}, kn = (e) => "href" in e, On = W(Cn);
|
|
1982
|
+
On.displayName = "PromotionCard";
|
|
1978
1983
|
export {
|
|
1979
|
-
|
|
1980
|
-
|
|
1984
|
+
On as PromotionCard,
|
|
1985
|
+
Mn as promotionCardVariants
|
|
1981
1986
|
};
|
|
1982
1987
|
//# sourceMappingURL=promotion-card.es.js.map
|