@purpurds/promotion-card 5.24.0 → 5.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +5 -5
- package/dist/promotion-card.cjs.js +15 -15
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts +2 -4
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +277 -291
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +11 -11
- package/src/promotion-card.tsx +22 -30
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _, jsx as l, Fragment as mr } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as $, Children as q, isValidElement as V, createElement as D, cloneElement as vr, useEffect as Pr, Fragment as Tr } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function zr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
7
|
var yr = { exports: {} };
|
|
@@ -40,8 +40,8 @@ var yr = { exports: {} };
|
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
42
|
})(yr);
|
|
43
|
-
var
|
|
44
|
-
const
|
|
43
|
+
var Hr = yr.exports;
|
|
44
|
+
const Vr = /* @__PURE__ */ zr(Hr), Wr = {
|
|
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 Hr = /* @__PURE__ */ Tr(zr), Vr = {
|
|
|
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
|
+
}, Xr = {
|
|
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
|
+
}, Kr = {
|
|
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
|
+
}, Yr = {
|
|
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
|
+
}, Jr = {
|
|
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
|
+
}, Qr = {
|
|
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
|
+
}, re = {
|
|
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
|
+
}, ee = {
|
|
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
|
+
}, te = Vr.bind(Wr), er = "purpur-icon", ae = "md", ie = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), oe = ({ 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 ${ie(a)}>${n}${e}</svg>`;
|
|
95
|
+
}, ne = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), xr = ({
|
|
96
96
|
["data-testid"]: e,
|
|
97
97
|
svg: i,
|
|
98
98
|
allyTitle: a,
|
|
99
99
|
className: n,
|
|
100
|
-
size: p =
|
|
100
|
+
size: p = ae,
|
|
101
101
|
...r
|
|
102
102
|
}) => {
|
|
103
|
-
const t =
|
|
104
|
-
content:
|
|
103
|
+
const t = oe({
|
|
104
|
+
content: ne(i.svg),
|
|
105
105
|
title: a
|
|
106
|
-
}), o =
|
|
106
|
+
}), o = te(n, er, `${er}--${p}`);
|
|
107
107
|
return /* @__PURE__ */ l(
|
|
108
108
|
"span",
|
|
109
109
|
{
|
|
@@ -116,7 +116,7 @@ const Hr = /* @__PURE__ */ Tr(zr), Vr = {
|
|
|
116
116
|
);
|
|
117
117
|
};
|
|
118
118
|
xr.displayName = "Icon";
|
|
119
|
-
function
|
|
119
|
+
function pe(e) {
|
|
120
120
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
121
121
|
}
|
|
122
122
|
var wr = { exports: {} };
|
|
@@ -155,8 +155,8 @@ var wr = { exports: {} };
|
|
|
155
155
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
156
156
|
})();
|
|
157
157
|
})(wr);
|
|
158
|
-
var
|
|
159
|
-
const
|
|
158
|
+
var le = wr.exports;
|
|
159
|
+
const ue = /* @__PURE__ */ pe(le), tr = {
|
|
160
160
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
161
161
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
162
162
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -166,7 +166,7 @@ const le = /* @__PURE__ */ ne(pe), tr = {
|
|
|
166
166
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
167
167
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
168
168
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
169
|
-
}, ar = "purpur-badge",
|
|
169
|
+
}, ar = "purpur-badge", w = {
|
|
170
170
|
ATTENTION: "attention",
|
|
171
171
|
SPECIAL: "special",
|
|
172
172
|
NEUTRAL: "neutral",
|
|
@@ -175,27 +175,27 @@ const le = /* @__PURE__ */ ne(pe), tr = {
|
|
|
175
175
|
WARNING: "warning",
|
|
176
176
|
ERROR: "error",
|
|
177
177
|
BLACK_FRIDAY: "black-friday"
|
|
178
|
-
},
|
|
178
|
+
}, se = (e) => {
|
|
179
179
|
switch (e) {
|
|
180
|
-
case
|
|
181
|
-
case
|
|
180
|
+
case w.ATTENTION:
|
|
181
|
+
case w.SPECIAL:
|
|
182
|
+
return Qr;
|
|
183
|
+
case w.INFORMATION:
|
|
182
184
|
return Jr;
|
|
183
|
-
case
|
|
184
|
-
return Yr;
|
|
185
|
-
case b.SUCCESS:
|
|
186
|
-
return Xr;
|
|
187
|
-
case b.WARNING:
|
|
188
|
-
return Wr;
|
|
189
|
-
case b.ERROR:
|
|
185
|
+
case w.SUCCESS:
|
|
190
186
|
return Kr;
|
|
191
|
-
case
|
|
192
|
-
return
|
|
193
|
-
case
|
|
187
|
+
case w.WARNING:
|
|
188
|
+
return Xr;
|
|
189
|
+
case w.ERROR:
|
|
190
|
+
return Yr;
|
|
191
|
+
case w.NEUTRAL:
|
|
194
192
|
return re;
|
|
193
|
+
case w.BLACK_FRIDAY:
|
|
194
|
+
return ee;
|
|
195
195
|
default:
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, de = ({
|
|
199
199
|
children: e,
|
|
200
200
|
showIcon: i = !0,
|
|
201
201
|
variant: a,
|
|
@@ -204,17 +204,17 @@ const le = /* @__PURE__ */ ne(pe), tr = {
|
|
|
204
204
|
className: r = "",
|
|
205
205
|
...t
|
|
206
206
|
}) => {
|
|
207
|
-
const o =
|
|
207
|
+
const o = se(a), u = ue([r, tr[ar], tr[`${ar}--${a}`]]);
|
|
208
208
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
209
209
|
i && o && /* @__PURE__ */ l(xr, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
210
210
|
e
|
|
211
211
|
] });
|
|
212
|
-
},
|
|
212
|
+
}, ce = {
|
|
213
213
|
SM: "sm",
|
|
214
214
|
MD: "md",
|
|
215
215
|
LG: "lg"
|
|
216
216
|
};
|
|
217
|
-
function
|
|
217
|
+
function _e(e) {
|
|
218
218
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
219
219
|
}
|
|
220
220
|
var br = { exports: {} };
|
|
@@ -253,30 +253,30 @@ var br = { exports: {} };
|
|
|
253
253
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
254
254
|
})();
|
|
255
255
|
})(br);
|
|
256
|
-
var
|
|
257
|
-
const ir = /* @__PURE__ */
|
|
256
|
+
var fe = br.exports;
|
|
257
|
+
const ir = /* @__PURE__ */ _e(fe), ge = "_rotate_1xozj_1", he = "_dash_1xozj_1", Z = {
|
|
258
258
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
259
|
-
rotate:
|
|
259
|
+
rotate: ge,
|
|
260
260
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
261
261
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
262
262
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
263
263
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
264
264
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
265
265
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
266
|
-
dash:
|
|
266
|
+
dash: he,
|
|
267
267
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
268
268
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
269
|
-
}, I = "purpur-spinner",
|
|
269
|
+
}, I = "purpur-spinner", me = {
|
|
270
270
|
XXS: "xxs",
|
|
271
271
|
XS: "xs",
|
|
272
272
|
SM: "sm",
|
|
273
273
|
MD: "md",
|
|
274
274
|
LG: "lg"
|
|
275
|
-
},
|
|
275
|
+
}, ve = ({
|
|
276
276
|
["data-testid"]: e,
|
|
277
277
|
disabled: i = !1,
|
|
278
278
|
negative: a = !1,
|
|
279
|
-
size: n =
|
|
279
|
+
size: n = me.SM,
|
|
280
280
|
...p
|
|
281
281
|
}) => /* @__PURE__ */ l(
|
|
282
282
|
"div",
|
|
@@ -298,7 +298,7 @@ const ir = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1",
|
|
|
298
298
|
) })
|
|
299
299
|
}
|
|
300
300
|
);
|
|
301
|
-
function
|
|
301
|
+
function ye(e) {
|
|
302
302
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
303
303
|
}
|
|
304
304
|
var $r = { exports: {} };
|
|
@@ -337,8 +337,8 @@ var $r = { exports: {} };
|
|
|
337
337
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
338
338
|
})();
|
|
339
339
|
})($r);
|
|
340
|
-
var
|
|
341
|
-
const
|
|
340
|
+
var xe = $r.exports;
|
|
341
|
+
const we = /* @__PURE__ */ ye(xe), be = {
|
|
342
342
|
"purpur-button": "_purpur-button_1acxn_1",
|
|
343
343
|
"purpur-button--sm": "_purpur-button--sm_1acxn_33",
|
|
344
344
|
"purpur-button--icon-only": "_purpur-button--icon-only_1acxn_36",
|
|
@@ -359,7 +359,7 @@ const xe = /* @__PURE__ */ ve(ye), we = {
|
|
|
359
359
|
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_1acxn_160",
|
|
360
360
|
"purpur-button--text-negative": "_purpur-button--text-negative_1acxn_175",
|
|
361
361
|
"purpur-button--text": "_purpur-button--text_1acxn_175"
|
|
362
|
-
},
|
|
362
|
+
}, $e = we.bind(be), A = "purpur-button", Se = ({
|
|
363
363
|
children: e,
|
|
364
364
|
className: i,
|
|
365
365
|
["data-testid"]: a,
|
|
@@ -371,12 +371,12 @@ const xe = /* @__PURE__ */ ve(ye), we = {
|
|
|
371
371
|
onClick: u,
|
|
372
372
|
size: c = "md",
|
|
373
373
|
variant: g,
|
|
374
|
-
type:
|
|
374
|
+
type: S = "button",
|
|
375
375
|
...d
|
|
376
376
|
}, F) => {
|
|
377
377
|
if (r && g === "destructive")
|
|
378
378
|
return null;
|
|
379
|
-
const
|
|
379
|
+
const v = $e(
|
|
380
380
|
[
|
|
381
381
|
A,
|
|
382
382
|
`${A}--${o ? `${g}-negative` : g}`,
|
|
@@ -389,29 +389,29 @@ const xe = /* @__PURE__ */ ve(ye), we = {
|
|
|
389
389
|
[`${A}--disabled`]: n || t
|
|
390
390
|
},
|
|
391
391
|
i
|
|
392
|
-
), h = (
|
|
393
|
-
n || t ?
|
|
394
|
-
},
|
|
392
|
+
), h = (P) => {
|
|
393
|
+
n || t ? P.preventDefault() : u && u(P);
|
|
394
|
+
}, C = !!d["aria-disabled"] || n || t;
|
|
395
395
|
return /* @__PURE__ */ _(
|
|
396
396
|
"button",
|
|
397
397
|
{
|
|
398
|
-
className:
|
|
398
|
+
className: v,
|
|
399
399
|
"data-testid": a,
|
|
400
|
-
type:
|
|
400
|
+
type: S,
|
|
401
401
|
ref: F,
|
|
402
|
-
"aria-disabled":
|
|
402
|
+
"aria-disabled": C,
|
|
403
403
|
onClick: h,
|
|
404
404
|
...d,
|
|
405
405
|
children: [
|
|
406
|
-
t && /* @__PURE__ */ l(
|
|
406
|
+
t && /* @__PURE__ */ l(ve, { size: c === ce.LG ? "xs" : "xxs", negative: o, disabled: C }),
|
|
407
407
|
" ",
|
|
408
408
|
e
|
|
409
409
|
]
|
|
410
410
|
}
|
|
411
411
|
);
|
|
412
|
-
}, Sr =
|
|
412
|
+
}, Sr = $(Se);
|
|
413
413
|
Sr.displayName = "Button";
|
|
414
|
-
function
|
|
414
|
+
function Ce(e) {
|
|
415
415
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
416
416
|
}
|
|
417
417
|
var Cr = { exports: {} };
|
|
@@ -450,11 +450,11 @@ var Cr = { exports: {} };
|
|
|
450
450
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
451
451
|
})();
|
|
452
452
|
})(Cr);
|
|
453
|
-
var
|
|
454
|
-
const
|
|
453
|
+
var ke = Cr.exports;
|
|
454
|
+
const m = /* @__PURE__ */ Ce(ke), Ae = {
|
|
455
455
|
"purpur-card": "_purpur-card_1owb4_1"
|
|
456
456
|
};
|
|
457
|
-
function
|
|
457
|
+
function Oe(e) {
|
|
458
458
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
459
459
|
}
|
|
460
460
|
var kr = { exports: {} };
|
|
@@ -493,8 +493,8 @@ var kr = { exports: {} };
|
|
|
493
493
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
494
494
|
})();
|
|
495
495
|
})(kr);
|
|
496
|
-
var
|
|
497
|
-
const
|
|
496
|
+
var Be = kr.exports;
|
|
497
|
+
const Fe = /* @__PURE__ */ Oe(Be), Me = {
|
|
498
498
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
499
499
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
500
500
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -502,61 +502,61 @@ const Be = /* @__PURE__ */ Ae(Oe), Fe = {
|
|
|
502
502
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
503
503
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
504
504
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
505
|
-
},
|
|
505
|
+
}, Ne = {
|
|
506
506
|
name: "alert",
|
|
507
507
|
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>',
|
|
508
508
|
keywords: ["alert"],
|
|
509
509
|
category: "status"
|
|
510
|
-
},
|
|
510
|
+
}, Ee = {
|
|
511
511
|
name: "check-circle",
|
|
512
512
|
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>',
|
|
513
513
|
keywords: ["check-circle"],
|
|
514
514
|
category: "status"
|
|
515
|
-
},
|
|
515
|
+
}, Ge = {
|
|
516
516
|
name: "error",
|
|
517
517
|
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>',
|
|
518
518
|
keywords: ["error"],
|
|
519
519
|
category: "status"
|
|
520
|
-
},
|
|
520
|
+
}, Ze = {
|
|
521
521
|
name: "info",
|
|
522
522
|
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>',
|
|
523
523
|
keywords: ["info"],
|
|
524
524
|
category: "status"
|
|
525
|
-
},
|
|
525
|
+
}, Ie = {
|
|
526
526
|
name: "offering",
|
|
527
527
|
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>',
|
|
528
528
|
keywords: ["offering"],
|
|
529
529
|
category: "other"
|
|
530
|
-
},
|
|
530
|
+
}, je = {
|
|
531
531
|
name: "question",
|
|
532
532
|
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>',
|
|
533
533
|
keywords: ["question"],
|
|
534
534
|
category: "status"
|
|
535
|
-
},
|
|
535
|
+
}, Ue = {
|
|
536
536
|
name: "tag",
|
|
537
537
|
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>',
|
|
538
538
|
keywords: ["tag"],
|
|
539
539
|
category: "other"
|
|
540
|
-
},
|
|
540
|
+
}, Le = Fe.bind(Me), or = "purpur-icon", Re = "md", qe = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), De = ({ content: e = "", title: i } = {}) => {
|
|
541
541
|
const a = [
|
|
542
542
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
543
543
|
{ name: "fill", value: "currentColor" },
|
|
544
544
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
545
545
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
546
546
|
], n = i ? `<title>${i}</title>` : "";
|
|
547
|
-
return `<svg ${
|
|
547
|
+
return `<svg ${qe(a)}>${n}${e}</svg>`;
|
|
548
548
|
}, Pe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ar = ({
|
|
549
549
|
["data-testid"]: e,
|
|
550
550
|
svg: i,
|
|
551
551
|
allyTitle: a,
|
|
552
552
|
className: n,
|
|
553
|
-
size: p =
|
|
553
|
+
size: p = Re,
|
|
554
554
|
...r
|
|
555
555
|
}) => {
|
|
556
556
|
const t = De({
|
|
557
557
|
content: Pe(i.svg),
|
|
558
558
|
title: a
|
|
559
|
-
}), o =
|
|
559
|
+
}), o = Le(n, or, `${or}--${p}`);
|
|
560
560
|
return /* @__PURE__ */ l(
|
|
561
561
|
"span",
|
|
562
562
|
{
|
|
@@ -569,7 +569,7 @@ const Be = /* @__PURE__ */ Ae(Oe), Fe = {
|
|
|
569
569
|
);
|
|
570
570
|
};
|
|
571
571
|
Ar.displayName = "Icon";
|
|
572
|
-
function
|
|
572
|
+
function Te(e) {
|
|
573
573
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
574
574
|
}
|
|
575
575
|
var Or = { exports: {} };
|
|
@@ -608,8 +608,8 @@ var Or = { exports: {} };
|
|
|
608
608
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
609
609
|
})();
|
|
610
610
|
})(Or);
|
|
611
|
-
var
|
|
612
|
-
const
|
|
611
|
+
var ze = Or.exports;
|
|
612
|
+
const He = /* @__PURE__ */ Te(ze), nr = {
|
|
613
613
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
614
614
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
615
615
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -619,7 +619,7 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
|
|
|
619
619
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
620
620
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
621
621
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
622
|
-
}, pr = "purpur-badge",
|
|
622
|
+
}, pr = "purpur-badge", b = {
|
|
623
623
|
ATTENTION: "attention",
|
|
624
624
|
SPECIAL: "special",
|
|
625
625
|
NEUTRAL: "neutral",
|
|
@@ -628,27 +628,27 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
|
|
|
628
628
|
WARNING: "warning",
|
|
629
629
|
ERROR: "error",
|
|
630
630
|
BLACK_FRIDAY: "black-friday"
|
|
631
|
-
},
|
|
631
|
+
}, Ve = (e) => {
|
|
632
632
|
switch (e) {
|
|
633
|
-
case
|
|
634
|
-
case
|
|
633
|
+
case b.ATTENTION:
|
|
634
|
+
case b.SPECIAL:
|
|
635
|
+
return Ie;
|
|
636
|
+
case b.INFORMATION:
|
|
635
637
|
return Ze;
|
|
636
|
-
case
|
|
637
|
-
return Ge;
|
|
638
|
-
case $.SUCCESS:
|
|
639
|
-
return Ne;
|
|
640
|
-
case $.WARNING:
|
|
641
|
-
return Me;
|
|
642
|
-
case $.ERROR:
|
|
638
|
+
case b.SUCCESS:
|
|
643
639
|
return Ee;
|
|
644
|
-
case
|
|
645
|
-
return
|
|
646
|
-
case
|
|
640
|
+
case b.WARNING:
|
|
641
|
+
return Ne;
|
|
642
|
+
case b.ERROR:
|
|
643
|
+
return Ge;
|
|
644
|
+
case b.NEUTRAL:
|
|
647
645
|
return je;
|
|
646
|
+
case b.BLACK_FRIDAY:
|
|
647
|
+
return Ue;
|
|
648
648
|
default:
|
|
649
649
|
return;
|
|
650
650
|
}
|
|
651
|
-
},
|
|
651
|
+
}, We = ({
|
|
652
652
|
children: e,
|
|
653
653
|
showIcon: i = !0,
|
|
654
654
|
variant: a,
|
|
@@ -657,42 +657,42 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
|
|
|
657
657
|
className: r = "",
|
|
658
658
|
...t
|
|
659
659
|
}) => {
|
|
660
|
-
const o =
|
|
660
|
+
const o = Ve(a), u = He([r, nr[pr], nr[`${pr}--${a}`]]);
|
|
661
661
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
662
662
|
i && o && /* @__PURE__ */ l(Ar, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
663
663
|
e
|
|
664
664
|
] });
|
|
665
|
-
},
|
|
665
|
+
}, Xe = {
|
|
666
666
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
667
|
-
},
|
|
667
|
+
}, Ke = m.bind(Xe), Ye = "purpur-card-badge", Je = ({
|
|
668
668
|
["data-testid"]: e = "purpur-card-badge",
|
|
669
669
|
variant: i,
|
|
670
670
|
text: a
|
|
671
671
|
}) => i && a ? /* @__PURE__ */ l(
|
|
672
|
-
|
|
672
|
+
We,
|
|
673
673
|
{
|
|
674
|
-
className:
|
|
674
|
+
className: Ke(Ye),
|
|
675
675
|
variant: i,
|
|
676
676
|
showIcon: !1,
|
|
677
677
|
"data-testid": e,
|
|
678
678
|
children: a
|
|
679
679
|
}
|
|
680
|
-
) : null,
|
|
680
|
+
) : null, Qe = {
|
|
681
681
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
682
|
-
},
|
|
682
|
+
}, rt = m.bind(Qe), et = "purpur-card-content", tt = ({
|
|
683
683
|
["data-testid"]: e = "purpur-card-content",
|
|
684
684
|
children: i
|
|
685
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
686
|
-
"purpur-card-content-container": "_purpur-card-content-
|
|
687
|
-
"purpur-card-content-container--footer": "_purpur-card-content-container--
|
|
688
|
-
},
|
|
685
|
+
}) => /* @__PURE__ */ l("div", { className: rt(et), "data-testid": e, children: i }), at = {
|
|
686
|
+
"purpur-card-content-container": "_purpur-card-content-container_ueryq_1",
|
|
687
|
+
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_ueryq_12"
|
|
688
|
+
}, it = m.bind(at), lr = "purpur-card-content-container", ot = ({
|
|
689
689
|
["data-testid"]: e = "purpur-card-content-container",
|
|
690
690
|
children: i,
|
|
691
691
|
isFooter: a = !1
|
|
692
692
|
}) => /* @__PURE__ */ l(
|
|
693
693
|
"div",
|
|
694
694
|
{
|
|
695
|
-
className:
|
|
695
|
+
className: it([
|
|
696
696
|
lr,
|
|
697
697
|
{
|
|
698
698
|
[`${lr}--footer`]: a
|
|
@@ -702,7 +702,7 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
|
|
|
702
702
|
children: i
|
|
703
703
|
}
|
|
704
704
|
);
|
|
705
|
-
function
|
|
705
|
+
function nt(e) {
|
|
706
706
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
707
707
|
}
|
|
708
708
|
var Br = { exports: {} };
|
|
@@ -741,20 +741,20 @@ var Br = { exports: {} };
|
|
|
741
741
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
742
742
|
})();
|
|
743
743
|
})(Br);
|
|
744
|
-
var
|
|
745
|
-
const ur = /* @__PURE__ */
|
|
744
|
+
var pt = Br.exports;
|
|
745
|
+
const ur = /* @__PURE__ */ nt(pt), lt = "_rotate_1xozj_1", ut = "_dash_1xozj_1", j = {
|
|
746
746
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
747
|
-
rotate:
|
|
747
|
+
rotate: lt,
|
|
748
748
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
749
749
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
750
750
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
751
751
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
752
752
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
753
753
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
754
|
-
dash:
|
|
754
|
+
dash: ut,
|
|
755
755
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
756
756
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
757
|
-
}, U = "purpur-spinner",
|
|
757
|
+
}, U = "purpur-spinner", st = {
|
|
758
758
|
XXS: "xxs",
|
|
759
759
|
XS: "xs",
|
|
760
760
|
SM: "sm",
|
|
@@ -764,7 +764,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
764
764
|
["data-testid"]: e,
|
|
765
765
|
disabled: i = !1,
|
|
766
766
|
negative: a = !1,
|
|
767
|
-
size: n =
|
|
767
|
+
size: n = st.SM,
|
|
768
768
|
...p
|
|
769
769
|
}) => /* @__PURE__ */ l(
|
|
770
770
|
"div",
|
|
@@ -785,7 +785,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
785
785
|
}
|
|
786
786
|
) })
|
|
787
787
|
}
|
|
788
|
-
),
|
|
788
|
+
), dt = {
|
|
789
789
|
"purpur-card-cta": "_purpur-card-cta_1fd16_1",
|
|
790
790
|
"purpur-card-cta--sm": "_purpur-card-cta--sm_1fd16_33",
|
|
791
791
|
"purpur-card-cta--icon-only": "_purpur-card-cta--icon-only_1fd16_36",
|
|
@@ -800,7 +800,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
800
800
|
"purpur-card-cta--expressive": "_purpur-card-cta--expressive_1fd16_98",
|
|
801
801
|
"purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-negative_1fd16_108",
|
|
802
802
|
"purpur-card-cta--text": "_purpur-card-cta--text_1fd16_128"
|
|
803
|
-
},
|
|
803
|
+
}, ct = m.bind(dt), O = "purpur-card-cta", _t = ({
|
|
804
804
|
["data-testid"]: e = "purpur-card-cta",
|
|
805
805
|
className: i,
|
|
806
806
|
children: a,
|
|
@@ -812,7 +812,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
812
812
|
}) => /* @__PURE__ */ l(
|
|
813
813
|
"div",
|
|
814
814
|
{
|
|
815
|
-
className: `${
|
|
815
|
+
className: `${ct([
|
|
816
816
|
O,
|
|
817
817
|
i,
|
|
818
818
|
`${O}--md`,
|
|
@@ -832,7 +832,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
832
832
|
] })
|
|
833
833
|
}
|
|
834
834
|
);
|
|
835
|
-
function
|
|
835
|
+
function ft(e) {
|
|
836
836
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
837
837
|
}
|
|
838
838
|
var Mr = { exports: {} };
|
|
@@ -871,8 +871,8 @@ var Mr = { exports: {} };
|
|
|
871
871
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
872
872
|
})();
|
|
873
873
|
})(Mr);
|
|
874
|
-
var
|
|
875
|
-
const
|
|
874
|
+
var gt = Mr.exports;
|
|
875
|
+
const ht = /* @__PURE__ */ ft(gt), mt = {
|
|
876
876
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
877
877
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
878
878
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -880,12 +880,12 @@ const gt = /* @__PURE__ */ _t(ft), ht = {
|
|
|
880
880
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
881
881
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
882
882
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
883
|
-
},
|
|
883
|
+
}, vt = {
|
|
884
884
|
name: "arrow-right",
|
|
885
885
|
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>',
|
|
886
886
|
keywords: ["arrow-right"],
|
|
887
887
|
category: "utility"
|
|
888
|
-
},
|
|
888
|
+
}, yt = {
|
|
889
889
|
name: "checkmark",
|
|
890
890
|
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>',
|
|
891
891
|
keywords: ["checkmark"],
|
|
@@ -894,7 +894,7 @@ const gt = /* @__PURE__ */ _t(ft), ht = {
|
|
|
894
894
|
J,
|
|
895
895
|
{
|
|
896
896
|
...e,
|
|
897
|
-
svg:
|
|
897
|
+
svg: vt
|
|
898
898
|
}
|
|
899
899
|
);
|
|
900
900
|
Nr.displayName = "IconArrowRight";
|
|
@@ -902,30 +902,30 @@ const Er = (e) => /* @__PURE__ */ l(
|
|
|
902
902
|
J,
|
|
903
903
|
{
|
|
904
904
|
...e,
|
|
905
|
-
svg:
|
|
905
|
+
svg: yt
|
|
906
906
|
}
|
|
907
907
|
);
|
|
908
908
|
Er.displayName = "IconCheckmark";
|
|
909
|
-
const
|
|
909
|
+
const xt = ht.bind(mt), sr = "purpur-icon", wt = "md", bt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), $t = ({ content: e = "", title: i } = {}) => {
|
|
910
910
|
const a = [
|
|
911
911
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
912
912
|
{ name: "fill", value: "currentColor" },
|
|
913
913
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
914
914
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
915
915
|
], n = i ? `<title>${i}</title>` : "";
|
|
916
|
-
return `<svg ${
|
|
917
|
-
},
|
|
916
|
+
return `<svg ${bt(a)}>${n}${e}</svg>`;
|
|
917
|
+
}, St = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), J = ({
|
|
918
918
|
["data-testid"]: e,
|
|
919
919
|
svg: i,
|
|
920
920
|
allyTitle: a,
|
|
921
921
|
className: n,
|
|
922
|
-
size: p =
|
|
922
|
+
size: p = wt,
|
|
923
923
|
...r
|
|
924
924
|
}) => {
|
|
925
|
-
const t =
|
|
926
|
-
content:
|
|
925
|
+
const t = $t({
|
|
926
|
+
content: St(i.svg),
|
|
927
927
|
title: a
|
|
928
|
-
}), o =
|
|
928
|
+
}), o = xt(n, sr, `${sr}--${p}`);
|
|
929
929
|
return /* @__PURE__ */ l(
|
|
930
930
|
"span",
|
|
931
931
|
{
|
|
@@ -938,7 +938,7 @@ const yt = gt.bind(ht), sr = "purpur-icon", xt = "md", wt = (e) => e.filter((i)
|
|
|
938
938
|
);
|
|
939
939
|
};
|
|
940
940
|
J.displayName = "Icon";
|
|
941
|
-
function
|
|
941
|
+
function Ct(e) {
|
|
942
942
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
943
943
|
}
|
|
944
944
|
var Gr = { exports: {} };
|
|
@@ -977,8 +977,8 @@ var Gr = { exports: {} };
|
|
|
977
977
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
978
978
|
})();
|
|
979
979
|
})(Gr);
|
|
980
|
-
var
|
|
981
|
-
const
|
|
980
|
+
var kt = Gr.exports;
|
|
981
|
+
const At = /* @__PURE__ */ Ct(kt), L = {
|
|
982
982
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
983
983
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
984
984
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -993,7 +993,7 @@ const kt = /* @__PURE__ */ St(Ct), L = {
|
|
|
993
993
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
994
994
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
995
995
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
996
|
-
},
|
|
996
|
+
}, Ot = {
|
|
997
997
|
PARAGRAPH100: "paragraph-100",
|
|
998
998
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
999
999
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -1011,10 +1011,10 @@ const kt = /* @__PURE__ */ St(Ct), L = {
|
|
|
1011
1011
|
disabled: n,
|
|
1012
1012
|
enableHyphenation: p = !1,
|
|
1013
1013
|
negative: r = !1,
|
|
1014
|
-
variant: t =
|
|
1014
|
+
variant: t = Ot.PARAGRAPH100,
|
|
1015
1015
|
...o
|
|
1016
1016
|
}) => {
|
|
1017
|
-
const u =
|
|
1017
|
+
const u = At([
|
|
1018
1018
|
a,
|
|
1019
1019
|
L[R],
|
|
1020
1020
|
L[`${R}--${t}`],
|
|
@@ -1027,10 +1027,10 @@ const kt = /* @__PURE__ */ St(Ct), L = {
|
|
|
1027
1027
|
return /* @__PURE__ */ l("p", { ...o, className: u, "data-testid": e, children: i });
|
|
1028
1028
|
};
|
|
1029
1029
|
Q.displayName = "Paragraph";
|
|
1030
|
-
const
|
|
1030
|
+
const Bt = {
|
|
1031
1031
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
1032
1032
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
1033
|
-
}, dr =
|
|
1033
|
+
}, dr = m.bind(Bt), cr = "purpur-card-feature-list", Ft = ({
|
|
1034
1034
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1035
1035
|
listItems: i
|
|
1036
1036
|
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: dr(cr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
|
|
@@ -1044,7 +1044,7 @@ const Ot = {
|
|
|
1044
1044
|
]
|
|
1045
1045
|
},
|
|
1046
1046
|
a
|
|
1047
|
-
)) }) : null,
|
|
1047
|
+
)) }) : null, Mt = {
|
|
1048
1048
|
"purpur-card-link-arrow": "_purpur-card-link-arrow_1r4zu_1",
|
|
1049
1049
|
"purpur-card-link-arrow--sm": "_purpur-card-link-arrow--sm_1r4zu_33",
|
|
1050
1050
|
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_1r4zu_36",
|
|
@@ -1058,7 +1058,7 @@ const Ot = {
|
|
|
1058
1058
|
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_1r4zu_87",
|
|
1059
1059
|
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_1r4zu_98",
|
|
1060
1060
|
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_1r4zu_108"
|
|
1061
|
-
},
|
|
1061
|
+
}, Nt = m.bind(Mt), M = "purpur-card-link-arrow", Et = ({
|
|
1062
1062
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
1063
1063
|
className: i,
|
|
1064
1064
|
disabled: a = !1,
|
|
@@ -1067,78 +1067,78 @@ const Ot = {
|
|
|
1067
1067
|
}) => /* @__PURE__ */ l(
|
|
1068
1068
|
"div",
|
|
1069
1069
|
{
|
|
1070
|
-
className: `${
|
|
1071
|
-
|
|
1070
|
+
className: `${Nt([
|
|
1071
|
+
M,
|
|
1072
1072
|
i,
|
|
1073
|
-
`${
|
|
1074
|
-
`${
|
|
1075
|
-
`${
|
|
1073
|
+
`${M}--md`,
|
|
1074
|
+
`${M}--icon-only`,
|
|
1075
|
+
`${M}--secondary`,
|
|
1076
1076
|
{
|
|
1077
|
-
[`${
|
|
1077
|
+
[`${M}--disabled`]: a
|
|
1078
1078
|
}
|
|
1079
|
-
])} ${
|
|
1079
|
+
])} ${M}`,
|
|
1080
1080
|
"data-testid": e,
|
|
1081
1081
|
...p,
|
|
1082
1082
|
children: n ? /* @__PURE__ */ l(Fr, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(Nr, { "data-testid": `${e}-arrow`, size: "md" })
|
|
1083
1083
|
}
|
|
1084
|
-
),
|
|
1084
|
+
), Gt = {
|
|
1085
1085
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1086
|
-
},
|
|
1086
|
+
}, Zt = m.bind(Gt), It = "purpur-card-overline", jt = ({
|
|
1087
1087
|
["data-testid"]: e = "purpur-card-overline",
|
|
1088
1088
|
overline: i
|
|
1089
|
-
}) => i ? /* @__PURE__ */ l(Q, { className:
|
|
1089
|
+
}) => i ? /* @__PURE__ */ l(Q, { className: Zt(It), "data-testid": e, children: i }) : null, Ut = {
|
|
1090
1090
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1091
1091
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1092
1092
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1093
1093
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1094
|
-
},
|
|
1094
|
+
}, Lt = {
|
|
1095
1095
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1096
1096
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1097
1097
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
1098
1098
|
};
|
|
1099
|
-
function
|
|
1100
|
-
return
|
|
1099
|
+
function E() {
|
|
1100
|
+
return E = Object.assign ? Object.assign.bind() : function(e) {
|
|
1101
1101
|
for (var i = 1; i < arguments.length; i++) {
|
|
1102
1102
|
var a = arguments[i];
|
|
1103
1103
|
for (var n in a) ({}).hasOwnProperty.call(a, n) && (e[n] = a[n]);
|
|
1104
1104
|
}
|
|
1105
1105
|
return e;
|
|
1106
|
-
},
|
|
1106
|
+
}, E.apply(null, arguments);
|
|
1107
1107
|
}
|
|
1108
|
-
function
|
|
1108
|
+
function Rt(e, i) {
|
|
1109
1109
|
typeof e == "function" ? e(i) : e != null && (e.current = i);
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function qt(...e) {
|
|
1112
1112
|
return (i) => e.forEach(
|
|
1113
|
-
(a) =>
|
|
1113
|
+
(a) => Rt(a, i)
|
|
1114
1114
|
);
|
|
1115
1115
|
}
|
|
1116
|
-
const Zr = /* @__PURE__ */
|
|
1117
|
-
const { children: a, ...n } = e, p =
|
|
1116
|
+
const Zr = /* @__PURE__ */ $((e, i) => {
|
|
1117
|
+
const { children: a, ...n } = e, p = q.toArray(a), r = p.find(Pt);
|
|
1118
1118
|
if (r) {
|
|
1119
|
-
const t = r.props.children, o = p.map((u) => u === r ?
|
|
1120
|
-
return /* @__PURE__ */
|
|
1119
|
+
const t = r.props.children, o = p.map((u) => u === r ? q.count(t) > 1 ? q.only(null) : /* @__PURE__ */ V(t) ? t.props.children : null : u);
|
|
1120
|
+
return /* @__PURE__ */ D(K, E({}, n, {
|
|
1121
1121
|
ref: i
|
|
1122
|
-
}), /* @__PURE__ */
|
|
1122
|
+
}), /* @__PURE__ */ V(t) ? /* @__PURE__ */ vr(t, void 0, o) : null);
|
|
1123
1123
|
}
|
|
1124
|
-
return /* @__PURE__ */
|
|
1124
|
+
return /* @__PURE__ */ D(K, E({}, n, {
|
|
1125
1125
|
ref: i
|
|
1126
1126
|
}), a);
|
|
1127
1127
|
});
|
|
1128
1128
|
Zr.displayName = "Slot";
|
|
1129
|
-
const K = /* @__PURE__ */
|
|
1129
|
+
const K = /* @__PURE__ */ $((e, i) => {
|
|
1130
1130
|
const { children: a, ...n } = e;
|
|
1131
|
-
return /* @__PURE__ */
|
|
1132
|
-
...
|
|
1133
|
-
ref: i ?
|
|
1134
|
-
}) :
|
|
1131
|
+
return /* @__PURE__ */ V(a) ? /* @__PURE__ */ vr(a, {
|
|
1132
|
+
...Tt(n, a.props),
|
|
1133
|
+
ref: i ? qt(i, a.ref) : a.ref
|
|
1134
|
+
}) : q.count(a) > 1 ? q.only(null) : null;
|
|
1135
1135
|
});
|
|
1136
1136
|
K.displayName = "SlotClone";
|
|
1137
|
-
const Dt = ({ children: e }) => /* @__PURE__ */
|
|
1137
|
+
const Dt = ({ children: e }) => /* @__PURE__ */ D(Tr, null, e);
|
|
1138
1138
|
function Pt(e) {
|
|
1139
|
-
return /* @__PURE__ */
|
|
1139
|
+
return /* @__PURE__ */ V(e) && e.type === Dt;
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function Tt(e, i) {
|
|
1142
1142
|
const a = {
|
|
1143
1143
|
...i
|
|
1144
1144
|
};
|
|
@@ -1159,7 +1159,7 @@ function qt(e, i) {
|
|
|
1159
1159
|
...a
|
|
1160
1160
|
};
|
|
1161
1161
|
}
|
|
1162
|
-
const
|
|
1162
|
+
const zt = [
|
|
1163
1163
|
"a",
|
|
1164
1164
|
"button",
|
|
1165
1165
|
"div",
|
|
@@ -1176,12 +1176,12 @@ const Tt = [
|
|
|
1176
1176
|
"span",
|
|
1177
1177
|
"svg",
|
|
1178
1178
|
"ul"
|
|
1179
|
-
],
|
|
1180
|
-
const a = /* @__PURE__ */
|
|
1179
|
+
], Ht = zt.reduce((e, i) => {
|
|
1180
|
+
const a = /* @__PURE__ */ $((n, p) => {
|
|
1181
1181
|
const { asChild: r, ...t } = n, o = r ? Zr : i;
|
|
1182
1182
|
return Pr(() => {
|
|
1183
1183
|
window[Symbol.for("radix-ui")] = !0;
|
|
1184
|
-
}, []), /* @__PURE__ */
|
|
1184
|
+
}, []), /* @__PURE__ */ D(o, E({}, t, {
|
|
1185
1185
|
ref: p
|
|
1186
1186
|
}));
|
|
1187
1187
|
});
|
|
@@ -1189,7 +1189,7 @@ const Tt = [
|
|
|
1189
1189
|
...e,
|
|
1190
1190
|
[i]: a
|
|
1191
1191
|
};
|
|
1192
|
-
}, {}),
|
|
1192
|
+
}, {}), Vt = /* @__PURE__ */ $((e, i) => /* @__PURE__ */ D(Ht.span, E({}, e, {
|
|
1193
1193
|
ref: i,
|
|
1194
1194
|
style: {
|
|
1195
1195
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -1205,12 +1205,12 @@ const Tt = [
|
|
|
1205
1205
|
wordWrap: "normal",
|
|
1206
1206
|
...e.style
|
|
1207
1207
|
}
|
|
1208
|
-
}))),
|
|
1208
|
+
}))), Wt = Vt, _r = ({
|
|
1209
1209
|
asChild: e,
|
|
1210
1210
|
children: i,
|
|
1211
1211
|
className: a = "",
|
|
1212
1212
|
["data-testid"]: n
|
|
1213
|
-
}) => /* @__PURE__ */ l(
|
|
1213
|
+
}) => /* @__PURE__ */ l(Wt, { asChild: e, "data-testid": n, className: a, children: i }), fr = m.bind(Lt), B = "purpur-card-trigger-item", Xt = ({
|
|
1214
1214
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1215
1215
|
disabled: i = !1,
|
|
1216
1216
|
href: a,
|
|
@@ -1255,7 +1255,7 @@ const Tt = [
|
|
|
1255
1255
|
children: /* @__PURE__ */ l(_r, { children: p })
|
|
1256
1256
|
}
|
|
1257
1257
|
);
|
|
1258
|
-
},
|
|
1258
|
+
}, Kt = m.bind(Ut), W = "purpur-card-root", Ir = $(
|
|
1259
1259
|
({
|
|
1260
1260
|
["data-testid"]: e = "purpur-card-root",
|
|
1261
1261
|
children: i,
|
|
@@ -1268,7 +1268,7 @@ const Tt = [
|
|
|
1268
1268
|
variant: u,
|
|
1269
1269
|
...c
|
|
1270
1270
|
}, g) => {
|
|
1271
|
-
const
|
|
1271
|
+
const S = Kt([
|
|
1272
1272
|
W,
|
|
1273
1273
|
a,
|
|
1274
1274
|
{
|
|
@@ -1276,10 +1276,10 @@ const Tt = [
|
|
|
1276
1276
|
[`${W}--full-height`]: p
|
|
1277
1277
|
}
|
|
1278
1278
|
]);
|
|
1279
|
-
return /* @__PURE__ */ _("div", { className:
|
|
1279
|
+
return /* @__PURE__ */ _("div", { className: S, "data-testid": e, ref: g, ...c, children: [
|
|
1280
1280
|
i,
|
|
1281
1281
|
(t || r) && o && /* @__PURE__ */ l(
|
|
1282
|
-
|
|
1282
|
+
Xt,
|
|
1283
1283
|
{
|
|
1284
1284
|
disabled: n,
|
|
1285
1285
|
href: r,
|
|
@@ -1291,7 +1291,7 @@ const Tt = [
|
|
|
1291
1291
|
}
|
|
1292
1292
|
);
|
|
1293
1293
|
Ir.displayName = "CardRoot";
|
|
1294
|
-
const gr =
|
|
1294
|
+
const gr = m.bind(Ae), X = "purpur-card", x = ({ children: e, className: i, ...a }) => {
|
|
1295
1295
|
const n = gr([
|
|
1296
1296
|
X,
|
|
1297
1297
|
i,
|
|
@@ -1302,15 +1302,15 @@ const gr = y.bind(ke), X = "purpur-card", w = ({ children: e, className: i, ...a
|
|
|
1302
1302
|
]);
|
|
1303
1303
|
return /* @__PURE__ */ l(Ir, { className: gr(n), ...a, children: e });
|
|
1304
1304
|
};
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
function
|
|
1305
|
+
x.Badge = Je;
|
|
1306
|
+
x.LinkArrow = Et;
|
|
1307
|
+
x.Content = tt;
|
|
1308
|
+
x.ContentContainer = ot;
|
|
1309
|
+
x.Cta = _t;
|
|
1310
|
+
x.FeatureList = Ft;
|
|
1311
|
+
x.Overline = jt;
|
|
1312
|
+
x.displayName = "Card";
|
|
1313
|
+
function Yt(e) {
|
|
1314
1314
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1315
1315
|
}
|
|
1316
1316
|
var jr = { exports: {} };
|
|
@@ -1349,8 +1349,8 @@ var jr = { exports: {} };
|
|
|
1349
1349
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1350
1350
|
})();
|
|
1351
1351
|
})(jr);
|
|
1352
|
-
var
|
|
1353
|
-
const
|
|
1352
|
+
var Jt = jr.exports;
|
|
1353
|
+
const Qt = /* @__PURE__ */ Yt(Jt), ra = {
|
|
1354
1354
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1355
1355
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1356
1356
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1358,46 +1358,46 @@ const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
|
|
|
1358
1358
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1359
1359
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1360
1360
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1361
|
-
},
|
|
1361
|
+
}, ea = {
|
|
1362
1362
|
name: "arrow-left",
|
|
1363
1363
|
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>',
|
|
1364
1364
|
keywords: ["arrow-left"],
|
|
1365
1365
|
category: "utility"
|
|
1366
|
-
},
|
|
1366
|
+
}, ta = {
|
|
1367
1367
|
name: "arrow-right",
|
|
1368
1368
|
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>',
|
|
1369
1369
|
keywords: ["arrow-right"],
|
|
1370
1370
|
category: "utility"
|
|
1371
|
-
},
|
|
1371
|
+
}, aa = {
|
|
1372
1372
|
name: "external",
|
|
1373
1373
|
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>',
|
|
1374
1374
|
keywords: ["external"],
|
|
1375
1375
|
category: "media"
|
|
1376
|
-
},
|
|
1376
|
+
}, ia = {
|
|
1377
1377
|
name: "phone",
|
|
1378
1378
|
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>',
|
|
1379
1379
|
keywords: ["phone"],
|
|
1380
1380
|
category: "device"
|
|
1381
|
-
},
|
|
1381
|
+
}, oa = Qt.bind(ra), hr = "purpur-icon", na = "md", pa = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), la = ({ content: e = "", title: i } = {}) => {
|
|
1382
1382
|
const a = [
|
|
1383
1383
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1384
1384
|
{ name: "fill", value: "currentColor" },
|
|
1385
1385
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1386
1386
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1387
1387
|
], n = i ? `<title>${i}</title>` : "";
|
|
1388
|
-
return `<svg ${
|
|
1389
|
-
},
|
|
1388
|
+
return `<svg ${pa(a)}>${n}${e}</svg>`;
|
|
1389
|
+
}, ua = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Y = ({
|
|
1390
1390
|
["data-testid"]: e,
|
|
1391
1391
|
svg: i,
|
|
1392
1392
|
allyTitle: a,
|
|
1393
1393
|
className: n,
|
|
1394
|
-
size: p =
|
|
1394
|
+
size: p = na,
|
|
1395
1395
|
...r
|
|
1396
1396
|
}) => {
|
|
1397
|
-
const t =
|
|
1398
|
-
content:
|
|
1397
|
+
const t = la({
|
|
1398
|
+
content: ua(i.svg),
|
|
1399
1399
|
title: a
|
|
1400
|
-
}), o =
|
|
1400
|
+
}), o = oa(n, hr, `${hr}--${p}`);
|
|
1401
1401
|
return /* @__PURE__ */ l(
|
|
1402
1402
|
"span",
|
|
1403
1403
|
{
|
|
@@ -1410,7 +1410,7 @@ const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
|
|
|
1410
1410
|
);
|
|
1411
1411
|
};
|
|
1412
1412
|
Y.displayName = "Icon";
|
|
1413
|
-
function
|
|
1413
|
+
function sa(e) {
|
|
1414
1414
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1415
1415
|
}
|
|
1416
1416
|
var Ur = { exports: {} };
|
|
@@ -1449,8 +1449,8 @@ var Ur = { exports: {} };
|
|
|
1449
1449
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1450
1450
|
})();
|
|
1451
1451
|
})(Ur);
|
|
1452
|
-
var
|
|
1453
|
-
const
|
|
1452
|
+
var da = Ur.exports;
|
|
1453
|
+
const ca = /* @__PURE__ */ sa(da), _a = {
|
|
1454
1454
|
"purpur-cta-link": "_purpur-cta-link_1mhg7_1",
|
|
1455
1455
|
"purpur-cta-link--sm": "_purpur-cta-link--sm_1mhg7_33",
|
|
1456
1456
|
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1mhg7_36",
|
|
@@ -1464,12 +1464,12 @@ const da = /* @__PURE__ */ ua(sa), ca = {
|
|
|
1464
1464
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1mhg7_87",
|
|
1465
1465
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1mhg7_98",
|
|
1466
1466
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1mhg7_108"
|
|
1467
|
-
},
|
|
1468
|
-
forward:
|
|
1469
|
-
external:
|
|
1470
|
-
back:
|
|
1471
|
-
phone:
|
|
1472
|
-
},
|
|
1467
|
+
}, fa = ca.bind(_a), N = "purpur-cta-link", ga = {
|
|
1468
|
+
forward: ta,
|
|
1469
|
+
external: aa,
|
|
1470
|
+
back: ea,
|
|
1471
|
+
phone: ia
|
|
1472
|
+
}, ha = $(
|
|
1473
1473
|
({
|
|
1474
1474
|
children: e,
|
|
1475
1475
|
className: i,
|
|
@@ -1482,31 +1482,31 @@ const da = /* @__PURE__ */ ua(sa), ca = {
|
|
|
1482
1482
|
icon: u = "forward",
|
|
1483
1483
|
...c
|
|
1484
1484
|
}, g) => {
|
|
1485
|
-
const
|
|
1485
|
+
const S = fa(
|
|
1486
1486
|
[
|
|
1487
1487
|
i,
|
|
1488
|
-
|
|
1489
|
-
`${
|
|
1490
|
-
`${
|
|
1488
|
+
N,
|
|
1489
|
+
`${N}--${r ? `${o}-negative` : o}`,
|
|
1490
|
+
`${N}--${t}`
|
|
1491
1491
|
],
|
|
1492
1492
|
{
|
|
1493
|
-
[`${
|
|
1494
|
-
[`${
|
|
1495
|
-
[`${
|
|
1493
|
+
[`${N}--icon-only`]: p,
|
|
1494
|
+
[`${N}--negative`]: r,
|
|
1495
|
+
[`${N}--full-width`]: n
|
|
1496
1496
|
}
|
|
1497
|
-
), d =
|
|
1497
|
+
), d = ga[u], F = /* @__PURE__ */ _(mr, { children: [
|
|
1498
1498
|
(u === "back" || u === "phone") && /* @__PURE__ */ l(Y, { svg: d, size: t === "lg" ? "sm" : "xs" }),
|
|
1499
1499
|
!p && e,
|
|
1500
1500
|
(u === "forward" || u === "external") && /* @__PURE__ */ l(Y, { svg: d, size: t === "lg" ? "sm" : "xs" })
|
|
1501
|
-
] }),
|
|
1501
|
+
] }), v = {
|
|
1502
1502
|
...c,
|
|
1503
|
-
className:
|
|
1503
|
+
className: S,
|
|
1504
1504
|
"data-testid": a
|
|
1505
1505
|
};
|
|
1506
|
-
return "href" in c && c.href ? /* @__PURE__ */ l("a", { ...
|
|
1506
|
+
return "href" in c && c.href ? /* @__PURE__ */ l("a", { ...v, ref: g, children: F }) : /* @__PURE__ */ l("span", { ...v, ref: g, children: F });
|
|
1507
1507
|
}
|
|
1508
1508
|
);
|
|
1509
|
-
function
|
|
1509
|
+
function ma(e) {
|
|
1510
1510
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1511
1511
|
}
|
|
1512
1512
|
var Lr = { exports: {} };
|
|
@@ -1545,8 +1545,8 @@ var Lr = { exports: {} };
|
|
|
1545
1545
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1546
1546
|
})();
|
|
1547
1547
|
})(Lr);
|
|
1548
|
-
var
|
|
1549
|
-
const
|
|
1548
|
+
var va = Lr.exports;
|
|
1549
|
+
const ya = /* @__PURE__ */ ma(va), z = {
|
|
1550
1550
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1551
1551
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1552
1552
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1562,7 +1562,7 @@ const va = /* @__PURE__ */ ha(ma), T = {
|
|
|
1562
1562
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1563
1563
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1564
1564
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1565
|
-
},
|
|
1565
|
+
}, xa = {
|
|
1566
1566
|
TITLE100: "title-100",
|
|
1567
1567
|
TITLE200: "title-200",
|
|
1568
1568
|
TITLE300: "title-300",
|
|
@@ -1571,32 +1571,32 @@ const va = /* @__PURE__ */ ha(ma), T = {
|
|
|
1571
1571
|
TITLE600: "title-600",
|
|
1572
1572
|
TITLE700: "title-700",
|
|
1573
1573
|
SUBSECTION100: "subsection-100"
|
|
1574
|
-
},
|
|
1574
|
+
}, H = "purpur-heading", Rr = ({
|
|
1575
1575
|
["data-testid"]: e,
|
|
1576
1576
|
children: i,
|
|
1577
1577
|
className: a = "",
|
|
1578
1578
|
enableHyphenation: n = !1,
|
|
1579
1579
|
negative: p = !1,
|
|
1580
1580
|
tag: r,
|
|
1581
|
-
variant: t =
|
|
1581
|
+
variant: t = xa.TITLE100,
|
|
1582
1582
|
...o
|
|
1583
1583
|
}) => {
|
|
1584
|
-
const u = r, c =
|
|
1584
|
+
const u = r, c = ya([
|
|
1585
1585
|
a,
|
|
1586
|
-
|
|
1587
|
-
|
|
1586
|
+
z[H],
|
|
1587
|
+
z[`${H}--${t}`],
|
|
1588
1588
|
{
|
|
1589
|
-
[
|
|
1590
|
-
[
|
|
1589
|
+
[z[`${H}--hyphens`]]: n,
|
|
1590
|
+
[z[`${H}--negative`]]: p
|
|
1591
1591
|
}
|
|
1592
1592
|
]);
|
|
1593
1593
|
return /* @__PURE__ */ l(u, { ...o, className: c, "data-testid": e, children: i });
|
|
1594
1594
|
};
|
|
1595
1595
|
Rr.displayName = "Heading";
|
|
1596
|
-
function
|
|
1596
|
+
function wa(e) {
|
|
1597
1597
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1598
1598
|
}
|
|
1599
|
-
var
|
|
1599
|
+
var qr = { exports: {} };
|
|
1600
1600
|
/*!
|
|
1601
1601
|
Copyright (c) 2018 Jed Watson.
|
|
1602
1602
|
Licensed under the MIT License (MIT), see
|
|
@@ -1631,9 +1631,9 @@ var Dr = { exports: {} };
|
|
|
1631
1631
|
}
|
|
1632
1632
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1633
1633
|
})();
|
|
1634
|
-
})(
|
|
1635
|
-
var
|
|
1636
|
-
const
|
|
1634
|
+
})(qr);
|
|
1635
|
+
var ba = qr.exports;
|
|
1636
|
+
const $a = /* @__PURE__ */ wa(ba), Sa = {
|
|
1637
1637
|
"purpur-promotion-card": "_purpur-promotion-card_12rh3_1",
|
|
1638
1638
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_12rh3_8",
|
|
1639
1639
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_12rh3_8",
|
|
@@ -1651,19 +1651,19 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1651
1651
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_12rh3_140",
|
|
1652
1652
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_12rh3_143",
|
|
1653
1653
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_12rh3_144"
|
|
1654
|
-
},
|
|
1654
|
+
}, Za = ["primary", "secondary", "quaternary"], Ca = {
|
|
1655
1655
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1656
1656
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1657
1657
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1658
|
-
},
|
|
1658
|
+
}, ka = {
|
|
1659
1659
|
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>')`,
|
|
1660
1660
|
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>')`,
|
|
1661
1661
|
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>')`
|
|
1662
|
-
},
|
|
1662
|
+
}, Aa = {
|
|
1663
1663
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1664
1664
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1665
1665
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1666
|
-
}, f =
|
|
1666
|
+
}, f = $a.bind(Sa), s = "purpur-promotion-card", Oa = ({
|
|
1667
1667
|
["data-testid"]: e,
|
|
1668
1668
|
variant: i = "primary",
|
|
1669
1669
|
badgeText: a,
|
|
@@ -1675,32 +1675,32 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1675
1675
|
className: u,
|
|
1676
1676
|
actions: c,
|
|
1677
1677
|
children: g,
|
|
1678
|
-
style:
|
|
1678
|
+
style: S,
|
|
1679
1679
|
...d
|
|
1680
1680
|
}, F) => {
|
|
1681
|
-
let
|
|
1681
|
+
let v = d, h, C;
|
|
1682
1682
|
if ("decorativeImage" in d) {
|
|
1683
|
-
const { hasGradient:
|
|
1684
|
-
h =
|
|
1683
|
+
const { hasGradient: y, decorativeImage: k, ...G } = d;
|
|
1684
|
+
h = k, C = y, v = G;
|
|
1685
1685
|
} else if ("productImage" in d) {
|
|
1686
|
-
const { hasGradient:
|
|
1687
|
-
h =
|
|
1686
|
+
const { hasGradient: y, productImage: k, ...G } = d;
|
|
1687
|
+
h = k, C = y, v = G;
|
|
1688
1688
|
} else if ("hasGradient" in d) {
|
|
1689
|
-
const { hasGradient:
|
|
1690
|
-
|
|
1689
|
+
const { hasGradient: y, ...k } = d;
|
|
1690
|
+
C = y, v = k;
|
|
1691
1691
|
}
|
|
1692
|
-
const
|
|
1693
|
-
"--promotion-card-background":
|
|
1694
|
-
"--promotion-card-color":
|
|
1695
|
-
"--promotion-card-background-image":
|
|
1692
|
+
const P = {
|
|
1693
|
+
"--promotion-card-background": Ca[i],
|
|
1694
|
+
"--promotion-card-color": Aa[i],
|
|
1695
|
+
"--promotion-card-background-image": ka[i]
|
|
1696
1696
|
};
|
|
1697
|
-
return /* @__PURE__ */ l(
|
|
1697
|
+
return /* @__PURE__ */ l(x, { ref: F, className: f(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1698
1698
|
"div",
|
|
1699
1699
|
{
|
|
1700
1700
|
"data-testid": e,
|
|
1701
1701
|
style: {
|
|
1702
|
-
...
|
|
1703
|
-
...
|
|
1702
|
+
...P,
|
|
1703
|
+
...S
|
|
1704
1704
|
},
|
|
1705
1705
|
className: f([
|
|
1706
1706
|
u,
|
|
@@ -1711,7 +1711,7 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1711
1711
|
[`${s}--without-image`]: !h
|
|
1712
1712
|
}
|
|
1713
1713
|
]),
|
|
1714
|
-
...
|
|
1714
|
+
...v,
|
|
1715
1715
|
children: [
|
|
1716
1716
|
/* @__PURE__ */ _(
|
|
1717
1717
|
"div",
|
|
@@ -1724,7 +1724,7 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1724
1724
|
}
|
|
1725
1725
|
]),
|
|
1726
1726
|
children: [
|
|
1727
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: f(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(
|
|
1727
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: f(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(de, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1728
1728
|
n && n,
|
|
1729
1729
|
a
|
|
1730
1730
|
] }) }),
|
|
@@ -1741,29 +1741,15 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1741
1741
|
),
|
|
1742
1742
|
/* @__PURE__ */ _("div", { className: f(`${s}__body`), children: [
|
|
1743
1743
|
/* @__PURE__ */ l("div", { className: f(`${s}__child-content`), children: g }),
|
|
1744
|
-
c && c.length > 0 && /* @__PURE__ */ l("div", { className: f(`${s}__actions`), children: c.map(
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
},
|
|
1754
|
-
m
|
|
1755
|
-
) : /* @__PURE__ */ l(
|
|
1756
|
-
Sr,
|
|
1757
|
-
{
|
|
1758
|
-
iconOnly: M,
|
|
1759
|
-
variant: v ?? rr === 0 ? "primary" : "secondary",
|
|
1760
|
-
negative: v === "primary",
|
|
1761
|
-
...V,
|
|
1762
|
-
children: m
|
|
1763
|
-
},
|
|
1764
|
-
m
|
|
1765
|
-
)
|
|
1766
|
-
) })
|
|
1744
|
+
c && c.length > 0 && /* @__PURE__ */ l("div", { className: f(`${s}__actions`), children: c.map(({ label: y, variant: k, ...G }, Dr) => {
|
|
1745
|
+
const rr = k ?? Dr === 0 ? "primary" : "secondary", T = {
|
|
1746
|
+
variant: rr,
|
|
1747
|
+
negative: rr === "primary",
|
|
1748
|
+
...G,
|
|
1749
|
+
children: y
|
|
1750
|
+
};
|
|
1751
|
+
return Ba(T) ? /* @__PURE__ */ l(ha, { ...T }, y) : Fa(T) ? /* @__PURE__ */ l(Sr, { ...T }, y) : null;
|
|
1752
|
+
}) })
|
|
1767
1753
|
] })
|
|
1768
1754
|
] })
|
|
1769
1755
|
]
|
|
@@ -1781,7 +1767,7 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1781
1767
|
]),
|
|
1782
1768
|
children: [
|
|
1783
1769
|
h,
|
|
1784
|
-
|
|
1770
|
+
C && /* @__PURE__ */ l(
|
|
1785
1771
|
"div",
|
|
1786
1772
|
{
|
|
1787
1773
|
className: f(`${s}__image-gradient`),
|
|
@@ -1794,10 +1780,10 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1794
1780
|
]
|
|
1795
1781
|
}
|
|
1796
1782
|
) });
|
|
1797
|
-
},
|
|
1798
|
-
|
|
1783
|
+
}, Ba = (e) => "href" in e, Fa = (e) => "onClick" in e, Ma = $(Oa);
|
|
1784
|
+
Ma.displayName = "PromotionCard";
|
|
1799
1785
|
export {
|
|
1800
|
-
|
|
1801
|
-
|
|
1786
|
+
Ma as PromotionCard,
|
|
1787
|
+
Za as promotionCardVariants
|
|
1802
1788
|
};
|
|
1803
1789
|
//# sourceMappingURL=promotion-card.es.js.map
|