@purpurds/promotion-card 6.0.1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +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 +467 -469
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +11 -11
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as _, jsx as u, Fragment as tr } from "react/jsx-runtime";
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import { forwardRef as W } from "react";
|
|
3
4
|
import "react-dom";
|
|
4
|
-
function
|
|
5
|
+
function Xr(e) {
|
|
5
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
7
|
}
|
|
7
|
-
var
|
|
8
|
+
var wr = { exports: {} };
|
|
8
9
|
/*!
|
|
9
10
|
Copyright (c) 2018 Jed Watson.
|
|
10
11
|
Licensed under the MIT License (MIT), see
|
|
@@ -39,9 +40,9 @@ var $r = { exports: {} };
|
|
|
39
40
|
}
|
|
40
41
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
42
|
})();
|
|
42
|
-
})(
|
|
43
|
-
var
|
|
44
|
-
const
|
|
43
|
+
})(wr);
|
|
44
|
+
var Kr = wr.exports;
|
|
45
|
+
const Yr = /* @__PURE__ */ Xr(Kr), Jr = {
|
|
45
46
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
46
47
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
47
48
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -49,26 +50,26 @@ const ee = /* @__PURE__ */ Qr(re), te = {
|
|
|
49
50
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
50
51
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
51
52
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
52
|
-
},
|
|
53
|
+
}, Qr = Yr.bind(Jr), ir = "purpur-icon", re = "md", ee = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), te = ({ content: e = "", title: n } = {}) => {
|
|
53
54
|
const a = [
|
|
54
55
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
55
56
|
{ name: "fill", value: "currentColor" },
|
|
56
57
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
57
58
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
58
59
|
], o = n ? `<title>${n}</title>` : "";
|
|
59
|
-
return `<svg ${
|
|
60
|
-
},
|
|
60
|
+
return `<svg ${ee(a)}>${o}${e}</svg>`;
|
|
61
|
+
}, ae = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), xr = ({
|
|
61
62
|
["data-testid"]: e,
|
|
62
63
|
svg: n,
|
|
63
64
|
allyTitle: a,
|
|
64
65
|
className: o,
|
|
65
|
-
size: p =
|
|
66
|
+
size: p = re,
|
|
66
67
|
...r
|
|
67
68
|
}) => {
|
|
68
|
-
const t =
|
|
69
|
-
content:
|
|
69
|
+
const t = te({
|
|
70
|
+
content: ae(n.svg),
|
|
70
71
|
title: a
|
|
71
|
-
}), i =
|
|
72
|
+
}), i = Qr(o, ir, `${ir}--${p}`);
|
|
72
73
|
return /* @__PURE__ */ u(
|
|
73
74
|
"span",
|
|
74
75
|
{
|
|
@@ -80,47 +81,47 @@ const ee = /* @__PURE__ */ Qr(re), te = {
|
|
|
80
81
|
}
|
|
81
82
|
);
|
|
82
83
|
};
|
|
83
|
-
|
|
84
|
-
const
|
|
84
|
+
xr.displayName = "Icon";
|
|
85
|
+
const ie = {
|
|
85
86
|
name: "alert",
|
|
86
87
|
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>',
|
|
87
88
|
keywords: ["alert"],
|
|
88
89
|
category: "status"
|
|
89
|
-
},
|
|
90
|
+
}, ne = {
|
|
90
91
|
name: "check-circle",
|
|
91
92
|
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>',
|
|
92
93
|
keywords: ["check-circle"],
|
|
93
94
|
category: "status"
|
|
94
|
-
},
|
|
95
|
+
}, oe = {
|
|
95
96
|
name: "error",
|
|
96
97
|
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>',
|
|
97
98
|
keywords: ["error"],
|
|
98
99
|
category: "status"
|
|
99
|
-
},
|
|
100
|
+
}, pe = {
|
|
100
101
|
name: "info",
|
|
101
102
|
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>',
|
|
102
103
|
keywords: ["info"],
|
|
103
104
|
category: "status"
|
|
104
|
-
},
|
|
105
|
+
}, ue = {
|
|
105
106
|
name: "offering",
|
|
106
107
|
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>',
|
|
107
108
|
keywords: ["offering"],
|
|
108
109
|
category: "other"
|
|
109
|
-
},
|
|
110
|
+
}, le = {
|
|
110
111
|
name: "question",
|
|
111
112
|
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>',
|
|
112
113
|
keywords: ["question"],
|
|
113
114
|
category: "status"
|
|
114
|
-
},
|
|
115
|
+
}, se = {
|
|
115
116
|
name: "tag",
|
|
116
117
|
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>',
|
|
117
118
|
keywords: ["tag"],
|
|
118
119
|
category: "other"
|
|
119
120
|
};
|
|
120
|
-
function
|
|
121
|
+
function de(e) {
|
|
121
122
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
122
123
|
}
|
|
123
|
-
var
|
|
124
|
+
var br = { exports: {} };
|
|
124
125
|
/*!
|
|
125
126
|
Copyright (c) 2018 Jed Watson.
|
|
126
127
|
Licensed under the MIT License (MIT), see
|
|
@@ -155,9 +156,9 @@ var Cr = { exports: {} };
|
|
|
155
156
|
}
|
|
156
157
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
157
158
|
})();
|
|
158
|
-
})(
|
|
159
|
-
var
|
|
160
|
-
const
|
|
159
|
+
})(br);
|
|
160
|
+
var ce = br.exports;
|
|
161
|
+
const _e = /* @__PURE__ */ de(ce), nr = {
|
|
161
162
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
162
163
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
163
164
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -167,7 +168,7 @@ const me = /* @__PURE__ */ ge(he), pr = {
|
|
|
167
168
|
"purpur-badge--warning": "_purpur-badge--warning_19vzu_33",
|
|
168
169
|
"purpur-badge--error": "_purpur-badge--error_19vzu_37",
|
|
169
170
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_19vzu_41"
|
|
170
|
-
},
|
|
171
|
+
}, or = "purpur-badge", $ = {
|
|
171
172
|
ATTENTION: "attention",
|
|
172
173
|
SPECIAL: "special",
|
|
173
174
|
NEUTRAL: "neutral",
|
|
@@ -176,27 +177,27 @@ const me = /* @__PURE__ */ ge(he), pr = {
|
|
|
176
177
|
WARNING: "warning",
|
|
177
178
|
ERROR: "error",
|
|
178
179
|
BLACK_FRIDAY: "black-friday"
|
|
179
|
-
},
|
|
180
|
+
}, fe = (e) => {
|
|
180
181
|
switch (e) {
|
|
181
|
-
case
|
|
182
|
-
case
|
|
183
|
-
return ce;
|
|
184
|
-
case b.INFORMATION:
|
|
185
|
-
return de;
|
|
186
|
-
case b.SUCCESS:
|
|
187
|
-
return le;
|
|
188
|
-
case b.WARNING:
|
|
182
|
+
case $.ATTENTION:
|
|
183
|
+
case $.SPECIAL:
|
|
189
184
|
return ue;
|
|
190
|
-
case
|
|
185
|
+
case $.INFORMATION:
|
|
186
|
+
return pe;
|
|
187
|
+
case $.SUCCESS:
|
|
188
|
+
return ne;
|
|
189
|
+
case $.WARNING:
|
|
190
|
+
return ie;
|
|
191
|
+
case $.ERROR:
|
|
192
|
+
return oe;
|
|
193
|
+
case $.NEUTRAL:
|
|
194
|
+
return le;
|
|
195
|
+
case $.BLACK_FRIDAY:
|
|
191
196
|
return se;
|
|
192
|
-
case b.NEUTRAL:
|
|
193
|
-
return _e;
|
|
194
|
-
case b.BLACK_FRIDAY:
|
|
195
|
-
return fe;
|
|
196
197
|
default:
|
|
197
198
|
return;
|
|
198
199
|
}
|
|
199
|
-
},
|
|
200
|
+
}, ge = ({
|
|
200
201
|
children: e,
|
|
201
202
|
showIcon: n = !0,
|
|
202
203
|
variant: a,
|
|
@@ -205,21 +206,21 @@ const me = /* @__PURE__ */ ge(he), pr = {
|
|
|
205
206
|
className: r = "",
|
|
206
207
|
...t
|
|
207
208
|
}) => {
|
|
208
|
-
const i =
|
|
209
|
-
return /* @__PURE__ */
|
|
210
|
-
n && i && /* @__PURE__ */ u(
|
|
209
|
+
const i = fe(a), l = _e([r, nr[or], nr[`${or}--${a}`]]);
|
|
210
|
+
return /* @__PURE__ */ _("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
211
|
+
n && i && /* @__PURE__ */ u(xr, { "data-testid": `${o}-icon`, allyTitle: p, size: "xs", svg: i }),
|
|
211
212
|
e
|
|
212
213
|
] });
|
|
213
|
-
},
|
|
214
|
+
}, he = {
|
|
214
215
|
XS: "xs",
|
|
215
216
|
SM: "sm",
|
|
216
217
|
MD: "md",
|
|
217
218
|
LG: "lg"
|
|
218
219
|
};
|
|
219
|
-
function
|
|
220
|
+
function me(e) {
|
|
220
221
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
221
222
|
}
|
|
222
|
-
var
|
|
223
|
+
var $r = { exports: {} };
|
|
223
224
|
/*!
|
|
224
225
|
Copyright (c) 2018 Jed Watson.
|
|
225
226
|
Licensed under the MIT License (MIT), see
|
|
@@ -254,44 +255,44 @@ var Ar = { exports: {} };
|
|
|
254
255
|
}
|
|
255
256
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
256
257
|
})();
|
|
257
|
-
})(
|
|
258
|
-
var
|
|
259
|
-
const
|
|
258
|
+
})($r);
|
|
259
|
+
var ve = $r.exports;
|
|
260
|
+
const pr = /* @__PURE__ */ me(ve), ye = "_rotate_1xozj_1", we = "_dash_1xozj_1", I = {
|
|
260
261
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
261
|
-
rotate:
|
|
262
|
+
rotate: ye,
|
|
262
263
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
263
264
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
264
265
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
265
266
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
266
267
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
267
268
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
268
|
-
dash:
|
|
269
|
+
dash: we,
|
|
269
270
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
270
271
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
271
|
-
},
|
|
272
|
+
}, G = "purpur-spinner", xe = {
|
|
272
273
|
XXS: "xxs",
|
|
273
274
|
XS: "xs",
|
|
274
275
|
SM: "sm",
|
|
275
276
|
MD: "md",
|
|
276
277
|
LG: "lg"
|
|
277
|
-
},
|
|
278
|
+
}, be = ({
|
|
278
279
|
["data-testid"]: e,
|
|
279
280
|
disabled: n = !1,
|
|
280
281
|
negative: a = !1,
|
|
281
|
-
size: o =
|
|
282
|
+
size: o = xe.SM,
|
|
282
283
|
...p
|
|
283
284
|
}) => /* @__PURE__ */ u(
|
|
284
285
|
"div",
|
|
285
286
|
{
|
|
286
|
-
className:
|
|
287
|
+
className: pr([I[G], I[`${G}--${o}`]]),
|
|
287
288
|
"data-testid": e,
|
|
288
289
|
...p,
|
|
289
290
|
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
290
291
|
"circle",
|
|
291
292
|
{
|
|
292
|
-
className:
|
|
293
|
-
[
|
|
294
|
-
[
|
|
293
|
+
className: pr(I[`${G}__circle`], {
|
|
294
|
+
[I[`${G}__circle--disabled`]]: n,
|
|
295
|
+
[I[`${G}__circle--negative`]]: a
|
|
295
296
|
}),
|
|
296
297
|
cx: "25",
|
|
297
298
|
cy: "25",
|
|
@@ -300,10 +301,10 @@ const lr = /* @__PURE__ */ xe(be), $e = "_rotate_1xozj_1", Se = "_dash_1xozj_1",
|
|
|
300
301
|
) })
|
|
301
302
|
}
|
|
302
303
|
);
|
|
303
|
-
function
|
|
304
|
+
function $e(e) {
|
|
304
305
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
305
306
|
}
|
|
306
|
-
var
|
|
307
|
+
var Sr = { exports: {} };
|
|
307
308
|
/*!
|
|
308
309
|
Copyright (c) 2018 Jed Watson.
|
|
309
310
|
Licensed under the MIT License (MIT), see
|
|
@@ -338,9 +339,9 @@ var kr = { exports: {} };
|
|
|
338
339
|
}
|
|
339
340
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
340
341
|
})();
|
|
341
|
-
})(
|
|
342
|
-
var
|
|
343
|
-
const
|
|
342
|
+
})(Sr);
|
|
343
|
+
var Se = Sr.exports;
|
|
344
|
+
const Ce = /* @__PURE__ */ $e(Se), Ae = {
|
|
344
345
|
"purpur-button": "_purpur-button_w455q_1",
|
|
345
346
|
"purpur-button--xs": "_purpur-button--xs_w455q_33",
|
|
346
347
|
"purpur-button--icon-only": "_purpur-button--icon-only_w455q_36",
|
|
@@ -362,7 +363,7 @@ const Ne = /* @__PURE__ */ ke(Oe), Be = {
|
|
|
362
363
|
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_w455q_166",
|
|
363
364
|
"purpur-button--text-negative": "_purpur-button--text-negative_w455q_181",
|
|
364
365
|
"purpur-button--text": "_purpur-button--text_w455q_181"
|
|
365
|
-
},
|
|
366
|
+
}, ke = Ce.bind(Ae), O = "purpur-button", Oe = ({
|
|
366
367
|
children: e,
|
|
367
368
|
className: n,
|
|
368
369
|
["data-testid"]: a,
|
|
@@ -373,16 +374,16 @@ const Ne = /* @__PURE__ */ ke(Oe), Be = {
|
|
|
373
374
|
negative: i = !1,
|
|
374
375
|
onClick: l,
|
|
375
376
|
size: d = "md",
|
|
376
|
-
variant:
|
|
377
|
-
type:
|
|
377
|
+
variant: m,
|
|
378
|
+
type: b = "button",
|
|
378
379
|
...B
|
|
379
380
|
}, C) => {
|
|
380
|
-
if (r &&
|
|
381
|
+
if (r && m === "destructive")
|
|
381
382
|
return null;
|
|
382
|
-
const
|
|
383
|
+
const f = ke(
|
|
383
384
|
[
|
|
384
385
|
O,
|
|
385
|
-
`${O}--${i ? `${
|
|
386
|
+
`${O}--${i ? `${m}-negative` : m}`,
|
|
386
387
|
`${O}--${d}`
|
|
387
388
|
],
|
|
388
389
|
{
|
|
@@ -392,32 +393,32 @@ const Ne = /* @__PURE__ */ ke(Oe), Be = {
|
|
|
392
393
|
[`${O}--disabled`]: o || t
|
|
393
394
|
},
|
|
394
395
|
n
|
|
395
|
-
), F = (
|
|
396
|
-
o || t ?
|
|
396
|
+
), F = (v) => {
|
|
397
|
+
o || t ? v.preventDefault() : l && l(v);
|
|
397
398
|
}, A = !!B["aria-disabled"] || o || t;
|
|
398
|
-
return /* @__PURE__ */
|
|
399
|
+
return /* @__PURE__ */ _(
|
|
399
400
|
"button",
|
|
400
401
|
{
|
|
401
|
-
className:
|
|
402
|
+
className: f,
|
|
402
403
|
"data-testid": a,
|
|
403
|
-
type:
|
|
404
|
+
type: b,
|
|
404
405
|
ref: C,
|
|
405
406
|
"aria-disabled": A,
|
|
406
407
|
onClick: F,
|
|
407
408
|
...B,
|
|
408
409
|
children: [
|
|
409
|
-
t && /* @__PURE__ */ u(
|
|
410
|
+
t && /* @__PURE__ */ u(be, { size: d === he.LG ? "xs" : "xxs", negative: i, disabled: A }),
|
|
410
411
|
" ",
|
|
411
412
|
e
|
|
412
413
|
]
|
|
413
414
|
}
|
|
414
415
|
);
|
|
415
|
-
},
|
|
416
|
-
|
|
417
|
-
function
|
|
416
|
+
}, Cr = W(Oe);
|
|
417
|
+
Cr.displayName = "Button";
|
|
418
|
+
function Ne(e) {
|
|
418
419
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
419
420
|
}
|
|
420
|
-
var
|
|
421
|
+
var Ar = { exports: {} };
|
|
421
422
|
/*!
|
|
422
423
|
Copyright (c) 2018 Jed Watson.
|
|
423
424
|
Licensed under the MIT License (MIT), see
|
|
@@ -452,15 +453,15 @@ var Nr = { exports: {} };
|
|
|
452
453
|
}
|
|
453
454
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
454
455
|
})();
|
|
455
|
-
})(
|
|
456
|
-
var
|
|
457
|
-
const
|
|
456
|
+
})(Ar);
|
|
457
|
+
var Be = Ar.exports;
|
|
458
|
+
const h = /* @__PURE__ */ Ne(Be), Fe = {
|
|
458
459
|
"purpur-card": "_purpur-card_1ruml_1"
|
|
459
460
|
};
|
|
460
|
-
function
|
|
461
|
+
function Me(e) {
|
|
461
462
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
462
463
|
}
|
|
463
|
-
var
|
|
464
|
+
var kr = { exports: {} };
|
|
464
465
|
/*!
|
|
465
466
|
Copyright (c) 2018 Jed Watson.
|
|
466
467
|
Licensed under the MIT License (MIT), see
|
|
@@ -495,9 +496,9 @@ var Br = { exports: {} };
|
|
|
495
496
|
}
|
|
496
497
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
497
498
|
})();
|
|
498
|
-
})(
|
|
499
|
-
var
|
|
500
|
-
const
|
|
499
|
+
})(kr);
|
|
500
|
+
var Ee = kr.exports;
|
|
501
|
+
const je = /* @__PURE__ */ Me(Ee), Ie = {
|
|
501
502
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
502
503
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
503
504
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -505,26 +506,26 @@ const Ze = /* @__PURE__ */ Ge(qe), Le = {
|
|
|
505
506
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
506
507
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
507
508
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
508
|
-
},
|
|
509
|
+
}, Ge = je.bind(Ie), ur = "purpur-icon", qe = "md", Ze = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Le = ({ content: e = "", title: n } = {}) => {
|
|
509
510
|
const a = [
|
|
510
511
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
511
512
|
{ name: "fill", value: "currentColor" },
|
|
512
513
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
513
514
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
514
515
|
], o = n ? `<title>${n}</title>` : "";
|
|
515
|
-
return `<svg ${
|
|
516
|
-
},
|
|
516
|
+
return `<svg ${Ze(a)}>${o}${e}</svg>`;
|
|
517
|
+
}, Re = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Or = ({
|
|
517
518
|
["data-testid"]: e,
|
|
518
519
|
svg: n,
|
|
519
520
|
allyTitle: a,
|
|
520
521
|
className: o,
|
|
521
|
-
size: p =
|
|
522
|
+
size: p = qe,
|
|
522
523
|
...r
|
|
523
524
|
}) => {
|
|
524
|
-
const t =
|
|
525
|
-
content:
|
|
525
|
+
const t = Le({
|
|
526
|
+
content: Re(n.svg),
|
|
526
527
|
title: a
|
|
527
|
-
}), i =
|
|
528
|
+
}), i = Ge(o, ur, `${ur}--${p}`);
|
|
528
529
|
return /* @__PURE__ */ u(
|
|
529
530
|
"span",
|
|
530
531
|
{
|
|
@@ -536,47 +537,47 @@ const Ze = /* @__PURE__ */ Ge(qe), Le = {
|
|
|
536
537
|
}
|
|
537
538
|
);
|
|
538
539
|
};
|
|
539
|
-
|
|
540
|
-
const
|
|
540
|
+
Or.displayName = "Icon";
|
|
541
|
+
const Ue = {
|
|
541
542
|
name: "alert",
|
|
542
543
|
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>',
|
|
543
544
|
keywords: ["alert"],
|
|
544
545
|
category: "status"
|
|
545
|
-
},
|
|
546
|
+
}, ze = {
|
|
546
547
|
name: "check-circle",
|
|
547
548
|
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>',
|
|
548
549
|
keywords: ["check-circle"],
|
|
549
550
|
category: "status"
|
|
550
|
-
},
|
|
551
|
+
}, Pe = {
|
|
551
552
|
name: "error",
|
|
552
553
|
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>',
|
|
553
554
|
keywords: ["error"],
|
|
554
555
|
category: "status"
|
|
555
|
-
},
|
|
556
|
+
}, Te = {
|
|
556
557
|
name: "info",
|
|
557
558
|
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>',
|
|
558
559
|
keywords: ["info"],
|
|
559
560
|
category: "status"
|
|
560
|
-
},
|
|
561
|
+
}, De = {
|
|
561
562
|
name: "offering",
|
|
562
563
|
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>',
|
|
563
564
|
keywords: ["offering"],
|
|
564
565
|
category: "other"
|
|
565
|
-
},
|
|
566
|
+
}, He = {
|
|
566
567
|
name: "question",
|
|
567
568
|
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>',
|
|
568
569
|
keywords: ["question"],
|
|
569
570
|
category: "status"
|
|
570
|
-
},
|
|
571
|
+
}, Ve = {
|
|
571
572
|
name: "tag",
|
|
572
573
|
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>',
|
|
573
574
|
keywords: ["tag"],
|
|
574
575
|
category: "other"
|
|
575
576
|
};
|
|
576
|
-
function
|
|
577
|
+
function We(e) {
|
|
577
578
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
578
579
|
}
|
|
579
|
-
var
|
|
580
|
+
var Nr = { exports: {} };
|
|
580
581
|
/*!
|
|
581
582
|
Copyright (c) 2018 Jed Watson.
|
|
582
583
|
Licensed under the MIT License (MIT), see
|
|
@@ -611,9 +612,9 @@ var Mr = { exports: {} };
|
|
|
611
612
|
}
|
|
612
613
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
613
614
|
})();
|
|
614
|
-
})(
|
|
615
|
-
var
|
|
616
|
-
const
|
|
615
|
+
})(Nr);
|
|
616
|
+
var Xe = Nr.exports;
|
|
617
|
+
const Ke = /* @__PURE__ */ We(Xe), lr = {
|
|
617
618
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
618
619
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
619
620
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -623,7 +624,7 @@ const rt = /* @__PURE__ */ Je(Qe), dr = {
|
|
|
623
624
|
"purpur-badge--warning": "_purpur-badge--warning_19vzu_33",
|
|
624
625
|
"purpur-badge--error": "_purpur-badge--error_19vzu_37",
|
|
625
626
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_19vzu_41"
|
|
626
|
-
},
|
|
627
|
+
}, sr = "purpur-badge", S = {
|
|
627
628
|
ATTENTION: "attention",
|
|
628
629
|
SPECIAL: "special",
|
|
629
630
|
NEUTRAL: "neutral",
|
|
@@ -632,27 +633,27 @@ const rt = /* @__PURE__ */ Je(Qe), dr = {
|
|
|
632
633
|
WARNING: "warning",
|
|
633
634
|
ERROR: "error",
|
|
634
635
|
BLACK_FRIDAY: "black-friday"
|
|
635
|
-
},
|
|
636
|
+
}, Ye = (e) => {
|
|
636
637
|
switch (e) {
|
|
637
|
-
case
|
|
638
|
-
case
|
|
639
|
-
return Xe;
|
|
640
|
-
case $.INFORMATION:
|
|
641
|
-
return We;
|
|
642
|
-
case $.SUCCESS:
|
|
643
|
-
return He;
|
|
644
|
-
case $.WARNING:
|
|
638
|
+
case S.ATTENTION:
|
|
639
|
+
case S.SPECIAL:
|
|
645
640
|
return De;
|
|
646
|
-
case
|
|
641
|
+
case S.INFORMATION:
|
|
642
|
+
return Te;
|
|
643
|
+
case S.SUCCESS:
|
|
644
|
+
return ze;
|
|
645
|
+
case S.WARNING:
|
|
646
|
+
return Ue;
|
|
647
|
+
case S.ERROR:
|
|
648
|
+
return Pe;
|
|
649
|
+
case S.NEUTRAL:
|
|
650
|
+
return He;
|
|
651
|
+
case S.BLACK_FRIDAY:
|
|
647
652
|
return Ve;
|
|
648
|
-
case $.NEUTRAL:
|
|
649
|
-
return Ke;
|
|
650
|
-
case $.BLACK_FRIDAY:
|
|
651
|
-
return Ye;
|
|
652
653
|
default:
|
|
653
654
|
return;
|
|
654
655
|
}
|
|
655
|
-
},
|
|
656
|
+
}, Je = ({
|
|
656
657
|
children: e,
|
|
657
658
|
showIcon: n = !0,
|
|
658
659
|
variant: a,
|
|
@@ -661,38 +662,38 @@ const rt = /* @__PURE__ */ Je(Qe), dr = {
|
|
|
661
662
|
className: r = "",
|
|
662
663
|
...t
|
|
663
664
|
}) => {
|
|
664
|
-
const i =
|
|
665
|
-
return /* @__PURE__ */
|
|
666
|
-
n && i && /* @__PURE__ */ u(
|
|
665
|
+
const i = Ye(a), l = Ke([r, lr[sr], lr[`${sr}--${a}`]]);
|
|
666
|
+
return /* @__PURE__ */ _("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
667
|
+
n && i && /* @__PURE__ */ u(Or, { "data-testid": `${o}-icon`, allyTitle: p, size: "xs", svg: i }),
|
|
667
668
|
e
|
|
668
669
|
] });
|
|
669
|
-
},
|
|
670
|
+
}, Qe = {
|
|
670
671
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
671
|
-
},
|
|
672
|
+
}, rt = h.bind(Qe), et = "purpur-card-badge", tt = ({
|
|
672
673
|
["data-testid"]: e = "purpur-card-badge",
|
|
673
674
|
variant: n,
|
|
674
675
|
text: a
|
|
675
676
|
}) => n && a ? /* @__PURE__ */ u(
|
|
676
|
-
|
|
677
|
+
Je,
|
|
677
678
|
{
|
|
678
|
-
className:
|
|
679
|
+
className: rt(et),
|
|
679
680
|
variant: n,
|
|
680
681
|
showIcon: !1,
|
|
681
682
|
"data-testid": e,
|
|
682
683
|
children: a
|
|
683
684
|
}
|
|
684
|
-
) : null,
|
|
685
|
+
) : null, at = {
|
|
685
686
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
686
|
-
},
|
|
687
|
+
}, it = h.bind(at), nt = "purpur-card-content", ot = ({
|
|
687
688
|
["data-testid"]: e = "purpur-card-content",
|
|
688
689
|
children: n
|
|
689
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
690
|
+
}) => /* @__PURE__ */ u("div", { className: it(nt), "data-testid": e, children: n }), pt = {
|
|
690
691
|
"purpur-card-content-container": "_purpur-card-content-container_putaw_1",
|
|
691
692
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_putaw_12",
|
|
692
693
|
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--sm_putaw_20",
|
|
693
694
|
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_putaw_23",
|
|
694
695
|
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_putaw_26"
|
|
695
|
-
},
|
|
696
|
+
}, ut = h.bind(pt), X = "purpur-card-content-container", lt = ({
|
|
696
697
|
["data-testid"]: e = "purpur-card-content-container",
|
|
697
698
|
children: n,
|
|
698
699
|
isFooter: a = !1,
|
|
@@ -700,21 +701,21 @@ const rt = /* @__PURE__ */ Je(Qe), dr = {
|
|
|
700
701
|
}) => /* @__PURE__ */ u(
|
|
701
702
|
"div",
|
|
702
703
|
{
|
|
703
|
-
className:
|
|
704
|
-
|
|
705
|
-
`${
|
|
704
|
+
className: ut([
|
|
705
|
+
X,
|
|
706
|
+
`${X}--gap-size--${o}`,
|
|
706
707
|
{
|
|
707
|
-
[`${
|
|
708
|
+
[`${X}--footer`]: a
|
|
708
709
|
}
|
|
709
710
|
]),
|
|
710
711
|
"data-testid": e,
|
|
711
712
|
children: n
|
|
712
713
|
}
|
|
713
714
|
);
|
|
714
|
-
function
|
|
715
|
+
function st(e) {
|
|
715
716
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
716
717
|
}
|
|
717
|
-
var
|
|
718
|
+
var Br = { exports: {} };
|
|
718
719
|
/*!
|
|
719
720
|
Copyright (c) 2018 Jed Watson.
|
|
720
721
|
Licensed under the MIT License (MIT), see
|
|
@@ -749,44 +750,44 @@ var Er = { exports: {} };
|
|
|
749
750
|
}
|
|
750
751
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
751
752
|
})();
|
|
752
|
-
})(
|
|
753
|
-
var
|
|
754
|
-
const
|
|
753
|
+
})(Br);
|
|
754
|
+
var dt = Br.exports;
|
|
755
|
+
const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1", q = {
|
|
755
756
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
756
|
-
rotate:
|
|
757
|
+
rotate: ct,
|
|
757
758
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
758
759
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
759
760
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
760
761
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
761
762
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
762
763
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
763
|
-
dash:
|
|
764
|
+
dash: _t,
|
|
764
765
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
765
766
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
766
|
-
},
|
|
767
|
+
}, Z = "purpur-spinner", ft = {
|
|
767
768
|
XXS: "xxs",
|
|
768
769
|
XS: "xs",
|
|
769
770
|
SM: "sm",
|
|
770
771
|
MD: "md",
|
|
771
772
|
LG: "lg"
|
|
772
|
-
},
|
|
773
|
+
}, gt = ({
|
|
773
774
|
["data-testid"]: e,
|
|
774
775
|
disabled: n = !1,
|
|
775
776
|
negative: a = !1,
|
|
776
|
-
size: o =
|
|
777
|
+
size: o = ft.SM,
|
|
777
778
|
...p
|
|
778
779
|
}) => /* @__PURE__ */ u(
|
|
779
780
|
"div",
|
|
780
781
|
{
|
|
781
|
-
className:
|
|
782
|
+
className: dr([q[Z], q[`${Z}--${o}`]]),
|
|
782
783
|
"data-testid": e,
|
|
783
784
|
...p,
|
|
784
785
|
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
785
786
|
"circle",
|
|
786
787
|
{
|
|
787
|
-
className:
|
|
788
|
-
[
|
|
789
|
-
[
|
|
788
|
+
className: dr(q[`${Z}__circle`], {
|
|
789
|
+
[q[`${Z}__circle--disabled`]]: n,
|
|
790
|
+
[q[`${Z}__circle--negative`]]: a
|
|
790
791
|
}),
|
|
791
792
|
cx: "25",
|
|
792
793
|
cy: "25",
|
|
@@ -794,7 +795,7 @@ const _r = /* @__PURE__ */ ft(gt), ht = "_rotate_1xozj_1", mt = "_dash_1xozj_1",
|
|
|
794
795
|
}
|
|
795
796
|
) })
|
|
796
797
|
}
|
|
797
|
-
),
|
|
798
|
+
), ht = {
|
|
798
799
|
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1wc0z_1",
|
|
799
800
|
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1wc0z_33",
|
|
800
801
|
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1wc0z_36",
|
|
@@ -813,7 +814,7 @@ const _r = /* @__PURE__ */ ft(gt), ht = "_rotate_1xozj_1", mt = "_dash_1xozj_1",
|
|
|
813
814
|
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1wc0z_131",
|
|
814
815
|
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1wc0z_131",
|
|
815
816
|
"purpur-card-cta--text": "_purpur-card-cta--text_1wc0z_139"
|
|
816
|
-
},
|
|
817
|
+
}, mt = h.bind(ht), x = "purpur-card-cta", vt = ({
|
|
817
818
|
["data-testid"]: e = "purpur-card-cta",
|
|
818
819
|
className: n,
|
|
819
820
|
children: a,
|
|
@@ -826,32 +827,32 @@ const _r = /* @__PURE__ */ ft(gt), ht = "_rotate_1xozj_1", mt = "_dash_1xozj_1",
|
|
|
826
827
|
}) => /* @__PURE__ */ u(
|
|
827
828
|
"div",
|
|
828
829
|
{
|
|
829
|
-
className: `${
|
|
830
|
-
|
|
830
|
+
className: `${mt([
|
|
831
|
+
x,
|
|
831
832
|
n,
|
|
832
833
|
{
|
|
833
|
-
[`${
|
|
834
|
-
[`${
|
|
835
|
-
[`${
|
|
836
|
-
[`${
|
|
837
|
-
[`${
|
|
838
|
-
[`${
|
|
839
|
-
[`${
|
|
834
|
+
[`${x}--disabled`]: o,
|
|
835
|
+
[`${x}--text`]: !!t,
|
|
836
|
+
[`${x}--cta-styling`]: i,
|
|
837
|
+
[`${x}--button-styling`]: !i,
|
|
838
|
+
[`${x}--button-styling--md`]: !i,
|
|
839
|
+
[`${x}--button-styling--secondary`]: !i,
|
|
840
|
+
[`${x}--button-styling--icon-only`]: !i && !t
|
|
840
841
|
}
|
|
841
|
-
])} ${
|
|
842
|
+
])} ${x}`,
|
|
842
843
|
"data-testid": e,
|
|
843
844
|
...l,
|
|
844
|
-
children: r ? /* @__PURE__ */ u(
|
|
845
|
+
children: r ? /* @__PURE__ */ u(gt, { "data-testid": `${e}-spinner`, size: "xs", disabled: o }) : /* @__PURE__ */ _(tr, { children: [
|
|
845
846
|
p === "left" && a,
|
|
846
847
|
t,
|
|
847
848
|
p === "right" && a
|
|
848
849
|
] })
|
|
849
850
|
}
|
|
850
851
|
);
|
|
851
|
-
function
|
|
852
|
+
function yt(e) {
|
|
852
853
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
853
854
|
}
|
|
854
|
-
var
|
|
855
|
+
var Fr = { exports: {} };
|
|
855
856
|
/*!
|
|
856
857
|
Copyright (c) 2018 Jed Watson.
|
|
857
858
|
Licensed under the MIT License (MIT), see
|
|
@@ -886,9 +887,9 @@ var jr = { exports: {} };
|
|
|
886
887
|
}
|
|
887
888
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
888
889
|
})();
|
|
889
|
-
})(
|
|
890
|
-
var
|
|
891
|
-
const
|
|
890
|
+
})(Fr);
|
|
891
|
+
var wt = Fr.exports;
|
|
892
|
+
const xt = /* @__PURE__ */ yt(wt), bt = {
|
|
892
893
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
893
894
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
894
895
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -896,26 +897,26 @@ const Ct = /* @__PURE__ */ $t(St), At = {
|
|
|
896
897
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
897
898
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
898
899
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
899
|
-
},
|
|
900
|
+
}, $t = xt.bind(bt), cr = "purpur-icon", St = "md", Ct = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), At = ({ content: e = "", title: n } = {}) => {
|
|
900
901
|
const a = [
|
|
901
902
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
902
903
|
{ name: "fill", value: "currentColor" },
|
|
903
904
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
904
905
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
905
906
|
], o = n ? `<title>${n}</title>` : "";
|
|
906
|
-
return `<svg ${
|
|
907
|
-
},
|
|
907
|
+
return `<svg ${Ct(a)}>${o}${e}</svg>`;
|
|
908
|
+
}, kt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Mr = ({
|
|
908
909
|
["data-testid"]: e,
|
|
909
910
|
svg: n,
|
|
910
911
|
allyTitle: a,
|
|
911
912
|
className: o,
|
|
912
|
-
size: p =
|
|
913
|
+
size: p = St,
|
|
913
914
|
...r
|
|
914
915
|
}) => {
|
|
915
|
-
const t =
|
|
916
|
-
content:
|
|
916
|
+
const t = At({
|
|
917
|
+
content: kt(n.svg),
|
|
917
918
|
title: a
|
|
918
|
-
}), i =
|
|
919
|
+
}), i = $t(o, cr, `${cr}--${p}`);
|
|
919
920
|
return /* @__PURE__ */ u(
|
|
920
921
|
"span",
|
|
921
922
|
{
|
|
@@ -927,18 +928,18 @@ const Ct = /* @__PURE__ */ $t(St), At = {
|
|
|
927
928
|
}
|
|
928
929
|
);
|
|
929
930
|
};
|
|
930
|
-
|
|
931
|
-
const
|
|
931
|
+
Mr.displayName = "Icon";
|
|
932
|
+
const Ot = {
|
|
932
933
|
name: "checkmark",
|
|
933
934
|
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>',
|
|
934
935
|
keywords: ["checkmark"],
|
|
935
936
|
category: "utility"
|
|
936
|
-
},
|
|
937
|
-
|
|
938
|
-
function
|
|
937
|
+
}, Er = (e) => /* @__PURE__ */ u(Mr, { ...e, svg: Ot });
|
|
938
|
+
Er.displayName = "IconCheckmark";
|
|
939
|
+
function Nt(e) {
|
|
939
940
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
940
941
|
}
|
|
941
|
-
var
|
|
942
|
+
var jr = { exports: {} };
|
|
942
943
|
/*!
|
|
943
944
|
Copyright (c) 2018 Jed Watson.
|
|
944
945
|
Licensed under the MIT License (MIT), see
|
|
@@ -973,9 +974,9 @@ var qr = { exports: {} };
|
|
|
973
974
|
}
|
|
974
975
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
975
976
|
})();
|
|
976
|
-
})(
|
|
977
|
-
var
|
|
978
|
-
const
|
|
977
|
+
})(jr);
|
|
978
|
+
var Bt = jr.exports;
|
|
979
|
+
const Ft = /* @__PURE__ */ Nt(Bt), L = {
|
|
979
980
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
980
981
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
981
982
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -990,7 +991,7 @@ const It = /* @__PURE__ */ Et(jt), U = {
|
|
|
990
991
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
991
992
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
992
993
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
993
|
-
},
|
|
994
|
+
}, Mt = {
|
|
994
995
|
PARAGRAPH100: "paragraph-100",
|
|
995
996
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
996
997
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -1001,51 +1002,51 @@ const It = /* @__PURE__ */ Et(jt), U = {
|
|
|
1001
1002
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1002
1003
|
OVERLINE100: "overline-100",
|
|
1003
1004
|
OVERLINE200: "overline-200"
|
|
1004
|
-
},
|
|
1005
|
+
}, R = "purpur-paragraph", ar = ({
|
|
1005
1006
|
["data-testid"]: e,
|
|
1006
1007
|
children: n,
|
|
1007
1008
|
className: a,
|
|
1008
1009
|
disabled: o,
|
|
1009
1010
|
enableHyphenation: p = !1,
|
|
1010
1011
|
negative: r = !1,
|
|
1011
|
-
variant: t =
|
|
1012
|
+
variant: t = Mt.PARAGRAPH100,
|
|
1012
1013
|
...i
|
|
1013
1014
|
}) => {
|
|
1014
|
-
const l =
|
|
1015
|
+
const l = Ft([
|
|
1015
1016
|
a,
|
|
1016
|
-
|
|
1017
|
-
|
|
1017
|
+
L[R],
|
|
1018
|
+
L[`${R}--${t}`],
|
|
1018
1019
|
{
|
|
1019
|
-
[
|
|
1020
|
-
[
|
|
1021
|
-
[
|
|
1020
|
+
[L[`${R}--hyphens`]]: p,
|
|
1021
|
+
[L[`${R}--disabled`]]: o,
|
|
1022
|
+
[L[`${R}--negative`]]: r
|
|
1022
1023
|
}
|
|
1023
1024
|
]);
|
|
1024
1025
|
return /* @__PURE__ */ u("p", { ...i, className: l, "data-testid": e, children: n });
|
|
1025
1026
|
};
|
|
1026
|
-
|
|
1027
|
-
const
|
|
1027
|
+
ar.displayName = "Paragraph";
|
|
1028
|
+
const Et = {
|
|
1028
1029
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
1029
1030
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
1030
|
-
},
|
|
1031
|
+
}, _r = h.bind(Et), fr = "purpur-card-feature-list", jt = ({
|
|
1031
1032
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1032
1033
|
listItems: n
|
|
1033
|
-
}) => n && n.length > 0 ? /* @__PURE__ */ u("ul", { className:
|
|
1034
|
+
}) => n && n.length > 0 ? /* @__PURE__ */ u("ul", { className: _r(fr), "data-testid": e, children: n.map((a) => /* @__PURE__ */ _(
|
|
1034
1035
|
"li",
|
|
1035
1036
|
{
|
|
1036
|
-
className:
|
|
1037
|
+
className: _r(`${fr}__list-item`),
|
|
1037
1038
|
"data-testid": `${e}-item`,
|
|
1038
1039
|
children: [
|
|
1039
|
-
/* @__PURE__ */ u(
|
|
1040
|
-
/* @__PURE__ */ u(
|
|
1040
|
+
/* @__PURE__ */ u(Er, { size: "xs" }),
|
|
1041
|
+
/* @__PURE__ */ u(ar, { children: a })
|
|
1041
1042
|
]
|
|
1042
1043
|
},
|
|
1043
1044
|
a
|
|
1044
1045
|
)) }) : null;
|
|
1045
|
-
function
|
|
1046
|
+
function It(e) {
|
|
1046
1047
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1047
1048
|
}
|
|
1048
|
-
var
|
|
1049
|
+
var Ir = { exports: {} };
|
|
1049
1050
|
/*!
|
|
1050
1051
|
Copyright (c) 2018 Jed Watson.
|
|
1051
1052
|
Licensed under the MIT License (MIT), see
|
|
@@ -1080,9 +1081,9 @@ var Zr = { exports: {} };
|
|
|
1080
1081
|
}
|
|
1081
1082
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1082
1083
|
})();
|
|
1083
|
-
})(
|
|
1084
|
-
var
|
|
1085
|
-
const
|
|
1084
|
+
})(Ir);
|
|
1085
|
+
var Gt = Ir.exports;
|
|
1086
|
+
const qt = /* @__PURE__ */ It(Gt), T = {
|
|
1086
1087
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1087
1088
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1088
1089
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1098,7 +1099,7 @@ const zt = /* @__PURE__ */ Lt(Ut), V = {
|
|
|
1098
1099
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1099
1100
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1100
1101
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1101
|
-
},
|
|
1102
|
+
}, Zt = {
|
|
1102
1103
|
TITLE100: "title-100",
|
|
1103
1104
|
TITLE200: "title-200",
|
|
1104
1105
|
TITLE300: "title-300",
|
|
@@ -1107,135 +1108,130 @@ const zt = /* @__PURE__ */ Lt(Ut), V = {
|
|
|
1107
1108
|
TITLE600: "title-600",
|
|
1108
1109
|
TITLE700: "title-700",
|
|
1109
1110
|
SUBSECTION100: "subsection-100"
|
|
1110
|
-
},
|
|
1111
|
+
}, D = "purpur-heading", Gr = ({
|
|
1111
1112
|
["data-testid"]: e,
|
|
1112
1113
|
children: n,
|
|
1113
1114
|
className: a = "",
|
|
1114
1115
|
enableHyphenation: o = !1,
|
|
1115
1116
|
negative: p = !1,
|
|
1116
1117
|
tag: r,
|
|
1117
|
-
variant: t =
|
|
1118
|
+
variant: t = Zt.TITLE100,
|
|
1118
1119
|
...i
|
|
1119
1120
|
}) => {
|
|
1120
|
-
const l = r, d =
|
|
1121
|
+
const l = r, d = qt([
|
|
1121
1122
|
a,
|
|
1122
|
-
|
|
1123
|
-
|
|
1123
|
+
T[D],
|
|
1124
|
+
T[`${D}--${t}`],
|
|
1124
1125
|
{
|
|
1125
|
-
[
|
|
1126
|
-
[
|
|
1126
|
+
[T[`${D}--hyphens`]]: o,
|
|
1127
|
+
[T[`${D}--negative`]]: p
|
|
1127
1128
|
}
|
|
1128
1129
|
]);
|
|
1129
1130
|
return /* @__PURE__ */ u(l, { ...i, className: d, "data-testid": e, children: n });
|
|
1130
1131
|
};
|
|
1131
|
-
|
|
1132
|
-
const
|
|
1132
|
+
Gr.displayName = "Heading";
|
|
1133
|
+
const Lt = {
|
|
1133
1134
|
"purpur-card-heading": "_purpur-card-heading_8heg4_1",
|
|
1134
1135
|
"purpur-card-heading__heading": "_purpur-card-heading__heading_8heg4_6",
|
|
1135
1136
|
"purpur-card-heading__icon": "_purpur-card-heading__icon_8heg4_11"
|
|
1136
|
-
},
|
|
1137
|
+
}, K = h.bind(Lt), Y = "purpur-card-heading", Rt = ({
|
|
1137
1138
|
["data-testid"]: e = "purpur-card-heading",
|
|
1138
1139
|
title: n,
|
|
1139
1140
|
icon: a,
|
|
1140
1141
|
children: o,
|
|
1141
1142
|
titleTag: p = "h2"
|
|
1142
|
-
}) => /* @__PURE__ */
|
|
1143
|
-
/* @__PURE__ */
|
|
1144
|
-
a && /* @__PURE__ */ u("div", { className:
|
|
1145
|
-
/* @__PURE__ */ u(
|
|
1143
|
+
}) => /* @__PURE__ */ _("div", { className: K(Y), "data-testid": e, children: [
|
|
1144
|
+
/* @__PURE__ */ _("div", { className: K(`${Y}__heading`), children: [
|
|
1145
|
+
a && /* @__PURE__ */ u("div", { className: K(`${Y}__icon`), children: a }),
|
|
1146
|
+
/* @__PURE__ */ u(Gr, { tag: p, variant: "title-100", children: n })
|
|
1146
1147
|
] }),
|
|
1147
1148
|
o
|
|
1148
|
-
] }),
|
|
1149
|
+
] }), Ut = {
|
|
1149
1150
|
"purpur-card-media": "_purpur-card-media_udc1o_1"
|
|
1150
|
-
},
|
|
1151
|
+
}, zt = h.bind(Ut), Pt = "purpur-card-media", Tt = ({
|
|
1151
1152
|
["data-testid"]: e = "purpur-card-media",
|
|
1152
1153
|
className: n,
|
|
1153
1154
|
children: a
|
|
1154
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
1155
|
+
}) => /* @__PURE__ */ u("div", { className: zt([Pt, n]), "data-testid": e, children: a }), Dt = {
|
|
1155
1156
|
"purpur-card-media-layout": "_purpur-card-media-layout_1yfvb_1"
|
|
1156
|
-
},
|
|
1157
|
+
}, Ht = h.bind(Dt), Vt = "purpur-card-media-layout", Wt = ({
|
|
1157
1158
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
1158
1159
|
className: n,
|
|
1159
1160
|
children: a
|
|
1160
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
1161
|
+
}) => /* @__PURE__ */ u("div", { className: Ht([Vt, n]), "data-testid": e, children: a }), Xt = {
|
|
1161
1162
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1162
|
-
},
|
|
1163
|
+
}, Kt = h.bind(Xt), Yt = "purpur-card-overline", Jt = ({
|
|
1163
1164
|
["data-testid"]: e = "purpur-card-overline",
|
|
1164
1165
|
overline: n
|
|
1165
|
-
}) => n ? /* @__PURE__ */ u(
|
|
1166
|
+
}) => n ? /* @__PURE__ */ u(ar, { className: Kt(Yt), "data-testid": e, children: n }) : null, Qt = {
|
|
1166
1167
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1167
1168
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1168
1169
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1169
1170
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1170
|
-
},
|
|
1171
|
+
}, ra = {
|
|
1171
1172
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1172
1173
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1173
1174
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
1174
1175
|
};
|
|
1175
|
-
function
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
for (var o in a) ({}).hasOwnProperty.call(a, o) && (e[o] = a[o]);
|
|
1180
|
-
}
|
|
1181
|
-
return e;
|
|
1182
|
-
}, E.apply(null, arguments);
|
|
1176
|
+
function gr(e, n) {
|
|
1177
|
+
if (typeof e == "function")
|
|
1178
|
+
return e(n);
|
|
1179
|
+
e != null && (e.current = n);
|
|
1183
1180
|
}
|
|
1184
|
-
function
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1181
|
+
function ea(...e) {
|
|
1182
|
+
return (n) => {
|
|
1183
|
+
let a = !1;
|
|
1184
|
+
const o = e.map((p) => {
|
|
1185
|
+
const r = gr(p, n);
|
|
1186
|
+
return !a && typeof r == "function" && (a = !0), r;
|
|
1187
|
+
});
|
|
1188
|
+
if (a)
|
|
1189
|
+
return () => {
|
|
1190
|
+
for (let p = 0; p < o.length; p++) {
|
|
1191
|
+
const r = o[p];
|
|
1192
|
+
typeof r == "function" ? r() : gr(e[p], null);
|
|
1193
|
+
}
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1191
1196
|
}
|
|
1192
|
-
|
|
1193
|
-
const { children: a, ...o } = e, p =
|
|
1197
|
+
var qr = c.forwardRef((e, n) => {
|
|
1198
|
+
const { children: a, ...o } = e, p = c.Children.toArray(a), r = p.find(aa);
|
|
1194
1199
|
if (r) {
|
|
1195
|
-
const t = r.props.children, i = p.map((l) => l === r ?
|
|
1196
|
-
return /* @__PURE__ */
|
|
1197
|
-
ref: n
|
|
1198
|
-
}), /* @__PURE__ */ Y(t) ? /* @__PURE__ */ br(t, void 0, i) : null);
|
|
1200
|
+
const t = r.props.children, i = p.map((l) => l === r ? c.Children.count(t) > 1 ? c.Children.only(null) : c.isValidElement(t) ? t.props.children : null : l);
|
|
1201
|
+
return /* @__PURE__ */ u(rr, { ...o, ref: n, children: c.isValidElement(t) ? c.cloneElement(t, void 0, i) : null });
|
|
1199
1202
|
}
|
|
1200
|
-
return /* @__PURE__ */
|
|
1201
|
-
ref: n
|
|
1202
|
-
}), a);
|
|
1203
|
+
return /* @__PURE__ */ u(rr, { ...o, ref: n, children: a });
|
|
1203
1204
|
});
|
|
1204
|
-
|
|
1205
|
-
|
|
1205
|
+
qr.displayName = "Slot";
|
|
1206
|
+
var rr = c.forwardRef((e, n) => {
|
|
1206
1207
|
const { children: a, ...o } = e;
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
ref
|
|
1210
|
-
}
|
|
1208
|
+
if (c.isValidElement(a)) {
|
|
1209
|
+
const p = na(a), r = ia(o, a.props);
|
|
1210
|
+
return a.type !== c.Fragment && (r.ref = n ? ea(n, p) : p), c.cloneElement(a, r);
|
|
1211
|
+
}
|
|
1212
|
+
return c.Children.count(a) > 1 ? c.Children.only(null) : null;
|
|
1211
1213
|
});
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
function
|
|
1215
|
-
return
|
|
1214
|
+
rr.displayName = "SlotClone";
|
|
1215
|
+
var ta = ({ children: e }) => /* @__PURE__ */ u(tr, { children: e });
|
|
1216
|
+
function aa(e) {
|
|
1217
|
+
return c.isValidElement(e) && e.type === ta;
|
|
1216
1218
|
}
|
|
1217
|
-
function
|
|
1218
|
-
const a = {
|
|
1219
|
-
...n
|
|
1220
|
-
};
|
|
1219
|
+
function ia(e, n) {
|
|
1220
|
+
const a = { ...n };
|
|
1221
1221
|
for (const o in n) {
|
|
1222
1222
|
const p = e[o], r = n[o];
|
|
1223
1223
|
/^on[A-Z]/.test(o) ? p && r ? a[o] = (...t) => {
|
|
1224
1224
|
r(...t), p(...t);
|
|
1225
|
-
} : p && (a[o] = p) : o === "style" ? a[o] = {
|
|
1226
|
-
...p,
|
|
1227
|
-
...r
|
|
1228
|
-
} : o === "className" && (a[o] = [
|
|
1229
|
-
p,
|
|
1230
|
-
r
|
|
1231
|
-
].filter(Boolean).join(" "));
|
|
1225
|
+
} : p && (a[o] = p) : o === "style" ? a[o] = { ...p, ...r } : o === "className" && (a[o] = [p, r].filter(Boolean).join(" "));
|
|
1232
1226
|
}
|
|
1233
|
-
return {
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1227
|
+
return { ...e, ...a };
|
|
1228
|
+
}
|
|
1229
|
+
function na(e) {
|
|
1230
|
+
var n, a;
|
|
1231
|
+
let o = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, p = o && "isReactWarning" in o && o.isReactWarning;
|
|
1232
|
+
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);
|
|
1237
1233
|
}
|
|
1238
|
-
|
|
1234
|
+
var oa = [
|
|
1239
1235
|
"a",
|
|
1240
1236
|
"button",
|
|
1241
1237
|
"div",
|
|
@@ -1252,41 +1248,43 @@ const sa = [
|
|
|
1252
1248
|
"span",
|
|
1253
1249
|
"svg",
|
|
1254
1250
|
"ul"
|
|
1255
|
-
],
|
|
1256
|
-
const a =
|
|
1257
|
-
const { asChild: r, ...t } = o, i = r ?
|
|
1258
|
-
return
|
|
1259
|
-
window[Symbol.for("radix-ui")] = !0;
|
|
1260
|
-
}, []), /* @__PURE__ */ D(i, E({}, t, {
|
|
1261
|
-
ref: p
|
|
1262
|
-
}));
|
|
1251
|
+
], pa = oa.reduce((e, n) => {
|
|
1252
|
+
const a = c.forwardRef((o, p) => {
|
|
1253
|
+
const { asChild: r, ...t } = o, i = r ? qr : n;
|
|
1254
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(i, { ...t, ref: p });
|
|
1263
1255
|
});
|
|
1264
|
-
return a.displayName = `Primitive.${n}`, {
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
}
|
|
1256
|
+
return a.displayName = `Primitive.${n}`, { ...e, [n]: a };
|
|
1257
|
+
}, {}), ua = "VisuallyHidden", Zr = c.forwardRef(
|
|
1258
|
+
(e, n) => /* @__PURE__ */ u(
|
|
1259
|
+
pa.span,
|
|
1260
|
+
{
|
|
1261
|
+
...e,
|
|
1262
|
+
ref: n,
|
|
1263
|
+
style: {
|
|
1264
|
+
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
1265
|
+
position: "absolute",
|
|
1266
|
+
border: 0,
|
|
1267
|
+
width: 1,
|
|
1268
|
+
height: 1,
|
|
1269
|
+
padding: 0,
|
|
1270
|
+
margin: -1,
|
|
1271
|
+
overflow: "hidden",
|
|
1272
|
+
clip: "rect(0, 0, 0, 0)",
|
|
1273
|
+
whiteSpace: "nowrap",
|
|
1274
|
+
wordWrap: "normal",
|
|
1275
|
+
...e.style
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
)
|
|
1279
|
+
);
|
|
1280
|
+
Zr.displayName = ua;
|
|
1281
|
+
var la = Zr;
|
|
1282
|
+
const hr = ({
|
|
1285
1283
|
asChild: e,
|
|
1286
1284
|
children: n,
|
|
1287
1285
|
className: a = "",
|
|
1288
1286
|
["data-testid"]: o
|
|
1289
|
-
}) => /* @__PURE__ */ u(
|
|
1287
|
+
}) => /* @__PURE__ */ u(la, { asChild: e, "data-testid": o, className: a, children: n }), mr = h.bind(ra), N = "purpur-card-trigger-item", sa = ({
|
|
1290
1288
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1291
1289
|
disabled: n = !1,
|
|
1292
1290
|
href: a,
|
|
@@ -1302,7 +1300,7 @@ const sa = [
|
|
|
1302
1300
|
"a",
|
|
1303
1301
|
{
|
|
1304
1302
|
"aria-disabled": n,
|
|
1305
|
-
className: `${
|
|
1303
|
+
className: `${mr([
|
|
1306
1304
|
N,
|
|
1307
1305
|
{
|
|
1308
1306
|
[`${N}--disabled`]: n
|
|
@@ -1312,14 +1310,14 @@ const sa = [
|
|
|
1312
1310
|
href: n ? void 0 : a,
|
|
1313
1311
|
tabIndex: n ? 0 : void 0,
|
|
1314
1312
|
onClick: r,
|
|
1315
|
-
children: /* @__PURE__ */ u(
|
|
1313
|
+
children: /* @__PURE__ */ u(hr, { children: p })
|
|
1316
1314
|
}
|
|
1317
1315
|
)
|
|
1318
1316
|
) : /* @__PURE__ */ u(
|
|
1319
1317
|
"button",
|
|
1320
1318
|
{
|
|
1321
1319
|
"aria-disabled": n,
|
|
1322
|
-
className: `${
|
|
1320
|
+
className: `${mr([
|
|
1323
1321
|
N,
|
|
1324
1322
|
`${N}--button`,
|
|
1325
1323
|
{
|
|
@@ -1329,10 +1327,10 @@ const sa = [
|
|
|
1329
1327
|
"data-testid": e,
|
|
1330
1328
|
type: "button",
|
|
1331
1329
|
onClick: r,
|
|
1332
|
-
children: /* @__PURE__ */ u(
|
|
1330
|
+
children: /* @__PURE__ */ u(hr, { children: p })
|
|
1333
1331
|
}
|
|
1334
1332
|
);
|
|
1335
|
-
},
|
|
1333
|
+
}, da = h.bind(Qt), J = "purpur-card-root", Lr = W(
|
|
1336
1334
|
({
|
|
1337
1335
|
["data-testid"]: e = "purpur-card-root",
|
|
1338
1336
|
children: n,
|
|
@@ -1344,19 +1342,19 @@ const sa = [
|
|
|
1344
1342
|
screenReaderText: i,
|
|
1345
1343
|
variant: l,
|
|
1346
1344
|
...d
|
|
1347
|
-
},
|
|
1348
|
-
const
|
|
1349
|
-
|
|
1345
|
+
}, m) => {
|
|
1346
|
+
const b = da([
|
|
1347
|
+
J,
|
|
1350
1348
|
a,
|
|
1351
1349
|
{
|
|
1352
|
-
[`${
|
|
1353
|
-
[`${
|
|
1350
|
+
[`${J}--${l}`]: l,
|
|
1351
|
+
[`${J}--full-height`]: p
|
|
1354
1352
|
}
|
|
1355
1353
|
]);
|
|
1356
|
-
return /* @__PURE__ */
|
|
1354
|
+
return /* @__PURE__ */ _("div", { className: b, "data-testid": e, ref: m, ...d, children: [
|
|
1357
1355
|
n,
|
|
1358
1356
|
(t || r) && i && /* @__PURE__ */ u(
|
|
1359
|
-
|
|
1357
|
+
sa,
|
|
1360
1358
|
{
|
|
1361
1359
|
disabled: o,
|
|
1362
1360
|
href: r,
|
|
@@ -1367,32 +1365,32 @@ const sa = [
|
|
|
1367
1365
|
] });
|
|
1368
1366
|
}
|
|
1369
1367
|
);
|
|
1370
|
-
|
|
1371
|
-
const
|
|
1372
|
-
const o =
|
|
1373
|
-
|
|
1368
|
+
Lr.displayName = "CardRoot";
|
|
1369
|
+
const vr = h.bind(Fe), Q = "purpur-card", y = ({ children: e, className: n, ...a }) => {
|
|
1370
|
+
const o = vr([
|
|
1371
|
+
Q,
|
|
1374
1372
|
n,
|
|
1375
1373
|
{
|
|
1376
|
-
[`${
|
|
1377
|
-
[`${
|
|
1374
|
+
[`${Q}--is-interactive`]: a.onClick || a.href,
|
|
1375
|
+
[`${Q}--disabled`]: a.disabled
|
|
1378
1376
|
}
|
|
1379
1377
|
]);
|
|
1380
|
-
return /* @__PURE__ */ u(
|
|
1378
|
+
return /* @__PURE__ */ u(Lr, { className: vr(o), ...a, children: e });
|
|
1381
1379
|
};
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
function
|
|
1380
|
+
y.Badge = tt;
|
|
1381
|
+
y.Content = ot;
|
|
1382
|
+
y.ContentContainer = lt;
|
|
1383
|
+
y.Cta = vt;
|
|
1384
|
+
y.FeatureList = jt;
|
|
1385
|
+
y.Overline = Jt;
|
|
1386
|
+
y.Heading = Rt;
|
|
1387
|
+
y.Media = Tt;
|
|
1388
|
+
y.MediaLayout = Wt;
|
|
1389
|
+
y.displayName = "Card";
|
|
1390
|
+
function ca(e) {
|
|
1393
1391
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1394
1392
|
}
|
|
1395
|
-
var
|
|
1393
|
+
var Rr = { exports: {} };
|
|
1396
1394
|
/*!
|
|
1397
1395
|
Copyright (c) 2018 Jed Watson.
|
|
1398
1396
|
Licensed under the MIT License (MIT), see
|
|
@@ -1427,9 +1425,9 @@ var Pr = { exports: {} };
|
|
|
1427
1425
|
}
|
|
1428
1426
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1429
1427
|
})();
|
|
1430
|
-
})(
|
|
1431
|
-
var
|
|
1432
|
-
const
|
|
1428
|
+
})(Rr);
|
|
1429
|
+
var _a = Rr.exports;
|
|
1430
|
+
const fa = /* @__PURE__ */ ca(_a), ga = {
|
|
1433
1431
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1434
1432
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1435
1433
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1437,26 +1435,26 @@ const va = /* @__PURE__ */ ha(ma), ya = {
|
|
|
1437
1435
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1438
1436
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1439
1437
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1440
|
-
},
|
|
1438
|
+
}, ha = fa.bind(ga), yr = "purpur-icon", ma = "md", va = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), ya = ({ content: e = "", title: n } = {}) => {
|
|
1441
1439
|
const a = [
|
|
1442
1440
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1443
1441
|
{ name: "fill", value: "currentColor" },
|
|
1444
1442
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1445
1443
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1446
1444
|
], o = n ? `<title>${n}</title>` : "";
|
|
1447
|
-
return `<svg ${
|
|
1448
|
-
},
|
|
1445
|
+
return `<svg ${va(a)}>${o}${e}</svg>`;
|
|
1446
|
+
}, wa = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), er = ({
|
|
1449
1447
|
["data-testid"]: e,
|
|
1450
1448
|
svg: n,
|
|
1451
1449
|
allyTitle: a,
|
|
1452
1450
|
className: o,
|
|
1453
|
-
size: p =
|
|
1451
|
+
size: p = ma,
|
|
1454
1452
|
...r
|
|
1455
1453
|
}) => {
|
|
1456
|
-
const t =
|
|
1457
|
-
content:
|
|
1454
|
+
const t = ya({
|
|
1455
|
+
content: wa(n.svg),
|
|
1458
1456
|
title: a
|
|
1459
|
-
}), i =
|
|
1457
|
+
}), i = ha(o, yr, `${yr}--${p}`);
|
|
1460
1458
|
return /* @__PURE__ */ u(
|
|
1461
1459
|
"span",
|
|
1462
1460
|
{
|
|
@@ -1468,32 +1466,32 @@ const va = /* @__PURE__ */ ha(ma), ya = {
|
|
|
1468
1466
|
}
|
|
1469
1467
|
);
|
|
1470
1468
|
};
|
|
1471
|
-
|
|
1472
|
-
const
|
|
1469
|
+
er.displayName = "Icon";
|
|
1470
|
+
const xa = {
|
|
1473
1471
|
name: "arrow-left",
|
|
1474
1472
|
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>',
|
|
1475
1473
|
keywords: ["arrow-left"],
|
|
1476
1474
|
category: "utility"
|
|
1477
|
-
},
|
|
1475
|
+
}, ba = {
|
|
1478
1476
|
name: "arrow-right",
|
|
1479
1477
|
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>',
|
|
1480
1478
|
keywords: ["arrow-right"],
|
|
1481
1479
|
category: "utility"
|
|
1482
|
-
},
|
|
1480
|
+
}, $a = {
|
|
1483
1481
|
name: "external",
|
|
1484
1482
|
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>',
|
|
1485
1483
|
keywords: ["external"],
|
|
1486
1484
|
category: "media"
|
|
1487
|
-
},
|
|
1485
|
+
}, Sa = {
|
|
1488
1486
|
name: "phone",
|
|
1489
1487
|
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>',
|
|
1490
1488
|
keywords: ["phone"],
|
|
1491
1489
|
category: "device"
|
|
1492
1490
|
};
|
|
1493
|
-
function
|
|
1491
|
+
function Ca(e) {
|
|
1494
1492
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1495
1493
|
}
|
|
1496
|
-
var
|
|
1494
|
+
var Ur = { exports: {} };
|
|
1497
1495
|
/*!
|
|
1498
1496
|
Copyright (c) 2018 Jed Watson.
|
|
1499
1497
|
Licensed under the MIT License (MIT), see
|
|
@@ -1528,9 +1526,9 @@ var Rr = { exports: {} };
|
|
|
1528
1526
|
}
|
|
1529
1527
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1530
1528
|
})();
|
|
1531
|
-
})(
|
|
1532
|
-
var
|
|
1533
|
-
const
|
|
1529
|
+
})(Ur);
|
|
1530
|
+
var Aa = Ur.exports;
|
|
1531
|
+
const ka = /* @__PURE__ */ Ca(Aa), Oa = {
|
|
1534
1532
|
"purpur-cta-link": "_purpur-cta-link_1e75l_1",
|
|
1535
1533
|
"purpur-cta-link--xs": "_purpur-cta-link--xs_1e75l_33",
|
|
1536
1534
|
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1e75l_36",
|
|
@@ -1545,12 +1543,12 @@ const Fa = /* @__PURE__ */ Na(Ba), Ma = {
|
|
|
1545
1543
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
|
|
1546
1544
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
|
|
1547
1545
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
|
|
1548
|
-
},
|
|
1549
|
-
forward:
|
|
1550
|
-
external:
|
|
1551
|
-
back:
|
|
1552
|
-
phone:
|
|
1553
|
-
},
|
|
1546
|
+
}, Na = ka.bind(Oa), M = "purpur-cta-link", Ba = {
|
|
1547
|
+
forward: ba,
|
|
1548
|
+
external: $a,
|
|
1549
|
+
back: xa,
|
|
1550
|
+
phone: Sa
|
|
1551
|
+
}, zr = W(
|
|
1554
1552
|
({
|
|
1555
1553
|
children: e,
|
|
1556
1554
|
className: n,
|
|
@@ -1562,9 +1560,9 @@ const Fa = /* @__PURE__ */ Na(Ba), Ma = {
|
|
|
1562
1560
|
size: i = "md",
|
|
1563
1561
|
variant: l,
|
|
1564
1562
|
icon: d = "forward",
|
|
1565
|
-
...
|
|
1566
|
-
},
|
|
1567
|
-
const B =
|
|
1563
|
+
...m
|
|
1564
|
+
}, b) => {
|
|
1565
|
+
const B = Na(
|
|
1568
1566
|
[
|
|
1569
1567
|
n,
|
|
1570
1568
|
M,
|
|
@@ -1576,23 +1574,23 @@ const Fa = /* @__PURE__ */ Na(Ba), Ma = {
|
|
|
1576
1574
|
[`${M}--negative`]: t,
|
|
1577
1575
|
[`${M}--full-width`]: o
|
|
1578
1576
|
}
|
|
1579
|
-
), C =
|
|
1580
|
-
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(
|
|
1577
|
+
), C = Ba[d], f = /* @__PURE__ */ _(tr, { children: [
|
|
1578
|
+
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(er, { svg: C, size: i === "lg" ? "sm" : "xs" }),
|
|
1581
1579
|
(!p || p && !r) && e,
|
|
1582
|
-
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(
|
|
1580
|
+
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(er, { svg: C, size: i === "lg" ? "sm" : "xs" })
|
|
1583
1581
|
] }), F = {
|
|
1584
|
-
...
|
|
1582
|
+
...m,
|
|
1585
1583
|
className: B,
|
|
1586
1584
|
"data-testid": a
|
|
1587
1585
|
};
|
|
1588
|
-
return "href" in
|
|
1586
|
+
return "href" in m && m.href ? /* @__PURE__ */ u("a", { ...F, ref: b, children: f }) : /* @__PURE__ */ u("span", { ...F, ref: b, children: f });
|
|
1589
1587
|
}
|
|
1590
1588
|
);
|
|
1591
|
-
|
|
1592
|
-
function
|
|
1589
|
+
zr.displayName = "CtaLink";
|
|
1590
|
+
function Fa(e) {
|
|
1593
1591
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1594
1592
|
}
|
|
1595
|
-
var
|
|
1593
|
+
var Pr = { exports: {} };
|
|
1596
1594
|
/*!
|
|
1597
1595
|
Copyright (c) 2018 Jed Watson.
|
|
1598
1596
|
Licensed under the MIT License (MIT), see
|
|
@@ -1627,9 +1625,9 @@ var Dr = { exports: {} };
|
|
|
1627
1625
|
}
|
|
1628
1626
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1629
1627
|
})();
|
|
1630
|
-
})(
|
|
1631
|
-
var
|
|
1632
|
-
const
|
|
1628
|
+
})(Pr);
|
|
1629
|
+
var Ma = Pr.exports;
|
|
1630
|
+
const Ea = /* @__PURE__ */ Fa(Ma), H = {
|
|
1633
1631
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1634
1632
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1635
1633
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1645,7 +1643,7 @@ const qa = /* @__PURE__ */ Ia(Ga), X = {
|
|
|
1645
1643
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1646
1644
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1647
1645
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1648
|
-
},
|
|
1646
|
+
}, ja = {
|
|
1649
1647
|
TITLE100: "title-100",
|
|
1650
1648
|
TITLE200: "title-200",
|
|
1651
1649
|
TITLE300: "title-300",
|
|
@@ -1654,32 +1652,32 @@ const qa = /* @__PURE__ */ Ia(Ga), X = {
|
|
|
1654
1652
|
TITLE600: "title-600",
|
|
1655
1653
|
TITLE700: "title-700",
|
|
1656
1654
|
SUBSECTION100: "subsection-100"
|
|
1657
|
-
},
|
|
1655
|
+
}, V = "purpur-heading", Tr = ({
|
|
1658
1656
|
["data-testid"]: e,
|
|
1659
1657
|
children: n,
|
|
1660
1658
|
className: a = "",
|
|
1661
1659
|
enableHyphenation: o = !1,
|
|
1662
1660
|
negative: p = !1,
|
|
1663
1661
|
tag: r,
|
|
1664
|
-
variant: t =
|
|
1662
|
+
variant: t = ja.TITLE100,
|
|
1665
1663
|
...i
|
|
1666
1664
|
}) => {
|
|
1667
|
-
const l = r, d =
|
|
1665
|
+
const l = r, d = Ea([
|
|
1668
1666
|
a,
|
|
1669
|
-
|
|
1670
|
-
|
|
1667
|
+
H[V],
|
|
1668
|
+
H[`${V}--${t}`],
|
|
1671
1669
|
{
|
|
1672
|
-
[
|
|
1673
|
-
[
|
|
1670
|
+
[H[`${V}--hyphens`]]: o,
|
|
1671
|
+
[H[`${V}--negative`]]: p
|
|
1674
1672
|
}
|
|
1675
1673
|
]);
|
|
1676
1674
|
return /* @__PURE__ */ u(l, { ...i, className: d, "data-testid": e, children: n });
|
|
1677
1675
|
};
|
|
1678
|
-
|
|
1679
|
-
function
|
|
1676
|
+
Tr.displayName = "Heading";
|
|
1677
|
+
function Ia(e) {
|
|
1680
1678
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1681
1679
|
}
|
|
1682
|
-
var
|
|
1680
|
+
var Dr = { exports: {} };
|
|
1683
1681
|
/*!
|
|
1684
1682
|
Copyright (c) 2018 Jed Watson.
|
|
1685
1683
|
Licensed under the MIT License (MIT), see
|
|
@@ -1714,9 +1712,9 @@ var Vr = { exports: {} };
|
|
|
1714
1712
|
}
|
|
1715
1713
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1716
1714
|
})();
|
|
1717
|
-
})(
|
|
1718
|
-
var
|
|
1719
|
-
const
|
|
1715
|
+
})(Dr);
|
|
1716
|
+
var Ga = Dr.exports;
|
|
1717
|
+
const qa = /* @__PURE__ */ Ia(Ga), U = {
|
|
1720
1718
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1721
1719
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1722
1720
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1731,7 +1729,7 @@ const za = /* @__PURE__ */ La(Ua), P = {
|
|
|
1731
1729
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1732
1730
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1733
1731
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1734
|
-
},
|
|
1732
|
+
}, Za = {
|
|
1735
1733
|
PARAGRAPH100: "paragraph-100",
|
|
1736
1734
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
1737
1735
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -1742,33 +1740,33 @@ const za = /* @__PURE__ */ La(Ua), P = {
|
|
|
1742
1740
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1743
1741
|
OVERLINE100: "overline-100",
|
|
1744
1742
|
OVERLINE200: "overline-200"
|
|
1745
|
-
},
|
|
1743
|
+
}, z = "purpur-paragraph", Hr = ({
|
|
1746
1744
|
["data-testid"]: e,
|
|
1747
1745
|
children: n,
|
|
1748
1746
|
className: a,
|
|
1749
1747
|
disabled: o,
|
|
1750
1748
|
enableHyphenation: p = !1,
|
|
1751
1749
|
negative: r = !1,
|
|
1752
|
-
variant: t =
|
|
1750
|
+
variant: t = Za.PARAGRAPH100,
|
|
1753
1751
|
...i
|
|
1754
1752
|
}) => {
|
|
1755
|
-
const l =
|
|
1753
|
+
const l = qa([
|
|
1756
1754
|
a,
|
|
1757
|
-
|
|
1758
|
-
|
|
1755
|
+
U[z],
|
|
1756
|
+
U[`${z}--${t}`],
|
|
1759
1757
|
{
|
|
1760
|
-
[
|
|
1761
|
-
[
|
|
1762
|
-
[
|
|
1758
|
+
[U[`${z}--hyphens`]]: p,
|
|
1759
|
+
[U[`${z}--disabled`]]: o,
|
|
1760
|
+
[U[`${z}--negative`]]: r
|
|
1763
1761
|
}
|
|
1764
1762
|
]);
|
|
1765
1763
|
return /* @__PURE__ */ u("p", { ...i, className: l, "data-testid": e, children: n });
|
|
1766
1764
|
};
|
|
1767
|
-
|
|
1768
|
-
function
|
|
1765
|
+
Hr.displayName = "Paragraph";
|
|
1766
|
+
function La(e) {
|
|
1769
1767
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1770
1768
|
}
|
|
1771
|
-
var
|
|
1769
|
+
var Vr = { exports: {} };
|
|
1772
1770
|
/*!
|
|
1773
1771
|
Copyright (c) 2018 Jed Watson.
|
|
1774
1772
|
Licensed under the MIT License (MIT), see
|
|
@@ -1803,9 +1801,9 @@ var Xr = { exports: {} };
|
|
|
1803
1801
|
}
|
|
1804
1802
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1805
1803
|
})();
|
|
1806
|
-
})(
|
|
1807
|
-
var
|
|
1808
|
-
const
|
|
1804
|
+
})(Vr);
|
|
1805
|
+
var Ra = Vr.exports;
|
|
1806
|
+
const Ua = /* @__PURE__ */ La(Ra), za = {
|
|
1809
1807
|
"purpur-promotion-card": "_purpur-promotion-card_1cvjr_1",
|
|
1810
1808
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1cvjr_8",
|
|
1811
1809
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_1cvjr_8",
|
|
@@ -1826,19 +1824,19 @@ const Da = /* @__PURE__ */ Ra(Ta), Ha = {
|
|
|
1826
1824
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1cvjr_149",
|
|
1827
1825
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1cvjr_152",
|
|
1828
1826
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1cvjr_153"
|
|
1829
|
-
},
|
|
1827
|
+
}, Qa = ["primary", "secondary", "quaternary"], Pa = {
|
|
1830
1828
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1831
1829
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1832
1830
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1833
|
-
},
|
|
1831
|
+
}, Ta = {
|
|
1834
1832
|
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>')`,
|
|
1835
1833
|
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>')`,
|
|
1836
1834
|
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>')`
|
|
1837
|
-
},
|
|
1835
|
+
}, Da = {
|
|
1838
1836
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1839
1837
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1840
1838
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1841
|
-
},
|
|
1839
|
+
}, g = Ua.bind(za), s = "purpur-promotion-card", Ha = ({
|
|
1842
1840
|
["data-testid"]: e,
|
|
1843
1841
|
variant: n = "primary",
|
|
1844
1842
|
badgeText: a,
|
|
@@ -1849,97 +1847,97 @@ const Da = /* @__PURE__ */ Ra(Ta), Ha = {
|
|
|
1849
1847
|
enableTitleHyphenation: i = !1,
|
|
1850
1848
|
className: l,
|
|
1851
1849
|
actions: d,
|
|
1852
|
-
children:
|
|
1853
|
-
style:
|
|
1850
|
+
children: m,
|
|
1851
|
+
style: b,
|
|
1854
1852
|
alignment: B = "space-between",
|
|
1855
1853
|
additionalText: C,
|
|
1856
|
-
...
|
|
1854
|
+
...f
|
|
1857
1855
|
}, F) => {
|
|
1858
|
-
let A =
|
|
1859
|
-
if ("decorativeImage" in
|
|
1860
|
-
const { hasGradient:
|
|
1861
|
-
|
|
1862
|
-
} else if ("productImage" in
|
|
1863
|
-
const { hasGradient:
|
|
1864
|
-
|
|
1865
|
-
} else if ("hasGradient" in
|
|
1866
|
-
const { hasGradient:
|
|
1867
|
-
|
|
1856
|
+
let A = f, v, P;
|
|
1857
|
+
if ("decorativeImage" in f) {
|
|
1858
|
+
const { hasGradient: w, decorativeImage: k, ...E } = f;
|
|
1859
|
+
v = k, P = w, A = E;
|
|
1860
|
+
} else if ("productImage" in f) {
|
|
1861
|
+
const { hasGradient: w, productImage: k, ...E } = f;
|
|
1862
|
+
v = k, P = w, A = E;
|
|
1863
|
+
} else if ("hasGradient" in f) {
|
|
1864
|
+
const { hasGradient: w, ...k } = f;
|
|
1865
|
+
P = w, A = k;
|
|
1868
1866
|
}
|
|
1869
|
-
const
|
|
1870
|
-
"--promotion-card-background":
|
|
1871
|
-
"--promotion-card-color":
|
|
1872
|
-
"--promotion-card-background-image":
|
|
1867
|
+
const Wr = {
|
|
1868
|
+
"--promotion-card-background": Pa[n],
|
|
1869
|
+
"--promotion-card-color": Da[n],
|
|
1870
|
+
"--promotion-card-background-image": Ta[n]
|
|
1873
1871
|
};
|
|
1874
|
-
return /* @__PURE__ */ u(
|
|
1872
|
+
return /* @__PURE__ */ u(y, { ref: F, className: g(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1875
1873
|
"div",
|
|
1876
1874
|
{
|
|
1877
1875
|
"data-testid": e,
|
|
1878
1876
|
style: {
|
|
1879
|
-
...
|
|
1880
|
-
...
|
|
1877
|
+
...Wr,
|
|
1878
|
+
...b
|
|
1881
1879
|
},
|
|
1882
|
-
className:
|
|
1880
|
+
className: g([
|
|
1883
1881
|
l,
|
|
1884
1882
|
s,
|
|
1885
1883
|
`${s}--${n}`,
|
|
1886
1884
|
{
|
|
1887
|
-
[`${s}--with-image`]:
|
|
1888
|
-
[`${s}--without-image`]: !
|
|
1885
|
+
[`${s}--with-image`]: v,
|
|
1886
|
+
[`${s}--without-image`]: !v
|
|
1889
1887
|
}
|
|
1890
1888
|
]),
|
|
1891
1889
|
...A,
|
|
1892
1890
|
children: [
|
|
1893
|
-
/* @__PURE__ */
|
|
1891
|
+
/* @__PURE__ */ _(
|
|
1894
1892
|
"div",
|
|
1895
1893
|
{
|
|
1896
|
-
className:
|
|
1894
|
+
className: g([
|
|
1897
1895
|
`${s}__content`,
|
|
1898
1896
|
{
|
|
1899
|
-
[`${s}__content--with-image`]:
|
|
1900
|
-
[`${s}__content--without-image`]: !
|
|
1897
|
+
[`${s}__content--with-image`]: v,
|
|
1898
|
+
[`${s}__content--without-image`]: !v
|
|
1901
1899
|
}
|
|
1902
1900
|
]),
|
|
1903
1901
|
children: [
|
|
1904
|
-
a && /* @__PURE__ */ u("div", { "data-testid": "badgeWrapper", className:
|
|
1902
|
+
a && /* @__PURE__ */ u("div", { "data-testid": "badgeWrapper", className: g(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(ge, { variant: n === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1905
1903
|
o && o,
|
|
1906
1904
|
a
|
|
1907
1905
|
] }) }),
|
|
1908
|
-
/* @__PURE__ */
|
|
1906
|
+
/* @__PURE__ */ _(
|
|
1909
1907
|
"div",
|
|
1910
1908
|
{
|
|
1911
|
-
className:
|
|
1909
|
+
className: g(
|
|
1912
1910
|
`${s}__main-content`,
|
|
1913
1911
|
`${s}__main-content--${B}`
|
|
1914
1912
|
),
|
|
1915
1913
|
children: [
|
|
1916
1914
|
/* @__PURE__ */ u(
|
|
1917
|
-
|
|
1915
|
+
Tr,
|
|
1918
1916
|
{
|
|
1919
1917
|
tag: r,
|
|
1920
1918
|
variant: t,
|
|
1921
1919
|
enableHyphenation: i,
|
|
1922
|
-
className:
|
|
1920
|
+
className: g(`${s}__heading`),
|
|
1923
1921
|
children: p
|
|
1924
1922
|
}
|
|
1925
1923
|
),
|
|
1926
|
-
/* @__PURE__ */
|
|
1927
|
-
/* @__PURE__ */ u("div", { className:
|
|
1928
|
-
d && d.length > 0 && /* @__PURE__ */ u("div", { className:
|
|
1929
|
-
const
|
|
1930
|
-
variant:
|
|
1924
|
+
/* @__PURE__ */ _("div", { className: g(`${s}__body`), children: [
|
|
1925
|
+
/* @__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, ...k }, E) => {
|
|
1927
|
+
const j = {
|
|
1928
|
+
variant: E === 0 ? "primary" : "secondary",
|
|
1931
1929
|
negative: n === "primary",
|
|
1932
1930
|
...k,
|
|
1933
|
-
children:
|
|
1931
|
+
children: w
|
|
1934
1932
|
};
|
|
1935
|
-
return
|
|
1933
|
+
return Va(j) ? /* @__PURE__ */ u(zr, { ...j }, w) : "onClick" in j && !("href" in j) ? /* @__PURE__ */ u(Cr, { ...j }, w) : null;
|
|
1936
1934
|
}) }),
|
|
1937
1935
|
C && /* @__PURE__ */ u(
|
|
1938
|
-
|
|
1936
|
+
Hr,
|
|
1939
1937
|
{
|
|
1940
1938
|
negative: !0,
|
|
1941
1939
|
variant: "additional-100",
|
|
1942
|
-
className:
|
|
1940
|
+
className: g(`${s}__additional-text`),
|
|
1943
1941
|
children: C
|
|
1944
1942
|
}
|
|
1945
1943
|
)
|
|
@@ -1950,22 +1948,22 @@ const Da = /* @__PURE__ */ Ra(Ta), Ha = {
|
|
|
1950
1948
|
]
|
|
1951
1949
|
}
|
|
1952
1950
|
),
|
|
1953
|
-
|
|
1951
|
+
v && /* @__PURE__ */ _(
|
|
1954
1952
|
"div",
|
|
1955
1953
|
{
|
|
1956
|
-
className:
|
|
1954
|
+
className: g([
|
|
1957
1955
|
`${s}__image-wrapper`,
|
|
1958
1956
|
{
|
|
1959
|
-
[`${s}__image-wrapper--product`]: "productImage" in
|
|
1960
|
-
[`${s}__image-wrapper--decorative`]: "decorativeImage" in
|
|
1957
|
+
[`${s}__image-wrapper--product`]: "productImage" in f,
|
|
1958
|
+
[`${s}__image-wrapper--decorative`]: "decorativeImage" in f
|
|
1961
1959
|
}
|
|
1962
1960
|
]),
|
|
1963
1961
|
children: [
|
|
1964
|
-
|
|
1965
|
-
|
|
1962
|
+
v,
|
|
1963
|
+
P && /* @__PURE__ */ u(
|
|
1966
1964
|
"div",
|
|
1967
1965
|
{
|
|
1968
|
-
className:
|
|
1966
|
+
className: g(`${s}__image-gradient`),
|
|
1969
1967
|
"data-testid": "promotion-card-gradient"
|
|
1970
1968
|
}
|
|
1971
1969
|
)
|
|
@@ -1975,10 +1973,10 @@ const Da = /* @__PURE__ */ Ra(Ta), Ha = {
|
|
|
1975
1973
|
]
|
|
1976
1974
|
}
|
|
1977
1975
|
) });
|
|
1978
|
-
},
|
|
1979
|
-
|
|
1976
|
+
}, Va = (e) => "href" in e, Wa = W(Ha);
|
|
1977
|
+
Wa.displayName = "PromotionCard";
|
|
1980
1978
|
export {
|
|
1981
|
-
|
|
1982
|
-
|
|
1979
|
+
Wa as PromotionCard,
|
|
1980
|
+
Qa as promotionCardVariants
|
|
1983
1981
|
};
|
|
1984
1982
|
//# sourceMappingURL=promotion-card.es.js.map
|