@purpurds/promotion-card 7.14.0 → 8.0.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 +11 -4
- package/dist/promotion-card.cjs.js +13 -13
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +513 -491
- package/dist/promotion-card.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +14 -13
- package/src/promotion-card.module.scss +34 -34
- package/src/promotion-card.stories.tsx +14 -14
- package/src/promotion-card.test.tsx +53 -88
- package/src/promotion-card.tsx +28 -12
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsxs as c, jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
function
|
|
1
|
+
import { jsxs as c, jsx as l, Fragment as Pr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Gr, createContext as Hr, useContext as Tr } from "react";
|
|
3
|
+
function qr(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var X = { exports: {} };
|
|
7
7
|
/*!
|
|
8
8
|
Copyright (c) 2018 Jed Watson.
|
|
9
9
|
Licensed under the MIT License (MIT), see
|
|
10
10
|
http://jedwatson.github.io/classnames
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
return
|
|
12
|
+
var rr;
|
|
13
|
+
function Vr() {
|
|
14
|
+
return rr || (rr = 1, function(e) {
|
|
15
15
|
(function() {
|
|
16
16
|
var o = {}.hasOwnProperty;
|
|
17
17
|
function a() {
|
|
@@ -40,10 +40,10 @@ function Dr() {
|
|
|
40
40
|
}
|
|
41
41
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
42
42
|
})();
|
|
43
|
-
}(
|
|
43
|
+
}(X)), X.exports;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
const
|
|
45
|
+
var zr = Vr();
|
|
46
|
+
const Wr = /* @__PURE__ */ qr(zr), Kr = {
|
|
47
47
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
48
48
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
49
49
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -51,75 +51,75 @@ const Hr = /* @__PURE__ */ Lr(Pr), Tr = {
|
|
|
51
51
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
52
52
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
53
53
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
54
|
-
},
|
|
54
|
+
}, Yr = Wr.bind(Kr), er = "purpur-icon", Jr = "md", Qr = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Xr = ({ content: e = "", title: o } = {}) => {
|
|
55
55
|
const a = [
|
|
56
56
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
57
57
|
{ name: "fill", value: "currentColor" },
|
|
58
58
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
59
59
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
60
60
|
], n = o ? `<title>${o}</title>` : "";
|
|
61
|
-
return `<svg ${
|
|
62
|
-
},
|
|
63
|
-
const r =
|
|
64
|
-
content:
|
|
61
|
+
return `<svg ${Qr(a)}>${n}${e}</svg>`;
|
|
62
|
+
}, re = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Mr = ({ svg: e, allyTitle: o, className: a, size: n = Jr, ...p }) => {
|
|
63
|
+
const r = Xr({
|
|
64
|
+
content: re(e.svg),
|
|
65
65
|
title: o
|
|
66
|
-
}), t =
|
|
67
|
-
return /* @__PURE__ */
|
|
66
|
+
}), t = Yr(a, er, `${er}--${n}`);
|
|
67
|
+
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
68
68
|
};
|
|
69
|
-
|
|
70
|
-
const
|
|
69
|
+
Mr.displayName = "Icon";
|
|
70
|
+
const ee = {
|
|
71
71
|
name: "alert",
|
|
72
72
|
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>',
|
|
73
73
|
keywords: ["alert"],
|
|
74
74
|
category: "status"
|
|
75
|
-
},
|
|
75
|
+
}, te = {
|
|
76
76
|
name: "check-circle",
|
|
77
77
|
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>',
|
|
78
78
|
keywords: ["check-circle"],
|
|
79
79
|
category: "status"
|
|
80
|
-
},
|
|
80
|
+
}, ae = {
|
|
81
81
|
name: "devices",
|
|
82
82
|
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>',
|
|
83
83
|
keywords: ["devices"],
|
|
84
84
|
category: "device"
|
|
85
|
-
},
|
|
85
|
+
}, ie = {
|
|
86
86
|
name: "error",
|
|
87
87
|
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>',
|
|
88
88
|
keywords: ["error"],
|
|
89
89
|
category: "status"
|
|
90
|
-
},
|
|
90
|
+
}, oe = {
|
|
91
91
|
name: "info",
|
|
92
92
|
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>',
|
|
93
93
|
keywords: ["info"],
|
|
94
94
|
category: "status"
|
|
95
|
-
},
|
|
95
|
+
}, ne = {
|
|
96
96
|
name: "offering",
|
|
97
97
|
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>',
|
|
98
98
|
keywords: ["offering"],
|
|
99
99
|
category: "other"
|
|
100
|
-
},
|
|
100
|
+
}, pe = {
|
|
101
101
|
name: "question",
|
|
102
102
|
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>',
|
|
103
103
|
keywords: ["question"],
|
|
104
104
|
category: "status"
|
|
105
|
-
},
|
|
105
|
+
}, le = {
|
|
106
106
|
name: "tag",
|
|
107
107
|
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>',
|
|
108
108
|
keywords: ["tag"],
|
|
109
109
|
category: "other"
|
|
110
110
|
};
|
|
111
|
-
function
|
|
111
|
+
function ue(e) {
|
|
112
112
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var tr = { exports: {} };
|
|
115
115
|
/*!
|
|
116
116
|
Copyright (c) 2018 Jed Watson.
|
|
117
117
|
Licensed under the MIT License (MIT), see
|
|
118
118
|
http://jedwatson.github.io/classnames
|
|
119
119
|
*/
|
|
120
|
-
var
|
|
121
|
-
function
|
|
122
|
-
return
|
|
120
|
+
var ar;
|
|
121
|
+
function se() {
|
|
122
|
+
return ar || (ar = 1, function(e) {
|
|
123
123
|
(function() {
|
|
124
124
|
var o = {}.hasOwnProperty;
|
|
125
125
|
function a() {
|
|
@@ -148,22 +148,22 @@ function ne() {
|
|
|
148
148
|
}
|
|
149
149
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
150
150
|
})();
|
|
151
|
-
}(
|
|
151
|
+
}(tr)), tr.exports;
|
|
152
152
|
}
|
|
153
|
-
var
|
|
154
|
-
const
|
|
155
|
-
"purpur-badge": "_purpur-
|
|
156
|
-
"purpur-badge__icon": "_purpur-
|
|
157
|
-
"purpur-badge--attention": "_purpur-badge--
|
|
158
|
-
"purpur-badge--special": "_purpur-badge--
|
|
159
|
-
"purpur-badge--neutral": "_purpur-badge--
|
|
160
|
-
"purpur-badge--general": "_purpur-badge--
|
|
161
|
-
"purpur-badge--information": "_purpur-badge--
|
|
162
|
-
"purpur-badge--success": "_purpur-badge--
|
|
163
|
-
"purpur-badge--warning": "_purpur-badge--
|
|
164
|
-
"purpur-badge--error": "_purpur-badge--
|
|
165
|
-
"purpur-badge--black-friday": "_purpur-badge--black-
|
|
166
|
-
},
|
|
153
|
+
var de = se();
|
|
154
|
+
const ir = /* @__PURE__ */ ue(de), L = {
|
|
155
|
+
"purpur-badge": "_purpur-badge_1nup9_1",
|
|
156
|
+
"purpur-badge__icon": "_purpur-badge__icon_1nup9_13",
|
|
157
|
+
"purpur-badge--attention": "_purpur-badge--attention_1nup9_17",
|
|
158
|
+
"purpur-badge--special": "_purpur-badge--special_1nup9_21",
|
|
159
|
+
"purpur-badge--neutral": "_purpur-badge--neutral_1nup9_25",
|
|
160
|
+
"purpur-badge--general": "_purpur-badge--general_1nup9_29",
|
|
161
|
+
"purpur-badge--information": "_purpur-badge--information_1nup9_33",
|
|
162
|
+
"purpur-badge--success": "_purpur-badge--success_1nup9_37",
|
|
163
|
+
"purpur-badge--warning": "_purpur-badge--warning_1nup9_41",
|
|
164
|
+
"purpur-badge--error": "_purpur-badge--error_1nup9_45",
|
|
165
|
+
"purpur-badge--black-friday": "_purpur-badge--black-friday_1nup9_49"
|
|
166
|
+
}, P = "purpur-badge", m = {
|
|
167
167
|
ATTENTION: "attention",
|
|
168
168
|
BLACK_FRIDAY: "black-friday",
|
|
169
169
|
ERROR: "error",
|
|
@@ -173,29 +173,29 @@ const ar = /* @__PURE__ */ oe(pe), L = {
|
|
|
173
173
|
SPECIAL: "special",
|
|
174
174
|
SUCCESS: "success",
|
|
175
175
|
WARNING: "warning"
|
|
176
|
-
},
|
|
176
|
+
}, ce = (e) => {
|
|
177
177
|
switch (e) {
|
|
178
|
-
case
|
|
179
|
-
case
|
|
178
|
+
case m.ATTENTION:
|
|
179
|
+
case m.SPECIAL:
|
|
180
|
+
return ne;
|
|
181
|
+
case m.INFORMATION:
|
|
182
|
+
return oe;
|
|
183
|
+
case m.GENERAL:
|
|
184
|
+
return ae;
|
|
185
|
+
case m.SUCCESS:
|
|
180
186
|
return te;
|
|
181
|
-
case
|
|
187
|
+
case m.WARNING:
|
|
182
188
|
return ee;
|
|
183
|
-
case
|
|
184
|
-
return Xr;
|
|
185
|
-
case h.SUCCESS:
|
|
186
|
-
return Qr;
|
|
187
|
-
case h.WARNING:
|
|
188
|
-
return Jr;
|
|
189
|
-
case h.ERROR:
|
|
190
|
-
return re;
|
|
191
|
-
case h.NEUTRAL:
|
|
192
|
-
return ae;
|
|
193
|
-
case h.BLACK_FRIDAY:
|
|
189
|
+
case m.ERROR:
|
|
194
190
|
return ie;
|
|
191
|
+
case m.NEUTRAL:
|
|
192
|
+
return pe;
|
|
193
|
+
case m.BLACK_FRIDAY:
|
|
194
|
+
return le;
|
|
195
195
|
default:
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, _e = ({
|
|
199
199
|
children: e,
|
|
200
200
|
showIcon: o = !0,
|
|
201
201
|
iconAllyTitle: a,
|
|
@@ -204,33 +204,33 @@ const ar = /* @__PURE__ */ oe(pe), L = {
|
|
|
204
204
|
className: r = "",
|
|
205
205
|
...t
|
|
206
206
|
}) => {
|
|
207
|
-
const i =
|
|
207
|
+
const i = ce(n), s = ir([r, L[P], L[`${P}--${n}`]]);
|
|
208
208
|
return /* @__PURE__ */ c("span", { className: s, "data-testid": p, ...t, children: [
|
|
209
|
-
o && i && /* @__PURE__ */
|
|
210
|
-
|
|
209
|
+
o && i && /* @__PURE__ */ l(
|
|
210
|
+
Mr,
|
|
211
211
|
{
|
|
212
212
|
"data-testid": `${p}-icon`,
|
|
213
213
|
allyTitle: a,
|
|
214
214
|
size: "xs",
|
|
215
215
|
svg: i,
|
|
216
|
-
className:
|
|
216
|
+
className: ir(L[`${P}__icon`])
|
|
217
217
|
}
|
|
218
218
|
),
|
|
219
219
|
e
|
|
220
220
|
] });
|
|
221
221
|
};
|
|
222
|
-
function
|
|
222
|
+
function fe(e) {
|
|
223
223
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var or = { exports: {} };
|
|
226
226
|
/*!
|
|
227
227
|
Copyright (c) 2018 Jed Watson.
|
|
228
228
|
Licensed under the MIT License (MIT), see
|
|
229
229
|
http://jedwatson.github.io/classnames
|
|
230
230
|
*/
|
|
231
|
-
var
|
|
232
|
-
function
|
|
233
|
-
return
|
|
231
|
+
var nr;
|
|
232
|
+
function he() {
|
|
233
|
+
return nr || (nr = 1, function(e) {
|
|
234
234
|
(function() {
|
|
235
235
|
var o = {}.hasOwnProperty;
|
|
236
236
|
function a() {
|
|
@@ -259,26 +259,26 @@ function de() {
|
|
|
259
259
|
}
|
|
260
260
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
261
261
|
})();
|
|
262
|
-
}(
|
|
262
|
+
}(or)), or.exports;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
const _ = /* @__PURE__ */
|
|
266
|
-
"purpur-card__container": "_purpur-
|
|
267
|
-
"purpur-card__container--full-height": "_purpur-card__container--full-
|
|
268
|
-
"purpur-card": "_purpur-
|
|
264
|
+
var ge = he();
|
|
265
|
+
const _ = /* @__PURE__ */ fe(ge), me = {
|
|
266
|
+
"purpur-card__container": "_purpur-card__container_trde2_1",
|
|
267
|
+
"purpur-card__container--full-height": "_purpur-card__container--full-height_trde2_4",
|
|
268
|
+
"purpur-card": "_purpur-card_trde2_1"
|
|
269
269
|
};
|
|
270
|
-
function
|
|
270
|
+
function ve(e) {
|
|
271
271
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
272
272
|
}
|
|
273
|
-
var
|
|
273
|
+
var pr = { exports: {} };
|
|
274
274
|
/*!
|
|
275
275
|
Copyright (c) 2018 Jed Watson.
|
|
276
276
|
Licensed under the MIT License (MIT), see
|
|
277
277
|
http://jedwatson.github.io/classnames
|
|
278
278
|
*/
|
|
279
|
-
var
|
|
280
|
-
function
|
|
281
|
-
return
|
|
279
|
+
var lr;
|
|
280
|
+
function ye() {
|
|
281
|
+
return lr || (lr = 1, function(e) {
|
|
282
282
|
(function() {
|
|
283
283
|
var o = {}.hasOwnProperty;
|
|
284
284
|
function a() {
|
|
@@ -307,10 +307,10 @@ function ge() {
|
|
|
307
307
|
}
|
|
308
308
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
309
309
|
})();
|
|
310
|
-
}(
|
|
310
|
+
}(pr)), pr.exports;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
313
|
-
const
|
|
312
|
+
var xe = ye();
|
|
313
|
+
const we = /* @__PURE__ */ ve(xe), be = {
|
|
314
314
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
315
315
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
316
316
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -318,75 +318,75 @@ const me = /* @__PURE__ */ fe(he), ve = {
|
|
|
318
318
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
319
319
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
320
320
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
321
|
-
},
|
|
321
|
+
}, Ce = we.bind(be), ur = "purpur-icon", Se = "md", $e = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Fe = ({ content: e = "", title: o } = {}) => {
|
|
322
322
|
const a = [
|
|
323
323
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
324
324
|
{ name: "fill", value: "currentColor" },
|
|
325
325
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
326
326
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
327
327
|
], n = o ? `<title>${o}</title>` : "";
|
|
328
|
-
return `<svg ${
|
|
329
|
-
},
|
|
330
|
-
const r =
|
|
331
|
-
content:
|
|
328
|
+
return `<svg ${$e(a)}>${n}${e}</svg>`;
|
|
329
|
+
}, Be = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Nr = ({ svg: e, allyTitle: o, className: a, size: n = Se, ...p }) => {
|
|
330
|
+
const r = Fe({
|
|
331
|
+
content: Be(e.svg),
|
|
332
332
|
title: o
|
|
333
|
-
}), t =
|
|
334
|
-
return /* @__PURE__ */
|
|
333
|
+
}), t = Ce(a, ur, `${ur}--${n}`);
|
|
334
|
+
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
335
335
|
};
|
|
336
|
-
|
|
337
|
-
const
|
|
336
|
+
Nr.displayName = "Icon";
|
|
337
|
+
const Ae = {
|
|
338
338
|
name: "alert",
|
|
339
339
|
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>',
|
|
340
340
|
keywords: ["alert"],
|
|
341
341
|
category: "status"
|
|
342
|
-
},
|
|
342
|
+
}, Oe = {
|
|
343
343
|
name: "check-circle",
|
|
344
344
|
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>',
|
|
345
345
|
keywords: ["check-circle"],
|
|
346
346
|
category: "status"
|
|
347
|
-
},
|
|
347
|
+
}, Ge = {
|
|
348
348
|
name: "devices",
|
|
349
349
|
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>',
|
|
350
350
|
keywords: ["devices"],
|
|
351
351
|
category: "device"
|
|
352
|
-
},
|
|
352
|
+
}, Me = {
|
|
353
353
|
name: "error",
|
|
354
354
|
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>',
|
|
355
355
|
keywords: ["error"],
|
|
356
356
|
category: "status"
|
|
357
|
-
},
|
|
357
|
+
}, Ne = {
|
|
358
358
|
name: "info",
|
|
359
359
|
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>',
|
|
360
360
|
keywords: ["info"],
|
|
361
361
|
category: "status"
|
|
362
|
-
},
|
|
362
|
+
}, ke = {
|
|
363
363
|
name: "offering",
|
|
364
364
|
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>',
|
|
365
365
|
keywords: ["offering"],
|
|
366
366
|
category: "other"
|
|
367
|
-
},
|
|
367
|
+
}, Ze = {
|
|
368
368
|
name: "question",
|
|
369
369
|
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>',
|
|
370
370
|
keywords: ["question"],
|
|
371
371
|
category: "status"
|
|
372
|
-
},
|
|
372
|
+
}, Ee = {
|
|
373
373
|
name: "tag",
|
|
374
374
|
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>',
|
|
375
375
|
keywords: ["tag"],
|
|
376
376
|
category: "other"
|
|
377
377
|
};
|
|
378
|
-
function
|
|
378
|
+
function Ue(e) {
|
|
379
379
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
380
380
|
}
|
|
381
|
-
var
|
|
381
|
+
var sr = { exports: {} };
|
|
382
382
|
/*!
|
|
383
383
|
Copyright (c) 2018 Jed Watson.
|
|
384
384
|
Licensed under the MIT License (MIT), see
|
|
385
385
|
http://jedwatson.github.io/classnames
|
|
386
386
|
*/
|
|
387
|
-
var
|
|
388
|
-
function
|
|
389
|
-
return
|
|
387
|
+
var dr;
|
|
388
|
+
function Ie() {
|
|
389
|
+
return dr || (dr = 1, function(e) {
|
|
390
390
|
(function() {
|
|
391
391
|
var o = {}.hasOwnProperty;
|
|
392
392
|
function a() {
|
|
@@ -415,22 +415,22 @@ function je() {
|
|
|
415
415
|
}
|
|
416
416
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
417
417
|
})();
|
|
418
|
-
}(
|
|
418
|
+
}(sr)), sr.exports;
|
|
419
419
|
}
|
|
420
|
-
var
|
|
421
|
-
const
|
|
422
|
-
"purpur-badge": "_purpur-
|
|
423
|
-
"purpur-badge__icon": "_purpur-
|
|
424
|
-
"purpur-badge--attention": "_purpur-badge--
|
|
425
|
-
"purpur-badge--special": "_purpur-badge--
|
|
426
|
-
"purpur-badge--neutral": "_purpur-badge--
|
|
427
|
-
"purpur-badge--general": "_purpur-badge--
|
|
428
|
-
"purpur-badge--information": "_purpur-badge--
|
|
429
|
-
"purpur-badge--success": "_purpur-badge--
|
|
430
|
-
"purpur-badge--warning": "_purpur-badge--
|
|
431
|
-
"purpur-badge--error": "_purpur-badge--
|
|
432
|
-
"purpur-badge--black-friday": "_purpur-badge--black-
|
|
433
|
-
},
|
|
420
|
+
var je = Ie();
|
|
421
|
+
const cr = /* @__PURE__ */ Ue(je), H = {
|
|
422
|
+
"purpur-badge": "_purpur-badge_1nup9_1",
|
|
423
|
+
"purpur-badge__icon": "_purpur-badge__icon_1nup9_13",
|
|
424
|
+
"purpur-badge--attention": "_purpur-badge--attention_1nup9_17",
|
|
425
|
+
"purpur-badge--special": "_purpur-badge--special_1nup9_21",
|
|
426
|
+
"purpur-badge--neutral": "_purpur-badge--neutral_1nup9_25",
|
|
427
|
+
"purpur-badge--general": "_purpur-badge--general_1nup9_29",
|
|
428
|
+
"purpur-badge--information": "_purpur-badge--information_1nup9_33",
|
|
429
|
+
"purpur-badge--success": "_purpur-badge--success_1nup9_37",
|
|
430
|
+
"purpur-badge--warning": "_purpur-badge--warning_1nup9_41",
|
|
431
|
+
"purpur-badge--error": "_purpur-badge--error_1nup9_45",
|
|
432
|
+
"purpur-badge--black-friday": "_purpur-badge--black-friday_1nup9_49"
|
|
433
|
+
}, T = "purpur-badge", v = {
|
|
434
434
|
ATTENTION: "attention",
|
|
435
435
|
BLACK_FRIDAY: "black-friday",
|
|
436
436
|
ERROR: "error",
|
|
@@ -440,29 +440,29 @@ const dr = /* @__PURE__ */ Ge(Ze), P = {
|
|
|
440
440
|
SPECIAL: "special",
|
|
441
441
|
SUCCESS: "success",
|
|
442
442
|
WARNING: "warning"
|
|
443
|
-
},
|
|
443
|
+
}, De = (e) => {
|
|
444
444
|
switch (e) {
|
|
445
|
-
case
|
|
446
|
-
case
|
|
445
|
+
case v.ATTENTION:
|
|
446
|
+
case v.SPECIAL:
|
|
447
|
+
return ke;
|
|
448
|
+
case v.INFORMATION:
|
|
447
449
|
return Ne;
|
|
448
|
-
case
|
|
449
|
-
return
|
|
450
|
-
case
|
|
451
|
-
return Ae;
|
|
452
|
-
case m.SUCCESS:
|
|
453
|
-
return $e;
|
|
454
|
-
case m.WARNING:
|
|
455
|
-
return Se;
|
|
456
|
-
case m.ERROR:
|
|
457
|
-
return Fe;
|
|
458
|
-
case m.NEUTRAL:
|
|
450
|
+
case v.GENERAL:
|
|
451
|
+
return Ge;
|
|
452
|
+
case v.SUCCESS:
|
|
459
453
|
return Oe;
|
|
460
|
-
case
|
|
454
|
+
case v.WARNING:
|
|
455
|
+
return Ae;
|
|
456
|
+
case v.ERROR:
|
|
461
457
|
return Me;
|
|
458
|
+
case v.NEUTRAL:
|
|
459
|
+
return Ze;
|
|
460
|
+
case v.BLACK_FRIDAY:
|
|
461
|
+
return Ee;
|
|
462
462
|
default:
|
|
463
463
|
return;
|
|
464
464
|
}
|
|
465
|
-
},
|
|
465
|
+
}, Re = ({
|
|
466
466
|
children: e,
|
|
467
467
|
showIcon: o = !0,
|
|
468
468
|
iconAllyTitle: a,
|
|
@@ -471,50 +471,51 @@ const dr = /* @__PURE__ */ Ge(Ze), P = {
|
|
|
471
471
|
className: r = "",
|
|
472
472
|
...t
|
|
473
473
|
}) => {
|
|
474
|
-
const i =
|
|
474
|
+
const i = De(n), s = cr([r, H[T], H[`${T}--${n}`]]);
|
|
475
475
|
return /* @__PURE__ */ c("span", { className: s, "data-testid": p, ...t, children: [
|
|
476
|
-
o && i && /* @__PURE__ */
|
|
477
|
-
|
|
476
|
+
o && i && /* @__PURE__ */ l(
|
|
477
|
+
Nr,
|
|
478
478
|
{
|
|
479
479
|
"data-testid": `${p}-icon`,
|
|
480
480
|
allyTitle: a,
|
|
481
481
|
size: "xs",
|
|
482
482
|
svg: i,
|
|
483
|
-
className:
|
|
483
|
+
className: cr(H[`${T}__icon`])
|
|
484
484
|
}
|
|
485
485
|
),
|
|
486
486
|
e
|
|
487
487
|
] });
|
|
488
|
-
},
|
|
488
|
+
}, Le = {
|
|
489
489
|
"purpur-card-badge": "_purpur-card-badge_k9ziu_1"
|
|
490
|
-
},
|
|
490
|
+
}, Pe = _.bind(Le), He = "purpur-card-badge", Te = ({
|
|
491
491
|
["data-testid"]: e = "purpur-card-badge",
|
|
492
492
|
variant: o,
|
|
493
493
|
text: a
|
|
494
|
-
}) => o && a ? /* @__PURE__ */
|
|
495
|
-
|
|
494
|
+
}) => o && a ? /* @__PURE__ */ l(
|
|
495
|
+
Re,
|
|
496
496
|
{
|
|
497
|
-
className:
|
|
497
|
+
className: Pe(He),
|
|
498
498
|
variant: o,
|
|
499
499
|
showIcon: !1,
|
|
500
500
|
"data-testid": e,
|
|
501
501
|
children: a
|
|
502
502
|
}
|
|
503
|
-
) : null,
|
|
503
|
+
) : null, qe = {
|
|
504
504
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
505
|
-
},
|
|
505
|
+
}, Ve = _.bind(qe), ze = "purpur-card-content", We = ({
|
|
506
506
|
["data-testid"]: e = "purpur-card-content",
|
|
507
507
|
children: o,
|
|
508
508
|
className: a,
|
|
509
509
|
...n
|
|
510
|
-
}) => /* @__PURE__ */
|
|
511
|
-
"purpur-card-content-container": "_purpur-card-content-
|
|
512
|
-
"purpur-card-content-container--full-height": "_purpur-card-content-container--full-
|
|
513
|
-
"purpur-card-content-container--footer": "_purpur-card-content-container--
|
|
514
|
-
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--
|
|
515
|
-
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--
|
|
516
|
-
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--
|
|
517
|
-
|
|
510
|
+
}) => /* @__PURE__ */ l("div", { className: Ve(ze, a), "data-testid": e, ...n, children: o }), Ke = {
|
|
511
|
+
"purpur-card-content-container": "_purpur-card-content-container_svvjn_1",
|
|
512
|
+
"purpur-card-content-container--full-height": "_purpur-card-content-container--full-height_svvjn_6",
|
|
513
|
+
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_svvjn_14",
|
|
514
|
+
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--sm_svvjn_22",
|
|
515
|
+
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_svvjn_25",
|
|
516
|
+
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_svvjn_28",
|
|
517
|
+
"purpur-card-content-container--gap-size--xl": "_purpur-card-content-container--gap-size--xl_svvjn_31"
|
|
518
|
+
}, Ye = _.bind(Ke), M = "purpur-card-content-container", Je = ({
|
|
518
519
|
["data-testid"]: e = "purpur-card-content-container",
|
|
519
520
|
children: o,
|
|
520
521
|
className: a,
|
|
@@ -522,10 +523,10 @@ const dr = /* @__PURE__ */ Ge(Ze), P = {
|
|
|
522
523
|
fullHeight: p = !1,
|
|
523
524
|
gapSize: r = "md",
|
|
524
525
|
...t
|
|
525
|
-
}) => /* @__PURE__ */
|
|
526
|
+
}) => /* @__PURE__ */ l(
|
|
526
527
|
"div",
|
|
527
528
|
{
|
|
528
|
-
className:
|
|
529
|
+
className: Ye([
|
|
529
530
|
M,
|
|
530
531
|
a,
|
|
531
532
|
`${M}--gap-size--${r}`,
|
|
@@ -539,18 +540,18 @@ const dr = /* @__PURE__ */ Ge(Ze), P = {
|
|
|
539
540
|
children: o
|
|
540
541
|
}
|
|
541
542
|
);
|
|
542
|
-
function
|
|
543
|
+
function Qe(e) {
|
|
543
544
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
544
545
|
}
|
|
545
|
-
var
|
|
546
|
+
var _r = { exports: {} };
|
|
546
547
|
/*!
|
|
547
548
|
Copyright (c) 2018 Jed Watson.
|
|
548
549
|
Licensed under the MIT License (MIT), see
|
|
549
550
|
http://jedwatson.github.io/classnames
|
|
550
551
|
*/
|
|
551
|
-
var
|
|
552
|
-
function
|
|
553
|
-
return
|
|
552
|
+
var fr;
|
|
553
|
+
function Xe() {
|
|
554
|
+
return fr || (fr = 1, function(e) {
|
|
554
555
|
(function() {
|
|
555
556
|
var o = {}.hasOwnProperty;
|
|
556
557
|
function a() {
|
|
@@ -579,32 +580,32 @@ function Ke() {
|
|
|
579
580
|
}
|
|
580
581
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
581
582
|
})();
|
|
582
|
-
}(
|
|
583
|
+
}(_r)), _r.exports;
|
|
583
584
|
}
|
|
584
|
-
var
|
|
585
|
-
const
|
|
585
|
+
var rt = Xe();
|
|
586
|
+
const et = /* @__PURE__ */ Qe(rt), tt = "_rotate_12t9p_1", at = "_dash_12t9p_1", it = {
|
|
586
587
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
587
|
-
rotate:
|
|
588
|
+
rotate: tt,
|
|
588
589
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
589
590
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
590
591
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
591
592
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
592
593
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
593
594
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
594
|
-
dash:
|
|
595
|
+
dash: at,
|
|
595
596
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
596
597
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
597
|
-
},
|
|
598
|
+
}, hr = et.bind(it), $ = "purpur-spinner", ot = {
|
|
598
599
|
SM: "sm"
|
|
599
|
-
},
|
|
600
|
+
}, nt = ({
|
|
600
601
|
disabled: e = !1,
|
|
601
602
|
negative: o = !1,
|
|
602
|
-
size: a =
|
|
603
|
+
size: a = ot.SM,
|
|
603
604
|
...n
|
|
604
|
-
}) => /* @__PURE__ */
|
|
605
|
+
}) => /* @__PURE__ */ l("div", { className: hr($, `${$}--${a}`), ...n, children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
605
606
|
"circle",
|
|
606
607
|
{
|
|
607
|
-
className:
|
|
608
|
+
className: hr(`${$}__circle`, {
|
|
608
609
|
[`${$}__circle--disabled`]: e,
|
|
609
610
|
[`${$}__circle--negative`]: o
|
|
610
611
|
}),
|
|
@@ -612,26 +613,26 @@ const Je = /* @__PURE__ */ We(Ye), Qe = "_rotate_12t9p_1", Xe = "_dash_12t9p_1",
|
|
|
612
613
|
cy: "25",
|
|
613
614
|
r: "20"
|
|
614
615
|
}
|
|
615
|
-
) }) }),
|
|
616
|
-
"purpur-card-cta--button-styling": "_purpur-card-cta--button-
|
|
617
|
-
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--
|
|
618
|
-
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-
|
|
619
|
-
"purpur-card-cta--button-styling--sm": "_purpur-card-cta--button-styling--
|
|
620
|
-
"purpur-card-cta--button-styling--md": "_purpur-card-cta--button-styling--
|
|
621
|
-
"purpur-card-cta--button-styling--lg": "_purpur-card-cta--button-styling--
|
|
622
|
-
"purpur-card-cta--button-styling--full-width": "_purpur-card-cta--button-styling--full-
|
|
623
|
-
"purpur-card-cta--button-styling--primary": "_purpur-card-cta--button-styling--
|
|
624
|
-
"purpur-card-cta--button-styling--disabled": "_purpur-card-cta--button-styling--
|
|
625
|
-
"purpur-card-cta--button-styling--primary-negative": "_purpur-card-cta--button-styling--primary-
|
|
626
|
-
"purpur-card-cta--button-styling--secondary": "_purpur-card-cta--button-styling--
|
|
627
|
-
"purpur-card-cta--button-styling--secondary-negative": "_purpur-card-cta--button-styling--secondary-
|
|
628
|
-
"purpur-card-cta--button-styling--expressive": "_purpur-card-cta--button-styling--
|
|
629
|
-
"purpur-card-cta--button-styling--expressive-negative": "_purpur-card-cta--button-styling--expressive-
|
|
630
|
-
"purpur-card-cta--cta-styling": "_purpur-card-cta--cta-
|
|
631
|
-
"purpur-card-cta--secondary": "_purpur-card-cta--
|
|
632
|
-
"purpur-card-cta--disabled": "_purpur-card-cta--
|
|
633
|
-
"purpur-card-cta--text": "_purpur-card-cta--
|
|
634
|
-
},
|
|
616
|
+
) }) }), pt = {
|
|
617
|
+
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1xiey_1",
|
|
618
|
+
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1xiey_33",
|
|
619
|
+
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1xiey_36",
|
|
620
|
+
"purpur-card-cta--button-styling--sm": "_purpur-card-cta--button-styling--sm_1xiey_39",
|
|
621
|
+
"purpur-card-cta--button-styling--md": "_purpur-card-cta--button-styling--md_1xiey_45",
|
|
622
|
+
"purpur-card-cta--button-styling--lg": "_purpur-card-cta--button-styling--lg_1xiey_51",
|
|
623
|
+
"purpur-card-cta--button-styling--full-width": "_purpur-card-cta--button-styling--full-width_1xiey_57",
|
|
624
|
+
"purpur-card-cta--button-styling--primary": "_purpur-card-cta--button-styling--primary_1xiey_60",
|
|
625
|
+
"purpur-card-cta--button-styling--disabled": "_purpur-card-cta--button-styling--disabled_1xiey_64",
|
|
626
|
+
"purpur-card-cta--button-styling--primary-negative": "_purpur-card-cta--button-styling--primary-negative_1xiey_70",
|
|
627
|
+
"purpur-card-cta--button-styling--secondary": "_purpur-card-cta--button-styling--secondary_1xiey_82",
|
|
628
|
+
"purpur-card-cta--button-styling--secondary-negative": "_purpur-card-cta--button-styling--secondary-negative_1xiey_93",
|
|
629
|
+
"purpur-card-cta--button-styling--expressive": "_purpur-card-cta--button-styling--expressive_1xiey_104",
|
|
630
|
+
"purpur-card-cta--button-styling--expressive-negative": "_purpur-card-cta--button-styling--expressive-negative_1xiey_114",
|
|
631
|
+
"purpur-card-cta--cta-styling": "_purpur-card-cta--cta-styling_1xiey_126",
|
|
632
|
+
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1xiey_131",
|
|
633
|
+
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1xiey_131",
|
|
634
|
+
"purpur-card-cta--text": "_purpur-card-cta--text_1xiey_139"
|
|
635
|
+
}, lt = _.bind(pt), y = "purpur-card-cta", ut = ({
|
|
635
636
|
["data-testid"]: e = "purpur-card-cta",
|
|
636
637
|
className: o,
|
|
637
638
|
children: a,
|
|
@@ -641,32 +642,32 @@ const Je = /* @__PURE__ */ We(Ye), Qe = "_rotate_12t9p_1", Xe = "_dash_12t9p_1",
|
|
|
641
642
|
text: t,
|
|
642
643
|
linkStyling: i = !1,
|
|
643
644
|
...s
|
|
644
|
-
}) => /* @__PURE__ */
|
|
645
|
+
}) => /* @__PURE__ */ l(
|
|
645
646
|
"div",
|
|
646
647
|
{
|
|
647
|
-
className: `${
|
|
648
|
-
|
|
648
|
+
className: `${lt([
|
|
649
|
+
y,
|
|
649
650
|
o,
|
|
650
651
|
{
|
|
651
|
-
[`${
|
|
652
|
-
[`${
|
|
653
|
-
[`${
|
|
654
|
-
[`${
|
|
655
|
-
[`${
|
|
656
|
-
[`${
|
|
657
|
-
[`${
|
|
652
|
+
[`${y}--disabled`]: n,
|
|
653
|
+
[`${y}--text`]: !!t,
|
|
654
|
+
[`${y}--cta-styling`]: i,
|
|
655
|
+
[`${y}--button-styling`]: !i,
|
|
656
|
+
[`${y}--button-styling--md`]: !i,
|
|
657
|
+
[`${y}--button-styling--secondary`]: !i,
|
|
658
|
+
[`${y}--button-styling--icon-only`]: !i && !t
|
|
658
659
|
}
|
|
659
|
-
])} ${
|
|
660
|
+
])} ${y}`,
|
|
660
661
|
"data-testid": e,
|
|
661
662
|
...s,
|
|
662
|
-
children: r ? /* @__PURE__ */
|
|
663
|
+
children: r ? /* @__PURE__ */ l(nt, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ c(Pr, { children: [
|
|
663
664
|
p === "left" && a,
|
|
664
665
|
t,
|
|
665
666
|
p === "right" && a
|
|
666
667
|
] })
|
|
667
668
|
}
|
|
668
669
|
);
|
|
669
|
-
function
|
|
670
|
+
function st(e) {
|
|
670
671
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
671
672
|
}
|
|
672
673
|
var gr = { exports: {} };
|
|
@@ -675,9 +676,9 @@ var gr = { exports: {} };
|
|
|
675
676
|
Licensed under the MIT License (MIT), see
|
|
676
677
|
http://jedwatson.github.io/classnames
|
|
677
678
|
*/
|
|
678
|
-
var
|
|
679
|
-
function
|
|
680
|
-
return
|
|
679
|
+
var mr;
|
|
680
|
+
function dt() {
|
|
681
|
+
return mr || (mr = 1, function(e) {
|
|
681
682
|
(function() {
|
|
682
683
|
var o = {}.hasOwnProperty;
|
|
683
684
|
function a() {
|
|
@@ -708,8 +709,8 @@ function pt() {
|
|
|
708
709
|
})();
|
|
709
710
|
}(gr)), gr.exports;
|
|
710
711
|
}
|
|
711
|
-
var
|
|
712
|
-
const
|
|
712
|
+
var ct = dt();
|
|
713
|
+
const _t = /* @__PURE__ */ st(ct), ft = {
|
|
713
714
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
714
715
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
715
716
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -717,41 +718,41 @@ const lt = /* @__PURE__ */ nt(ut), st = {
|
|
|
717
718
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
718
719
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
719
720
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
720
|
-
},
|
|
721
|
+
}, ht = _t.bind(ft), vr = "purpur-icon", gt = "md", mt = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), vt = ({ content: e = "", title: o } = {}) => {
|
|
721
722
|
const a = [
|
|
722
723
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
723
724
|
{ name: "fill", value: "currentColor" },
|
|
724
725
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
725
726
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
726
727
|
], n = o ? `<title>${o}</title>` : "";
|
|
727
|
-
return `<svg ${
|
|
728
|
-
},
|
|
729
|
-
const r =
|
|
730
|
-
content:
|
|
728
|
+
return `<svg ${mt(a)}>${n}${e}</svg>`;
|
|
729
|
+
}, yt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), kr = ({ svg: e, allyTitle: o, className: a, size: n = gt, ...p }) => {
|
|
730
|
+
const r = vt({
|
|
731
|
+
content: yt(e.svg),
|
|
731
732
|
title: o
|
|
732
|
-
}), t =
|
|
733
|
-
return /* @__PURE__ */
|
|
733
|
+
}), t = ht(a, vr, `${vr}--${n}`);
|
|
734
|
+
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
734
735
|
};
|
|
735
|
-
|
|
736
|
-
const
|
|
736
|
+
kr.displayName = "Icon";
|
|
737
|
+
const xt = {
|
|
737
738
|
name: "checkmark",
|
|
738
739
|
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>',
|
|
739
740
|
keywords: ["checkmark"],
|
|
740
741
|
category: "utility"
|
|
741
|
-
},
|
|
742
|
-
|
|
743
|
-
function
|
|
742
|
+
}, Zr = (e) => /* @__PURE__ */ l(kr, { ...e, svg: xt });
|
|
743
|
+
Zr.displayName = "IconCheckmark";
|
|
744
|
+
function wt(e) {
|
|
744
745
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
745
746
|
}
|
|
746
|
-
var
|
|
747
|
+
var yr = { exports: {} };
|
|
747
748
|
/*!
|
|
748
749
|
Copyright (c) 2018 Jed Watson.
|
|
749
750
|
Licensed under the MIT License (MIT), see
|
|
750
751
|
http://jedwatson.github.io/classnames
|
|
751
752
|
*/
|
|
752
|
-
var
|
|
753
|
-
function
|
|
754
|
-
return
|
|
753
|
+
var xr;
|
|
754
|
+
function bt() {
|
|
755
|
+
return xr || (xr = 1, function(e) {
|
|
755
756
|
(function() {
|
|
756
757
|
var o = {}.hasOwnProperty;
|
|
757
758
|
function a() {
|
|
@@ -780,10 +781,10 @@ function vt() {
|
|
|
780
781
|
}
|
|
781
782
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
782
783
|
})();
|
|
783
|
-
}(
|
|
784
|
+
}(yr)), yr.exports;
|
|
784
785
|
}
|
|
785
|
-
var
|
|
786
|
-
const
|
|
786
|
+
var Ct = bt();
|
|
787
|
+
const St = /* @__PURE__ */ wt(Ct), $t = {
|
|
787
788
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
788
789
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
789
790
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -798,45 +799,45 @@ const wt = /* @__PURE__ */ mt(yt), xt = {
|
|
|
798
799
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
799
800
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
800
801
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
801
|
-
},
|
|
802
|
+
}, Ft = St.bind($t), Bt = {
|
|
802
803
|
PARAGRAPH100: "paragraph-100"
|
|
803
|
-
},
|
|
804
|
+
}, F = "purpur-paragraph", Q = ({
|
|
804
805
|
children: e,
|
|
805
806
|
className: o,
|
|
806
807
|
disabled: a,
|
|
807
808
|
enableHyphenation: n = !1,
|
|
808
809
|
negative: p = !1,
|
|
809
|
-
variant: r =
|
|
810
|
+
variant: r = Bt.PARAGRAPH100,
|
|
810
811
|
...t
|
|
811
812
|
}) => {
|
|
812
|
-
const i =
|
|
813
|
-
[`${
|
|
814
|
-
[`${
|
|
815
|
-
[`${
|
|
813
|
+
const i = Ft(o, F, `${F}--${r}`, {
|
|
814
|
+
[`${F}--hyphens`]: n,
|
|
815
|
+
[`${F}--disabled`]: a,
|
|
816
|
+
[`${F}--negative`]: p
|
|
816
817
|
});
|
|
817
|
-
return /* @__PURE__ */
|
|
818
|
+
return /* @__PURE__ */ l("p", { ...t, className: i, children: e });
|
|
818
819
|
};
|
|
819
|
-
|
|
820
|
-
const
|
|
820
|
+
Q.displayName = "Paragraph";
|
|
821
|
+
const At = {
|
|
821
822
|
"purpur-card-feature-list": "_purpur-card-feature-list_1hnss_1",
|
|
822
823
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_1hnss_7",
|
|
823
824
|
"purpur-card-feature-list__icon": "_purpur-card-feature-list__icon_1hnss_12"
|
|
824
|
-
},
|
|
825
|
+
}, q = _.bind(At), V = "purpur-card-feature-list", Ot = ({
|
|
825
826
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
826
827
|
listItems: o
|
|
827
|
-
}) => o && o.length > 0 ? /* @__PURE__ */
|
|
828
|
+
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className: q(V), "data-testid": e, children: o.map((a) => /* @__PURE__ */ c(
|
|
828
829
|
"li",
|
|
829
830
|
{
|
|
830
|
-
className:
|
|
831
|
+
className: q(`${V}__list-item`),
|
|
831
832
|
"data-testid": `${e}-item`,
|
|
832
833
|
children: [
|
|
833
|
-
/* @__PURE__ */
|
|
834
|
-
/* @__PURE__ */
|
|
834
|
+
/* @__PURE__ */ l(Zr, { size: "xs", className: q(`${V}__icon`) }),
|
|
835
|
+
/* @__PURE__ */ l(Q, { children: a })
|
|
835
836
|
]
|
|
836
837
|
},
|
|
837
838
|
a
|
|
838
839
|
)) }) : null;
|
|
839
|
-
function
|
|
840
|
+
function Gt(e) {
|
|
840
841
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
841
842
|
}
|
|
842
843
|
var wr = { exports: {} };
|
|
@@ -845,9 +846,9 @@ var wr = { exports: {} };
|
|
|
845
846
|
Licensed under the MIT License (MIT), see
|
|
846
847
|
http://jedwatson.github.io/classnames
|
|
847
848
|
*/
|
|
848
|
-
var
|
|
849
|
-
function
|
|
850
|
-
return
|
|
849
|
+
var br;
|
|
850
|
+
function Mt() {
|
|
851
|
+
return br || (br = 1, function(e) {
|
|
851
852
|
(function() {
|
|
852
853
|
var o = {}.hasOwnProperty;
|
|
853
854
|
function a() {
|
|
@@ -878,8 +879,8 @@ function Ft() {
|
|
|
878
879
|
})();
|
|
879
880
|
}(wr)), wr.exports;
|
|
880
881
|
}
|
|
881
|
-
var
|
|
882
|
-
const
|
|
882
|
+
var Nt = Mt();
|
|
883
|
+
const kt = /* @__PURE__ */ Gt(Nt), N = {
|
|
883
884
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
884
885
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
885
886
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -899,40 +900,40 @@ const Nt = /* @__PURE__ */ At(Bt), G = {
|
|
|
899
900
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
900
901
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
901
902
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
902
|
-
},
|
|
903
|
+
}, Zt = {
|
|
903
904
|
TITLE100: "title-100"
|
|
904
|
-
},
|
|
905
|
+
}, k = "purpur-heading", Er = ({
|
|
905
906
|
children: e,
|
|
906
907
|
className: o = "",
|
|
907
908
|
enableHyphenation: a = !1,
|
|
908
909
|
negative: n = !1,
|
|
909
910
|
tag: p,
|
|
910
|
-
variant: r =
|
|
911
|
+
variant: r = Zt.TITLE100,
|
|
911
912
|
...t
|
|
912
913
|
}) => {
|
|
913
|
-
const i = p, s =
|
|
914
|
+
const i = p, s = kt([
|
|
914
915
|
o,
|
|
915
|
-
|
|
916
|
-
|
|
916
|
+
N[k],
|
|
917
|
+
N[`${k}--${r}`],
|
|
917
918
|
{
|
|
918
|
-
[
|
|
919
|
-
[
|
|
919
|
+
[N[`${k}--hyphens`]]: a,
|
|
920
|
+
[N[`${k}--negative`]]: n
|
|
920
921
|
}
|
|
921
922
|
]);
|
|
922
|
-
return /* @__PURE__ */
|
|
923
|
+
return /* @__PURE__ */ l(i, { className: s, ...t, children: e });
|
|
923
924
|
};
|
|
924
|
-
|
|
925
|
-
const
|
|
925
|
+
Er.displayName = "Heading";
|
|
926
|
+
const Et = {
|
|
926
927
|
"purpur-card-heading": "_purpur-card-heading_j3j6u_1",
|
|
927
928
|
"purpur-card-heading__header": "_purpur-card-heading__header_j3j6u_6",
|
|
928
929
|
"purpur-card-heading__heading": "_purpur-card-heading__heading_j3j6u_11",
|
|
929
930
|
"purpur-card-heading__icon": "_purpur-card-heading__icon_j3j6u_14"
|
|
930
|
-
},
|
|
931
|
+
}, Ut = {
|
|
931
932
|
"purpur-card-trigger-item--link": "_purpur-card-trigger-item--link_t6ena_1",
|
|
932
933
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_t6ena_5",
|
|
933
934
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_t6ena_18",
|
|
934
935
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_t6ena_1"
|
|
935
|
-
},
|
|
936
|
+
}, Cr = _.bind(Ut), x = "purpur-card-trigger-item", It = ({
|
|
936
937
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
937
938
|
["aria-label"]: o,
|
|
938
939
|
disabled: a = !1,
|
|
@@ -941,19 +942,19 @@ const Mt = {
|
|
|
941
942
|
children: r,
|
|
942
943
|
linkElement: t = "a"
|
|
943
944
|
}) => {
|
|
944
|
-
const i = (
|
|
945
|
-
a ?
|
|
946
|
-
}, s = `${
|
|
947
|
-
return n ? /* @__PURE__ */
|
|
945
|
+
const i = (w) => {
|
|
946
|
+
a ? w.preventDefault() : p && p();
|
|
947
|
+
}, s = `${x} ${a ? `${x}--disabled` : ""}`;
|
|
948
|
+
return n ? /* @__PURE__ */ l(
|
|
948
949
|
t,
|
|
949
950
|
{
|
|
950
951
|
"aria-disabled": a,
|
|
951
952
|
"aria-label": o,
|
|
952
|
-
className: `${
|
|
953
|
-
|
|
954
|
-
`${
|
|
953
|
+
className: `${Cr([
|
|
954
|
+
x,
|
|
955
|
+
`${x}--link`,
|
|
955
956
|
{
|
|
956
|
-
[`${
|
|
957
|
+
[`${x}--disabled`]: a
|
|
957
958
|
}
|
|
958
959
|
])} ${s}`,
|
|
959
960
|
"data-testid": e,
|
|
@@ -962,16 +963,16 @@ const Mt = {
|
|
|
962
963
|
onClick: i,
|
|
963
964
|
children: r
|
|
964
965
|
}
|
|
965
|
-
) : /* @__PURE__ */
|
|
966
|
+
) : /* @__PURE__ */ l(
|
|
966
967
|
"button",
|
|
967
968
|
{
|
|
968
969
|
"aria-disabled": a,
|
|
969
970
|
"aria-label": o,
|
|
970
|
-
className: `${
|
|
971
|
-
|
|
972
|
-
`${
|
|
971
|
+
className: `${Cr([
|
|
972
|
+
x,
|
|
973
|
+
`${x}--button`,
|
|
973
974
|
{
|
|
974
|
-
[`${
|
|
975
|
+
[`${x}--disabled`]: a
|
|
975
976
|
}
|
|
976
977
|
])} ${s}`,
|
|
977
978
|
"data-testid": e,
|
|
@@ -980,7 +981,7 @@ const Mt = {
|
|
|
980
981
|
children: r
|
|
981
982
|
}
|
|
982
983
|
);
|
|
983
|
-
}, Z = _.bind(
|
|
984
|
+
}, Z = _.bind(Et), b = "purpur-card-heading", jt = ({
|
|
984
985
|
["data-testid"]: e = "purpur-card-heading",
|
|
985
986
|
["aria-label"]: o,
|
|
986
987
|
title: a,
|
|
@@ -990,34 +991,34 @@ const Mt = {
|
|
|
990
991
|
enableHyphenation: t,
|
|
991
992
|
onClick: i = void 0,
|
|
992
993
|
href: s = void 0,
|
|
993
|
-
disabled:
|
|
994
|
-
linkElement:
|
|
995
|
-
variant:
|
|
996
|
-
...
|
|
994
|
+
disabled: w = !1,
|
|
995
|
+
linkElement: I = "a",
|
|
996
|
+
variant: j = "title-100",
|
|
997
|
+
...D
|
|
997
998
|
}) => {
|
|
998
|
-
const
|
|
999
|
+
const A = Z(b, {
|
|
999
1000
|
[`${b}--is-interactive`]: i || s,
|
|
1000
|
-
[`${b}--disabled`]:
|
|
1001
|
+
[`${b}--disabled`]: w
|
|
1001
1002
|
});
|
|
1002
|
-
return /* @__PURE__ */ c("div", { className:
|
|
1003
|
+
return /* @__PURE__ */ c("div", { className: A, "data-testid": e, children: [
|
|
1003
1004
|
/* @__PURE__ */ c("div", { className: Z(`${b}__header`), children: [
|
|
1004
|
-
n && /* @__PURE__ */
|
|
1005
|
-
/* @__PURE__ */
|
|
1006
|
-
|
|
1005
|
+
n && /* @__PURE__ */ l("div", { className: Z(`${b}__icon`), children: n }),
|
|
1006
|
+
/* @__PURE__ */ l(
|
|
1007
|
+
Er,
|
|
1007
1008
|
{
|
|
1008
1009
|
tag: r,
|
|
1009
1010
|
className: Z(`${b}__heading`),
|
|
1010
|
-
variant:
|
|
1011
|
+
variant: j,
|
|
1011
1012
|
enableHyphenation: t,
|
|
1012
|
-
...
|
|
1013
|
-
children: i || s ? /* @__PURE__ */
|
|
1014
|
-
|
|
1013
|
+
...D,
|
|
1014
|
+
children: i || s ? /* @__PURE__ */ l(
|
|
1015
|
+
It,
|
|
1015
1016
|
{
|
|
1016
1017
|
"aria-label": o,
|
|
1017
|
-
disabled:
|
|
1018
|
+
disabled: w,
|
|
1018
1019
|
href: s,
|
|
1019
1020
|
onClick: i,
|
|
1020
|
-
linkElement:
|
|
1021
|
+
linkElement: I,
|
|
1021
1022
|
children: a
|
|
1022
1023
|
}
|
|
1023
1024
|
) : a
|
|
@@ -1026,41 +1027,41 @@ const Mt = {
|
|
|
1026
1027
|
] }),
|
|
1027
1028
|
p
|
|
1028
1029
|
] });
|
|
1029
|
-
},
|
|
1030
|
+
}, Dt = {
|
|
1030
1031
|
"purpur-card-media": "_purpur-card-media_udc1o_1"
|
|
1031
|
-
},
|
|
1032
|
+
}, Rt = _.bind(Dt), Lt = "purpur-card-media", Pt = ({
|
|
1032
1033
|
["data-testid"]: e = "purpur-card-media",
|
|
1033
1034
|
className: o,
|
|
1034
1035
|
children: a,
|
|
1035
1036
|
...n
|
|
1036
|
-
}) => /* @__PURE__ */
|
|
1037
|
+
}) => /* @__PURE__ */ l("div", { ...n, className: Rt([Lt, o]), "data-testid": e, children: a }), Ht = {
|
|
1037
1038
|
"purpur-card-media-layout": "_purpur-card-media-layout_1tkaa_1",
|
|
1038
1039
|
"purpur-card-media-layout--image-top": "_purpur-card-media-layout--image-top_1tkaa_11"
|
|
1039
|
-
},
|
|
1040
|
+
}, Tt = _.bind(Ht), Sr = "purpur-card-media-layout", qt = ({
|
|
1040
1041
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
1041
1042
|
className: o,
|
|
1042
1043
|
children: a,
|
|
1043
1044
|
imageTop: n = !1,
|
|
1044
1045
|
...p
|
|
1045
|
-
}) => /* @__PURE__ */
|
|
1046
|
+
}) => /* @__PURE__ */ l(
|
|
1046
1047
|
"div",
|
|
1047
1048
|
{
|
|
1048
1049
|
...p,
|
|
1049
|
-
className:
|
|
1050
|
+
className: Tt(Sr, o, { [`${Sr}--image-top`]: n }),
|
|
1050
1051
|
"data-testid": e,
|
|
1051
1052
|
children: a
|
|
1052
1053
|
}
|
|
1053
|
-
),
|
|
1054
|
+
), Vt = {
|
|
1054
1055
|
"purpur-card-overline": "_purpur-card-overline_qhfj0_1"
|
|
1055
|
-
},
|
|
1056
|
+
}, zt = _.bind(Vt), Wt = "purpur-card-overline", Kt = ({
|
|
1056
1057
|
["data-testid"]: e = "purpur-card-overline",
|
|
1057
1058
|
overline: o
|
|
1058
|
-
}) => o ? /* @__PURE__ */
|
|
1059
|
+
}) => o ? /* @__PURE__ */ l(Q, { variant: "overline-100", className: zt(Wt), "data-testid": e, children: o }) : null, Yt = {
|
|
1059
1060
|
"purpur-card-root": "_purpur-card-root_eupww_1",
|
|
1060
1061
|
"purpur-card-root--primary": "_purpur-card-root--primary_eupww_7",
|
|
1061
1062
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_eupww_10",
|
|
1062
1063
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_eupww_13"
|
|
1063
|
-
},
|
|
1064
|
+
}, Jt = _.bind(Yt), z = "purpur-card-root", Ur = Gr(
|
|
1064
1065
|
({
|
|
1065
1066
|
["data-testid"]: e = "purpur-card-root",
|
|
1066
1067
|
children: o,
|
|
@@ -1069,52 +1070,52 @@ const Mt = {
|
|
|
1069
1070
|
variant: p,
|
|
1070
1071
|
...r
|
|
1071
1072
|
}, t) => {
|
|
1072
|
-
const i =
|
|
1073
|
-
|
|
1073
|
+
const i = Jt([
|
|
1074
|
+
z,
|
|
1074
1075
|
a,
|
|
1075
1076
|
{
|
|
1076
|
-
[`${
|
|
1077
|
-
[`${
|
|
1077
|
+
[`${z}--${p}`]: p,
|
|
1078
|
+
[`${z}--full-height`]: n
|
|
1078
1079
|
}
|
|
1079
1080
|
]);
|
|
1080
|
-
return /* @__PURE__ */
|
|
1081
|
+
return /* @__PURE__ */ l("div", { className: i, "data-testid": e, ref: t, ...r, children: o });
|
|
1081
1082
|
}
|
|
1082
1083
|
);
|
|
1083
|
-
|
|
1084
|
-
const W = _.bind(
|
|
1084
|
+
Ur.displayName = "CardRoot";
|
|
1085
|
+
const W = _.bind(me), K = "purpur-card", f = ({ children: e, className: o, ...a }) => {
|
|
1085
1086
|
const n = W([K, o]);
|
|
1086
|
-
return /* @__PURE__ */
|
|
1087
|
+
return /* @__PURE__ */ l(
|
|
1087
1088
|
"div",
|
|
1088
1089
|
{
|
|
1089
1090
|
className: W(`${K}__container`, {
|
|
1090
1091
|
[`${K}__container--full-height`]: a.fullHeight
|
|
1091
1092
|
}),
|
|
1092
|
-
children: /* @__PURE__ */
|
|
1093
|
+
children: /* @__PURE__ */ l(Ur, { className: W(n), ...a, children: e })
|
|
1093
1094
|
}
|
|
1094
1095
|
);
|
|
1095
1096
|
};
|
|
1096
|
-
f.Badge =
|
|
1097
|
-
f.Content =
|
|
1098
|
-
f.ContentContainer =
|
|
1099
|
-
f.Cta =
|
|
1100
|
-
f.FeatureList =
|
|
1101
|
-
f.Overline =
|
|
1102
|
-
f.Heading =
|
|
1103
|
-
f.Media =
|
|
1104
|
-
f.MediaLayout =
|
|
1097
|
+
f.Badge = Te;
|
|
1098
|
+
f.Content = We;
|
|
1099
|
+
f.ContentContainer = Je;
|
|
1100
|
+
f.Cta = ut;
|
|
1101
|
+
f.FeatureList = Ot;
|
|
1102
|
+
f.Overline = Kt;
|
|
1103
|
+
f.Heading = jt;
|
|
1104
|
+
f.Media = Pt;
|
|
1105
|
+
f.MediaLayout = qt;
|
|
1105
1106
|
f.displayName = "Card";
|
|
1106
|
-
function
|
|
1107
|
+
function Qt(e) {
|
|
1107
1108
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1108
1109
|
}
|
|
1109
|
-
var
|
|
1110
|
+
var $r = { exports: {} };
|
|
1110
1111
|
/*!
|
|
1111
1112
|
Copyright (c) 2018 Jed Watson.
|
|
1112
1113
|
Licensed under the MIT License (MIT), see
|
|
1113
1114
|
http://jedwatson.github.io/classnames
|
|
1114
1115
|
*/
|
|
1115
|
-
var
|
|
1116
|
-
function
|
|
1117
|
-
return
|
|
1116
|
+
var Fr;
|
|
1117
|
+
function Xt() {
|
|
1118
|
+
return Fr || (Fr = 1, function(e) {
|
|
1118
1119
|
(function() {
|
|
1119
1120
|
var o = {}.hasOwnProperty;
|
|
1120
1121
|
function a() {
|
|
@@ -1143,10 +1144,10 @@ function Kt() {
|
|
|
1143
1144
|
}
|
|
1144
1145
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1145
1146
|
})();
|
|
1146
|
-
}(
|
|
1147
|
+
}($r)), $r.exports;
|
|
1147
1148
|
}
|
|
1148
|
-
var
|
|
1149
|
-
const
|
|
1149
|
+
var ra = Xt();
|
|
1150
|
+
const ea = /* @__PURE__ */ Qt(ra), E = {
|
|
1150
1151
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
1151
1152
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
1152
1153
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -1166,41 +1167,41 @@ const Jt = /* @__PURE__ */ Wt(Yt), E = {
|
|
|
1166
1167
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
1167
1168
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
1168
1169
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
1169
|
-
},
|
|
1170
|
+
}, ta = {
|
|
1170
1171
|
TITLE100: "title-100"
|
|
1171
|
-
},
|
|
1172
|
+
}, U = "purpur-heading", Ir = ({
|
|
1172
1173
|
children: e,
|
|
1173
1174
|
className: o = "",
|
|
1174
1175
|
enableHyphenation: a = !1,
|
|
1175
1176
|
negative: n = !1,
|
|
1176
1177
|
tag: p,
|
|
1177
|
-
variant: r =
|
|
1178
|
+
variant: r = ta.TITLE100,
|
|
1178
1179
|
...t
|
|
1179
1180
|
}) => {
|
|
1180
|
-
const i = p, s =
|
|
1181
|
+
const i = p, s = ea([
|
|
1181
1182
|
o,
|
|
1182
|
-
E[
|
|
1183
|
-
E[`${
|
|
1183
|
+
E[U],
|
|
1184
|
+
E[`${U}--${r}`],
|
|
1184
1185
|
{
|
|
1185
|
-
[E[`${
|
|
1186
|
-
[E[`${
|
|
1186
|
+
[E[`${U}--hyphens`]]: a,
|
|
1187
|
+
[E[`${U}--negative`]]: n
|
|
1187
1188
|
}
|
|
1188
1189
|
]);
|
|
1189
|
-
return /* @__PURE__ */
|
|
1190
|
+
return /* @__PURE__ */ l(i, { className: s, ...t, children: e });
|
|
1190
1191
|
};
|
|
1191
|
-
|
|
1192
|
-
function
|
|
1192
|
+
Ir.displayName = "Heading";
|
|
1193
|
+
function aa(e) {
|
|
1193
1194
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1194
1195
|
}
|
|
1195
|
-
var
|
|
1196
|
+
var Br = { exports: {} };
|
|
1196
1197
|
/*!
|
|
1197
1198
|
Copyright (c) 2018 Jed Watson.
|
|
1198
1199
|
Licensed under the MIT License (MIT), see
|
|
1199
1200
|
http://jedwatson.github.io/classnames
|
|
1200
1201
|
*/
|
|
1201
|
-
var
|
|
1202
|
-
function
|
|
1203
|
-
return
|
|
1202
|
+
var Ar;
|
|
1203
|
+
function ia() {
|
|
1204
|
+
return Ar || (Ar = 1, function(e) {
|
|
1204
1205
|
(function() {
|
|
1205
1206
|
var o = {}.hasOwnProperty;
|
|
1206
1207
|
function a() {
|
|
@@ -1229,10 +1230,10 @@ function ra() {
|
|
|
1229
1230
|
}
|
|
1230
1231
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1231
1232
|
})();
|
|
1232
|
-
}(
|
|
1233
|
+
}(Br)), Br.exports;
|
|
1233
1234
|
}
|
|
1234
|
-
var
|
|
1235
|
-
const
|
|
1235
|
+
var oa = ia();
|
|
1236
|
+
const na = /* @__PURE__ */ aa(oa), pa = {
|
|
1236
1237
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1237
1238
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1238
1239
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1247,26 +1248,35 @@ const ta = /* @__PURE__ */ Xt(ea), aa = {
|
|
|
1247
1248
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1248
1249
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1249
1250
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1250
|
-
},
|
|
1251
|
+
}, la = na.bind(pa), ua = {
|
|
1251
1252
|
PARAGRAPH100: "paragraph-100"
|
|
1252
|
-
},
|
|
1253
|
+
}, B = "purpur-paragraph", jr = ({
|
|
1253
1254
|
children: e,
|
|
1254
1255
|
className: o,
|
|
1255
1256
|
disabled: a,
|
|
1256
1257
|
enableHyphenation: n = !1,
|
|
1257
1258
|
negative: p = !1,
|
|
1258
|
-
variant: r =
|
|
1259
|
+
variant: r = ua.PARAGRAPH100,
|
|
1259
1260
|
...t
|
|
1260
1261
|
}) => {
|
|
1261
|
-
const i =
|
|
1262
|
-
[`${
|
|
1263
|
-
[`${
|
|
1264
|
-
[`${
|
|
1262
|
+
const i = la(o, B, `${B}--${r}`, {
|
|
1263
|
+
[`${B}--hyphens`]: n,
|
|
1264
|
+
[`${B}--disabled`]: a,
|
|
1265
|
+
[`${B}--negative`]: p
|
|
1265
1266
|
});
|
|
1266
|
-
return /* @__PURE__ */
|
|
1267
|
+
return /* @__PURE__ */ l("p", { ...t, className: i, children: e });
|
|
1267
1268
|
};
|
|
1268
|
-
|
|
1269
|
-
|
|
1269
|
+
jr.displayName = "Paragraph";
|
|
1270
|
+
const sa = Hr(void 0), da = () => {
|
|
1271
|
+
const e = Tr(sa);
|
|
1272
|
+
if (!e)
|
|
1273
|
+
throw new Error("useTheme must be used within a ThemeProvider");
|
|
1274
|
+
return e;
|
|
1275
|
+
}, ca = () => {
|
|
1276
|
+
const { colorScheme: e, setColorScheme: o } = da();
|
|
1277
|
+
return [e, o];
|
|
1278
|
+
};
|
|
1279
|
+
function _a(e) {
|
|
1270
1280
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1271
1281
|
}
|
|
1272
1282
|
var Y = { exports: {} };
|
|
@@ -1275,9 +1285,9 @@ var Y = { exports: {} };
|
|
|
1275
1285
|
Licensed under the MIT License (MIT), see
|
|
1276
1286
|
http://jedwatson.github.io/classnames
|
|
1277
1287
|
*/
|
|
1278
|
-
var
|
|
1279
|
-
function
|
|
1280
|
-
return
|
|
1288
|
+
var Or;
|
|
1289
|
+
function fa() {
|
|
1290
|
+
return Or || (Or = 1, function(e) {
|
|
1281
1291
|
(function() {
|
|
1282
1292
|
var o = {}.hasOwnProperty;
|
|
1283
1293
|
function a() {
|
|
@@ -1308,41 +1318,44 @@ function pa() {
|
|
|
1308
1318
|
})();
|
|
1309
1319
|
}(Y)), Y.exports;
|
|
1310
1320
|
}
|
|
1311
|
-
var
|
|
1312
|
-
const
|
|
1313
|
-
"purpur-promotion-card": "_purpur-promotion-
|
|
1314
|
-
"purpur-promotion-
|
|
1315
|
-
"purpur-promotion-card__content": "_purpur-promotion-
|
|
1316
|
-
"purpur-promotion-
|
|
1317
|
-
"purpur-promotion-
|
|
1318
|
-
"purpur-promotion-
|
|
1319
|
-
"purpur-promotion-
|
|
1320
|
-
"purpur-promotion-
|
|
1321
|
-
"purpur-promotion-
|
|
1322
|
-
"purpur-promotion-
|
|
1323
|
-
"purpur-promotion-
|
|
1324
|
-
"purpur-promotion-
|
|
1325
|
-
"purpur-promotion-
|
|
1326
|
-
"purpur-promotion-card__main-content--
|
|
1327
|
-
"purpur-promotion-
|
|
1328
|
-
"purpur-promotion-
|
|
1329
|
-
"purpur-promotion-
|
|
1330
|
-
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-
|
|
1331
|
-
"purpur-promotion-card__image-wrapper--
|
|
1332
|
-
|
|
1333
|
-
}, ma = ["primary", "secondary", "quaternary"], da = {
|
|
1321
|
+
var ha = fa();
|
|
1322
|
+
const ga = /* @__PURE__ */ _a(ha), ma = {
|
|
1323
|
+
"purpur-promotion-card": "_purpur-promotion-card_w866l_1",
|
|
1324
|
+
"purpur-promotion-card__inner--without-image": "_purpur-promotion-card__inner--without-image_w866l_9",
|
|
1325
|
+
"purpur-promotion-card__content": "_purpur-promotion-card__content_w866l_9",
|
|
1326
|
+
"purpur-promotion-card__inner--with-image": "_purpur-promotion-card__inner--with-image_w866l_34",
|
|
1327
|
+
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-gradient_w866l_46",
|
|
1328
|
+
"purpur-promotion-card__actions": "_purpur-promotion-card__actions_w866l_62",
|
|
1329
|
+
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-image_w866l_78",
|
|
1330
|
+
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-content_w866l_81",
|
|
1331
|
+
"purpur-promotion-card__heading": "_purpur-promotion-card__heading_w866l_86",
|
|
1332
|
+
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-image_w866l_91",
|
|
1333
|
+
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-wrapper_w866l_102",
|
|
1334
|
+
"purpur-promotion-card__body": "_purpur-promotion-card__body_w866l_106",
|
|
1335
|
+
"purpur-promotion-card__main-content--space-between": "_purpur-promotion-card__main-content--space-between_w866l_117",
|
|
1336
|
+
"purpur-promotion-card__main-content--flex-end": "_purpur-promotion-card__main-content--flex-end_w866l_120",
|
|
1337
|
+
"purpur-promotion-card__child-content": "_purpur-promotion-card__child-content_w866l_140",
|
|
1338
|
+
"purpur-promotion-card__additional-text": "_purpur-promotion-card__additional-text_w866l_143",
|
|
1339
|
+
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_w866l_146",
|
|
1340
|
+
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_w866l_149",
|
|
1341
|
+
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_w866l_150"
|
|
1342
|
+
}, Sa = ["primary", "secondary", "quaternary"], va = {
|
|
1334
1343
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1335
1344
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1336
1345
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1337
|
-
},
|
|
1346
|
+
}, J = {
|
|
1338
1347
|
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>')`,
|
|
1339
1348
|
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>')`,
|
|
1340
1349
|
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>')`
|
|
1341
|
-
},
|
|
1350
|
+
}, ya = {
|
|
1351
|
+
primary: J.secondary,
|
|
1352
|
+
secondary: J.primary,
|
|
1353
|
+
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>')`
|
|
1354
|
+
}, xa = {
|
|
1342
1355
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1343
1356
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1344
1357
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1345
|
-
}, d =
|
|
1358
|
+
}, d = ga.bind(ma), u = "purpur-promotion-card", wa = Gr(
|
|
1346
1359
|
({
|
|
1347
1360
|
["data-testid"]: e,
|
|
1348
1361
|
variant: o = "primary",
|
|
@@ -1353,119 +1366,128 @@ const la = /* @__PURE__ */ na(ua), sa = {
|
|
|
1353
1366
|
titleVariant: t = "title-300",
|
|
1354
1367
|
enableTitleHyphenation: i = !1,
|
|
1355
1368
|
className: s,
|
|
1356
|
-
actions:
|
|
1357
|
-
children:
|
|
1358
|
-
style:
|
|
1359
|
-
alignment:
|
|
1360
|
-
additionalText:
|
|
1361
|
-
...
|
|
1362
|
-
},
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1369
|
+
actions: w,
|
|
1370
|
+
children: I,
|
|
1371
|
+
style: j,
|
|
1372
|
+
alignment: D = "space-between",
|
|
1373
|
+
additionalText: A,
|
|
1374
|
+
...h
|
|
1375
|
+
}, Dr) => {
|
|
1376
|
+
const [Rr] = ca();
|
|
1377
|
+
let O = h, g, G;
|
|
1378
|
+
if ("decorativeImage" in h) {
|
|
1379
|
+
const { hasGradient: C, decorativeImage: S, ...R } = h;
|
|
1380
|
+
g = S, G = C, O = R;
|
|
1381
|
+
} else if ("productImage" in h) {
|
|
1382
|
+
const { hasGradient: C, productImage: S, ...R } = h;
|
|
1383
|
+
g = S, G = C, O = R;
|
|
1384
|
+
} else if ("hasGradient" in h) {
|
|
1385
|
+
const { hasGradient: C, ...S } = h;
|
|
1386
|
+
G = C, O = S;
|
|
1373
1387
|
}
|
|
1374
|
-
const
|
|
1375
|
-
"--promotion-card-background":
|
|
1376
|
-
"--promotion-card-color":
|
|
1377
|
-
"--promotion-card-background-image":
|
|
1388
|
+
const Lr = {
|
|
1389
|
+
"--promotion-card-background": va[o],
|
|
1390
|
+
"--promotion-card-color": xa[o],
|
|
1391
|
+
"--promotion-card-background-image": g ? "none" : Rr === "dark" ? ya[o] : J[o]
|
|
1378
1392
|
};
|
|
1379
|
-
return /* @__PURE__ */
|
|
1380
|
-
|
|
1393
|
+
return /* @__PURE__ */ l(
|
|
1394
|
+
f,
|
|
1381
1395
|
{
|
|
1382
1396
|
"data-testid": e,
|
|
1397
|
+
ref: Dr,
|
|
1398
|
+
fullHeight: !0,
|
|
1399
|
+
className: d(s, u, `${u}--${o}`),
|
|
1383
1400
|
style: {
|
|
1384
|
-
...
|
|
1385
|
-
...
|
|
1401
|
+
...Lr,
|
|
1402
|
+
...j
|
|
1386
1403
|
},
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1404
|
+
...O,
|
|
1405
|
+
children: /* @__PURE__ */ c(
|
|
1406
|
+
"div",
|
|
1407
|
+
{
|
|
1408
|
+
className: d(`${u}__inner`, {
|
|
1409
|
+
[`${u}__inner--with-image`]: g,
|
|
1410
|
+
[`${u}__inner--without-image`]: !g
|
|
1411
|
+
}),
|
|
1412
|
+
children: [
|
|
1413
|
+
/* @__PURE__ */ c(
|
|
1414
|
+
"div",
|
|
1415
|
+
{
|
|
1416
|
+
className: d(`${u}__content`, {
|
|
1417
|
+
[`${u}__content--with-image`]: g,
|
|
1418
|
+
[`${u}__content--without-image`]: !g
|
|
1419
|
+
}),
|
|
1420
|
+
children: [
|
|
1421
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: d(`${u}__badge-wrapper`), children: /* @__PURE__ */ c(_e, { variant: o === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1422
|
+
n && n,
|
|
1423
|
+
a
|
|
1424
|
+
] }) }),
|
|
1425
|
+
/* @__PURE__ */ c(
|
|
1426
|
+
"div",
|
|
1427
|
+
{
|
|
1428
|
+
className: d(
|
|
1429
|
+
`${u}__main-content`,
|
|
1430
|
+
`${u}__main-content--${D}`
|
|
1431
|
+
),
|
|
1432
|
+
children: [
|
|
1433
|
+
/* @__PURE__ */ l(
|
|
1434
|
+
Ir,
|
|
1435
|
+
{
|
|
1436
|
+
tag: r,
|
|
1437
|
+
variant: t,
|
|
1438
|
+
enableHyphenation: i,
|
|
1439
|
+
className: d(`${u}__heading`),
|
|
1440
|
+
children: p
|
|
1441
|
+
}
|
|
1442
|
+
),
|
|
1443
|
+
/* @__PURE__ */ c("div", { className: d(`${u}__body`), children: [
|
|
1444
|
+
/* @__PURE__ */ l("div", { className: d(`${u}__child-content`), children: I }),
|
|
1445
|
+
w && /* @__PURE__ */ l("div", { className: d(`${u}__actions`), children: w }),
|
|
1446
|
+
A && /* @__PURE__ */ l(
|
|
1447
|
+
jr,
|
|
1448
|
+
{
|
|
1449
|
+
negative: !0,
|
|
1450
|
+
variant: "additional-100",
|
|
1451
|
+
className: d(`${u}__additional-text`),
|
|
1452
|
+
children: A
|
|
1453
|
+
}
|
|
1454
|
+
)
|
|
1455
|
+
] })
|
|
1456
|
+
]
|
|
1457
|
+
}
|
|
1458
|
+
)
|
|
1459
|
+
]
|
|
1460
|
+
}
|
|
1461
|
+
),
|
|
1462
|
+
g && /* @__PURE__ */ c(
|
|
1463
|
+
"div",
|
|
1464
|
+
{
|
|
1465
|
+
className: d(`${u}__image-wrapper`, {
|
|
1466
|
+
[`${u}__image-wrapper--product`]: "productImage" in h,
|
|
1467
|
+
[`${u}__image-wrapper--decorative`]: "decorativeImage" in h
|
|
1468
|
+
}),
|
|
1469
|
+
children: [
|
|
1470
|
+
g,
|
|
1471
|
+
G && /* @__PURE__ */ l(
|
|
1472
|
+
"div",
|
|
1473
|
+
{
|
|
1474
|
+
className: d(`${u}__image-gradient`),
|
|
1475
|
+
"data-testid": "promotion-card-gradient"
|
|
1476
|
+
}
|
|
1477
|
+
)
|
|
1478
|
+
]
|
|
1479
|
+
}
|
|
1480
|
+
)
|
|
1481
|
+
]
|
|
1482
|
+
}
|
|
1483
|
+
)
|
|
1462
1484
|
}
|
|
1463
|
-
)
|
|
1485
|
+
);
|
|
1464
1486
|
}
|
|
1465
1487
|
);
|
|
1466
|
-
|
|
1488
|
+
wa.displayName = "PromotionCard";
|
|
1467
1489
|
export {
|
|
1468
|
-
|
|
1469
|
-
|
|
1490
|
+
wa as PromotionCard,
|
|
1491
|
+
Sa as promotionCardVariants
|
|
1470
1492
|
};
|
|
1471
1493
|
//# sourceMappingURL=promotion-card.es.js.map
|