@purpurds/promotion-card 5.18.3 → 5.19.1
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 +17 -3
- package/dist/promotion-card.cjs.js +27 -11
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts +13 -1
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +868 -446
- package/dist/promotion-card.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +11 -10
- package/src/promotion-card.module.scss +18 -3
- package/src/promotion-card.stories.tsx +54 -45
- package/src/promotion-card.tsx +35 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as g, jsx as l, Fragment as fr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as O, Children as L, isValidElement as z, createElement as R, cloneElement as gr, useEffect as Ur, Fragment as qr } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function Lr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var hr = { exports: {} };
|
|
8
8
|
/*!
|
|
9
9
|
Copyright (c) 2018 Jed Watson.
|
|
10
10
|
Licensed under the MIT License (MIT), see
|
|
@@ -12,11 +12,11 @@ var ir = { exports: {} };
|
|
|
12
12
|
*/
|
|
13
13
|
(function(e) {
|
|
14
14
|
(function() {
|
|
15
|
-
var
|
|
15
|
+
var i = {}.hasOwnProperty;
|
|
16
16
|
function a() {
|
|
17
17
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
18
|
-
var
|
|
19
|
-
|
|
18
|
+
var o = arguments[t];
|
|
19
|
+
o && (r = p(r, n.call(this, o)));
|
|
20
20
|
}
|
|
21
21
|
return r;
|
|
22
22
|
}
|
|
@@ -30,8 +30,8 @@ var ir = { exports: {} };
|
|
|
30
30
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
31
31
|
return r.toString();
|
|
32
32
|
var t = "";
|
|
33
|
-
for (var
|
|
34
|
-
|
|
33
|
+
for (var o in r)
|
|
34
|
+
i.call(r, o) && r[o] && (t = p(t, this && this[o] || o));
|
|
35
35
|
return t;
|
|
36
36
|
}
|
|
37
37
|
function p(r, t) {
|
|
@@ -39,9 +39,9 @@ var ir = { exports: {} };
|
|
|
39
39
|
}
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
|
-
})(
|
|
43
|
-
var
|
|
44
|
-
const
|
|
42
|
+
})(hr);
|
|
43
|
+
var Rr = hr.exports;
|
|
44
|
+
const Dr = /* @__PURE__ */ Lr(Rr), Pr = {
|
|
45
45
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
46
46
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
47
47
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -49,76 +49,76 @@ const Br = /* @__PURE__ */ Fr(kr), $r = {
|
|
|
49
49
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
50
50
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
51
51
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
52
|
-
},
|
|
52
|
+
}, Tr = {
|
|
53
53
|
name: "alert",
|
|
54
54
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
55
55
|
keywords: ["alert"],
|
|
56
56
|
category: "status"
|
|
57
|
-
},
|
|
57
|
+
}, zr = {
|
|
58
58
|
name: "check-circle",
|
|
59
59
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
60
60
|
keywords: ["check-circle"],
|
|
61
61
|
category: "status"
|
|
62
|
-
},
|
|
62
|
+
}, Hr = {
|
|
63
63
|
name: "error",
|
|
64
64
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
|
|
65
65
|
keywords: ["error"],
|
|
66
66
|
category: "status"
|
|
67
|
-
},
|
|
67
|
+
}, Vr = {
|
|
68
68
|
name: "info",
|
|
69
69
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
70
70
|
keywords: ["info"],
|
|
71
71
|
category: "status"
|
|
72
|
-
},
|
|
72
|
+
}, Wr = {
|
|
73
73
|
name: "offering",
|
|
74
74
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
|
|
75
75
|
keywords: ["offering"],
|
|
76
76
|
category: "other"
|
|
77
|
-
},
|
|
77
|
+
}, Xr = {
|
|
78
78
|
name: "question",
|
|
79
79
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
80
80
|
keywords: ["question"],
|
|
81
81
|
category: "status"
|
|
82
|
-
},
|
|
82
|
+
}, Kr = {
|
|
83
83
|
name: "tag",
|
|
84
84
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
|
|
85
85
|
keywords: ["tag"],
|
|
86
86
|
category: "other"
|
|
87
|
-
},
|
|
87
|
+
}, Yr = Dr.bind(Pr), Y = "purpur-icon", Jr = "md", Qr = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), re = ({ content: e = "", title: i } = {}) => {
|
|
88
88
|
const a = [
|
|
89
89
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
90
90
|
{ name: "fill", value: "currentColor" },
|
|
91
91
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
92
|
-
|
|
93
|
-
], n =
|
|
94
|
-
return `<svg ${
|
|
95
|
-
},
|
|
92
|
+
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
93
|
+
], n = i ? `<title>${i}</title>` : "";
|
|
94
|
+
return `<svg ${Qr(a)}>${n}${e}</svg>`;
|
|
95
|
+
}, ee = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), te = ({
|
|
96
96
|
["data-testid"]: e,
|
|
97
|
-
svg:
|
|
97
|
+
svg: i,
|
|
98
98
|
allyTitle: a,
|
|
99
99
|
className: n,
|
|
100
|
-
size: p =
|
|
100
|
+
size: p = Jr,
|
|
101
101
|
...r
|
|
102
102
|
}) => {
|
|
103
|
-
const t =
|
|
104
|
-
content:
|
|
103
|
+
const t = re({
|
|
104
|
+
content: ee(i.svg),
|
|
105
105
|
title: a
|
|
106
|
-
}),
|
|
106
|
+
}), o = Yr(n, Y, `${Y}--${p}`);
|
|
107
107
|
return /* @__PURE__ */ l(
|
|
108
108
|
"span",
|
|
109
109
|
{
|
|
110
110
|
"aria-label": a,
|
|
111
|
-
className:
|
|
111
|
+
className: o,
|
|
112
112
|
"data-testid": e,
|
|
113
113
|
dangerouslySetInnerHTML: { __html: t },
|
|
114
114
|
...r
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
};
|
|
118
|
-
function
|
|
118
|
+
function ae(e) {
|
|
119
119
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
120
120
|
}
|
|
121
|
-
var
|
|
121
|
+
var mr = { exports: {} };
|
|
122
122
|
/*!
|
|
123
123
|
Copyright (c) 2018 Jed Watson.
|
|
124
124
|
Licensed under the MIT License (MIT), see
|
|
@@ -126,11 +126,11 @@ var nr = { exports: {} };
|
|
|
126
126
|
*/
|
|
127
127
|
(function(e) {
|
|
128
128
|
(function() {
|
|
129
|
-
var
|
|
129
|
+
var i = {}.hasOwnProperty;
|
|
130
130
|
function a() {
|
|
131
131
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
132
|
-
var
|
|
133
|
-
|
|
132
|
+
var o = arguments[t];
|
|
133
|
+
o && (r = p(r, n(o)));
|
|
134
134
|
}
|
|
135
135
|
return r;
|
|
136
136
|
}
|
|
@@ -144,8 +144,8 @@ var nr = { exports: {} };
|
|
|
144
144
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
145
145
|
return r.toString();
|
|
146
146
|
var t = "";
|
|
147
|
-
for (var
|
|
148
|
-
|
|
147
|
+
for (var o in r)
|
|
148
|
+
i.call(r, o) && r[o] && (t = p(t, o));
|
|
149
149
|
return t;
|
|
150
150
|
}
|
|
151
151
|
function p(r, t) {
|
|
@@ -153,9 +153,9 @@ var nr = { exports: {} };
|
|
|
153
153
|
}
|
|
154
154
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
155
155
|
})();
|
|
156
|
-
})(
|
|
157
|
-
var
|
|
158
|
-
const
|
|
156
|
+
})(mr);
|
|
157
|
+
var ie = mr.exports;
|
|
158
|
+
const oe = /* @__PURE__ */ ae(ie), J = {
|
|
159
159
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
160
160
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
161
161
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -165,7 +165,7 @@ const zr = /* @__PURE__ */ Tr(Pr), z = {
|
|
|
165
165
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
166
166
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
167
167
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
168
|
-
},
|
|
168
|
+
}, Q = "purpur-badge", b = {
|
|
169
169
|
ATTENTION: "attention",
|
|
170
170
|
SPECIAL: "special",
|
|
171
171
|
NEUTRAL: "neutral",
|
|
@@ -174,45 +174,133 @@ const zr = /* @__PURE__ */ Tr(Pr), z = {
|
|
|
174
174
|
WARNING: "warning",
|
|
175
175
|
ERROR: "error",
|
|
176
176
|
BLACK_FRIDAY: "black-friday"
|
|
177
|
-
},
|
|
177
|
+
}, ne = (e) => {
|
|
178
178
|
switch (e) {
|
|
179
|
-
case
|
|
180
|
-
case
|
|
181
|
-
return
|
|
182
|
-
case
|
|
183
|
-
return
|
|
184
|
-
case
|
|
185
|
-
return
|
|
186
|
-
case
|
|
187
|
-
return
|
|
188
|
-
case
|
|
189
|
-
return
|
|
190
|
-
case
|
|
191
|
-
return
|
|
192
|
-
case
|
|
193
|
-
return
|
|
179
|
+
case b.ATTENTION:
|
|
180
|
+
case b.SPECIAL:
|
|
181
|
+
return Wr;
|
|
182
|
+
case b.INFORMATION:
|
|
183
|
+
return Vr;
|
|
184
|
+
case b.SUCCESS:
|
|
185
|
+
return zr;
|
|
186
|
+
case b.WARNING:
|
|
187
|
+
return Tr;
|
|
188
|
+
case b.ERROR:
|
|
189
|
+
return Hr;
|
|
190
|
+
case b.NEUTRAL:
|
|
191
|
+
return Xr;
|
|
192
|
+
case b.BLACK_FRIDAY:
|
|
193
|
+
return Kr;
|
|
194
194
|
default:
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
|
-
},
|
|
197
|
+
}, pe = ({
|
|
198
198
|
children: e,
|
|
199
|
-
showIcon:
|
|
199
|
+
showIcon: i = !0,
|
|
200
200
|
variant: a,
|
|
201
201
|
["data-testid"]: n,
|
|
202
202
|
allyLabel: p,
|
|
203
203
|
className: r = "",
|
|
204
204
|
...t
|
|
205
205
|
}) => {
|
|
206
|
-
const
|
|
207
|
-
return /* @__PURE__ */
|
|
208
|
-
|
|
206
|
+
const o = ne(a), u = oe([r, J[Q], J[`${Q}--${a}`]]);
|
|
207
|
+
return /* @__PURE__ */ g("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
208
|
+
i && o && /* @__PURE__ */ l(te, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
209
209
|
e
|
|
210
210
|
] });
|
|
211
|
+
}, le = {
|
|
212
|
+
SM: "sm",
|
|
213
|
+
MD: "md",
|
|
214
|
+
LG: "lg"
|
|
211
215
|
};
|
|
212
|
-
function
|
|
216
|
+
function ue(e) {
|
|
217
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
218
|
+
}
|
|
219
|
+
var vr = { exports: {} };
|
|
220
|
+
/*!
|
|
221
|
+
Copyright (c) 2018 Jed Watson.
|
|
222
|
+
Licensed under the MIT License (MIT), see
|
|
223
|
+
http://jedwatson.github.io/classnames
|
|
224
|
+
*/
|
|
225
|
+
(function(e) {
|
|
226
|
+
(function() {
|
|
227
|
+
var i = {}.hasOwnProperty;
|
|
228
|
+
function a() {
|
|
229
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
230
|
+
var o = arguments[t];
|
|
231
|
+
o && (r = p(r, n(o)));
|
|
232
|
+
}
|
|
233
|
+
return r;
|
|
234
|
+
}
|
|
235
|
+
function n(r) {
|
|
236
|
+
if (typeof r == "string" || typeof r == "number")
|
|
237
|
+
return r;
|
|
238
|
+
if (typeof r != "object")
|
|
239
|
+
return "";
|
|
240
|
+
if (Array.isArray(r))
|
|
241
|
+
return a.apply(null, r);
|
|
242
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
243
|
+
return r.toString();
|
|
244
|
+
var t = "";
|
|
245
|
+
for (var o in r)
|
|
246
|
+
i.call(r, o) && r[o] && (t = p(t, o));
|
|
247
|
+
return t;
|
|
248
|
+
}
|
|
249
|
+
function p(r, t) {
|
|
250
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
251
|
+
}
|
|
252
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
253
|
+
})();
|
|
254
|
+
})(vr);
|
|
255
|
+
var se = vr.exports;
|
|
256
|
+
const rr = /* @__PURE__ */ ue(se), de = "_rotate_1xozj_1", ce = "_dash_1xozj_1", G = {
|
|
257
|
+
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
258
|
+
rotate: de,
|
|
259
|
+
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
260
|
+
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
261
|
+
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
262
|
+
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
263
|
+
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
264
|
+
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
265
|
+
dash: ce,
|
|
266
|
+
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
267
|
+
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
268
|
+
}, Z = "purpur-spinner", _e = {
|
|
269
|
+
XXS: "xxs",
|
|
270
|
+
XS: "xs",
|
|
271
|
+
SM: "sm",
|
|
272
|
+
MD: "md",
|
|
273
|
+
LG: "lg"
|
|
274
|
+
}, fe = ({
|
|
275
|
+
["data-testid"]: e,
|
|
276
|
+
disabled: i = !1,
|
|
277
|
+
negative: a = !1,
|
|
278
|
+
size: n = _e.SM,
|
|
279
|
+
...p
|
|
280
|
+
}) => /* @__PURE__ */ l(
|
|
281
|
+
"div",
|
|
282
|
+
{
|
|
283
|
+
className: rr([G[Z], G[`${Z}--${n}`]]),
|
|
284
|
+
"data-testid": e,
|
|
285
|
+
...p,
|
|
286
|
+
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
287
|
+
"circle",
|
|
288
|
+
{
|
|
289
|
+
className: rr(G[`${Z}__circle`], {
|
|
290
|
+
[G[`${Z}__circle--disabled`]]: i,
|
|
291
|
+
[G[`${Z}__circle--negative`]]: a
|
|
292
|
+
}),
|
|
293
|
+
cx: "25",
|
|
294
|
+
cy: "25",
|
|
295
|
+
r: "20"
|
|
296
|
+
}
|
|
297
|
+
) })
|
|
298
|
+
}
|
|
299
|
+
);
|
|
300
|
+
function ge(e) {
|
|
213
301
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
214
302
|
}
|
|
215
|
-
var
|
|
303
|
+
var yr = { exports: {} };
|
|
216
304
|
/*!
|
|
217
305
|
Copyright (c) 2018 Jed Watson.
|
|
218
306
|
Licensed under the MIT License (MIT), see
|
|
@@ -220,11 +308,11 @@ var pr = { exports: {} };
|
|
|
220
308
|
*/
|
|
221
309
|
(function(e) {
|
|
222
310
|
(function() {
|
|
223
|
-
var
|
|
311
|
+
var i = {}.hasOwnProperty;
|
|
224
312
|
function a() {
|
|
225
313
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
226
|
-
var
|
|
227
|
-
|
|
314
|
+
var o = arguments[t];
|
|
315
|
+
o && (r = p(r, n.call(this, o)));
|
|
228
316
|
}
|
|
229
317
|
return r;
|
|
230
318
|
}
|
|
@@ -238,8 +326,8 @@ var pr = { exports: {} };
|
|
|
238
326
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
239
327
|
return r.toString();
|
|
240
328
|
var t = "";
|
|
241
|
-
for (var
|
|
242
|
-
|
|
329
|
+
for (var o in r)
|
|
330
|
+
i.call(r, o) && r[o] && (t = p(t, this && this[o] || o));
|
|
243
331
|
return t;
|
|
244
332
|
}
|
|
245
333
|
function p(r, t) {
|
|
@@ -247,15 +335,128 @@ var pr = { exports: {} };
|
|
|
247
335
|
}
|
|
248
336
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
249
337
|
})();
|
|
250
|
-
})(
|
|
251
|
-
var
|
|
252
|
-
const
|
|
338
|
+
})(yr);
|
|
339
|
+
var he = yr.exports;
|
|
340
|
+
const me = /* @__PURE__ */ ge(he), ve = {
|
|
341
|
+
"purpur-button": "_purpur-button_1acxn_1",
|
|
342
|
+
"purpur-button--sm": "_purpur-button--sm_1acxn_33",
|
|
343
|
+
"purpur-button--icon-only": "_purpur-button--icon-only_1acxn_36",
|
|
344
|
+
"purpur-button--md": "_purpur-button--md_1acxn_39",
|
|
345
|
+
"purpur-button--lg": "_purpur-button--lg_1acxn_45",
|
|
346
|
+
"purpur-button--full-width": "_purpur-button--full-width_1acxn_51",
|
|
347
|
+
"purpur-button--primary": "_purpur-button--primary_1acxn_54",
|
|
348
|
+
"purpur-button--disabled": "_purpur-button--disabled_1acxn_58",
|
|
349
|
+
"purpur-button--primary-negative": "_purpur-button--primary-negative_1acxn_64",
|
|
350
|
+
"purpur-button--secondary": "_purpur-button--secondary_1acxn_76",
|
|
351
|
+
"purpur-button--secondary-negative": "_purpur-button--secondary-negative_1acxn_87",
|
|
352
|
+
"purpur-button--expressive": "_purpur-button--expressive_1acxn_98",
|
|
353
|
+
"purpur-button--expressive-negative": "_purpur-button--expressive-negative_1acxn_108",
|
|
354
|
+
"purpur-button--negative": "_purpur-button--negative_1acxn_120",
|
|
355
|
+
"purpur-button--destructive": "_purpur-button--destructive_1acxn_127",
|
|
356
|
+
"purpur-button--destructive-negative": "_purpur-button--destructive-negative_1acxn_137",
|
|
357
|
+
"purpur-button--tertiary-purple": "_purpur-button--tertiary-purple_1acxn_147",
|
|
358
|
+
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_1acxn_160",
|
|
359
|
+
"purpur-button--text-negative": "_purpur-button--text-negative_1acxn_175",
|
|
360
|
+
"purpur-button--text": "_purpur-button--text_1acxn_175"
|
|
361
|
+
}, ye = me.bind(ve), C = "purpur-button", xe = ({
|
|
362
|
+
children: e,
|
|
363
|
+
className: i,
|
|
364
|
+
["data-testid"]: a,
|
|
365
|
+
disabled: n = !1,
|
|
366
|
+
fullWidth: p = !1,
|
|
367
|
+
iconOnly: r,
|
|
368
|
+
loading: t = !1,
|
|
369
|
+
negative: o = !1,
|
|
370
|
+
onClick: u,
|
|
371
|
+
size: c = "md",
|
|
372
|
+
variant: m,
|
|
373
|
+
type: S = "button",
|
|
374
|
+
...d
|
|
375
|
+
}, y) => {
|
|
376
|
+
if (r && m === "destructive")
|
|
377
|
+
return null;
|
|
378
|
+
const _ = ye(
|
|
379
|
+
[
|
|
380
|
+
C,
|
|
381
|
+
`${C}--${o ? `${m}-negative` : m}`,
|
|
382
|
+
`${C}--${c}`
|
|
383
|
+
],
|
|
384
|
+
{
|
|
385
|
+
[`${C}--icon-only`]: r,
|
|
386
|
+
[`${C}--negative`]: o,
|
|
387
|
+
[`${C}--full-width`]: p,
|
|
388
|
+
[`${C}--disabled`]: n || t
|
|
389
|
+
},
|
|
390
|
+
i
|
|
391
|
+
), B = (f) => {
|
|
392
|
+
n || t ? f.preventDefault() : u && u(f);
|
|
393
|
+
}, D = !!d["aria-disabled"] || n || t;
|
|
394
|
+
return /* @__PURE__ */ g(
|
|
395
|
+
"button",
|
|
396
|
+
{
|
|
397
|
+
className: _,
|
|
398
|
+
"data-testid": a,
|
|
399
|
+
type: S,
|
|
400
|
+
ref: y,
|
|
401
|
+
"aria-disabled": D,
|
|
402
|
+
onClick: B,
|
|
403
|
+
...d,
|
|
404
|
+
children: [
|
|
405
|
+
t && /* @__PURE__ */ l(fe, { size: c === le.LG ? "xs" : "xxs", negative: o, disabled: D }),
|
|
406
|
+
" ",
|
|
407
|
+
e
|
|
408
|
+
]
|
|
409
|
+
}
|
|
410
|
+
);
|
|
411
|
+
}, xr = O(xe);
|
|
412
|
+
xr.displayName = "Button";
|
|
413
|
+
function we(e) {
|
|
414
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
415
|
+
}
|
|
416
|
+
var wr = { exports: {} };
|
|
417
|
+
/*!
|
|
418
|
+
Copyright (c) 2018 Jed Watson.
|
|
419
|
+
Licensed under the MIT License (MIT), see
|
|
420
|
+
http://jedwatson.github.io/classnames
|
|
421
|
+
*/
|
|
422
|
+
(function(e) {
|
|
423
|
+
(function() {
|
|
424
|
+
var i = {}.hasOwnProperty;
|
|
425
|
+
function a() {
|
|
426
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
427
|
+
var o = arguments[t];
|
|
428
|
+
o && (r = p(r, n.call(this, o)));
|
|
429
|
+
}
|
|
430
|
+
return r;
|
|
431
|
+
}
|
|
432
|
+
function n(r) {
|
|
433
|
+
if (typeof r == "string" || typeof r == "number")
|
|
434
|
+
return this && this[r] || r;
|
|
435
|
+
if (typeof r != "object")
|
|
436
|
+
return "";
|
|
437
|
+
if (Array.isArray(r))
|
|
438
|
+
return a.apply(this, r);
|
|
439
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
440
|
+
return r.toString();
|
|
441
|
+
var t = "";
|
|
442
|
+
for (var o in r)
|
|
443
|
+
i.call(r, o) && r[o] && (t = p(t, this && this[o] || o));
|
|
444
|
+
return t;
|
|
445
|
+
}
|
|
446
|
+
function p(r, t) {
|
|
447
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
448
|
+
}
|
|
449
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
450
|
+
})();
|
|
451
|
+
})(wr);
|
|
452
|
+
var be = wr.exports;
|
|
453
|
+
const v = /* @__PURE__ */ we(be), $e = {
|
|
253
454
|
"purpur-card": "_purpur-card_1owb4_1"
|
|
254
455
|
};
|
|
255
|
-
function
|
|
456
|
+
function Se(e) {
|
|
256
457
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
257
458
|
}
|
|
258
|
-
var
|
|
459
|
+
var br = { exports: {} };
|
|
259
460
|
/*!
|
|
260
461
|
Copyright (c) 2018 Jed Watson.
|
|
261
462
|
Licensed under the MIT License (MIT), see
|
|
@@ -263,11 +464,11 @@ var lr = { exports: {} };
|
|
|
263
464
|
*/
|
|
264
465
|
(function(e) {
|
|
265
466
|
(function() {
|
|
266
|
-
var
|
|
467
|
+
var i = {}.hasOwnProperty;
|
|
267
468
|
function a() {
|
|
268
469
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
269
|
-
var
|
|
270
|
-
|
|
470
|
+
var o = arguments[t];
|
|
471
|
+
o && (r = p(r, n.call(this, o)));
|
|
271
472
|
}
|
|
272
473
|
return r;
|
|
273
474
|
}
|
|
@@ -281,8 +482,8 @@ var lr = { exports: {} };
|
|
|
281
482
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
282
483
|
return r.toString();
|
|
283
484
|
var t = "";
|
|
284
|
-
for (var
|
|
285
|
-
|
|
485
|
+
for (var o in r)
|
|
486
|
+
i.call(r, o) && r[o] && (t = p(t, this && this[o] || o));
|
|
286
487
|
return t;
|
|
287
488
|
}
|
|
288
489
|
function p(r, t) {
|
|
@@ -290,9 +491,9 @@ var lr = { exports: {} };
|
|
|
290
491
|
}
|
|
291
492
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
292
493
|
})();
|
|
293
|
-
})(
|
|
294
|
-
var
|
|
295
|
-
const
|
|
494
|
+
})(br);
|
|
495
|
+
var Ce = br.exports;
|
|
496
|
+
const ke = /* @__PURE__ */ Se(Ce), Ae = {
|
|
296
497
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
297
498
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
298
499
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -300,76 +501,76 @@ const Qr = /* @__PURE__ */ Xr(Jr), re = {
|
|
|
300
501
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
301
502
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
302
503
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
303
|
-
},
|
|
504
|
+
}, Oe = {
|
|
304
505
|
name: "alert",
|
|
305
506
|
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>',
|
|
306
507
|
keywords: ["alert"],
|
|
307
508
|
category: "status"
|
|
308
|
-
},
|
|
509
|
+
}, Be = {
|
|
309
510
|
name: "check-circle",
|
|
310
511
|
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>',
|
|
311
512
|
keywords: ["check-circle"],
|
|
312
513
|
category: "status"
|
|
313
|
-
},
|
|
514
|
+
}, Fe = {
|
|
314
515
|
name: "error",
|
|
315
516
|
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>',
|
|
316
517
|
keywords: ["error"],
|
|
317
518
|
category: "status"
|
|
318
|
-
},
|
|
519
|
+
}, Me = {
|
|
319
520
|
name: "info",
|
|
320
521
|
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>',
|
|
321
522
|
keywords: ["info"],
|
|
322
523
|
category: "status"
|
|
323
|
-
},
|
|
524
|
+
}, Ne = {
|
|
324
525
|
name: "offering",
|
|
325
526
|
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>',
|
|
326
527
|
keywords: ["offering"],
|
|
327
528
|
category: "other"
|
|
328
|
-
},
|
|
529
|
+
}, Ee = {
|
|
329
530
|
name: "question",
|
|
330
531
|
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>',
|
|
331
532
|
keywords: ["question"],
|
|
332
533
|
category: "status"
|
|
333
|
-
},
|
|
534
|
+
}, Ge = {
|
|
334
535
|
name: "tag",
|
|
335
536
|
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>',
|
|
336
537
|
keywords: ["tag"],
|
|
337
538
|
category: "other"
|
|
338
|
-
},
|
|
539
|
+
}, Ze = ke.bind(Ae), er = "purpur-icon", Ie = "md", je = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Ue = ({ content: e = "", title: i } = {}) => {
|
|
339
540
|
const a = [
|
|
340
541
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
341
542
|
{ name: "fill", value: "currentColor" },
|
|
342
543
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
343
|
-
|
|
344
|
-
], n =
|
|
345
|
-
return `<svg ${
|
|
346
|
-
},
|
|
544
|
+
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
545
|
+
], n = i ? `<title>${i}</title>` : "";
|
|
546
|
+
return `<svg ${je(a)}>${n}${e}</svg>`;
|
|
547
|
+
}, qe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Le = ({
|
|
347
548
|
["data-testid"]: e,
|
|
348
|
-
svg:
|
|
549
|
+
svg: i,
|
|
349
550
|
allyTitle: a,
|
|
350
551
|
className: n,
|
|
351
|
-
size: p =
|
|
552
|
+
size: p = Ie,
|
|
352
553
|
...r
|
|
353
554
|
}) => {
|
|
354
|
-
const t =
|
|
355
|
-
content:
|
|
555
|
+
const t = Ue({
|
|
556
|
+
content: qe(i.svg),
|
|
356
557
|
title: a
|
|
357
|
-
}),
|
|
558
|
+
}), o = Ze(n, er, `${er}--${p}`);
|
|
358
559
|
return /* @__PURE__ */ l(
|
|
359
560
|
"span",
|
|
360
561
|
{
|
|
361
562
|
"aria-label": a,
|
|
362
|
-
className:
|
|
563
|
+
className: o,
|
|
363
564
|
"data-testid": e,
|
|
364
565
|
dangerouslySetInnerHTML: { __html: t },
|
|
365
566
|
...r
|
|
366
567
|
}
|
|
367
568
|
);
|
|
368
569
|
};
|
|
369
|
-
function
|
|
570
|
+
function Re(e) {
|
|
370
571
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
371
572
|
}
|
|
372
|
-
var
|
|
573
|
+
var $r = { exports: {} };
|
|
373
574
|
/*!
|
|
374
575
|
Copyright (c) 2018 Jed Watson.
|
|
375
576
|
Licensed under the MIT License (MIT), see
|
|
@@ -377,11 +578,11 @@ var sr = { exports: {} };
|
|
|
377
578
|
*/
|
|
378
579
|
(function(e) {
|
|
379
580
|
(function() {
|
|
380
|
-
var
|
|
581
|
+
var i = {}.hasOwnProperty;
|
|
381
582
|
function a() {
|
|
382
583
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
383
|
-
var
|
|
384
|
-
|
|
584
|
+
var o = arguments[t];
|
|
585
|
+
o && (r = p(r, n(o)));
|
|
385
586
|
}
|
|
386
587
|
return r;
|
|
387
588
|
}
|
|
@@ -395,8 +596,8 @@ var sr = { exports: {} };
|
|
|
395
596
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
396
597
|
return r.toString();
|
|
397
598
|
var t = "";
|
|
398
|
-
for (var
|
|
399
|
-
|
|
599
|
+
for (var o in r)
|
|
600
|
+
i.call(r, o) && r[o] && (t = p(t, o));
|
|
400
601
|
return t;
|
|
401
602
|
}
|
|
402
603
|
function p(r, t) {
|
|
@@ -404,9 +605,9 @@ var sr = { exports: {} };
|
|
|
404
605
|
}
|
|
405
606
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
406
607
|
})();
|
|
407
|
-
})(
|
|
408
|
-
var
|
|
409
|
-
const
|
|
608
|
+
})($r);
|
|
609
|
+
var De = $r.exports;
|
|
610
|
+
const Pe = /* @__PURE__ */ Re(De), tr = {
|
|
410
611
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
411
612
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
412
613
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -416,7 +617,7 @@ const ge = /* @__PURE__ */ fe(he), W = {
|
|
|
416
617
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
417
618
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
418
619
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
419
|
-
},
|
|
620
|
+
}, ar = "purpur-badge", $ = {
|
|
420
621
|
ATTENTION: "attention",
|
|
421
622
|
SPECIAL: "special",
|
|
422
623
|
NEUTRAL: "neutral",
|
|
@@ -425,84 +626,84 @@ const ge = /* @__PURE__ */ fe(he), W = {
|
|
|
425
626
|
WARNING: "warning",
|
|
426
627
|
ERROR: "error",
|
|
427
628
|
BLACK_FRIDAY: "black-friday"
|
|
428
|
-
},
|
|
629
|
+
}, Te = (e) => {
|
|
429
630
|
switch (e) {
|
|
430
|
-
case
|
|
431
|
-
case
|
|
432
|
-
return
|
|
433
|
-
case
|
|
434
|
-
return
|
|
435
|
-
case
|
|
436
|
-
return
|
|
437
|
-
case
|
|
438
|
-
return
|
|
439
|
-
case
|
|
440
|
-
return
|
|
441
|
-
case
|
|
442
|
-
return
|
|
443
|
-
case
|
|
444
|
-
return
|
|
631
|
+
case $.ATTENTION:
|
|
632
|
+
case $.SPECIAL:
|
|
633
|
+
return Ne;
|
|
634
|
+
case $.INFORMATION:
|
|
635
|
+
return Me;
|
|
636
|
+
case $.SUCCESS:
|
|
637
|
+
return Be;
|
|
638
|
+
case $.WARNING:
|
|
639
|
+
return Oe;
|
|
640
|
+
case $.ERROR:
|
|
641
|
+
return Fe;
|
|
642
|
+
case $.NEUTRAL:
|
|
643
|
+
return Ee;
|
|
644
|
+
case $.BLACK_FRIDAY:
|
|
645
|
+
return Ge;
|
|
445
646
|
default:
|
|
446
647
|
return;
|
|
447
648
|
}
|
|
448
|
-
},
|
|
649
|
+
}, ze = ({
|
|
449
650
|
children: e,
|
|
450
|
-
showIcon:
|
|
651
|
+
showIcon: i = !0,
|
|
451
652
|
variant: a,
|
|
452
653
|
["data-testid"]: n,
|
|
453
654
|
allyLabel: p,
|
|
454
655
|
className: r = "",
|
|
455
656
|
...t
|
|
456
657
|
}) => {
|
|
457
|
-
const
|
|
458
|
-
return /* @__PURE__ */
|
|
459
|
-
|
|
658
|
+
const o = Te(a), u = Pe([r, tr[ar], tr[`${ar}--${a}`]]);
|
|
659
|
+
return /* @__PURE__ */ g("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
660
|
+
i && o && /* @__PURE__ */ l(Le, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
460
661
|
e
|
|
461
662
|
] });
|
|
462
|
-
},
|
|
663
|
+
}, He = {
|
|
463
664
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
464
|
-
},
|
|
665
|
+
}, Ve = v.bind(He), We = "purpur-card-badge", Xe = ({
|
|
465
666
|
["data-testid"]: e = "purpur-card-badge",
|
|
466
|
-
variant:
|
|
667
|
+
variant: i,
|
|
467
668
|
text: a
|
|
468
|
-
}) =>
|
|
469
|
-
|
|
669
|
+
}) => i && a ? /* @__PURE__ */ l(
|
|
670
|
+
ze,
|
|
470
671
|
{
|
|
471
|
-
className:
|
|
472
|
-
variant:
|
|
672
|
+
className: Ve(We),
|
|
673
|
+
variant: i,
|
|
473
674
|
showIcon: !1,
|
|
474
675
|
"data-testid": e,
|
|
475
676
|
children: a
|
|
476
677
|
}
|
|
477
|
-
) : null,
|
|
678
|
+
) : null, Ke = {
|
|
478
679
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
479
|
-
},
|
|
680
|
+
}, Ye = v.bind(Ke), Je = "purpur-card-content", Qe = ({
|
|
480
681
|
["data-testid"]: e = "purpur-card-content",
|
|
481
|
-
children:
|
|
482
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
682
|
+
children: i
|
|
683
|
+
}) => /* @__PURE__ */ l("div", { className: Ye(Je), "data-testid": e, children: i }), rt = {
|
|
483
684
|
"purpur-card-content-container": "_purpur-card-content-container_1oawn_1",
|
|
484
685
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_1oawn_12"
|
|
485
|
-
},
|
|
686
|
+
}, et = v.bind(rt), ir = "purpur-card-content-container", tt = ({
|
|
486
687
|
["data-testid"]: e = "purpur-card-content-container",
|
|
487
|
-
children:
|
|
688
|
+
children: i,
|
|
488
689
|
isFooter: a = !1
|
|
489
690
|
}) => /* @__PURE__ */ l(
|
|
490
691
|
"div",
|
|
491
692
|
{
|
|
492
|
-
className:
|
|
493
|
-
|
|
693
|
+
className: et([
|
|
694
|
+
ir,
|
|
494
695
|
{
|
|
495
|
-
[`${
|
|
696
|
+
[`${ir}--footer`]: a
|
|
496
697
|
}
|
|
497
698
|
]),
|
|
498
699
|
"data-testid": e,
|
|
499
|
-
children:
|
|
700
|
+
children: i
|
|
500
701
|
}
|
|
501
702
|
);
|
|
502
|
-
function
|
|
703
|
+
function at(e) {
|
|
503
704
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
705
|
}
|
|
505
|
-
var
|
|
706
|
+
var Sr = { exports: {} };
|
|
506
707
|
/*!
|
|
507
708
|
Copyright (c) 2018 Jed Watson.
|
|
508
709
|
Licensed under the MIT License (MIT), see
|
|
@@ -510,11 +711,11 @@ var ur = { exports: {} };
|
|
|
510
711
|
*/
|
|
511
712
|
(function(e) {
|
|
512
713
|
(function() {
|
|
513
|
-
var
|
|
714
|
+
var i = {}.hasOwnProperty;
|
|
514
715
|
function a() {
|
|
515
716
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
516
|
-
var
|
|
517
|
-
|
|
717
|
+
var o = arguments[t];
|
|
718
|
+
o && (r = p(r, n(o)));
|
|
518
719
|
}
|
|
519
720
|
return r;
|
|
520
721
|
}
|
|
@@ -528,8 +729,8 @@ var ur = { exports: {} };
|
|
|
528
729
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
529
730
|
return r.toString();
|
|
530
731
|
var t = "";
|
|
531
|
-
for (var
|
|
532
|
-
|
|
732
|
+
for (var o in r)
|
|
733
|
+
i.call(r, o) && r[o] && (t = p(t, o));
|
|
533
734
|
return t;
|
|
534
735
|
}
|
|
535
736
|
function p(r, t) {
|
|
@@ -537,44 +738,44 @@ var ur = { exports: {} };
|
|
|
537
738
|
}
|
|
538
739
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
539
740
|
})();
|
|
540
|
-
})(
|
|
541
|
-
var
|
|
542
|
-
const
|
|
741
|
+
})(Sr);
|
|
742
|
+
var it = Sr.exports;
|
|
743
|
+
const or = /* @__PURE__ */ at(it), ot = "_rotate_1xozj_1", nt = "_dash_1xozj_1", I = {
|
|
543
744
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
544
|
-
rotate:
|
|
745
|
+
rotate: ot,
|
|
545
746
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
546
747
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
547
748
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
548
749
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
549
750
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
550
751
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
551
|
-
dash:
|
|
752
|
+
dash: nt,
|
|
552
753
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
553
754
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
554
|
-
},
|
|
755
|
+
}, j = "purpur-spinner", pt = {
|
|
555
756
|
XXS: "xxs",
|
|
556
757
|
XS: "xs",
|
|
557
758
|
SM: "sm",
|
|
558
759
|
MD: "md",
|
|
559
760
|
LG: "lg"
|
|
560
|
-
},
|
|
761
|
+
}, Cr = ({
|
|
561
762
|
["data-testid"]: e,
|
|
562
|
-
disabled:
|
|
763
|
+
disabled: i = !1,
|
|
563
764
|
negative: a = !1,
|
|
564
|
-
size: n =
|
|
765
|
+
size: n = pt.SM,
|
|
565
766
|
...p
|
|
566
767
|
}) => /* @__PURE__ */ l(
|
|
567
768
|
"div",
|
|
568
769
|
{
|
|
569
|
-
className:
|
|
770
|
+
className: or([I[j], I[`${j}--${n}`]]),
|
|
570
771
|
"data-testid": e,
|
|
571
772
|
...p,
|
|
572
773
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
573
774
|
"circle",
|
|
574
775
|
{
|
|
575
|
-
className:
|
|
576
|
-
[
|
|
577
|
-
[
|
|
776
|
+
className: or(I[`${j}__circle`], {
|
|
777
|
+
[I[`${j}__circle--disabled`]]: i,
|
|
778
|
+
[I[`${j}__circle--negative`]]: a
|
|
578
779
|
}),
|
|
579
780
|
cx: "25",
|
|
580
781
|
cy: "25",
|
|
@@ -582,7 +783,7 @@ const X = /* @__PURE__ */ Oe(Me), Ee = "_rotate_1xozj_1", Ne = "_dash_1xozj_1",
|
|
|
582
783
|
}
|
|
583
784
|
) })
|
|
584
785
|
}
|
|
585
|
-
),
|
|
786
|
+
), lt = {
|
|
586
787
|
"purpur-card-cta": "_purpur-card-cta_1fd16_1",
|
|
587
788
|
"purpur-card-cta--sm": "_purpur-card-cta--sm_1fd16_33",
|
|
588
789
|
"purpur-card-cta--icon-only": "_purpur-card-cta--icon-only_1fd16_36",
|
|
@@ -597,42 +798,42 @@ const X = /* @__PURE__ */ Oe(Me), Ee = "_rotate_1xozj_1", Ne = "_dash_1xozj_1",
|
|
|
597
798
|
"purpur-card-cta--expressive": "_purpur-card-cta--expressive_1fd16_98",
|
|
598
799
|
"purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-negative_1fd16_108",
|
|
599
800
|
"purpur-card-cta--text": "_purpur-card-cta--text_1fd16_128"
|
|
600
|
-
},
|
|
801
|
+
}, ut = v.bind(lt), k = "purpur-card-cta", st = ({
|
|
601
802
|
["data-testid"]: e = "purpur-card-cta",
|
|
602
|
-
className:
|
|
803
|
+
className: i,
|
|
603
804
|
children: a,
|
|
604
805
|
disabled: n = !1,
|
|
605
806
|
iconPosition: p = "right",
|
|
606
807
|
loading: r = !1,
|
|
607
808
|
text: t,
|
|
608
|
-
...
|
|
809
|
+
...o
|
|
609
810
|
}) => /* @__PURE__ */ l(
|
|
610
811
|
"div",
|
|
611
812
|
{
|
|
612
|
-
className: `${
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
`${
|
|
616
|
-
`${
|
|
813
|
+
className: `${ut([
|
|
814
|
+
k,
|
|
815
|
+
i,
|
|
816
|
+
`${k}--md`,
|
|
817
|
+
`${k}--secondary`,
|
|
617
818
|
{
|
|
618
|
-
[`${
|
|
619
|
-
[`${
|
|
620
|
-
[`${
|
|
819
|
+
[`${k}--disabled`]: n,
|
|
820
|
+
[`${k}--icon-only`]: !t,
|
|
821
|
+
[`${k}--text`]: !!t
|
|
621
822
|
}
|
|
622
|
-
])} ${
|
|
823
|
+
])} ${k}`,
|
|
623
824
|
"data-testid": e,
|
|
624
|
-
...
|
|
625
|
-
children: r ? /* @__PURE__ */ l(
|
|
825
|
+
...o,
|
|
826
|
+
children: r ? /* @__PURE__ */ l(Cr, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ g(fr, { children: [
|
|
626
827
|
p === "left" && a,
|
|
627
828
|
t,
|
|
628
829
|
p === "right" && a
|
|
629
830
|
] })
|
|
630
831
|
}
|
|
631
832
|
);
|
|
632
|
-
function
|
|
833
|
+
function dt(e) {
|
|
633
834
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
634
835
|
}
|
|
635
|
-
var
|
|
836
|
+
var kr = { exports: {} };
|
|
636
837
|
/*!
|
|
637
838
|
Copyright (c) 2018 Jed Watson.
|
|
638
839
|
Licensed under the MIT License (MIT), see
|
|
@@ -640,11 +841,11 @@ var cr = { exports: {} };
|
|
|
640
841
|
*/
|
|
641
842
|
(function(e) {
|
|
642
843
|
(function() {
|
|
643
|
-
var
|
|
844
|
+
var i = {}.hasOwnProperty;
|
|
644
845
|
function a() {
|
|
645
846
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
646
|
-
var
|
|
647
|
-
|
|
847
|
+
var o = arguments[t];
|
|
848
|
+
o && (r = p(r, n.call(this, o)));
|
|
648
849
|
}
|
|
649
850
|
return r;
|
|
650
851
|
}
|
|
@@ -658,8 +859,8 @@ var cr = { exports: {} };
|
|
|
658
859
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
659
860
|
return r.toString();
|
|
660
861
|
var t = "";
|
|
661
|
-
for (var
|
|
662
|
-
|
|
862
|
+
for (var o in r)
|
|
863
|
+
i.call(r, o) && r[o] && (t = p(t, this && this[o] || o));
|
|
663
864
|
return t;
|
|
664
865
|
}
|
|
665
866
|
function p(r, t) {
|
|
@@ -667,9 +868,9 @@ var cr = { exports: {} };
|
|
|
667
868
|
}
|
|
668
869
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
669
870
|
})();
|
|
670
|
-
})(
|
|
671
|
-
var
|
|
672
|
-
const
|
|
871
|
+
})(kr);
|
|
872
|
+
var ct = kr.exports;
|
|
873
|
+
const _t = /* @__PURE__ */ dt(ct), ft = {
|
|
673
874
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
674
875
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
675
876
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -677,67 +878,67 @@ const De = /* @__PURE__ */ Re(Le), je = {
|
|
|
677
878
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
678
879
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
679
880
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
680
|
-
},
|
|
881
|
+
}, gt = {
|
|
681
882
|
name: "arrow-right",
|
|
682
883
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
|
|
683
884
|
keywords: ["arrow-right"],
|
|
684
885
|
category: "utility"
|
|
685
|
-
},
|
|
886
|
+
}, ht = {
|
|
686
887
|
name: "checkmark",
|
|
687
888
|
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>',
|
|
688
889
|
keywords: ["checkmark"],
|
|
689
890
|
category: "utility"
|
|
690
|
-
},
|
|
691
|
-
|
|
891
|
+
}, Ar = (e) => /* @__PURE__ */ l(
|
|
892
|
+
Br,
|
|
692
893
|
{
|
|
693
894
|
...e,
|
|
694
|
-
svg:
|
|
895
|
+
svg: gt
|
|
695
896
|
}
|
|
696
897
|
);
|
|
697
|
-
|
|
698
|
-
const
|
|
699
|
-
|
|
898
|
+
Ar.displayName = "IconArrowRight";
|
|
899
|
+
const Or = (e) => /* @__PURE__ */ l(
|
|
900
|
+
Br,
|
|
700
901
|
{
|
|
701
902
|
...e,
|
|
702
|
-
svg:
|
|
903
|
+
svg: ht
|
|
703
904
|
}
|
|
704
905
|
);
|
|
705
|
-
|
|
706
|
-
const
|
|
906
|
+
Or.displayName = "IconCheckmark";
|
|
907
|
+
const mt = _t.bind(ft), nr = "purpur-icon", vt = "md", yt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), xt = ({ content: e = "", title: i } = {}) => {
|
|
707
908
|
const a = [
|
|
708
909
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
709
910
|
{ name: "fill", value: "currentColor" },
|
|
710
911
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
711
|
-
|
|
712
|
-
], n =
|
|
713
|
-
return `<svg ${
|
|
714
|
-
},
|
|
912
|
+
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
913
|
+
], n = i ? `<title>${i}</title>` : "";
|
|
914
|
+
return `<svg ${yt(a)}>${n}${e}</svg>`;
|
|
915
|
+
}, wt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Br = ({
|
|
715
916
|
["data-testid"]: e,
|
|
716
|
-
svg:
|
|
917
|
+
svg: i,
|
|
717
918
|
allyTitle: a,
|
|
718
919
|
className: n,
|
|
719
|
-
size: p =
|
|
920
|
+
size: p = vt,
|
|
720
921
|
...r
|
|
721
922
|
}) => {
|
|
722
|
-
const t =
|
|
723
|
-
content:
|
|
923
|
+
const t = xt({
|
|
924
|
+
content: wt(i.svg),
|
|
724
925
|
title: a
|
|
725
|
-
}),
|
|
926
|
+
}), o = mt(n, nr, `${nr}--${p}`);
|
|
726
927
|
return /* @__PURE__ */ l(
|
|
727
928
|
"span",
|
|
728
929
|
{
|
|
729
930
|
"aria-label": a,
|
|
730
|
-
className:
|
|
931
|
+
className: o,
|
|
731
932
|
"data-testid": e,
|
|
732
933
|
dangerouslySetInnerHTML: { __html: t },
|
|
733
934
|
...r
|
|
734
935
|
}
|
|
735
936
|
);
|
|
736
937
|
};
|
|
737
|
-
function
|
|
938
|
+
function bt(e) {
|
|
738
939
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
739
940
|
}
|
|
740
|
-
var
|
|
941
|
+
var Fr = { exports: {} };
|
|
741
942
|
/*!
|
|
742
943
|
Copyright (c) 2018 Jed Watson.
|
|
743
944
|
Licensed under the MIT License (MIT), see
|
|
@@ -745,11 +946,11 @@ var gr = { exports: {} };
|
|
|
745
946
|
*/
|
|
746
947
|
(function(e) {
|
|
747
948
|
(function() {
|
|
748
|
-
var
|
|
949
|
+
var i = {}.hasOwnProperty;
|
|
749
950
|
function a() {
|
|
750
951
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
751
|
-
var
|
|
752
|
-
|
|
952
|
+
var o = arguments[t];
|
|
953
|
+
o && (r = p(r, n(o)));
|
|
753
954
|
}
|
|
754
955
|
return r;
|
|
755
956
|
}
|
|
@@ -763,8 +964,8 @@ var gr = { exports: {} };
|
|
|
763
964
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
764
965
|
return r.toString();
|
|
765
966
|
var t = "";
|
|
766
|
-
for (var
|
|
767
|
-
|
|
967
|
+
for (var o in r)
|
|
968
|
+
i.call(r, o) && r[o] && (t = p(t, o));
|
|
768
969
|
return t;
|
|
769
970
|
}
|
|
770
971
|
function p(r, t) {
|
|
@@ -772,9 +973,9 @@ var gr = { exports: {} };
|
|
|
772
973
|
}
|
|
773
974
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
774
975
|
})();
|
|
775
|
-
})(
|
|
776
|
-
var
|
|
777
|
-
const
|
|
976
|
+
})(Fr);
|
|
977
|
+
var $t = Fr.exports;
|
|
978
|
+
const St = /* @__PURE__ */ bt($t), U = {
|
|
778
979
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
779
980
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
780
981
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -789,7 +990,7 @@ const Xe = /* @__PURE__ */ Ke(Ye), B = {
|
|
|
789
990
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
790
991
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
791
992
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
792
|
-
},
|
|
993
|
+
}, Ct = {
|
|
793
994
|
PARAGRAPH100: "paragraph-100",
|
|
794
995
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
795
996
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -800,47 +1001,47 @@ const Xe = /* @__PURE__ */ Ke(Ye), B = {
|
|
|
800
1001
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
801
1002
|
OVERLINE100: "overline-100",
|
|
802
1003
|
OVERLINE200: "overline-200"
|
|
803
|
-
},
|
|
1004
|
+
}, q = "purpur-paragraph", X = ({
|
|
804
1005
|
["data-testid"]: e,
|
|
805
|
-
children:
|
|
1006
|
+
children: i,
|
|
806
1007
|
className: a,
|
|
807
1008
|
disabled: n,
|
|
808
1009
|
enableHyphenation: p = !1,
|
|
809
1010
|
negative: r = !1,
|
|
810
|
-
variant: t =
|
|
811
|
-
...
|
|
1011
|
+
variant: t = Ct.PARAGRAPH100,
|
|
1012
|
+
...o
|
|
812
1013
|
}) => {
|
|
813
|
-
const u =
|
|
1014
|
+
const u = St([
|
|
814
1015
|
a,
|
|
815
|
-
|
|
816
|
-
|
|
1016
|
+
U[q],
|
|
1017
|
+
U[`${q}--${t}`],
|
|
817
1018
|
{
|
|
818
|
-
[
|
|
819
|
-
[
|
|
820
|
-
[
|
|
1019
|
+
[U[`${q}--hyphens`]]: p,
|
|
1020
|
+
[U[`${q}--disabled`]]: n,
|
|
1021
|
+
[U[`${q}--negative`]]: r
|
|
821
1022
|
}
|
|
822
1023
|
]);
|
|
823
|
-
return /* @__PURE__ */ l("p", { ...
|
|
1024
|
+
return /* @__PURE__ */ l("p", { ...o, className: u, "data-testid": e, children: i });
|
|
824
1025
|
};
|
|
825
|
-
|
|
826
|
-
const
|
|
1026
|
+
X.displayName = "Paragraph";
|
|
1027
|
+
const kt = {
|
|
827
1028
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
828
1029
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
829
|
-
},
|
|
1030
|
+
}, pr = v.bind(kt), lr = "purpur-card-feature-list", At = ({
|
|
830
1031
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
831
|
-
listItems:
|
|
832
|
-
}) =>
|
|
1032
|
+
listItems: i
|
|
1033
|
+
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: pr(lr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ g(
|
|
833
1034
|
"li",
|
|
834
1035
|
{
|
|
835
|
-
className:
|
|
1036
|
+
className: pr(`${lr}__list-item`),
|
|
836
1037
|
"data-testid": `${e}-item`,
|
|
837
1038
|
children: [
|
|
838
|
-
/* @__PURE__ */ l(
|
|
839
|
-
/* @__PURE__ */ l(
|
|
1039
|
+
/* @__PURE__ */ l(Or, { size: "xs" }),
|
|
1040
|
+
/* @__PURE__ */ l(X, { children: a })
|
|
840
1041
|
]
|
|
841
1042
|
},
|
|
842
1043
|
a
|
|
843
|
-
)) }) : null,
|
|
1044
|
+
)) }) : null, Ot = {
|
|
844
1045
|
"purpur-card-link-arrow": "_purpur-card-link-arrow_1r4zu_1",
|
|
845
1046
|
"purpur-card-link-arrow--sm": "_purpur-card-link-arrow--sm_1r4zu_33",
|
|
846
1047
|
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_1r4zu_36",
|
|
@@ -854,92 +1055,92 @@ const Qe = {
|
|
|
854
1055
|
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_1r4zu_87",
|
|
855
1056
|
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_1r4zu_98",
|
|
856
1057
|
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_1r4zu_108"
|
|
857
|
-
},
|
|
1058
|
+
}, Bt = v.bind(Ot), F = "purpur-card-link-arrow", Ft = ({
|
|
858
1059
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
859
|
-
className:
|
|
1060
|
+
className: i,
|
|
860
1061
|
disabled: a = !1,
|
|
861
1062
|
loading: n = !1,
|
|
862
1063
|
...p
|
|
863
1064
|
}) => /* @__PURE__ */ l(
|
|
864
1065
|
"div",
|
|
865
1066
|
{
|
|
866
|
-
className: `${
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
`${
|
|
870
|
-
`${
|
|
871
|
-
`${
|
|
1067
|
+
className: `${Bt([
|
|
1068
|
+
F,
|
|
1069
|
+
i,
|
|
1070
|
+
`${F}--md`,
|
|
1071
|
+
`${F}--icon-only`,
|
|
1072
|
+
`${F}--secondary`,
|
|
872
1073
|
{
|
|
873
|
-
[`${
|
|
1074
|
+
[`${F}--disabled`]: a
|
|
874
1075
|
}
|
|
875
|
-
])} ${
|
|
1076
|
+
])} ${F}`,
|
|
876
1077
|
"data-testid": e,
|
|
877
1078
|
...p,
|
|
878
|
-
children: n ? /* @__PURE__ */ l(
|
|
1079
|
+
children: n ? /* @__PURE__ */ l(Cr, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(Ar, { "data-testid": `${e}-arrow`, size: "md" })
|
|
879
1080
|
}
|
|
880
|
-
),
|
|
1081
|
+
), Mt = {
|
|
881
1082
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
882
|
-
},
|
|
1083
|
+
}, Nt = v.bind(Mt), Et = "purpur-card-overline", Gt = ({
|
|
883
1084
|
["data-testid"]: e = "purpur-card-overline",
|
|
884
|
-
overline:
|
|
885
|
-
}) =>
|
|
1085
|
+
overline: i
|
|
1086
|
+
}) => i ? /* @__PURE__ */ l(X, { className: Nt(Et), "data-testid": e, children: i }) : null, Zt = {
|
|
886
1087
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
887
1088
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
888
1089
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
889
1090
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
890
|
-
},
|
|
1091
|
+
}, It = {
|
|
891
1092
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
892
1093
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
893
1094
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
894
1095
|
};
|
|
895
|
-
function
|
|
896
|
-
return
|
|
897
|
-
for (var
|
|
898
|
-
var a = arguments[
|
|
1096
|
+
function N() {
|
|
1097
|
+
return N = Object.assign ? Object.assign.bind() : function(e) {
|
|
1098
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
1099
|
+
var a = arguments[i];
|
|
899
1100
|
for (var n in a) ({}).hasOwnProperty.call(a, n) && (e[n] = a[n]);
|
|
900
1101
|
}
|
|
901
1102
|
return e;
|
|
902
|
-
},
|
|
1103
|
+
}, N.apply(null, arguments);
|
|
903
1104
|
}
|
|
904
|
-
function
|
|
905
|
-
typeof e == "function" ? e(
|
|
1105
|
+
function jt(e, i) {
|
|
1106
|
+
typeof e == "function" ? e(i) : e != null && (e.current = i);
|
|
906
1107
|
}
|
|
907
|
-
function
|
|
908
|
-
return (
|
|
909
|
-
(a) =>
|
|
1108
|
+
function Ut(...e) {
|
|
1109
|
+
return (i) => e.forEach(
|
|
1110
|
+
(a) => jt(a, i)
|
|
910
1111
|
);
|
|
911
1112
|
}
|
|
912
|
-
const
|
|
913
|
-
const { children: a, ...n } = e, p =
|
|
1113
|
+
const Mr = /* @__PURE__ */ O((e, i) => {
|
|
1114
|
+
const { children: a, ...n } = e, p = L.toArray(a), r = p.find(Lt);
|
|
914
1115
|
if (r) {
|
|
915
|
-
const t = r.props.children,
|
|
916
|
-
return /* @__PURE__ */
|
|
917
|
-
ref:
|
|
918
|
-
}), /* @__PURE__ */
|
|
1116
|
+
const t = r.props.children, o = p.map((u) => u === r ? L.count(t) > 1 ? L.only(null) : /* @__PURE__ */ z(t) ? t.props.children : null : u);
|
|
1117
|
+
return /* @__PURE__ */ R(W, N({}, n, {
|
|
1118
|
+
ref: i
|
|
1119
|
+
}), /* @__PURE__ */ z(t) ? /* @__PURE__ */ gr(t, void 0, o) : null);
|
|
919
1120
|
}
|
|
920
|
-
return /* @__PURE__ */
|
|
921
|
-
ref:
|
|
1121
|
+
return /* @__PURE__ */ R(W, N({}, n, {
|
|
1122
|
+
ref: i
|
|
922
1123
|
}), a);
|
|
923
1124
|
});
|
|
924
|
-
|
|
925
|
-
const
|
|
1125
|
+
Mr.displayName = "Slot";
|
|
1126
|
+
const W = /* @__PURE__ */ O((e, i) => {
|
|
926
1127
|
const { children: a, ...n } = e;
|
|
927
|
-
return /* @__PURE__ */
|
|
928
|
-
...
|
|
929
|
-
ref:
|
|
930
|
-
}) :
|
|
1128
|
+
return /* @__PURE__ */ z(a) ? /* @__PURE__ */ gr(a, {
|
|
1129
|
+
...Rt(n, a.props),
|
|
1130
|
+
ref: i ? Ut(i, a.ref) : a.ref
|
|
1131
|
+
}) : L.count(a) > 1 ? L.only(null) : null;
|
|
931
1132
|
});
|
|
932
|
-
|
|
933
|
-
const
|
|
934
|
-
function
|
|
935
|
-
return /* @__PURE__ */
|
|
1133
|
+
W.displayName = "SlotClone";
|
|
1134
|
+
const qt = ({ children: e }) => /* @__PURE__ */ R(qr, null, e);
|
|
1135
|
+
function Lt(e) {
|
|
1136
|
+
return /* @__PURE__ */ z(e) && e.type === qt;
|
|
936
1137
|
}
|
|
937
|
-
function
|
|
1138
|
+
function Rt(e, i) {
|
|
938
1139
|
const a = {
|
|
939
|
-
...
|
|
1140
|
+
...i
|
|
940
1141
|
};
|
|
941
|
-
for (const n in
|
|
942
|
-
const p = e[n], r =
|
|
1142
|
+
for (const n in i) {
|
|
1143
|
+
const p = e[n], r = i[n];
|
|
943
1144
|
/^on[A-Z]/.test(n) ? p && r ? a[n] = (...t) => {
|
|
944
1145
|
r(...t), p(...t);
|
|
945
1146
|
} : p && (a[n] = p) : n === "style" ? a[n] = {
|
|
@@ -955,7 +1156,7 @@ function ft(e, o) {
|
|
|
955
1156
|
...a
|
|
956
1157
|
};
|
|
957
1158
|
}
|
|
958
|
-
const
|
|
1159
|
+
const Dt = [
|
|
959
1160
|
"a",
|
|
960
1161
|
"button",
|
|
961
1162
|
"div",
|
|
@@ -972,21 +1173,21 @@ const ht = [
|
|
|
972
1173
|
"span",
|
|
973
1174
|
"svg",
|
|
974
1175
|
"ul"
|
|
975
|
-
],
|
|
976
|
-
const a = /* @__PURE__ */
|
|
977
|
-
const { asChild: r, ...t } = n,
|
|
978
|
-
return
|
|
1176
|
+
], Pt = Dt.reduce((e, i) => {
|
|
1177
|
+
const a = /* @__PURE__ */ O((n, p) => {
|
|
1178
|
+
const { asChild: r, ...t } = n, o = r ? Mr : i;
|
|
1179
|
+
return Ur(() => {
|
|
979
1180
|
window[Symbol.for("radix-ui")] = !0;
|
|
980
|
-
}, []), /* @__PURE__ */
|
|
1181
|
+
}, []), /* @__PURE__ */ R(o, N({}, t, {
|
|
981
1182
|
ref: p
|
|
982
1183
|
}));
|
|
983
1184
|
});
|
|
984
|
-
return a.displayName = `Primitive.${
|
|
1185
|
+
return a.displayName = `Primitive.${i}`, {
|
|
985
1186
|
...e,
|
|
986
|
-
[
|
|
1187
|
+
[i]: a
|
|
987
1188
|
};
|
|
988
|
-
}, {}),
|
|
989
|
-
ref:
|
|
1189
|
+
}, {}), Tt = /* @__PURE__ */ O((e, i) => /* @__PURE__ */ R(Pt.span, N({}, e, {
|
|
1190
|
+
ref: i,
|
|
990
1191
|
style: {
|
|
991
1192
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
992
1193
|
position: "absolute",
|
|
@@ -1001,115 +1202,115 @@ const ht = [
|
|
|
1001
1202
|
wordWrap: "normal",
|
|
1002
1203
|
...e.style
|
|
1003
1204
|
}
|
|
1004
|
-
}))),
|
|
1205
|
+
}))), zt = Tt, ur = ({
|
|
1005
1206
|
asChild: e,
|
|
1006
|
-
children:
|
|
1207
|
+
children: i,
|
|
1007
1208
|
className: a = "",
|
|
1008
1209
|
["data-testid"]: n
|
|
1009
|
-
}) => /* @__PURE__ */ l(
|
|
1210
|
+
}) => /* @__PURE__ */ l(zt, { asChild: e, "data-testid": n, className: a, children: i }), sr = v.bind(It), A = "purpur-card-trigger-item", Ht = ({
|
|
1010
1211
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1011
|
-
disabled:
|
|
1212
|
+
disabled: i = !1,
|
|
1012
1213
|
href: a,
|
|
1013
1214
|
onClick: n,
|
|
1014
1215
|
screenReaderText: p
|
|
1015
1216
|
}) => {
|
|
1016
|
-
const r = (
|
|
1017
|
-
|
|
1018
|
-
}, t = `${
|
|
1217
|
+
const r = (o) => {
|
|
1218
|
+
i ? o.preventDefault() : n && n();
|
|
1219
|
+
}, t = `${A} ${i ? `${A}--disabled` : ""}`;
|
|
1019
1220
|
return a ? (
|
|
1020
1221
|
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
1021
1222
|
/* @__PURE__ */ l(
|
|
1022
1223
|
"a",
|
|
1023
1224
|
{
|
|
1024
|
-
"aria-disabled":
|
|
1025
|
-
className: `${
|
|
1026
|
-
|
|
1225
|
+
"aria-disabled": i,
|
|
1226
|
+
className: `${sr([
|
|
1227
|
+
A,
|
|
1027
1228
|
{
|
|
1028
|
-
[`${
|
|
1229
|
+
[`${A}--disabled`]: i
|
|
1029
1230
|
}
|
|
1030
1231
|
])} ${t}`,
|
|
1031
1232
|
"data-testid": e,
|
|
1032
|
-
href:
|
|
1033
|
-
tabIndex:
|
|
1034
|
-
children: /* @__PURE__ */ l(
|
|
1233
|
+
href: i ? void 0 : a,
|
|
1234
|
+
tabIndex: i ? 0 : void 0,
|
|
1235
|
+
children: /* @__PURE__ */ l(ur, { children: p })
|
|
1035
1236
|
}
|
|
1036
1237
|
)
|
|
1037
1238
|
) : /* @__PURE__ */ l(
|
|
1038
1239
|
"button",
|
|
1039
1240
|
{
|
|
1040
|
-
"aria-disabled":
|
|
1041
|
-
className: `${
|
|
1042
|
-
|
|
1043
|
-
`${
|
|
1241
|
+
"aria-disabled": i,
|
|
1242
|
+
className: `${sr([
|
|
1243
|
+
A,
|
|
1244
|
+
`${A}--button`,
|
|
1044
1245
|
{
|
|
1045
|
-
[`${
|
|
1246
|
+
[`${A}--disabled`]: i
|
|
1046
1247
|
}
|
|
1047
1248
|
])} ${t}`,
|
|
1048
1249
|
"data-testid": e,
|
|
1049
1250
|
type: "button",
|
|
1050
1251
|
onClick: r,
|
|
1051
|
-
children: /* @__PURE__ */ l(
|
|
1252
|
+
children: /* @__PURE__ */ l(ur, { children: p })
|
|
1052
1253
|
}
|
|
1053
1254
|
);
|
|
1054
|
-
},
|
|
1255
|
+
}, Vt = v.bind(Zt), H = "purpur-card-root", Nr = O(
|
|
1055
1256
|
({
|
|
1056
1257
|
["data-testid"]: e = "purpur-card-root",
|
|
1057
|
-
children:
|
|
1258
|
+
children: i,
|
|
1058
1259
|
className: a,
|
|
1059
1260
|
disabled: n,
|
|
1060
1261
|
fullHeight: p,
|
|
1061
1262
|
href: r,
|
|
1062
1263
|
onClick: t,
|
|
1063
|
-
screenReaderText:
|
|
1264
|
+
screenReaderText: o,
|
|
1064
1265
|
variant: u,
|
|
1065
|
-
...
|
|
1066
|
-
},
|
|
1067
|
-
const
|
|
1068
|
-
|
|
1266
|
+
...c
|
|
1267
|
+
}, m) => {
|
|
1268
|
+
const S = Vt([
|
|
1269
|
+
H,
|
|
1069
1270
|
a,
|
|
1070
1271
|
{
|
|
1071
|
-
[`${
|
|
1072
|
-
[`${
|
|
1272
|
+
[`${H}--${u}`]: u,
|
|
1273
|
+
[`${H}--full-height`]: p
|
|
1073
1274
|
}
|
|
1074
1275
|
]);
|
|
1075
|
-
return /* @__PURE__ */
|
|
1076
|
-
|
|
1077
|
-
(t || r) &&
|
|
1078
|
-
|
|
1276
|
+
return /* @__PURE__ */ g("div", { className: S, "data-testid": e, ref: m, ...c, children: [
|
|
1277
|
+
i,
|
|
1278
|
+
(t || r) && o && /* @__PURE__ */ l(
|
|
1279
|
+
Ht,
|
|
1079
1280
|
{
|
|
1080
1281
|
disabled: n,
|
|
1081
1282
|
href: r,
|
|
1082
1283
|
onClick: t,
|
|
1083
|
-
screenReaderText:
|
|
1284
|
+
screenReaderText: o
|
|
1084
1285
|
}
|
|
1085
1286
|
)
|
|
1086
1287
|
] });
|
|
1087
1288
|
}
|
|
1088
1289
|
);
|
|
1089
|
-
|
|
1090
|
-
const
|
|
1091
|
-
const n =
|
|
1092
|
-
|
|
1093
|
-
|
|
1290
|
+
Nr.displayName = "CardRoot";
|
|
1291
|
+
const dr = v.bind($e), V = "purpur-card", x = ({ children: e, className: i, ...a }) => {
|
|
1292
|
+
const n = dr([
|
|
1293
|
+
V,
|
|
1294
|
+
i,
|
|
1094
1295
|
{
|
|
1095
|
-
[`${
|
|
1096
|
-
[`${
|
|
1296
|
+
[`${V}--is-interactive`]: a.onClick || a.href,
|
|
1297
|
+
[`${V}--disabled`]: a.disabled
|
|
1097
1298
|
}
|
|
1098
1299
|
]);
|
|
1099
|
-
return /* @__PURE__ */ l(
|
|
1300
|
+
return /* @__PURE__ */ l(Nr, { className: dr(n), ...a, children: e });
|
|
1100
1301
|
};
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
function
|
|
1302
|
+
x.Badge = Xe;
|
|
1303
|
+
x.LinkArrow = Ft;
|
|
1304
|
+
x.Content = Qe;
|
|
1305
|
+
x.ContentContainer = tt;
|
|
1306
|
+
x.Cta = st;
|
|
1307
|
+
x.FeatureList = At;
|
|
1308
|
+
x.Overline = Gt;
|
|
1309
|
+
x.displayName = "Card";
|
|
1310
|
+
function Wt(e) {
|
|
1110
1311
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1111
1312
|
}
|
|
1112
|
-
var
|
|
1313
|
+
var Er = { exports: {} };
|
|
1113
1314
|
/*!
|
|
1114
1315
|
Copyright (c) 2018 Jed Watson.
|
|
1115
1316
|
Licensed under the MIT License (MIT), see
|
|
@@ -1117,11 +1318,206 @@ var yr = { exports: {} };
|
|
|
1117
1318
|
*/
|
|
1118
1319
|
(function(e) {
|
|
1119
1320
|
(function() {
|
|
1120
|
-
var
|
|
1321
|
+
var i = {}.hasOwnProperty;
|
|
1121
1322
|
function a() {
|
|
1122
1323
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1123
|
-
var
|
|
1124
|
-
|
|
1324
|
+
var o = arguments[t];
|
|
1325
|
+
o && (r = p(r, n.call(this, o)));
|
|
1326
|
+
}
|
|
1327
|
+
return r;
|
|
1328
|
+
}
|
|
1329
|
+
function n(r) {
|
|
1330
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1331
|
+
return this && this[r] || r;
|
|
1332
|
+
if (typeof r != "object")
|
|
1333
|
+
return "";
|
|
1334
|
+
if (Array.isArray(r))
|
|
1335
|
+
return a.apply(this, r);
|
|
1336
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1337
|
+
return r.toString();
|
|
1338
|
+
var t = "";
|
|
1339
|
+
for (var o in r)
|
|
1340
|
+
i.call(r, o) && r[o] && (t = p(t, this && this[o] || o));
|
|
1341
|
+
return t;
|
|
1342
|
+
}
|
|
1343
|
+
function p(r, t) {
|
|
1344
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1345
|
+
}
|
|
1346
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1347
|
+
})();
|
|
1348
|
+
})(Er);
|
|
1349
|
+
var Xt = Er.exports;
|
|
1350
|
+
const Kt = /* @__PURE__ */ Wt(Xt), Yt = {
|
|
1351
|
+
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1352
|
+
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1353
|
+
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
1354
|
+
"purpur-icon--sm": "_purpur-icon--sm_8u1lq_12",
|
|
1355
|
+
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1356
|
+
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1357
|
+
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1358
|
+
}, Jt = {
|
|
1359
|
+
name: "arrow-left",
|
|
1360
|
+
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
|
|
1361
|
+
keywords: ["arrow-left"],
|
|
1362
|
+
category: "utility"
|
|
1363
|
+
}, Qt = {
|
|
1364
|
+
name: "arrow-right",
|
|
1365
|
+
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
|
|
1366
|
+
keywords: ["arrow-right"],
|
|
1367
|
+
category: "utility"
|
|
1368
|
+
}, ra = {
|
|
1369
|
+
name: "external",
|
|
1370
|
+
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M15 3.4a.9.9 0 1 1 0-1.8h6.5a.9.9 0 0 1 .9.9V9a.9.9 0 1 1-1.8 0V4.673l-7.964 7.963a.9.9 0 1 1-1.272-1.272L19.327 3.4H15ZM1.6 5c0-1.05.85-1.9 1.9-1.9h6a.9.9 0 0 1 0 1.8h-6a.1.1 0 0 0-.1.1v15.5a.1.1 0 0 0 .1.1h16a.1.1 0 0 0 .1-.1V14a.9.9 0 1 1 1.8 0v6.5a1.9 1.9 0 0 1-1.9 1.9h-16a1.9 1.9 0 0 1-1.9-1.9V5Z" clip-rule="evenodd"/></svg>',
|
|
1371
|
+
keywords: ["external"],
|
|
1372
|
+
category: "media"
|
|
1373
|
+
}, ea = {
|
|
1374
|
+
name: "phone",
|
|
1375
|
+
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M5.341 2.228c.75-.622 1.73-.43 2.305.145l2.783 2.783a1.9 1.9 0 0 1 0 2.687L8.843 9.43a.1.1 0 0 0 0 .142l5.586 5.585a.1.1 0 0 0 .142 0l1.585-1.585a1.9 1.9 0 0 1 2.687 0l3.5 3.5c.343.342.698 1.023.31 1.742-.346.645-1.173 1.615-3.154 2.936-1.75 1.167-3.667 1.269-5.297.903-1.61-.361-3.015-1.192-3.839-2.016a.9.9 0 0 1 1.273-1.272c.573.572 1.669 1.242 2.96 1.532 1.27.285 2.656.188 3.905-.645 1.483-.989 2.137-1.68 2.418-2.06l-3.348-3.347a.1.1 0 0 0-.142 0l-1.586 1.585a1.9 1.9 0 0 1-2.687 0l-5.585-5.585a1.9 1.9 0 0 1 0-2.688l1.585-1.585a.1.1 0 0 0 0-.142L6.41 3.682c-.447.383-1.183 1.102-2.206 2.38-.878 1.097-1.14 2.08-1.127 2.951.013.898.323 1.758.732 2.59.24.488.733 1.079 1.551 1.88.561.549 1.227 1.152 2.002 1.854.344.312.71.644 1.098 1a.9.9 0 0 1-1.215 1.327c-.367-.336-.722-.658-1.061-.965a77.443 77.443 0 0 1-2.082-1.93c-.831-.813-1.523-1.586-1.909-2.372-.456-.93-.896-2.07-.916-3.356-.02-1.314.399-2.7 1.521-4.103 1.148-1.435 1.995-2.254 2.544-2.71Z" clip-rule="evenodd"/></svg>',
|
|
1376
|
+
keywords: ["phone"],
|
|
1377
|
+
category: "device"
|
|
1378
|
+
}, ta = Kt.bind(Yt), cr = "purpur-icon", aa = "md", ia = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), oa = ({ content: e = "", title: i } = {}) => {
|
|
1379
|
+
const a = [
|
|
1380
|
+
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1381
|
+
{ name: "fill", value: "currentColor" },
|
|
1382
|
+
{ name: "viewBox", value: "0 0 24 24" },
|
|
1383
|
+
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1384
|
+
], n = i ? `<title>${i}</title>` : "";
|
|
1385
|
+
return `<svg ${ia(a)}>${n}${e}</svg>`;
|
|
1386
|
+
}, na = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), _r = ({
|
|
1387
|
+
["data-testid"]: e,
|
|
1388
|
+
svg: i,
|
|
1389
|
+
allyTitle: a,
|
|
1390
|
+
className: n,
|
|
1391
|
+
size: p = aa,
|
|
1392
|
+
...r
|
|
1393
|
+
}) => {
|
|
1394
|
+
const t = oa({
|
|
1395
|
+
content: na(i.svg),
|
|
1396
|
+
title: a
|
|
1397
|
+
}), o = ta(n, cr, `${cr}--${p}`);
|
|
1398
|
+
return /* @__PURE__ */ l(
|
|
1399
|
+
"span",
|
|
1400
|
+
{
|
|
1401
|
+
"aria-label": a,
|
|
1402
|
+
className: o,
|
|
1403
|
+
"data-testid": e,
|
|
1404
|
+
dangerouslySetInnerHTML: { __html: t },
|
|
1405
|
+
...r
|
|
1406
|
+
}
|
|
1407
|
+
);
|
|
1408
|
+
};
|
|
1409
|
+
function pa(e) {
|
|
1410
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1411
|
+
}
|
|
1412
|
+
var Gr = { exports: {} };
|
|
1413
|
+
/*!
|
|
1414
|
+
Copyright (c) 2018 Jed Watson.
|
|
1415
|
+
Licensed under the MIT License (MIT), see
|
|
1416
|
+
http://jedwatson.github.io/classnames
|
|
1417
|
+
*/
|
|
1418
|
+
(function(e) {
|
|
1419
|
+
(function() {
|
|
1420
|
+
var i = {}.hasOwnProperty;
|
|
1421
|
+
function a() {
|
|
1422
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1423
|
+
var o = arguments[t];
|
|
1424
|
+
o && (r = p(r, n.call(this, o)));
|
|
1425
|
+
}
|
|
1426
|
+
return r;
|
|
1427
|
+
}
|
|
1428
|
+
function n(r) {
|
|
1429
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1430
|
+
return this && this[r] || r;
|
|
1431
|
+
if (typeof r != "object")
|
|
1432
|
+
return "";
|
|
1433
|
+
if (Array.isArray(r))
|
|
1434
|
+
return a.apply(this, r);
|
|
1435
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1436
|
+
return r.toString();
|
|
1437
|
+
var t = "";
|
|
1438
|
+
for (var o in r)
|
|
1439
|
+
i.call(r, o) && r[o] && (t = p(t, this && this[o] || o));
|
|
1440
|
+
return t;
|
|
1441
|
+
}
|
|
1442
|
+
function p(r, t) {
|
|
1443
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1444
|
+
}
|
|
1445
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1446
|
+
})();
|
|
1447
|
+
})(Gr);
|
|
1448
|
+
var la = Gr.exports;
|
|
1449
|
+
const ua = /* @__PURE__ */ pa(la), sa = {
|
|
1450
|
+
"purpur-cta-link": "_purpur-cta-link_1mhg7_1",
|
|
1451
|
+
"purpur-cta-link--sm": "_purpur-cta-link--sm_1mhg7_33",
|
|
1452
|
+
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1mhg7_36",
|
|
1453
|
+
"purpur-cta-link--md": "_purpur-cta-link--md_1mhg7_39",
|
|
1454
|
+
"purpur-cta-link--lg": "_purpur-cta-link--lg_1mhg7_45",
|
|
1455
|
+
"purpur-cta-link--full-width": "_purpur-cta-link--full-width_1mhg7_51",
|
|
1456
|
+
"purpur-cta-link--primary": "_purpur-cta-link--primary_1mhg7_54",
|
|
1457
|
+
"purpur-cta-link--disabled": "_purpur-cta-link--disabled_1mhg7_58",
|
|
1458
|
+
"purpur-cta-link--primary-negative": "_purpur-cta-link--primary-negative_1mhg7_64",
|
|
1459
|
+
"purpur-cta-link--secondary": "_purpur-cta-link--secondary_1mhg7_76",
|
|
1460
|
+
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1mhg7_87",
|
|
1461
|
+
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1mhg7_98",
|
|
1462
|
+
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1mhg7_108"
|
|
1463
|
+
}, da = ua.bind(sa), M = "purpur-cta-link", ca = {
|
|
1464
|
+
forward: Qt,
|
|
1465
|
+
external: ra,
|
|
1466
|
+
back: Jt,
|
|
1467
|
+
phone: ea
|
|
1468
|
+
}, _a = O(
|
|
1469
|
+
({
|
|
1470
|
+
children: e,
|
|
1471
|
+
className: i,
|
|
1472
|
+
["data-testid"]: a,
|
|
1473
|
+
fullWidth: n = !1,
|
|
1474
|
+
iconOnly: p = !1,
|
|
1475
|
+
negative: r = !1,
|
|
1476
|
+
size: t = "md",
|
|
1477
|
+
variant: o,
|
|
1478
|
+
icon: u = "forward",
|
|
1479
|
+
...c
|
|
1480
|
+
}, m) => {
|
|
1481
|
+
const S = da(
|
|
1482
|
+
[
|
|
1483
|
+
i,
|
|
1484
|
+
M,
|
|
1485
|
+
`${M}--${r ? `${o}-negative` : o}`,
|
|
1486
|
+
`${M}--${t}`
|
|
1487
|
+
],
|
|
1488
|
+
{
|
|
1489
|
+
[`${M}--icon-only`]: p,
|
|
1490
|
+
[`${M}--negative`]: r,
|
|
1491
|
+
[`${M}--full-width`]: n
|
|
1492
|
+
}
|
|
1493
|
+
), d = ca[u], y = /* @__PURE__ */ g(fr, { children: [
|
|
1494
|
+
(u === "back" || u === "phone") && /* @__PURE__ */ l(_r, { svg: d, size: t === "lg" ? "sm" : "xs" }),
|
|
1495
|
+
!p && e,
|
|
1496
|
+
(u === "forward" || u === "external") && /* @__PURE__ */ l(_r, { svg: d, size: t === "lg" ? "sm" : "xs" })
|
|
1497
|
+
] }), _ = {
|
|
1498
|
+
...c,
|
|
1499
|
+
className: S,
|
|
1500
|
+
"data-testid": a
|
|
1501
|
+
};
|
|
1502
|
+
return "href" in c && c.href ? /* @__PURE__ */ l("a", { ..._, ref: m, children: y }) : /* @__PURE__ */ l("span", { ..._, ref: m, children: y });
|
|
1503
|
+
}
|
|
1504
|
+
);
|
|
1505
|
+
function fa(e) {
|
|
1506
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1507
|
+
}
|
|
1508
|
+
var Zr = { exports: {} };
|
|
1509
|
+
/*!
|
|
1510
|
+
Copyright (c) 2018 Jed Watson.
|
|
1511
|
+
Licensed under the MIT License (MIT), see
|
|
1512
|
+
http://jedwatson.github.io/classnames
|
|
1513
|
+
*/
|
|
1514
|
+
(function(e) {
|
|
1515
|
+
(function() {
|
|
1516
|
+
var i = {}.hasOwnProperty;
|
|
1517
|
+
function a() {
|
|
1518
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1519
|
+
var o = arguments[t];
|
|
1520
|
+
o && (r = p(r, n(o)));
|
|
1125
1521
|
}
|
|
1126
1522
|
return r;
|
|
1127
1523
|
}
|
|
@@ -1135,8 +1531,8 @@ var yr = { exports: {} };
|
|
|
1135
1531
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1136
1532
|
return r.toString();
|
|
1137
1533
|
var t = "";
|
|
1138
|
-
for (var
|
|
1139
|
-
|
|
1534
|
+
for (var o in r)
|
|
1535
|
+
i.call(r, o) && r[o] && (t = p(t, o));
|
|
1140
1536
|
return t;
|
|
1141
1537
|
}
|
|
1142
1538
|
function p(r, t) {
|
|
@@ -1144,9 +1540,9 @@ var yr = { exports: {} };
|
|
|
1144
1540
|
}
|
|
1145
1541
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1146
1542
|
})();
|
|
1147
|
-
})(
|
|
1148
|
-
var
|
|
1149
|
-
const
|
|
1543
|
+
})(Zr);
|
|
1544
|
+
var ga = Zr.exports;
|
|
1545
|
+
const ha = /* @__PURE__ */ fa(ga), P = {
|
|
1150
1546
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1151
1547
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1152
1548
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1162,7 +1558,7 @@ const Ct = /* @__PURE__ */ xt(bt), Z = {
|
|
|
1162
1558
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1163
1559
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1164
1560
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1165
|
-
},
|
|
1561
|
+
}, ma = {
|
|
1166
1562
|
TITLE100: "title-100",
|
|
1167
1563
|
TITLE200: "title-200",
|
|
1168
1564
|
TITLE300: "title-300",
|
|
@@ -1171,32 +1567,32 @@ const Ct = /* @__PURE__ */ xt(bt), Z = {
|
|
|
1171
1567
|
TITLE600: "title-600",
|
|
1172
1568
|
TITLE700: "title-700",
|
|
1173
1569
|
SUBSECTION100: "subsection-100"
|
|
1174
|
-
},
|
|
1570
|
+
}, T = "purpur-heading", Ir = ({
|
|
1175
1571
|
["data-testid"]: e,
|
|
1176
|
-
children:
|
|
1572
|
+
children: i,
|
|
1177
1573
|
className: a = "",
|
|
1178
1574
|
enableHyphenation: n = !1,
|
|
1179
1575
|
negative: p = !1,
|
|
1180
1576
|
tag: r,
|
|
1181
|
-
variant: t =
|
|
1182
|
-
...
|
|
1577
|
+
variant: t = ma.TITLE100,
|
|
1578
|
+
...o
|
|
1183
1579
|
}) => {
|
|
1184
|
-
const u = r,
|
|
1580
|
+
const u = r, c = ha([
|
|
1185
1581
|
a,
|
|
1186
|
-
|
|
1187
|
-
|
|
1582
|
+
P[T],
|
|
1583
|
+
P[`${T}--${t}`],
|
|
1188
1584
|
{
|
|
1189
|
-
[
|
|
1190
|
-
[
|
|
1585
|
+
[P[`${T}--hyphens`]]: n,
|
|
1586
|
+
[P[`${T}--negative`]]: p
|
|
1191
1587
|
}
|
|
1192
1588
|
]);
|
|
1193
|
-
return /* @__PURE__ */ l(u, { ...
|
|
1589
|
+
return /* @__PURE__ */ l(u, { ...o, className: c, "data-testid": e, children: i });
|
|
1194
1590
|
};
|
|
1195
|
-
|
|
1196
|
-
function
|
|
1591
|
+
Ir.displayName = "Heading";
|
|
1592
|
+
function va(e) {
|
|
1197
1593
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1198
1594
|
}
|
|
1199
|
-
var
|
|
1595
|
+
var jr = { exports: {} };
|
|
1200
1596
|
/*!
|
|
1201
1597
|
Copyright (c) 2018 Jed Watson.
|
|
1202
1598
|
Licensed under the MIT License (MIT), see
|
|
@@ -1204,11 +1600,11 @@ var xr = { exports: {} };
|
|
|
1204
1600
|
*/
|
|
1205
1601
|
(function(e) {
|
|
1206
1602
|
(function() {
|
|
1207
|
-
var
|
|
1603
|
+
var i = {}.hasOwnProperty;
|
|
1208
1604
|
function a() {
|
|
1209
1605
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1210
|
-
var
|
|
1211
|
-
|
|
1606
|
+
var o = arguments[t];
|
|
1607
|
+
o && (r = p(r, n.call(this, o)));
|
|
1212
1608
|
}
|
|
1213
1609
|
return r;
|
|
1214
1610
|
}
|
|
@@ -1222,8 +1618,8 @@ var xr = { exports: {} };
|
|
|
1222
1618
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1223
1619
|
return r.toString();
|
|
1224
1620
|
var t = "";
|
|
1225
|
-
for (var
|
|
1226
|
-
|
|
1621
|
+
for (var o in r)
|
|
1622
|
+
i.call(r, o) && r[o] && (t = p(t, this && this[o] || o));
|
|
1227
1623
|
return t;
|
|
1228
1624
|
}
|
|
1229
1625
|
function p(r, t) {
|
|
@@ -1231,120 +1627,146 @@ var xr = { exports: {} };
|
|
|
1231
1627
|
}
|
|
1232
1628
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1233
1629
|
})();
|
|
1234
|
-
})(
|
|
1235
|
-
var
|
|
1236
|
-
const
|
|
1237
|
-
"purpur-promotion-card": "_purpur-promotion-
|
|
1238
|
-
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-
|
|
1239
|
-
"purpur-promotion-card__content": "_purpur-promotion-
|
|
1240
|
-
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-
|
|
1241
|
-
"purpur-promotion-card__card": "_purpur-promotion-
|
|
1242
|
-
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-
|
|
1243
|
-
"purpur-promotion-
|
|
1244
|
-
"purpur-promotion-
|
|
1245
|
-
"purpur-promotion-
|
|
1246
|
-
"purpur-promotion-
|
|
1247
|
-
"purpur-promotion-
|
|
1248
|
-
"purpur-promotion-
|
|
1249
|
-
"purpur-promotion-
|
|
1250
|
-
"purpur-promotion-
|
|
1251
|
-
"purpur-promotion-card__image-wrapper
|
|
1252
|
-
|
|
1630
|
+
})(jr);
|
|
1631
|
+
var ya = jr.exports;
|
|
1632
|
+
const xa = /* @__PURE__ */ va(ya), wa = {
|
|
1633
|
+
"purpur-promotion-card": "_purpur-promotion-card_qosug_1",
|
|
1634
|
+
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_qosug_8",
|
|
1635
|
+
"purpur-promotion-card__content": "_purpur-promotion-card__content_qosug_8",
|
|
1636
|
+
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-image_qosug_33",
|
|
1637
|
+
"purpur-promotion-card__card": "_purpur-promotion-card__card_qosug_45",
|
|
1638
|
+
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-gradient_qosug_49",
|
|
1639
|
+
"purpur-promotion-card__actions": "_purpur-promotion-card__actions_qosug_65",
|
|
1640
|
+
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-image_qosug_81",
|
|
1641
|
+
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-content_qosug_84",
|
|
1642
|
+
"purpur-promotion-card__heading": "_purpur-promotion-card__heading_qosug_88",
|
|
1643
|
+
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-image_qosug_93",
|
|
1644
|
+
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-wrapper_qosug_104",
|
|
1645
|
+
"purpur-promotion-card__body": "_purpur-promotion-card__body_qosug_108",
|
|
1646
|
+
"purpur-promotion-card__child-content": "_purpur-promotion-card__child-content_qosug_137",
|
|
1647
|
+
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_qosug_140",
|
|
1648
|
+
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_qosug_143",
|
|
1649
|
+
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_qosug_144"
|
|
1650
|
+
}, Ba = ["primary", "secondary", "quaternary"], ba = {
|
|
1253
1651
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1254
1652
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1255
1653
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1256
|
-
},
|
|
1654
|
+
}, $a = {
|
|
1257
1655
|
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>')`,
|
|
1258
1656
|
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>')`,
|
|
1259
1657
|
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>')`
|
|
1260
|
-
},
|
|
1658
|
+
}, Sa = {
|
|
1261
1659
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1262
1660
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1263
1661
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1264
|
-
},
|
|
1662
|
+
}, h = xa.bind(wa), s = "purpur-promotion-card", Ca = ({
|
|
1265
1663
|
["data-testid"]: e,
|
|
1266
|
-
variant:
|
|
1664
|
+
variant: i = "primary",
|
|
1267
1665
|
badgeText: a,
|
|
1268
1666
|
badgeIcon: n,
|
|
1269
1667
|
title: p,
|
|
1270
1668
|
titleTag: r = "h2",
|
|
1271
1669
|
titleVariant: t = "title-300",
|
|
1272
|
-
enableTitleHyphenation:
|
|
1670
|
+
enableTitleHyphenation: o = !0,
|
|
1273
1671
|
className: u,
|
|
1274
|
-
|
|
1275
|
-
|
|
1672
|
+
actions: c,
|
|
1673
|
+
children: m,
|
|
1674
|
+
style: S,
|
|
1276
1675
|
...d
|
|
1277
1676
|
}) => {
|
|
1278
|
-
let
|
|
1677
|
+
let y = d, _, B;
|
|
1279
1678
|
if ("decorativeImage" in d) {
|
|
1280
|
-
const { hasGradient:
|
|
1281
|
-
|
|
1679
|
+
const { hasGradient: f, decorativeImage: w, ...E } = d;
|
|
1680
|
+
_ = w, B = f, y = E;
|
|
1282
1681
|
} else if ("productImage" in d) {
|
|
1283
|
-
const { hasGradient:
|
|
1284
|
-
|
|
1682
|
+
const { hasGradient: f, productImage: w, ...E } = d;
|
|
1683
|
+
_ = w, B = f, y = E;
|
|
1285
1684
|
} else if ("hasGradient" in d) {
|
|
1286
|
-
const { hasGradient:
|
|
1287
|
-
|
|
1685
|
+
const { hasGradient: f, ...w } = d;
|
|
1686
|
+
B = f, y = w;
|
|
1288
1687
|
}
|
|
1289
|
-
const
|
|
1290
|
-
"--promotion-card-background":
|
|
1291
|
-
"--promotion-card-color":
|
|
1292
|
-
"--promotion-card-background-image":
|
|
1688
|
+
const D = {
|
|
1689
|
+
"--promotion-card-background": ba[i],
|
|
1690
|
+
"--promotion-card-color": Sa[i],
|
|
1691
|
+
"--promotion-card-background-image": $a[i]
|
|
1293
1692
|
};
|
|
1294
|
-
return /* @__PURE__ */ l(
|
|
1693
|
+
return /* @__PURE__ */ l(x, { className: h(`${s}__card`), children: /* @__PURE__ */ g(
|
|
1295
1694
|
"div",
|
|
1296
1695
|
{
|
|
1297
1696
|
"data-testid": e,
|
|
1298
1697
|
style: {
|
|
1299
|
-
...
|
|
1300
|
-
...
|
|
1698
|
+
...D,
|
|
1699
|
+
...S
|
|
1301
1700
|
},
|
|
1302
|
-
className:
|
|
1701
|
+
className: h([
|
|
1303
1702
|
u,
|
|
1304
1703
|
s,
|
|
1305
|
-
`${s}--${
|
|
1704
|
+
`${s}--${i}`,
|
|
1306
1705
|
{
|
|
1307
|
-
[`${s}--with-image`]:
|
|
1308
|
-
[`${s}--without-image`]: !
|
|
1706
|
+
[`${s}--with-image`]: _,
|
|
1707
|
+
[`${s}--without-image`]: !_
|
|
1309
1708
|
}
|
|
1310
1709
|
]),
|
|
1311
|
-
...
|
|
1710
|
+
...y,
|
|
1312
1711
|
children: [
|
|
1313
|
-
/* @__PURE__ */
|
|
1712
|
+
/* @__PURE__ */ g(
|
|
1314
1713
|
"div",
|
|
1315
1714
|
{
|
|
1316
|
-
className:
|
|
1715
|
+
className: h([
|
|
1317
1716
|
`${s}__content`,
|
|
1318
1717
|
{
|
|
1319
|
-
[`${s}__content--with-image`]:
|
|
1320
|
-
[`${s}__content--without-image`]: !
|
|
1718
|
+
[`${s}__content--with-image`]: _,
|
|
1719
|
+
[`${s}__content--without-image`]: !_
|
|
1321
1720
|
}
|
|
1322
1721
|
]),
|
|
1323
1722
|
children: [
|
|
1324
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className:
|
|
1723
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: h(`${s}__badge-wrapper`), children: /* @__PURE__ */ g(pe, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1325
1724
|
n && n,
|
|
1326
1725
|
a
|
|
1327
1726
|
] }) }),
|
|
1328
|
-
/* @__PURE__ */
|
|
1727
|
+
/* @__PURE__ */ g("div", { className: h(`${s}__main-content`), children: [
|
|
1329
1728
|
/* @__PURE__ */ l(
|
|
1330
|
-
|
|
1729
|
+
Ir,
|
|
1331
1730
|
{
|
|
1332
1731
|
tag: r,
|
|
1333
1732
|
variant: t,
|
|
1334
|
-
enableHyphenation:
|
|
1335
|
-
className:
|
|
1733
|
+
enableHyphenation: o,
|
|
1734
|
+
className: h(`${s}__heading`),
|
|
1336
1735
|
children: p
|
|
1337
1736
|
}
|
|
1338
1737
|
),
|
|
1339
|
-
/* @__PURE__ */
|
|
1738
|
+
/* @__PURE__ */ g("div", { className: h(`${s}__body`), children: [
|
|
1739
|
+
/* @__PURE__ */ l("div", { className: h(`${s}__child-content`), children: m }),
|
|
1740
|
+
c && c.length > 0 && /* @__PURE__ */ l("div", { className: h(`${s}__actions`), children: c.map(
|
|
1741
|
+
({ label: f, href: w, onClick: E }, K) => w ? /* @__PURE__ */ l(
|
|
1742
|
+
_a,
|
|
1743
|
+
{
|
|
1744
|
+
variant: K === 0 ? "primary" : "secondary",
|
|
1745
|
+
href: w,
|
|
1746
|
+
negative: i === "primary",
|
|
1747
|
+
children: f
|
|
1748
|
+
},
|
|
1749
|
+
f
|
|
1750
|
+
) : /* @__PURE__ */ l(
|
|
1751
|
+
xr,
|
|
1752
|
+
{
|
|
1753
|
+
variant: K === 0 ? "primary" : "secondary",
|
|
1754
|
+
onClick: E,
|
|
1755
|
+
negative: i === "primary",
|
|
1756
|
+
children: f
|
|
1757
|
+
},
|
|
1758
|
+
f
|
|
1759
|
+
)
|
|
1760
|
+
) })
|
|
1761
|
+
] })
|
|
1340
1762
|
] })
|
|
1341
1763
|
]
|
|
1342
1764
|
}
|
|
1343
1765
|
),
|
|
1344
|
-
|
|
1766
|
+
_ && /* @__PURE__ */ g(
|
|
1345
1767
|
"div",
|
|
1346
1768
|
{
|
|
1347
|
-
className:
|
|
1769
|
+
className: h([
|
|
1348
1770
|
`${s}__image-wrapper`,
|
|
1349
1771
|
{
|
|
1350
1772
|
[`${s}__image-wrapper--product`]: "productImage" in d,
|
|
@@ -1352,11 +1774,11 @@ const kt = /* @__PURE__ */ At(Ft), Bt = {
|
|
|
1352
1774
|
}
|
|
1353
1775
|
]),
|
|
1354
1776
|
children: [
|
|
1355
|
-
|
|
1356
|
-
|
|
1777
|
+
_,
|
|
1778
|
+
B && /* @__PURE__ */ l(
|
|
1357
1779
|
"div",
|
|
1358
1780
|
{
|
|
1359
|
-
className:
|
|
1781
|
+
className: h(`${s}__image-gradient`),
|
|
1360
1782
|
"data-testid": "promotion-card-gradient"
|
|
1361
1783
|
}
|
|
1362
1784
|
)
|
|
@@ -1367,9 +1789,9 @@ const kt = /* @__PURE__ */ At(Ft), Bt = {
|
|
|
1367
1789
|
}
|
|
1368
1790
|
) });
|
|
1369
1791
|
};
|
|
1370
|
-
|
|
1792
|
+
Ca.displayName = "PromotionCard";
|
|
1371
1793
|
export {
|
|
1372
|
-
|
|
1373
|
-
|
|
1794
|
+
Ca as PromotionCard,
|
|
1795
|
+
Ba as promotionCardVariants
|
|
1374
1796
|
};
|
|
1375
1797
|
//# sourceMappingURL=promotion-card.es.js.map
|