@purpurds/promotion-card 5.8.2 → 5.9.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 +3 -3
- package/dist/promotion-card.cjs.js +11 -11
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts +2 -1
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +336 -343
- package/dist/promotion-card.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +10 -10
- package/src/promotion-card.module.scss +1 -5
- package/src/promotion-card.tsx +4 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as _, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as E, Children as B, isValidElement as U, createElement as $, cloneElement as tr, useEffect as wr, Fragment as xr } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function br(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var ar = { exports: {} };
|
|
8
8
|
/*!
|
|
9
9
|
Copyright (c) 2018 Jed Watson.
|
|
10
10
|
Licensed under the MIT License (MIT), see
|
|
@@ -39,9 +39,9 @@ var tr = { exports: {} };
|
|
|
39
39
|
}
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
|
-
})(
|
|
43
|
-
var
|
|
44
|
-
const
|
|
42
|
+
})(ar);
|
|
43
|
+
var Cr = ar.exports;
|
|
44
|
+
const Sr = /* @__PURE__ */ br(Cr), Fr = {
|
|
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,56 +49,56 @@ const Cr = /* @__PURE__ */ xr(br), Sr = {
|
|
|
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
|
+
}, kr = {
|
|
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
|
+
}, Ar = {
|
|
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
|
+
}, Or = {
|
|
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
|
+
}, Br = {
|
|
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
|
+
}, $r = {
|
|
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
|
+
}, Er = {
|
|
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
|
+
}, Gr = Sr.bind(Fr), q = "purpur-icon", Mr = "md", Nr = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Zr = ({ content: e = "", title: o } = {}) => {
|
|
83
83
|
const a = [
|
|
84
84
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
85
85
|
{ name: "fill", value: "currentColor" },
|
|
86
86
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
87
87
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
88
88
|
], n = o ? `<title>${o}</title>` : "";
|
|
89
|
-
return `<svg ${
|
|
90
|
-
},
|
|
89
|
+
return `<svg ${Nr(a)}>${n}${e}</svg>`;
|
|
90
|
+
}, Ur = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ir = ({
|
|
91
91
|
["data-testid"]: e,
|
|
92
92
|
svg: o,
|
|
93
93
|
allyTitle: a,
|
|
94
94
|
className: n = "",
|
|
95
|
-
size: p =
|
|
95
|
+
size: p = Mr,
|
|
96
96
|
...r
|
|
97
97
|
}) => {
|
|
98
|
-
const t =
|
|
99
|
-
content:
|
|
98
|
+
const t = Zr({
|
|
99
|
+
content: Ur(o.svg),
|
|
100
100
|
title: a
|
|
101
|
-
}), i =
|
|
101
|
+
}), i = Gr(n, q, `${q}--${p}`);
|
|
102
102
|
return /* @__PURE__ */ l(
|
|
103
103
|
"span",
|
|
104
104
|
{
|
|
@@ -110,10 +110,10 @@ const Cr = /* @__PURE__ */ xr(br), Sr = {
|
|
|
110
110
|
}
|
|
111
111
|
);
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function jr(e) {
|
|
114
114
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var or = { exports: {} };
|
|
117
117
|
/*!
|
|
118
118
|
Copyright (c) 2018 Jed Watson.
|
|
119
119
|
Licensed under the MIT License (MIT), see
|
|
@@ -148,9 +148,9 @@ var ar = { exports: {} };
|
|
|
148
148
|
}
|
|
149
149
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
150
150
|
})();
|
|
151
|
-
})(
|
|
152
|
-
var
|
|
153
|
-
const
|
|
151
|
+
})(or);
|
|
152
|
+
var Rr = or.exports;
|
|
153
|
+
const Dr = /* @__PURE__ */ jr(Rr), T = {
|
|
154
154
|
"purpur-badge": "_purpur-badge_stlab_1",
|
|
155
155
|
"purpur-badge--attention": "_purpur-badge--attention_stlab_13",
|
|
156
156
|
"purpur-badge--special": "_purpur-badge--special_stlab_17",
|
|
@@ -159,7 +159,7 @@ const Rr = /* @__PURE__ */ Ir(jr), q = {
|
|
|
159
159
|
"purpur-badge--success": "_purpur-badge--success_stlab_29",
|
|
160
160
|
"purpur-badge--warning": "_purpur-badge--warning_stlab_33",
|
|
161
161
|
"purpur-badge--error": "_purpur-badge--error_stlab_37"
|
|
162
|
-
},
|
|
162
|
+
}, P = "purpur-badge", m = {
|
|
163
163
|
ATTENTION: "attention",
|
|
164
164
|
SPECIAL: "special",
|
|
165
165
|
NEUTRAL: "neutral",
|
|
@@ -167,25 +167,25 @@ const Rr = /* @__PURE__ */ Ir(jr), q = {
|
|
|
167
167
|
SUCCESS: "success",
|
|
168
168
|
WARNING: "warning",
|
|
169
169
|
ERROR: "error"
|
|
170
|
-
},
|
|
170
|
+
}, Lr = (e) => {
|
|
171
171
|
switch (e) {
|
|
172
172
|
case m.ATTENTION:
|
|
173
173
|
case m.SPECIAL:
|
|
174
|
-
return
|
|
174
|
+
return $r;
|
|
175
175
|
case m.INFORMATION:
|
|
176
|
-
return
|
|
176
|
+
return Br;
|
|
177
177
|
case m.SUCCESS:
|
|
178
|
-
return
|
|
178
|
+
return Ar;
|
|
179
179
|
case m.WARNING:
|
|
180
|
-
return
|
|
180
|
+
return kr;
|
|
181
181
|
case m.ERROR:
|
|
182
|
-
return
|
|
182
|
+
return Or;
|
|
183
183
|
case m.NEUTRAL:
|
|
184
|
-
return
|
|
184
|
+
return Er;
|
|
185
185
|
default:
|
|
186
186
|
return;
|
|
187
187
|
}
|
|
188
|
-
},
|
|
188
|
+
}, qr = ({
|
|
189
189
|
children: e,
|
|
190
190
|
showIcon: o = !0,
|
|
191
191
|
variant: a,
|
|
@@ -194,16 +194,16 @@ const Rr = /* @__PURE__ */ Ir(jr), q = {
|
|
|
194
194
|
className: r = "",
|
|
195
195
|
...t
|
|
196
196
|
}) => {
|
|
197
|
-
const i =
|
|
197
|
+
const i = Lr(a), u = Dr([r, T[P], T[`${P}--${a}`]]);
|
|
198
198
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
199
|
-
o && i && /* @__PURE__ */ l(
|
|
199
|
+
o && i && /* @__PURE__ */ l(Ir, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: i }),
|
|
200
200
|
e
|
|
201
201
|
] });
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function Tr(e) {
|
|
204
204
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
206
|
+
var ir = { exports: {} };
|
|
207
207
|
/*!
|
|
208
208
|
Copyright (c) 2018 Jed Watson.
|
|
209
209
|
Licensed under the MIT License (MIT), see
|
|
@@ -238,15 +238,15 @@ var or = { exports: {} };
|
|
|
238
238
|
}
|
|
239
239
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
240
240
|
})();
|
|
241
|
-
})(
|
|
242
|
-
var
|
|
243
|
-
const f = /* @__PURE__ */
|
|
241
|
+
})(ir);
|
|
242
|
+
var Pr = ir.exports;
|
|
243
|
+
const f = /* @__PURE__ */ Tr(Pr), zr = {
|
|
244
244
|
"purpur-card": "_purpur-card_5j8zb_1"
|
|
245
245
|
};
|
|
246
|
-
function
|
|
246
|
+
function Hr(e) {
|
|
247
247
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
248
248
|
}
|
|
249
|
-
var
|
|
249
|
+
var nr = { exports: {} };
|
|
250
250
|
/*!
|
|
251
251
|
Copyright (c) 2018 Jed Watson.
|
|
252
252
|
Licensed under the MIT License (MIT), see
|
|
@@ -281,9 +281,9 @@ var ir = { exports: {} };
|
|
|
281
281
|
}
|
|
282
282
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
283
283
|
})();
|
|
284
|
-
})(
|
|
285
|
-
var
|
|
286
|
-
const
|
|
284
|
+
})(nr);
|
|
285
|
+
var Vr = nr.exports;
|
|
286
|
+
const Wr = /* @__PURE__ */ Hr(Vr), Xr = {
|
|
287
287
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
288
288
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
289
289
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -291,56 +291,56 @@ const Vr = /* @__PURE__ */ zr(Hr), Wr = {
|
|
|
291
291
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
292
292
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
293
293
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
294
|
-
},
|
|
294
|
+
}, Jr = {
|
|
295
295
|
name: "alert",
|
|
296
296
|
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>',
|
|
297
297
|
keywords: ["alert"],
|
|
298
298
|
category: "status"
|
|
299
|
-
},
|
|
299
|
+
}, Kr = {
|
|
300
300
|
name: "check-circle",
|
|
301
301
|
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>',
|
|
302
302
|
keywords: ["check-circle"],
|
|
303
303
|
category: "status"
|
|
304
|
-
},
|
|
304
|
+
}, Qr = {
|
|
305
305
|
name: "error",
|
|
306
306
|
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>',
|
|
307
307
|
keywords: ["error"],
|
|
308
308
|
category: "status"
|
|
309
|
-
},
|
|
309
|
+
}, Yr = {
|
|
310
310
|
name: "info",
|
|
311
311
|
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>',
|
|
312
312
|
keywords: ["info"],
|
|
313
313
|
category: "status"
|
|
314
|
-
},
|
|
314
|
+
}, re = {
|
|
315
315
|
name: "offering",
|
|
316
316
|
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>',
|
|
317
317
|
keywords: ["offering"],
|
|
318
318
|
category: "other"
|
|
319
|
-
},
|
|
319
|
+
}, ee = {
|
|
320
320
|
name: "question",
|
|
321
321
|
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>',
|
|
322
322
|
keywords: ["question"],
|
|
323
323
|
category: "status"
|
|
324
|
-
},
|
|
324
|
+
}, te = Wr.bind(Xr), z = "purpur-icon", ae = "md", oe = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), ie = ({ content: e = "", title: o } = {}) => {
|
|
325
325
|
const a = [
|
|
326
326
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
327
327
|
{ name: "fill", value: "currentColor" },
|
|
328
328
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
329
329
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
330
330
|
], n = o ? `<title>${o}</title>` : "";
|
|
331
|
-
return `<svg ${
|
|
332
|
-
},
|
|
331
|
+
return `<svg ${oe(a)}>${n}${e}</svg>`;
|
|
332
|
+
}, ne = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), pe = ({
|
|
333
333
|
["data-testid"]: e,
|
|
334
334
|
svg: o,
|
|
335
335
|
allyTitle: a,
|
|
336
336
|
className: n = "",
|
|
337
|
-
size: p =
|
|
337
|
+
size: p = ae,
|
|
338
338
|
...r
|
|
339
339
|
}) => {
|
|
340
|
-
const t =
|
|
341
|
-
content:
|
|
340
|
+
const t = ie({
|
|
341
|
+
content: ne(o.svg),
|
|
342
342
|
title: a
|
|
343
|
-
}), i =
|
|
343
|
+
}), i = te(n, z, `${z}--${p}`);
|
|
344
344
|
return /* @__PURE__ */ l(
|
|
345
345
|
"span",
|
|
346
346
|
{
|
|
@@ -352,10 +352,10 @@ const Vr = /* @__PURE__ */ zr(Hr), Wr = {
|
|
|
352
352
|
}
|
|
353
353
|
);
|
|
354
354
|
};
|
|
355
|
-
function
|
|
355
|
+
function le(e) {
|
|
356
356
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
357
357
|
}
|
|
358
|
-
var
|
|
358
|
+
var pr = { exports: {} };
|
|
359
359
|
/*!
|
|
360
360
|
Copyright (c) 2018 Jed Watson.
|
|
361
361
|
Licensed under the MIT License (MIT), see
|
|
@@ -390,9 +390,9 @@ var nr = { exports: {} };
|
|
|
390
390
|
}
|
|
391
391
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
392
392
|
})();
|
|
393
|
-
})(
|
|
394
|
-
var
|
|
395
|
-
const
|
|
393
|
+
})(pr);
|
|
394
|
+
var se = pr.exports;
|
|
395
|
+
const ue = /* @__PURE__ */ le(se), H = {
|
|
396
396
|
"purpur-badge": "_purpur-badge_stlab_1",
|
|
397
397
|
"purpur-badge--attention": "_purpur-badge--attention_stlab_13",
|
|
398
398
|
"purpur-badge--special": "_purpur-badge--special_stlab_17",
|
|
@@ -401,7 +401,7 @@ const se = /* @__PURE__ */ pe(le), z = {
|
|
|
401
401
|
"purpur-badge--success": "_purpur-badge--success_stlab_29",
|
|
402
402
|
"purpur-badge--warning": "_purpur-badge--warning_stlab_33",
|
|
403
403
|
"purpur-badge--error": "_purpur-badge--error_stlab_37"
|
|
404
|
-
},
|
|
404
|
+
}, V = "purpur-badge", v = {
|
|
405
405
|
ATTENTION: "attention",
|
|
406
406
|
SPECIAL: "special",
|
|
407
407
|
NEUTRAL: "neutral",
|
|
@@ -409,25 +409,25 @@ const se = /* @__PURE__ */ pe(le), z = {
|
|
|
409
409
|
SUCCESS: "success",
|
|
410
410
|
WARNING: "warning",
|
|
411
411
|
ERROR: "error"
|
|
412
|
-
},
|
|
412
|
+
}, de = (e) => {
|
|
413
413
|
switch (e) {
|
|
414
414
|
case v.ATTENTION:
|
|
415
415
|
case v.SPECIAL:
|
|
416
|
-
return
|
|
416
|
+
return re;
|
|
417
417
|
case v.INFORMATION:
|
|
418
|
-
return
|
|
418
|
+
return Yr;
|
|
419
419
|
case v.SUCCESS:
|
|
420
|
-
return
|
|
420
|
+
return Kr;
|
|
421
421
|
case v.WARNING:
|
|
422
|
-
return
|
|
422
|
+
return Jr;
|
|
423
423
|
case v.ERROR:
|
|
424
|
-
return
|
|
424
|
+
return Qr;
|
|
425
425
|
case v.NEUTRAL:
|
|
426
|
-
return
|
|
426
|
+
return ee;
|
|
427
427
|
default:
|
|
428
428
|
return;
|
|
429
429
|
}
|
|
430
|
-
},
|
|
430
|
+
}, ce = ({
|
|
431
431
|
children: e,
|
|
432
432
|
showIcon: o = !0,
|
|
433
433
|
variant: a,
|
|
@@ -436,55 +436,55 @@ const se = /* @__PURE__ */ pe(le), z = {
|
|
|
436
436
|
className: r = "",
|
|
437
437
|
...t
|
|
438
438
|
}) => {
|
|
439
|
-
const i =
|
|
439
|
+
const i = de(a), u = ue([r, H[V], H[`${V}--${a}`]]);
|
|
440
440
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
441
|
-
o && i && /* @__PURE__ */ l(
|
|
441
|
+
o && i && /* @__PURE__ */ l(pe, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: i }),
|
|
442
442
|
e
|
|
443
443
|
] });
|
|
444
|
-
},
|
|
444
|
+
}, _e = {
|
|
445
445
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
446
|
-
},
|
|
446
|
+
}, fe = f.bind(_e), he = "purpur-card-badge", ge = ({
|
|
447
447
|
["data-testid"]: e = "purpur-card-badge",
|
|
448
448
|
variant: o,
|
|
449
449
|
text: a
|
|
450
450
|
}) => o && a ? /* @__PURE__ */ l(
|
|
451
|
-
|
|
451
|
+
ce,
|
|
452
452
|
{
|
|
453
|
-
className:
|
|
453
|
+
className: fe(he),
|
|
454
454
|
variant: o,
|
|
455
455
|
showIcon: !1,
|
|
456
456
|
"data-testid": e,
|
|
457
457
|
children: a
|
|
458
458
|
}
|
|
459
|
-
) : null,
|
|
459
|
+
) : null, me = {
|
|
460
460
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
461
|
-
},
|
|
461
|
+
}, ve = f.bind(me), ye = "purpur-card-content", we = ({
|
|
462
462
|
["data-testid"]: e = "purpur-card-content",
|
|
463
463
|
children: o
|
|
464
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
464
|
+
}) => /* @__PURE__ */ l("div", { className: ve(ye), "data-testid": e, children: o }), xe = {
|
|
465
465
|
"purpur-card-content-container": "_purpur-card-content-container_dx1e4_1",
|
|
466
466
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_dx1e4_7"
|
|
467
|
-
},
|
|
467
|
+
}, be = f.bind(xe), W = "purpur-card-content-container", Ce = ({
|
|
468
468
|
["data-testid"]: e = "purpur-card-content-container",
|
|
469
469
|
children: o,
|
|
470
470
|
isFooter: a = !1
|
|
471
471
|
}) => /* @__PURE__ */ l(
|
|
472
472
|
"div",
|
|
473
473
|
{
|
|
474
|
-
className:
|
|
475
|
-
|
|
474
|
+
className: be([
|
|
475
|
+
W,
|
|
476
476
|
{
|
|
477
|
-
[`${
|
|
477
|
+
[`${W}--footer`]: a
|
|
478
478
|
}
|
|
479
479
|
]),
|
|
480
480
|
"data-testid": e,
|
|
481
481
|
children: o
|
|
482
482
|
}
|
|
483
483
|
);
|
|
484
|
-
function
|
|
484
|
+
function Se(e) {
|
|
485
485
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
486
486
|
}
|
|
487
|
-
var
|
|
487
|
+
var lr = { exports: {} };
|
|
488
488
|
/*!
|
|
489
489
|
Copyright (c) 2018 Jed Watson.
|
|
490
490
|
Licensed under the MIT License (MIT), see
|
|
@@ -519,9 +519,9 @@ var pr = { exports: {} };
|
|
|
519
519
|
}
|
|
520
520
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
521
521
|
})();
|
|
522
|
-
})(
|
|
523
|
-
var
|
|
524
|
-
const
|
|
522
|
+
})(lr);
|
|
523
|
+
var Fe = lr.exports;
|
|
524
|
+
const ke = /* @__PURE__ */ Se(Fe), Ae = {
|
|
525
525
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
526
526
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
527
527
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -529,52 +529,52 @@ const Fe = /* @__PURE__ */ Ce(Se), ke = {
|
|
|
529
529
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
530
530
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
531
531
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
532
|
-
},
|
|
532
|
+
}, Oe = {
|
|
533
533
|
name: "arrow-right",
|
|
534
534
|
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>',
|
|
535
535
|
keywords: ["arrow-right"],
|
|
536
536
|
category: "utility"
|
|
537
|
-
},
|
|
537
|
+
}, Be = {
|
|
538
538
|
name: "checkmark",
|
|
539
539
|
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>',
|
|
540
540
|
keywords: ["checkmark"],
|
|
541
541
|
category: "utility"
|
|
542
|
-
},
|
|
543
|
-
|
|
542
|
+
}, sr = (e) => /* @__PURE__ */ l(
|
|
543
|
+
dr,
|
|
544
544
|
{
|
|
545
545
|
...e,
|
|
546
|
-
svg:
|
|
546
|
+
svg: Oe
|
|
547
547
|
}
|
|
548
548
|
);
|
|
549
|
-
|
|
550
|
-
const
|
|
551
|
-
|
|
549
|
+
sr.displayName = "IconArrowRight";
|
|
550
|
+
const ur = (e) => /* @__PURE__ */ l(
|
|
551
|
+
dr,
|
|
552
552
|
{
|
|
553
553
|
...e,
|
|
554
|
-
svg:
|
|
554
|
+
svg: Be
|
|
555
555
|
}
|
|
556
556
|
);
|
|
557
|
-
|
|
558
|
-
const
|
|
557
|
+
ur.displayName = "IconCheckmark";
|
|
558
|
+
const $e = ke.bind(Ae), X = "purpur-icon", Ee = "md", Ge = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Me = ({ content: e = "", title: o } = {}) => {
|
|
559
559
|
const a = [
|
|
560
560
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
561
561
|
{ name: "fill", value: "currentColor" },
|
|
562
562
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
563
563
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
564
564
|
], n = o ? `<title>${o}</title>` : "";
|
|
565
|
-
return `<svg ${
|
|
566
|
-
},
|
|
565
|
+
return `<svg ${Ge(a)}>${n}${e}</svg>`;
|
|
566
|
+
}, Ne = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), dr = ({
|
|
567
567
|
["data-testid"]: e,
|
|
568
568
|
svg: o,
|
|
569
569
|
allyTitle: a,
|
|
570
570
|
className: n = "",
|
|
571
|
-
size: p =
|
|
571
|
+
size: p = Ee,
|
|
572
572
|
...r
|
|
573
573
|
}) => {
|
|
574
|
-
const t =
|
|
575
|
-
content:
|
|
574
|
+
const t = Me({
|
|
575
|
+
content: Ne(o.svg),
|
|
576
576
|
title: a
|
|
577
|
-
}), i =
|
|
577
|
+
}), i = $e(n, X, `${X}--${p}`);
|
|
578
578
|
return /* @__PURE__ */ l(
|
|
579
579
|
"span",
|
|
580
580
|
{
|
|
@@ -586,10 +586,10 @@ const Be = Fe.bind(ke), W = "purpur-icon", $e = "md", Ee = (e) => e.filter((o) =
|
|
|
586
586
|
}
|
|
587
587
|
);
|
|
588
588
|
};
|
|
589
|
-
function
|
|
589
|
+
function Ze(e) {
|
|
590
590
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
591
591
|
}
|
|
592
|
-
var
|
|
592
|
+
var cr = { exports: {} };
|
|
593
593
|
/*!
|
|
594
594
|
Copyright (c) 2018 Jed Watson.
|
|
595
595
|
Licensed under the MIT License (MIT), see
|
|
@@ -624,9 +624,9 @@ var dr = { exports: {} };
|
|
|
624
624
|
}
|
|
625
625
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
626
626
|
})();
|
|
627
|
-
})(
|
|
628
|
-
var
|
|
629
|
-
const
|
|
627
|
+
})(cr);
|
|
628
|
+
var Ue = cr.exports;
|
|
629
|
+
const Ie = /* @__PURE__ */ Ze(Ue), F = {
|
|
630
630
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
631
631
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
632
632
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -641,7 +641,7 @@ const Ue = /* @__PURE__ */ Me(Ze), k = {
|
|
|
641
641
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
642
642
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
643
643
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
644
|
-
},
|
|
644
|
+
}, je = {
|
|
645
645
|
PARAGRAPH100: "paragraph-100",
|
|
646
646
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
647
647
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -652,49 +652,49 @@ const Ue = /* @__PURE__ */ Me(Ze), k = {
|
|
|
652
652
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
653
653
|
OVERLINE100: "overline-100",
|
|
654
654
|
OVERLINE200: "overline-200"
|
|
655
|
-
},
|
|
655
|
+
}, k = "purpur-paragraph", _r = ({
|
|
656
656
|
["data-testid"]: e,
|
|
657
657
|
children: o,
|
|
658
658
|
className: a = "",
|
|
659
659
|
disabled: n,
|
|
660
660
|
enableHyphenation: p = !1,
|
|
661
661
|
negative: r = !1,
|
|
662
|
-
variant: t =
|
|
662
|
+
variant: t = je.PARAGRAPH100,
|
|
663
663
|
...i
|
|
664
664
|
}) => {
|
|
665
|
-
const u =
|
|
665
|
+
const u = Ie([
|
|
666
666
|
a,
|
|
667
|
-
k
|
|
668
|
-
|
|
667
|
+
F[k],
|
|
668
|
+
F[`${k}--${t}`],
|
|
669
669
|
{
|
|
670
|
-
[
|
|
671
|
-
[
|
|
672
|
-
[
|
|
670
|
+
[F[`${k}--hyphens`]]: p,
|
|
671
|
+
[F[`${k}--disabled`]]: n,
|
|
672
|
+
[F[`${k}--negative`]]: r
|
|
673
673
|
}
|
|
674
674
|
]);
|
|
675
675
|
return /* @__PURE__ */ l("p", { ...i, className: u, "data-testid": e, children: o });
|
|
676
|
-
},
|
|
676
|
+
}, Re = {
|
|
677
677
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
678
678
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
679
|
-
},
|
|
679
|
+
}, J = f.bind(Re), K = "purpur-card-feature-list", De = ({
|
|
680
680
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
681
681
|
listItems: o
|
|
682
|
-
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className:
|
|
682
|
+
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className: J(K), "data-testid": e, children: o.map((a) => /* @__PURE__ */ _(
|
|
683
683
|
"li",
|
|
684
684
|
{
|
|
685
|
-
className:
|
|
685
|
+
className: J(`${K}__list-item`),
|
|
686
686
|
"data-testid": `${e}-item`,
|
|
687
687
|
children: [
|
|
688
|
-
/* @__PURE__ */ l(
|
|
689
|
-
/* @__PURE__ */ l(
|
|
688
|
+
/* @__PURE__ */ l(ur, { size: "xs" }),
|
|
689
|
+
/* @__PURE__ */ l(_r, { children: a })
|
|
690
690
|
]
|
|
691
691
|
},
|
|
692
692
|
a
|
|
693
693
|
)) }) : null;
|
|
694
|
-
function
|
|
694
|
+
function Le(e) {
|
|
695
695
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
696
696
|
}
|
|
697
|
-
var
|
|
697
|
+
var fr = { exports: {} };
|
|
698
698
|
/*!
|
|
699
699
|
Copyright (c) 2018 Jed Watson.
|
|
700
700
|
Licensed under the MIT License (MIT), see
|
|
@@ -729,44 +729,44 @@ var _r = { exports: {} };
|
|
|
729
729
|
}
|
|
730
730
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
731
731
|
})();
|
|
732
|
-
})(
|
|
733
|
-
var
|
|
734
|
-
const
|
|
732
|
+
})(fr);
|
|
733
|
+
var qe = fr.exports;
|
|
734
|
+
const Q = /* @__PURE__ */ Le(qe), Te = "_rotate_1xozj_1", Pe = "_dash_1xozj_1", A = {
|
|
735
735
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
736
|
-
rotate:
|
|
736
|
+
rotate: Te,
|
|
737
737
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
738
738
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
739
739
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
740
740
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
741
741
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
742
742
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
743
|
-
dash:
|
|
743
|
+
dash: Pe,
|
|
744
744
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
745
745
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
746
|
-
},
|
|
746
|
+
}, O = "purpur-spinner", ze = {
|
|
747
747
|
XXS: "xxs",
|
|
748
748
|
XS: "xs",
|
|
749
749
|
SM: "sm",
|
|
750
750
|
MD: "md",
|
|
751
751
|
LG: "lg"
|
|
752
|
-
},
|
|
752
|
+
}, He = ({
|
|
753
753
|
["data-testid"]: e,
|
|
754
754
|
disabled: o = !1,
|
|
755
755
|
negative: a = !1,
|
|
756
|
-
size: n =
|
|
756
|
+
size: n = ze.SM,
|
|
757
757
|
...p
|
|
758
758
|
}) => /* @__PURE__ */ l(
|
|
759
759
|
"div",
|
|
760
760
|
{
|
|
761
|
-
className:
|
|
761
|
+
className: Q([A[O], A[`${O}--${n}`]]),
|
|
762
762
|
"data-testid": e,
|
|
763
763
|
...p,
|
|
764
764
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
765
765
|
"circle",
|
|
766
766
|
{
|
|
767
|
-
className:
|
|
768
|
-
[
|
|
769
|
-
[
|
|
767
|
+
className: Q(A[`${O}__circle`], {
|
|
768
|
+
[A[`${O}__circle--disabled`]]: o,
|
|
769
|
+
[A[`${O}__circle--negative`]]: a
|
|
770
770
|
}),
|
|
771
771
|
cx: "25",
|
|
772
772
|
cy: "25",
|
|
@@ -774,7 +774,7 @@ const K = /* @__PURE__ */ De(Le), qe = "_rotate_1xozj_1", Te = "_dash_1xozj_1",
|
|
|
774
774
|
}
|
|
775
775
|
) })
|
|
776
776
|
}
|
|
777
|
-
),
|
|
777
|
+
), Ve = {
|
|
778
778
|
"purpur-card-link-arrow": "_purpur-card-link-arrow_1r4zu_1",
|
|
779
779
|
"purpur-card-link-arrow--sm": "_purpur-card-link-arrow--sm_1r4zu_33",
|
|
780
780
|
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_1r4zu_36",
|
|
@@ -788,7 +788,7 @@ const K = /* @__PURE__ */ De(Le), qe = "_rotate_1xozj_1", Te = "_dash_1xozj_1",
|
|
|
788
788
|
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_1r4zu_87",
|
|
789
789
|
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_1r4zu_98",
|
|
790
790
|
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_1r4zu_108"
|
|
791
|
-
},
|
|
791
|
+
}, We = f.bind(Ve), w = "purpur-card-link-arrow", Xe = ({
|
|
792
792
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
793
793
|
className: o,
|
|
794
794
|
disabled: a = !1,
|
|
@@ -797,79 +797,79 @@ const K = /* @__PURE__ */ De(Le), qe = "_rotate_1xozj_1", Te = "_dash_1xozj_1",
|
|
|
797
797
|
}) => /* @__PURE__ */ l(
|
|
798
798
|
"div",
|
|
799
799
|
{
|
|
800
|
-
className: `${
|
|
801
|
-
|
|
800
|
+
className: `${We([
|
|
801
|
+
w,
|
|
802
802
|
o,
|
|
803
|
-
`${
|
|
804
|
-
`${
|
|
805
|
-
`${
|
|
803
|
+
`${w}--md`,
|
|
804
|
+
`${w}--icon-only`,
|
|
805
|
+
`${w}--secondary`,
|
|
806
806
|
{
|
|
807
|
-
[`${
|
|
807
|
+
[`${w}--disabled`]: a
|
|
808
808
|
}
|
|
809
|
-
])} ${
|
|
809
|
+
])} ${w}`,
|
|
810
810
|
"data-testid": e,
|
|
811
811
|
...p,
|
|
812
|
-
children: n ? /* @__PURE__ */ l(
|
|
812
|
+
children: n ? /* @__PURE__ */ l(He, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(sr, { "data-testid": `${e}-arrow`, size: "md" })
|
|
813
813
|
}
|
|
814
|
-
),
|
|
814
|
+
), Je = {
|
|
815
815
|
"purpur-card-overline": "_purpur-card-overline_142el_1"
|
|
816
|
-
},
|
|
816
|
+
}, Ke = f.bind(Je), Qe = "purpur-card-overline", Ye = ({
|
|
817
817
|
["data-testid"]: e = "purpur-card-overline",
|
|
818
818
|
overline: o
|
|
819
|
-
}) => o ? /* @__PURE__ */ l(
|
|
819
|
+
}) => o ? /* @__PURE__ */ l(_r, { className: Ke(Qe), "data-testid": e, children: o }) : null, rt = {
|
|
820
820
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
821
821
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
822
822
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
823
823
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
824
|
-
},
|
|
824
|
+
}, et = {
|
|
825
825
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
826
826
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
827
827
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
828
828
|
};
|
|
829
|
-
function
|
|
830
|
-
return
|
|
829
|
+
function x() {
|
|
830
|
+
return x = Object.assign ? Object.assign.bind() : function(e) {
|
|
831
831
|
for (var o = 1; o < arguments.length; o++) {
|
|
832
832
|
var a = arguments[o];
|
|
833
833
|
for (var n in a)
|
|
834
834
|
Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n]);
|
|
835
835
|
}
|
|
836
836
|
return e;
|
|
837
|
-
},
|
|
837
|
+
}, x.apply(this, arguments);
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function tt(e, o) {
|
|
840
840
|
typeof e == "function" ? e(o) : e != null && (e.current = o);
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function at(...e) {
|
|
843
843
|
return (o) => e.forEach(
|
|
844
|
-
(a) =>
|
|
844
|
+
(a) => tt(a, o)
|
|
845
845
|
);
|
|
846
846
|
}
|
|
847
|
-
const
|
|
848
|
-
const { children: a, ...n } = e, p =
|
|
847
|
+
const hr = /* @__PURE__ */ E((e, o) => {
|
|
848
|
+
const { children: a, ...n } = e, p = B.toArray(a), r = p.find(it);
|
|
849
849
|
if (r) {
|
|
850
|
-
const t = r.props.children, i = p.map((u) => u === r ?
|
|
851
|
-
return /* @__PURE__ */
|
|
850
|
+
const t = r.props.children, i = p.map((u) => u === r ? B.count(t) > 1 ? B.only(null) : /* @__PURE__ */ U(t) ? t.props.children : null : u);
|
|
851
|
+
return /* @__PURE__ */ $(L, x({}, n, {
|
|
852
852
|
ref: o
|
|
853
|
-
}), /* @__PURE__ */ U(t) ? /* @__PURE__ */
|
|
853
|
+
}), /* @__PURE__ */ U(t) ? /* @__PURE__ */ tr(t, void 0, i) : null);
|
|
854
854
|
}
|
|
855
|
-
return /* @__PURE__ */
|
|
855
|
+
return /* @__PURE__ */ $(L, x({}, n, {
|
|
856
856
|
ref: o
|
|
857
857
|
}), a);
|
|
858
858
|
});
|
|
859
|
-
|
|
860
|
-
const
|
|
859
|
+
hr.displayName = "Slot";
|
|
860
|
+
const L = /* @__PURE__ */ E((e, o) => {
|
|
861
861
|
const { children: a, ...n } = e;
|
|
862
|
-
return /* @__PURE__ */ U(a) ? /* @__PURE__ */
|
|
863
|
-
...
|
|
864
|
-
ref: o ?
|
|
865
|
-
}) :
|
|
862
|
+
return /* @__PURE__ */ U(a) ? /* @__PURE__ */ tr(a, {
|
|
863
|
+
...nt(n, a.props),
|
|
864
|
+
ref: o ? at(o, a.ref) : a.ref
|
|
865
|
+
}) : B.count(a) > 1 ? B.only(null) : null;
|
|
866
866
|
});
|
|
867
|
-
|
|
868
|
-
const
|
|
869
|
-
function
|
|
870
|
-
return /* @__PURE__ */ U(e) && e.type ===
|
|
867
|
+
L.displayName = "SlotClone";
|
|
868
|
+
const ot = ({ children: e }) => /* @__PURE__ */ $(xr, null, e);
|
|
869
|
+
function it(e) {
|
|
870
|
+
return /* @__PURE__ */ U(e) && e.type === ot;
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function nt(e, o) {
|
|
873
873
|
const a = {
|
|
874
874
|
...o
|
|
875
875
|
};
|
|
@@ -890,7 +890,7 @@ function it(e, o) {
|
|
|
890
890
|
...a
|
|
891
891
|
};
|
|
892
892
|
}
|
|
893
|
-
const
|
|
893
|
+
const pt = [
|
|
894
894
|
"a",
|
|
895
895
|
"button",
|
|
896
896
|
"div",
|
|
@@ -907,12 +907,12 @@ const nt = [
|
|
|
907
907
|
"span",
|
|
908
908
|
"svg",
|
|
909
909
|
"ul"
|
|
910
|
-
],
|
|
911
|
-
const a = /* @__PURE__ */
|
|
912
|
-
const { asChild: r, ...t } = n, i = r ?
|
|
913
|
-
return
|
|
910
|
+
], lt = pt.reduce((e, o) => {
|
|
911
|
+
const a = /* @__PURE__ */ E((n, p) => {
|
|
912
|
+
const { asChild: r, ...t } = n, i = r ? hr : o;
|
|
913
|
+
return wr(() => {
|
|
914
914
|
window[Symbol.for("radix-ui")] = !0;
|
|
915
|
-
}, []), /* @__PURE__ */
|
|
915
|
+
}, []), /* @__PURE__ */ $(i, x({}, t, {
|
|
916
916
|
ref: p
|
|
917
917
|
}));
|
|
918
918
|
});
|
|
@@ -920,7 +920,7 @@ const nt = [
|
|
|
920
920
|
...e,
|
|
921
921
|
[o]: a
|
|
922
922
|
};
|
|
923
|
-
}, {}),
|
|
923
|
+
}, {}), st = /* @__PURE__ */ E((e, o) => /* @__PURE__ */ $(lt.span, x({}, e, {
|
|
924
924
|
ref: o,
|
|
925
925
|
style: {
|
|
926
926
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -936,12 +936,12 @@ const nt = [
|
|
|
936
936
|
wordWrap: "normal",
|
|
937
937
|
...e.style
|
|
938
938
|
}
|
|
939
|
-
}))),
|
|
939
|
+
}))), ut = st, Y = ({
|
|
940
940
|
asChild: e,
|
|
941
941
|
children: o,
|
|
942
942
|
className: a = "",
|
|
943
943
|
["data-testid"]: n
|
|
944
|
-
}) => /* @__PURE__ */ l(
|
|
944
|
+
}) => /* @__PURE__ */ l(ut, { asChild: e, "data-testid": n, className: a, children: o }), rr = f.bind(et), y = "purpur-card-trigger-item", dt = ({
|
|
945
945
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
946
946
|
disabled: o = !1,
|
|
947
947
|
href: a,
|
|
@@ -957,7 +957,7 @@ const nt = [
|
|
|
957
957
|
"a",
|
|
958
958
|
{
|
|
959
959
|
"aria-disabled": o,
|
|
960
|
-
className: `${
|
|
960
|
+
className: `${rr([
|
|
961
961
|
y,
|
|
962
962
|
{
|
|
963
963
|
[`${y}--disabled`]: o
|
|
@@ -966,14 +966,14 @@ const nt = [
|
|
|
966
966
|
"data-testid": e,
|
|
967
967
|
href: o ? void 0 : a,
|
|
968
968
|
tabIndex: o ? 0 : void 0,
|
|
969
|
-
children: /* @__PURE__ */ l(
|
|
969
|
+
children: /* @__PURE__ */ l(Y, { children: p })
|
|
970
970
|
}
|
|
971
971
|
)
|
|
972
972
|
) : /* @__PURE__ */ l(
|
|
973
973
|
"button",
|
|
974
974
|
{
|
|
975
975
|
"aria-disabled": o,
|
|
976
|
-
className: `${
|
|
976
|
+
className: `${rr([
|
|
977
977
|
y,
|
|
978
978
|
`${y}--button`,
|
|
979
979
|
{
|
|
@@ -983,10 +983,10 @@ const nt = [
|
|
|
983
983
|
"data-testid": e,
|
|
984
984
|
type: "button",
|
|
985
985
|
onClick: r,
|
|
986
|
-
children: /* @__PURE__ */ l(
|
|
986
|
+
children: /* @__PURE__ */ l(Y, { children: p })
|
|
987
987
|
}
|
|
988
988
|
);
|
|
989
|
-
},
|
|
989
|
+
}, ct = f.bind(rt), R = "purpur-card-root", gr = E(
|
|
990
990
|
({
|
|
991
991
|
["data-testid"]: e = "purpur-card-root",
|
|
992
992
|
children: o,
|
|
@@ -997,20 +997,20 @@ const nt = [
|
|
|
997
997
|
onClick: t,
|
|
998
998
|
screenReaderText: i,
|
|
999
999
|
variant: u,
|
|
1000
|
-
...
|
|
1001
|
-
},
|
|
1002
|
-
const
|
|
1003
|
-
|
|
1000
|
+
...b
|
|
1001
|
+
}, I) => {
|
|
1002
|
+
const d = ct([
|
|
1003
|
+
R,
|
|
1004
1004
|
a,
|
|
1005
1005
|
{
|
|
1006
|
-
[`${
|
|
1007
|
-
[`${
|
|
1006
|
+
[`${R}--${u}`]: u,
|
|
1007
|
+
[`${R}--full-height`]: p
|
|
1008
1008
|
}
|
|
1009
1009
|
]);
|
|
1010
|
-
return /* @__PURE__ */ _("div", { className:
|
|
1010
|
+
return /* @__PURE__ */ _("div", { className: d, "data-testid": e, ref: I, ...b, children: [
|
|
1011
1011
|
o,
|
|
1012
1012
|
(t || r) && i && /* @__PURE__ */ l(
|
|
1013
|
-
|
|
1013
|
+
dt,
|
|
1014
1014
|
{
|
|
1015
1015
|
disabled: n,
|
|
1016
1016
|
href: r,
|
|
@@ -1021,29 +1021,29 @@ const nt = [
|
|
|
1021
1021
|
] });
|
|
1022
1022
|
}
|
|
1023
1023
|
);
|
|
1024
|
-
|
|
1025
|
-
const
|
|
1026
|
-
const n =
|
|
1027
|
-
|
|
1024
|
+
gr.displayName = "CardRoot";
|
|
1025
|
+
const er = f.bind(zr), D = "purpur-card", g = ({ children: e, className: o, ...a }) => {
|
|
1026
|
+
const n = er([
|
|
1027
|
+
D,
|
|
1028
1028
|
o,
|
|
1029
1029
|
{
|
|
1030
|
-
[`${
|
|
1031
|
-
[`${
|
|
1030
|
+
[`${D}--is-interactive`]: a.onClick || a.href,
|
|
1031
|
+
[`${D}--disabled`]: a.disabled
|
|
1032
1032
|
}
|
|
1033
1033
|
]);
|
|
1034
|
-
return /* @__PURE__ */ l(
|
|
1034
|
+
return /* @__PURE__ */ l(gr, { className: er(n), ...a, children: e });
|
|
1035
1035
|
};
|
|
1036
|
-
g.Badge =
|
|
1037
|
-
g.LinkArrow =
|
|
1038
|
-
g.Content =
|
|
1039
|
-
g.ContentContainer =
|
|
1040
|
-
g.FeatureList =
|
|
1041
|
-
g.Overline =
|
|
1036
|
+
g.Badge = ge;
|
|
1037
|
+
g.LinkArrow = Xe;
|
|
1038
|
+
g.Content = we;
|
|
1039
|
+
g.ContentContainer = Ce;
|
|
1040
|
+
g.FeatureList = De;
|
|
1041
|
+
g.Overline = Ye;
|
|
1042
1042
|
g.displayName = "Card";
|
|
1043
|
-
function
|
|
1043
|
+
function _t(e) {
|
|
1044
1044
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1045
1045
|
}
|
|
1046
|
-
var
|
|
1046
|
+
var mr = { exports: {} };
|
|
1047
1047
|
/*!
|
|
1048
1048
|
Copyright (c) 2018 Jed Watson.
|
|
1049
1049
|
Licensed under the MIT License (MIT), see
|
|
@@ -1078,9 +1078,9 @@ var gr = { exports: {} };
|
|
|
1078
1078
|
}
|
|
1079
1079
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1080
1080
|
})();
|
|
1081
|
-
})(
|
|
1082
|
-
var
|
|
1083
|
-
const
|
|
1081
|
+
})(mr);
|
|
1082
|
+
var ft = mr.exports;
|
|
1083
|
+
const ht = /* @__PURE__ */ _t(ft), N = {
|
|
1084
1084
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1085
1085
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1086
1086
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1096,7 +1096,7 @@ const ft = /* @__PURE__ */ ct(_t), M = {
|
|
|
1096
1096
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1097
1097
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1098
1098
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1099
|
-
},
|
|
1099
|
+
}, gt = {
|
|
1100
1100
|
TITLE100: "title-100",
|
|
1101
1101
|
TITLE200: "title-200",
|
|
1102
1102
|
TITLE300: "title-300",
|
|
@@ -1105,31 +1105,31 @@ const ft = /* @__PURE__ */ ct(_t), M = {
|
|
|
1105
1105
|
TITLE600: "title-600",
|
|
1106
1106
|
TITLE700: "title-700",
|
|
1107
1107
|
SUBSECTION100: "subsection-100"
|
|
1108
|
-
}, Z = "purpur-heading",
|
|
1108
|
+
}, Z = "purpur-heading", mt = ({
|
|
1109
1109
|
["data-testid"]: e,
|
|
1110
1110
|
children: o,
|
|
1111
1111
|
className: a = "",
|
|
1112
1112
|
enableHyphenation: n = !1,
|
|
1113
1113
|
negative: p = !1,
|
|
1114
1114
|
tag: r,
|
|
1115
|
-
variant: t =
|
|
1115
|
+
variant: t = gt.TITLE100,
|
|
1116
1116
|
...i
|
|
1117
1117
|
}) => {
|
|
1118
|
-
const u = r,
|
|
1118
|
+
const u = r, b = ht([
|
|
1119
1119
|
a,
|
|
1120
|
-
|
|
1121
|
-
|
|
1120
|
+
N[Z],
|
|
1121
|
+
N[`${Z}--${t}`],
|
|
1122
1122
|
{
|
|
1123
|
-
[
|
|
1124
|
-
[
|
|
1123
|
+
[N[`${Z}--hyphens`]]: n,
|
|
1124
|
+
[N[`${Z}--negative`]]: p
|
|
1125
1125
|
}
|
|
1126
1126
|
]);
|
|
1127
|
-
return /* @__PURE__ */ l(u, { ...i, className:
|
|
1127
|
+
return /* @__PURE__ */ l(u, { ...i, className: b, "data-testid": e, children: o });
|
|
1128
1128
|
};
|
|
1129
|
-
function
|
|
1129
|
+
function vt(e) {
|
|
1130
1130
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1131
1131
|
}
|
|
1132
|
-
var
|
|
1132
|
+
var vr = { exports: {} };
|
|
1133
1133
|
/*!
|
|
1134
1134
|
Copyright (c) 2018 Jed Watson.
|
|
1135
1135
|
Licensed under the MIT License (MIT), see
|
|
@@ -1164,38 +1164,37 @@ var mr = { exports: {} };
|
|
|
1164
1164
|
}
|
|
1165
1165
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1166
1166
|
})();
|
|
1167
|
-
})(
|
|
1168
|
-
var
|
|
1169
|
-
const
|
|
1170
|
-
"purpur-promotion-card": "_purpur-promotion-
|
|
1171
|
-
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-
|
|
1172
|
-
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-
|
|
1173
|
-
"purpur-promotion-card__card
|
|
1174
|
-
"purpur-promotion-
|
|
1175
|
-
"purpur-promotion-
|
|
1176
|
-
"purpur-promotion-card__content": "_purpur-promotion-
|
|
1177
|
-
"purpur-promotion-
|
|
1178
|
-
"purpur-promotion-
|
|
1179
|
-
"purpur-promotion-
|
|
1180
|
-
"purpur-promotion-
|
|
1181
|
-
"purpur-promotion-
|
|
1182
|
-
"purpur-promotion-
|
|
1183
|
-
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-
|
|
1184
|
-
"purpur-promotion-card__image-wrapper--
|
|
1185
|
-
|
|
1186
|
-
}, Ot = ["primary", "secondary", "quaternary"], xt = {
|
|
1167
|
+
})(vr);
|
|
1168
|
+
var yt = vr.exports;
|
|
1169
|
+
const wt = /* @__PURE__ */ vt(yt), xt = {
|
|
1170
|
+
"purpur-promotion-card": "_purpur-promotion-card_hmb27_1",
|
|
1171
|
+
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_hmb27_8",
|
|
1172
|
+
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-image_hmb27_28",
|
|
1173
|
+
"purpur-promotion-card__card": "_purpur-promotion-card__card_hmb27_40",
|
|
1174
|
+
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-gradient_hmb27_44",
|
|
1175
|
+
"purpur-promotion-card__content": "_purpur-promotion-card__content_hmb27_60",
|
|
1176
|
+
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-image_hmb27_70",
|
|
1177
|
+
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-content_hmb27_73",
|
|
1178
|
+
"purpur-promotion-card__heading": "_purpur-promotion-card__heading_hmb27_77",
|
|
1179
|
+
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-image_hmb27_82",
|
|
1180
|
+
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-wrapper_hmb27_93",
|
|
1181
|
+
"purpur-promotion-card__body": "_purpur-promotion-card__body_hmb27_97",
|
|
1182
|
+
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_hmb27_120",
|
|
1183
|
+
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_hmb27_123",
|
|
1184
|
+
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_hmb27_124"
|
|
1185
|
+
}, Bt = ["primary", "secondary", "quaternary"], bt = {
|
|
1187
1186
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1188
1187
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1189
1188
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1190
|
-
},
|
|
1189
|
+
}, Ct = {
|
|
1191
1190
|
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>')`,
|
|
1192
1191
|
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>')`,
|
|
1193
1192
|
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>')`
|
|
1194
|
-
},
|
|
1193
|
+
}, St = {
|
|
1195
1194
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1196
1195
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1197
1196
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1198
|
-
}, c =
|
|
1197
|
+
}, c = wt.bind(xt), s = "purpur-promotion-card", Ft = ({
|
|
1199
1198
|
["data-testid"]: e,
|
|
1200
1199
|
variant: o = "primary",
|
|
1201
1200
|
badgeText: a,
|
|
@@ -1203,113 +1202,107 @@ const yt = /* @__PURE__ */ mt(vt), wt = {
|
|
|
1203
1202
|
title: p,
|
|
1204
1203
|
titleTag: r = "h2",
|
|
1205
1204
|
titleVariant: t = "title-300",
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1205
|
+
enableTitleHyphenation: i = !0,
|
|
1206
|
+
className: u,
|
|
1207
|
+
children: b,
|
|
1208
|
+
style: I,
|
|
1209
1209
|
...d
|
|
1210
1210
|
}) => {
|
|
1211
|
-
let
|
|
1211
|
+
let G = d, h, M;
|
|
1212
1212
|
if ("decorativeImage" in d) {
|
|
1213
|
-
const { hasGradient:
|
|
1214
|
-
h =
|
|
1213
|
+
const { hasGradient: C, decorativeImage: S, ...j } = d;
|
|
1214
|
+
h = S, M = C, G = j;
|
|
1215
1215
|
} else if ("productImage" in d) {
|
|
1216
|
-
const { hasGradient:
|
|
1217
|
-
h =
|
|
1216
|
+
const { hasGradient: C, productImage: S, ...j } = d;
|
|
1217
|
+
h = S, M = C, G = j;
|
|
1218
1218
|
} else if ("hasGradient" in d) {
|
|
1219
|
-
const { hasGradient:
|
|
1220
|
-
|
|
1219
|
+
const { hasGradient: C, ...S } = d;
|
|
1220
|
+
M = C, G = S;
|
|
1221
1221
|
}
|
|
1222
|
-
const
|
|
1223
|
-
"--promotion-card-background":
|
|
1224
|
-
"--promotion-card-color":
|
|
1225
|
-
"--promotion-card-background-image":
|
|
1222
|
+
const yr = {
|
|
1223
|
+
"--promotion-card-background": bt[o],
|
|
1224
|
+
"--promotion-card-color": St[o],
|
|
1225
|
+
"--promotion-card-background-image": Ct[o]
|
|
1226
1226
|
};
|
|
1227
|
-
return /* @__PURE__ */ l(
|
|
1228
|
-
|
|
1227
|
+
return /* @__PURE__ */ l(g, { className: c(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1228
|
+
"div",
|
|
1229
1229
|
{
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1230
|
+
"data-testid": e,
|
|
1231
|
+
style: {
|
|
1232
|
+
...yr,
|
|
1233
|
+
...I
|
|
1234
|
+
},
|
|
1235
|
+
className: c([
|
|
1236
|
+
u,
|
|
1237
|
+
s,
|
|
1238
|
+
`${s}--${o}`,
|
|
1234
1239
|
{
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
[`${s}--without-image`]: !h
|
|
1247
|
-
}
|
|
1248
|
-
]),
|
|
1249
|
-
...w,
|
|
1250
|
-
children: [
|
|
1251
|
-
/* @__PURE__ */ _(
|
|
1252
|
-
"div",
|
|
1240
|
+
[`${s}--with-image`]: h,
|
|
1241
|
+
[`${s}--without-image`]: !h
|
|
1242
|
+
}
|
|
1243
|
+
]),
|
|
1244
|
+
...G,
|
|
1245
|
+
children: [
|
|
1246
|
+
/* @__PURE__ */ _(
|
|
1247
|
+
"div",
|
|
1248
|
+
{
|
|
1249
|
+
className: c([
|
|
1250
|
+
`${s}__content`,
|
|
1253
1251
|
{
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
{
|
|
1257
|
-
[`${s}__content--with-image`]: h,
|
|
1258
|
-
[`${s}__content--without-image`]: !h
|
|
1259
|
-
}
|
|
1260
|
-
]),
|
|
1261
|
-
children: [
|
|
1262
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: c(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(Lr, { variant: o === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1263
|
-
n && n,
|
|
1264
|
-
a
|
|
1265
|
-
] }) }),
|
|
1266
|
-
/* @__PURE__ */ _("div", { className: c(`${s}__main-content`), children: [
|
|
1267
|
-
/* @__PURE__ */ l(
|
|
1268
|
-
gt,
|
|
1269
|
-
{
|
|
1270
|
-
tag: r,
|
|
1271
|
-
variant: t,
|
|
1272
|
-
enableHyphenation: !0,
|
|
1273
|
-
className: c(`${s}__heading`),
|
|
1274
|
-
children: p
|
|
1275
|
-
}
|
|
1276
|
-
),
|
|
1277
|
-
/* @__PURE__ */ l("div", { className: c(`${s}__body`), children: u })
|
|
1278
|
-
] })
|
|
1279
|
-
]
|
|
1252
|
+
[`${s}__content--with-image`]: h,
|
|
1253
|
+
[`${s}__content--without-image`]: !h
|
|
1280
1254
|
}
|
|
1281
|
-
),
|
|
1282
|
-
|
|
1283
|
-
"div",
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1255
|
+
]),
|
|
1256
|
+
children: [
|
|
1257
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: c(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(qr, { variant: o === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1258
|
+
n && n,
|
|
1259
|
+
a
|
|
1260
|
+
] }) }),
|
|
1261
|
+
/* @__PURE__ */ _("div", { className: c(`${s}__main-content`), children: [
|
|
1262
|
+
/* @__PURE__ */ l(
|
|
1263
|
+
mt,
|
|
1287
1264
|
{
|
|
1288
|
-
|
|
1289
|
-
|
|
1265
|
+
tag: r,
|
|
1266
|
+
variant: t,
|
|
1267
|
+
enableHyphenation: i,
|
|
1268
|
+
className: c(`${s}__heading`),
|
|
1269
|
+
children: p
|
|
1290
1270
|
}
|
|
1291
|
-
|
|
1292
|
-
children:
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1271
|
+
),
|
|
1272
|
+
/* @__PURE__ */ l("div", { className: c(`${s}__body`), children: b })
|
|
1273
|
+
] })
|
|
1274
|
+
]
|
|
1275
|
+
}
|
|
1276
|
+
),
|
|
1277
|
+
h && /* @__PURE__ */ _(
|
|
1278
|
+
"div",
|
|
1279
|
+
{
|
|
1280
|
+
className: c([
|
|
1281
|
+
`${s}__image-wrapper`,
|
|
1282
|
+
{
|
|
1283
|
+
[`${s}__image-wrapper--product`]: "productImage" in d,
|
|
1284
|
+
[`${s}__image-wrapper--decorative`]: "decorativeImage" in d
|
|
1302
1285
|
}
|
|
1303
|
-
)
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1286
|
+
]),
|
|
1287
|
+
children: [
|
|
1288
|
+
h,
|
|
1289
|
+
M && /* @__PURE__ */ l(
|
|
1290
|
+
"div",
|
|
1291
|
+
{
|
|
1292
|
+
className: c(`${s}__image-gradient`),
|
|
1293
|
+
"data-testid": "promotion-card-gradient"
|
|
1294
|
+
}
|
|
1295
|
+
)
|
|
1296
|
+
]
|
|
1297
|
+
}
|
|
1298
|
+
)
|
|
1299
|
+
]
|
|
1307
1300
|
}
|
|
1308
|
-
);
|
|
1301
|
+
) });
|
|
1309
1302
|
};
|
|
1310
|
-
|
|
1303
|
+
Ft.displayName = "PromotionCard";
|
|
1311
1304
|
export {
|
|
1312
|
-
|
|
1313
|
-
|
|
1305
|
+
Ft as PromotionCard,
|
|
1306
|
+
Bt as promotionCardVariants
|
|
1314
1307
|
};
|
|
1315
1308
|
//# sourceMappingURL=promotion-card.es.js.map
|