@purpurds/promotion-card 8.12.1 → 8.13.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 +4 -4
- package/dist/promotion-card.cjs.js +1 -1
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts +21 -0
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +291 -289
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +17 -17
- package/src/promotion-card.tsx +9 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as _, jsx as l, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useTheme as
|
|
4
|
-
function
|
|
1
|
+
import { jsxs as _, jsx as l, Fragment as qr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Gr, useId as Vr } from "react";
|
|
3
|
+
import { useTheme as Wr, useApplyTheme as Kr } from "@purpurds/theme";
|
|
4
|
+
function Yr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
8
|
-
function
|
|
9
|
-
return
|
|
7
|
+
var er = { exports: {} }, tr;
|
|
8
|
+
function Qr() {
|
|
9
|
+
return tr || (tr = 1, (function(e) {
|
|
10
10
|
(function() {
|
|
11
11
|
var o = {}.hasOwnProperty;
|
|
12
12
|
function a() {
|
|
@@ -35,10 +35,10 @@ function Yr() {
|
|
|
35
35
|
}
|
|
36
36
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
37
37
|
})();
|
|
38
|
-
})(
|
|
38
|
+
})(er)), er.exports;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const
|
|
40
|
+
var Jr = Qr();
|
|
41
|
+
const Xr = /* @__PURE__ */ Yr(Jr), re = {
|
|
42
42
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
43
43
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
44
44
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -46,69 +46,69 @@ const Jr = /* @__PURE__ */ Kr(Qr), Xr = {
|
|
|
46
46
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
47
47
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
48
48
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
49
|
-
},
|
|
49
|
+
}, ee = Xr.bind(re), ar = "purpur-icon", te = "md", ae = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), ie = ({ content: e = "", title: o } = {}) => {
|
|
50
50
|
const a = [
|
|
51
51
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
52
52
|
{ name: "fill", value: "currentColor" },
|
|
53
53
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
54
54
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
55
55
|
], n = o ? `<title>${o}</title>` : "";
|
|
56
|
-
return `<svg ${
|
|
57
|
-
},
|
|
58
|
-
const r =
|
|
59
|
-
content:
|
|
56
|
+
return `<svg ${ae(a)}>${n}${e}</svg>`;
|
|
57
|
+
}, oe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Nr = ({ svg: e, allyTitle: o, className: a, size: n = te, ...p }) => {
|
|
58
|
+
const r = ie({
|
|
59
|
+
content: oe(e.svg),
|
|
60
60
|
title: o
|
|
61
|
-
}), t =
|
|
61
|
+
}), t = ee(ar, `${ar}--${n}`, a);
|
|
62
62
|
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
63
63
|
};
|
|
64
|
-
|
|
65
|
-
const
|
|
64
|
+
Nr.displayName = "Icon";
|
|
65
|
+
const ne = {
|
|
66
66
|
name: "alert",
|
|
67
67
|
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>',
|
|
68
68
|
keywords: ["alert"],
|
|
69
69
|
category: "status"
|
|
70
|
-
},
|
|
70
|
+
}, pe = {
|
|
71
71
|
name: "check-circle",
|
|
72
72
|
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>',
|
|
73
73
|
keywords: ["check-circle"],
|
|
74
74
|
category: "status"
|
|
75
|
-
},
|
|
75
|
+
}, le = {
|
|
76
76
|
name: "devices",
|
|
77
77
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10 3.4a.1.1 0 0 0-.1.1V4a.9.9 0 0 1-1.8 0v-.5c0-1.05.85-1.9 1.9-1.9h10c1.05 0 1.9.85 1.9 1.9v15a1.9 1.9 0 0 1-1.9 1.9h-6a.9.9 0 1 1 0-1.8h6a.1.1 0 0 0 .1-.1v-15a.1.1 0 0 0-.1-.1H10ZM2.1 8c0-1.05.85-1.9 1.9-1.9h6c1.05 0 1.9.85 1.9 1.9v12a1.9 1.9 0 0 1-1.9 1.9H4A1.9 1.9 0 0 1 2.1 20V8ZM4 7.9a.1.1 0 0 0-.1.1v12a.1.1 0 0 0 .1.1h6a.1.1 0 0 0 .1-.1V8a.1.1 0 0 0-.1-.1H4ZM14.6 17a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8h-.5a.9.9 0 0 1-.9-.9Zm-8.5 1.5a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8H7a.9.9 0 0 1-.9-.9Z" clip-rule="evenodd"/></svg>',
|
|
78
78
|
keywords: ["devices"],
|
|
79
79
|
category: "device"
|
|
80
|
-
},
|
|
80
|
+
}, ue = {
|
|
81
81
|
name: "error",
|
|
82
82
|
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>',
|
|
83
83
|
keywords: ["error"],
|
|
84
84
|
category: "status"
|
|
85
|
-
},
|
|
85
|
+
}, se = {
|
|
86
86
|
name: "info",
|
|
87
87
|
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>',
|
|
88
88
|
keywords: ["info"],
|
|
89
89
|
category: "status"
|
|
90
|
-
},
|
|
90
|
+
}, de = {
|
|
91
91
|
name: "offering",
|
|
92
92
|
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>',
|
|
93
93
|
keywords: ["offering"],
|
|
94
94
|
category: "other"
|
|
95
|
-
},
|
|
95
|
+
}, ce = {
|
|
96
96
|
name: "question",
|
|
97
97
|
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>',
|
|
98
98
|
keywords: ["question"],
|
|
99
99
|
category: "status"
|
|
100
|
-
},
|
|
100
|
+
}, _e = {
|
|
101
101
|
name: "tag",
|
|
102
102
|
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>',
|
|
103
103
|
keywords: ["tag"],
|
|
104
104
|
category: "other"
|
|
105
105
|
};
|
|
106
|
-
function
|
|
106
|
+
function fe(e) {
|
|
107
107
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
108
108
|
}
|
|
109
|
-
var
|
|
110
|
-
function
|
|
111
|
-
return
|
|
109
|
+
var ir = { exports: {} }, or;
|
|
110
|
+
function he() {
|
|
111
|
+
return or || (or = 1, (function(e) {
|
|
112
112
|
(function() {
|
|
113
113
|
var o = {}.hasOwnProperty;
|
|
114
114
|
function a() {
|
|
@@ -137,10 +137,10 @@ function fe() {
|
|
|
137
137
|
}
|
|
138
138
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
139
139
|
})();
|
|
140
|
-
})(
|
|
140
|
+
})(ir)), ir.exports;
|
|
141
141
|
}
|
|
142
|
-
var
|
|
143
|
-
const
|
|
142
|
+
var ge = he();
|
|
143
|
+
const nr = /* @__PURE__ */ fe(ge), j = {
|
|
144
144
|
"purpur-badge": "_purpur-badge_1nup9_1",
|
|
145
145
|
"purpur-badge__icon": "_purpur-badge__icon_1nup9_13",
|
|
146
146
|
"purpur-badge--attention": "_purpur-badge--attention_1nup9_17",
|
|
@@ -162,29 +162,29 @@ const or = /* @__PURE__ */ _e(he), j = {
|
|
|
162
162
|
SPECIAL: "special",
|
|
163
163
|
SUCCESS: "success",
|
|
164
164
|
WARNING: "warning"
|
|
165
|
-
},
|
|
165
|
+
}, me = (e) => {
|
|
166
166
|
switch (e) {
|
|
167
167
|
case g.ATTENTION:
|
|
168
168
|
case g.SPECIAL:
|
|
169
|
-
return
|
|
169
|
+
return de;
|
|
170
170
|
case g.INFORMATION:
|
|
171
|
-
return
|
|
171
|
+
return se;
|
|
172
172
|
case g.GENERAL:
|
|
173
|
-
return
|
|
173
|
+
return le;
|
|
174
174
|
case g.SUCCESS:
|
|
175
|
-
return
|
|
175
|
+
return pe;
|
|
176
176
|
case g.WARNING:
|
|
177
|
-
return
|
|
177
|
+
return ne;
|
|
178
178
|
case g.ERROR:
|
|
179
|
-
return
|
|
179
|
+
return ue;
|
|
180
180
|
case g.NEUTRAL:
|
|
181
|
-
return de;
|
|
182
|
-
case g.BLACK_FRIDAY:
|
|
183
181
|
return ce;
|
|
182
|
+
case g.BLACK_FRIDAY:
|
|
183
|
+
return _e;
|
|
184
184
|
default:
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
|
-
},
|
|
187
|
+
}, ve = ({
|
|
188
188
|
children: e,
|
|
189
189
|
showIcon: o = !0,
|
|
190
190
|
iconAllyTitle: a,
|
|
@@ -193,27 +193,27 @@ const or = /* @__PURE__ */ _e(he), j = {
|
|
|
193
193
|
className: r = "",
|
|
194
194
|
...t
|
|
195
195
|
}) => {
|
|
196
|
-
const i =
|
|
196
|
+
const i = me(n), s = nr([r, j[P], j[`${P}--${n}`]]);
|
|
197
197
|
return /* @__PURE__ */ _("span", { className: s, "data-testid": p, ...t, children: [
|
|
198
198
|
o && i && /* @__PURE__ */ l(
|
|
199
|
-
|
|
199
|
+
Nr,
|
|
200
200
|
{
|
|
201
201
|
"data-testid": `${p}-icon`,
|
|
202
202
|
allyTitle: a,
|
|
203
203
|
size: "xs",
|
|
204
204
|
svg: i,
|
|
205
|
-
className:
|
|
205
|
+
className: nr(j[`${P}__icon`])
|
|
206
206
|
}
|
|
207
207
|
),
|
|
208
208
|
e
|
|
209
209
|
] });
|
|
210
210
|
};
|
|
211
|
-
function
|
|
211
|
+
function ye(e) {
|
|
212
212
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
213
213
|
}
|
|
214
|
-
var
|
|
215
|
-
function
|
|
216
|
-
return
|
|
214
|
+
var pr = { exports: {} }, lr;
|
|
215
|
+
function we() {
|
|
216
|
+
return lr || (lr = 1, (function(e) {
|
|
217
217
|
(function() {
|
|
218
218
|
var o = {}.hasOwnProperty;
|
|
219
219
|
function a() {
|
|
@@ -242,21 +242,21 @@ function ye() {
|
|
|
242
242
|
}
|
|
243
243
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
244
244
|
})();
|
|
245
|
-
})(
|
|
245
|
+
})(pr)), pr.exports;
|
|
246
246
|
}
|
|
247
|
-
var
|
|
248
|
-
const d = /* @__PURE__ */
|
|
249
|
-
"purpur-card__container--full-height": "_purpur-card__container--full-
|
|
250
|
-
"purpur-card__container--use-container-queries": "_purpur-card__container--use-container-
|
|
251
|
-
"purpur-card": "_purpur-
|
|
252
|
-
"purpur-card__container--use-media-queries": "_purpur-card__container--use-media-
|
|
247
|
+
var xe = we();
|
|
248
|
+
const d = /* @__PURE__ */ ye(xe), be = {
|
|
249
|
+
"purpur-card__container--full-height": "_purpur-card__container--full-height_1a0g7_1",
|
|
250
|
+
"purpur-card__container--use-container-queries": "_purpur-card__container--use-container-queries_1a0g7_4",
|
|
251
|
+
"purpur-card": "_purpur-card_1a0g7_1",
|
|
252
|
+
"purpur-card__container--use-media-queries": "_purpur-card__container--use-media-queries_1a0g7_25"
|
|
253
253
|
};
|
|
254
|
-
function
|
|
254
|
+
function Ce(e) {
|
|
255
255
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
256
256
|
}
|
|
257
|
-
var
|
|
258
|
-
function
|
|
259
|
-
return
|
|
257
|
+
var ur = { exports: {} }, sr;
|
|
258
|
+
function Se() {
|
|
259
|
+
return sr || (sr = 1, (function(e) {
|
|
260
260
|
(function() {
|
|
261
261
|
var o = {}.hasOwnProperty;
|
|
262
262
|
function a() {
|
|
@@ -285,10 +285,10 @@ function Ce() {
|
|
|
285
285
|
}
|
|
286
286
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
287
287
|
})();
|
|
288
|
-
})(
|
|
288
|
+
})(ur)), ur.exports;
|
|
289
289
|
}
|
|
290
|
-
var
|
|
291
|
-
const
|
|
290
|
+
var $e = Se();
|
|
291
|
+
const Fe = /* @__PURE__ */ Ce($e), Be = {
|
|
292
292
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
293
293
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
294
294
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -296,69 +296,69 @@ const $e = /* @__PURE__ */ be(Se), Fe = {
|
|
|
296
296
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
297
297
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
298
298
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
299
|
-
},
|
|
299
|
+
}, Ae = Fe.bind(Be), dr = "purpur-icon", ke = "md", Oe = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Me = ({ content: e = "", title: o } = {}) => {
|
|
300
300
|
const a = [
|
|
301
301
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
302
302
|
{ name: "fill", value: "currentColor" },
|
|
303
303
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
304
304
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
305
305
|
], n = o ? `<title>${o}</title>` : "";
|
|
306
|
-
return `<svg ${
|
|
307
|
-
},
|
|
308
|
-
const r =
|
|
309
|
-
content:
|
|
306
|
+
return `<svg ${Oe(a)}>${n}${e}</svg>`;
|
|
307
|
+
}, Ge = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Zr = ({ svg: e, allyTitle: o, className: a, size: n = ke, ...p }) => {
|
|
308
|
+
const r = Me({
|
|
309
|
+
content: Ge(e.svg),
|
|
310
310
|
title: o
|
|
311
|
-
}), t =
|
|
311
|
+
}), t = Ae(dr, `${dr}--${n}`, a);
|
|
312
312
|
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
313
313
|
};
|
|
314
|
-
|
|
315
|
-
const
|
|
314
|
+
Zr.displayName = "Icon";
|
|
315
|
+
const Ne = {
|
|
316
316
|
name: "alert",
|
|
317
317
|
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>',
|
|
318
318
|
keywords: ["alert"],
|
|
319
319
|
category: "status"
|
|
320
|
-
},
|
|
320
|
+
}, Ze = {
|
|
321
321
|
name: "check-circle",
|
|
322
322
|
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>',
|
|
323
323
|
keywords: ["check-circle"],
|
|
324
324
|
category: "status"
|
|
325
|
-
},
|
|
325
|
+
}, Ee = {
|
|
326
326
|
name: "devices",
|
|
327
327
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10 3.4a.1.1 0 0 0-.1.1V4a.9.9 0 0 1-1.8 0v-.5c0-1.05.85-1.9 1.9-1.9h10c1.05 0 1.9.85 1.9 1.9v15a1.9 1.9 0 0 1-1.9 1.9h-6a.9.9 0 1 1 0-1.8h6a.1.1 0 0 0 .1-.1v-15a.1.1 0 0 0-.1-.1H10ZM2.1 8c0-1.05.85-1.9 1.9-1.9h6c1.05 0 1.9.85 1.9 1.9v12a1.9 1.9 0 0 1-1.9 1.9H4A1.9 1.9 0 0 1 2.1 20V8ZM4 7.9a.1.1 0 0 0-.1.1v12a.1.1 0 0 0 .1.1h6a.1.1 0 0 0 .1-.1V8a.1.1 0 0 0-.1-.1H4ZM14.6 17a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8h-.5a.9.9 0 0 1-.9-.9Zm-8.5 1.5a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8H7a.9.9 0 0 1-.9-.9Z" clip-rule="evenodd"/></svg>',
|
|
328
328
|
keywords: ["devices"],
|
|
329
329
|
category: "device"
|
|
330
|
-
},
|
|
330
|
+
}, Ue = {
|
|
331
331
|
name: "error",
|
|
332
332
|
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>',
|
|
333
333
|
keywords: ["error"],
|
|
334
334
|
category: "status"
|
|
335
|
-
},
|
|
335
|
+
}, Ie = {
|
|
336
336
|
name: "info",
|
|
337
337
|
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>',
|
|
338
338
|
keywords: ["info"],
|
|
339
339
|
category: "status"
|
|
340
|
-
},
|
|
340
|
+
}, De = {
|
|
341
341
|
name: "offering",
|
|
342
342
|
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>',
|
|
343
343
|
keywords: ["offering"],
|
|
344
344
|
category: "other"
|
|
345
|
-
},
|
|
345
|
+
}, Re = {
|
|
346
346
|
name: "question",
|
|
347
347
|
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>',
|
|
348
348
|
keywords: ["question"],
|
|
349
349
|
category: "status"
|
|
350
|
-
},
|
|
350
|
+
}, Le = {
|
|
351
351
|
name: "tag",
|
|
352
352
|
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>',
|
|
353
353
|
keywords: ["tag"],
|
|
354
354
|
category: "other"
|
|
355
355
|
};
|
|
356
|
-
function
|
|
356
|
+
function je(e) {
|
|
357
357
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
358
358
|
}
|
|
359
|
-
var
|
|
360
|
-
function
|
|
361
|
-
return
|
|
359
|
+
var cr = { exports: {} }, _r;
|
|
360
|
+
function Pe() {
|
|
361
|
+
return _r || (_r = 1, (function(e) {
|
|
362
362
|
(function() {
|
|
363
363
|
var o = {}.hasOwnProperty;
|
|
364
364
|
function a() {
|
|
@@ -387,10 +387,10 @@ function je() {
|
|
|
387
387
|
}
|
|
388
388
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
389
389
|
})();
|
|
390
|
-
})(
|
|
390
|
+
})(cr)), cr.exports;
|
|
391
391
|
}
|
|
392
|
-
var
|
|
393
|
-
const
|
|
392
|
+
var ze = Pe();
|
|
393
|
+
const fr = /* @__PURE__ */ je(ze), z = {
|
|
394
394
|
"purpur-badge": "_purpur-badge_1nup9_1",
|
|
395
395
|
"purpur-badge__icon": "_purpur-badge__icon_1nup9_13",
|
|
396
396
|
"purpur-badge--attention": "_purpur-badge--attention_1nup9_17",
|
|
@@ -412,29 +412,29 @@ const _r = /* @__PURE__ */ Le(Pe), z = {
|
|
|
412
412
|
SPECIAL: "special",
|
|
413
413
|
SUCCESS: "success",
|
|
414
414
|
WARNING: "warning"
|
|
415
|
-
},
|
|
415
|
+
}, He = (e) => {
|
|
416
416
|
switch (e) {
|
|
417
417
|
case m.ATTENTION:
|
|
418
418
|
case m.SPECIAL:
|
|
419
|
-
return
|
|
419
|
+
return De;
|
|
420
420
|
case m.INFORMATION:
|
|
421
|
-
return
|
|
421
|
+
return Ie;
|
|
422
422
|
case m.GENERAL:
|
|
423
|
-
return
|
|
423
|
+
return Ee;
|
|
424
424
|
case m.SUCCESS:
|
|
425
|
-
return
|
|
425
|
+
return Ze;
|
|
426
426
|
case m.WARNING:
|
|
427
|
-
return
|
|
427
|
+
return Ne;
|
|
428
428
|
case m.ERROR:
|
|
429
|
-
return
|
|
429
|
+
return Ue;
|
|
430
430
|
case m.NEUTRAL:
|
|
431
|
-
return De;
|
|
432
|
-
case m.BLACK_FRIDAY:
|
|
433
431
|
return Re;
|
|
432
|
+
case m.BLACK_FRIDAY:
|
|
433
|
+
return Le;
|
|
434
434
|
default:
|
|
435
435
|
return;
|
|
436
436
|
}
|
|
437
|
-
},
|
|
437
|
+
}, Te = ({
|
|
438
438
|
children: e,
|
|
439
439
|
showIcon: o = !0,
|
|
440
440
|
iconAllyTitle: a,
|
|
@@ -443,43 +443,43 @@ const _r = /* @__PURE__ */ Le(Pe), z = {
|
|
|
443
443
|
className: r = "",
|
|
444
444
|
...t
|
|
445
445
|
}) => {
|
|
446
|
-
const i =
|
|
446
|
+
const i = He(n), s = fr([r, z[H], z[`${H}--${n}`]]);
|
|
447
447
|
return /* @__PURE__ */ _("span", { className: s, "data-testid": p, ...t, children: [
|
|
448
448
|
o && i && /* @__PURE__ */ l(
|
|
449
|
-
|
|
449
|
+
Zr,
|
|
450
450
|
{
|
|
451
451
|
"data-testid": `${p}-icon`,
|
|
452
452
|
allyTitle: a,
|
|
453
453
|
size: "xs",
|
|
454
454
|
svg: i,
|
|
455
|
-
className:
|
|
455
|
+
className: fr(z[`${H}__icon`])
|
|
456
456
|
}
|
|
457
457
|
),
|
|
458
458
|
e
|
|
459
459
|
] });
|
|
460
|
-
},
|
|
460
|
+
}, qe = {
|
|
461
461
|
"purpur-card-badge": "_purpur-card-badge_k9ziu_1"
|
|
462
|
-
},
|
|
462
|
+
}, Ve = d.bind(qe), We = "purpur-card-badge", Ke = ({
|
|
463
463
|
["data-testid"]: e = "purpur-card-badge",
|
|
464
464
|
variant: o,
|
|
465
465
|
text: a
|
|
466
466
|
}) => o && a ? /* @__PURE__ */ l(
|
|
467
|
-
|
|
467
|
+
Te,
|
|
468
468
|
{
|
|
469
|
-
className:
|
|
469
|
+
className: Ve(We),
|
|
470
470
|
variant: o,
|
|
471
471
|
showIcon: !1,
|
|
472
472
|
"data-testid": e,
|
|
473
473
|
children: a
|
|
474
474
|
}
|
|
475
|
-
) : null,
|
|
475
|
+
) : null, Ye = {
|
|
476
476
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
477
|
-
},
|
|
477
|
+
}, Qe = d.bind(Ye), Je = "purpur-card-content", Xe = ({
|
|
478
478
|
["data-testid"]: e = "purpur-card-content",
|
|
479
479
|
children: o,
|
|
480
480
|
className: a,
|
|
481
481
|
...n
|
|
482
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
482
|
+
}) => /* @__PURE__ */ l("div", { className: Qe(Je, a), "data-testid": e, ...n, children: o }), rt = {
|
|
483
483
|
"purpur-card-content-container": "_purpur-card-content-container_2oha5_1",
|
|
484
484
|
"purpur-card-content-container--full-height": "_purpur-card-content-container--full-height_2oha5_6",
|
|
485
485
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_2oha5_21",
|
|
@@ -487,7 +487,7 @@ const _r = /* @__PURE__ */ Le(Pe), z = {
|
|
|
487
487
|
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_2oha5_39",
|
|
488
488
|
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_2oha5_42",
|
|
489
489
|
"purpur-card-content-container--gap-size--xl": "_purpur-card-content-container--gap-size--xl_2oha5_45"
|
|
490
|
-
},
|
|
490
|
+
}, et = d.bind(rt), k = "purpur-card-content-container", tt = ({
|
|
491
491
|
["data-testid"]: e = "purpur-card-content-container",
|
|
492
492
|
children: o,
|
|
493
493
|
className: a,
|
|
@@ -498,7 +498,7 @@ const _r = /* @__PURE__ */ Le(Pe), z = {
|
|
|
498
498
|
}) => /* @__PURE__ */ l(
|
|
499
499
|
"div",
|
|
500
500
|
{
|
|
501
|
-
className:
|
|
501
|
+
className: et([
|
|
502
502
|
k,
|
|
503
503
|
a,
|
|
504
504
|
`${k}--gap-size--${r}`,
|
|
@@ -512,12 +512,12 @@ const _r = /* @__PURE__ */ Le(Pe), z = {
|
|
|
512
512
|
children: o
|
|
513
513
|
}
|
|
514
514
|
);
|
|
515
|
-
function
|
|
515
|
+
function at(e) {
|
|
516
516
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
517
517
|
}
|
|
518
|
-
var
|
|
519
|
-
function
|
|
520
|
-
return
|
|
518
|
+
var hr = { exports: {} }, gr;
|
|
519
|
+
function it() {
|
|
520
|
+
return gr || (gr = 1, (function(e) {
|
|
521
521
|
(function() {
|
|
522
522
|
var o = {}.hasOwnProperty;
|
|
523
523
|
function a() {
|
|
@@ -546,33 +546,33 @@ function at() {
|
|
|
546
546
|
}
|
|
547
547
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
548
548
|
})();
|
|
549
|
-
})(
|
|
549
|
+
})(hr)), hr.exports;
|
|
550
550
|
}
|
|
551
|
-
var
|
|
552
|
-
const
|
|
551
|
+
var ot = it();
|
|
552
|
+
const nt = /* @__PURE__ */ at(ot), pt = "_rotate_12t9p_1", lt = "_dash_12t9p_1", ut = {
|
|
553
553
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
554
|
-
rotate:
|
|
554
|
+
rotate: pt,
|
|
555
555
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
556
556
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
557
557
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
558
558
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
559
559
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
560
560
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
561
|
-
dash:
|
|
561
|
+
dash: lt,
|
|
562
562
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
563
563
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
564
|
-
},
|
|
564
|
+
}, mr = nt.bind(ut), C = "purpur-spinner", st = {
|
|
565
565
|
SM: "sm"
|
|
566
|
-
},
|
|
566
|
+
}, Er = ({
|
|
567
567
|
disabled: e = !1,
|
|
568
568
|
negative: o = !1,
|
|
569
|
-
size: a =
|
|
569
|
+
size: a = st.SM,
|
|
570
570
|
className: n,
|
|
571
571
|
...p
|
|
572
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
572
|
+
}) => /* @__PURE__ */ l("div", { className: mr(C, `${C}--${a}`, n), ...p, children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
573
573
|
"circle",
|
|
574
574
|
{
|
|
575
|
-
className:
|
|
575
|
+
className: mr(`${C}__circle`, {
|
|
576
576
|
[`${C}__circle--disabled`]: e,
|
|
577
577
|
[`${C}__circle--negative`]: o
|
|
578
578
|
}),
|
|
@@ -581,8 +581,8 @@ const ot = /* @__PURE__ */ tt(it), nt = "_rotate_12t9p_1", pt = "_dash_12t9p_1",
|
|
|
581
581
|
r: "20"
|
|
582
582
|
}
|
|
583
583
|
) }) });
|
|
584
|
-
|
|
585
|
-
const
|
|
584
|
+
Er.displayName = "Spinner";
|
|
585
|
+
const dt = {
|
|
586
586
|
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1stkr_1",
|
|
587
587
|
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1stkr_22",
|
|
588
588
|
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1stkr_25",
|
|
@@ -601,7 +601,7 @@ const st = {
|
|
|
601
601
|
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1stkr_135",
|
|
602
602
|
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1stkr_135",
|
|
603
603
|
"purpur-card-cta--text": "_purpur-card-cta--text_1stkr_143"
|
|
604
|
-
},
|
|
604
|
+
}, ct = d.bind(dt), v = "purpur-card-cta", _t = ({
|
|
605
605
|
["data-testid"]: e = "purpur-card-cta",
|
|
606
606
|
className: o,
|
|
607
607
|
children: a,
|
|
@@ -614,7 +614,7 @@ const st = {
|
|
|
614
614
|
}) => /* @__PURE__ */ l(
|
|
615
615
|
"div",
|
|
616
616
|
{
|
|
617
|
-
className: `${
|
|
617
|
+
className: `${ct([
|
|
618
618
|
v,
|
|
619
619
|
o,
|
|
620
620
|
{
|
|
@@ -629,19 +629,19 @@ const st = {
|
|
|
629
629
|
])} ${v}`,
|
|
630
630
|
"data-testid": e,
|
|
631
631
|
...s,
|
|
632
|
-
children: r ? /* @__PURE__ */ l(
|
|
632
|
+
children: r ? /* @__PURE__ */ l(Er, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ _(qr, { children: [
|
|
633
633
|
p === "left" && a,
|
|
634
634
|
t,
|
|
635
635
|
p === "right" && a
|
|
636
636
|
] })
|
|
637
637
|
}
|
|
638
638
|
);
|
|
639
|
-
function
|
|
639
|
+
function ft(e) {
|
|
640
640
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
641
641
|
}
|
|
642
|
-
var
|
|
643
|
-
function
|
|
644
|
-
return
|
|
642
|
+
var vr = { exports: {} }, yr;
|
|
643
|
+
function ht() {
|
|
644
|
+
return yr || (yr = 1, (function(e) {
|
|
645
645
|
(function() {
|
|
646
646
|
var o = {}.hasOwnProperty;
|
|
647
647
|
function a() {
|
|
@@ -670,10 +670,10 @@ function ft() {
|
|
|
670
670
|
}
|
|
671
671
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
672
672
|
})();
|
|
673
|
-
})(
|
|
673
|
+
})(vr)), vr.exports;
|
|
674
674
|
}
|
|
675
|
-
var
|
|
676
|
-
const
|
|
675
|
+
var gt = ht();
|
|
676
|
+
const mt = /* @__PURE__ */ ft(gt), vt = {
|
|
677
677
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
678
678
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
679
679
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -681,35 +681,35 @@ const gt = /* @__PURE__ */ _t(ht), mt = {
|
|
|
681
681
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
682
682
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
683
683
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
684
|
-
},
|
|
684
|
+
}, yt = mt.bind(vt), wr = "purpur-icon", wt = "md", xt = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), bt = ({ content: e = "", title: o } = {}) => {
|
|
685
685
|
const a = [
|
|
686
686
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
687
687
|
{ name: "fill", value: "currentColor" },
|
|
688
688
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
689
689
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
690
690
|
], n = o ? `<title>${o}</title>` : "";
|
|
691
|
-
return `<svg ${
|
|
692
|
-
},
|
|
693
|
-
const r =
|
|
694
|
-
content:
|
|
691
|
+
return `<svg ${xt(a)}>${n}${e}</svg>`;
|
|
692
|
+
}, Ct = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ur = ({ svg: e, allyTitle: o, className: a, size: n = wt, ...p }) => {
|
|
693
|
+
const r = bt({
|
|
694
|
+
content: Ct(e.svg),
|
|
695
695
|
title: o
|
|
696
|
-
}), t =
|
|
696
|
+
}), t = yt(wr, `${wr}--${n}`, a);
|
|
697
697
|
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
698
698
|
};
|
|
699
|
-
|
|
700
|
-
const
|
|
699
|
+
Ur.displayName = "Icon";
|
|
700
|
+
const St = {
|
|
701
701
|
name: "checkmark",
|
|
702
702
|
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>',
|
|
703
703
|
keywords: ["checkmark"],
|
|
704
704
|
category: "utility"
|
|
705
|
-
},
|
|
706
|
-
|
|
707
|
-
function
|
|
705
|
+
}, Ir = (e) => /* @__PURE__ */ l(Ur, { ...e, svg: St });
|
|
706
|
+
Ir.displayName = "IconCheckmark";
|
|
707
|
+
function $t(e) {
|
|
708
708
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
709
709
|
}
|
|
710
|
-
var
|
|
711
|
-
function
|
|
712
|
-
return
|
|
710
|
+
var xr = { exports: {} }, br;
|
|
711
|
+
function Ft() {
|
|
712
|
+
return br || (br = 1, (function(e) {
|
|
713
713
|
(function() {
|
|
714
714
|
var o = {}.hasOwnProperty;
|
|
715
715
|
function a() {
|
|
@@ -738,10 +738,10 @@ function $t() {
|
|
|
738
738
|
}
|
|
739
739
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
740
740
|
})();
|
|
741
|
-
})(
|
|
741
|
+
})(xr)), xr.exports;
|
|
742
742
|
}
|
|
743
|
-
var
|
|
744
|
-
const
|
|
743
|
+
var Bt = Ft();
|
|
744
|
+
const At = /* @__PURE__ */ $t(Bt), kt = {
|
|
745
745
|
"purpur-paragraph": "_purpur-paragraph_1vz75_1",
|
|
746
746
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1vz75_7",
|
|
747
747
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1vz75_10",
|
|
@@ -757,7 +757,7 @@ const Bt = /* @__PURE__ */ St(Ft), At = {
|
|
|
757
757
|
"purpur-paragraph--additional-100-bold": "_purpur-paragraph--additional-100-bold_1vz75_67",
|
|
758
758
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1vz75_74",
|
|
759
759
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1vz75_82"
|
|
760
|
-
},
|
|
760
|
+
}, Ot = At.bind(kt), Mt = {
|
|
761
761
|
PARAGRAPH100: "paragraph-100"
|
|
762
762
|
}, S = "purpur-paragraph", Q = ({
|
|
763
763
|
children: e,
|
|
@@ -765,10 +765,10 @@ const Bt = /* @__PURE__ */ St(Ft), At = {
|
|
|
765
765
|
disabled: a,
|
|
766
766
|
enableHyphenation: n = !1,
|
|
767
767
|
negative: p = !1,
|
|
768
|
-
variant: r =
|
|
768
|
+
variant: r = Mt.PARAGRAPH100,
|
|
769
769
|
...t
|
|
770
770
|
}) => {
|
|
771
|
-
const i =
|
|
771
|
+
const i = Ot(o, S, `${S}--${r}`, {
|
|
772
772
|
[`${S}--hyphens`]: n,
|
|
773
773
|
[`${S}--disabled`]: a,
|
|
774
774
|
[`${S}--negative`]: p
|
|
@@ -776,11 +776,11 @@ const Bt = /* @__PURE__ */ St(Ft), At = {
|
|
|
776
776
|
return /* @__PURE__ */ l("p", { ...t, className: i, children: e });
|
|
777
777
|
};
|
|
778
778
|
Q.displayName = "Paragraph";
|
|
779
|
-
const
|
|
779
|
+
const Gt = {
|
|
780
780
|
"purpur-card-feature-list": "_purpur-card-feature-list_1hnss_1",
|
|
781
781
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_1hnss_7",
|
|
782
782
|
"purpur-card-feature-list__icon": "_purpur-card-feature-list__icon_1hnss_12"
|
|
783
|
-
}, T = d.bind(
|
|
783
|
+
}, T = d.bind(Gt), q = "purpur-card-feature-list", Nt = ({
|
|
784
784
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
785
785
|
listItems: o
|
|
786
786
|
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className: T(q), "data-testid": e, children: o.map((a) => /* @__PURE__ */ _(
|
|
@@ -789,18 +789,18 @@ const Mt = {
|
|
|
789
789
|
className: T(`${q}__list-item`),
|
|
790
790
|
"data-testid": `${e}-item`,
|
|
791
791
|
children: [
|
|
792
|
-
/* @__PURE__ */ l(
|
|
792
|
+
/* @__PURE__ */ l(Ir, { size: "xs", className: T(`${q}__icon`) }),
|
|
793
793
|
/* @__PURE__ */ l(Q, { children: a })
|
|
794
794
|
]
|
|
795
795
|
},
|
|
796
796
|
a
|
|
797
797
|
)) }) : null;
|
|
798
|
-
function
|
|
798
|
+
function Zt(e) {
|
|
799
799
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
800
800
|
}
|
|
801
|
-
var
|
|
802
|
-
function
|
|
803
|
-
return
|
|
801
|
+
var Cr = { exports: {} }, Sr;
|
|
802
|
+
function Et() {
|
|
803
|
+
return Sr || (Sr = 1, (function(e) {
|
|
804
804
|
(function() {
|
|
805
805
|
var o = {}.hasOwnProperty;
|
|
806
806
|
function a() {
|
|
@@ -829,10 +829,10 @@ function Zt() {
|
|
|
829
829
|
}
|
|
830
830
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
831
831
|
})();
|
|
832
|
-
})(
|
|
832
|
+
})(Cr)), Cr.exports;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
835
|
-
const
|
|
834
|
+
var Ut = Et();
|
|
835
|
+
const It = /* @__PURE__ */ Zt(Ut), O = {
|
|
836
836
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
837
837
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
838
838
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -852,18 +852,18 @@ const Ut = /* @__PURE__ */ Nt(Et), O = {
|
|
|
852
852
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
853
853
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
854
854
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
855
|
-
},
|
|
855
|
+
}, Dt = {
|
|
856
856
|
TITLE100: "title-100"
|
|
857
|
-
}, M = "purpur-heading",
|
|
857
|
+
}, M = "purpur-heading", Dr = ({
|
|
858
858
|
children: e,
|
|
859
859
|
className: o = "",
|
|
860
860
|
enableHyphenation: a = !1,
|
|
861
861
|
negative: n = !1,
|
|
862
862
|
tag: p,
|
|
863
|
-
variant: r =
|
|
863
|
+
variant: r = Dt.TITLE100,
|
|
864
864
|
...t
|
|
865
865
|
}) => {
|
|
866
|
-
const i = p, s =
|
|
866
|
+
const i = p, s = It([
|
|
867
867
|
o,
|
|
868
868
|
O[M],
|
|
869
869
|
O[`${M}--${r}`],
|
|
@@ -874,18 +874,18 @@ const Ut = /* @__PURE__ */ Nt(Et), O = {
|
|
|
874
874
|
]);
|
|
875
875
|
return /* @__PURE__ */ l(i, { className: s, ...t, children: e });
|
|
876
876
|
};
|
|
877
|
-
|
|
878
|
-
const
|
|
877
|
+
Dr.displayName = "Heading";
|
|
878
|
+
const Rt = {
|
|
879
879
|
"purpur-card-heading": "_purpur-card-heading_j3j6u_1",
|
|
880
880
|
"purpur-card-heading__header": "_purpur-card-heading__header_j3j6u_6",
|
|
881
881
|
"purpur-card-heading__heading": "_purpur-card-heading__heading_j3j6u_11",
|
|
882
882
|
"purpur-card-heading__icon": "_purpur-card-heading__icon_j3j6u_14"
|
|
883
|
-
},
|
|
883
|
+
}, Lt = {
|
|
884
884
|
"purpur-card-trigger-item--link": "_purpur-card-trigger-item--link_t6ena_1",
|
|
885
885
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_t6ena_5",
|
|
886
886
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_t6ena_18",
|
|
887
887
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_t6ena_1"
|
|
888
|
-
},
|
|
888
|
+
}, $r = d.bind(Lt), y = "purpur-card-trigger-item", jt = ({
|
|
889
889
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
890
890
|
["aria-label"]: o,
|
|
891
891
|
disabled: a = !1,
|
|
@@ -894,15 +894,15 @@ const Dt = {
|
|
|
894
894
|
children: r,
|
|
895
895
|
linkElement: t = "a"
|
|
896
896
|
}) => {
|
|
897
|
-
const i = (
|
|
898
|
-
a ?
|
|
897
|
+
const i = (x) => {
|
|
898
|
+
a ? x.preventDefault() : p && p();
|
|
899
899
|
}, s = `${y} ${a ? `${y}--disabled` : ""}`;
|
|
900
900
|
return n ? /* @__PURE__ */ l(
|
|
901
901
|
t,
|
|
902
902
|
{
|
|
903
903
|
"aria-disabled": a,
|
|
904
904
|
"aria-label": o,
|
|
905
|
-
className: `${
|
|
905
|
+
className: `${$r([
|
|
906
906
|
y,
|
|
907
907
|
`${y}--link`,
|
|
908
908
|
{
|
|
@@ -920,7 +920,7 @@ const Dt = {
|
|
|
920
920
|
{
|
|
921
921
|
"aria-disabled": a,
|
|
922
922
|
"aria-label": o,
|
|
923
|
-
className: `${
|
|
923
|
+
className: `${$r([
|
|
924
924
|
y,
|
|
925
925
|
`${y}--button`,
|
|
926
926
|
{
|
|
@@ -933,7 +933,7 @@ const Dt = {
|
|
|
933
933
|
children: r
|
|
934
934
|
}
|
|
935
935
|
);
|
|
936
|
-
}, G = d.bind(
|
|
936
|
+
}, G = d.bind(Rt), b = "purpur-card-heading", Pt = ({
|
|
937
937
|
["data-testid"]: e = "purpur-card-heading",
|
|
938
938
|
["aria-label"]: o,
|
|
939
939
|
title: a,
|
|
@@ -943,34 +943,34 @@ const Dt = {
|
|
|
943
943
|
enableHyphenation: t,
|
|
944
944
|
onClick: i = void 0,
|
|
945
945
|
href: s = void 0,
|
|
946
|
-
disabled:
|
|
947
|
-
linkElement:
|
|
948
|
-
variant:
|
|
949
|
-
...
|
|
946
|
+
disabled: x = !1,
|
|
947
|
+
linkElement: B = "a",
|
|
948
|
+
variant: E = "title-100",
|
|
949
|
+
...U
|
|
950
950
|
}) => {
|
|
951
|
-
const
|
|
951
|
+
const I = G(b, {
|
|
952
952
|
[`${b}--is-interactive`]: i || s,
|
|
953
|
-
[`${b}--disabled`]:
|
|
953
|
+
[`${b}--disabled`]: x
|
|
954
954
|
});
|
|
955
|
-
return /* @__PURE__ */ _("div", { className:
|
|
955
|
+
return /* @__PURE__ */ _("div", { className: I, "data-testid": e, children: [
|
|
956
956
|
/* @__PURE__ */ _("div", { className: G(`${b}__header`), children: [
|
|
957
957
|
n && /* @__PURE__ */ l("div", { className: G(`${b}__icon`), children: n }),
|
|
958
958
|
/* @__PURE__ */ l(
|
|
959
|
-
|
|
959
|
+
Dr,
|
|
960
960
|
{
|
|
961
961
|
tag: r,
|
|
962
962
|
className: G(`${b}__heading`),
|
|
963
|
-
variant:
|
|
963
|
+
variant: E,
|
|
964
964
|
enableHyphenation: t,
|
|
965
|
-
...
|
|
965
|
+
...U,
|
|
966
966
|
children: i || s ? /* @__PURE__ */ l(
|
|
967
|
-
|
|
967
|
+
jt,
|
|
968
968
|
{
|
|
969
969
|
"aria-label": o,
|
|
970
|
-
disabled:
|
|
970
|
+
disabled: x,
|
|
971
971
|
href: s,
|
|
972
972
|
onClick: i,
|
|
973
|
-
linkElement:
|
|
973
|
+
linkElement: B,
|
|
974
974
|
children: a
|
|
975
975
|
}
|
|
976
976
|
) : a
|
|
@@ -979,17 +979,17 @@ const Dt = {
|
|
|
979
979
|
] }),
|
|
980
980
|
p
|
|
981
981
|
] });
|
|
982
|
-
},
|
|
982
|
+
}, zt = {
|
|
983
983
|
"purpur-card-media": "_purpur-card-media_1om4o_1"
|
|
984
|
-
},
|
|
984
|
+
}, Ht = d.bind(zt), Tt = "purpur-card-media", qt = ({
|
|
985
985
|
["data-testid"]: e = "purpur-card-media",
|
|
986
986
|
className: o,
|
|
987
987
|
children: a,
|
|
988
988
|
...n
|
|
989
|
-
}) => /* @__PURE__ */ l("div", { ...n, className:
|
|
990
|
-
"purpur-card-media-layout": "_purpur-card-media-
|
|
991
|
-
"purpur-card-media-layout--image-top": "_purpur-card-media-layout--image-
|
|
992
|
-
},
|
|
989
|
+
}) => /* @__PURE__ */ l("div", { ...n, className: Ht([Tt, o]), "data-testid": e, children: a }), Vt = {
|
|
990
|
+
"purpur-card-media-layout": "_purpur-card-media-layout_1c4sy_1",
|
|
991
|
+
"purpur-card-media-layout--image-top": "_purpur-card-media-layout--image-top_1c4sy_11"
|
|
992
|
+
}, Wt = d.bind(Vt), Fr = "purpur-card-media-layout", Kt = ({
|
|
993
993
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
994
994
|
className: o,
|
|
995
995
|
children: a,
|
|
@@ -999,21 +999,21 @@ const Dt = {
|
|
|
999
999
|
"div",
|
|
1000
1000
|
{
|
|
1001
1001
|
...p,
|
|
1002
|
-
className:
|
|
1002
|
+
className: Wt(Fr, o, { [`${Fr}--image-top`]: n }),
|
|
1003
1003
|
"data-testid": e,
|
|
1004
1004
|
children: a
|
|
1005
1005
|
}
|
|
1006
|
-
),
|
|
1006
|
+
), Yt = {
|
|
1007
1007
|
"purpur-card-overline": "_purpur-card-overline_qhfj0_1"
|
|
1008
|
-
},
|
|
1008
|
+
}, Qt = d.bind(Yt), Jt = "purpur-card-overline", Xt = ({
|
|
1009
1009
|
["data-testid"]: e = "purpur-card-overline",
|
|
1010
1010
|
overline: o
|
|
1011
|
-
}) => o ? /* @__PURE__ */ l(Q, { variant: "overline-100", className:
|
|
1011
|
+
}) => o ? /* @__PURE__ */ l(Q, { variant: "overline-100", className: Qt(Jt), "data-testid": e, children: o }) : null, ra = {
|
|
1012
1012
|
"purpur-card-root": "_purpur-card-root_eupww_1",
|
|
1013
1013
|
"purpur-card-root--primary": "_purpur-card-root--primary_eupww_7",
|
|
1014
1014
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_eupww_10",
|
|
1015
1015
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_eupww_13"
|
|
1016
|
-
},
|
|
1016
|
+
}, ea = d.bind(ra), V = "purpur-card-root", Rr = Gr(
|
|
1017
1017
|
({
|
|
1018
1018
|
["data-testid"]: e = "purpur-card-root",
|
|
1019
1019
|
children: o,
|
|
@@ -1022,7 +1022,7 @@ const Dt = {
|
|
|
1022
1022
|
variant: p,
|
|
1023
1023
|
...r
|
|
1024
1024
|
}, t) => {
|
|
1025
|
-
const i =
|
|
1025
|
+
const i = ea([
|
|
1026
1026
|
V,
|
|
1027
1027
|
{
|
|
1028
1028
|
[`${V}--${p}`]: p,
|
|
@@ -1033,8 +1033,8 @@ const Dt = {
|
|
|
1033
1033
|
return /* @__PURE__ */ l("div", { className: i, "data-testid": e, ref: t, ...r, children: o });
|
|
1034
1034
|
}
|
|
1035
1035
|
);
|
|
1036
|
-
|
|
1037
|
-
const W = d.bind(
|
|
1036
|
+
Rr.displayName = "CardRoot";
|
|
1037
|
+
const W = d.bind(be), $ = "purpur-card", f = ({ children: e, className: o, useMediaQueries: a, ...n }) => {
|
|
1038
1038
|
const p = W([$, o]);
|
|
1039
1039
|
return /* @__PURE__ */ l(
|
|
1040
1040
|
"div",
|
|
@@ -1044,26 +1044,26 @@ const W = d.bind(xe), $ = "purpur-card", f = ({ children: e, className: o, useMe
|
|
|
1044
1044
|
[`${$}__container--use-container-queries`]: !a,
|
|
1045
1045
|
[`${$}__container--use-media-queries`]: a
|
|
1046
1046
|
}),
|
|
1047
|
-
children: /* @__PURE__ */ l(
|
|
1047
|
+
children: /* @__PURE__ */ l(Rr, { className: W(p), ...n, children: e })
|
|
1048
1048
|
}
|
|
1049
1049
|
);
|
|
1050
1050
|
};
|
|
1051
|
-
f.Badge =
|
|
1052
|
-
f.Content =
|
|
1053
|
-
f.ContentContainer =
|
|
1054
|
-
f.Cta =
|
|
1055
|
-
f.FeatureList =
|
|
1056
|
-
f.Overline =
|
|
1057
|
-
f.Heading =
|
|
1058
|
-
f.Media =
|
|
1059
|
-
f.MediaLayout =
|
|
1051
|
+
f.Badge = Ke;
|
|
1052
|
+
f.Content = Xe;
|
|
1053
|
+
f.ContentContainer = tt;
|
|
1054
|
+
f.Cta = _t;
|
|
1055
|
+
f.FeatureList = Nt;
|
|
1056
|
+
f.Overline = Xt;
|
|
1057
|
+
f.Heading = Pt;
|
|
1058
|
+
f.Media = qt;
|
|
1059
|
+
f.MediaLayout = Kt;
|
|
1060
1060
|
f.displayName = "Card";
|
|
1061
|
-
function
|
|
1061
|
+
function ta(e) {
|
|
1062
1062
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1063
1063
|
}
|
|
1064
|
-
var
|
|
1065
|
-
function
|
|
1066
|
-
return
|
|
1064
|
+
var Br = { exports: {} }, Ar;
|
|
1065
|
+
function aa() {
|
|
1066
|
+
return Ar || (Ar = 1, (function(e) {
|
|
1067
1067
|
(function() {
|
|
1068
1068
|
var o = {}.hasOwnProperty;
|
|
1069
1069
|
function a() {
|
|
@@ -1092,10 +1092,10 @@ function ta() {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1094
1094
|
})();
|
|
1095
|
-
})(
|
|
1095
|
+
})(Br)), Br.exports;
|
|
1096
1096
|
}
|
|
1097
|
-
var
|
|
1098
|
-
const
|
|
1097
|
+
var ia = aa();
|
|
1098
|
+
const oa = /* @__PURE__ */ ta(ia), N = {
|
|
1099
1099
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
1100
1100
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
1101
1101
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -1115,18 +1115,18 @@ const ia = /* @__PURE__ */ ea(aa), N = {
|
|
|
1115
1115
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
1116
1116
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
1117
1117
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
1118
|
-
},
|
|
1118
|
+
}, na = {
|
|
1119
1119
|
TITLE100: "title-100"
|
|
1120
|
-
}, Z = "purpur-heading",
|
|
1120
|
+
}, Z = "purpur-heading", Lr = ({
|
|
1121
1121
|
children: e,
|
|
1122
1122
|
className: o = "",
|
|
1123
1123
|
enableHyphenation: a = !1,
|
|
1124
1124
|
negative: n = !1,
|
|
1125
1125
|
tag: p,
|
|
1126
|
-
variant: r =
|
|
1126
|
+
variant: r = na.TITLE100,
|
|
1127
1127
|
...t
|
|
1128
1128
|
}) => {
|
|
1129
|
-
const i = p, s =
|
|
1129
|
+
const i = p, s = oa([
|
|
1130
1130
|
o,
|
|
1131
1131
|
N[Z],
|
|
1132
1132
|
N[`${Z}--${r}`],
|
|
@@ -1137,13 +1137,13 @@ const ia = /* @__PURE__ */ ea(aa), N = {
|
|
|
1137
1137
|
]);
|
|
1138
1138
|
return /* @__PURE__ */ l(i, { className: s, ...t, children: e });
|
|
1139
1139
|
};
|
|
1140
|
-
|
|
1141
|
-
function
|
|
1140
|
+
Lr.displayName = "Heading";
|
|
1141
|
+
function pa(e) {
|
|
1142
1142
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1143
1143
|
}
|
|
1144
|
-
var
|
|
1145
|
-
function
|
|
1146
|
-
return
|
|
1144
|
+
var kr = { exports: {} }, Or;
|
|
1145
|
+
function la() {
|
|
1146
|
+
return Or || (Or = 1, (function(e) {
|
|
1147
1147
|
(function() {
|
|
1148
1148
|
var o = {}.hasOwnProperty;
|
|
1149
1149
|
function a() {
|
|
@@ -1172,10 +1172,10 @@ function pa() {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1174
1174
|
})();
|
|
1175
|
-
})(
|
|
1175
|
+
})(kr)), kr.exports;
|
|
1176
1176
|
}
|
|
1177
|
-
var
|
|
1178
|
-
const
|
|
1177
|
+
var ua = la();
|
|
1178
|
+
const sa = /* @__PURE__ */ pa(ua), da = {
|
|
1179
1179
|
"purpur-paragraph": "_purpur-paragraph_1vz75_1",
|
|
1180
1180
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1vz75_7",
|
|
1181
1181
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1vz75_10",
|
|
@@ -1191,32 +1191,32 @@ const ua = /* @__PURE__ */ na(la), sa = {
|
|
|
1191
1191
|
"purpur-paragraph--additional-100-bold": "_purpur-paragraph--additional-100-bold_1vz75_67",
|
|
1192
1192
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1vz75_74",
|
|
1193
1193
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1vz75_82"
|
|
1194
|
-
},
|
|
1194
|
+
}, ca = sa.bind(da), _a = {
|
|
1195
1195
|
PARAGRAPH100: "paragraph-100"
|
|
1196
|
-
}, F = "purpur-paragraph",
|
|
1196
|
+
}, F = "purpur-paragraph", jr = ({
|
|
1197
1197
|
children: e,
|
|
1198
1198
|
className: o,
|
|
1199
1199
|
disabled: a,
|
|
1200
1200
|
enableHyphenation: n = !1,
|
|
1201
1201
|
negative: p = !1,
|
|
1202
|
-
variant: r =
|
|
1202
|
+
variant: r = _a.PARAGRAPH100,
|
|
1203
1203
|
...t
|
|
1204
1204
|
}) => {
|
|
1205
|
-
const i =
|
|
1205
|
+
const i = ca(o, F, `${F}--${r}`, {
|
|
1206
1206
|
[`${F}--hyphens`]: n,
|
|
1207
1207
|
[`${F}--disabled`]: a,
|
|
1208
1208
|
[`${F}--negative`]: p
|
|
1209
1209
|
});
|
|
1210
1210
|
return /* @__PURE__ */ l("p", { ...t, className: i, children: e });
|
|
1211
1211
|
};
|
|
1212
|
-
|
|
1213
|
-
function
|
|
1212
|
+
jr.displayName = "Paragraph";
|
|
1213
|
+
function fa(e) {
|
|
1214
1214
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1215
1215
|
}
|
|
1216
1216
|
var K = { exports: {} };
|
|
1217
|
-
var
|
|
1218
|
-
function
|
|
1219
|
-
return
|
|
1217
|
+
var Mr;
|
|
1218
|
+
function ha() {
|
|
1219
|
+
return Mr || (Mr = 1, (function(e) {
|
|
1220
1220
|
(function() {
|
|
1221
1221
|
var o = {}.hasOwnProperty;
|
|
1222
1222
|
function a() {
|
|
@@ -1247,8 +1247,8 @@ function fa() {
|
|
|
1247
1247
|
})();
|
|
1248
1248
|
})(K)), K.exports;
|
|
1249
1249
|
}
|
|
1250
|
-
var
|
|
1251
|
-
const
|
|
1250
|
+
var ga = ha();
|
|
1251
|
+
const ma = /* @__PURE__ */ fa(ga), va = {
|
|
1252
1252
|
"purpur-promotion-card": "_purpur-promotion-card_1kw9a_1",
|
|
1253
1253
|
"purpur-promotion-card__inner": "_purpur-promotion-card__inner_1kw9a_9",
|
|
1254
1254
|
"purpur-promotion-card__inner--without-image": "_purpur-promotion-card__inner--without-image_1kw9a_12",
|
|
@@ -1268,7 +1268,7 @@ const ga = /* @__PURE__ */ _a(ha), ma = {
|
|
|
1268
1268
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1kw9a_139",
|
|
1269
1269
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1kw9a_142",
|
|
1270
1270
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1kw9a_143"
|
|
1271
|
-
},
|
|
1271
|
+
}, Fa = ["primary", "secondary", "quaternary"], ya = {
|
|
1272
1272
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1273
1273
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1274
1274
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
@@ -1276,60 +1276,61 @@ const ga = /* @__PURE__ */ _a(ha), ma = {
|
|
|
1276
1276
|
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>')`,
|
|
1277
1277
|
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>')`,
|
|
1278
1278
|
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>')`
|
|
1279
|
-
},
|
|
1279
|
+
}, wa = {
|
|
1280
1280
|
primary: Y.secondary,
|
|
1281
1281
|
secondary: Y.primary,
|
|
1282
1282
|
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_24984_14652)"><rect width="2000" height="1125" fill="url(%23paint0_linear_24984_14652)"/><g filter="url(%23filter0_d_24984_14652)"><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.5808 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23FFF0E5"/></g><g filter="url(%23filter1_d_24984_14652)"><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.3462 51.596 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_24984_14652)"/></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_24984_14652)" stroke="url(%23paint3_linear_24984_14652)" stroke-width="0.488281"/><g filter="url(%23filter2_d_24984_14652)"><path d="M895.095 -81.1636L897.087 -83.483C2339.19 -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.808 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23FFF0E5"/></g><g filter="url(%23filter3_d_24984_14652)"><path d="M892.877 -81.1462L894.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.598C521.196 351.573 686.155 159.524 892.877 -81.1462Z" fill="url(%23paint4_linear_24984_14652)"/></g><path d="M899.248 -92.33L901.24 -94.6492C2343.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.34 899.248 -92.33Z" fill="url(%23paint5_linear_24984_14652)" stroke="url(%23paint6_linear_24984_14652)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_24984_14652" 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.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter1_d_24984_14652" 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.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter2_d_24984_14652" 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.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter3_d_24984_14652" 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.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><linearGradient id="paint0_linear_24984_14652" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%232C2520"/><stop offset="0.576094" stop-color="%2329221D"/><stop offset="1" stop-color="%2327211C"/></linearGradient><linearGradient id="paint1_linear_24984_14652" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2340362E"/><stop offset="0.265" stop-color="%23372E27"/><stop offset="0.385" stop-color="%232D2621"/><stop offset="0.720829" stop-color="%231E1916"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint2_linear_24984_14652" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.19574" stop-color="%232C2520"/><stop offset="1" stop-color="%23221D19"/></linearGradient><linearGradient id="paint3_linear_24984_14652" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23887363"/><stop offset="0.506509" stop-color="%233E342D"/><stop offset="1" stop-color="%23251F1A"/></linearGradient><linearGradient id="paint4_linear_24984_14652" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%233B312A"/><stop offset="0.340552" stop-color="%232D2621"/><stop offset="0.616738" stop-color="%231F1A17"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint5_linear_24984_14652" x1="781.493" y1="72.65" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.51248" stop-color="%2326201C"/><stop offset="1" stop-color="%23201B17"/></linearGradient><linearGradient id="paint6_linear_24984_14652" x1="820.5" y1="32.5" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%23645549"/><stop offset="0.425" stop-color="%23594B41"/><stop offset="1" stop-color="%23221C18"/></linearGradient><clipPath id="clip0_24984_14652"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`
|
|
1283
|
-
},
|
|
1283
|
+
}, xa = {
|
|
1284
1284
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1285
1285
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1286
1286
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1287
|
-
}, c =
|
|
1287
|
+
}, c = ma.bind(va), u = "purpur-promotion-card", ba = Gr(
|
|
1288
1288
|
({
|
|
1289
1289
|
["data-testid"]: e,
|
|
1290
1290
|
variant: o = "primary",
|
|
1291
1291
|
badgeText: a,
|
|
1292
1292
|
badgeIcon: n,
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1293
|
+
beforeTitle: p,
|
|
1294
|
+
title: r,
|
|
1295
|
+
titleTag: t = "h2",
|
|
1296
|
+
titleVariant: i = "title-300",
|
|
1297
|
+
enableTitleHyphenation: s = !1,
|
|
1298
|
+
className: x,
|
|
1299
|
+
actions: B,
|
|
1299
1300
|
children: E,
|
|
1300
1301
|
style: U,
|
|
1301
1302
|
alignment: I = "space-between",
|
|
1302
|
-
additionalText:
|
|
1303
|
-
forceColorScheme:
|
|
1304
|
-
...
|
|
1305
|
-
},
|
|
1306
|
-
let D =
|
|
1307
|
-
const
|
|
1308
|
-
if (
|
|
1309
|
-
cssVariablesSelector: `[data-id="${
|
|
1310
|
-
currentColorScheme:
|
|
1311
|
-
}), "decorativeImage" in
|
|
1312
|
-
const { decorativeImage: R, ...L } =
|
|
1303
|
+
additionalText: J,
|
|
1304
|
+
forceColorScheme: X,
|
|
1305
|
+
...w
|
|
1306
|
+
}, Pr) => {
|
|
1307
|
+
let D = w, h;
|
|
1308
|
+
const rr = Vr(), { options: A, currentColorScheme: zr } = Wr();
|
|
1309
|
+
if (Kr({
|
|
1310
|
+
cssVariablesSelector: `[data-id="${rr}"]`,
|
|
1311
|
+
currentColorScheme: X ?? A?.promotionCardColorScheme ?? A?.promotionCardScheme
|
|
1312
|
+
}), "decorativeImage" in w) {
|
|
1313
|
+
const { decorativeImage: R, ...L } = w;
|
|
1313
1314
|
h = R, D = L;
|
|
1314
|
-
} else if ("productImage" in
|
|
1315
|
-
const { productImage: R, ...L } =
|
|
1315
|
+
} else if ("productImage" in w) {
|
|
1316
|
+
const { productImage: R, ...L } = w;
|
|
1316
1317
|
h = R, D = L;
|
|
1317
1318
|
}
|
|
1318
|
-
const
|
|
1319
|
-
"--promotion-card-background":
|
|
1320
|
-
"--promotion-card-color":
|
|
1321
|
-
"--promotion-card-background-image": h ? "none" :
|
|
1319
|
+
const Hr = X ?? A?.promotionCardColorScheme ?? A?.promotionCardScheme ?? zr, Tr = {
|
|
1320
|
+
"--promotion-card-background": ya[o],
|
|
1321
|
+
"--promotion-card-color": xa[o],
|
|
1322
|
+
"--promotion-card-background-image": h ? "none" : Hr === "dark" ? wa[o] : Y[o]
|
|
1322
1323
|
};
|
|
1323
1324
|
return /* @__PURE__ */ l(
|
|
1324
1325
|
f,
|
|
1325
1326
|
{
|
|
1326
|
-
"data-id":
|
|
1327
|
+
"data-id": rr,
|
|
1327
1328
|
"data-testid": e,
|
|
1328
|
-
ref:
|
|
1329
|
+
ref: Pr,
|
|
1329
1330
|
fullHeight: !0,
|
|
1330
|
-
className: c(
|
|
1331
|
+
className: c(x, u, `${u}--${o}`),
|
|
1331
1332
|
style: {
|
|
1332
|
-
...
|
|
1333
|
+
...Tr,
|
|
1333
1334
|
...U
|
|
1334
1335
|
},
|
|
1335
1336
|
...D,
|
|
@@ -1349,7 +1350,7 @@ const ga = /* @__PURE__ */ _a(ha), ma = {
|
|
|
1349
1350
|
[`${u}__content--without-image`]: !h
|
|
1350
1351
|
}),
|
|
1351
1352
|
children: [
|
|
1352
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: c(`${u}__badge-wrapper`), children: /* @__PURE__ */ _(
|
|
1353
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: c(`${u}__badge-wrapper`), children: /* @__PURE__ */ _(ve, { variant: o === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1353
1354
|
n && n,
|
|
1354
1355
|
a
|
|
1355
1356
|
] }) }),
|
|
@@ -1361,26 +1362,27 @@ const ga = /* @__PURE__ */ _a(ha), ma = {
|
|
|
1361
1362
|
`${u}__main-content--${I}`
|
|
1362
1363
|
),
|
|
1363
1364
|
children: [
|
|
1365
|
+
p,
|
|
1364
1366
|
/* @__PURE__ */ l(
|
|
1365
|
-
|
|
1367
|
+
Lr,
|
|
1366
1368
|
{
|
|
1367
|
-
tag:
|
|
1368
|
-
variant:
|
|
1369
|
-
enableHyphenation:
|
|
1369
|
+
tag: t,
|
|
1370
|
+
variant: i,
|
|
1371
|
+
enableHyphenation: s,
|
|
1370
1372
|
className: c(`${u}__heading`),
|
|
1371
|
-
children:
|
|
1373
|
+
children: r
|
|
1372
1374
|
}
|
|
1373
1375
|
),
|
|
1374
1376
|
/* @__PURE__ */ _("div", { className: c(`${u}__body`), children: [
|
|
1375
1377
|
/* @__PURE__ */ l("div", { className: c(`${u}__child-content`), children: E }),
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1378
|
+
B && /* @__PURE__ */ l("div", { className: c(`${u}__actions`), children: B }),
|
|
1379
|
+
J && /* @__PURE__ */ l(
|
|
1380
|
+
jr,
|
|
1379
1381
|
{
|
|
1380
1382
|
negative: !0,
|
|
1381
1383
|
variant: "additional-100",
|
|
1382
1384
|
className: c(`${u}__additional-text`),
|
|
1383
|
-
children:
|
|
1385
|
+
children: J
|
|
1384
1386
|
}
|
|
1385
1387
|
)
|
|
1386
1388
|
] })
|
|
@@ -1394,8 +1396,8 @@ const ga = /* @__PURE__ */ _a(ha), ma = {
|
|
|
1394
1396
|
"div",
|
|
1395
1397
|
{
|
|
1396
1398
|
className: c(`${u}__image-wrapper`, {
|
|
1397
|
-
[`${u}__image-wrapper--product`]: "productImage" in
|
|
1398
|
-
[`${u}__image-wrapper--decorative`]: "decorativeImage" in
|
|
1399
|
+
[`${u}__image-wrapper--product`]: "productImage" in w,
|
|
1400
|
+
[`${u}__image-wrapper--decorative`]: "decorativeImage" in w
|
|
1399
1401
|
}),
|
|
1400
1402
|
children: h
|
|
1401
1403
|
}
|
|
@@ -1407,9 +1409,9 @@ const ga = /* @__PURE__ */ _a(ha), ma = {
|
|
|
1407
1409
|
);
|
|
1408
1410
|
}
|
|
1409
1411
|
);
|
|
1410
|
-
|
|
1412
|
+
ba.displayName = "PromotionCard";
|
|
1411
1413
|
export {
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
+
ba as PromotionCard,
|
|
1415
|
+
Fa as promotionCardVariants
|
|
1414
1416
|
};
|
|
1415
1417
|
//# sourceMappingURL=promotion-card.es.js.map
|