@purpurds/promotion-card 5.31.0 → 5.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +12 -5
- package/dist/promotion-card.cjs.js +19 -15
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts +6 -0
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +583 -466
- package/dist/promotion-card.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +11 -11
- package/src/promotion-card.module.scss +12 -1
- package/src/promotion-card.stories.tsx +11 -0
- package/src/promotion-card.tsx +20 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as $, Children as
|
|
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 Vr, Fragment as Wr } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function Xr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var xr = { exports: {} };
|
|
8
8
|
/*!
|
|
9
9
|
Copyright (c) 2018 Jed Watson.
|
|
10
10
|
Licensed under the MIT License (MIT), see
|
|
@@ -39,9 +39,9 @@ var vr = { exports: {} };
|
|
|
39
39
|
}
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
|
-
})(
|
|
43
|
-
var
|
|
44
|
-
const
|
|
42
|
+
})(xr);
|
|
43
|
+
var Kr = xr.exports;
|
|
44
|
+
const Yr = /* @__PURE__ */ Xr(Kr), Jr = {
|
|
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 Tr = /* @__PURE__ */ Dr(Pr), Hr = {
|
|
|
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
|
+
}, Qr = {
|
|
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
|
+
}, re = {
|
|
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
|
+
}, ee = {
|
|
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
|
+
}, te = {
|
|
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
|
+
}, ae = {
|
|
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
|
+
}, ie = {
|
|
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
|
+
}, oe = {
|
|
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
|
+
}, ne = Yr.bind(Jr), ar = "purpur-icon", pe = "md", le = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), ue = ({ 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 ${le(a)}>${n}${e}</svg>`;
|
|
95
|
+
}, se = (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 = pe,
|
|
101
101
|
...r
|
|
102
102
|
}) => {
|
|
103
|
-
const t =
|
|
104
|
-
content:
|
|
103
|
+
const t = ue({
|
|
104
|
+
content: se(i.svg),
|
|
105
105
|
title: a
|
|
106
|
-
}), o =
|
|
106
|
+
}), o = ne(n, ar, `${ar}--${p}`);
|
|
107
107
|
return /* @__PURE__ */ l(
|
|
108
108
|
"span",
|
|
109
109
|
{
|
|
@@ -115,11 +115,11 @@ const Tr = /* @__PURE__ */ Dr(Pr), Hr = {
|
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
};
|
|
118
|
-
|
|
119
|
-
function
|
|
118
|
+
br.displayName = "Icon";
|
|
119
|
+
function de(e) {
|
|
120
120
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
121
121
|
}
|
|
122
|
-
var
|
|
122
|
+
var $r = { exports: {} };
|
|
123
123
|
/*!
|
|
124
124
|
Copyright (c) 2018 Jed Watson.
|
|
125
125
|
Licensed under the MIT License (MIT), see
|
|
@@ -154,9 +154,9 @@ var xr = { exports: {} };
|
|
|
154
154
|
}
|
|
155
155
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
156
156
|
})();
|
|
157
|
-
})(
|
|
158
|
-
var
|
|
159
|
-
const
|
|
157
|
+
})($r);
|
|
158
|
+
var ce = $r.exports;
|
|
159
|
+
const _e = /* @__PURE__ */ de(ce), 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",
|
|
@@ -166,7 +166,7 @@ const pe = /* @__PURE__ */ oe(ne), er = {
|
|
|
166
166
|
"purpur-badge--warning": "_purpur-badge--warning_19vzu_33",
|
|
167
167
|
"purpur-badge--error": "_purpur-badge--error_19vzu_37",
|
|
168
168
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_19vzu_41"
|
|
169
|
-
},
|
|
169
|
+
}, or = "purpur-badge", x = {
|
|
170
170
|
ATTENTION: "attention",
|
|
171
171
|
SPECIAL: "special",
|
|
172
172
|
NEUTRAL: "neutral",
|
|
@@ -175,27 +175,27 @@ const pe = /* @__PURE__ */ oe(ne), er = {
|
|
|
175
175
|
WARNING: "warning",
|
|
176
176
|
ERROR: "error",
|
|
177
177
|
BLACK_FRIDAY: "black-friday"
|
|
178
|
-
},
|
|
178
|
+
}, fe = (e) => {
|
|
179
179
|
switch (e) {
|
|
180
|
-
case
|
|
181
|
-
case
|
|
182
|
-
return
|
|
183
|
-
case
|
|
184
|
-
return
|
|
185
|
-
case
|
|
186
|
-
return
|
|
187
|
-
case
|
|
188
|
-
return Vr;
|
|
189
|
-
case b.ERROR:
|
|
190
|
-
return Xr;
|
|
191
|
-
case b.NEUTRAL:
|
|
192
|
-
return Jr;
|
|
193
|
-
case b.BLACK_FRIDAY:
|
|
180
|
+
case x.ATTENTION:
|
|
181
|
+
case x.SPECIAL:
|
|
182
|
+
return ae;
|
|
183
|
+
case x.INFORMATION:
|
|
184
|
+
return te;
|
|
185
|
+
case x.SUCCESS:
|
|
186
|
+
return re;
|
|
187
|
+
case x.WARNING:
|
|
194
188
|
return Qr;
|
|
189
|
+
case x.ERROR:
|
|
190
|
+
return ee;
|
|
191
|
+
case x.NEUTRAL:
|
|
192
|
+
return ie;
|
|
193
|
+
case x.BLACK_FRIDAY:
|
|
194
|
+
return oe;
|
|
195
195
|
default:
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, ge = ({
|
|
199
199
|
children: e,
|
|
200
200
|
showIcon: i = !0,
|
|
201
201
|
variant: a,
|
|
@@ -204,20 +204,21 @@ const pe = /* @__PURE__ */ oe(ne), er = {
|
|
|
204
204
|
className: r = "",
|
|
205
205
|
...t
|
|
206
206
|
}) => {
|
|
207
|
-
const o =
|
|
208
|
-
return /* @__PURE__ */
|
|
209
|
-
i && o && /* @__PURE__ */ l(
|
|
207
|
+
const o = fe(a), u = _e([r, ir[or], ir[`${or}--${a}`]]);
|
|
208
|
+
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
209
|
+
i && o && /* @__PURE__ */ l(br, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
210
210
|
e
|
|
211
211
|
] });
|
|
212
|
-
},
|
|
212
|
+
}, he = {
|
|
213
|
+
XS: "xs",
|
|
213
214
|
SM: "sm",
|
|
214
215
|
MD: "md",
|
|
215
216
|
LG: "lg"
|
|
216
217
|
};
|
|
217
|
-
function
|
|
218
|
+
function me(e) {
|
|
218
219
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
219
220
|
}
|
|
220
|
-
var
|
|
221
|
+
var Sr = { exports: {} };
|
|
221
222
|
/*!
|
|
222
223
|
Copyright (c) 2018 Jed Watson.
|
|
223
224
|
Licensed under the MIT License (MIT), see
|
|
@@ -252,44 +253,44 @@ var wr = { exports: {} };
|
|
|
252
253
|
}
|
|
253
254
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
254
255
|
})();
|
|
255
|
-
})(
|
|
256
|
-
var
|
|
257
|
-
const
|
|
256
|
+
})(Sr);
|
|
257
|
+
var ve = Sr.exports;
|
|
258
|
+
const nr = /* @__PURE__ */ me(ve), ye = "_rotate_1xozj_1", we = "_dash_1xozj_1", Z = {
|
|
258
259
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
259
|
-
rotate:
|
|
260
|
+
rotate: ye,
|
|
260
261
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
261
262
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
262
263
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
263
264
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
264
265
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
265
266
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
266
|
-
dash:
|
|
267
|
+
dash: we,
|
|
267
268
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
268
269
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
269
|
-
},
|
|
270
|
+
}, q = "purpur-spinner", xe = {
|
|
270
271
|
XXS: "xxs",
|
|
271
272
|
XS: "xs",
|
|
272
273
|
SM: "sm",
|
|
273
274
|
MD: "md",
|
|
274
275
|
LG: "lg"
|
|
275
|
-
},
|
|
276
|
+
}, be = ({
|
|
276
277
|
["data-testid"]: e,
|
|
277
278
|
disabled: i = !1,
|
|
278
279
|
negative: a = !1,
|
|
279
|
-
size: n =
|
|
280
|
+
size: n = xe.SM,
|
|
280
281
|
...p
|
|
281
282
|
}) => /* @__PURE__ */ l(
|
|
282
283
|
"div",
|
|
283
284
|
{
|
|
284
|
-
className:
|
|
285
|
+
className: nr([Z[q], Z[`${q}--${n}`]]),
|
|
285
286
|
"data-testid": e,
|
|
286
287
|
...p,
|
|
287
288
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
288
289
|
"circle",
|
|
289
290
|
{
|
|
290
|
-
className:
|
|
291
|
-
[
|
|
292
|
-
[
|
|
291
|
+
className: nr(Z[`${q}__circle`], {
|
|
292
|
+
[Z[`${q}__circle--disabled`]]: i,
|
|
293
|
+
[Z[`${q}__circle--negative`]]: a
|
|
293
294
|
}),
|
|
294
295
|
cx: "25",
|
|
295
296
|
cy: "25",
|
|
@@ -298,10 +299,10 @@ const ar = /* @__PURE__ */ de(ce), _e = "_rotate_1xozj_1", fe = "_dash_1xozj_1",
|
|
|
298
299
|
) })
|
|
299
300
|
}
|
|
300
301
|
);
|
|
301
|
-
function
|
|
302
|
+
function $e(e) {
|
|
302
303
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
303
304
|
}
|
|
304
|
-
var
|
|
305
|
+
var Cr = { exports: {} };
|
|
305
306
|
/*!
|
|
306
307
|
Copyright (c) 2018 Jed Watson.
|
|
307
308
|
Licensed under the MIT License (MIT), see
|
|
@@ -336,30 +337,31 @@ var br = { exports: {} };
|
|
|
336
337
|
}
|
|
337
338
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
338
339
|
})();
|
|
339
|
-
})(
|
|
340
|
-
var
|
|
341
|
-
const
|
|
342
|
-
"purpur-button": "_purpur-
|
|
343
|
-
"purpur-button--
|
|
344
|
-
"purpur-button--icon-only": "_purpur-button--icon-
|
|
345
|
-
"purpur-button--
|
|
346
|
-
"purpur-button--
|
|
347
|
-
"purpur-button--
|
|
348
|
-
"purpur-button--
|
|
349
|
-
"purpur-button--
|
|
350
|
-
"purpur-button--
|
|
351
|
-
"purpur-button--
|
|
352
|
-
"purpur-button--secondary
|
|
353
|
-
"purpur-button--
|
|
354
|
-
"purpur-button--expressive
|
|
355
|
-
"purpur-button--negative": "_purpur-button--
|
|
356
|
-
"purpur-button--
|
|
357
|
-
"purpur-button--destructive
|
|
358
|
-
"purpur-button--
|
|
359
|
-
"purpur-button--tertiary-purple
|
|
360
|
-
"purpur-button--
|
|
361
|
-
"purpur-button--text": "_purpur-button--
|
|
362
|
-
|
|
340
|
+
})(Cr);
|
|
341
|
+
var Se = Cr.exports;
|
|
342
|
+
const Ce = /* @__PURE__ */ $e(Se), ke = {
|
|
343
|
+
"purpur-button": "_purpur-button_w455q_1",
|
|
344
|
+
"purpur-button--xs": "_purpur-button--xs_w455q_33",
|
|
345
|
+
"purpur-button--icon-only": "_purpur-button--icon-only_w455q_36",
|
|
346
|
+
"purpur-button--sm": "_purpur-button--sm_w455q_39",
|
|
347
|
+
"purpur-button--md": "_purpur-button--md_w455q_45",
|
|
348
|
+
"purpur-button--lg": "_purpur-button--lg_w455q_51",
|
|
349
|
+
"purpur-button--full-width": "_purpur-button--full-width_w455q_57",
|
|
350
|
+
"purpur-button--primary": "_purpur-button--primary_w455q_60",
|
|
351
|
+
"purpur-button--disabled": "_purpur-button--disabled_w455q_64",
|
|
352
|
+
"purpur-button--primary-negative": "_purpur-button--primary-negative_w455q_70",
|
|
353
|
+
"purpur-button--secondary": "_purpur-button--secondary_w455q_82",
|
|
354
|
+
"purpur-button--secondary-negative": "_purpur-button--secondary-negative_w455q_93",
|
|
355
|
+
"purpur-button--expressive": "_purpur-button--expressive_w455q_104",
|
|
356
|
+
"purpur-button--expressive-negative": "_purpur-button--expressive-negative_w455q_114",
|
|
357
|
+
"purpur-button--negative": "_purpur-button--negative_w455q_126",
|
|
358
|
+
"purpur-button--destructive": "_purpur-button--destructive_w455q_133",
|
|
359
|
+
"purpur-button--destructive-negative": "_purpur-button--destructive-negative_w455q_143",
|
|
360
|
+
"purpur-button--tertiary-purple": "_purpur-button--tertiary-purple_w455q_153",
|
|
361
|
+
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_w455q_166",
|
|
362
|
+
"purpur-button--text-negative": "_purpur-button--text-negative_w455q_181",
|
|
363
|
+
"purpur-button--text": "_purpur-button--text_w455q_181"
|
|
364
|
+
}, Ae = Ce.bind(ke), A = "purpur-button", Oe = ({
|
|
363
365
|
children: e,
|
|
364
366
|
className: i,
|
|
365
367
|
["data-testid"]: a,
|
|
@@ -372,11 +374,11 @@ const ye = /* @__PURE__ */ me(ve), xe = {
|
|
|
372
374
|
size: d = "md",
|
|
373
375
|
variant: g,
|
|
374
376
|
type: w = "button",
|
|
375
|
-
...
|
|
376
|
-
},
|
|
377
|
+
...F
|
|
378
|
+
}, S) => {
|
|
377
379
|
if (r && g === "destructive")
|
|
378
380
|
return null;
|
|
379
|
-
const
|
|
381
|
+
const c = Ae(
|
|
380
382
|
[
|
|
381
383
|
A,
|
|
382
384
|
`${A}--${o ? `${g}-negative` : g}`,
|
|
@@ -389,32 +391,32 @@ const ye = /* @__PURE__ */ me(ve), xe = {
|
|
|
389
391
|
[`${A}--disabled`]: n || t
|
|
390
392
|
},
|
|
391
393
|
i
|
|
392
|
-
),
|
|
393
|
-
n || t ?
|
|
394
|
-
}, C = !!
|
|
395
|
-
return /* @__PURE__ */
|
|
394
|
+
), N = (h) => {
|
|
395
|
+
n || t ? h.preventDefault() : u && u(h);
|
|
396
|
+
}, C = !!F["aria-disabled"] || n || t;
|
|
397
|
+
return /* @__PURE__ */ _(
|
|
396
398
|
"button",
|
|
397
399
|
{
|
|
398
|
-
className:
|
|
400
|
+
className: c,
|
|
399
401
|
"data-testid": a,
|
|
400
402
|
type: w,
|
|
401
|
-
ref:
|
|
403
|
+
ref: S,
|
|
402
404
|
"aria-disabled": C,
|
|
403
|
-
onClick:
|
|
404
|
-
...
|
|
405
|
+
onClick: N,
|
|
406
|
+
...F,
|
|
405
407
|
children: [
|
|
406
|
-
t && /* @__PURE__ */ l(
|
|
408
|
+
t && /* @__PURE__ */ l(be, { size: d === he.LG ? "xs" : "xxs", negative: o, disabled: C }),
|
|
407
409
|
" ",
|
|
408
410
|
e
|
|
409
411
|
]
|
|
410
412
|
}
|
|
411
413
|
);
|
|
412
|
-
},
|
|
413
|
-
|
|
414
|
-
function
|
|
414
|
+
}, kr = $(Oe);
|
|
415
|
+
kr.displayName = "Button";
|
|
416
|
+
function Be(e) {
|
|
415
417
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
416
418
|
}
|
|
417
|
-
var
|
|
419
|
+
var Ar = { exports: {} };
|
|
418
420
|
/*!
|
|
419
421
|
Copyright (c) 2018 Jed Watson.
|
|
420
422
|
Licensed under the MIT License (MIT), see
|
|
@@ -449,15 +451,15 @@ var $r = { exports: {} };
|
|
|
449
451
|
}
|
|
450
452
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
451
453
|
})();
|
|
452
|
-
})(
|
|
453
|
-
var
|
|
454
|
-
const m = /* @__PURE__ */
|
|
454
|
+
})(Ar);
|
|
455
|
+
var Fe = Ar.exports;
|
|
456
|
+
const m = /* @__PURE__ */ Be(Fe), Ne = {
|
|
455
457
|
"purpur-card": "_purpur-card_1owb4_1"
|
|
456
458
|
};
|
|
457
|
-
function
|
|
459
|
+
function Me(e) {
|
|
458
460
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
459
461
|
}
|
|
460
|
-
var
|
|
462
|
+
var Or = { exports: {} };
|
|
461
463
|
/*!
|
|
462
464
|
Copyright (c) 2018 Jed Watson.
|
|
463
465
|
Licensed under the MIT License (MIT), see
|
|
@@ -492,9 +494,9 @@ var Cr = { exports: {} };
|
|
|
492
494
|
}
|
|
493
495
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
494
496
|
})();
|
|
495
|
-
})(
|
|
496
|
-
var
|
|
497
|
-
const
|
|
497
|
+
})(Or);
|
|
498
|
+
var Ee = Or.exports;
|
|
499
|
+
const je = /* @__PURE__ */ Me(Ee), Ge = {
|
|
498
500
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
499
501
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
500
502
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -502,61 +504,61 @@ const Oe = /* @__PURE__ */ ke(Ae), Be = {
|
|
|
502
504
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
503
505
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
504
506
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
505
|
-
},
|
|
507
|
+
}, Ie = {
|
|
506
508
|
name: "alert",
|
|
507
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>',
|
|
508
510
|
keywords: ["alert"],
|
|
509
511
|
category: "status"
|
|
510
|
-
},
|
|
512
|
+
}, Ze = {
|
|
511
513
|
name: "check-circle",
|
|
512
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>',
|
|
513
515
|
keywords: ["check-circle"],
|
|
514
516
|
category: "status"
|
|
515
|
-
},
|
|
517
|
+
}, qe = {
|
|
516
518
|
name: "error",
|
|
517
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>',
|
|
518
520
|
keywords: ["error"],
|
|
519
521
|
category: "status"
|
|
520
|
-
},
|
|
522
|
+
}, Ue = {
|
|
521
523
|
name: "info",
|
|
522
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>',
|
|
523
525
|
keywords: ["info"],
|
|
524
526
|
category: "status"
|
|
525
|
-
},
|
|
527
|
+
}, Le = {
|
|
526
528
|
name: "offering",
|
|
527
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>',
|
|
528
530
|
keywords: ["offering"],
|
|
529
531
|
category: "other"
|
|
530
|
-
},
|
|
532
|
+
}, Re = {
|
|
531
533
|
name: "question",
|
|
532
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>',
|
|
533
535
|
keywords: ["question"],
|
|
534
536
|
category: "status"
|
|
535
|
-
},
|
|
537
|
+
}, Pe = {
|
|
536
538
|
name: "tag",
|
|
537
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>',
|
|
538
540
|
keywords: ["tag"],
|
|
539
541
|
category: "other"
|
|
540
|
-
},
|
|
542
|
+
}, De = je.bind(Ge), pr = "purpur-icon", ze = "md", Te = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), He = ({ content: e = "", title: i } = {}) => {
|
|
541
543
|
const a = [
|
|
542
544
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
543
545
|
{ name: "fill", value: "currentColor" },
|
|
544
546
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
545
547
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
546
548
|
], n = i ? `<title>${i}</title>` : "";
|
|
547
|
-
return `<svg ${
|
|
548
|
-
},
|
|
549
|
+
return `<svg ${Te(a)}>${n}${e}</svg>`;
|
|
550
|
+
}, Ve = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Br = ({
|
|
549
551
|
["data-testid"]: e,
|
|
550
552
|
svg: i,
|
|
551
553
|
allyTitle: a,
|
|
552
554
|
className: n,
|
|
553
|
-
size: p =
|
|
555
|
+
size: p = ze,
|
|
554
556
|
...r
|
|
555
557
|
}) => {
|
|
556
|
-
const t =
|
|
557
|
-
content:
|
|
558
|
+
const t = He({
|
|
559
|
+
content: Ve(i.svg),
|
|
558
560
|
title: a
|
|
559
|
-
}), o =
|
|
561
|
+
}), o = De(n, pr, `${pr}--${p}`);
|
|
560
562
|
return /* @__PURE__ */ l(
|
|
561
563
|
"span",
|
|
562
564
|
{
|
|
@@ -568,11 +570,11 @@ const Oe = /* @__PURE__ */ ke(Ae), Be = {
|
|
|
568
570
|
}
|
|
569
571
|
);
|
|
570
572
|
};
|
|
571
|
-
|
|
572
|
-
function
|
|
573
|
+
Br.displayName = "Icon";
|
|
574
|
+
function We(e) {
|
|
573
575
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
574
576
|
}
|
|
575
|
-
var
|
|
577
|
+
var Fr = { exports: {} };
|
|
576
578
|
/*!
|
|
577
579
|
Copyright (c) 2018 Jed Watson.
|
|
578
580
|
Licensed under the MIT License (MIT), see
|
|
@@ -607,9 +609,9 @@ var Ar = { exports: {} };
|
|
|
607
609
|
}
|
|
608
610
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
609
611
|
})();
|
|
610
|
-
})(
|
|
611
|
-
var
|
|
612
|
-
const
|
|
612
|
+
})(Fr);
|
|
613
|
+
var Xe = Fr.exports;
|
|
614
|
+
const Ke = /* @__PURE__ */ We(Xe), lr = {
|
|
613
615
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
614
616
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
615
617
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -619,7 +621,7 @@ const Pe = /* @__PURE__ */ qe(De), or = {
|
|
|
619
621
|
"purpur-badge--warning": "_purpur-badge--warning_19vzu_33",
|
|
620
622
|
"purpur-badge--error": "_purpur-badge--error_19vzu_37",
|
|
621
623
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_19vzu_41"
|
|
622
|
-
},
|
|
624
|
+
}, ur = "purpur-badge", b = {
|
|
623
625
|
ATTENTION: "attention",
|
|
624
626
|
SPECIAL: "special",
|
|
625
627
|
NEUTRAL: "neutral",
|
|
@@ -628,27 +630,27 @@ const Pe = /* @__PURE__ */ qe(De), or = {
|
|
|
628
630
|
WARNING: "warning",
|
|
629
631
|
ERROR: "error",
|
|
630
632
|
BLACK_FRIDAY: "black-friday"
|
|
631
|
-
},
|
|
633
|
+
}, Ye = (e) => {
|
|
632
634
|
switch (e) {
|
|
633
|
-
case
|
|
634
|
-
case
|
|
635
|
-
return
|
|
636
|
-
case
|
|
637
|
-
return
|
|
638
|
-
case
|
|
639
|
-
return Me;
|
|
640
|
-
case S.WARNING:
|
|
641
|
-
return Fe;
|
|
642
|
-
case S.ERROR:
|
|
643
|
-
return Ne;
|
|
644
|
-
case S.NEUTRAL:
|
|
635
|
+
case b.ATTENTION:
|
|
636
|
+
case b.SPECIAL:
|
|
637
|
+
return Le;
|
|
638
|
+
case b.INFORMATION:
|
|
639
|
+
return Ue;
|
|
640
|
+
case b.SUCCESS:
|
|
645
641
|
return Ze;
|
|
646
|
-
case
|
|
642
|
+
case b.WARNING:
|
|
647
643
|
return Ie;
|
|
644
|
+
case b.ERROR:
|
|
645
|
+
return qe;
|
|
646
|
+
case b.NEUTRAL:
|
|
647
|
+
return Re;
|
|
648
|
+
case b.BLACK_FRIDAY:
|
|
649
|
+
return Pe;
|
|
648
650
|
default:
|
|
649
651
|
return;
|
|
650
652
|
}
|
|
651
|
-
},
|
|
653
|
+
}, Je = ({
|
|
652
654
|
children: e,
|
|
653
655
|
showIcon: i = !0,
|
|
654
656
|
variant: a,
|
|
@@ -657,55 +659,55 @@ const Pe = /* @__PURE__ */ qe(De), or = {
|
|
|
657
659
|
className: r = "",
|
|
658
660
|
...t
|
|
659
661
|
}) => {
|
|
660
|
-
const o =
|
|
661
|
-
return /* @__PURE__ */
|
|
662
|
-
i && o && /* @__PURE__ */ l(
|
|
662
|
+
const o = Ye(a), u = Ke([r, lr[ur], lr[`${ur}--${a}`]]);
|
|
663
|
+
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
664
|
+
i && o && /* @__PURE__ */ l(Br, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
663
665
|
e
|
|
664
666
|
] });
|
|
665
|
-
},
|
|
667
|
+
}, Qe = {
|
|
666
668
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
667
|
-
},
|
|
669
|
+
}, rt = m.bind(Qe), et = "purpur-card-badge", tt = ({
|
|
668
670
|
["data-testid"]: e = "purpur-card-badge",
|
|
669
671
|
variant: i,
|
|
670
672
|
text: a
|
|
671
673
|
}) => i && a ? /* @__PURE__ */ l(
|
|
672
|
-
|
|
674
|
+
Je,
|
|
673
675
|
{
|
|
674
|
-
className:
|
|
676
|
+
className: rt(et),
|
|
675
677
|
variant: i,
|
|
676
678
|
showIcon: !1,
|
|
677
679
|
"data-testid": e,
|
|
678
680
|
children: a
|
|
679
681
|
}
|
|
680
|
-
) : null,
|
|
682
|
+
) : null, at = {
|
|
681
683
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
682
|
-
},
|
|
684
|
+
}, it = m.bind(at), ot = "purpur-card-content", nt = ({
|
|
683
685
|
["data-testid"]: e = "purpur-card-content",
|
|
684
686
|
children: i
|
|
685
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
687
|
+
}) => /* @__PURE__ */ l("div", { className: it(ot), "data-testid": e, children: i }), pt = {
|
|
686
688
|
"purpur-card-content-container": "_purpur-card-content-container_ueryq_1",
|
|
687
689
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_ueryq_12"
|
|
688
|
-
},
|
|
690
|
+
}, lt = m.bind(pt), sr = "purpur-card-content-container", ut = ({
|
|
689
691
|
["data-testid"]: e = "purpur-card-content-container",
|
|
690
692
|
children: i,
|
|
691
693
|
isFooter: a = !1
|
|
692
694
|
}) => /* @__PURE__ */ l(
|
|
693
695
|
"div",
|
|
694
696
|
{
|
|
695
|
-
className:
|
|
696
|
-
|
|
697
|
+
className: lt([
|
|
698
|
+
sr,
|
|
697
699
|
{
|
|
698
|
-
[`${
|
|
700
|
+
[`${sr}--footer`]: a
|
|
699
701
|
}
|
|
700
702
|
]),
|
|
701
703
|
"data-testid": e,
|
|
702
704
|
children: i
|
|
703
705
|
}
|
|
704
706
|
);
|
|
705
|
-
function
|
|
707
|
+
function st(e) {
|
|
706
708
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
707
709
|
}
|
|
708
|
-
var
|
|
710
|
+
var Nr = { exports: {} };
|
|
709
711
|
/*!
|
|
710
712
|
Copyright (c) 2018 Jed Watson.
|
|
711
713
|
Licensed under the MIT License (MIT), see
|
|
@@ -740,44 +742,44 @@ var Or = { exports: {} };
|
|
|
740
742
|
}
|
|
741
743
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
742
744
|
})();
|
|
743
|
-
})(
|
|
744
|
-
var
|
|
745
|
-
const
|
|
745
|
+
})(Nr);
|
|
746
|
+
var dt = Nr.exports;
|
|
747
|
+
const dr = /* @__PURE__ */ st(dt), ct = "_rotate_1xozj_1", _t = "_dash_1xozj_1", U = {
|
|
746
748
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
747
|
-
rotate:
|
|
749
|
+
rotate: ct,
|
|
748
750
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
749
751
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
750
752
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
751
753
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
752
754
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
753
755
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
754
|
-
dash:
|
|
756
|
+
dash: _t,
|
|
755
757
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
756
758
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
757
|
-
},
|
|
759
|
+
}, L = "purpur-spinner", ft = {
|
|
758
760
|
XXS: "xxs",
|
|
759
761
|
XS: "xs",
|
|
760
762
|
SM: "sm",
|
|
761
763
|
MD: "md",
|
|
762
764
|
LG: "lg"
|
|
763
|
-
},
|
|
765
|
+
}, Mr = ({
|
|
764
766
|
["data-testid"]: e,
|
|
765
767
|
disabled: i = !1,
|
|
766
768
|
negative: a = !1,
|
|
767
|
-
size: n =
|
|
769
|
+
size: n = ft.SM,
|
|
768
770
|
...p
|
|
769
771
|
}) => /* @__PURE__ */ l(
|
|
770
772
|
"div",
|
|
771
773
|
{
|
|
772
|
-
className:
|
|
774
|
+
className: dr([U[L], U[`${L}--${n}`]]),
|
|
773
775
|
"data-testid": e,
|
|
774
776
|
...p,
|
|
775
777
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
776
778
|
"circle",
|
|
777
779
|
{
|
|
778
|
-
className:
|
|
779
|
-
[U[`${
|
|
780
|
-
[U[`${
|
|
780
|
+
className: dr(U[`${L}__circle`], {
|
|
781
|
+
[U[`${L}__circle--disabled`]]: i,
|
|
782
|
+
[U[`${L}__circle--negative`]]: a
|
|
781
783
|
}),
|
|
782
784
|
cx: "25",
|
|
783
785
|
cy: "25",
|
|
@@ -785,22 +787,23 @@ const lr = /* @__PURE__ */ it(ot), nt = "_rotate_1xozj_1", pt = "_dash_1xozj_1",
|
|
|
785
787
|
}
|
|
786
788
|
) })
|
|
787
789
|
}
|
|
788
|
-
),
|
|
789
|
-
"purpur-card-cta": "_purpur-card-
|
|
790
|
-
"purpur-card-cta--
|
|
791
|
-
"purpur-card-cta--icon-only": "_purpur-card-cta--icon-
|
|
792
|
-
"purpur-card-cta--
|
|
793
|
-
"purpur-card-cta--
|
|
794
|
-
"purpur-card-cta--
|
|
795
|
-
"purpur-card-cta--
|
|
796
|
-
"purpur-card-cta--
|
|
797
|
-
"purpur-card-cta--
|
|
798
|
-
"purpur-card-cta--
|
|
799
|
-
"purpur-card-cta--secondary
|
|
800
|
-
"purpur-card-cta--
|
|
801
|
-
"purpur-card-cta--expressive
|
|
802
|
-
"purpur-card-cta--
|
|
803
|
-
|
|
790
|
+
), gt = {
|
|
791
|
+
"purpur-card-cta": "_purpur-card-cta_10ord_1",
|
|
792
|
+
"purpur-card-cta--xs": "_purpur-card-cta--xs_10ord_33",
|
|
793
|
+
"purpur-card-cta--icon-only": "_purpur-card-cta--icon-only_10ord_36",
|
|
794
|
+
"purpur-card-cta--sm": "_purpur-card-cta--sm_10ord_39",
|
|
795
|
+
"purpur-card-cta--md": "_purpur-card-cta--md_10ord_45",
|
|
796
|
+
"purpur-card-cta--lg": "_purpur-card-cta--lg_10ord_51",
|
|
797
|
+
"purpur-card-cta--full-width": "_purpur-card-cta--full-width_10ord_57",
|
|
798
|
+
"purpur-card-cta--primary": "_purpur-card-cta--primary_10ord_60",
|
|
799
|
+
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_10ord_64",
|
|
800
|
+
"purpur-card-cta--primary-negative": "_purpur-card-cta--primary-negative_10ord_70",
|
|
801
|
+
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_10ord_82",
|
|
802
|
+
"purpur-card-cta--secondary-negative": "_purpur-card-cta--secondary-negative_10ord_93",
|
|
803
|
+
"purpur-card-cta--expressive": "_purpur-card-cta--expressive_10ord_104",
|
|
804
|
+
"purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-negative_10ord_114",
|
|
805
|
+
"purpur-card-cta--text": "_purpur-card-cta--text_10ord_134"
|
|
806
|
+
}, ht = m.bind(gt), O = "purpur-card-cta", mt = ({
|
|
804
807
|
["data-testid"]: e = "purpur-card-cta",
|
|
805
808
|
className: i,
|
|
806
809
|
children: a,
|
|
@@ -812,7 +815,7 @@ const lr = /* @__PURE__ */ it(ot), nt = "_rotate_1xozj_1", pt = "_dash_1xozj_1",
|
|
|
812
815
|
}) => /* @__PURE__ */ l(
|
|
813
816
|
"div",
|
|
814
817
|
{
|
|
815
|
-
className: `${
|
|
818
|
+
className: `${ht([
|
|
816
819
|
O,
|
|
817
820
|
i,
|
|
818
821
|
`${O}--md`,
|
|
@@ -825,17 +828,17 @@ const lr = /* @__PURE__ */ it(ot), nt = "_rotate_1xozj_1", pt = "_dash_1xozj_1",
|
|
|
825
828
|
])} ${O}`,
|
|
826
829
|
"data-testid": e,
|
|
827
830
|
...o,
|
|
828
|
-
children: r ? /* @__PURE__ */ l(
|
|
831
|
+
children: r ? /* @__PURE__ */ l(Mr, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ _(yr, { children: [
|
|
829
832
|
p === "left" && a,
|
|
830
833
|
t,
|
|
831
834
|
p === "right" && a
|
|
832
835
|
] })
|
|
833
836
|
}
|
|
834
837
|
);
|
|
835
|
-
function
|
|
838
|
+
function vt(e) {
|
|
836
839
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
837
840
|
}
|
|
838
|
-
var
|
|
841
|
+
var Er = { exports: {} };
|
|
839
842
|
/*!
|
|
840
843
|
Copyright (c) 2018 Jed Watson.
|
|
841
844
|
Licensed under the MIT License (MIT), see
|
|
@@ -870,9 +873,9 @@ var Fr = { exports: {} };
|
|
|
870
873
|
}
|
|
871
874
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
872
875
|
})();
|
|
873
|
-
})(
|
|
874
|
-
var
|
|
875
|
-
const
|
|
876
|
+
})(Er);
|
|
877
|
+
var yt = Er.exports;
|
|
878
|
+
const wt = /* @__PURE__ */ vt(yt), xt = {
|
|
876
879
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
877
880
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
878
881
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -880,52 +883,52 @@ const ft = /* @__PURE__ */ ct(_t), gt = {
|
|
|
880
883
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
881
884
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
882
885
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
883
|
-
},
|
|
886
|
+
}, bt = {
|
|
884
887
|
name: "arrow-right",
|
|
885
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>',
|
|
886
889
|
keywords: ["arrow-right"],
|
|
887
890
|
category: "utility"
|
|
888
|
-
},
|
|
891
|
+
}, $t = {
|
|
889
892
|
name: "checkmark",
|
|
890
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>',
|
|
891
894
|
keywords: ["checkmark"],
|
|
892
895
|
category: "utility"
|
|
893
|
-
},
|
|
894
|
-
|
|
896
|
+
}, jr = (e) => /* @__PURE__ */ l(
|
|
897
|
+
er,
|
|
895
898
|
{
|
|
896
899
|
...e,
|
|
897
|
-
svg:
|
|
900
|
+
svg: bt
|
|
898
901
|
}
|
|
899
902
|
);
|
|
900
|
-
|
|
901
|
-
const
|
|
902
|
-
|
|
903
|
+
jr.displayName = "IconArrowRight";
|
|
904
|
+
const Gr = (e) => /* @__PURE__ */ l(
|
|
905
|
+
er,
|
|
903
906
|
{
|
|
904
907
|
...e,
|
|
905
|
-
svg:
|
|
908
|
+
svg: $t
|
|
906
909
|
}
|
|
907
910
|
);
|
|
908
|
-
|
|
909
|
-
const
|
|
911
|
+
Gr.displayName = "IconCheckmark";
|
|
912
|
+
const St = wt.bind(xt), cr = "purpur-icon", Ct = "md", kt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), At = ({ content: e = "", title: i } = {}) => {
|
|
910
913
|
const a = [
|
|
911
914
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
912
915
|
{ name: "fill", value: "currentColor" },
|
|
913
916
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
914
917
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
915
918
|
], n = i ? `<title>${i}</title>` : "";
|
|
916
|
-
return `<svg ${
|
|
917
|
-
},
|
|
919
|
+
return `<svg ${kt(a)}>${n}${e}</svg>`;
|
|
920
|
+
}, Ot = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), er = ({
|
|
918
921
|
["data-testid"]: e,
|
|
919
922
|
svg: i,
|
|
920
923
|
allyTitle: a,
|
|
921
924
|
className: n,
|
|
922
|
-
size: p =
|
|
925
|
+
size: p = Ct,
|
|
923
926
|
...r
|
|
924
927
|
}) => {
|
|
925
|
-
const t =
|
|
926
|
-
content:
|
|
928
|
+
const t = At({
|
|
929
|
+
content: Ot(i.svg),
|
|
927
930
|
title: a
|
|
928
|
-
}), o =
|
|
931
|
+
}), o = St(n, cr, `${cr}--${p}`);
|
|
929
932
|
return /* @__PURE__ */ l(
|
|
930
933
|
"span",
|
|
931
934
|
{
|
|
@@ -937,11 +940,11 @@ const vt = ft.bind(gt), ur = "purpur-icon", yt = "md", xt = (e) => e.filter((i)
|
|
|
937
940
|
}
|
|
938
941
|
);
|
|
939
942
|
};
|
|
940
|
-
|
|
941
|
-
function
|
|
943
|
+
er.displayName = "Icon";
|
|
944
|
+
function Bt(e) {
|
|
942
945
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
943
946
|
}
|
|
944
|
-
var
|
|
947
|
+
var Ir = { exports: {} };
|
|
945
948
|
/*!
|
|
946
949
|
Copyright (c) 2018 Jed Watson.
|
|
947
950
|
Licensed under the MIT License (MIT), see
|
|
@@ -976,9 +979,9 @@ var Er = { exports: {} };
|
|
|
976
979
|
}
|
|
977
980
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
978
981
|
})();
|
|
979
|
-
})(
|
|
980
|
-
var
|
|
981
|
-
const
|
|
982
|
+
})(Ir);
|
|
983
|
+
var Ft = Ir.exports;
|
|
984
|
+
const Nt = /* @__PURE__ */ Bt(Ft), R = {
|
|
982
985
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
983
986
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
984
987
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -993,7 +996,7 @@ const Ct = /* @__PURE__ */ St($t), L = {
|
|
|
993
996
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
994
997
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
995
998
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
996
|
-
},
|
|
999
|
+
}, Mt = {
|
|
997
1000
|
PARAGRAPH100: "paragraph-100",
|
|
998
1001
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
999
1002
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -1004,61 +1007,62 @@ const Ct = /* @__PURE__ */ St($t), L = {
|
|
|
1004
1007
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1005
1008
|
OVERLINE100: "overline-100",
|
|
1006
1009
|
OVERLINE200: "overline-200"
|
|
1007
|
-
},
|
|
1010
|
+
}, P = "purpur-paragraph", tr = ({
|
|
1008
1011
|
["data-testid"]: e,
|
|
1009
1012
|
children: i,
|
|
1010
1013
|
className: a,
|
|
1011
1014
|
disabled: n,
|
|
1012
1015
|
enableHyphenation: p = !1,
|
|
1013
1016
|
negative: r = !1,
|
|
1014
|
-
variant: t =
|
|
1017
|
+
variant: t = Mt.PARAGRAPH100,
|
|
1015
1018
|
...o
|
|
1016
1019
|
}) => {
|
|
1017
|
-
const u =
|
|
1020
|
+
const u = Nt([
|
|
1018
1021
|
a,
|
|
1019
|
-
|
|
1020
|
-
|
|
1022
|
+
R[P],
|
|
1023
|
+
R[`${P}--${t}`],
|
|
1021
1024
|
{
|
|
1022
|
-
[
|
|
1023
|
-
[
|
|
1024
|
-
[
|
|
1025
|
+
[R[`${P}--hyphens`]]: p,
|
|
1026
|
+
[R[`${P}--disabled`]]: n,
|
|
1027
|
+
[R[`${P}--negative`]]: r
|
|
1025
1028
|
}
|
|
1026
1029
|
]);
|
|
1027
1030
|
return /* @__PURE__ */ l("p", { ...o, className: u, "data-testid": e, children: i });
|
|
1028
1031
|
};
|
|
1029
|
-
|
|
1030
|
-
const
|
|
1032
|
+
tr.displayName = "Paragraph";
|
|
1033
|
+
const Et = {
|
|
1031
1034
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
1032
1035
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
1033
|
-
},
|
|
1036
|
+
}, _r = m.bind(Et), fr = "purpur-card-feature-list", jt = ({
|
|
1034
1037
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1035
1038
|
listItems: i
|
|
1036
|
-
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className:
|
|
1039
|
+
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: _r(fr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
|
|
1037
1040
|
"li",
|
|
1038
1041
|
{
|
|
1039
|
-
className:
|
|
1042
|
+
className: _r(`${fr}__list-item`),
|
|
1040
1043
|
"data-testid": `${e}-item`,
|
|
1041
1044
|
children: [
|
|
1042
|
-
/* @__PURE__ */ l(
|
|
1043
|
-
/* @__PURE__ */ l(
|
|
1045
|
+
/* @__PURE__ */ l(Gr, { size: "xs" }),
|
|
1046
|
+
/* @__PURE__ */ l(tr, { children: a })
|
|
1044
1047
|
]
|
|
1045
1048
|
},
|
|
1046
1049
|
a
|
|
1047
|
-
)) }) : null,
|
|
1048
|
-
"purpur-card-link-arrow": "_purpur-card-link-
|
|
1049
|
-
"purpur-card-link-arrow--
|
|
1050
|
-
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-
|
|
1051
|
-
"purpur-card-link-arrow--
|
|
1052
|
-
"purpur-card-link-arrow--
|
|
1053
|
-
"purpur-card-link-arrow--
|
|
1054
|
-
"purpur-card-link-arrow--
|
|
1055
|
-
"purpur-card-link-arrow--
|
|
1056
|
-
"purpur-card-link-arrow--
|
|
1057
|
-
"purpur-card-link-arrow--
|
|
1058
|
-
"purpur-card-link-arrow--secondary
|
|
1059
|
-
"purpur-card-link-arrow--
|
|
1060
|
-
"purpur-card-link-arrow--expressive
|
|
1061
|
-
|
|
1050
|
+
)) }) : null, Gt = {
|
|
1051
|
+
"purpur-card-link-arrow": "_purpur-card-link-arrow_blsmb_1",
|
|
1052
|
+
"purpur-card-link-arrow--xs": "_purpur-card-link-arrow--xs_blsmb_33",
|
|
1053
|
+
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_blsmb_36",
|
|
1054
|
+
"purpur-card-link-arrow--sm": "_purpur-card-link-arrow--sm_blsmb_39",
|
|
1055
|
+
"purpur-card-link-arrow--md": "_purpur-card-link-arrow--md_blsmb_45",
|
|
1056
|
+
"purpur-card-link-arrow--lg": "_purpur-card-link-arrow--lg_blsmb_51",
|
|
1057
|
+
"purpur-card-link-arrow--full-width": "_purpur-card-link-arrow--full-width_blsmb_57",
|
|
1058
|
+
"purpur-card-link-arrow--primary": "_purpur-card-link-arrow--primary_blsmb_60",
|
|
1059
|
+
"purpur-card-link-arrow--disabled": "_purpur-card-link-arrow--disabled_blsmb_64",
|
|
1060
|
+
"purpur-card-link-arrow--primary-negative": "_purpur-card-link-arrow--primary-negative_blsmb_70",
|
|
1061
|
+
"purpur-card-link-arrow--secondary": "_purpur-card-link-arrow--secondary_blsmb_82",
|
|
1062
|
+
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_blsmb_93",
|
|
1063
|
+
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_blsmb_104",
|
|
1064
|
+
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_blsmb_114"
|
|
1065
|
+
}, It = m.bind(Gt), M = "purpur-card-link-arrow", Zt = ({
|
|
1062
1066
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
1063
1067
|
className: i,
|
|
1064
1068
|
disabled: a = !1,
|
|
@@ -1067,7 +1071,7 @@ const At = {
|
|
|
1067
1071
|
}) => /* @__PURE__ */ l(
|
|
1068
1072
|
"div",
|
|
1069
1073
|
{
|
|
1070
|
-
className: `${
|
|
1074
|
+
className: `${It([
|
|
1071
1075
|
M,
|
|
1072
1076
|
i,
|
|
1073
1077
|
`${M}--md`,
|
|
@@ -1079,66 +1083,66 @@ const At = {
|
|
|
1079
1083
|
])} ${M}`,
|
|
1080
1084
|
"data-testid": e,
|
|
1081
1085
|
...p,
|
|
1082
|
-
children: n ? /* @__PURE__ */ l(
|
|
1086
|
+
children: n ? /* @__PURE__ */ l(Mr, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(jr, { "data-testid": `${e}-arrow`, size: "md" })
|
|
1083
1087
|
}
|
|
1084
|
-
),
|
|
1088
|
+
), qt = {
|
|
1085
1089
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1086
|
-
},
|
|
1090
|
+
}, Ut = m.bind(qt), Lt = "purpur-card-overline", Rt = ({
|
|
1087
1091
|
["data-testid"]: e = "purpur-card-overline",
|
|
1088
1092
|
overline: i
|
|
1089
|
-
}) => i ? /* @__PURE__ */ l(
|
|
1093
|
+
}) => i ? /* @__PURE__ */ l(tr, { className: Ut(Lt), "data-testid": e, children: i }) : null, Pt = {
|
|
1090
1094
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1091
1095
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1092
1096
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1093
1097
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1094
|
-
},
|
|
1098
|
+
}, Dt = {
|
|
1095
1099
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1096
1100
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1097
1101
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
1098
1102
|
};
|
|
1099
|
-
function
|
|
1100
|
-
return
|
|
1103
|
+
function j() {
|
|
1104
|
+
return j = Object.assign ? Object.assign.bind() : function(e) {
|
|
1101
1105
|
for (var i = 1; i < arguments.length; i++) {
|
|
1102
1106
|
var a = arguments[i];
|
|
1103
1107
|
for (var n in a) ({}).hasOwnProperty.call(a, n) && (e[n] = a[n]);
|
|
1104
1108
|
}
|
|
1105
1109
|
return e;
|
|
1106
|
-
},
|
|
1110
|
+
}, j.apply(null, arguments);
|
|
1107
1111
|
}
|
|
1108
|
-
function
|
|
1112
|
+
function zt(e, i) {
|
|
1109
1113
|
typeof e == "function" ? e(i) : e != null && (e.current = i);
|
|
1110
1114
|
}
|
|
1111
|
-
function
|
|
1115
|
+
function Tt(...e) {
|
|
1112
1116
|
return (i) => e.forEach(
|
|
1113
|
-
(a) =>
|
|
1117
|
+
(a) => zt(a, i)
|
|
1114
1118
|
);
|
|
1115
1119
|
}
|
|
1116
|
-
const
|
|
1117
|
-
const { children: a, ...n } = e, p =
|
|
1120
|
+
const Zr = /* @__PURE__ */ $((e, i) => {
|
|
1121
|
+
const { children: a, ...n } = e, p = T.toArray(a), r = p.find(Vt);
|
|
1118
1122
|
if (r) {
|
|
1119
|
-
const t = r.props.children, o = p.map((u) => u === r ?
|
|
1120
|
-
return /* @__PURE__ */
|
|
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
|
+
return /* @__PURE__ */ H(Q, j({}, n, {
|
|
1121
1125
|
ref: i
|
|
1122
|
-
}), /* @__PURE__ */
|
|
1126
|
+
}), /* @__PURE__ */ K(t) ? /* @__PURE__ */ wr(t, void 0, o) : null);
|
|
1123
1127
|
}
|
|
1124
|
-
return /* @__PURE__ */
|
|
1128
|
+
return /* @__PURE__ */ H(Q, j({}, n, {
|
|
1125
1129
|
ref: i
|
|
1126
1130
|
}), a);
|
|
1127
1131
|
});
|
|
1128
|
-
|
|
1129
|
-
const
|
|
1132
|
+
Zr.displayName = "Slot";
|
|
1133
|
+
const Q = /* @__PURE__ */ $((e, i) => {
|
|
1130
1134
|
const { children: a, ...n } = e;
|
|
1131
|
-
return /* @__PURE__ */
|
|
1132
|
-
...
|
|
1133
|
-
ref: i ?
|
|
1134
|
-
}) :
|
|
1135
|
+
return /* @__PURE__ */ K(a) ? /* @__PURE__ */ wr(a, {
|
|
1136
|
+
...Wt(n, a.props),
|
|
1137
|
+
ref: i ? Tt(i, a.ref) : a.ref
|
|
1138
|
+
}) : T.count(a) > 1 ? T.only(null) : null;
|
|
1135
1139
|
});
|
|
1136
|
-
|
|
1137
|
-
const
|
|
1138
|
-
function
|
|
1139
|
-
return /* @__PURE__ */
|
|
1140
|
+
Q.displayName = "SlotClone";
|
|
1141
|
+
const Ht = ({ children: e }) => /* @__PURE__ */ H(Wr, null, e);
|
|
1142
|
+
function Vt(e) {
|
|
1143
|
+
return /* @__PURE__ */ K(e) && e.type === Ht;
|
|
1140
1144
|
}
|
|
1141
|
-
function
|
|
1145
|
+
function Wt(e, i) {
|
|
1142
1146
|
const a = {
|
|
1143
1147
|
...i
|
|
1144
1148
|
};
|
|
@@ -1159,7 +1163,7 @@ function qt(e, i) {
|
|
|
1159
1163
|
...a
|
|
1160
1164
|
};
|
|
1161
1165
|
}
|
|
1162
|
-
const
|
|
1166
|
+
const Xt = [
|
|
1163
1167
|
"a",
|
|
1164
1168
|
"button",
|
|
1165
1169
|
"div",
|
|
@@ -1176,12 +1180,12 @@ const Dt = [
|
|
|
1176
1180
|
"span",
|
|
1177
1181
|
"svg",
|
|
1178
1182
|
"ul"
|
|
1179
|
-
],
|
|
1183
|
+
], Kt = Xt.reduce((e, i) => {
|
|
1180
1184
|
const a = /* @__PURE__ */ $((n, p) => {
|
|
1181
|
-
const { asChild: r, ...t } = n, o = r ?
|
|
1182
|
-
return
|
|
1185
|
+
const { asChild: r, ...t } = n, o = r ? Zr : i;
|
|
1186
|
+
return Vr(() => {
|
|
1183
1187
|
window[Symbol.for("radix-ui")] = !0;
|
|
1184
|
-
}, []), /* @__PURE__ */
|
|
1188
|
+
}, []), /* @__PURE__ */ H(o, j({}, t, {
|
|
1185
1189
|
ref: p
|
|
1186
1190
|
}));
|
|
1187
1191
|
});
|
|
@@ -1189,7 +1193,7 @@ const Dt = [
|
|
|
1189
1193
|
...e,
|
|
1190
1194
|
[i]: a
|
|
1191
1195
|
};
|
|
1192
|
-
}, {}),
|
|
1196
|
+
}, {}), Yt = /* @__PURE__ */ $((e, i) => /* @__PURE__ */ H(Kt.span, j({}, e, {
|
|
1193
1197
|
ref: i,
|
|
1194
1198
|
style: {
|
|
1195
1199
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -1205,12 +1209,12 @@ const Dt = [
|
|
|
1205
1209
|
wordWrap: "normal",
|
|
1206
1210
|
...e.style
|
|
1207
1211
|
}
|
|
1208
|
-
}))),
|
|
1212
|
+
}))), Jt = Yt, gr = ({
|
|
1209
1213
|
asChild: e,
|
|
1210
1214
|
children: i,
|
|
1211
1215
|
className: a = "",
|
|
1212
1216
|
["data-testid"]: n
|
|
1213
|
-
}) => /* @__PURE__ */ l(
|
|
1217
|
+
}) => /* @__PURE__ */ l(Jt, { asChild: e, "data-testid": n, className: a, children: i }), hr = m.bind(Dt), B = "purpur-card-trigger-item", Qt = ({
|
|
1214
1218
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1215
1219
|
disabled: i = !1,
|
|
1216
1220
|
href: a,
|
|
@@ -1226,7 +1230,7 @@ const Dt = [
|
|
|
1226
1230
|
"a",
|
|
1227
1231
|
{
|
|
1228
1232
|
"aria-disabled": i,
|
|
1229
|
-
className: `${
|
|
1233
|
+
className: `${hr([
|
|
1230
1234
|
B,
|
|
1231
1235
|
{
|
|
1232
1236
|
[`${B}--disabled`]: i
|
|
@@ -1235,14 +1239,14 @@ const Dt = [
|
|
|
1235
1239
|
"data-testid": e,
|
|
1236
1240
|
href: i ? void 0 : a,
|
|
1237
1241
|
tabIndex: i ? 0 : void 0,
|
|
1238
|
-
children: /* @__PURE__ */ l(
|
|
1242
|
+
children: /* @__PURE__ */ l(gr, { children: p })
|
|
1239
1243
|
}
|
|
1240
1244
|
)
|
|
1241
1245
|
) : /* @__PURE__ */ l(
|
|
1242
1246
|
"button",
|
|
1243
1247
|
{
|
|
1244
1248
|
"aria-disabled": i,
|
|
1245
|
-
className: `${
|
|
1249
|
+
className: `${hr([
|
|
1246
1250
|
B,
|
|
1247
1251
|
`${B}--button`,
|
|
1248
1252
|
{
|
|
@@ -1252,10 +1256,10 @@ const Dt = [
|
|
|
1252
1256
|
"data-testid": e,
|
|
1253
1257
|
type: "button",
|
|
1254
1258
|
onClick: r,
|
|
1255
|
-
children: /* @__PURE__ */ l(
|
|
1259
|
+
children: /* @__PURE__ */ l(gr, { children: p })
|
|
1256
1260
|
}
|
|
1257
1261
|
);
|
|
1258
|
-
},
|
|
1262
|
+
}, ra = m.bind(Pt), Y = "purpur-card-root", qr = $(
|
|
1259
1263
|
({
|
|
1260
1264
|
["data-testid"]: e = "purpur-card-root",
|
|
1261
1265
|
children: i,
|
|
@@ -1268,18 +1272,18 @@ const Dt = [
|
|
|
1268
1272
|
variant: u,
|
|
1269
1273
|
...d
|
|
1270
1274
|
}, g) => {
|
|
1271
|
-
const w =
|
|
1272
|
-
|
|
1275
|
+
const w = ra([
|
|
1276
|
+
Y,
|
|
1273
1277
|
a,
|
|
1274
1278
|
{
|
|
1275
|
-
[`${
|
|
1276
|
-
[`${
|
|
1279
|
+
[`${Y}--${u}`]: u,
|
|
1280
|
+
[`${Y}--full-height`]: p
|
|
1277
1281
|
}
|
|
1278
1282
|
]);
|
|
1279
|
-
return /* @__PURE__ */
|
|
1283
|
+
return /* @__PURE__ */ _("div", { className: w, "data-testid": e, ref: g, ...d, children: [
|
|
1280
1284
|
i,
|
|
1281
1285
|
(t || r) && o && /* @__PURE__ */ l(
|
|
1282
|
-
|
|
1286
|
+
Qt,
|
|
1283
1287
|
{
|
|
1284
1288
|
disabled: n,
|
|
1285
1289
|
href: r,
|
|
@@ -1290,30 +1294,30 @@ const Dt = [
|
|
|
1290
1294
|
] });
|
|
1291
1295
|
}
|
|
1292
1296
|
);
|
|
1293
|
-
|
|
1294
|
-
const
|
|
1295
|
-
const n =
|
|
1296
|
-
|
|
1297
|
+
qr.displayName = "CardRoot";
|
|
1298
|
+
const mr = m.bind(Ne), J = "purpur-card", y = ({ children: e, className: i, ...a }) => {
|
|
1299
|
+
const n = mr([
|
|
1300
|
+
J,
|
|
1297
1301
|
i,
|
|
1298
1302
|
{
|
|
1299
|
-
[`${
|
|
1300
|
-
[`${
|
|
1303
|
+
[`${J}--is-interactive`]: a.onClick || a.href,
|
|
1304
|
+
[`${J}--disabled`]: a.disabled
|
|
1301
1305
|
}
|
|
1302
1306
|
]);
|
|
1303
|
-
return /* @__PURE__ */ l(
|
|
1307
|
+
return /* @__PURE__ */ l(qr, { className: mr(n), ...a, children: e });
|
|
1304
1308
|
};
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
function
|
|
1309
|
+
y.Badge = tt;
|
|
1310
|
+
y.LinkArrow = Zt;
|
|
1311
|
+
y.Content = nt;
|
|
1312
|
+
y.ContentContainer = ut;
|
|
1313
|
+
y.Cta = mt;
|
|
1314
|
+
y.FeatureList = jt;
|
|
1315
|
+
y.Overline = Rt;
|
|
1316
|
+
y.displayName = "Card";
|
|
1317
|
+
function ea(e) {
|
|
1314
1318
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1315
1319
|
}
|
|
1316
|
-
var
|
|
1320
|
+
var Ur = { exports: {} };
|
|
1317
1321
|
/*!
|
|
1318
1322
|
Copyright (c) 2018 Jed Watson.
|
|
1319
1323
|
Licensed under the MIT License (MIT), see
|
|
@@ -1348,9 +1352,9 @@ var Ir = { exports: {} };
|
|
|
1348
1352
|
}
|
|
1349
1353
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1350
1354
|
})();
|
|
1351
|
-
})(
|
|
1352
|
-
var
|
|
1353
|
-
const
|
|
1355
|
+
})(Ur);
|
|
1356
|
+
var ta = Ur.exports;
|
|
1357
|
+
const aa = /* @__PURE__ */ ea(ta), ia = {
|
|
1354
1358
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1355
1359
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1356
1360
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1358,46 +1362,46 @@ const Yt = /* @__PURE__ */ Xt(Kt), Jt = {
|
|
|
1358
1362
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1359
1363
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1360
1364
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1361
|
-
},
|
|
1365
|
+
}, oa = {
|
|
1362
1366
|
name: "arrow-left",
|
|
1363
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>',
|
|
1364
1368
|
keywords: ["arrow-left"],
|
|
1365
1369
|
category: "utility"
|
|
1366
|
-
},
|
|
1370
|
+
}, na = {
|
|
1367
1371
|
name: "arrow-right",
|
|
1368
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>',
|
|
1369
1373
|
keywords: ["arrow-right"],
|
|
1370
1374
|
category: "utility"
|
|
1371
|
-
},
|
|
1375
|
+
}, pa = {
|
|
1372
1376
|
name: "external",
|
|
1373
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>',
|
|
1374
1378
|
keywords: ["external"],
|
|
1375
1379
|
category: "media"
|
|
1376
|
-
},
|
|
1380
|
+
}, la = {
|
|
1377
1381
|
name: "phone",
|
|
1378
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>',
|
|
1379
1383
|
keywords: ["phone"],
|
|
1380
1384
|
category: "device"
|
|
1381
|
-
},
|
|
1385
|
+
}, ua = aa.bind(ia), vr = "purpur-icon", sa = "md", da = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), ca = ({ content: e = "", title: i } = {}) => {
|
|
1382
1386
|
const a = [
|
|
1383
1387
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1384
1388
|
{ name: "fill", value: "currentColor" },
|
|
1385
1389
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1386
1390
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1387
1391
|
], n = i ? `<title>${i}</title>` : "";
|
|
1388
|
-
return `<svg ${
|
|
1389
|
-
},
|
|
1392
|
+
return `<svg ${da(a)}>${n}${e}</svg>`;
|
|
1393
|
+
}, _a = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), rr = ({
|
|
1390
1394
|
["data-testid"]: e,
|
|
1391
1395
|
svg: i,
|
|
1392
1396
|
allyTitle: a,
|
|
1393
1397
|
className: n,
|
|
1394
|
-
size: p =
|
|
1398
|
+
size: p = sa,
|
|
1395
1399
|
...r
|
|
1396
1400
|
}) => {
|
|
1397
|
-
const t =
|
|
1398
|
-
content:
|
|
1401
|
+
const t = ca({
|
|
1402
|
+
content: _a(i.svg),
|
|
1399
1403
|
title: a
|
|
1400
|
-
}), o =
|
|
1404
|
+
}), o = ua(n, vr, `${vr}--${p}`);
|
|
1401
1405
|
return /* @__PURE__ */ l(
|
|
1402
1406
|
"span",
|
|
1403
1407
|
{
|
|
@@ -1409,11 +1413,11 @@ const Yt = /* @__PURE__ */ Xt(Kt), Jt = {
|
|
|
1409
1413
|
}
|
|
1410
1414
|
);
|
|
1411
1415
|
};
|
|
1412
|
-
|
|
1413
|
-
function
|
|
1416
|
+
rr.displayName = "Icon";
|
|
1417
|
+
function fa(e) {
|
|
1414
1418
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1415
1419
|
}
|
|
1416
|
-
var
|
|
1420
|
+
var Lr = { exports: {} };
|
|
1417
1421
|
/*!
|
|
1418
1422
|
Copyright (c) 2018 Jed Watson.
|
|
1419
1423
|
Licensed under the MIT License (MIT), see
|
|
@@ -1448,28 +1452,29 @@ var jr = { exports: {} };
|
|
|
1448
1452
|
}
|
|
1449
1453
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1450
1454
|
})();
|
|
1451
|
-
})(
|
|
1452
|
-
var
|
|
1453
|
-
const
|
|
1454
|
-
"purpur-cta-link": "_purpur-cta-
|
|
1455
|
-
"purpur-cta-link--
|
|
1456
|
-
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-
|
|
1457
|
-
"purpur-cta-link--
|
|
1458
|
-
"purpur-cta-link--
|
|
1459
|
-
"purpur-cta-link--
|
|
1460
|
-
"purpur-cta-link--
|
|
1461
|
-
"purpur-cta-link--
|
|
1462
|
-
"purpur-cta-link--
|
|
1463
|
-
"purpur-cta-link--
|
|
1464
|
-
"purpur-cta-link--secondary
|
|
1465
|
-
"purpur-cta-link--
|
|
1466
|
-
"purpur-cta-link--expressive
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1455
|
+
})(Lr);
|
|
1456
|
+
var ga = Lr.exports;
|
|
1457
|
+
const ha = /* @__PURE__ */ fa(ga), ma = {
|
|
1458
|
+
"purpur-cta-link": "_purpur-cta-link_1e75l_1",
|
|
1459
|
+
"purpur-cta-link--xs": "_purpur-cta-link--xs_1e75l_33",
|
|
1460
|
+
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1e75l_36",
|
|
1461
|
+
"purpur-cta-link--sm": "_purpur-cta-link--sm_1e75l_39",
|
|
1462
|
+
"purpur-cta-link--md": "_purpur-cta-link--md_1e75l_45",
|
|
1463
|
+
"purpur-cta-link--lg": "_purpur-cta-link--lg_1e75l_51",
|
|
1464
|
+
"purpur-cta-link--full-width": "_purpur-cta-link--full-width_1e75l_57",
|
|
1465
|
+
"purpur-cta-link--primary": "_purpur-cta-link--primary_1e75l_60",
|
|
1466
|
+
"purpur-cta-link--disabled": "_purpur-cta-link--disabled_1e75l_64",
|
|
1467
|
+
"purpur-cta-link--primary-negative": "_purpur-cta-link--primary-negative_1e75l_70",
|
|
1468
|
+
"purpur-cta-link--secondary": "_purpur-cta-link--secondary_1e75l_82",
|
|
1469
|
+
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
|
|
1470
|
+
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
|
|
1471
|
+
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
|
|
1472
|
+
}, va = ha.bind(ma), E = "purpur-cta-link", ya = {
|
|
1473
|
+
forward: na,
|
|
1474
|
+
external: pa,
|
|
1475
|
+
back: oa,
|
|
1476
|
+
phone: la
|
|
1477
|
+
}, wa = $(
|
|
1473
1478
|
({
|
|
1474
1479
|
children: e,
|
|
1475
1480
|
className: i,
|
|
@@ -1483,34 +1488,34 @@ const sa = /* @__PURE__ */ la(ua), da = {
|
|
|
1483
1488
|
icon: d = "forward",
|
|
1484
1489
|
...g
|
|
1485
1490
|
}, w) => {
|
|
1486
|
-
const
|
|
1491
|
+
const F = va(
|
|
1487
1492
|
[
|
|
1488
1493
|
i,
|
|
1489
|
-
|
|
1490
|
-
`${
|
|
1491
|
-
`${
|
|
1494
|
+
E,
|
|
1495
|
+
`${E}--${t ? `${u}-negative` : u}`,
|
|
1496
|
+
`${E}--${o}`
|
|
1492
1497
|
],
|
|
1493
1498
|
{
|
|
1494
|
-
[`${
|
|
1495
|
-
[`${
|
|
1496
|
-
[`${
|
|
1499
|
+
[`${E}--icon-only`]: p,
|
|
1500
|
+
[`${E}--negative`]: t,
|
|
1501
|
+
[`${E}--full-width`]: n
|
|
1497
1502
|
}
|
|
1498
|
-
),
|
|
1499
|
-
r && (d === "back" || d === "phone") && /* @__PURE__ */ l(
|
|
1503
|
+
), S = ya[d], c = /* @__PURE__ */ _(yr, { children: [
|
|
1504
|
+
r && (d === "back" || d === "phone") && /* @__PURE__ */ l(rr, { svg: S, size: o === "lg" ? "sm" : "xs" }),
|
|
1500
1505
|
(!p || p && !r) && e,
|
|
1501
|
-
r && (d === "forward" || d === "external") && /* @__PURE__ */ l(
|
|
1502
|
-
] }),
|
|
1506
|
+
r && (d === "forward" || d === "external") && /* @__PURE__ */ l(rr, { svg: S, size: o === "lg" ? "sm" : "xs" })
|
|
1507
|
+
] }), N = {
|
|
1503
1508
|
...g,
|
|
1504
|
-
className:
|
|
1509
|
+
className: F,
|
|
1505
1510
|
"data-testid": a
|
|
1506
1511
|
};
|
|
1507
|
-
return "href" in g && g.href ? /* @__PURE__ */ l("a", { ...
|
|
1512
|
+
return "href" in g && g.href ? /* @__PURE__ */ l("a", { ...N, ref: w, children: c }) : /* @__PURE__ */ l("span", { ...N, ref: w, children: c });
|
|
1508
1513
|
}
|
|
1509
1514
|
);
|
|
1510
|
-
function
|
|
1515
|
+
function xa(e) {
|
|
1511
1516
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1512
1517
|
}
|
|
1513
|
-
var
|
|
1518
|
+
var Rr = { exports: {} };
|
|
1514
1519
|
/*!
|
|
1515
1520
|
Copyright (c) 2018 Jed Watson.
|
|
1516
1521
|
Licensed under the MIT License (MIT), see
|
|
@@ -1545,9 +1550,9 @@ var Ur = { exports: {} };
|
|
|
1545
1550
|
}
|
|
1546
1551
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1547
1552
|
})();
|
|
1548
|
-
})(
|
|
1549
|
-
var
|
|
1550
|
-
const
|
|
1553
|
+
})(Rr);
|
|
1554
|
+
var ba = Rr.exports;
|
|
1555
|
+
const $a = /* @__PURE__ */ xa(ba), W = {
|
|
1551
1556
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1552
1557
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1553
1558
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1563,7 +1568,7 @@ const ma = /* @__PURE__ */ ga(ha), T = {
|
|
|
1563
1568
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1564
1569
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1565
1570
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1566
|
-
},
|
|
1571
|
+
}, Sa = {
|
|
1567
1572
|
TITLE100: "title-100",
|
|
1568
1573
|
TITLE200: "title-200",
|
|
1569
1574
|
TITLE300: "title-300",
|
|
@@ -1572,32 +1577,121 @@ const ma = /* @__PURE__ */ ga(ha), T = {
|
|
|
1572
1577
|
TITLE600: "title-600",
|
|
1573
1578
|
TITLE700: "title-700",
|
|
1574
1579
|
SUBSECTION100: "subsection-100"
|
|
1575
|
-
},
|
|
1580
|
+
}, X = "purpur-heading", Pr = ({
|
|
1576
1581
|
["data-testid"]: e,
|
|
1577
1582
|
children: i,
|
|
1578
1583
|
className: a = "",
|
|
1579
1584
|
enableHyphenation: n = !1,
|
|
1580
1585
|
negative: p = !1,
|
|
1581
1586
|
tag: r,
|
|
1582
|
-
variant: t =
|
|
1587
|
+
variant: t = Sa.TITLE100,
|
|
1583
1588
|
...o
|
|
1584
1589
|
}) => {
|
|
1585
|
-
const u = r, d =
|
|
1590
|
+
const u = r, d = $a([
|
|
1586
1591
|
a,
|
|
1587
|
-
|
|
1588
|
-
|
|
1592
|
+
W[X],
|
|
1593
|
+
W[`${X}--${t}`],
|
|
1589
1594
|
{
|
|
1590
|
-
[
|
|
1591
|
-
[
|
|
1595
|
+
[W[`${X}--hyphens`]]: n,
|
|
1596
|
+
[W[`${X}--negative`]]: p
|
|
1592
1597
|
}
|
|
1593
1598
|
]);
|
|
1594
1599
|
return /* @__PURE__ */ l(u, { ...o, className: d, "data-testid": e, children: i });
|
|
1595
1600
|
};
|
|
1596
|
-
|
|
1597
|
-
function
|
|
1601
|
+
Pr.displayName = "Heading";
|
|
1602
|
+
function Ca(e) {
|
|
1598
1603
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1599
1604
|
}
|
|
1600
|
-
var
|
|
1605
|
+
var Dr = { exports: {} };
|
|
1606
|
+
/*!
|
|
1607
|
+
Copyright (c) 2018 Jed Watson.
|
|
1608
|
+
Licensed under the MIT License (MIT), see
|
|
1609
|
+
http://jedwatson.github.io/classnames
|
|
1610
|
+
*/
|
|
1611
|
+
(function(e) {
|
|
1612
|
+
(function() {
|
|
1613
|
+
var i = {}.hasOwnProperty;
|
|
1614
|
+
function a() {
|
|
1615
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1616
|
+
var o = arguments[t];
|
|
1617
|
+
o && (r = p(r, n(o)));
|
|
1618
|
+
}
|
|
1619
|
+
return r;
|
|
1620
|
+
}
|
|
1621
|
+
function n(r) {
|
|
1622
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1623
|
+
return r;
|
|
1624
|
+
if (typeof r != "object")
|
|
1625
|
+
return "";
|
|
1626
|
+
if (Array.isArray(r))
|
|
1627
|
+
return a.apply(null, r);
|
|
1628
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1629
|
+
return r.toString();
|
|
1630
|
+
var t = "";
|
|
1631
|
+
for (var o in r)
|
|
1632
|
+
i.call(r, o) && r[o] && (t = p(t, o));
|
|
1633
|
+
return t;
|
|
1634
|
+
}
|
|
1635
|
+
function p(r, t) {
|
|
1636
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1637
|
+
}
|
|
1638
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1639
|
+
})();
|
|
1640
|
+
})(Dr);
|
|
1641
|
+
var ka = Dr.exports;
|
|
1642
|
+
const Aa = /* @__PURE__ */ Ca(ka), D = {
|
|
1643
|
+
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1644
|
+
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1645
|
+
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
1646
|
+
"purpur-paragraph--negative": "_purpur-paragraph--negative_1rh57_13",
|
|
1647
|
+
"purpur-paragraph--paragraph-100": "_purpur-paragraph--paragraph-100_1rh57_16",
|
|
1648
|
+
"purpur-paragraph--paragraph-100-medium": "_purpur-paragraph--paragraph-100-medium_1rh57_22",
|
|
1649
|
+
"purpur-paragraph--paragraph-100-bold": "_purpur-paragraph--paragraph-100-bold_1rh57_29",
|
|
1650
|
+
"purpur-paragraph--paragraph-200": "_purpur-paragraph--paragraph-200_1rh57_36",
|
|
1651
|
+
"purpur-paragraph--preamble-100": "_purpur-paragraph--preamble-100_1rh57_42",
|
|
1652
|
+
"purpur-paragraph--preamble-200": "_purpur-paragraph--preamble-200_1rh57_48",
|
|
1653
|
+
"purpur-paragraph--additional-100": "_purpur-paragraph--additional-100_1rh57_54",
|
|
1654
|
+
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1655
|
+
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1656
|
+
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1657
|
+
}, Oa = {
|
|
1658
|
+
PARAGRAPH100: "paragraph-100",
|
|
1659
|
+
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
1660
|
+
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
1661
|
+
PARAGRAPH200: "paragraph-200",
|
|
1662
|
+
PREAMBLE100: "preamble-100",
|
|
1663
|
+
PREAMBLE200: "preamble-200",
|
|
1664
|
+
ADDITIONAL100: "additional-100",
|
|
1665
|
+
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1666
|
+
OVERLINE100: "overline-100",
|
|
1667
|
+
OVERLINE200: "overline-200"
|
|
1668
|
+
}, z = "purpur-paragraph", zr = ({
|
|
1669
|
+
["data-testid"]: e,
|
|
1670
|
+
children: i,
|
|
1671
|
+
className: a,
|
|
1672
|
+
disabled: n,
|
|
1673
|
+
enableHyphenation: p = !1,
|
|
1674
|
+
negative: r = !1,
|
|
1675
|
+
variant: t = Oa.PARAGRAPH100,
|
|
1676
|
+
...o
|
|
1677
|
+
}) => {
|
|
1678
|
+
const u = Aa([
|
|
1679
|
+
a,
|
|
1680
|
+
D[z],
|
|
1681
|
+
D[`${z}--${t}`],
|
|
1682
|
+
{
|
|
1683
|
+
[D[`${z}--hyphens`]]: p,
|
|
1684
|
+
[D[`${z}--disabled`]]: n,
|
|
1685
|
+
[D[`${z}--negative`]]: r
|
|
1686
|
+
}
|
|
1687
|
+
]);
|
|
1688
|
+
return /* @__PURE__ */ l("p", { ...o, className: u, "data-testid": e, children: i });
|
|
1689
|
+
};
|
|
1690
|
+
zr.displayName = "Paragraph";
|
|
1691
|
+
function Ba(e) {
|
|
1692
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1693
|
+
}
|
|
1694
|
+
var Tr = { exports: {} };
|
|
1601
1695
|
/*!
|
|
1602
1696
|
Copyright (c) 2018 Jed Watson.
|
|
1603
1697
|
Licensed under the MIT License (MIT), see
|
|
@@ -1632,39 +1726,42 @@ var Lr = { exports: {} };
|
|
|
1632
1726
|
}
|
|
1633
1727
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1634
1728
|
})();
|
|
1635
|
-
})(
|
|
1636
|
-
var
|
|
1637
|
-
const
|
|
1638
|
-
"purpur-promotion-card": "_purpur-promotion-
|
|
1639
|
-
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-
|
|
1640
|
-
"purpur-promotion-card__content": "_purpur-promotion-
|
|
1641
|
-
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-
|
|
1642
|
-
"purpur-promotion-card__card": "_purpur-promotion-
|
|
1643
|
-
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-
|
|
1644
|
-
"purpur-promotion-card__actions": "_purpur-promotion-
|
|
1645
|
-
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-
|
|
1646
|
-
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-
|
|
1647
|
-
"purpur-promotion-card__heading": "_purpur-promotion-
|
|
1648
|
-
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-
|
|
1649
|
-
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-
|
|
1650
|
-
"purpur-promotion-card__body": "_purpur-promotion-
|
|
1651
|
-
"purpur-promotion-
|
|
1652
|
-
"purpur-promotion-
|
|
1653
|
-
"purpur-promotion-
|
|
1654
|
-
"purpur-promotion-
|
|
1655
|
-
|
|
1729
|
+
})(Tr);
|
|
1730
|
+
var Fa = Tr.exports;
|
|
1731
|
+
const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
1732
|
+
"purpur-promotion-card": "_purpur-promotion-card_1cvjr_1",
|
|
1733
|
+
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1cvjr_8",
|
|
1734
|
+
"purpur-promotion-card__content": "_purpur-promotion-card__content_1cvjr_8",
|
|
1735
|
+
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-image_1cvjr_33",
|
|
1736
|
+
"purpur-promotion-card__card": "_purpur-promotion-card__card_1cvjr_45",
|
|
1737
|
+
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-gradient_1cvjr_49",
|
|
1738
|
+
"purpur-promotion-card__actions": "_purpur-promotion-card__actions_1cvjr_65",
|
|
1739
|
+
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-image_1cvjr_81",
|
|
1740
|
+
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-content_1cvjr_84",
|
|
1741
|
+
"purpur-promotion-card__heading": "_purpur-promotion-card__heading_1cvjr_89",
|
|
1742
|
+
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-image_1cvjr_94",
|
|
1743
|
+
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-wrapper_1cvjr_105",
|
|
1744
|
+
"purpur-promotion-card__body": "_purpur-promotion-card__body_1cvjr_109",
|
|
1745
|
+
"purpur-promotion-card__main-content--space-between": "_purpur-promotion-card__main-content--space-between_1cvjr_120",
|
|
1746
|
+
"purpur-promotion-card__main-content--flex-end": "_purpur-promotion-card__main-content--flex-end_1cvjr_123",
|
|
1747
|
+
"purpur-promotion-card__child-content": "_purpur-promotion-card__child-content_1cvjr_143",
|
|
1748
|
+
"purpur-promotion-card__additional-text": "_purpur-promotion-card__additional-text_1cvjr_146",
|
|
1749
|
+
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1cvjr_149",
|
|
1750
|
+
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1cvjr_152",
|
|
1751
|
+
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1cvjr_153"
|
|
1752
|
+
}, Da = ["primary", "secondary", "quaternary"], Ea = {
|
|
1656
1753
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1657
1754
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1658
1755
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1659
|
-
},
|
|
1756
|
+
}, ja = {
|
|
1660
1757
|
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>')`,
|
|
1661
1758
|
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>')`,
|
|
1662
1759
|
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>')`
|
|
1663
|
-
},
|
|
1760
|
+
}, Ga = {
|
|
1664
1761
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1665
1762
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1666
1763
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1667
|
-
},
|
|
1764
|
+
}, f = Na.bind(Ma), s = "purpur-promotion-card", Ia = ({
|
|
1668
1765
|
["data-testid"]: e,
|
|
1669
1766
|
variant: i = "primary",
|
|
1670
1767
|
badgeText: a,
|
|
@@ -1677,89 +1774,109 @@ const wa = /* @__PURE__ */ ya(xa), ba = {
|
|
|
1677
1774
|
actions: d,
|
|
1678
1775
|
children: g,
|
|
1679
1776
|
style: w,
|
|
1777
|
+
alignment: F = "space-between",
|
|
1778
|
+
additionalText: S,
|
|
1680
1779
|
...c
|
|
1681
|
-
},
|
|
1682
|
-
let
|
|
1780
|
+
}, N) => {
|
|
1781
|
+
let C = c, h, V;
|
|
1683
1782
|
if ("decorativeImage" in c) {
|
|
1684
|
-
const { hasGradient:
|
|
1685
|
-
|
|
1783
|
+
const { hasGradient: v, decorativeImage: k, ...G } = c;
|
|
1784
|
+
h = k, V = v, C = G;
|
|
1686
1785
|
} else if ("productImage" in c) {
|
|
1687
|
-
const { hasGradient:
|
|
1688
|
-
|
|
1786
|
+
const { hasGradient: v, productImage: k, ...G } = c;
|
|
1787
|
+
h = k, V = v, C = G;
|
|
1689
1788
|
} else if ("hasGradient" in c) {
|
|
1690
|
-
const { hasGradient:
|
|
1691
|
-
|
|
1789
|
+
const { hasGradient: v, ...k } = c;
|
|
1790
|
+
V = v, C = k;
|
|
1692
1791
|
}
|
|
1693
|
-
const
|
|
1694
|
-
"--promotion-card-background":
|
|
1695
|
-
"--promotion-card-color":
|
|
1696
|
-
"--promotion-card-background-image":
|
|
1792
|
+
const Hr = {
|
|
1793
|
+
"--promotion-card-background": Ea[i],
|
|
1794
|
+
"--promotion-card-color": Ga[i],
|
|
1795
|
+
"--promotion-card-background-image": ja[i]
|
|
1697
1796
|
};
|
|
1698
|
-
return /* @__PURE__ */ l(
|
|
1797
|
+
return /* @__PURE__ */ l(y, { ref: N, className: f(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1699
1798
|
"div",
|
|
1700
1799
|
{
|
|
1701
1800
|
"data-testid": e,
|
|
1702
1801
|
style: {
|
|
1703
|
-
...
|
|
1802
|
+
...Hr,
|
|
1704
1803
|
...w
|
|
1705
1804
|
},
|
|
1706
|
-
className:
|
|
1805
|
+
className: f([
|
|
1707
1806
|
u,
|
|
1708
1807
|
s,
|
|
1709
1808
|
`${s}--${i}`,
|
|
1710
1809
|
{
|
|
1711
|
-
[`${s}--with-image`]:
|
|
1712
|
-
[`${s}--without-image`]: !
|
|
1810
|
+
[`${s}--with-image`]: h,
|
|
1811
|
+
[`${s}--without-image`]: !h
|
|
1713
1812
|
}
|
|
1714
1813
|
]),
|
|
1715
|
-
...
|
|
1814
|
+
...C,
|
|
1716
1815
|
children: [
|
|
1717
|
-
/* @__PURE__ */
|
|
1816
|
+
/* @__PURE__ */ _(
|
|
1718
1817
|
"div",
|
|
1719
1818
|
{
|
|
1720
|
-
className:
|
|
1819
|
+
className: f([
|
|
1721
1820
|
`${s}__content`,
|
|
1722
1821
|
{
|
|
1723
|
-
[`${s}__content--with-image`]:
|
|
1724
|
-
[`${s}__content--without-image`]: !
|
|
1822
|
+
[`${s}__content--with-image`]: h,
|
|
1823
|
+
[`${s}__content--without-image`]: !h
|
|
1725
1824
|
}
|
|
1726
1825
|
]),
|
|
1727
1826
|
children: [
|
|
1728
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className:
|
|
1827
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: f(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(ge, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1729
1828
|
n && n,
|
|
1730
1829
|
a
|
|
1731
1830
|
] }) }),
|
|
1732
|
-
/* @__PURE__ */
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1831
|
+
/* @__PURE__ */ _(
|
|
1832
|
+
"div",
|
|
1833
|
+
{
|
|
1834
|
+
className: f(
|
|
1835
|
+
`${s}__main-content`,
|
|
1836
|
+
`${s}__main-content--${F}`
|
|
1837
|
+
),
|
|
1838
|
+
children: [
|
|
1839
|
+
/* @__PURE__ */ l(
|
|
1840
|
+
Pr,
|
|
1841
|
+
{
|
|
1842
|
+
tag: r,
|
|
1843
|
+
variant: t,
|
|
1844
|
+
enableHyphenation: o,
|
|
1845
|
+
className: f(`${s}__heading`),
|
|
1846
|
+
children: p
|
|
1847
|
+
}
|
|
1848
|
+
),
|
|
1849
|
+
/* @__PURE__ */ _("div", { className: f(`${s}__body`), children: [
|
|
1850
|
+
/* @__PURE__ */ l("div", { className: f(`${s}__child-content`), children: g }),
|
|
1851
|
+
d && d.length > 0 && /* @__PURE__ */ l("div", { className: f(`${s}__actions`), children: d.map(({ label: v, ...k }, G) => {
|
|
1852
|
+
const I = {
|
|
1853
|
+
variant: G === 0 ? "primary" : "secondary",
|
|
1854
|
+
negative: i === "primary",
|
|
1855
|
+
...k,
|
|
1856
|
+
children: v
|
|
1857
|
+
};
|
|
1858
|
+
return Za(I) ? /* @__PURE__ */ l(wa, { ...I }, v) : "onClick" in I && !("href" in I) ? /* @__PURE__ */ l(kr, { ...I }, v) : null;
|
|
1859
|
+
}) }),
|
|
1860
|
+
S && /* @__PURE__ */ l(
|
|
1861
|
+
zr,
|
|
1862
|
+
{
|
|
1863
|
+
negative: !0,
|
|
1864
|
+
variant: "additional-100",
|
|
1865
|
+
className: f(`${s}__additional-text`),
|
|
1866
|
+
children: S
|
|
1867
|
+
}
|
|
1868
|
+
)
|
|
1869
|
+
] })
|
|
1870
|
+
]
|
|
1871
|
+
}
|
|
1872
|
+
)
|
|
1756
1873
|
]
|
|
1757
1874
|
}
|
|
1758
1875
|
),
|
|
1759
|
-
|
|
1876
|
+
h && /* @__PURE__ */ _(
|
|
1760
1877
|
"div",
|
|
1761
1878
|
{
|
|
1762
|
-
className:
|
|
1879
|
+
className: f([
|
|
1763
1880
|
`${s}__image-wrapper`,
|
|
1764
1881
|
{
|
|
1765
1882
|
[`${s}__image-wrapper--product`]: "productImage" in c,
|
|
@@ -1767,11 +1884,11 @@ const wa = /* @__PURE__ */ ya(xa), ba = {
|
|
|
1767
1884
|
}
|
|
1768
1885
|
]),
|
|
1769
1886
|
children: [
|
|
1770
|
-
|
|
1771
|
-
|
|
1887
|
+
h,
|
|
1888
|
+
V && /* @__PURE__ */ l(
|
|
1772
1889
|
"div",
|
|
1773
1890
|
{
|
|
1774
|
-
className:
|
|
1891
|
+
className: f(`${s}__image-gradient`),
|
|
1775
1892
|
"data-testid": "promotion-card-gradient"
|
|
1776
1893
|
}
|
|
1777
1894
|
)
|
|
@@ -1781,10 +1898,10 @@ const wa = /* @__PURE__ */ ya(xa), ba = {
|
|
|
1781
1898
|
]
|
|
1782
1899
|
}
|
|
1783
1900
|
) });
|
|
1784
|
-
},
|
|
1785
|
-
|
|
1901
|
+
}, Za = (e) => "href" in e, qa = $(Ia);
|
|
1902
|
+
qa.displayName = "PromotionCard";
|
|
1786
1903
|
export {
|
|
1787
|
-
|
|
1788
|
-
|
|
1904
|
+
qa as PromotionCard,
|
|
1905
|
+
Da as promotionCardVariants
|
|
1789
1906
|
};
|
|
1790
1907
|
//# sourceMappingURL=promotion-card.es.js.map
|