@purpurds/promotion-card 5.1.2 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,45 +1,47 @@
1
- import { jsxs as _, jsx as d } from "react/jsx-runtime";
2
- function D(t) {
3
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1
+ import { jsxs as _, jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as N, Children as $, isValidElement as U, createElement as E, cloneElement as er, useEffect as yr, Fragment as wr } from "react";
3
+ import "react-dom";
4
+ function xr(e) {
5
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
6
  }
5
- var U = { exports: {} };
7
+ var tr = { exports: {} };
6
8
  /*!
7
9
  Copyright (c) 2018 Jed Watson.
8
10
  Licensed under the MIT License (MIT), see
9
11
  http://jedwatson.github.io/classnames
10
12
  */
11
- (function(t) {
13
+ (function(e) {
12
14
  (function() {
13
- var i = {}.hasOwnProperty;
15
+ var o = {}.hasOwnProperty;
14
16
  function a() {
15
- for (var e = "", r = 0; r < arguments.length; r++) {
16
- var o = arguments[r];
17
- o && (e = n(e, l.call(this, o)));
17
+ for (var r = "", t = 0; t < arguments.length; t++) {
18
+ var i = arguments[t];
19
+ i && (r = p(r, n.call(this, i)));
18
20
  }
19
- return e;
21
+ return r;
20
22
  }
21
- function l(e) {
22
- if (typeof e == "string" || typeof e == "number")
23
- return this && this[e] || e;
24
- if (typeof e != "object")
23
+ function n(r) {
24
+ if (typeof r == "string" || typeof r == "number")
25
+ return this && this[r] || r;
26
+ if (typeof r != "object")
25
27
  return "";
26
- if (Array.isArray(e))
27
- return a.apply(this, e);
28
- if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
29
- return e.toString();
30
- var r = "";
31
- for (var o in e)
32
- i.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
33
- return r;
28
+ if (Array.isArray(r))
29
+ return a.apply(this, r);
30
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
31
+ return r.toString();
32
+ var t = "";
33
+ for (var i in r)
34
+ o.call(r, i) && r[i] && (t = p(t, this && this[i] || i));
35
+ return t;
34
36
  }
35
- function n(e, r) {
36
- return r ? e ? e + " " + r : e + r : e;
37
+ function p(r, t) {
38
+ return t ? r ? r + " " + t : r + t : r;
37
39
  }
38
- t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
40
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
39
41
  })();
40
- })(U);
41
- var N = U.exports;
42
- const $ = /* @__PURE__ */ D(N), L = {
42
+ })(tr);
43
+ var br = tr.exports;
44
+ const Cr = /* @__PURE__ */ xr(br), Sr = {
43
45
  "purpur-icon": "_purpur-icon_8u1lq_1",
44
46
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
45
47
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -47,108 +49,108 @@ const $ = /* @__PURE__ */ D(N), L = {
47
49
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
48
50
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
49
51
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
50
- }, T = {
52
+ }, Fr = {
51
53
  name: "alert",
52
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>',
53
55
  keywords: ["alert"],
54
56
  category: "status"
55
- }, q = {
57
+ }, Ar = {
56
58
  name: "check-circle",
57
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>',
58
60
  keywords: ["check-circle"],
59
61
  category: "status"
60
- }, R = {
62
+ }, kr = {
61
63
  name: "error",
62
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>',
63
65
  keywords: ["error"],
64
66
  category: "status"
65
- }, j = {
67
+ }, Or = {
66
68
  name: "info",
67
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>',
68
70
  keywords: ["info"],
69
71
  category: "status"
70
- }, P = {
72
+ }, Br = {
71
73
  name: "offering",
72
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>',
73
75
  keywords: ["offering"],
74
76
  category: "other"
75
- }, H = {
77
+ }, $r = {
76
78
  name: "question",
77
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>',
78
80
  keywords: ["question"],
79
81
  category: "status"
80
- }, V = $.bind(L), F = "purpur-icon", W = "md", z = (t) => t.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), J = ({ content: t = "", title: i } = {}) => {
82
+ }, Er = Cr.bind(Sr), L = "purpur-icon", Nr = "md", Gr = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Mr = ({ content: e = "", title: o } = {}) => {
81
83
  const a = [
82
84
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
83
85
  { name: "fill", value: "currentColor" },
84
86
  { name: "viewBox", value: "0 0 24 24" },
85
- i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
86
- ], l = i ? `<title>${i}</title>` : "";
87
- return `<svg ${z(a)}>${l}${t}</svg>`;
88
- }, K = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Q = ({
89
- ["data-testid"]: t,
90
- svg: i,
87
+ o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
88
+ ], n = o ? `<title>${o}</title>` : "";
89
+ return `<svg ${Gr(a)}>${n}${e}</svg>`;
90
+ }, Zr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ur = ({
91
+ ["data-testid"]: e,
92
+ svg: o,
91
93
  allyTitle: a,
92
- className: l = "",
93
- size: n = W,
94
- ...e
94
+ className: n = "",
95
+ size: p = Nr,
96
+ ...r
95
97
  }) => {
96
- const r = J({
97
- content: K(i.svg),
98
+ const t = Mr({
99
+ content: Zr(o.svg),
98
100
  title: a
99
- }), o = V(l, F, `${F}--${n}`);
100
- return /* @__PURE__ */ d(
101
+ }), i = Er(n, L, `${L}--${p}`);
102
+ return /* @__PURE__ */ l(
101
103
  "span",
102
104
  {
103
105
  "aria-label": a,
104
- className: o,
105
- "data-testid": t,
106
- dangerouslySetInnerHTML: { __html: r },
107
- ...e
106
+ className: i,
107
+ "data-testid": e,
108
+ dangerouslySetInnerHTML: { __html: t },
109
+ ...r
108
110
  }
109
111
  );
110
112
  };
111
- function X(t) {
112
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
113
+ function Ir(e) {
114
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
113
115
  }
114
- var A = { exports: {} };
116
+ var ar = { exports: {} };
115
117
  /*!
116
118
  Copyright (c) 2018 Jed Watson.
117
119
  Licensed under the MIT License (MIT), see
118
120
  http://jedwatson.github.io/classnames
119
121
  */
120
- (function(t) {
122
+ (function(e) {
121
123
  (function() {
122
- var i = {}.hasOwnProperty;
124
+ var o = {}.hasOwnProperty;
123
125
  function a() {
124
- for (var e = "", r = 0; r < arguments.length; r++) {
125
- var o = arguments[r];
126
- o && (e = n(e, l(o)));
126
+ for (var r = "", t = 0; t < arguments.length; t++) {
127
+ var i = arguments[t];
128
+ i && (r = p(r, n(i)));
127
129
  }
128
- return e;
130
+ return r;
129
131
  }
130
- function l(e) {
131
- if (typeof e == "string" || typeof e == "number")
132
- return e;
133
- if (typeof e != "object")
132
+ function n(r) {
133
+ if (typeof r == "string" || typeof r == "number")
134
+ return r;
135
+ if (typeof r != "object")
134
136
  return "";
135
- if (Array.isArray(e))
136
- return a.apply(null, e);
137
- if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
138
- return e.toString();
139
- var r = "";
140
- for (var o in e)
141
- i.call(e, o) && e[o] && (r = n(r, o));
142
- return r;
137
+ if (Array.isArray(r))
138
+ return a.apply(null, r);
139
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
140
+ return r.toString();
141
+ var t = "";
142
+ for (var i in r)
143
+ o.call(r, i) && r[i] && (t = p(t, i));
144
+ return t;
143
145
  }
144
- function n(e, r) {
145
- return r ? e ? e + " " + r : e + r : e;
146
+ function p(r, t) {
147
+ return t ? r ? r + " " + t : r + t : r;
146
148
  }
147
- t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
149
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
148
150
  })();
149
- })(A);
150
- var Y = A.exports;
151
- const e0 = /* @__PURE__ */ X(Y), B = {
151
+ })(ar);
152
+ var jr = ar.exports;
153
+ const Rr = /* @__PURE__ */ Ir(jr), q = {
152
154
  "purpur-badge": "_purpur-badge_stlab_1",
153
155
  "purpur-badge--attention": "_purpur-badge--attention_stlab_13",
154
156
  "purpur-badge--special": "_purpur-badge--special_stlab_17",
@@ -157,7 +159,7 @@ const e0 = /* @__PURE__ */ X(Y), B = {
157
159
  "purpur-badge--success": "_purpur-badge--success_stlab_29",
158
160
  "purpur-badge--warning": "_purpur-badge--warning_stlab_33",
159
161
  "purpur-badge--error": "_purpur-badge--error_stlab_37"
160
- }, G = "purpur-badge", f = {
162
+ }, T = "purpur-badge", m = {
161
163
  ATTENTION: "attention",
162
164
  SPECIAL: "special",
163
165
  NEUTRAL: "neutral",
@@ -165,131 +167,920 @@ const e0 = /* @__PURE__ */ X(Y), B = {
165
167
  SUCCESS: "success",
166
168
  WARNING: "warning",
167
169
  ERROR: "error"
168
- }, r0 = (t) => {
169
- switch (t) {
170
- case f.ATTENTION:
171
- case f.SPECIAL:
172
- return P;
173
- case f.INFORMATION:
174
- return j;
175
- case f.SUCCESS:
176
- return q;
177
- case f.WARNING:
178
- return T;
179
- case f.ERROR:
180
- return R;
181
- case f.NEUTRAL:
182
- return H;
170
+ }, Dr = (e) => {
171
+ switch (e) {
172
+ case m.ATTENTION:
173
+ case m.SPECIAL:
174
+ return Br;
175
+ case m.INFORMATION:
176
+ return Or;
177
+ case m.SUCCESS:
178
+ return Ar;
179
+ case m.WARNING:
180
+ return Fr;
181
+ case m.ERROR:
182
+ return kr;
183
+ case m.NEUTRAL:
184
+ return $r;
183
185
  default:
184
186
  return;
185
187
  }
186
- }, t0 = ({
187
- children: t,
188
- showIcon: i = !0,
188
+ }, Lr = ({
189
+ children: e,
190
+ showIcon: o = !0,
189
191
  variant: a,
190
- ["data-testid"]: l,
191
- allyLabel: n,
192
- className: e = "",
193
- ...r
192
+ ["data-testid"]: n,
193
+ allyLabel: p,
194
+ className: r = "",
195
+ ...t
194
196
  }) => {
195
- const o = r0(a), h = e0([e, B[G], B[`${G}--${a}`]]);
196
- return /* @__PURE__ */ _("span", { "aria-label": n, className: h, "data-testid": l, ...r, children: [
197
- i && o && /* @__PURE__ */ d(Q, { "data-testid": `${l}-icon`, allyTitle: n, size: "xs", svg: o }),
198
- t
197
+ const i = Dr(a), u = Rr([r, q[T], q[`${T}--${a}`]]);
198
+ return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
199
+ o && i && /* @__PURE__ */ l(Ur, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: i }),
200
+ e
199
201
  ] });
200
202
  };
201
- function o0(t) {
202
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
203
+ function qr(e) {
204
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
203
205
  }
204
- var b = { exports: {} };
206
+ var or = { exports: {} };
205
207
  /*!
206
208
  Copyright (c) 2018 Jed Watson.
207
209
  Licensed under the MIT License (MIT), see
208
210
  http://jedwatson.github.io/classnames
209
211
  */
210
- (function(t) {
212
+ (function(e) {
211
213
  (function() {
212
- var i = {}.hasOwnProperty;
214
+ var o = {}.hasOwnProperty;
213
215
  function a() {
214
- for (var e = "", r = 0; r < arguments.length; r++) {
215
- var o = arguments[r];
216
- o && (e = n(e, l.call(this, o)));
216
+ for (var r = "", t = 0; t < arguments.length; t++) {
217
+ var i = arguments[t];
218
+ i && (r = p(r, n.call(this, i)));
217
219
  }
218
- return e;
220
+ return r;
219
221
  }
220
- function l(e) {
221
- if (typeof e == "string" || typeof e == "number")
222
- return this && this[e] || e;
223
- if (typeof e != "object")
222
+ function n(r) {
223
+ if (typeof r == "string" || typeof r == "number")
224
+ return this && this[r] || r;
225
+ if (typeof r != "object")
224
226
  return "";
225
- if (Array.isArray(e))
226
- return a.apply(this, e);
227
- if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
228
- return e.toString();
229
- var r = "";
230
- for (var o in e)
231
- i.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
227
+ if (Array.isArray(r))
228
+ return a.apply(this, r);
229
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
230
+ return r.toString();
231
+ var t = "";
232
+ for (var i in r)
233
+ o.call(r, i) && r[i] && (t = p(t, this && this[i] || i));
234
+ return t;
235
+ }
236
+ function p(r, t) {
237
+ return t ? r ? r + " " + t : r + t : r;
238
+ }
239
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
240
+ })();
241
+ })(or);
242
+ var Tr = or.exports;
243
+ const f = /* @__PURE__ */ qr(Tr), Pr = {
244
+ "purpur-card": "_purpur-card_5j8zb_1"
245
+ };
246
+ function zr(e) {
247
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
248
+ }
249
+ var ir = { exports: {} };
250
+ /*!
251
+ Copyright (c) 2018 Jed Watson.
252
+ Licensed under the MIT License (MIT), see
253
+ http://jedwatson.github.io/classnames
254
+ */
255
+ (function(e) {
256
+ (function() {
257
+ var o = {}.hasOwnProperty;
258
+ function a() {
259
+ for (var r = "", t = 0; t < arguments.length; t++) {
260
+ var i = arguments[t];
261
+ i && (r = p(r, n.call(this, i)));
262
+ }
232
263
  return r;
233
264
  }
234
- function n(e, r) {
235
- return r ? e ? e + " " + r : e + r : e;
265
+ function n(r) {
266
+ if (typeof r == "string" || typeof r == "number")
267
+ return this && this[r] || r;
268
+ if (typeof r != "object")
269
+ return "";
270
+ if (Array.isArray(r))
271
+ return a.apply(this, r);
272
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
273
+ return r.toString();
274
+ var t = "";
275
+ for (var i in r)
276
+ o.call(r, i) && r[i] && (t = p(t, this && this[i] || i));
277
+ return t;
278
+ }
279
+ function p(r, t) {
280
+ return t ? r ? r + " " + t : r + t : r;
236
281
  }
237
- t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
282
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
238
283
  })();
239
- })(b);
240
- var a0 = b.exports;
241
- const i0 = /* @__PURE__ */ o0(a0), n0 = {
242
- "purpur-card": "_purpur-card_172jf_1",
243
- "purpur-card__container": "_purpur-card__container_172jf_10"
244
- }, O = i0.bind(n0), E = "purpur-card", k = ({
245
- ["data-testid"]: t,
246
- children: i,
247
- className: a,
248
- containerClassName: l,
249
- ...n
250
- }) => /* @__PURE__ */ d("div", { className: O(`${E}__container`, l), children: /* @__PURE__ */ d("div", { className: O([E, a]), "data-testid": t, ...n, children: i }) });
251
- k.displayName = "Card";
252
- function l0(t) {
253
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
284
+ })(ir);
285
+ var Hr = ir.exports;
286
+ const Vr = /* @__PURE__ */ zr(Hr), Wr = {
287
+ "purpur-icon": "_purpur-icon_8u1lq_1",
288
+ "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
289
+ "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
290
+ "purpur-icon--sm": "_purpur-icon--sm_8u1lq_12",
291
+ "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
292
+ "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
293
+ "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
294
+ }, Xr = {
295
+ name: "alert",
296
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
297
+ keywords: ["alert"],
298
+ category: "status"
299
+ }, Jr = {
300
+ name: "check-circle",
301
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
302
+ keywords: ["check-circle"],
303
+ category: "status"
304
+ }, Kr = {
305
+ name: "error",
306
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
307
+ keywords: ["error"],
308
+ category: "status"
309
+ }, Qr = {
310
+ name: "info",
311
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
312
+ keywords: ["info"],
313
+ category: "status"
314
+ }, Yr = {
315
+ name: "offering",
316
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
317
+ keywords: ["offering"],
318
+ category: "other"
319
+ }, re = {
320
+ name: "question",
321
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
322
+ keywords: ["question"],
323
+ category: "status"
324
+ }, ee = Vr.bind(Wr), P = "purpur-icon", te = "md", ae = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), oe = ({ content: e = "", title: o } = {}) => {
325
+ const a = [
326
+ { name: "xmlns", value: "http://www.w3.org/2000/svg" },
327
+ { name: "fill", value: "currentColor" },
328
+ { name: "viewBox", value: "0 0 24 24" },
329
+ o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
330
+ ], n = o ? `<title>${o}</title>` : "";
331
+ return `<svg ${ae(a)}>${n}${e}</svg>`;
332
+ }, ie = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), ne = ({
333
+ ["data-testid"]: e,
334
+ svg: o,
335
+ allyTitle: a,
336
+ className: n = "",
337
+ size: p = te,
338
+ ...r
339
+ }) => {
340
+ const t = oe({
341
+ content: ie(o.svg),
342
+ title: a
343
+ }), i = ee(n, P, `${P}--${p}`);
344
+ return /* @__PURE__ */ l(
345
+ "span",
346
+ {
347
+ "aria-label": a,
348
+ className: i,
349
+ "data-testid": e,
350
+ dangerouslySetInnerHTML: { __html: t },
351
+ ...r
352
+ }
353
+ );
354
+ };
355
+ function pe(e) {
356
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
254
357
  }
255
- var M = { exports: {} };
358
+ var nr = { exports: {} };
256
359
  /*!
257
360
  Copyright (c) 2018 Jed Watson.
258
361
  Licensed under the MIT License (MIT), see
259
362
  http://jedwatson.github.io/classnames
260
363
  */
261
- (function(t) {
364
+ (function(e) {
262
365
  (function() {
263
- var i = {}.hasOwnProperty;
366
+ var o = {}.hasOwnProperty;
264
367
  function a() {
265
- for (var e = "", r = 0; r < arguments.length; r++) {
266
- var o = arguments[r];
267
- o && (e = n(e, l(o)));
368
+ for (var r = "", t = 0; t < arguments.length; t++) {
369
+ var i = arguments[t];
370
+ i && (r = p(r, n(i)));
268
371
  }
269
- return e;
372
+ return r;
270
373
  }
271
- function l(e) {
272
- if (typeof e == "string" || typeof e == "number")
273
- return e;
274
- if (typeof e != "object")
374
+ function n(r) {
375
+ if (typeof r == "string" || typeof r == "number")
376
+ return r;
377
+ if (typeof r != "object")
275
378
  return "";
276
- if (Array.isArray(e))
277
- return a.apply(null, e);
278
- if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
279
- return e.toString();
280
- var r = "";
281
- for (var o in e)
282
- i.call(e, o) && e[o] && (r = n(r, o));
379
+ if (Array.isArray(r))
380
+ return a.apply(null, r);
381
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
382
+ return r.toString();
383
+ var t = "";
384
+ for (var i in r)
385
+ o.call(r, i) && r[i] && (t = p(t, i));
386
+ return t;
387
+ }
388
+ function p(r, t) {
389
+ return t ? r ? r + " " + t : r + t : r;
390
+ }
391
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
392
+ })();
393
+ })(nr);
394
+ var le = nr.exports;
395
+ const se = /* @__PURE__ */ pe(le), z = {
396
+ "purpur-badge": "_purpur-badge_stlab_1",
397
+ "purpur-badge--attention": "_purpur-badge--attention_stlab_13",
398
+ "purpur-badge--special": "_purpur-badge--special_stlab_17",
399
+ "purpur-badge--neutral": "_purpur-badge--neutral_stlab_21",
400
+ "purpur-badge--information": "_purpur-badge--information_stlab_25",
401
+ "purpur-badge--success": "_purpur-badge--success_stlab_29",
402
+ "purpur-badge--warning": "_purpur-badge--warning_stlab_33",
403
+ "purpur-badge--error": "_purpur-badge--error_stlab_37"
404
+ }, H = "purpur-badge", v = {
405
+ ATTENTION: "attention",
406
+ SPECIAL: "special",
407
+ NEUTRAL: "neutral",
408
+ INFORMATION: "information",
409
+ SUCCESS: "success",
410
+ WARNING: "warning",
411
+ ERROR: "error"
412
+ }, ue = (e) => {
413
+ switch (e) {
414
+ case v.ATTENTION:
415
+ case v.SPECIAL:
416
+ return Yr;
417
+ case v.INFORMATION:
418
+ return Qr;
419
+ case v.SUCCESS:
420
+ return Jr;
421
+ case v.WARNING:
422
+ return Xr;
423
+ case v.ERROR:
424
+ return Kr;
425
+ case v.NEUTRAL:
426
+ return re;
427
+ default:
428
+ return;
429
+ }
430
+ }, de = ({
431
+ children: e,
432
+ showIcon: o = !0,
433
+ variant: a,
434
+ ["data-testid"]: n,
435
+ allyLabel: p,
436
+ className: r = "",
437
+ ...t
438
+ }) => {
439
+ const i = ue(a), u = se([r, z[H], z[`${H}--${a}`]]);
440
+ return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
441
+ o && i && /* @__PURE__ */ l(ne, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: i }),
442
+ e
443
+ ] });
444
+ }, ce = {
445
+ "purpur-card-badge": "_purpur-card-badge_r7moe_1"
446
+ }, _e = f.bind(ce), fe = "purpur-card-badge", he = ({
447
+ ["data-testid"]: e = "purpur-card-badge",
448
+ variant: o,
449
+ text: a
450
+ }) => o && a ? /* @__PURE__ */ l(
451
+ de,
452
+ {
453
+ className: _e(fe),
454
+ variant: o,
455
+ showIcon: !1,
456
+ "data-testid": e,
457
+ children: a
458
+ }
459
+ ) : null, ge = {
460
+ "purpur-card-content": "_purpur-card-content_2uc00_1"
461
+ }, me = f.bind(ge), ve = "purpur-card-content", ye = ({
462
+ ["data-testid"]: e = "purpur-card-content",
463
+ children: o
464
+ }) => /* @__PURE__ */ l("div", { className: me(ve), "data-testid": e, children: o }), we = {
465
+ "purpur-card-content-container": "_purpur-card-content-container_dx1e4_1",
466
+ "purpur-card-content-container--footer": "_purpur-card-content-container--footer_dx1e4_7"
467
+ }, xe = f.bind(we), V = "purpur-card-content-container", be = ({
468
+ ["data-testid"]: e = "purpur-card-content-container",
469
+ children: o,
470
+ isFooter: a = !1
471
+ }) => /* @__PURE__ */ l(
472
+ "div",
473
+ {
474
+ className: xe([
475
+ V,
476
+ {
477
+ [`${V}--footer`]: a
478
+ }
479
+ ]),
480
+ "data-testid": e,
481
+ children: o
482
+ }
483
+ );
484
+ function Ce(e) {
485
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
486
+ }
487
+ var pr = { exports: {} };
488
+ /*!
489
+ Copyright (c) 2018 Jed Watson.
490
+ Licensed under the MIT License (MIT), see
491
+ http://jedwatson.github.io/classnames
492
+ */
493
+ (function(e) {
494
+ (function() {
495
+ var o = {}.hasOwnProperty;
496
+ function a() {
497
+ for (var r = "", t = 0; t < arguments.length; t++) {
498
+ var i = arguments[t];
499
+ i && (r = p(r, n.call(this, i)));
500
+ }
283
501
  return r;
284
502
  }
285
- function n(e, r) {
286
- return r ? e ? e + " " + r : e + r : e;
503
+ function n(r) {
504
+ if (typeof r == "string" || typeof r == "number")
505
+ return this && this[r] || r;
506
+ if (typeof r != "object")
507
+ return "";
508
+ if (Array.isArray(r))
509
+ return a.apply(this, r);
510
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
511
+ return r.toString();
512
+ var t = "";
513
+ for (var i in r)
514
+ o.call(r, i) && r[i] && (t = p(t, this && this[i] || i));
515
+ return t;
516
+ }
517
+ function p(r, t) {
518
+ return t ? r ? r + " " + t : r + t : r;
287
519
  }
288
- t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
520
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
289
521
  })();
290
- })(M);
291
- var s0 = M.exports;
292
- const p0 = /* @__PURE__ */ l0(s0), v = {
522
+ })(pr);
523
+ var Se = pr.exports;
524
+ const Fe = /* @__PURE__ */ Ce(Se), Ae = {
525
+ "purpur-icon": "_purpur-icon_8u1lq_1",
526
+ "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
527
+ "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
528
+ "purpur-icon--sm": "_purpur-icon--sm_8u1lq_12",
529
+ "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
530
+ "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
531
+ "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
532
+ }, ke = {
533
+ name: "arrow-right",
534
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
535
+ keywords: ["arrow-right"],
536
+ category: "utility"
537
+ }, Oe = {
538
+ name: "checkmark",
539
+ svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',
540
+ keywords: ["checkmark"],
541
+ category: "utility"
542
+ }, lr = (e) => /* @__PURE__ */ l(
543
+ ur,
544
+ {
545
+ ...e,
546
+ svg: ke
547
+ }
548
+ );
549
+ lr.displayName = "IconArrowRight";
550
+ const sr = (e) => /* @__PURE__ */ l(
551
+ ur,
552
+ {
553
+ ...e,
554
+ svg: Oe
555
+ }
556
+ );
557
+ sr.displayName = "IconCheckmark";
558
+ const Be = Fe.bind(Ae), W = "purpur-icon", $e = "md", Ee = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Ne = ({ content: e = "", title: o } = {}) => {
559
+ const a = [
560
+ { name: "xmlns", value: "http://www.w3.org/2000/svg" },
561
+ { name: "fill", value: "currentColor" },
562
+ { name: "viewBox", value: "0 0 24 24" },
563
+ o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
564
+ ], n = o ? `<title>${o}</title>` : "";
565
+ return `<svg ${Ee(a)}>${n}${e}</svg>`;
566
+ }, Ge = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), ur = ({
567
+ ["data-testid"]: e,
568
+ svg: o,
569
+ allyTitle: a,
570
+ className: n = "",
571
+ size: p = $e,
572
+ ...r
573
+ }) => {
574
+ const t = Ne({
575
+ content: Ge(o.svg),
576
+ title: a
577
+ }), i = Be(n, W, `${W}--${p}`);
578
+ return /* @__PURE__ */ l(
579
+ "span",
580
+ {
581
+ "aria-label": a,
582
+ className: i,
583
+ "data-testid": e,
584
+ dangerouslySetInnerHTML: { __html: t },
585
+ ...r
586
+ }
587
+ );
588
+ };
589
+ function Me(e) {
590
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
591
+ }
592
+ var dr = { exports: {} };
593
+ /*!
594
+ Copyright (c) 2018 Jed Watson.
595
+ Licensed under the MIT License (MIT), see
596
+ http://jedwatson.github.io/classnames
597
+ */
598
+ (function(e) {
599
+ (function() {
600
+ var o = {}.hasOwnProperty;
601
+ function a() {
602
+ for (var r = "", t = 0; t < arguments.length; t++) {
603
+ var i = arguments[t];
604
+ i && (r = p(r, n(i)));
605
+ }
606
+ return r;
607
+ }
608
+ function n(r) {
609
+ if (typeof r == "string" || typeof r == "number")
610
+ return r;
611
+ if (typeof r != "object")
612
+ return "";
613
+ if (Array.isArray(r))
614
+ return a.apply(null, r);
615
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
616
+ return r.toString();
617
+ var t = "";
618
+ for (var i in r)
619
+ o.call(r, i) && r[i] && (t = p(t, i));
620
+ return t;
621
+ }
622
+ function p(r, t) {
623
+ return t ? r ? r + " " + t : r + t : r;
624
+ }
625
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
626
+ })();
627
+ })(dr);
628
+ var Ze = dr.exports;
629
+ const Ue = /* @__PURE__ */ Me(Ze), A = {
630
+ "purpur-paragraph": "_purpur-paragraph_1rh57_1",
631
+ "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
632
+ "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
633
+ "purpur-paragraph--negative": "_purpur-paragraph--negative_1rh57_13",
634
+ "purpur-paragraph--paragraph-100": "_purpur-paragraph--paragraph-100_1rh57_16",
635
+ "purpur-paragraph--paragraph-100-medium": "_purpur-paragraph--paragraph-100-medium_1rh57_22",
636
+ "purpur-paragraph--paragraph-100-bold": "_purpur-paragraph--paragraph-100-bold_1rh57_29",
637
+ "purpur-paragraph--paragraph-200": "_purpur-paragraph--paragraph-200_1rh57_36",
638
+ "purpur-paragraph--preamble-100": "_purpur-paragraph--preamble-100_1rh57_42",
639
+ "purpur-paragraph--preamble-200": "_purpur-paragraph--preamble-200_1rh57_48",
640
+ "purpur-paragraph--additional-100": "_purpur-paragraph--additional-100_1rh57_54",
641
+ "purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
642
+ "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
643
+ "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
644
+ }, Ie = {
645
+ PARAGRAPH100: "paragraph-100",
646
+ PARAGRAPH100MEDIUM: "paragraph-100-medium",
647
+ PARAGRAPH100BOLD: "paragraph-100-bold",
648
+ PARAGRAPH200: "paragraph-200",
649
+ PREAMBLE100: "preamble-100",
650
+ PREAMBLE200: "preamble-200",
651
+ ADDITIONAL100: "additional-100",
652
+ ADDITIONAL100MEDIUM: "additional-100-medium",
653
+ OVERLINE100: "overline-100",
654
+ OVERLINE200: "overline-200"
655
+ }, k = "purpur-paragraph", cr = ({
656
+ ["data-testid"]: e,
657
+ children: o,
658
+ className: a = "",
659
+ disabled: n,
660
+ enableHyphenation: p = !1,
661
+ negative: r = !1,
662
+ variant: t = Ie.PARAGRAPH100,
663
+ ...i
664
+ }) => {
665
+ const u = Ue([
666
+ a,
667
+ A[k],
668
+ A[`${k}--${t}`],
669
+ {
670
+ [A[`${k}--hyphens`]]: p,
671
+ [A[`${k}--disabled`]]: n,
672
+ [A[`${k}--negative`]]: r
673
+ }
674
+ ]);
675
+ return /* @__PURE__ */ l("p", { ...i, className: u, "data-testid": e, children: o });
676
+ }, je = {
677
+ "purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
678
+ "purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
679
+ }, X = f.bind(je), J = "purpur-card-feature-list", Re = ({
680
+ ["data-testid"]: e = "purpur-card-feature-list",
681
+ listItems: o
682
+ }) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className: X(J), "data-testid": e, children: o.map((a) => /* @__PURE__ */ _(
683
+ "li",
684
+ {
685
+ className: X(`${J}__list-item`),
686
+ "data-testid": `${e}-item`,
687
+ children: [
688
+ /* @__PURE__ */ l(sr, { size: "xs" }),
689
+ /* @__PURE__ */ l(cr, { children: a })
690
+ ]
691
+ },
692
+ a
693
+ )) }) : null;
694
+ function De(e) {
695
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
696
+ }
697
+ var _r = { exports: {} };
698
+ /*!
699
+ Copyright (c) 2018 Jed Watson.
700
+ Licensed under the MIT License (MIT), see
701
+ http://jedwatson.github.io/classnames
702
+ */
703
+ (function(e) {
704
+ (function() {
705
+ var o = {}.hasOwnProperty;
706
+ function a() {
707
+ for (var r = "", t = 0; t < arguments.length; t++) {
708
+ var i = arguments[t];
709
+ i && (r = p(r, n(i)));
710
+ }
711
+ return r;
712
+ }
713
+ function n(r) {
714
+ if (typeof r == "string" || typeof r == "number")
715
+ return r;
716
+ if (typeof r != "object")
717
+ return "";
718
+ if (Array.isArray(r))
719
+ return a.apply(null, r);
720
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
721
+ return r.toString();
722
+ var t = "";
723
+ for (var i in r)
724
+ o.call(r, i) && r[i] && (t = p(t, i));
725
+ return t;
726
+ }
727
+ function p(r, t) {
728
+ return t ? r ? r + " " + t : r + t : r;
729
+ }
730
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
731
+ })();
732
+ })(_r);
733
+ var Le = _r.exports;
734
+ const K = /* @__PURE__ */ De(Le), qe = "_rotate_1xozj_1", Te = "_dash_1xozj_1", O = {
735
+ "purpur-spinner": "_purpur-spinner_1xozj_1",
736
+ rotate: qe,
737
+ "purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
738
+ "purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
739
+ "purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
740
+ "purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
741
+ "purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
742
+ "purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
743
+ dash: Te,
744
+ "purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
745
+ "purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
746
+ }, B = "purpur-spinner", Pe = {
747
+ XXS: "xxs",
748
+ XS: "xs",
749
+ SM: "sm",
750
+ MD: "md",
751
+ LG: "lg"
752
+ }, ze = ({
753
+ ["data-testid"]: e,
754
+ disabled: o = !1,
755
+ negative: a = !1,
756
+ size: n = Pe.SM,
757
+ ...p
758
+ }) => /* @__PURE__ */ l(
759
+ "div",
760
+ {
761
+ className: K([O[B], O[`${B}--${n}`]]),
762
+ "data-testid": e,
763
+ ...p,
764
+ children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
765
+ "circle",
766
+ {
767
+ className: K(O[`${B}__circle`], {
768
+ [O[`${B}__circle--disabled`]]: o,
769
+ [O[`${B}__circle--negative`]]: a
770
+ }),
771
+ cx: "25",
772
+ cy: "25",
773
+ r: "20"
774
+ }
775
+ ) })
776
+ }
777
+ ), He = {
778
+ "purpur-card-link-arrow": "_purpur-card-link-arrow_1r4zu_1",
779
+ "purpur-card-link-arrow--sm": "_purpur-card-link-arrow--sm_1r4zu_33",
780
+ "purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_1r4zu_36",
781
+ "purpur-card-link-arrow--md": "_purpur-card-link-arrow--md_1r4zu_39",
782
+ "purpur-card-link-arrow--lg": "_purpur-card-link-arrow--lg_1r4zu_45",
783
+ "purpur-card-link-arrow--full-width": "_purpur-card-link-arrow--full-width_1r4zu_51",
784
+ "purpur-card-link-arrow--primary": "_purpur-card-link-arrow--primary_1r4zu_54",
785
+ "purpur-card-link-arrow--disabled": "_purpur-card-link-arrow--disabled_1r4zu_58",
786
+ "purpur-card-link-arrow--primary-negative": "_purpur-card-link-arrow--primary-negative_1r4zu_64",
787
+ "purpur-card-link-arrow--secondary": "_purpur-card-link-arrow--secondary_1r4zu_76",
788
+ "purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_1r4zu_87",
789
+ "purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_1r4zu_98",
790
+ "purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_1r4zu_108"
791
+ }, Ve = f.bind(He), x = "purpur-card-link-arrow", We = ({
792
+ ["data-testid"]: e = "purpur-card-link-arrow",
793
+ className: o,
794
+ disabled: a = !1,
795
+ loading: n = !1,
796
+ ...p
797
+ }) => /* @__PURE__ */ l(
798
+ "div",
799
+ {
800
+ className: `${Ve([
801
+ x,
802
+ o,
803
+ `${x}--md`,
804
+ `${x}--icon-only`,
805
+ `${x}--secondary`,
806
+ {
807
+ [`${x}--disabled`]: a
808
+ }
809
+ ])} ${x}`,
810
+ "data-testid": e,
811
+ ...p,
812
+ children: n ? /* @__PURE__ */ l(ze, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(lr, { "data-testid": `${e}-arrow`, size: "md" })
813
+ }
814
+ ), Xe = {
815
+ "purpur-card-overline": "_purpur-card-overline_142el_1"
816
+ }, Je = f.bind(Xe), Ke = "purpur-card-overline", Qe = ({
817
+ ["data-testid"]: e = "purpur-card-overline",
818
+ overline: o
819
+ }) => o ? /* @__PURE__ */ l(cr, { className: Je(Ke), "data-testid": e, children: o }) : null, Ye = {
820
+ "purpur-card-root": "_purpur-card-root_bqk1d_1",
821
+ "purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
822
+ "purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
823
+ "purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
824
+ }, rt = {
825
+ "purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
826
+ "purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
827
+ "purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
828
+ };
829
+ function b() {
830
+ return b = Object.assign ? Object.assign.bind() : function(e) {
831
+ for (var o = 1; o < arguments.length; o++) {
832
+ var a = arguments[o];
833
+ for (var n in a)
834
+ Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n]);
835
+ }
836
+ return e;
837
+ }, b.apply(this, arguments);
838
+ }
839
+ function et(e, o) {
840
+ typeof e == "function" ? e(o) : e != null && (e.current = o);
841
+ }
842
+ function tt(...e) {
843
+ return (o) => e.forEach(
844
+ (a) => et(a, o)
845
+ );
846
+ }
847
+ const fr = /* @__PURE__ */ N((e, o) => {
848
+ const { children: a, ...n } = e, p = $.toArray(a), r = p.find(ot);
849
+ if (r) {
850
+ const t = r.props.children, i = p.map((u) => u === r ? $.count(t) > 1 ? $.only(null) : /* @__PURE__ */ U(t) ? t.props.children : null : u);
851
+ return /* @__PURE__ */ E(D, b({}, n, {
852
+ ref: o
853
+ }), /* @__PURE__ */ U(t) ? /* @__PURE__ */ er(t, void 0, i) : null);
854
+ }
855
+ return /* @__PURE__ */ E(D, b({}, n, {
856
+ ref: o
857
+ }), a);
858
+ });
859
+ fr.displayName = "Slot";
860
+ const D = /* @__PURE__ */ N((e, o) => {
861
+ const { children: a, ...n } = e;
862
+ return /* @__PURE__ */ U(a) ? /* @__PURE__ */ er(a, {
863
+ ...it(n, a.props),
864
+ ref: o ? tt(o, a.ref) : a.ref
865
+ }) : $.count(a) > 1 ? $.only(null) : null;
866
+ });
867
+ D.displayName = "SlotClone";
868
+ const at = ({ children: e }) => /* @__PURE__ */ E(wr, null, e);
869
+ function ot(e) {
870
+ return /* @__PURE__ */ U(e) && e.type === at;
871
+ }
872
+ function it(e, o) {
873
+ const a = {
874
+ ...o
875
+ };
876
+ for (const n in o) {
877
+ const p = e[n], r = o[n];
878
+ /^on[A-Z]/.test(n) ? p && r ? a[n] = (...t) => {
879
+ r(...t), p(...t);
880
+ } : p && (a[n] = p) : n === "style" ? a[n] = {
881
+ ...p,
882
+ ...r
883
+ } : n === "className" && (a[n] = [
884
+ p,
885
+ r
886
+ ].filter(Boolean).join(" "));
887
+ }
888
+ return {
889
+ ...e,
890
+ ...a
891
+ };
892
+ }
893
+ const nt = [
894
+ "a",
895
+ "button",
896
+ "div",
897
+ "form",
898
+ "h2",
899
+ "h3",
900
+ "img",
901
+ "input",
902
+ "label",
903
+ "li",
904
+ "nav",
905
+ "ol",
906
+ "p",
907
+ "span",
908
+ "svg",
909
+ "ul"
910
+ ], pt = nt.reduce((e, o) => {
911
+ const a = /* @__PURE__ */ N((n, p) => {
912
+ const { asChild: r, ...t } = n, i = r ? fr : o;
913
+ return yr(() => {
914
+ window[Symbol.for("radix-ui")] = !0;
915
+ }, []), /* @__PURE__ */ E(i, b({}, t, {
916
+ ref: p
917
+ }));
918
+ });
919
+ return a.displayName = `Primitive.${o}`, {
920
+ ...e,
921
+ [o]: a
922
+ };
923
+ }, {}), lt = /* @__PURE__ */ N((e, o) => /* @__PURE__ */ E(pt.span, b({}, e, {
924
+ ref: o,
925
+ style: {
926
+ // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
927
+ position: "absolute",
928
+ border: 0,
929
+ width: 1,
930
+ height: 1,
931
+ padding: 0,
932
+ margin: -1,
933
+ overflow: "hidden",
934
+ clip: "rect(0, 0, 0, 0)",
935
+ whiteSpace: "nowrap",
936
+ wordWrap: "normal",
937
+ ...e.style
938
+ }
939
+ }))), st = lt, Q = ({
940
+ asChild: e,
941
+ children: o,
942
+ className: a = "",
943
+ ["data-testid"]: n
944
+ }) => /* @__PURE__ */ l(st, { asChild: e, "data-testid": n, className: a, children: o }), Y = f.bind(rt), y = "purpur-card-trigger-item", ut = ({
945
+ ["data-testid"]: e = "purpur-card-trigger-item",
946
+ disabled: o = !1,
947
+ href: a,
948
+ onClick: n,
949
+ screenReaderText: p
950
+ }) => {
951
+ const r = (i) => {
952
+ o ? i.preventDefault() : n && n();
953
+ }, t = `${y} ${o ? `${y}--disabled` : ""}`;
954
+ return a ? (
955
+ // eslint-disable-next-line jsx-a11y/anchor-is-valid
956
+ /* @__PURE__ */ l(
957
+ "a",
958
+ {
959
+ "aria-disabled": o,
960
+ className: `${Y([
961
+ y,
962
+ {
963
+ [`${y}--disabled`]: o
964
+ }
965
+ ])} ${t}`,
966
+ "data-testid": e,
967
+ href: o ? void 0 : a,
968
+ tabIndex: o ? 0 : void 0,
969
+ children: /* @__PURE__ */ l(Q, { children: p })
970
+ }
971
+ )
972
+ ) : /* @__PURE__ */ l(
973
+ "button",
974
+ {
975
+ "aria-disabled": o,
976
+ className: `${Y([
977
+ y,
978
+ `${y}--button`,
979
+ {
980
+ [`${y}--disabled`]: o
981
+ }
982
+ ])} ${t}`,
983
+ "data-testid": e,
984
+ type: "button",
985
+ onClick: r,
986
+ children: /* @__PURE__ */ l(Q, { children: p })
987
+ }
988
+ );
989
+ }, dt = f.bind(Ye), j = "purpur-card-root", hr = N(
990
+ ({
991
+ ["data-testid"]: e = "purpur-card-root",
992
+ children: o,
993
+ className: a,
994
+ disabled: n,
995
+ fullHeight: p,
996
+ href: r,
997
+ onClick: t,
998
+ screenReaderText: i,
999
+ variant: u,
1000
+ ...C
1001
+ }, d) => {
1002
+ const w = dt([
1003
+ j,
1004
+ a,
1005
+ {
1006
+ [`${j}--${u}`]: u,
1007
+ [`${j}--full-height`]: p
1008
+ }
1009
+ ]);
1010
+ return /* @__PURE__ */ _("div", { className: w, "data-testid": e, ref: d, ...C, children: [
1011
+ o,
1012
+ (t || r) && i && /* @__PURE__ */ l(
1013
+ ut,
1014
+ {
1015
+ disabled: n,
1016
+ href: r,
1017
+ onClick: t,
1018
+ screenReaderText: i
1019
+ }
1020
+ )
1021
+ ] });
1022
+ }
1023
+ );
1024
+ hr.displayName = "CardRoot";
1025
+ const rr = f.bind(Pr), R = "purpur-card", g = ({ children: e, className: o, ...a }) => {
1026
+ const n = rr([
1027
+ R,
1028
+ o,
1029
+ {
1030
+ [`${R}--is-interactive`]: a.onClick || a.href,
1031
+ [`${R}--disabled`]: a.disabled
1032
+ }
1033
+ ]);
1034
+ return /* @__PURE__ */ l(hr, { className: rr(n), ...a, children: e });
1035
+ };
1036
+ g.Badge = he;
1037
+ g.LinkArrow = We;
1038
+ g.Content = ye;
1039
+ g.ContentContainer = be;
1040
+ g.FeatureList = Re;
1041
+ g.Overline = Qe;
1042
+ g.displayName = "Card";
1043
+ function ct(e) {
1044
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1045
+ }
1046
+ var gr = { exports: {} };
1047
+ /*!
1048
+ Copyright (c) 2018 Jed Watson.
1049
+ Licensed under the MIT License (MIT), see
1050
+ http://jedwatson.github.io/classnames
1051
+ */
1052
+ (function(e) {
1053
+ (function() {
1054
+ var o = {}.hasOwnProperty;
1055
+ function a() {
1056
+ for (var r = "", t = 0; t < arguments.length; t++) {
1057
+ var i = arguments[t];
1058
+ i && (r = p(r, n(i)));
1059
+ }
1060
+ return r;
1061
+ }
1062
+ function n(r) {
1063
+ if (typeof r == "string" || typeof r == "number")
1064
+ return r;
1065
+ if (typeof r != "object")
1066
+ return "";
1067
+ if (Array.isArray(r))
1068
+ return a.apply(null, r);
1069
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
1070
+ return r.toString();
1071
+ var t = "";
1072
+ for (var i in r)
1073
+ o.call(r, i) && r[i] && (t = p(t, i));
1074
+ return t;
1075
+ }
1076
+ function p(r, t) {
1077
+ return t ? r ? r + " " + t : r + t : r;
1078
+ }
1079
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
1080
+ })();
1081
+ })(gr);
1082
+ var _t = gr.exports;
1083
+ const ft = /* @__PURE__ */ ct(_t), M = {
293
1084
  "purpur-heading": "_purpur-heading_k9fhq_1",
294
1085
  "purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
295
1086
  "purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
@@ -305,7 +1096,7 @@ const p0 = /* @__PURE__ */ l0(s0), v = {
305
1096
  "purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
306
1097
  "purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
307
1098
  "purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
308
- }, d0 = {
1099
+ }, ht = {
309
1100
  TITLE100: "title-100",
310
1101
  TITLE200: "title-200",
311
1102
  TITLE300: "title-300",
@@ -314,68 +1105,68 @@ const p0 = /* @__PURE__ */ l0(s0), v = {
314
1105
  TITLE600: "title-600",
315
1106
  TITLE700: "title-700",
316
1107
  SUBSECTION100: "subsection-100"
317
- }, w = "purpur-heading", u0 = ({
318
- ["data-testid"]: t,
319
- children: i,
1108
+ }, Z = "purpur-heading", gt = ({
1109
+ ["data-testid"]: e,
1110
+ children: o,
320
1111
  className: a = "",
321
- enableHyphenation: l = !1,
322
- negative: n = !1,
323
- tag: e,
324
- variant: r = d0.TITLE100,
325
- ...o
1112
+ enableHyphenation: n = !1,
1113
+ negative: p = !1,
1114
+ tag: r,
1115
+ variant: t = ht.TITLE100,
1116
+ ...i
326
1117
  }) => {
327
- const h = e, C = p0([
1118
+ const u = r, C = ft([
328
1119
  a,
329
- v[w],
330
- v[`${w}--${r}`],
1120
+ M[Z],
1121
+ M[`${Z}--${t}`],
331
1122
  {
332
- [v[`${w}--hyphens`]]: l,
333
- [v[`${w}--negative`]]: n
1123
+ [M[`${Z}--hyphens`]]: n,
1124
+ [M[`${Z}--negative`]]: p
334
1125
  }
335
1126
  ]);
336
- return /* @__PURE__ */ d(h, { ...o, className: C, "data-testid": t, children: i });
1127
+ return /* @__PURE__ */ l(u, { ...i, className: C, "data-testid": e, children: o });
337
1128
  };
338
- function c0(t) {
339
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1129
+ function mt(e) {
1130
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
340
1131
  }
341
- var I = { exports: {} };
1132
+ var mr = { exports: {} };
342
1133
  /*!
343
1134
  Copyright (c) 2018 Jed Watson.
344
1135
  Licensed under the MIT License (MIT), see
345
1136
  http://jedwatson.github.io/classnames
346
1137
  */
347
- (function(t) {
1138
+ (function(e) {
348
1139
  (function() {
349
- var i = {}.hasOwnProperty;
1140
+ var o = {}.hasOwnProperty;
350
1141
  function a() {
351
- for (var e = "", r = 0; r < arguments.length; r++) {
352
- var o = arguments[r];
353
- o && (e = n(e, l.call(this, o)));
1142
+ for (var r = "", t = 0; t < arguments.length; t++) {
1143
+ var i = arguments[t];
1144
+ i && (r = p(r, n.call(this, i)));
354
1145
  }
355
- return e;
1146
+ return r;
356
1147
  }
357
- function l(e) {
358
- if (typeof e == "string" || typeof e == "number")
359
- return this && this[e] || e;
360
- if (typeof e != "object")
1148
+ function n(r) {
1149
+ if (typeof r == "string" || typeof r == "number")
1150
+ return this && this[r] || r;
1151
+ if (typeof r != "object")
361
1152
  return "";
362
- if (Array.isArray(e))
363
- return a.apply(this, e);
364
- if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
365
- return e.toString();
366
- var r = "";
367
- for (var o in e)
368
- i.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
369
- return r;
1153
+ if (Array.isArray(r))
1154
+ return a.apply(this, r);
1155
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
1156
+ return r.toString();
1157
+ var t = "";
1158
+ for (var i in r)
1159
+ o.call(r, i) && r[i] && (t = p(t, this && this[i] || i));
1160
+ return t;
370
1161
  }
371
- function n(e, r) {
372
- return r ? e ? e + " " + r : e + r : e;
1162
+ function p(r, t) {
1163
+ return t ? r ? r + " " + t : r + t : r;
373
1164
  }
374
- t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
1165
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
375
1166
  })();
376
- })(I);
377
- var f0 = I.exports;
378
- const _0 = /* @__PURE__ */ c0(f0), h0 = {
1167
+ })(mr);
1168
+ var vt = mr.exports;
1169
+ const yt = /* @__PURE__ */ mt(vt), wt = {
379
1170
  "purpur-promotion-card": "_purpur-promotion-card_1msg9_1",
380
1171
  "purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1msg9_8",
381
1172
  "purpur-promotion-card--with-image": "_purpur-promotion-card--with-image_1msg9_28",
@@ -392,121 +1183,121 @@ const _0 = /* @__PURE__ */ c0(f0), h0 = {
392
1183
  "purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1msg9_122",
393
1184
  "purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1msg9_125",
394
1185
  "purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1msg9_126"
395
- }, w0 = ["primary", "secondary", "quaternary"], g0 = {
1186
+ }, Ot = ["primary", "secondary", "quaternary"], xt = {
396
1187
  primary: "var(--purpur-color-background-tone-on-tone-primary)",
397
1188
  secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
398
1189
  quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
399
- }, m0 = {
1190
+ }, bt = {
400
1191
  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>')`,
401
1192
  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>')`,
402
1193
  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>')`
403
- }, y0 = {
1194
+ }, Ct = {
404
1195
  primary: "var(--purpur-color-text-tone-on-tone-primary)",
405
1196
  secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
406
1197
  quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
407
- }, p = _0.bind(h0), s = "purpur-promotion-card", x0 = ({
408
- ["data-testid"]: t,
409
- variant: i = "primary",
1198
+ }, c = yt.bind(wt), s = "purpur-promotion-card", St = ({
1199
+ ["data-testid"]: e,
1200
+ variant: o = "primary",
410
1201
  badgeText: a,
411
- badgeIcon: l,
412
- title: n,
413
- titleTag: e = "h2",
414
- titleVariant: r = "title-300",
415
- className: o,
416
- children: h,
1202
+ badgeIcon: n,
1203
+ title: p,
1204
+ titleTag: r = "h2",
1205
+ titleVariant: t = "title-300",
1206
+ className: i,
1207
+ children: u,
417
1208
  style: C,
418
- ...u
1209
+ ...d
419
1210
  }) => {
420
- let y = u, c, x;
421
- if ("decorativeImage" in u) {
422
- const { hasGradient: g, decorativeImage: m, ...S } = u;
423
- c = m, x = g, y = S;
424
- } else if ("productImage" in u) {
425
- const { hasGradient: g, productImage: m, ...S } = u;
426
- c = m, x = g, y = S;
427
- } else if ("hasGradient" in u) {
428
- const { hasGradient: g, ...m } = u;
429
- x = g, y = m;
1211
+ let w = d, h, G;
1212
+ if ("decorativeImage" in d) {
1213
+ const { hasGradient: S, decorativeImage: F, ...I } = d;
1214
+ h = F, G = S, w = I;
1215
+ } else if ("productImage" in d) {
1216
+ const { hasGradient: S, productImage: F, ...I } = d;
1217
+ h = F, G = S, w = I;
1218
+ } else if ("hasGradient" in d) {
1219
+ const { hasGradient: S, ...F } = d;
1220
+ G = S, w = F;
430
1221
  }
431
- const Z = {
432
- "--promotion-card-background": g0[i],
433
- "--promotion-card-color": y0[i],
434
- "--promotion-card-background-image": m0[i]
1222
+ const vr = {
1223
+ "--promotion-card-background": xt[o],
1224
+ "--promotion-card-color": Ct[o],
1225
+ "--promotion-card-background-image": bt[o]
435
1226
  };
436
- return /* @__PURE__ */ d(
437
- k,
1227
+ return /* @__PURE__ */ l(
1228
+ g,
438
1229
  {
439
- className: p(`${s}__card`),
440
- containerClassName: p(`${s}__card-container`),
1230
+ className: c(`${s}__card`),
1231
+ containerClassName: c(`${s}__card-container`),
441
1232
  children: /* @__PURE__ */ _(
442
1233
  "div",
443
1234
  {
444
- "data-testid": t,
1235
+ "data-testid": e,
445
1236
  style: {
446
- ...Z,
1237
+ ...vr,
447
1238
  ...C
448
1239
  },
449
- className: p([
450
- o,
1240
+ className: c([
1241
+ i,
451
1242
  s,
452
- `${s}--${i}`,
1243
+ `${s}--${o}`,
453
1244
  {
454
- [`${s}--with-image`]: c,
455
- [`${s}--without-image`]: !c
1245
+ [`${s}--with-image`]: h,
1246
+ [`${s}--without-image`]: !h
456
1247
  }
457
1248
  ]),
458
- ...y,
1249
+ ...w,
459
1250
  children: [
460
1251
  /* @__PURE__ */ _(
461
1252
  "div",
462
1253
  {
463
- className: p([
1254
+ className: c([
464
1255
  `${s}__content`,
465
1256
  {
466
- [`${s}__content--with-image`]: c,
467
- [`${s}__content--without-image`]: !c
1257
+ [`${s}__content--with-image`]: h,
1258
+ [`${s}__content--without-image`]: !h
468
1259
  }
469
1260
  ]),
470
1261
  children: [
471
- a && /* @__PURE__ */ d("div", { "data-testid": "badgeWrapper", className: p(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(t0, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
472
- l && l,
1262
+ a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: c(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(Lr, { variant: o === "primary" ? "special" : "attention", showIcon: !1, children: [
1263
+ n && n,
473
1264
  a
474
1265
  ] }) }),
475
- /* @__PURE__ */ _("div", { className: p(`${s}__main-content`), children: [
476
- /* @__PURE__ */ d(
477
- u0,
1266
+ /* @__PURE__ */ _("div", { className: c(`${s}__main-content`), children: [
1267
+ /* @__PURE__ */ l(
1268
+ gt,
478
1269
  {
479
- tag: e,
480
- variant: r,
1270
+ tag: r,
1271
+ variant: t,
481
1272
  enableHyphenation: !0,
482
- className: p(`${s}__heading`),
483
- children: n
1273
+ className: c(`${s}__heading`),
1274
+ children: p
484
1275
  }
485
1276
  ),
486
- /* @__PURE__ */ d("div", { className: p(`${s}__body`), children: h })
1277
+ /* @__PURE__ */ l("div", { className: c(`${s}__body`), children: u })
487
1278
  ] })
488
1279
  ]
489
1280
  }
490
1281
  ),
491
- c && /* @__PURE__ */ _(
1282
+ h && /* @__PURE__ */ _(
492
1283
  "div",
493
1284
  {
494
- className: p([
1285
+ className: c([
495
1286
  `${s}__image-wrapper`,
496
1287
  {
497
- [`${s}__image-wrapper--product`]: "productImage" in u,
498
- [`${s}__image-wrapper--decorative`]: "decorativeImage" in u
1288
+ [`${s}__image-wrapper--product`]: "productImage" in d,
1289
+ [`${s}__image-wrapper--decorative`]: "decorativeImage" in d
499
1290
  }
500
1291
  ]),
501
1292
  children: [
502
- x && /* @__PURE__ */ d(
1293
+ G && /* @__PURE__ */ l(
503
1294
  "div",
504
1295
  {
505
- className: p(`${s}__image-gradient`),
1296
+ className: c(`${s}__image-gradient`),
506
1297
  "data-testid": "promotion-card-gradient"
507
1298
  }
508
1299
  ),
509
- c
1300
+ h
510
1301
  ]
511
1302
  }
512
1303
  )
@@ -516,9 +1307,9 @@ const _0 = /* @__PURE__ */ c0(f0), h0 = {
516
1307
  }
517
1308
  );
518
1309
  };
519
- x0.displayName = "PromotionCard";
1310
+ St.displayName = "PromotionCard";
520
1311
  export {
521
- x0 as PromotionCard,
522
- w0 as promotionCardVariants
1312
+ St as PromotionCard,
1313
+ Ot as promotionCardVariants
523
1314
  };
524
1315
  //# sourceMappingURL=promotion-card.es.js.map