@zenpatient-org/healthspan-marketing-ui 0.1.8 → 0.1.9
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/components/ContentTabs/ContentTabs.d.ts +9 -8
- package/dist/components/ContentTabs/index.d.ts +1 -1
- package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +12 -0
- package/dist/components/HighlightedTitle/index.d.ts +1 -0
- package/dist/components/Icon/constants.d.ts +0 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +2 -6
- package/dist/components/TypeBadge/index.d.ts +1 -1
- package/dist/components/Typography/Typography.d.ts +4 -3
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/index.d.ts +5 -5
- package/dist/healthspan-ui.es.js +475 -400
- package/dist/healthspan-ui.es.js.map +1 -1
- package/dist/healthspan-ui.umd.js +5 -5
- package/dist/healthspan-ui.umd.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/modules/TotalCare/TotalCare.d.ts +16 -0
- package/dist/modules/TotalCare/index.d.ts +1 -0
- package/dist/modules/index.d.ts +1 -0
- package/dist/types/common.d.ts +1 -0
- package/package.json +1 -1
package/dist/healthspan-ui.es.js
CHANGED
|
@@ -1,38 +1,65 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
displayXl:
|
|
5
|
-
displayLg:
|
|
6
|
-
displayMd:
|
|
7
|
-
displaySm:
|
|
1
|
+
import * as y from "react";
|
|
2
|
+
import ve, { memo as Re, useState as U, useLayoutEffect as ke, createElement as we, forwardRef as Se, useMemo as Te } from "react";
|
|
3
|
+
const xe = "typography-module__displayXl___dx4Dh", je = "typography-module__displayLg___3BQI2", Ce = "typography-module__displayMd___-bNBw", Le = "typography-module__displaySm___BswNI", Ae = "typography-module__displayXs___jcmVJ", Ee = "typography-module__headingXl___nAQFD", Oe = "typography-module__headingLg___Idt-Z", Me = "typography-module__headingMd___c-Q0B", Pe = "typography-module__headingSm___Q6zoR", Xe = "typography-module__headingXs___fwDFl", Ne = "typography-module__headingXxs___ghw1N", We = "typography-module__preambleMd___CbYgI", $e = "typography-module__preambleSm___yKGjq", Fe = "typography-module__bodyXl___m92AP", De = "typography-module__bodyLg___Fz-Fo", Ve = "typography-module__bodyMd___aH0Ph", Ge = "typography-module__bodySm___4-7TJ", Ye = "typography-module__bodyXs___uTpSs", He = "typography-module__linkLg___xVngm", Ue = "typography-module__linkMd___82MQD", Je = "typography-module__linkSm___LZ94B", Be = "typography-module__linkXs___-6Kd5", Ie = "typography-module__labelXl___jmHEl", Ze = "typography-module__labelLg___31xPj", ze = "typography-module__labelMd___e3ni6", qe = "typography-module__labelSm___AsYEH", Ke = "typography-module__labelXs___zgCHL", Qe = "typography-module__labelEmphasis___nbkyG", eo = "typography-module__weightRegular___F3ND2", oo = "typography-module__weightMedium___XpDfI", to = "typography-module__mobile__displayXl___8eyMz", ro = "typography-module__mobile__displayLg___OxrWl", lo = "typography-module__mobile__displayMd___ZTVhR", ao = "typography-module__mobile__displaySm___P5do8", so = "typography-module__mobile__displayXs___3nZMf", io = "typography-module__mobile__headingXl___fuylU", no = "typography-module__mobile__headingLg___poZZo", _o = "typography-module__mobile__headingMd___UA7hK", co = "typography-module__mobile__headingSm___9StAl", mo = "typography-module__mobile__headingXs___zRqq3", uo = "typography-module__mobile__headingXxs___I6k7k", po = "typography-module__mobile__preambleMd___OsCic", bo = "typography-module__mobile__preambleSm___VVrnq", go = "typography-module__mobile__bodyXl___WKi87", ho = "typography-module__mobile__bodyLg___JR512", yo = "typography-module__mobile__bodyMd___h5hFh", fo = "typography-module__mobile__bodySm___J3fX2", vo = "typography-module__mobile__bodyXs___rbvEo", Ro = "typography-module__mobile__linkLg___JWgXg", ko = "typography-module__mobile__linkMd___Humhz", wo = "typography-module__mobile__linkSm___pJwma", So = "typography-module__mobile__linkXs___o01Lz", To = "typography-module__mobile__labelXl___q4W0-", xo = "typography-module__mobile__labelLg___1wguG", jo = "typography-module__mobile__labelMd___PInk-", Co = "typography-module__mobile__labelSm___yPUV0", Lo = "typography-module__mobile__labelXs___80zt0", b = {
|
|
4
|
+
displayXl: xe,
|
|
5
|
+
displayLg: je,
|
|
6
|
+
displayMd: Ce,
|
|
7
|
+
displaySm: Le,
|
|
8
8
|
displayXs: Ae,
|
|
9
|
-
headingXl:
|
|
10
|
-
headingLg:
|
|
11
|
-
headingMd:
|
|
12
|
-
headingSm:
|
|
13
|
-
headingXs:
|
|
14
|
-
headingXxs:
|
|
15
|
-
preambleMd:
|
|
16
|
-
preambleSm:
|
|
17
|
-
bodyXl:
|
|
18
|
-
bodyLg:
|
|
19
|
-
bodyMd:
|
|
20
|
-
bodySm:
|
|
21
|
-
bodyXs:
|
|
22
|
-
linkLg:
|
|
23
|
-
linkMd:
|
|
24
|
-
linkSm:
|
|
25
|
-
linkXs:
|
|
26
|
-
labelXl:
|
|
27
|
-
labelLg:
|
|
28
|
-
labelMd:
|
|
29
|
-
labelSm:
|
|
30
|
-
labelXs:
|
|
31
|
-
labelEmphasis:
|
|
32
|
-
weightRegular:
|
|
33
|
-
weightMedium:
|
|
9
|
+
headingXl: Ee,
|
|
10
|
+
headingLg: Oe,
|
|
11
|
+
headingMd: Me,
|
|
12
|
+
headingSm: Pe,
|
|
13
|
+
headingXs: Xe,
|
|
14
|
+
headingXxs: Ne,
|
|
15
|
+
preambleMd: We,
|
|
16
|
+
preambleSm: $e,
|
|
17
|
+
bodyXl: Fe,
|
|
18
|
+
bodyLg: De,
|
|
19
|
+
bodyMd: Ve,
|
|
20
|
+
bodySm: Ge,
|
|
21
|
+
bodyXs: Ye,
|
|
22
|
+
linkLg: He,
|
|
23
|
+
linkMd: Ue,
|
|
24
|
+
linkSm: Je,
|
|
25
|
+
linkXs: Be,
|
|
26
|
+
labelXl: Ie,
|
|
27
|
+
labelLg: Ze,
|
|
28
|
+
labelMd: ze,
|
|
29
|
+
labelSm: qe,
|
|
30
|
+
labelXs: Ke,
|
|
31
|
+
labelEmphasis: Qe,
|
|
32
|
+
weightRegular: eo,
|
|
33
|
+
weightMedium: oo,
|
|
34
|
+
mobile__displayXl: to,
|
|
35
|
+
mobile__displayLg: ro,
|
|
36
|
+
mobile__displayMd: lo,
|
|
37
|
+
mobile__displaySm: ao,
|
|
38
|
+
mobile__displayXs: so,
|
|
39
|
+
mobile__headingXl: io,
|
|
40
|
+
mobile__headingLg: no,
|
|
41
|
+
mobile__headingMd: _o,
|
|
42
|
+
mobile__headingSm: co,
|
|
43
|
+
mobile__headingXs: mo,
|
|
44
|
+
mobile__headingXxs: uo,
|
|
45
|
+
mobile__preambleMd: po,
|
|
46
|
+
mobile__preambleSm: bo,
|
|
47
|
+
mobile__bodyXl: go,
|
|
48
|
+
mobile__bodyLg: ho,
|
|
49
|
+
mobile__bodyMd: yo,
|
|
50
|
+
mobile__bodySm: fo,
|
|
51
|
+
mobile__bodyXs: vo,
|
|
52
|
+
mobile__linkLg: Ro,
|
|
53
|
+
mobile__linkMd: ko,
|
|
54
|
+
mobile__linkSm: wo,
|
|
55
|
+
mobile__linkXs: So,
|
|
56
|
+
mobile__labelXl: To,
|
|
57
|
+
mobile__labelLg: xo,
|
|
58
|
+
mobile__labelMd: jo,
|
|
59
|
+
mobile__labelSm: Co,
|
|
60
|
+
mobile__labelXs: Lo
|
|
34
61
|
};
|
|
35
|
-
var W = { exports: {} },
|
|
62
|
+
var W = { exports: {} }, M = {};
|
|
36
63
|
/**
|
|
37
64
|
* @license React
|
|
38
65
|
* react-jsx-runtime.production.js
|
|
@@ -42,29 +69,29 @@ var W = { exports: {} }, E = {};
|
|
|
42
69
|
* This source code is licensed under the MIT license found in the
|
|
43
70
|
* LICENSE file in the root directory of this source tree.
|
|
44
71
|
*/
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
if (
|
|
48
|
-
|
|
49
|
-
var e = Symbol.for("react.transitional.element"),
|
|
50
|
-
function
|
|
51
|
-
var
|
|
52
|
-
if (
|
|
53
|
-
|
|
54
|
-
for (var
|
|
55
|
-
|
|
56
|
-
} else
|
|
57
|
-
return r =
|
|
72
|
+
var ee;
|
|
73
|
+
function Ao() {
|
|
74
|
+
if (ee) return M;
|
|
75
|
+
ee = 1;
|
|
76
|
+
var e = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
|
|
77
|
+
function l(i, r, s) {
|
|
78
|
+
var _ = null;
|
|
79
|
+
if (s !== void 0 && (_ = "" + s), r.key !== void 0 && (_ = "" + r.key), "key" in r) {
|
|
80
|
+
s = {};
|
|
81
|
+
for (var u in r)
|
|
82
|
+
u !== "key" && (s[u] = r[u]);
|
|
83
|
+
} else s = r;
|
|
84
|
+
return r = s.ref, {
|
|
58
85
|
$$typeof: e,
|
|
59
|
-
type:
|
|
60
|
-
key:
|
|
86
|
+
type: i,
|
|
87
|
+
key: _,
|
|
61
88
|
ref: r !== void 0 ? r : null,
|
|
62
|
-
props:
|
|
89
|
+
props: s
|
|
63
90
|
};
|
|
64
91
|
}
|
|
65
|
-
return
|
|
92
|
+
return M.Fragment = a, M.jsx = l, M.jsxs = l, M;
|
|
66
93
|
}
|
|
67
|
-
var
|
|
94
|
+
var P = {};
|
|
68
95
|
/**
|
|
69
96
|
* @license React
|
|
70
97
|
* react-jsx-runtime.development.js
|
|
@@ -74,125 +101,125 @@ var O = {};
|
|
|
74
101
|
* This source code is licensed under the MIT license found in the
|
|
75
102
|
* LICENSE file in the root directory of this source tree.
|
|
76
103
|
*/
|
|
77
|
-
var
|
|
78
|
-
function
|
|
79
|
-
return
|
|
104
|
+
var oe;
|
|
105
|
+
function Eo() {
|
|
106
|
+
return oe || (oe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
80
107
|
function e(o) {
|
|
81
108
|
if (o == null) return null;
|
|
82
109
|
if (typeof o == "function")
|
|
83
|
-
return o.$$typeof ===
|
|
110
|
+
return o.$$typeof === he ? null : o.displayName || o.name || null;
|
|
84
111
|
if (typeof o == "string") return o;
|
|
85
112
|
switch (o) {
|
|
86
|
-
case
|
|
113
|
+
case F:
|
|
87
114
|
return "Fragment";
|
|
88
|
-
case
|
|
115
|
+
case _e:
|
|
89
116
|
return "Profiler";
|
|
90
|
-
case
|
|
117
|
+
case ne:
|
|
91
118
|
return "StrictMode";
|
|
92
|
-
case
|
|
119
|
+
case ue:
|
|
93
120
|
return "Suspense";
|
|
94
|
-
case
|
|
121
|
+
case pe:
|
|
95
122
|
return "SuspenseList";
|
|
96
|
-
case
|
|
123
|
+
case ge:
|
|
97
124
|
return "Activity";
|
|
98
125
|
}
|
|
99
126
|
if (typeof o == "object")
|
|
100
127
|
switch (typeof o.tag == "number" && console.error(
|
|
101
128
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
102
129
|
), o.$$typeof) {
|
|
103
|
-
case ae:
|
|
104
|
-
return "Portal";
|
|
105
130
|
case ie:
|
|
131
|
+
return "Portal";
|
|
132
|
+
case de:
|
|
106
133
|
return (o.displayName || "Context") + ".Provider";
|
|
107
|
-
case le:
|
|
108
|
-
return (o._context.displayName || "Context") + ".Consumer";
|
|
109
134
|
case ce:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
return
|
|
114
|
-
case
|
|
115
|
-
|
|
135
|
+
return (o._context.displayName || "Context") + ".Consumer";
|
|
136
|
+
case me:
|
|
137
|
+
var n = o.render;
|
|
138
|
+
return o = o.displayName, o || (o = n.displayName || n.name || "", o = o !== "" ? "ForwardRef(" + o + ")" : "ForwardRef"), o;
|
|
139
|
+
case be:
|
|
140
|
+
return n = o.displayName || null, n !== null ? n : e(o.type) || "Memo";
|
|
141
|
+
case B:
|
|
142
|
+
n = o._payload, o = o._init;
|
|
116
143
|
try {
|
|
117
|
-
return e(o(
|
|
144
|
+
return e(o(n));
|
|
118
145
|
} catch {
|
|
119
146
|
}
|
|
120
147
|
}
|
|
121
148
|
return null;
|
|
122
149
|
}
|
|
123
|
-
function
|
|
150
|
+
function a(o) {
|
|
124
151
|
return "" + o;
|
|
125
152
|
}
|
|
126
|
-
function
|
|
153
|
+
function l(o) {
|
|
127
154
|
try {
|
|
128
|
-
|
|
129
|
-
var
|
|
155
|
+
a(o);
|
|
156
|
+
var n = !1;
|
|
130
157
|
} catch {
|
|
131
|
-
|
|
158
|
+
n = !0;
|
|
132
159
|
}
|
|
133
|
-
if (
|
|
134
|
-
|
|
135
|
-
var
|
|
136
|
-
return
|
|
137
|
-
|
|
160
|
+
if (n) {
|
|
161
|
+
n = console;
|
|
162
|
+
var c = n.error, d = typeof Symbol == "function" && Symbol.toStringTag && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
163
|
+
return c.call(
|
|
164
|
+
n,
|
|
138
165
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
139
|
-
|
|
140
|
-
),
|
|
166
|
+
d
|
|
167
|
+
), a(o);
|
|
141
168
|
}
|
|
142
169
|
}
|
|
143
|
-
function
|
|
144
|
-
if (o ===
|
|
145
|
-
if (typeof o == "object" && o !== null && o.$$typeof ===
|
|
170
|
+
function i(o) {
|
|
171
|
+
if (o === F) return "<>";
|
|
172
|
+
if (typeof o == "object" && o !== null && o.$$typeof === B)
|
|
146
173
|
return "<...>";
|
|
147
174
|
try {
|
|
148
|
-
var
|
|
149
|
-
return
|
|
175
|
+
var n = e(o);
|
|
176
|
+
return n ? "<" + n + ">" : "<...>";
|
|
150
177
|
} catch {
|
|
151
178
|
return "<...>";
|
|
152
179
|
}
|
|
153
180
|
}
|
|
154
181
|
function r() {
|
|
155
|
-
var o =
|
|
182
|
+
var o = D.A;
|
|
156
183
|
return o === null ? null : o.getOwner();
|
|
157
184
|
}
|
|
158
|
-
function
|
|
185
|
+
function s() {
|
|
159
186
|
return Error("react-stack-top-frame");
|
|
160
187
|
}
|
|
161
|
-
function
|
|
162
|
-
if (
|
|
163
|
-
var
|
|
164
|
-
if (
|
|
188
|
+
function _(o) {
|
|
189
|
+
if (I.call(o, "key")) {
|
|
190
|
+
var n = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
191
|
+
if (n && n.isReactWarning) return !1;
|
|
165
192
|
}
|
|
166
193
|
return o.key !== void 0;
|
|
167
194
|
}
|
|
168
|
-
function
|
|
169
|
-
function
|
|
170
|
-
|
|
195
|
+
function u(o, n) {
|
|
196
|
+
function c() {
|
|
197
|
+
Z || (Z = !0, console.error(
|
|
171
198
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
172
|
-
|
|
199
|
+
n
|
|
173
200
|
));
|
|
174
201
|
}
|
|
175
|
-
|
|
176
|
-
get:
|
|
202
|
+
c.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
203
|
+
get: c,
|
|
177
204
|
configurable: !0
|
|
178
205
|
});
|
|
179
206
|
}
|
|
180
|
-
function
|
|
207
|
+
function f() {
|
|
181
208
|
var o = e(this.type);
|
|
182
|
-
return
|
|
209
|
+
return z[o] || (z[o] = !0, console.error(
|
|
183
210
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
184
211
|
)), o = this.props.ref, o !== void 0 ? o : null;
|
|
185
212
|
}
|
|
186
|
-
function
|
|
187
|
-
return
|
|
188
|
-
$$typeof:
|
|
213
|
+
function O(o, n, c, d, v, g, G, Y) {
|
|
214
|
+
return c = g.ref, o = {
|
|
215
|
+
$$typeof: J,
|
|
189
216
|
type: o,
|
|
190
|
-
key:
|
|
217
|
+
key: n,
|
|
191
218
|
props: g,
|
|
192
|
-
_owner:
|
|
193
|
-
}, (
|
|
219
|
+
_owner: v
|
|
220
|
+
}, (c !== void 0 ? c : null) !== null ? Object.defineProperty(o, "ref", {
|
|
194
221
|
enumerable: !1,
|
|
195
|
-
get:
|
|
222
|
+
get: f
|
|
196
223
|
}) : Object.defineProperty(o, "ref", { enumerable: !1, value: null }), o._store = {}, Object.defineProperty(o._store, "validated", {
|
|
197
224
|
configurable: !1,
|
|
198
225
|
enumerable: !1,
|
|
@@ -207,68 +234,68 @@ function eo() {
|
|
|
207
234
|
configurable: !1,
|
|
208
235
|
enumerable: !1,
|
|
209
236
|
writable: !0,
|
|
210
|
-
value:
|
|
237
|
+
value: G
|
|
211
238
|
}), Object.defineProperty(o, "_debugTask", {
|
|
212
239
|
configurable: !1,
|
|
213
240
|
enumerable: !1,
|
|
214
241
|
writable: !0,
|
|
215
|
-
value:
|
|
242
|
+
value: Y
|
|
216
243
|
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
217
244
|
}
|
|
218
|
-
function
|
|
219
|
-
var m =
|
|
245
|
+
function S(o, n, c, d, v, g, G, Y) {
|
|
246
|
+
var m = n.children;
|
|
220
247
|
if (m !== void 0)
|
|
221
|
-
if (
|
|
222
|
-
if (
|
|
223
|
-
for (
|
|
224
|
-
|
|
248
|
+
if (d)
|
|
249
|
+
if (ye(m)) {
|
|
250
|
+
for (d = 0; d < m.length; d++)
|
|
251
|
+
T(m[d]);
|
|
225
252
|
Object.freeze && Object.freeze(m);
|
|
226
253
|
} else
|
|
227
254
|
console.error(
|
|
228
255
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
229
256
|
);
|
|
230
|
-
else
|
|
231
|
-
if (
|
|
257
|
+
else T(m);
|
|
258
|
+
if (I.call(n, "key")) {
|
|
232
259
|
m = e(o);
|
|
233
|
-
var
|
|
234
|
-
return
|
|
260
|
+
var x = Object.keys(n).filter(function(fe) {
|
|
261
|
+
return fe !== "key";
|
|
235
262
|
});
|
|
236
|
-
|
|
263
|
+
d = 0 < x.length ? "{key: someKey, " + x.join(": ..., ") + ": ...}" : "{key: someKey}", Q[m + d] || (x = 0 < x.length ? "{" + x.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
237
264
|
`A props object containing a "key" prop is being spread into JSX:
|
|
238
265
|
let props = %s;
|
|
239
266
|
<%s {...props} />
|
|
240
267
|
React keys must be passed directly to JSX without using spread:
|
|
241
268
|
let props = %s;
|
|
242
269
|
<%s key={someKey} {...props} />`,
|
|
243
|
-
|
|
270
|
+
d,
|
|
244
271
|
m,
|
|
245
|
-
|
|
272
|
+
x,
|
|
246
273
|
m
|
|
247
|
-
),
|
|
274
|
+
), Q[m + d] = !0);
|
|
248
275
|
}
|
|
249
|
-
if (m = null,
|
|
250
|
-
|
|
251
|
-
for (var
|
|
252
|
-
|
|
253
|
-
} else
|
|
254
|
-
return m &&
|
|
255
|
-
|
|
276
|
+
if (m = null, c !== void 0 && (l(c), m = "" + c), _(n) && (l(n.key), m = "" + n.key), "key" in n) {
|
|
277
|
+
c = {};
|
|
278
|
+
for (var H in n)
|
|
279
|
+
H !== "key" && (c[H] = n[H]);
|
|
280
|
+
} else c = n;
|
|
281
|
+
return m && u(
|
|
282
|
+
c,
|
|
256
283
|
typeof o == "function" ? o.displayName || o.name || "Unknown" : o
|
|
257
|
-
),
|
|
284
|
+
), O(
|
|
258
285
|
o,
|
|
259
286
|
m,
|
|
260
287
|
g,
|
|
261
|
-
|
|
288
|
+
v,
|
|
262
289
|
r(),
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
290
|
+
c,
|
|
291
|
+
G,
|
|
292
|
+
Y
|
|
266
293
|
);
|
|
267
294
|
}
|
|
268
|
-
function
|
|
269
|
-
typeof o == "object" && o !== null && o.$$typeof ===
|
|
295
|
+
function T(o) {
|
|
296
|
+
typeof o == "object" && o !== null && o.$$typeof === J && o._store && (o._store.validated = 1);
|
|
270
297
|
}
|
|
271
|
-
var N =
|
|
298
|
+
var N = ve, J = Symbol.for("react.transitional.element"), ie = Symbol.for("react.portal"), F = Symbol.for("react.fragment"), ne = Symbol.for("react.strict_mode"), _e = Symbol.for("react.profiler"), ce = Symbol.for("react.consumer"), de = Symbol.for("react.context"), me = Symbol.for("react.forward_ref"), ue = Symbol.for("react.suspense"), pe = Symbol.for("react.suspense_list"), be = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), ge = Symbol.for("react.activity"), he = Symbol.for("react.client.reference"), D = N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, ye = Array.isArray, V = console.createTask ? console.createTask : function() {
|
|
272
299
|
return null;
|
|
273
300
|
};
|
|
274
301
|
N = {
|
|
@@ -276,70 +303,71 @@ React keys must be passed directly to JSX without using spread:
|
|
|
276
303
|
return o();
|
|
277
304
|
}
|
|
278
305
|
};
|
|
279
|
-
var
|
|
306
|
+
var Z, z = {}, q = N["react-stack-bottom-frame"].bind(
|
|
280
307
|
N,
|
|
281
|
-
|
|
282
|
-
)(),
|
|
283
|
-
|
|
284
|
-
var g = 1e4 >
|
|
285
|
-
return
|
|
308
|
+
s
|
|
309
|
+
)(), K = V(i(s)), Q = {};
|
|
310
|
+
P.Fragment = F, P.jsx = function(o, n, c, d, v) {
|
|
311
|
+
var g = 1e4 > D.recentlyCreatedOwnerStacks++;
|
|
312
|
+
return S(
|
|
286
313
|
o,
|
|
287
|
-
|
|
288
|
-
|
|
314
|
+
n,
|
|
315
|
+
c,
|
|
289
316
|
!1,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
g ? Error("react-stack-top-frame") :
|
|
293
|
-
g ?
|
|
317
|
+
d,
|
|
318
|
+
v,
|
|
319
|
+
g ? Error("react-stack-top-frame") : q,
|
|
320
|
+
g ? V(i(o)) : K
|
|
294
321
|
);
|
|
295
|
-
},
|
|
296
|
-
var g = 1e4 >
|
|
297
|
-
return
|
|
322
|
+
}, P.jsxs = function(o, n, c, d, v) {
|
|
323
|
+
var g = 1e4 > D.recentlyCreatedOwnerStacks++;
|
|
324
|
+
return S(
|
|
298
325
|
o,
|
|
299
|
-
|
|
300
|
-
|
|
326
|
+
n,
|
|
327
|
+
c,
|
|
301
328
|
!0,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
g ? Error("react-stack-top-frame") :
|
|
305
|
-
g ?
|
|
329
|
+
d,
|
|
330
|
+
v,
|
|
331
|
+
g ? Error("react-stack-top-frame") : q,
|
|
332
|
+
g ? V(i(o)) : K
|
|
306
333
|
);
|
|
307
334
|
};
|
|
308
|
-
}()),
|
|
335
|
+
}()), P;
|
|
309
336
|
}
|
|
310
|
-
var
|
|
311
|
-
function
|
|
312
|
-
return
|
|
337
|
+
var te;
|
|
338
|
+
function Oo() {
|
|
339
|
+
return te || (te = 1, process.env.NODE_ENV === "production" ? W.exports = Ao() : W.exports = Eo()), W.exports;
|
|
313
340
|
}
|
|
314
|
-
var t =
|
|
315
|
-
const p = (...e) => e.map((
|
|
316
|
-
|
|
317
|
-
children:
|
|
318
|
-
className:
|
|
319
|
-
weight:
|
|
341
|
+
var t = Oo();
|
|
342
|
+
const p = (...e) => e.map((l) => typeof l == "string" ? l : l ? Object.keys(l).filter((s) => l[s]).join(" ") : "").filter((l) => !!l).join(" "), E = ({
|
|
343
|
+
defaultVariant: e,
|
|
344
|
+
children: a,
|
|
345
|
+
className: l = "",
|
|
346
|
+
weight: i,
|
|
320
347
|
emphasis: r = !1,
|
|
321
|
-
as:
|
|
348
|
+
as: s = "span",
|
|
349
|
+
mobileVariant: _
|
|
322
350
|
}) => {
|
|
323
|
-
const
|
|
324
|
-
let
|
|
325
|
-
r && !
|
|
326
|
-
const
|
|
327
|
-
return /* @__PURE__ */ t.jsx(
|
|
328
|
-
},
|
|
329
|
-
const
|
|
330
|
-
return
|
|
351
|
+
const u = b[e] || "";
|
|
352
|
+
let f = i;
|
|
353
|
+
r && !i && (f = "medium");
|
|
354
|
+
const O = f ? b[`weight${f.charAt(0).toUpperCase()}${f.slice(1)}`] : "", S = e.startsWith("label") && r ? b.labelEmphasis : "", T = _ ? b[`mobile__${_}`] : "";
|
|
355
|
+
return /* @__PURE__ */ t.jsx(s, { className: p(u, O, S, T, l), children: a });
|
|
356
|
+
}, Mo = (e, a, l) => {
|
|
357
|
+
const i = e[a];
|
|
358
|
+
return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((r, s) => {
|
|
331
359
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
332
|
-
|
|
360
|
+
s.bind(
|
|
333
361
|
null,
|
|
334
362
|
new Error(
|
|
335
|
-
"Unknown variable dynamic import: " +
|
|
363
|
+
"Unknown variable dynamic import: " + a + (a.split("/").length !== l ? ". Note that variables only represent file names one level deep." : "")
|
|
336
364
|
)
|
|
337
365
|
)
|
|
338
366
|
);
|
|
339
367
|
});
|
|
340
368
|
};
|
|
341
|
-
var
|
|
342
|
-
const
|
|
369
|
+
var le = /* @__PURE__ */ ((e) => (e.ALERT_ERROR_FILL = "alert-error-fill", e.ALERT_ERROR = "alert-error", e.CHECK = "check", e.CIRCLE_CHECK_FILL = "circle-check-fill", e.CIRCLE_CHECK = "circle-check", e.CLOSE = "close", e.HELP = "help", e.INFO = "info", e.MENU = "menu", e.PLUS = "plus", e.REMOVE = "remove", e.SEARCH = "search", e.WARNING = "warning", e.ARROW_BACK = "arrow-back", e.ARROW_DOWNWARD = "arrow-downward", e.ARROW_FORWARD = "arrow-forward", e.ARROW_INSERT = "arrow-insert", e.ARROW_OUTWARD = "arrow-outward", e.ARROW_RETURN = "arrow-return", e.ARROW_UPWARD = "arrow-upward", e.CHEVRON_BACK = "chevron-back", e.CHEVRON_DOWN = "chevron-down", e.CHEVRON_FORWARD = "chevron-forward", e.CHEVRON_UP = "chevron-up", e.MESSAGE_FILL = "message-fill", e.MESSAGE = "message", e.CALENDAR = "calendar", e.CART = "cart", e.PACKAGE_FILL = "package-fill", e.PACKAGE = "package", e.SMILE_FILL = "smile-fill", e.SMILE = "smile", e.CIRCLE_DASH_FILL = "circle-dash-fill", e.CIRCLE_DASH = "circle-dash", e.PIN_DROP = "pin-drop", e.FILTER = "filter", e.COACHING = "coaching", e.LABS = "labs", e.MYSPAN = "myspan", e.OPTIMIZATIONS = "optimizations", e.PROTOCOLS = "protocols", e.RULER = "ruler", e.SCALE = "scale", e.FACEBOOK = "facebook", e.HEART_FILL = "heart-fill", e.HEART = "heart", e.INSTAGRAM = "instagram", e.STAR_FILL = "star-fill", e.STAR_HALF = "star-half", e.STAR_OUTLINE = "star-outline", e.STAR = "star", e.X = "x", e))(le || {});
|
|
370
|
+
const Po = {
|
|
343
371
|
"alert-error-fill": "action",
|
|
344
372
|
"alert-error": "action",
|
|
345
373
|
check: "action",
|
|
@@ -393,184 +421,186 @@ const ro = {
|
|
|
393
421
|
star: "social",
|
|
394
422
|
x: "social"
|
|
395
423
|
};
|
|
396
|
-
function
|
|
397
|
-
return e ? Object.values(
|
|
424
|
+
function Xo(e) {
|
|
425
|
+
return e ? Object.values(le).includes(e) : !1;
|
|
398
426
|
}
|
|
399
|
-
const
|
|
400
|
-
const [
|
|
401
|
-
return
|
|
427
|
+
const w = Re(({ name: e, className: a }) => {
|
|
428
|
+
const [l, i] = U(null);
|
|
429
|
+
return ke(() => {
|
|
402
430
|
let r = !0;
|
|
403
|
-
return
|
|
404
|
-
r &&
|
|
431
|
+
return Xo(e) && Mo(/* @__PURE__ */ Object.assign({ "../../icons/action/alert-error-fill.svg": () => import("./alert-error-fill-U8xX1bHm.mjs"), "../../icons/action/alert-error.svg": () => import("./alert-error-Cj1EJqVI.mjs"), "../../icons/action/check.svg": () => import("./check-DgSDfN0C.mjs"), "../../icons/action/circle-check-fill.svg": () => import("./circle-check-fill-BpCT79Im.mjs"), "../../icons/action/circle-check.svg": () => import("./circle-check-DHexNVPG.mjs"), "../../icons/action/close.svg": () => import("./close-xFwzmg9D.mjs"), "../../icons/action/help.svg": () => import("./help-CRE_5jm0.mjs"), "../../icons/action/info.svg": () => import("./info-BPzOhkwO.mjs"), "../../icons/action/menu.svg": () => import("./menu-wBs3KiRN.mjs"), "../../icons/action/plus.svg": () => import("./plus-a8IJH0Cb.mjs"), "../../icons/action/remove.svg": () => import("./remove-DjaRY7q_.mjs"), "../../icons/action/search.svg": () => import("./search-CH3bboSY.mjs"), "../../icons/action/warning.svg": () => import("./warning-DXASuaUB.mjs"), "../../icons/arrow/arrow-back.svg": () => import("./arrow-back-RB9oG9bb.mjs"), "../../icons/arrow/arrow-downward.svg": () => import("./arrow-downward-BZo-WiCP.mjs"), "../../icons/arrow/arrow-forward.svg": () => import("./arrow-forward-vO9RZVmB.mjs"), "../../icons/arrow/arrow-insert.svg": () => import("./arrow-insert-DERGBPT7.mjs"), "../../icons/arrow/arrow-outward.svg": () => import("./arrow-outward-DrIR5DwI.mjs"), "../../icons/arrow/arrow-return.svg": () => import("./arrow-return-8q22es7-.mjs"), "../../icons/arrow/arrow-upward.svg": () => import("./arrow-upward-DC1FfPA9.mjs"), "../../icons/arrow/chevron-back.svg": () => import("./chevron-back-DFWam-ts.mjs"), "../../icons/arrow/chevron-down.svg": () => import("./chevron-down-BwRGeXBx.mjs"), "../../icons/arrow/chevron-forward.svg": () => import("./chevron-forward-DiyG4R25.mjs"), "../../icons/arrow/chevron-up.svg": () => import("./chevron-up-OrVl2KYe.mjs"), "../../icons/chat/message-fill.svg": () => import("./message-fill-34t0rhm0.mjs"), "../../icons/chat/message.svg": () => import("./message-CJ_CwgNl.mjs"), "../../icons/eCommerce/calendar.svg": () => import("./calendar-B-r7jdWd.mjs"), "../../icons/eCommerce/cart.svg": () => import("./cart-DPCejEA4.mjs"), "../../icons/eCommerce/package-fill.svg": () => import("./package-fill-DJC-nVX4.mjs"), "../../icons/eCommerce/package.svg": () => import("./package-Cojp3ziE.mjs"), "../../icons/faces/smile-fill.svg": () => import("./smile-fill-BZ1FEIkr.mjs"), "../../icons/faces/smile.svg": () => import("./smile-DWJE9lLu.mjs"), "../../icons/global/filter.svg": () => import("./filter-Bb2_rnBk.mjs"), "../../icons/global/pin-drop.svg": () => import("./pin-drop-CjDxWRyc.mjs"), "../../icons/indicators/circle-dash-fill.svg": () => import("./circle-dash-fill-B15ve9gd.mjs"), "../../icons/indicators/circle-dash.svg": () => import("./circle-dash-C0Qv0BFy.mjs"), "../../icons/map/pin-drop.svg": () => import("./pin-drop-Cynj8Kyw.mjs"), "../../icons/medical/coaching.svg": () => import("./coaching-ZyIaz-XN.mjs"), "../../icons/medical/labs.svg": () => import("./labs-C5ACTgZS.mjs"), "../../icons/medical/myspan.svg": () => import("./myspan-BtBinWuo.mjs"), "../../icons/medical/optimizations.svg": () => import("./optimizations-CFu6WZmF.mjs"), "../../icons/medical/protocols.svg": () => import("./protocols-DioVdawg.mjs"), "../../icons/medical/ruler.svg": () => import("./ruler-DHuaS0jU.mjs"), "../../icons/medical/scale.svg": () => import("./scale-CN9HwBjw.mjs"), "../../icons/social/facebook.svg": () => import("./facebook-DV78ip19.mjs"), "../../icons/social/heart-fill.svg": () => import("./heart-fill-BVOsSRde.mjs"), "../../icons/social/heart.svg": () => import("./heart-D7sVKHkl.mjs"), "../../icons/social/instagram.svg": () => import("./instagram-D3uUNPQP.mjs"), "../../icons/social/star-fill.svg": () => import("./star-fill-CSTfd32v.mjs"), "../../icons/social/star-half.svg": () => import("./star-half-BF2SarPm.mjs"), "../../icons/social/star-outline.svg": () => import("./star-outline-CYXUJP23.mjs"), "../../icons/social/star.svg": () => import("./star-BUndwhBG.mjs"), "../../icons/social/x.svg": () => import("./x-BXPNdkKc.mjs") }), `../../icons/${Po[e]}/${e}.svg`, 5).then((s) => {
|
|
432
|
+
r && i(s);
|
|
405
433
|
}), () => {
|
|
406
434
|
r = !1;
|
|
407
435
|
};
|
|
408
|
-
}, [e]),
|
|
409
|
-
}),
|
|
410
|
-
button:
|
|
411
|
-
primary:
|
|
436
|
+
}, [e]), l ? we(l.default, { className: a }) : /* @__PURE__ */ t.jsx("div", { className: a, children: "💡" });
|
|
437
|
+
}), No = "button-module__button___JyfZW", Wo = "button-module__primary___ggjlO", $o = "button-module__secondary___Q4I1z", Fo = "button-module__muted___DbVhc", Do = "button-module__ghost___Dp7F-", Vo = "button-module__xs___hb8XV", Go = "button-module__sm___nin2b", Yo = "button-module__md___0nyD0", Ho = "button-module__lg___UZ-tP", Uo = "button-module__disabled___S7XlI", Jo = "button-module__content___FFCUI", Bo = "button-module__iconWrap___PI655", k = {
|
|
438
|
+
button: No,
|
|
439
|
+
primary: Wo,
|
|
412
440
|
"primary-invert": "button-module__primary-invert___UQj7h",
|
|
413
|
-
secondary:
|
|
414
|
-
muted:
|
|
441
|
+
secondary: $o,
|
|
442
|
+
muted: Fo,
|
|
415
443
|
"muted-invert": "button-module__muted-invert___0nBJw",
|
|
416
|
-
ghost:
|
|
417
|
-
xs:
|
|
418
|
-
sm:
|
|
419
|
-
md:
|
|
420
|
-
lg:
|
|
421
|
-
disabled:
|
|
422
|
-
content:
|
|
423
|
-
iconWrap:
|
|
424
|
-
},
|
|
444
|
+
ghost: Do,
|
|
445
|
+
xs: Vo,
|
|
446
|
+
sm: Go,
|
|
447
|
+
md: Yo,
|
|
448
|
+
lg: Ho,
|
|
449
|
+
disabled: Uo,
|
|
450
|
+
content: Jo,
|
|
451
|
+
iconWrap: Bo
|
|
452
|
+
}, ae = Se(({
|
|
425
453
|
variant: e = "primary",
|
|
426
|
-
size:
|
|
427
|
-
as:
|
|
428
|
-
disabled:
|
|
454
|
+
size: a = "md",
|
|
455
|
+
as: l = "button",
|
|
456
|
+
disabled: i = !1,
|
|
429
457
|
children: r,
|
|
430
|
-
prefixIcon:
|
|
431
|
-
suffixIcon:
|
|
432
|
-
...
|
|
433
|
-
},
|
|
434
|
-
const
|
|
458
|
+
prefixIcon: s,
|
|
459
|
+
suffixIcon: _,
|
|
460
|
+
...u
|
|
461
|
+
}, f) => {
|
|
462
|
+
const O = k[e] || "", S = k[a] || "", T = i ? k.disabled : "";
|
|
435
463
|
return /* @__PURE__ */ t.jsx(
|
|
436
|
-
|
|
464
|
+
l,
|
|
437
465
|
{
|
|
438
|
-
ref:
|
|
439
|
-
...
|
|
466
|
+
ref: f,
|
|
467
|
+
...u,
|
|
440
468
|
className: p(
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
469
|
+
k.button,
|
|
470
|
+
O,
|
|
471
|
+
S,
|
|
472
|
+
T
|
|
445
473
|
),
|
|
446
|
-
disabled:
|
|
447
|
-
children: /* @__PURE__ */ t.jsxs("div", { className:
|
|
448
|
-
|
|
474
|
+
disabled: i,
|
|
475
|
+
children: /* @__PURE__ */ t.jsxs("div", { className: k.content, children: [
|
|
476
|
+
s && /* @__PURE__ */ t.jsx("div", { className: k.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: s }) }),
|
|
449
477
|
/* @__PURE__ */ t.jsx("div", { children: r }),
|
|
450
|
-
|
|
478
|
+
_ && /* @__PURE__ */ t.jsx("div", { className: k.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: _ }) })
|
|
451
479
|
] })
|
|
452
480
|
}
|
|
453
481
|
);
|
|
454
482
|
});
|
|
455
|
-
|
|
456
|
-
const
|
|
457
|
-
root:
|
|
458
|
-
},
|
|
459
|
-
sm:
|
|
460
|
-
lg:
|
|
461
|
-
},
|
|
483
|
+
ae.displayName = "Button";
|
|
484
|
+
const Io = "label-module__root___b704i", Zo = {
|
|
485
|
+
root: Io
|
|
486
|
+
}, zo = {
|
|
487
|
+
sm: b.labelXs,
|
|
488
|
+
lg: b.labelSm
|
|
489
|
+
}, rr = ({ children: e, color: a, size: l = "sm" }) => /* @__PURE__ */ t.jsx(
|
|
462
490
|
"div",
|
|
463
491
|
{
|
|
464
492
|
className: p(
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
493
|
+
Zo.root,
|
|
494
|
+
b.labelEmphasis,
|
|
495
|
+
zo[l]
|
|
468
496
|
),
|
|
469
|
-
"data-size":
|
|
470
|
-
"data-color":
|
|
497
|
+
"data-size": l,
|
|
498
|
+
"data-color": a,
|
|
471
499
|
children: e
|
|
472
500
|
}
|
|
473
|
-
),
|
|
474
|
-
tag:
|
|
475
|
-
md:
|
|
476
|
-
lg:
|
|
477
|
-
active:
|
|
478
|
-
content:
|
|
479
|
-
iconWrap:
|
|
480
|
-
},
|
|
481
|
-
md:
|
|
482
|
-
lg:
|
|
483
|
-
},
|
|
501
|
+
), qo = "tag-module__tag___04JA1", Ko = "tag-module__md___Vi5U2", Qo = "tag-module__lg___AaJGY", et = "tag-module__active___Bc0bb", ot = "tag-module__content___uaFwG", tt = "tag-module__iconWrap___viC8K", j = {
|
|
502
|
+
tag: qo,
|
|
503
|
+
md: Ko,
|
|
504
|
+
lg: Qo,
|
|
505
|
+
active: et,
|
|
506
|
+
content: ot,
|
|
507
|
+
iconWrap: tt
|
|
508
|
+
}, rt = {
|
|
509
|
+
md: b.labelMd,
|
|
510
|
+
lg: b.labelLg
|
|
511
|
+
}, lt = ({ value: e, children: a, active: l, disabled: i, size: r = "md", prefixIcon: s, suffixIcon: _, onClick: u }) => /* @__PURE__ */ t.jsx(
|
|
484
512
|
"button",
|
|
485
513
|
{
|
|
486
514
|
className: p(
|
|
487
515
|
j.tag,
|
|
488
|
-
|
|
489
|
-
{ [j.active]:
|
|
516
|
+
rt[r],
|
|
517
|
+
{ [j.active]: l },
|
|
490
518
|
j[r]
|
|
491
519
|
),
|
|
492
|
-
disabled:
|
|
493
|
-
onClick: () =>
|
|
520
|
+
disabled: i,
|
|
521
|
+
onClick: () => u(e),
|
|
494
522
|
children: /* @__PURE__ */ t.jsxs("div", { className: j.content, children: [
|
|
495
|
-
|
|
496
|
-
/* @__PURE__ */ t.jsx("p", { children:
|
|
497
|
-
|
|
523
|
+
s && /* @__PURE__ */ t.jsx("div", { className: j.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: s }) }),
|
|
524
|
+
/* @__PURE__ */ t.jsx("p", { children: a }),
|
|
525
|
+
_ && /* @__PURE__ */ t.jsx("div", { className: j.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: _ }) })
|
|
498
526
|
] })
|
|
499
527
|
}
|
|
500
|
-
),
|
|
501
|
-
container:
|
|
502
|
-
tab:
|
|
503
|
-
sm:
|
|
504
|
-
lg:
|
|
505
|
-
inverted:
|
|
506
|
-
disabled:
|
|
507
|
-
bottom:
|
|
508
|
-
top:
|
|
509
|
-
activeTab:
|
|
510
|
-
brackets:
|
|
511
|
-
iconWrap:
|
|
528
|
+
), at = "tabs-module__container___NRX40", st = "tabs-module__tab___McM3m", it = "tabs-module__sm___m4fiR", nt = "tabs-module__lg___SVeHo", _t = "tabs-module__inverted___CBzom", ct = "tabs-module__disabled___AXCIC", dt = "tabs-module__bottom___Ho7ee", mt = "tabs-module__top___jthT8", ut = "tabs-module__activeTab___MHq7V", pt = "tabs-module__brackets___37Jhe", bt = "tabs-module__iconWrap___RY5wP", h = {
|
|
529
|
+
container: at,
|
|
530
|
+
tab: st,
|
|
531
|
+
sm: it,
|
|
532
|
+
lg: nt,
|
|
533
|
+
inverted: _t,
|
|
534
|
+
disabled: ct,
|
|
535
|
+
bottom: dt,
|
|
536
|
+
top: mt,
|
|
537
|
+
activeTab: ut,
|
|
538
|
+
brackets: pt,
|
|
539
|
+
iconWrap: bt
|
|
512
540
|
};
|
|
513
|
-
function
|
|
541
|
+
function lr({
|
|
514
542
|
activeTab: e,
|
|
515
|
-
tabs:
|
|
516
|
-
onTabClick:
|
|
517
|
-
size:
|
|
543
|
+
tabs: a,
|
|
544
|
+
onTabClick: l,
|
|
545
|
+
size: i = "sm",
|
|
518
546
|
activeLinePosition: r = "bottom",
|
|
519
|
-
inverted:
|
|
547
|
+
inverted: s
|
|
520
548
|
}) {
|
|
521
|
-
return /* @__PURE__ */ t.jsx("div", { className:
|
|
549
|
+
return /* @__PURE__ */ t.jsx("div", { className: h.container, children: a.map((_) => /* @__PURE__ */ t.jsxs(
|
|
522
550
|
"button",
|
|
523
551
|
{
|
|
524
552
|
className: p(
|
|
525
|
-
|
|
526
|
-
|
|
553
|
+
h.tab,
|
|
554
|
+
h[i],
|
|
527
555
|
{
|
|
528
|
-
[
|
|
529
|
-
[
|
|
530
|
-
[
|
|
531
|
-
[
|
|
556
|
+
[h.inverted]: s,
|
|
557
|
+
[h.activeTab]: e === _.value,
|
|
558
|
+
[h.disabled]: _.disabled,
|
|
559
|
+
[h.brackets]: i === "lg" && e === _.value && a.length > 1
|
|
532
560
|
},
|
|
533
|
-
|
|
534
|
-
|
|
561
|
+
h[r],
|
|
562
|
+
_.className
|
|
535
563
|
),
|
|
536
|
-
disabled:
|
|
537
|
-
onClick: () =>
|
|
564
|
+
disabled: _.disabled,
|
|
565
|
+
onClick: () => l(_.value),
|
|
538
566
|
children: [
|
|
539
|
-
|
|
540
|
-
/* @__PURE__ */ t.jsx("div", { children:
|
|
541
|
-
|
|
567
|
+
_.prefixIcon && /* @__PURE__ */ t.jsx("div", { className: h.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: _.prefixIcon }) }),
|
|
568
|
+
/* @__PURE__ */ t.jsx("div", { children: _.label }),
|
|
569
|
+
_.suffixIcon && /* @__PURE__ */ t.jsx("div", { className: h.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: _.suffixIcon }) })
|
|
542
570
|
]
|
|
543
571
|
},
|
|
544
|
-
String(
|
|
572
|
+
String(_.value)
|
|
545
573
|
)) });
|
|
546
574
|
}
|
|
547
|
-
const
|
|
548
|
-
typeBadge:
|
|
549
|
-
badgeIcon:
|
|
550
|
-
}
|
|
575
|
+
const gt = (e) => /* @__PURE__ */ y.createElement("svg", { width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ y.createElement("g", { clipPath: "url(#clip0_984_190)" }, /* @__PURE__ */ y.createElement("path", { d: "M10 3.3496L6.73464 0.0842285L6 0.818839L9.2654 4.08423L10 3.3496Z" }), /* @__PURE__ */ y.createElement("path", { d: "M3.26537 0.0842285L0 3.34962L0.734613 4.08423L4 0.818844L3.26537 0.0842285Z" }), /* @__PURE__ */ y.createElement("path", { d: "M9.2654 6.08423L6 9.34962L6.7346 10.0842L10 6.81883L9.2654 6.08423Z" }), /* @__PURE__ */ y.createElement("path", { d: "M4 9.34959L0.734618 6.08423L0 6.81886L3.2654 10.0842L4 9.34959Z" })), /* @__PURE__ */ y.createElement("defs", null, /* @__PURE__ */ y.createElement("clipPath", { id: "clip0_984_190" }, /* @__PURE__ */ y.createElement("rect", { width: 10, height: 10, fill: "white" })))), ht = "typeBadge-module__typeBadge___Jxk0v", yt = "typeBadge-module__badgeIcon___BIDN2", re = {
|
|
576
|
+
typeBadge: ht,
|
|
577
|
+
badgeIcon: yt
|
|
578
|
+
};
|
|
579
|
+
var ft = /* @__PURE__ */ ((e) => (e.SENESCENCE = "senescence", e.SUPPLEMENTS = "supplements", e.OUTLINE = "outline", e.ENERGY = "energy", e.METABOLISM = "metabolism", e.LABS = "labs", e))(ft || {});
|
|
580
|
+
const ar = ({
|
|
551
581
|
type: e = "senescence"
|
|
552
582
|
/* SENESCENCE */
|
|
553
|
-
}) => /* @__PURE__ */ t.jsx("div", { className:
|
|
554
|
-
root:
|
|
555
|
-
tabWrap:
|
|
556
|
-
tab:
|
|
557
|
-
light:
|
|
558
|
-
dark:
|
|
559
|
-
activeTab:
|
|
560
|
-
icon:
|
|
561
|
-
description:
|
|
562
|
-
descriptionActive:
|
|
583
|
+
}) => /* @__PURE__ */ t.jsx("div", { className: re.typeBadge, "data-type": e, children: /* @__PURE__ */ t.jsx(gt, { className: re.badgeIcon }) }), vt = "contentTabs-module__root___vJVGt", Rt = "contentTabs-module__tabWrap___jwBNf", kt = "contentTabs-module__tab___oMzRn", wt = "contentTabs-module__light___LyVtp", St = "contentTabs-module__dark___-VJo6", Tt = "contentTabs-module__activeTab___0Uvh6", xt = "contentTabs-module__icon___nyuv-", jt = "contentTabs-module__description___sM2G-", Ct = "contentTabs-module__descriptionActive___aa8C1", R = {
|
|
584
|
+
root: vt,
|
|
585
|
+
tabWrap: Rt,
|
|
586
|
+
tab: kt,
|
|
587
|
+
light: wt,
|
|
588
|
+
dark: St,
|
|
589
|
+
activeTab: Tt,
|
|
590
|
+
icon: xt,
|
|
591
|
+
description: jt,
|
|
592
|
+
descriptionActive: Ct
|
|
563
593
|
};
|
|
564
|
-
function
|
|
565
|
-
return /* @__PURE__ */ t.jsx("div", { className: p(R.root, R[
|
|
594
|
+
function Lt({ tabs: e, activeTab: a, colorScheme: l, onTabClick: i }) {
|
|
595
|
+
return /* @__PURE__ */ t.jsx("div", { className: p(R.root, R[l]), children: e.map((r) => /* @__PURE__ */ t.jsxs("div", { className: R.tabWrap, children: [
|
|
566
596
|
/* @__PURE__ */ t.jsxs(
|
|
567
597
|
"button",
|
|
568
598
|
{
|
|
569
|
-
className: p(R.tab, { [R.activeTab]:
|
|
570
|
-
onClick: () =>
|
|
599
|
+
className: p(R.tab, { [R.activeTab]: a.label === r.label }),
|
|
600
|
+
onClick: () => i(r),
|
|
571
601
|
children: [
|
|
572
|
-
r.icon && /* @__PURE__ */ t.jsx("div", { className: R.icon, children: /* @__PURE__ */ t.jsx(
|
|
573
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
602
|
+
r.icon && /* @__PURE__ */ t.jsx("div", { className: R.icon, children: /* @__PURE__ */ t.jsx(w, { name: r.icon }) }),
|
|
603
|
+
/* @__PURE__ */ t.jsx("div", { className: b.headingXs, children: r.label })
|
|
574
604
|
]
|
|
575
605
|
}
|
|
576
606
|
),
|
|
@@ -579,118 +609,163 @@ function Rt({ tabs: e, activeTab: s, style: n, onTabClick: c }) {
|
|
|
579
609
|
{
|
|
580
610
|
className: p(
|
|
581
611
|
R.description,
|
|
582
|
-
{ [R.descriptionActive]:
|
|
583
|
-
|
|
612
|
+
{ [R.descriptionActive]: a.label === r.label },
|
|
613
|
+
b.bodySm
|
|
584
614
|
),
|
|
585
615
|
children: r.description
|
|
586
616
|
}
|
|
587
617
|
)
|
|
588
|
-
] }, String(r.
|
|
618
|
+
] }, String(r.label))) });
|
|
589
619
|
}
|
|
590
|
-
const
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
price: rt,
|
|
599
|
-
productImage: at
|
|
600
|
-
}, wt = ({
|
|
620
|
+
const At = "productGalleryCard-module__root___oGJjs", Et = "productGalleryCard-module__buttonContainer___0D5Ov", Ot = "productGalleryCard-module__productInfo___IZeoL", Mt = "productGalleryCard-module__title___dnRaF", Pt = "productGalleryCard-module__price___dNy0O", Xt = "productGalleryCard-module__productImage___uSNso", C = {
|
|
621
|
+
root: At,
|
|
622
|
+
buttonContainer: Et,
|
|
623
|
+
productInfo: Ot,
|
|
624
|
+
title: Mt,
|
|
625
|
+
price: Pt,
|
|
626
|
+
productImage: Xt
|
|
627
|
+
}, sr = ({
|
|
601
628
|
title: e,
|
|
602
|
-
price:
|
|
603
|
-
image:
|
|
604
|
-
buttons:
|
|
629
|
+
price: a,
|
|
630
|
+
image: l,
|
|
631
|
+
buttons: i,
|
|
605
632
|
link: r
|
|
606
633
|
}) => {
|
|
607
|
-
const
|
|
608
|
-
|
|
634
|
+
const s = (_) => {
|
|
635
|
+
_.preventDefault(), _.stopPropagation();
|
|
609
636
|
};
|
|
610
|
-
return /* @__PURE__ */ t.jsxs("a", { href: r, target: "_blank", rel: "noopener noreferrer", className:
|
|
611
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
612
|
-
/* @__PURE__ */ t.jsx(
|
|
613
|
-
/* @__PURE__ */ t.
|
|
614
|
-
C,
|
|
615
|
-
{
|
|
616
|
-
variant: "bodyXl",
|
|
617
|
-
className: x.price,
|
|
618
|
-
children: [
|
|
619
|
-
Qo(s.amount),
|
|
620
|
-
"/",
|
|
621
|
-
s.period
|
|
622
|
-
]
|
|
623
|
-
}
|
|
624
|
-
)
|
|
637
|
+
return /* @__PURE__ */ t.jsxs("a", { href: r, target: "_blank", rel: "noopener noreferrer", className: C.root, children: [
|
|
638
|
+
/* @__PURE__ */ t.jsxs("div", { className: C.productInfo, children: [
|
|
639
|
+
/* @__PURE__ */ t.jsx(E, { defaultVariant: "bodyXl", className: C.title, children: e }),
|
|
640
|
+
/* @__PURE__ */ t.jsx(E, { defaultVariant: "bodyXl", className: C.price, children: a })
|
|
625
641
|
] }),
|
|
626
|
-
/* @__PURE__ */ t.jsx("img", { src:
|
|
627
|
-
/* @__PURE__ */ t.jsx(
|
|
628
|
-
"div",
|
|
629
|
-
{
|
|
630
|
-
onClick: l,
|
|
631
|
-
className: x.buttonContainer,
|
|
632
|
-
children: c.map((i, d) => /* @__PURE__ */ t.jsx(re, { ...i, children: i.label }, d))
|
|
633
|
-
}
|
|
634
|
-
)
|
|
642
|
+
/* @__PURE__ */ t.jsx("img", { src: l, alt: "product image", className: C.productImage }),
|
|
643
|
+
/* @__PURE__ */ t.jsx("div", { onClick: s, className: C.buttonContainer, children: i.map((_, u) => /* @__PURE__ */ t.jsx(ae, { ..._, children: _.label }, u)) })
|
|
635
644
|
] });
|
|
636
|
-
},
|
|
637
|
-
root:
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
},
|
|
645
|
+
}, Nt = "highlightedTitle-module__root___lYJkw", Wt = "highlightedTitle-module__title___W-4jC", $t = "highlightedTitle-module__tag___DyjPy", Ft = "highlightedTitle-module__taggedTitle___RYwDP", $ = {
|
|
646
|
+
root: Nt,
|
|
647
|
+
title: Wt,
|
|
648
|
+
tag: $t,
|
|
649
|
+
taggedTitle: Ft
|
|
650
|
+
}, se = ({
|
|
651
|
+
title: e,
|
|
652
|
+
tag: a,
|
|
653
|
+
className: l,
|
|
654
|
+
defaultVariant: i = "displayMd",
|
|
655
|
+
as: r = "h2",
|
|
656
|
+
mobileVariant: s = "headingLg",
|
|
657
|
+
colorScheme: _ = "light"
|
|
658
|
+
}) => /* @__PURE__ */ t.jsxs("div", { "data-scheme": _, className: p($.root, l), children: [
|
|
659
|
+
a && /* @__PURE__ */ t.jsx(E, { as: "p", defaultVariant: "labelMd", emphasis: !0, className: $.tag, children: a }),
|
|
660
|
+
/* @__PURE__ */ t.jsx(
|
|
661
|
+
E,
|
|
662
|
+
{
|
|
663
|
+
as: r,
|
|
664
|
+
defaultVariant: i,
|
|
665
|
+
mobileVariant: s,
|
|
666
|
+
className: p($.title, { [$.taggedTitle]: !!a }),
|
|
667
|
+
children: e
|
|
668
|
+
}
|
|
669
|
+
)
|
|
670
|
+
] }), Dt = "protocolTags-module__root___q4ybt", Vt = "protocolTags-module__tags___aaJJA", Gt = "protocolTags-module__mobile___4hH2G", Yt = "protocolTags-module__desktop___kl9fI", L = {
|
|
671
|
+
root: Dt,
|
|
672
|
+
tags: Vt,
|
|
673
|
+
mobile: Gt,
|
|
674
|
+
desktop: Yt
|
|
675
|
+
}, Ht = ({ tags: e }) => {
|
|
642
676
|
var r;
|
|
643
|
-
const [
|
|
644
|
-
var
|
|
645
|
-
return (
|
|
646
|
-
}, [
|
|
647
|
-
return /* @__PURE__ */ t.jsxs("div", { className:
|
|
648
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
649
|
-
|
|
677
|
+
const [a, l] = U(((r = e[0]) == null ? void 0 : r.label) || null), i = Te(() => {
|
|
678
|
+
var s;
|
|
679
|
+
return (s = e.find((_) => _.label === a)) == null ? void 0 : s.description;
|
|
680
|
+
}, [a, e]);
|
|
681
|
+
return /* @__PURE__ */ t.jsxs("div", { className: L.root, children: [
|
|
682
|
+
/* @__PURE__ */ t.jsx("div", { className: L.tags, children: e.map((s) => /* @__PURE__ */ t.jsx(
|
|
683
|
+
lt,
|
|
650
684
|
{
|
|
651
|
-
value:
|
|
685
|
+
value: s.label,
|
|
652
686
|
size: "md",
|
|
653
|
-
active:
|
|
654
|
-
onClick:
|
|
655
|
-
children:
|
|
687
|
+
active: s.label === a,
|
|
688
|
+
onClick: l,
|
|
689
|
+
children: s.label
|
|
656
690
|
},
|
|
657
|
-
|
|
691
|
+
s.label
|
|
658
692
|
)) }),
|
|
659
|
-
|
|
660
|
-
/* @__PURE__ */ t.jsx(
|
|
661
|
-
/* @__PURE__ */ t.jsx(
|
|
693
|
+
i && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
694
|
+
/* @__PURE__ */ t.jsx(E, { as: "p", defaultVariant: "bodyLg", className: p(L.description, L.desktop), children: i }),
|
|
695
|
+
/* @__PURE__ */ t.jsx(E, { as: "p", defaultVariant: "bodyMd", className: p(L.description, L.mobile), children: i })
|
|
662
696
|
] })
|
|
663
697
|
] });
|
|
664
|
-
},
|
|
665
|
-
root:
|
|
666
|
-
content:
|
|
667
|
-
title:
|
|
668
|
-
image:
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
698
|
+
}, Ut = "yourProtocol-module__root___Q35lO", Jt = "yourProtocol-module__content___mMf6R", Bt = "yourProtocol-module__title___xNPOR", It = "yourProtocol-module__image___fVaOZ", Zt = "yourProtocol-module__callback___bvu49", zt = "yourProtocol-module__desktop___pl-rW", A = {
|
|
699
|
+
root: Ut,
|
|
700
|
+
content: Jt,
|
|
701
|
+
title: Bt,
|
|
702
|
+
image: It,
|
|
703
|
+
callback: Zt,
|
|
704
|
+
desktop: zt
|
|
705
|
+
}, ir = ({ title: e, image: a, tags: l, callbackView: i }) => /* @__PURE__ */ t.jsxs("div", { className: A.root, children: [
|
|
706
|
+
/* @__PURE__ */ t.jsxs("div", { className: A.content, children: [
|
|
707
|
+
/* @__PURE__ */ t.jsx(
|
|
708
|
+
se,
|
|
709
|
+
{
|
|
710
|
+
title: e,
|
|
711
|
+
className: A.title,
|
|
712
|
+
defaultVariant: "displayMd",
|
|
713
|
+
mobileVariant: "headingXl"
|
|
714
|
+
}
|
|
715
|
+
),
|
|
716
|
+
/* @__PURE__ */ t.jsx(Ht, { tags: l }),
|
|
717
|
+
/* @__PURE__ */ t.jsx("div", { className: A.callback, children: "TODO: Callback ZEN-392" })
|
|
678
718
|
] }),
|
|
679
|
-
/* @__PURE__ */ t.jsx("img", { src:
|
|
680
|
-
] })
|
|
719
|
+
/* @__PURE__ */ t.jsx("img", { src: a, alt: "Your Protocol", className: p(A.image, A.desktop), width: 481, height: 640 })
|
|
720
|
+
] }), qt = "totalCare-module__root___ZMGef", Kt = "totalCare-module__header___5sFQT", Qt = "totalCare-module__content___JZOOr", er = "totalCare-module__tags___7QHnt", or = "totalCare-module__image___mSoRY", X = {
|
|
721
|
+
root: qt,
|
|
722
|
+
header: Kt,
|
|
723
|
+
content: Qt,
|
|
724
|
+
tags: er,
|
|
725
|
+
image: or
|
|
726
|
+
}, nr = ({ title: e, tag: a, contentTabs: l, colorScheme: i }) => {
|
|
727
|
+
const [r, s] = U(l.tabs[0]);
|
|
728
|
+
return /* @__PURE__ */ t.jsxs("div", { className: X.root, "data-scheme": i, children: [
|
|
729
|
+
/* @__PURE__ */ t.jsx(
|
|
730
|
+
se,
|
|
731
|
+
{
|
|
732
|
+
title: e,
|
|
733
|
+
tag: a,
|
|
734
|
+
className: X.header,
|
|
735
|
+
colorScheme: i
|
|
736
|
+
}
|
|
737
|
+
),
|
|
738
|
+
/* @__PURE__ */ t.jsxs("div", { className: X.content, children: [
|
|
739
|
+
/* @__PURE__ */ t.jsx("div", { className: X.tags, children: /* @__PURE__ */ t.jsx(
|
|
740
|
+
Lt,
|
|
741
|
+
{
|
|
742
|
+
activeTab: r,
|
|
743
|
+
tabs: l.tabs,
|
|
744
|
+
colorScheme: l.colorScheme,
|
|
745
|
+
onTabClick: s
|
|
746
|
+
}
|
|
747
|
+
) }),
|
|
748
|
+
r.image && /* @__PURE__ */ t.jsx("img", { src: r.image, alt: "Total Care", className: X.image })
|
|
749
|
+
] })
|
|
750
|
+
] });
|
|
751
|
+
};
|
|
681
752
|
export {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
ft as
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
753
|
+
ae as Button,
|
|
754
|
+
Lt as ContentTabs,
|
|
755
|
+
le as EIconName,
|
|
756
|
+
ft as ETypeBadge,
|
|
757
|
+
se as HighlightedTitle,
|
|
758
|
+
w as Icon,
|
|
759
|
+
rr as Label,
|
|
760
|
+
sr as ProductGalleryCard,
|
|
761
|
+
lr as Tabs,
|
|
762
|
+
lt as Tag,
|
|
763
|
+
nr as TotalCare,
|
|
764
|
+
ar as TypeBadge,
|
|
765
|
+
E as Typography,
|
|
766
|
+
ir as YourProtocol,
|
|
692
767
|
p as cn,
|
|
693
|
-
|
|
694
|
-
|
|
768
|
+
Xo as isHsIcon,
|
|
769
|
+
b as typography
|
|
695
770
|
};
|
|
696
771
|
//# sourceMappingURL=healthspan-ui.es.js.map
|