@purpurds/promotion-card 5.33.0 → 5.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +6 -6
- package/dist/metadata.js +9 -0
- package/dist/promotion-card.cjs.js +16 -16
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.es.js +200 -199
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +14 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _, jsx as l, Fragment as yr } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as $, Children as T, isValidElement as K, createElement as H, cloneElement as wr, useEffect as
|
|
2
|
+
import { forwardRef as $, Children as T, isValidElement as K, createElement as H, cloneElement as wr, useEffect as Wr, Fragment as Xr } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function Kr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
7
|
var xr = { exports: {} };
|
|
@@ -40,8 +40,8 @@ var xr = { exports: {} };
|
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
42
|
})(xr);
|
|
43
|
-
var
|
|
44
|
-
const
|
|
43
|
+
var Yr = xr.exports;
|
|
44
|
+
const Jr = /* @__PURE__ */ Kr(Yr), Qr = {
|
|
45
45
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
46
46
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
47
47
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -49,61 +49,61 @@ const Yr = /* @__PURE__ */ Xr(Kr), Jr = {
|
|
|
49
49
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
50
50
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
51
51
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
52
|
-
},
|
|
52
|
+
}, re = {
|
|
53
53
|
name: "alert",
|
|
54
54
|
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>',
|
|
55
55
|
keywords: ["alert"],
|
|
56
56
|
category: "status"
|
|
57
|
-
},
|
|
57
|
+
}, ee = {
|
|
58
58
|
name: "check-circle",
|
|
59
59
|
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>',
|
|
60
60
|
keywords: ["check-circle"],
|
|
61
61
|
category: "status"
|
|
62
|
-
},
|
|
62
|
+
}, te = {
|
|
63
63
|
name: "error",
|
|
64
64
|
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>',
|
|
65
65
|
keywords: ["error"],
|
|
66
66
|
category: "status"
|
|
67
|
-
},
|
|
67
|
+
}, ae = {
|
|
68
68
|
name: "info",
|
|
69
69
|
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>',
|
|
70
70
|
keywords: ["info"],
|
|
71
71
|
category: "status"
|
|
72
|
-
},
|
|
72
|
+
}, ie = {
|
|
73
73
|
name: "offering",
|
|
74
74
|
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>',
|
|
75
75
|
keywords: ["offering"],
|
|
76
76
|
category: "other"
|
|
77
|
-
},
|
|
77
|
+
}, oe = {
|
|
78
78
|
name: "question",
|
|
79
79
|
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>',
|
|
80
80
|
keywords: ["question"],
|
|
81
81
|
category: "status"
|
|
82
|
-
},
|
|
82
|
+
}, ne = {
|
|
83
83
|
name: "tag",
|
|
84
84
|
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>',
|
|
85
85
|
keywords: ["tag"],
|
|
86
86
|
category: "other"
|
|
87
|
-
},
|
|
87
|
+
}, pe = Jr.bind(Qr), ar = "purpur-icon", le = "md", ue = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), se = ({ content: e = "", title: i } = {}) => {
|
|
88
88
|
const a = [
|
|
89
89
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
90
90
|
{ name: "fill", value: "currentColor" },
|
|
91
91
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
92
92
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
93
93
|
], n = i ? `<title>${i}</title>` : "";
|
|
94
|
-
return `<svg ${
|
|
95
|
-
},
|
|
94
|
+
return `<svg ${ue(a)}>${n}${e}</svg>`;
|
|
95
|
+
}, de = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), br = ({
|
|
96
96
|
["data-testid"]: e,
|
|
97
97
|
svg: i,
|
|
98
98
|
allyTitle: a,
|
|
99
99
|
className: n,
|
|
100
|
-
size: p =
|
|
100
|
+
size: p = le,
|
|
101
101
|
...r
|
|
102
102
|
}) => {
|
|
103
|
-
const t =
|
|
104
|
-
content:
|
|
103
|
+
const t = se({
|
|
104
|
+
content: de(i.svg),
|
|
105
105
|
title: a
|
|
106
|
-
}), o =
|
|
106
|
+
}), o = pe(n, ar, `${ar}--${p}`);
|
|
107
107
|
return /* @__PURE__ */ l(
|
|
108
108
|
"span",
|
|
109
109
|
{
|
|
@@ -116,7 +116,7 @@ const Yr = /* @__PURE__ */ Xr(Kr), Jr = {
|
|
|
116
116
|
);
|
|
117
117
|
};
|
|
118
118
|
br.displayName = "Icon";
|
|
119
|
-
function
|
|
119
|
+
function ce(e) {
|
|
120
120
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
121
121
|
}
|
|
122
122
|
var $r = { exports: {} };
|
|
@@ -155,8 +155,8 @@ var $r = { exports: {} };
|
|
|
155
155
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
156
156
|
})();
|
|
157
157
|
})($r);
|
|
158
|
-
var
|
|
159
|
-
const
|
|
158
|
+
var _e = $r.exports;
|
|
159
|
+
const fe = /* @__PURE__ */ ce(_e), ir = {
|
|
160
160
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
161
161
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
162
162
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -175,27 +175,27 @@ const _e = /* @__PURE__ */ de(ce), ir = {
|
|
|
175
175
|
WARNING: "warning",
|
|
176
176
|
ERROR: "error",
|
|
177
177
|
BLACK_FRIDAY: "black-friday"
|
|
178
|
-
},
|
|
178
|
+
}, ge = (e) => {
|
|
179
179
|
switch (e) {
|
|
180
180
|
case x.ATTENTION:
|
|
181
181
|
case x.SPECIAL:
|
|
182
|
-
return
|
|
182
|
+
return ie;
|
|
183
183
|
case x.INFORMATION:
|
|
184
|
-
return
|
|
184
|
+
return ae;
|
|
185
185
|
case x.SUCCESS:
|
|
186
|
-
return
|
|
186
|
+
return ee;
|
|
187
187
|
case x.WARNING:
|
|
188
|
-
return
|
|
188
|
+
return re;
|
|
189
189
|
case x.ERROR:
|
|
190
|
-
return
|
|
190
|
+
return te;
|
|
191
191
|
case x.NEUTRAL:
|
|
192
|
-
return ie;
|
|
193
|
-
case x.BLACK_FRIDAY:
|
|
194
192
|
return oe;
|
|
193
|
+
case x.BLACK_FRIDAY:
|
|
194
|
+
return ne;
|
|
195
195
|
default:
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, he = ({
|
|
199
199
|
children: e,
|
|
200
200
|
showIcon: i = !0,
|
|
201
201
|
variant: a,
|
|
@@ -204,18 +204,18 @@ const _e = /* @__PURE__ */ de(ce), ir = {
|
|
|
204
204
|
className: r = "",
|
|
205
205
|
...t
|
|
206
206
|
}) => {
|
|
207
|
-
const o =
|
|
207
|
+
const o = ge(a), u = fe([r, ir[or], ir[`${or}--${a}`]]);
|
|
208
208
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
209
209
|
i && o && /* @__PURE__ */ l(br, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
210
210
|
e
|
|
211
211
|
] });
|
|
212
|
-
},
|
|
212
|
+
}, me = {
|
|
213
213
|
XS: "xs",
|
|
214
214
|
SM: "sm",
|
|
215
215
|
MD: "md",
|
|
216
216
|
LG: "lg"
|
|
217
217
|
};
|
|
218
|
-
function
|
|
218
|
+
function ve(e) {
|
|
219
219
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
220
220
|
}
|
|
221
221
|
var Sr = { exports: {} };
|
|
@@ -254,30 +254,30 @@ var Sr = { exports: {} };
|
|
|
254
254
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
255
255
|
})();
|
|
256
256
|
})(Sr);
|
|
257
|
-
var
|
|
258
|
-
const nr = /* @__PURE__ */
|
|
257
|
+
var ye = Sr.exports;
|
|
258
|
+
const nr = /* @__PURE__ */ ve(ye), we = "_rotate_1xozj_1", xe = "_dash_1xozj_1", Z = {
|
|
259
259
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
260
|
-
rotate:
|
|
260
|
+
rotate: we,
|
|
261
261
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
262
262
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
263
263
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
264
264
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
265
265
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
266
266
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
267
|
-
dash:
|
|
267
|
+
dash: xe,
|
|
268
268
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
269
269
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
270
|
-
}, q = "purpur-spinner",
|
|
270
|
+
}, q = "purpur-spinner", be = {
|
|
271
271
|
XXS: "xxs",
|
|
272
272
|
XS: "xs",
|
|
273
273
|
SM: "sm",
|
|
274
274
|
MD: "md",
|
|
275
275
|
LG: "lg"
|
|
276
|
-
},
|
|
276
|
+
}, $e = ({
|
|
277
277
|
["data-testid"]: e,
|
|
278
278
|
disabled: i = !1,
|
|
279
279
|
negative: a = !1,
|
|
280
|
-
size: n =
|
|
280
|
+
size: n = be.SM,
|
|
281
281
|
...p
|
|
282
282
|
}) => /* @__PURE__ */ l(
|
|
283
283
|
"div",
|
|
@@ -299,7 +299,7 @@ const nr = /* @__PURE__ */ me(ve), ye = "_rotate_1xozj_1", we = "_dash_1xozj_1",
|
|
|
299
299
|
) })
|
|
300
300
|
}
|
|
301
301
|
);
|
|
302
|
-
function
|
|
302
|
+
function Se(e) {
|
|
303
303
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
304
304
|
}
|
|
305
305
|
var Cr = { exports: {} };
|
|
@@ -338,8 +338,8 @@ var Cr = { exports: {} };
|
|
|
338
338
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
339
339
|
})();
|
|
340
340
|
})(Cr);
|
|
341
|
-
var
|
|
342
|
-
const
|
|
341
|
+
var Ce = Cr.exports;
|
|
342
|
+
const ke = /* @__PURE__ */ Se(Ce), Ae = {
|
|
343
343
|
"purpur-button": "_purpur-button_w455q_1",
|
|
344
344
|
"purpur-button--xs": "_purpur-button--xs_w455q_33",
|
|
345
345
|
"purpur-button--icon-only": "_purpur-button--icon-only_w455q_36",
|
|
@@ -361,7 +361,7 @@ const Ce = /* @__PURE__ */ $e(Se), ke = {
|
|
|
361
361
|
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_w455q_166",
|
|
362
362
|
"purpur-button--text-negative": "_purpur-button--text-negative_w455q_181",
|
|
363
363
|
"purpur-button--text": "_purpur-button--text_w455q_181"
|
|
364
|
-
},
|
|
364
|
+
}, Oe = ke.bind(Ae), A = "purpur-button", Be = ({
|
|
365
365
|
children: e,
|
|
366
366
|
className: i,
|
|
367
367
|
["data-testid"]: a,
|
|
@@ -378,7 +378,7 @@ const Ce = /* @__PURE__ */ $e(Se), ke = {
|
|
|
378
378
|
}, S) => {
|
|
379
379
|
if (r && g === "destructive")
|
|
380
380
|
return null;
|
|
381
|
-
const c =
|
|
381
|
+
const c = Oe(
|
|
382
382
|
[
|
|
383
383
|
A,
|
|
384
384
|
`${A}--${o ? `${g}-negative` : g}`,
|
|
@@ -405,15 +405,15 @@ const Ce = /* @__PURE__ */ $e(Se), ke = {
|
|
|
405
405
|
onClick: N,
|
|
406
406
|
...F,
|
|
407
407
|
children: [
|
|
408
|
-
t && /* @__PURE__ */ l(
|
|
408
|
+
t && /* @__PURE__ */ l($e, { size: d === me.LG ? "xs" : "xxs", negative: o, disabled: C }),
|
|
409
409
|
" ",
|
|
410
410
|
e
|
|
411
411
|
]
|
|
412
412
|
}
|
|
413
413
|
);
|
|
414
|
-
}, kr = $(
|
|
414
|
+
}, kr = $(Be);
|
|
415
415
|
kr.displayName = "Button";
|
|
416
|
-
function
|
|
416
|
+
function Fe(e) {
|
|
417
417
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
418
418
|
}
|
|
419
419
|
var Ar = { exports: {} };
|
|
@@ -452,11 +452,11 @@ var Ar = { exports: {} };
|
|
|
452
452
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
453
453
|
})();
|
|
454
454
|
})(Ar);
|
|
455
|
-
var
|
|
456
|
-
const m = /* @__PURE__ */
|
|
455
|
+
var Ne = Ar.exports;
|
|
456
|
+
const m = /* @__PURE__ */ Fe(Ne), Me = {
|
|
457
457
|
"purpur-card": "_purpur-card_1owb4_1"
|
|
458
458
|
};
|
|
459
|
-
function
|
|
459
|
+
function Ee(e) {
|
|
460
460
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
461
461
|
}
|
|
462
462
|
var Or = { exports: {} };
|
|
@@ -495,8 +495,8 @@ var Or = { exports: {} };
|
|
|
495
495
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
496
496
|
})();
|
|
497
497
|
})(Or);
|
|
498
|
-
var
|
|
499
|
-
const
|
|
498
|
+
var je = Or.exports;
|
|
499
|
+
const Ge = /* @__PURE__ */ Ee(je), Ie = {
|
|
500
500
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
501
501
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
502
502
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -504,61 +504,61 @@ const je = /* @__PURE__ */ Me(Ee), Ge = {
|
|
|
504
504
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
505
505
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
506
506
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
507
|
-
},
|
|
507
|
+
}, Ze = {
|
|
508
508
|
name: "alert",
|
|
509
509
|
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>',
|
|
510
510
|
keywords: ["alert"],
|
|
511
511
|
category: "status"
|
|
512
|
-
},
|
|
512
|
+
}, qe = {
|
|
513
513
|
name: "check-circle",
|
|
514
514
|
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>',
|
|
515
515
|
keywords: ["check-circle"],
|
|
516
516
|
category: "status"
|
|
517
|
-
},
|
|
517
|
+
}, Ue = {
|
|
518
518
|
name: "error",
|
|
519
519
|
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>',
|
|
520
520
|
keywords: ["error"],
|
|
521
521
|
category: "status"
|
|
522
|
-
},
|
|
522
|
+
}, Le = {
|
|
523
523
|
name: "info",
|
|
524
524
|
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>',
|
|
525
525
|
keywords: ["info"],
|
|
526
526
|
category: "status"
|
|
527
|
-
},
|
|
527
|
+
}, Re = {
|
|
528
528
|
name: "offering",
|
|
529
529
|
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>',
|
|
530
530
|
keywords: ["offering"],
|
|
531
531
|
category: "other"
|
|
532
|
-
},
|
|
532
|
+
}, Pe = {
|
|
533
533
|
name: "question",
|
|
534
534
|
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>',
|
|
535
535
|
keywords: ["question"],
|
|
536
536
|
category: "status"
|
|
537
|
-
},
|
|
537
|
+
}, De = {
|
|
538
538
|
name: "tag",
|
|
539
539
|
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>',
|
|
540
540
|
keywords: ["tag"],
|
|
541
541
|
category: "other"
|
|
542
|
-
},
|
|
542
|
+
}, ze = Ge.bind(Ie), pr = "purpur-icon", Te = "md", He = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Ve = ({ content: e = "", title: i } = {}) => {
|
|
543
543
|
const a = [
|
|
544
544
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
545
545
|
{ name: "fill", value: "currentColor" },
|
|
546
546
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
547
547
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
548
548
|
], n = i ? `<title>${i}</title>` : "";
|
|
549
|
-
return `<svg ${
|
|
550
|
-
},
|
|
549
|
+
return `<svg ${He(a)}>${n}${e}</svg>`;
|
|
550
|
+
}, We = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Br = ({
|
|
551
551
|
["data-testid"]: e,
|
|
552
552
|
svg: i,
|
|
553
553
|
allyTitle: a,
|
|
554
554
|
className: n,
|
|
555
|
-
size: p =
|
|
555
|
+
size: p = Te,
|
|
556
556
|
...r
|
|
557
557
|
}) => {
|
|
558
|
-
const t =
|
|
559
|
-
content:
|
|
558
|
+
const t = Ve({
|
|
559
|
+
content: We(i.svg),
|
|
560
560
|
title: a
|
|
561
|
-
}), o =
|
|
561
|
+
}), o = ze(n, pr, `${pr}--${p}`);
|
|
562
562
|
return /* @__PURE__ */ l(
|
|
563
563
|
"span",
|
|
564
564
|
{
|
|
@@ -571,7 +571,7 @@ const je = /* @__PURE__ */ Me(Ee), Ge = {
|
|
|
571
571
|
);
|
|
572
572
|
};
|
|
573
573
|
Br.displayName = "Icon";
|
|
574
|
-
function
|
|
574
|
+
function Xe(e) {
|
|
575
575
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
576
576
|
}
|
|
577
577
|
var Fr = { exports: {} };
|
|
@@ -610,8 +610,8 @@ var Fr = { exports: {} };
|
|
|
610
610
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
611
611
|
})();
|
|
612
612
|
})(Fr);
|
|
613
|
-
var
|
|
614
|
-
const
|
|
613
|
+
var Ke = Fr.exports;
|
|
614
|
+
const Ye = /* @__PURE__ */ Xe(Ke), lr = {
|
|
615
615
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
616
616
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
617
617
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -630,27 +630,27 @@ const Ke = /* @__PURE__ */ We(Xe), lr = {
|
|
|
630
630
|
WARNING: "warning",
|
|
631
631
|
ERROR: "error",
|
|
632
632
|
BLACK_FRIDAY: "black-friday"
|
|
633
|
-
},
|
|
633
|
+
}, Je = (e) => {
|
|
634
634
|
switch (e) {
|
|
635
635
|
case b.ATTENTION:
|
|
636
636
|
case b.SPECIAL:
|
|
637
|
-
return
|
|
637
|
+
return Re;
|
|
638
638
|
case b.INFORMATION:
|
|
639
|
-
return
|
|
639
|
+
return Le;
|
|
640
640
|
case b.SUCCESS:
|
|
641
|
-
return
|
|
641
|
+
return qe;
|
|
642
642
|
case b.WARNING:
|
|
643
|
-
return
|
|
643
|
+
return Ze;
|
|
644
644
|
case b.ERROR:
|
|
645
|
-
return
|
|
645
|
+
return Ue;
|
|
646
646
|
case b.NEUTRAL:
|
|
647
|
-
return Re;
|
|
648
|
-
case b.BLACK_FRIDAY:
|
|
649
647
|
return Pe;
|
|
648
|
+
case b.BLACK_FRIDAY:
|
|
649
|
+
return De;
|
|
650
650
|
default:
|
|
651
651
|
return;
|
|
652
652
|
}
|
|
653
|
-
},
|
|
653
|
+
}, Qe = ({
|
|
654
654
|
children: e,
|
|
655
655
|
showIcon: i = !0,
|
|
656
656
|
variant: a,
|
|
@@ -659,42 +659,42 @@ const Ke = /* @__PURE__ */ We(Xe), lr = {
|
|
|
659
659
|
className: r = "",
|
|
660
660
|
...t
|
|
661
661
|
}) => {
|
|
662
|
-
const o =
|
|
662
|
+
const o = Je(a), u = Ye([r, lr[ur], lr[`${ur}--${a}`]]);
|
|
663
663
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
664
664
|
i && o && /* @__PURE__ */ l(Br, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
665
665
|
e
|
|
666
666
|
] });
|
|
667
|
-
},
|
|
667
|
+
}, rt = {
|
|
668
668
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
669
|
-
},
|
|
669
|
+
}, et = m.bind(rt), tt = "purpur-card-badge", at = ({
|
|
670
670
|
["data-testid"]: e = "purpur-card-badge",
|
|
671
671
|
variant: i,
|
|
672
672
|
text: a
|
|
673
673
|
}) => i && a ? /* @__PURE__ */ l(
|
|
674
|
-
|
|
674
|
+
Qe,
|
|
675
675
|
{
|
|
676
|
-
className:
|
|
676
|
+
className: et(tt),
|
|
677
677
|
variant: i,
|
|
678
678
|
showIcon: !1,
|
|
679
679
|
"data-testid": e,
|
|
680
680
|
children: a
|
|
681
681
|
}
|
|
682
|
-
) : null,
|
|
682
|
+
) : null, it = {
|
|
683
683
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
684
|
-
},
|
|
684
|
+
}, ot = m.bind(it), nt = "purpur-card-content", pt = ({
|
|
685
685
|
["data-testid"]: e = "purpur-card-content",
|
|
686
686
|
children: i
|
|
687
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
687
|
+
}) => /* @__PURE__ */ l("div", { className: ot(nt), "data-testid": e, children: i }), lt = {
|
|
688
688
|
"purpur-card-content-container": "_purpur-card-content-container_ueryq_1",
|
|
689
689
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_ueryq_12"
|
|
690
|
-
},
|
|
690
|
+
}, ut = m.bind(lt), sr = "purpur-card-content-container", st = ({
|
|
691
691
|
["data-testid"]: e = "purpur-card-content-container",
|
|
692
692
|
children: i,
|
|
693
693
|
isFooter: a = !1
|
|
694
694
|
}) => /* @__PURE__ */ l(
|
|
695
695
|
"div",
|
|
696
696
|
{
|
|
697
|
-
className:
|
|
697
|
+
className: ut([
|
|
698
698
|
sr,
|
|
699
699
|
{
|
|
700
700
|
[`${sr}--footer`]: a
|
|
@@ -704,7 +704,7 @@ const Ke = /* @__PURE__ */ We(Xe), lr = {
|
|
|
704
704
|
children: i
|
|
705
705
|
}
|
|
706
706
|
);
|
|
707
|
-
function
|
|
707
|
+
function dt(e) {
|
|
708
708
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
709
709
|
}
|
|
710
710
|
var Nr = { exports: {} };
|
|
@@ -743,20 +743,20 @@ var Nr = { exports: {} };
|
|
|
743
743
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
744
744
|
})();
|
|
745
745
|
})(Nr);
|
|
746
|
-
var
|
|
747
|
-
const dr = /* @__PURE__ */
|
|
746
|
+
var ct = Nr.exports;
|
|
747
|
+
const dr = /* @__PURE__ */ dt(ct), _t = "_rotate_1xozj_1", ft = "_dash_1xozj_1", U = {
|
|
748
748
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
749
|
-
rotate:
|
|
749
|
+
rotate: _t,
|
|
750
750
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
751
751
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
752
752
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
753
753
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
754
754
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
755
755
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
756
|
-
dash:
|
|
756
|
+
dash: ft,
|
|
757
757
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
758
758
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
759
|
-
}, L = "purpur-spinner",
|
|
759
|
+
}, L = "purpur-spinner", gt = {
|
|
760
760
|
XXS: "xxs",
|
|
761
761
|
XS: "xs",
|
|
762
762
|
SM: "sm",
|
|
@@ -766,7 +766,7 @@ const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1",
|
|
|
766
766
|
["data-testid"]: e,
|
|
767
767
|
disabled: i = !1,
|
|
768
768
|
negative: a = !1,
|
|
769
|
-
size: n =
|
|
769
|
+
size: n = gt.SM,
|
|
770
770
|
...p
|
|
771
771
|
}) => /* @__PURE__ */ l(
|
|
772
772
|
"div",
|
|
@@ -787,7 +787,7 @@ const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1",
|
|
|
787
787
|
}
|
|
788
788
|
) })
|
|
789
789
|
}
|
|
790
|
-
),
|
|
790
|
+
), ht = {
|
|
791
791
|
"purpur-card-cta": "_purpur-card-cta_10ord_1",
|
|
792
792
|
"purpur-card-cta--xs": "_purpur-card-cta--xs_10ord_33",
|
|
793
793
|
"purpur-card-cta--icon-only": "_purpur-card-cta--icon-only_10ord_36",
|
|
@@ -803,7 +803,7 @@ const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1",
|
|
|
803
803
|
"purpur-card-cta--expressive": "_purpur-card-cta--expressive_10ord_104",
|
|
804
804
|
"purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-negative_10ord_114",
|
|
805
805
|
"purpur-card-cta--text": "_purpur-card-cta--text_10ord_134"
|
|
806
|
-
},
|
|
806
|
+
}, mt = m.bind(ht), O = "purpur-card-cta", vt = ({
|
|
807
807
|
["data-testid"]: e = "purpur-card-cta",
|
|
808
808
|
className: i,
|
|
809
809
|
children: a,
|
|
@@ -815,7 +815,7 @@ const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1",
|
|
|
815
815
|
}) => /* @__PURE__ */ l(
|
|
816
816
|
"div",
|
|
817
817
|
{
|
|
818
|
-
className: `${
|
|
818
|
+
className: `${mt([
|
|
819
819
|
O,
|
|
820
820
|
i,
|
|
821
821
|
`${O}--md`,
|
|
@@ -835,7 +835,7 @@ const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1",
|
|
|
835
835
|
] })
|
|
836
836
|
}
|
|
837
837
|
);
|
|
838
|
-
function
|
|
838
|
+
function yt(e) {
|
|
839
839
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
840
840
|
}
|
|
841
841
|
var Er = { exports: {} };
|
|
@@ -874,8 +874,8 @@ var Er = { exports: {} };
|
|
|
874
874
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
875
875
|
})();
|
|
876
876
|
})(Er);
|
|
877
|
-
var
|
|
878
|
-
const
|
|
877
|
+
var wt = Er.exports;
|
|
878
|
+
const xt = /* @__PURE__ */ yt(wt), bt = {
|
|
879
879
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
880
880
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
881
881
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -883,12 +883,12 @@ const wt = /* @__PURE__ */ vt(yt), xt = {
|
|
|
883
883
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
884
884
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
885
885
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
886
|
-
},
|
|
886
|
+
}, $t = {
|
|
887
887
|
name: "arrow-right",
|
|
888
888
|
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>',
|
|
889
889
|
keywords: ["arrow-right"],
|
|
890
890
|
category: "utility"
|
|
891
|
-
},
|
|
891
|
+
}, St = {
|
|
892
892
|
name: "checkmark",
|
|
893
893
|
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>',
|
|
894
894
|
keywords: ["checkmark"],
|
|
@@ -897,7 +897,7 @@ const wt = /* @__PURE__ */ vt(yt), xt = {
|
|
|
897
897
|
er,
|
|
898
898
|
{
|
|
899
899
|
...e,
|
|
900
|
-
svg:
|
|
900
|
+
svg: $t
|
|
901
901
|
}
|
|
902
902
|
);
|
|
903
903
|
jr.displayName = "IconArrowRight";
|
|
@@ -905,30 +905,30 @@ const Gr = (e) => /* @__PURE__ */ l(
|
|
|
905
905
|
er,
|
|
906
906
|
{
|
|
907
907
|
...e,
|
|
908
|
-
svg:
|
|
908
|
+
svg: St
|
|
909
909
|
}
|
|
910
910
|
);
|
|
911
911
|
Gr.displayName = "IconCheckmark";
|
|
912
|
-
const
|
|
912
|
+
const Ct = xt.bind(bt), cr = "purpur-icon", kt = "md", At = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Ot = ({ content: e = "", title: i } = {}) => {
|
|
913
913
|
const a = [
|
|
914
914
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
915
915
|
{ name: "fill", value: "currentColor" },
|
|
916
916
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
917
917
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
918
918
|
], n = i ? `<title>${i}</title>` : "";
|
|
919
|
-
return `<svg ${
|
|
920
|
-
},
|
|
919
|
+
return `<svg ${At(a)}>${n}${e}</svg>`;
|
|
920
|
+
}, Bt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), er = ({
|
|
921
921
|
["data-testid"]: e,
|
|
922
922
|
svg: i,
|
|
923
923
|
allyTitle: a,
|
|
924
924
|
className: n,
|
|
925
|
-
size: p =
|
|
925
|
+
size: p = kt,
|
|
926
926
|
...r
|
|
927
927
|
}) => {
|
|
928
|
-
const t =
|
|
929
|
-
content:
|
|
928
|
+
const t = Ot({
|
|
929
|
+
content: Bt(i.svg),
|
|
930
930
|
title: a
|
|
931
|
-
}), o =
|
|
931
|
+
}), o = Ct(n, cr, `${cr}--${p}`);
|
|
932
932
|
return /* @__PURE__ */ l(
|
|
933
933
|
"span",
|
|
934
934
|
{
|
|
@@ -941,7 +941,7 @@ const St = wt.bind(xt), cr = "purpur-icon", Ct = "md", kt = (e) => e.filter((i)
|
|
|
941
941
|
);
|
|
942
942
|
};
|
|
943
943
|
er.displayName = "Icon";
|
|
944
|
-
function
|
|
944
|
+
function Ft(e) {
|
|
945
945
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
946
946
|
}
|
|
947
947
|
var Ir = { exports: {} };
|
|
@@ -980,8 +980,8 @@ var Ir = { exports: {} };
|
|
|
980
980
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
981
981
|
})();
|
|
982
982
|
})(Ir);
|
|
983
|
-
var
|
|
984
|
-
const
|
|
983
|
+
var Nt = Ir.exports;
|
|
984
|
+
const Mt = /* @__PURE__ */ Ft(Nt), R = {
|
|
985
985
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
986
986
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
987
987
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -996,7 +996,7 @@ const Nt = /* @__PURE__ */ Bt(Ft), R = {
|
|
|
996
996
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
997
997
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
998
998
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
999
|
-
},
|
|
999
|
+
}, Et = {
|
|
1000
1000
|
PARAGRAPH100: "paragraph-100",
|
|
1001
1001
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
1002
1002
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -1014,10 +1014,10 @@ const Nt = /* @__PURE__ */ Bt(Ft), R = {
|
|
|
1014
1014
|
disabled: n,
|
|
1015
1015
|
enableHyphenation: p = !1,
|
|
1016
1016
|
negative: r = !1,
|
|
1017
|
-
variant: t =
|
|
1017
|
+
variant: t = Et.PARAGRAPH100,
|
|
1018
1018
|
...o
|
|
1019
1019
|
}) => {
|
|
1020
|
-
const u =
|
|
1020
|
+
const u = Mt([
|
|
1021
1021
|
a,
|
|
1022
1022
|
R[P],
|
|
1023
1023
|
R[`${P}--${t}`],
|
|
@@ -1030,10 +1030,10 @@ const Nt = /* @__PURE__ */ Bt(Ft), R = {
|
|
|
1030
1030
|
return /* @__PURE__ */ l("p", { ...o, className: u, "data-testid": e, children: i });
|
|
1031
1031
|
};
|
|
1032
1032
|
tr.displayName = "Paragraph";
|
|
1033
|
-
const
|
|
1033
|
+
const jt = {
|
|
1034
1034
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
1035
1035
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
1036
|
-
}, _r = m.bind(
|
|
1036
|
+
}, _r = m.bind(jt), fr = "purpur-card-feature-list", Gt = ({
|
|
1037
1037
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1038
1038
|
listItems: i
|
|
1039
1039
|
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: _r(fr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
|
|
@@ -1047,7 +1047,7 @@ const Et = {
|
|
|
1047
1047
|
]
|
|
1048
1048
|
},
|
|
1049
1049
|
a
|
|
1050
|
-
)) }) : null,
|
|
1050
|
+
)) }) : null, It = {
|
|
1051
1051
|
"purpur-card-link-arrow": "_purpur-card-link-arrow_blsmb_1",
|
|
1052
1052
|
"purpur-card-link-arrow--xs": "_purpur-card-link-arrow--xs_blsmb_33",
|
|
1053
1053
|
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_blsmb_36",
|
|
@@ -1062,7 +1062,7 @@ const Et = {
|
|
|
1062
1062
|
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_blsmb_93",
|
|
1063
1063
|
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_blsmb_104",
|
|
1064
1064
|
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_blsmb_114"
|
|
1065
|
-
},
|
|
1065
|
+
}, Zt = m.bind(It), M = "purpur-card-link-arrow", qt = ({
|
|
1066
1066
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
1067
1067
|
className: i,
|
|
1068
1068
|
disabled: a = !1,
|
|
@@ -1071,7 +1071,7 @@ const Et = {
|
|
|
1071
1071
|
}) => /* @__PURE__ */ l(
|
|
1072
1072
|
"div",
|
|
1073
1073
|
{
|
|
1074
|
-
className: `${
|
|
1074
|
+
className: `${Zt([
|
|
1075
1075
|
M,
|
|
1076
1076
|
i,
|
|
1077
1077
|
`${M}--md`,
|
|
@@ -1085,17 +1085,17 @@ const Et = {
|
|
|
1085
1085
|
...p,
|
|
1086
1086
|
children: n ? /* @__PURE__ */ l(Mr, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(jr, { "data-testid": `${e}-arrow`, size: "md" })
|
|
1087
1087
|
}
|
|
1088
|
-
),
|
|
1088
|
+
), Ut = {
|
|
1089
1089
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1090
|
-
},
|
|
1090
|
+
}, Lt = m.bind(Ut), Rt = "purpur-card-overline", Pt = ({
|
|
1091
1091
|
["data-testid"]: e = "purpur-card-overline",
|
|
1092
1092
|
overline: i
|
|
1093
|
-
}) => i ? /* @__PURE__ */ l(tr, { className:
|
|
1093
|
+
}) => i ? /* @__PURE__ */ l(tr, { className: Lt(Rt), "data-testid": e, children: i }) : null, Dt = {
|
|
1094
1094
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1095
1095
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1096
1096
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1097
1097
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1098
|
-
},
|
|
1098
|
+
}, zt = {
|
|
1099
1099
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1100
1100
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1101
1101
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
@@ -1109,16 +1109,16 @@ function j() {
|
|
|
1109
1109
|
return e;
|
|
1110
1110
|
}, j.apply(null, arguments);
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function Tt(e, i) {
|
|
1113
1113
|
typeof e == "function" ? e(i) : e != null && (e.current = i);
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Ht(...e) {
|
|
1116
1116
|
return (i) => e.forEach(
|
|
1117
|
-
(a) =>
|
|
1117
|
+
(a) => Tt(a, i)
|
|
1118
1118
|
);
|
|
1119
1119
|
}
|
|
1120
1120
|
const Zr = /* @__PURE__ */ $((e, i) => {
|
|
1121
|
-
const { children: a, ...n } = e, p = T.toArray(a), r = p.find(
|
|
1121
|
+
const { children: a, ...n } = e, p = T.toArray(a), r = p.find(Wt);
|
|
1122
1122
|
if (r) {
|
|
1123
1123
|
const t = r.props.children, o = p.map((u) => u === r ? T.count(t) > 1 ? T.only(null) : /* @__PURE__ */ K(t) ? t.props.children : null : u);
|
|
1124
1124
|
return /* @__PURE__ */ H(Q, j({}, n, {
|
|
@@ -1133,16 +1133,16 @@ Zr.displayName = "Slot";
|
|
|
1133
1133
|
const Q = /* @__PURE__ */ $((e, i) => {
|
|
1134
1134
|
const { children: a, ...n } = e;
|
|
1135
1135
|
return /* @__PURE__ */ K(a) ? /* @__PURE__ */ wr(a, {
|
|
1136
|
-
...
|
|
1137
|
-
ref: i ?
|
|
1136
|
+
...Xt(n, a.props),
|
|
1137
|
+
ref: i ? Ht(i, a.ref) : a.ref
|
|
1138
1138
|
}) : T.count(a) > 1 ? T.only(null) : null;
|
|
1139
1139
|
});
|
|
1140
1140
|
Q.displayName = "SlotClone";
|
|
1141
|
-
const
|
|
1142
|
-
function
|
|
1143
|
-
return /* @__PURE__ */ K(e) && e.type ===
|
|
1141
|
+
const Vt = ({ children: e }) => /* @__PURE__ */ H(Xr, null, e);
|
|
1142
|
+
function Wt(e) {
|
|
1143
|
+
return /* @__PURE__ */ K(e) && e.type === Vt;
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1145
|
+
function Xt(e, i) {
|
|
1146
1146
|
const a = {
|
|
1147
1147
|
...i
|
|
1148
1148
|
};
|
|
@@ -1163,7 +1163,7 @@ function Wt(e, i) {
|
|
|
1163
1163
|
...a
|
|
1164
1164
|
};
|
|
1165
1165
|
}
|
|
1166
|
-
const
|
|
1166
|
+
const Kt = [
|
|
1167
1167
|
"a",
|
|
1168
1168
|
"button",
|
|
1169
1169
|
"div",
|
|
@@ -1180,10 +1180,10 @@ const Xt = [
|
|
|
1180
1180
|
"span",
|
|
1181
1181
|
"svg",
|
|
1182
1182
|
"ul"
|
|
1183
|
-
],
|
|
1183
|
+
], Yt = Kt.reduce((e, i) => {
|
|
1184
1184
|
const a = /* @__PURE__ */ $((n, p) => {
|
|
1185
1185
|
const { asChild: r, ...t } = n, o = r ? Zr : i;
|
|
1186
|
-
return
|
|
1186
|
+
return Wr(() => {
|
|
1187
1187
|
window[Symbol.for("radix-ui")] = !0;
|
|
1188
1188
|
}, []), /* @__PURE__ */ H(o, j({}, t, {
|
|
1189
1189
|
ref: p
|
|
@@ -1193,7 +1193,7 @@ const Xt = [
|
|
|
1193
1193
|
...e,
|
|
1194
1194
|
[i]: a
|
|
1195
1195
|
};
|
|
1196
|
-
}, {}),
|
|
1196
|
+
}, {}), Jt = /* @__PURE__ */ $((e, i) => /* @__PURE__ */ H(Yt.span, j({}, e, {
|
|
1197
1197
|
ref: i,
|
|
1198
1198
|
style: {
|
|
1199
1199
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -1209,12 +1209,12 @@ const Xt = [
|
|
|
1209
1209
|
wordWrap: "normal",
|
|
1210
1210
|
...e.style
|
|
1211
1211
|
}
|
|
1212
|
-
}))),
|
|
1212
|
+
}))), Qt = Jt, gr = ({
|
|
1213
1213
|
asChild: e,
|
|
1214
1214
|
children: i,
|
|
1215
1215
|
className: a = "",
|
|
1216
1216
|
["data-testid"]: n
|
|
1217
|
-
}) => /* @__PURE__ */ l(
|
|
1217
|
+
}) => /* @__PURE__ */ l(Qt, { asChild: e, "data-testid": n, className: a, children: i }), hr = m.bind(zt), B = "purpur-card-trigger-item", ra = ({
|
|
1218
1218
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1219
1219
|
disabled: i = !1,
|
|
1220
1220
|
href: a,
|
|
@@ -1259,7 +1259,7 @@ const Xt = [
|
|
|
1259
1259
|
children: /* @__PURE__ */ l(gr, { children: p })
|
|
1260
1260
|
}
|
|
1261
1261
|
);
|
|
1262
|
-
},
|
|
1262
|
+
}, ea = m.bind(Dt), Y = "purpur-card-root", qr = $(
|
|
1263
1263
|
({
|
|
1264
1264
|
["data-testid"]: e = "purpur-card-root",
|
|
1265
1265
|
children: i,
|
|
@@ -1272,7 +1272,7 @@ const Xt = [
|
|
|
1272
1272
|
variant: u,
|
|
1273
1273
|
...d
|
|
1274
1274
|
}, g) => {
|
|
1275
|
-
const w =
|
|
1275
|
+
const w = ea([
|
|
1276
1276
|
Y,
|
|
1277
1277
|
a,
|
|
1278
1278
|
{
|
|
@@ -1283,7 +1283,7 @@ const Xt = [
|
|
|
1283
1283
|
return /* @__PURE__ */ _("div", { className: w, "data-testid": e, ref: g, ...d, children: [
|
|
1284
1284
|
i,
|
|
1285
1285
|
(t || r) && o && /* @__PURE__ */ l(
|
|
1286
|
-
|
|
1286
|
+
ra,
|
|
1287
1287
|
{
|
|
1288
1288
|
disabled: n,
|
|
1289
1289
|
href: r,
|
|
@@ -1295,7 +1295,7 @@ const Xt = [
|
|
|
1295
1295
|
}
|
|
1296
1296
|
);
|
|
1297
1297
|
qr.displayName = "CardRoot";
|
|
1298
|
-
const mr = m.bind(
|
|
1298
|
+
const mr = m.bind(Me), J = "purpur-card", y = ({ children: e, className: i, ...a }) => {
|
|
1299
1299
|
const n = mr([
|
|
1300
1300
|
J,
|
|
1301
1301
|
i,
|
|
@@ -1306,15 +1306,15 @@ const mr = m.bind(Ne), J = "purpur-card", y = ({ children: e, className: i, ...a
|
|
|
1306
1306
|
]);
|
|
1307
1307
|
return /* @__PURE__ */ l(qr, { className: mr(n), ...a, children: e });
|
|
1308
1308
|
};
|
|
1309
|
-
y.Badge =
|
|
1310
|
-
y.LinkArrow =
|
|
1311
|
-
y.Content =
|
|
1312
|
-
y.ContentContainer =
|
|
1313
|
-
y.Cta =
|
|
1314
|
-
y.FeatureList =
|
|
1315
|
-
y.Overline =
|
|
1309
|
+
y.Badge = at;
|
|
1310
|
+
y.LinkArrow = qt;
|
|
1311
|
+
y.Content = pt;
|
|
1312
|
+
y.ContentContainer = st;
|
|
1313
|
+
y.Cta = vt;
|
|
1314
|
+
y.FeatureList = Gt;
|
|
1315
|
+
y.Overline = Pt;
|
|
1316
1316
|
y.displayName = "Card";
|
|
1317
|
-
function
|
|
1317
|
+
function ta(e) {
|
|
1318
1318
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1319
1319
|
}
|
|
1320
1320
|
var Ur = { exports: {} };
|
|
@@ -1353,8 +1353,8 @@ var Ur = { exports: {} };
|
|
|
1353
1353
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1354
1354
|
})();
|
|
1355
1355
|
})(Ur);
|
|
1356
|
-
var
|
|
1357
|
-
const
|
|
1356
|
+
var aa = Ur.exports;
|
|
1357
|
+
const ia = /* @__PURE__ */ ta(aa), oa = {
|
|
1358
1358
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1359
1359
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1360
1360
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1362,46 +1362,46 @@ const aa = /* @__PURE__ */ ea(ta), ia = {
|
|
|
1362
1362
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1363
1363
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1364
1364
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1365
|
-
},
|
|
1365
|
+
}, na = {
|
|
1366
1366
|
name: "arrow-left",
|
|
1367
1367
|
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>',
|
|
1368
1368
|
keywords: ["arrow-left"],
|
|
1369
1369
|
category: "utility"
|
|
1370
|
-
},
|
|
1370
|
+
}, pa = {
|
|
1371
1371
|
name: "arrow-right",
|
|
1372
1372
|
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>',
|
|
1373
1373
|
keywords: ["arrow-right"],
|
|
1374
1374
|
category: "utility"
|
|
1375
|
-
},
|
|
1375
|
+
}, la = {
|
|
1376
1376
|
name: "external",
|
|
1377
1377
|
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>',
|
|
1378
1378
|
keywords: ["external"],
|
|
1379
1379
|
category: "media"
|
|
1380
|
-
},
|
|
1380
|
+
}, ua = {
|
|
1381
1381
|
name: "phone",
|
|
1382
1382
|
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>',
|
|
1383
1383
|
keywords: ["phone"],
|
|
1384
1384
|
category: "device"
|
|
1385
|
-
},
|
|
1385
|
+
}, sa = ia.bind(oa), vr = "purpur-icon", da = "md", ca = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), _a = ({ content: e = "", title: i } = {}) => {
|
|
1386
1386
|
const a = [
|
|
1387
1387
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1388
1388
|
{ name: "fill", value: "currentColor" },
|
|
1389
1389
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1390
1390
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1391
1391
|
], n = i ? `<title>${i}</title>` : "";
|
|
1392
|
-
return `<svg ${
|
|
1393
|
-
},
|
|
1392
|
+
return `<svg ${ca(a)}>${n}${e}</svg>`;
|
|
1393
|
+
}, fa = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), rr = ({
|
|
1394
1394
|
["data-testid"]: e,
|
|
1395
1395
|
svg: i,
|
|
1396
1396
|
allyTitle: a,
|
|
1397
1397
|
className: n,
|
|
1398
|
-
size: p =
|
|
1398
|
+
size: p = da,
|
|
1399
1399
|
...r
|
|
1400
1400
|
}) => {
|
|
1401
|
-
const t =
|
|
1402
|
-
content:
|
|
1401
|
+
const t = _a({
|
|
1402
|
+
content: fa(i.svg),
|
|
1403
1403
|
title: a
|
|
1404
|
-
}), o =
|
|
1404
|
+
}), o = sa(n, vr, `${vr}--${p}`);
|
|
1405
1405
|
return /* @__PURE__ */ l(
|
|
1406
1406
|
"span",
|
|
1407
1407
|
{
|
|
@@ -1414,7 +1414,7 @@ const aa = /* @__PURE__ */ ea(ta), ia = {
|
|
|
1414
1414
|
);
|
|
1415
1415
|
};
|
|
1416
1416
|
rr.displayName = "Icon";
|
|
1417
|
-
function
|
|
1417
|
+
function ga(e) {
|
|
1418
1418
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1419
1419
|
}
|
|
1420
1420
|
var Lr = { exports: {} };
|
|
@@ -1453,8 +1453,8 @@ var Lr = { exports: {} };
|
|
|
1453
1453
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1454
1454
|
})();
|
|
1455
1455
|
})(Lr);
|
|
1456
|
-
var
|
|
1457
|
-
const
|
|
1456
|
+
var ha = Lr.exports;
|
|
1457
|
+
const ma = /* @__PURE__ */ ga(ha), va = {
|
|
1458
1458
|
"purpur-cta-link": "_purpur-cta-link_1e75l_1",
|
|
1459
1459
|
"purpur-cta-link--xs": "_purpur-cta-link--xs_1e75l_33",
|
|
1460
1460
|
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1e75l_36",
|
|
@@ -1469,12 +1469,12 @@ const ha = /* @__PURE__ */ fa(ga), ma = {
|
|
|
1469
1469
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
|
|
1470
1470
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
|
|
1471
1471
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
|
|
1472
|
-
},
|
|
1473
|
-
forward:
|
|
1474
|
-
external:
|
|
1475
|
-
back:
|
|
1476
|
-
phone:
|
|
1477
|
-
},
|
|
1472
|
+
}, ya = ma.bind(va), E = "purpur-cta-link", wa = {
|
|
1473
|
+
forward: pa,
|
|
1474
|
+
external: la,
|
|
1475
|
+
back: na,
|
|
1476
|
+
phone: ua
|
|
1477
|
+
}, Rr = $(
|
|
1478
1478
|
({
|
|
1479
1479
|
children: e,
|
|
1480
1480
|
className: i,
|
|
@@ -1488,7 +1488,7 @@ const ha = /* @__PURE__ */ fa(ga), ma = {
|
|
|
1488
1488
|
icon: d = "forward",
|
|
1489
1489
|
...g
|
|
1490
1490
|
}, w) => {
|
|
1491
|
-
const F =
|
|
1491
|
+
const F = ya(
|
|
1492
1492
|
[
|
|
1493
1493
|
i,
|
|
1494
1494
|
E,
|
|
@@ -1500,7 +1500,7 @@ const ha = /* @__PURE__ */ fa(ga), ma = {
|
|
|
1500
1500
|
[`${E}--negative`]: t,
|
|
1501
1501
|
[`${E}--full-width`]: n
|
|
1502
1502
|
}
|
|
1503
|
-
), S =
|
|
1503
|
+
), S = wa[d], c = /* @__PURE__ */ _(yr, { children: [
|
|
1504
1504
|
r && (d === "back" || d === "phone") && /* @__PURE__ */ l(rr, { svg: S, size: o === "lg" ? "sm" : "xs" }),
|
|
1505
1505
|
(!p || p && !r) && e,
|
|
1506
1506
|
r && (d === "forward" || d === "external") && /* @__PURE__ */ l(rr, { svg: S, size: o === "lg" ? "sm" : "xs" })
|
|
@@ -1512,10 +1512,11 @@ const ha = /* @__PURE__ */ fa(ga), ma = {
|
|
|
1512
1512
|
return "href" in g && g.href ? /* @__PURE__ */ l("a", { ...N, ref: w, children: c }) : /* @__PURE__ */ l("span", { ...N, ref: w, children: c });
|
|
1513
1513
|
}
|
|
1514
1514
|
);
|
|
1515
|
+
Rr.displayName = "CtaLink";
|
|
1515
1516
|
function xa(e) {
|
|
1516
1517
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1517
1518
|
}
|
|
1518
|
-
var
|
|
1519
|
+
var Pr = { exports: {} };
|
|
1519
1520
|
/*!
|
|
1520
1521
|
Copyright (c) 2018 Jed Watson.
|
|
1521
1522
|
Licensed under the MIT License (MIT), see
|
|
@@ -1550,8 +1551,8 @@ var Rr = { exports: {} };
|
|
|
1550
1551
|
}
|
|
1551
1552
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1552
1553
|
})();
|
|
1553
|
-
})(
|
|
1554
|
-
var ba =
|
|
1554
|
+
})(Pr);
|
|
1555
|
+
var ba = Pr.exports;
|
|
1555
1556
|
const $a = /* @__PURE__ */ xa(ba), W = {
|
|
1556
1557
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1557
1558
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
@@ -1577,7 +1578,7 @@ const $a = /* @__PURE__ */ xa(ba), W = {
|
|
|
1577
1578
|
TITLE600: "title-600",
|
|
1578
1579
|
TITLE700: "title-700",
|
|
1579
1580
|
SUBSECTION100: "subsection-100"
|
|
1580
|
-
}, X = "purpur-heading",
|
|
1581
|
+
}, X = "purpur-heading", Dr = ({
|
|
1581
1582
|
["data-testid"]: e,
|
|
1582
1583
|
children: i,
|
|
1583
1584
|
className: a = "",
|
|
@@ -1598,11 +1599,11 @@ const $a = /* @__PURE__ */ xa(ba), W = {
|
|
|
1598
1599
|
]);
|
|
1599
1600
|
return /* @__PURE__ */ l(u, { ...o, className: d, "data-testid": e, children: i });
|
|
1600
1601
|
};
|
|
1601
|
-
|
|
1602
|
+
Dr.displayName = "Heading";
|
|
1602
1603
|
function Ca(e) {
|
|
1603
1604
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1604
1605
|
}
|
|
1605
|
-
var
|
|
1606
|
+
var zr = { exports: {} };
|
|
1606
1607
|
/*!
|
|
1607
1608
|
Copyright (c) 2018 Jed Watson.
|
|
1608
1609
|
Licensed under the MIT License (MIT), see
|
|
@@ -1637,8 +1638,8 @@ var Dr = { exports: {} };
|
|
|
1637
1638
|
}
|
|
1638
1639
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1639
1640
|
})();
|
|
1640
|
-
})(
|
|
1641
|
-
var ka =
|
|
1641
|
+
})(zr);
|
|
1642
|
+
var ka = zr.exports;
|
|
1642
1643
|
const Aa = /* @__PURE__ */ Ca(ka), D = {
|
|
1643
1644
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1644
1645
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
@@ -1665,7 +1666,7 @@ const Aa = /* @__PURE__ */ Ca(ka), D = {
|
|
|
1665
1666
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1666
1667
|
OVERLINE100: "overline-100",
|
|
1667
1668
|
OVERLINE200: "overline-200"
|
|
1668
|
-
}, z = "purpur-paragraph",
|
|
1669
|
+
}, z = "purpur-paragraph", Tr = ({
|
|
1669
1670
|
["data-testid"]: e,
|
|
1670
1671
|
children: i,
|
|
1671
1672
|
className: a,
|
|
@@ -1687,11 +1688,11 @@ const Aa = /* @__PURE__ */ Ca(ka), D = {
|
|
|
1687
1688
|
]);
|
|
1688
1689
|
return /* @__PURE__ */ l("p", { ...o, className: u, "data-testid": e, children: i });
|
|
1689
1690
|
};
|
|
1690
|
-
|
|
1691
|
+
Tr.displayName = "Paragraph";
|
|
1691
1692
|
function Ba(e) {
|
|
1692
1693
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1693
1694
|
}
|
|
1694
|
-
var
|
|
1695
|
+
var Hr = { exports: {} };
|
|
1695
1696
|
/*!
|
|
1696
1697
|
Copyright (c) 2018 Jed Watson.
|
|
1697
1698
|
Licensed under the MIT License (MIT), see
|
|
@@ -1726,8 +1727,8 @@ var Tr = { exports: {} };
|
|
|
1726
1727
|
}
|
|
1727
1728
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1728
1729
|
})();
|
|
1729
|
-
})(
|
|
1730
|
-
var Fa =
|
|
1730
|
+
})(Hr);
|
|
1731
|
+
var Fa = Hr.exports;
|
|
1731
1732
|
const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
1732
1733
|
"purpur-promotion-card": "_purpur-promotion-card_1cvjr_1",
|
|
1733
1734
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1cvjr_8",
|
|
@@ -1789,7 +1790,7 @@ const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
|
1789
1790
|
const { hasGradient: v, ...k } = c;
|
|
1790
1791
|
V = v, C = k;
|
|
1791
1792
|
}
|
|
1792
|
-
const
|
|
1793
|
+
const Vr = {
|
|
1793
1794
|
"--promotion-card-background": Ea[i],
|
|
1794
1795
|
"--promotion-card-color": Ga[i],
|
|
1795
1796
|
"--promotion-card-background-image": ja[i]
|
|
@@ -1799,7 +1800,7 @@ const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
|
1799
1800
|
{
|
|
1800
1801
|
"data-testid": e,
|
|
1801
1802
|
style: {
|
|
1802
|
-
...
|
|
1803
|
+
...Vr,
|
|
1803
1804
|
...w
|
|
1804
1805
|
},
|
|
1805
1806
|
className: f([
|
|
@@ -1824,7 +1825,7 @@ const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
|
1824
1825
|
}
|
|
1825
1826
|
]),
|
|
1826
1827
|
children: [
|
|
1827
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: f(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(
|
|
1828
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: f(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(he, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1828
1829
|
n && n,
|
|
1829
1830
|
a
|
|
1830
1831
|
] }) }),
|
|
@@ -1837,7 +1838,7 @@ const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
|
1837
1838
|
),
|
|
1838
1839
|
children: [
|
|
1839
1840
|
/* @__PURE__ */ l(
|
|
1840
|
-
|
|
1841
|
+
Dr,
|
|
1841
1842
|
{
|
|
1842
1843
|
tag: r,
|
|
1843
1844
|
variant: t,
|
|
@@ -1855,10 +1856,10 @@ const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
|
1855
1856
|
...k,
|
|
1856
1857
|
children: v
|
|
1857
1858
|
};
|
|
1858
|
-
return Za(I) ? /* @__PURE__ */ l(
|
|
1859
|
+
return Za(I) ? /* @__PURE__ */ l(Rr, { ...I }, v) : "onClick" in I && !("href" in I) ? /* @__PURE__ */ l(kr, { ...I }, v) : null;
|
|
1859
1860
|
}) }),
|
|
1860
1861
|
S && /* @__PURE__ */ l(
|
|
1861
|
-
|
|
1862
|
+
Tr,
|
|
1862
1863
|
{
|
|
1863
1864
|
negative: !0,
|
|
1864
1865
|
variant: "additional-100",
|