@zenpatient-org/healthspan-marketing-ui 0.1.2 → 0.1.5

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,38 +1,38 @@
1
- import * as f from "react";
2
- import de, { forwardRef as ue, memo as me, useState as pe, useLayoutEffect as ge, createElement as be } from "react";
3
- const fe = "typography-module__displayXl___dx4Dh", he = "typography-module__displayLg___3BQI2", ve = "typography-module__displayMd___-bNBw", ye = "typography-module__displaySm___BswNI", Re = "typography-module__displayXs___jcmVJ", we = "typography-module__headingXl___nAQFD", ke = "typography-module__headingLg___Idt-Z", Te = "typography-module__headingMd___c-Q0B", Ae = "typography-module__headingSm___Q6zoR", Se = "typography-module__headingXs___fwDFl", Ee = "typography-module__headingXxs___ghw1N", Le = "typography-module__preambleMd___CbYgI", Ce = "typography-module__preambleSm___yKGjq", xe = "typography-module__bodyXl___m92AP", Oe = "typography-module__bodyLg___Fz-Fo", je = "typography-module__bodyMd___aH0Ph", Pe = "typography-module__bodySm___4-7TJ", Me = "typography-module__bodyXs___uTpSs", We = "typography-module__linkLg___xVngm", Xe = "typography-module__linkMd___82MQD", De = "typography-module__linkSm___LZ94B", Fe = "typography-module__linkXs___-6Kd5", $e = "typography-module__labelXl___jmHEl", Be = "typography-module__labelLg___31xPj", He = "typography-module__labelMd___e3ni6", Ne = "typography-module__labelSm___AsYEH", Ye = "typography-module__labelXs___zgCHL", Ue = "typography-module__labelEmphasis___nbkyG", Ve = "typography-module__weightRegular___F3ND2", Ge = "typography-module__weightMedium___XpDfI", b = {
4
- displayXl: fe,
5
- displayLg: he,
6
- displayMd: ve,
7
- displaySm: ye,
8
- displayXs: Re,
9
- headingXl: we,
10
- headingLg: ke,
11
- headingMd: Te,
12
- headingSm: Ae,
13
- headingXs: Se,
14
- headingXxs: Ee,
15
- preambleMd: Le,
16
- preambleSm: Ce,
17
- bodyXl: xe,
18
- bodyLg: Oe,
19
- bodyMd: je,
20
- bodySm: Pe,
21
- bodyXs: Me,
22
- linkLg: We,
23
- linkMd: Xe,
24
- linkSm: De,
25
- linkXs: Fe,
26
- labelXl: $e,
27
- labelLg: Be,
28
- labelMd: He,
29
- labelSm: Ne,
30
- labelXs: Ye,
31
- labelEmphasis: Ue,
32
- weightRegular: Ve,
33
- weightMedium: Ge
1
+ import * as y from "react";
2
+ import ge, { forwardRef as be, memo as K, useState as ee, useLayoutEffect as fe, createElement as he, useMemo as ve } from "react";
3
+ const ye = "typography-module__displayXl___dx4Dh", Re = "typography-module__displayLg___3BQI2", we = "typography-module__displayMd___-bNBw", ke = "typography-module__displaySm___BswNI", Te = "typography-module__displayXs___jcmVJ", Ae = "typography-module__headingXl___nAQFD", Se = "typography-module__headingLg___Idt-Z", xe = "typography-module__headingMd___c-Q0B", je = "typography-module__headingSm___Q6zoR", Ee = "typography-module__headingXs___fwDFl", Le = "typography-module__headingXxs___ghw1N", Ce = "typography-module__preambleMd___CbYgI", Oe = "typography-module__preambleSm___yKGjq", Pe = "typography-module__bodyXl___m92AP", Me = "typography-module__bodyLg___Fz-Fo", We = "typography-module__bodyMd___aH0Ph", Xe = "typography-module__bodySm___4-7TJ", De = "typography-module__bodyXs___uTpSs", Fe = "typography-module__linkLg___xVngm", Ne = "typography-module__linkMd___82MQD", $e = "typography-module__linkSm___LZ94B", Be = "typography-module__linkXs___-6Kd5", Ye = "typography-module__labelXl___jmHEl", He = "typography-module__labelLg___31xPj", Ve = "typography-module__labelMd___e3ni6", Ue = "typography-module__labelSm___AsYEH", Ge = "typography-module__labelXs___zgCHL", Je = "typography-module__labelEmphasis___nbkyG", ze = "typography-module__weightRegular___F3ND2", Ze = "typography-module__weightMedium___XpDfI", v = {
4
+ displayXl: ye,
5
+ displayLg: Re,
6
+ displayMd: we,
7
+ displaySm: ke,
8
+ displayXs: Te,
9
+ headingXl: Ae,
10
+ headingLg: Se,
11
+ headingMd: xe,
12
+ headingSm: je,
13
+ headingXs: Ee,
14
+ headingXxs: Le,
15
+ preambleMd: Ce,
16
+ preambleSm: Oe,
17
+ bodyXl: Pe,
18
+ bodyLg: Me,
19
+ bodyMd: We,
20
+ bodySm: Xe,
21
+ bodyXs: De,
22
+ linkLg: Fe,
23
+ linkMd: Ne,
24
+ linkSm: $e,
25
+ linkXs: Be,
26
+ labelXl: Ye,
27
+ labelLg: He,
28
+ labelMd: Ve,
29
+ labelSm: Ue,
30
+ labelXs: Ge,
31
+ labelEmphasis: Je,
32
+ weightRegular: ze,
33
+ weightMedium: Ze
34
34
  };
35
- var C = { exports: {} }, A = {};
35
+ var L = { exports: {} }, S = {};
36
36
  /**
37
37
  * @license React
38
38
  * react-jsx-runtime.production.js
@@ -42,29 +42,29 @@ var C = { exports: {} }, A = {};
42
42
  * This source code is licensed under the MIT license found in the
43
43
  * LICENSE file in the root directory of this source tree.
44
44
  */
45
- var J;
46
- function Je() {
47
- if (J) return A;
48
- J = 1;
49
- var e = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
50
- function a(i, o, l) {
51
- var c = null;
52
- if (l !== void 0 && (c = "" + l), o.key !== void 0 && (c = "" + o.key), "key" in o) {
53
- l = {};
54
- for (var m in o)
55
- m !== "key" && (l[m] = o[m]);
56
- } else l = o;
57
- return o = l.ref, {
45
+ var Z;
46
+ function qe() {
47
+ if (Z) return S;
48
+ Z = 1;
49
+ var e = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment");
50
+ function s(i, r, c) {
51
+ var n = null;
52
+ if (c !== void 0 && (n = "" + c), r.key !== void 0 && (n = "" + r.key), "key" in r) {
53
+ c = {};
54
+ for (var d in r)
55
+ d !== "key" && (c[d] = r[d]);
56
+ } else c = r;
57
+ return r = c.ref, {
58
58
  $$typeof: e,
59
59
  type: i,
60
- key: c,
61
- ref: o !== void 0 ? o : null,
62
- props: l
60
+ key: n,
61
+ ref: r !== void 0 ? r : null,
62
+ props: c
63
63
  };
64
64
  }
65
- return A.Fragment = n, A.jsx = a, A.jsxs = a, A;
65
+ return S.Fragment = l, S.jsx = s, S.jsxs = s, S;
66
66
  }
67
- var S = {};
67
+ var x = {};
68
68
  /**
69
69
  * @license React
70
70
  * react-jsx-runtime.development.js
@@ -74,328 +74,328 @@ var S = {};
74
74
  * This source code is licensed under the MIT license found in the
75
75
  * LICENSE file in the root directory of this source tree.
76
76
  */
77
- var z;
78
- function ze() {
79
- return z || (z = 1, process.env.NODE_ENV !== "production" && function() {
80
- function e(r) {
81
- if (r == null) return null;
82
- if (typeof r == "function")
83
- return r.$$typeof === le ? null : r.displayName || r.name || null;
84
- if (typeof r == "string") return r;
85
- switch (r) {
86
- case O:
77
+ var q;
78
+ function Ie() {
79
+ return q || (q = 1, process.env.NODE_ENV !== "production" && function() {
80
+ function e(o) {
81
+ if (o == null) return null;
82
+ if (typeof o == "function")
83
+ return o.$$typeof === ue ? null : o.displayName || o.name || null;
84
+ if (typeof o == "string") return o;
85
+ switch (o) {
86
+ case P:
87
87
  return "Fragment";
88
- case ee:
88
+ case ae:
89
89
  return "Profiler";
90
- case Q:
90
+ case te:
91
91
  return "StrictMode";
92
- case ae:
92
+ case ie:
93
93
  return "Suspense";
94
- case se:
94
+ case ce:
95
95
  return "SuspenseList";
96
- case ie:
96
+ case de:
97
97
  return "Activity";
98
98
  }
99
- if (typeof r == "object")
100
- switch (typeof r.tag == "number" && console.error(
99
+ if (typeof o == "object")
100
+ switch (typeof o.tag == "number" && console.error(
101
101
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
102
- ), r.$$typeof) {
103
- case K:
104
- return "Portal";
105
- case te:
106
- return (r.displayName || "Context") + ".Provider";
102
+ ), o.$$typeof) {
107
103
  case re:
108
- return (r._context.displayName || "Context") + ".Consumer";
109
- case oe:
110
- var t = r.render;
111
- return r = r.displayName, r || (r = t.displayName || t.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
104
+ return "Portal";
112
105
  case ne:
113
- return t = r.displayName || null, t !== null ? t : e(r.type) || "Memo";
114
- case B:
115
- t = r._payload, r = r._init;
106
+ return (o.displayName || "Context") + ".Provider";
107
+ case se:
108
+ return (o._context.displayName || "Context") + ".Consumer";
109
+ case le:
110
+ var a = o.render;
111
+ return o = o.displayName, o || (o = a.displayName || a.name || "", o = o !== "" ? "ForwardRef(" + o + ")" : "ForwardRef"), o;
112
+ case _e:
113
+ return a = o.displayName || null, a !== null ? a : e(o.type) || "Memo";
114
+ case Y:
115
+ a = o._payload, o = o._init;
116
116
  try {
117
- return e(r(t));
117
+ return e(o(a));
118
118
  } catch {
119
119
  }
120
120
  }
121
121
  return null;
122
122
  }
123
- function n(r) {
124
- return "" + r;
123
+ function l(o) {
124
+ return "" + o;
125
125
  }
126
- function a(r) {
126
+ function s(o) {
127
127
  try {
128
- n(r);
129
- var t = !1;
128
+ l(o);
129
+ var a = !1;
130
130
  } catch {
131
- t = !0;
131
+ a = !0;
132
132
  }
133
- if (t) {
134
- t = console;
135
- var _ = t.error, d = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
133
+ if (a) {
134
+ a = console;
135
+ var _ = a.error, u = typeof Symbol == "function" && Symbol.toStringTag && o[Symbol.toStringTag] || o.constructor.name || "Object";
136
136
  return _.call(
137
- t,
137
+ a,
138
138
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
139
- d
140
- ), n(r);
139
+ u
140
+ ), l(o);
141
141
  }
142
142
  }
143
- function i(r) {
144
- if (r === O) return "<>";
145
- if (typeof r == "object" && r !== null && r.$$typeof === B)
143
+ function i(o) {
144
+ if (o === P) return "<>";
145
+ if (typeof o == "object" && o !== null && o.$$typeof === Y)
146
146
  return "<...>";
147
147
  try {
148
- var t = e(r);
149
- return t ? "<" + t + ">" : "<...>";
148
+ var a = e(o);
149
+ return a ? "<" + a + ">" : "<...>";
150
150
  } catch {
151
151
  return "<...>";
152
152
  }
153
153
  }
154
- function o() {
155
- var r = j.A;
156
- return r === null ? null : r.getOwner();
154
+ function r() {
155
+ var o = M.A;
156
+ return o === null ? null : o.getOwner();
157
157
  }
158
- function l() {
158
+ function c() {
159
159
  return Error("react-stack-top-frame");
160
160
  }
161
- function c(r) {
162
- if (H.call(r, "key")) {
163
- var t = Object.getOwnPropertyDescriptor(r, "key").get;
164
- if (t && t.isReactWarning) return !1;
161
+ function n(o) {
162
+ if (H.call(o, "key")) {
163
+ var a = Object.getOwnPropertyDescriptor(o, "key").get;
164
+ if (a && a.isReactWarning) return !1;
165
165
  }
166
- return r.key !== void 0;
166
+ return o.key !== void 0;
167
167
  }
168
- function m(r, t) {
168
+ function d(o, a) {
169
169
  function _() {
170
- N || (N = !0, console.error(
170
+ V || (V = !0, console.error(
171
171
  "%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
- t
172
+ a
173
173
  ));
174
174
  }
175
- _.isReactWarning = !0, Object.defineProperty(r, "key", {
175
+ _.isReactWarning = !0, Object.defineProperty(o, "key", {
176
176
  get: _,
177
177
  configurable: !0
178
178
  });
179
179
  }
180
- function k() {
181
- var r = e(this.type);
182
- return Y[r] || (Y[r] = !0, console.error(
180
+ function g() {
181
+ var o = e(this.type);
182
+ return U[o] || (U[o] = !0, console.error(
183
183
  "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
- )), r = this.props.ref, r !== void 0 ? r : null;
184
+ )), o = this.props.ref, o !== void 0 ? o : null;
185
185
  }
186
- function T(r, t, _, d, h, p, M, W) {
187
- return _ = p.ref, r = {
188
- $$typeof: $,
189
- type: r,
190
- key: t,
191
- props: p,
192
- _owner: h
193
- }, (_ !== void 0 ? _ : null) !== null ? Object.defineProperty(r, "ref", {
186
+ function k(o, a, _, u, R, f, X, D) {
187
+ return _ = f.ref, o = {
188
+ $$typeof: B,
189
+ type: o,
190
+ key: a,
191
+ props: f,
192
+ _owner: R
193
+ }, (_ !== void 0 ? _ : null) !== null ? Object.defineProperty(o, "ref", {
194
194
  enumerable: !1,
195
- get: k
196
- }) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
195
+ get: g
196
+ }) : Object.defineProperty(o, "ref", { enumerable: !1, value: null }), o._store = {}, Object.defineProperty(o._store, "validated", {
197
197
  configurable: !1,
198
198
  enumerable: !1,
199
199
  writable: !0,
200
200
  value: 0
201
- }), Object.defineProperty(r, "_debugInfo", {
201
+ }), Object.defineProperty(o, "_debugInfo", {
202
202
  configurable: !1,
203
203
  enumerable: !1,
204
204
  writable: !0,
205
205
  value: null
206
- }), Object.defineProperty(r, "_debugStack", {
206
+ }), Object.defineProperty(o, "_debugStack", {
207
207
  configurable: !1,
208
208
  enumerable: !1,
209
209
  writable: !0,
210
- value: M
211
- }), Object.defineProperty(r, "_debugTask", {
210
+ value: X
211
+ }), Object.defineProperty(o, "_debugTask", {
212
212
  configurable: !1,
213
213
  enumerable: !1,
214
214
  writable: !0,
215
- value: W
216
- }), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
215
+ value: D
216
+ }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
217
217
  }
218
- function D(r, t, _, d, h, p, M, W) {
219
- var u = t.children;
220
- if (u !== void 0)
221
- if (d)
222
- if (ce(u)) {
223
- for (d = 0; d < u.length; d++)
224
- F(u[d]);
225
- Object.freeze && Object.freeze(u);
218
+ function N(o, a, _, u, R, f, X, D) {
219
+ var m = a.children;
220
+ if (m !== void 0)
221
+ if (u)
222
+ if (me(m)) {
223
+ for (u = 0; u < m.length; u++)
224
+ $(m[u]);
225
+ Object.freeze && Object.freeze(m);
226
226
  } else
227
227
  console.error(
228
228
  "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
229
  );
230
- else F(u);
231
- if (H.call(t, "key")) {
232
- u = e(r);
233
- var R = Object.keys(t).filter(function(_e) {
234
- return _e !== "key";
230
+ else $(m);
231
+ if (H.call(a, "key")) {
232
+ m = e(o);
233
+ var T = Object.keys(a).filter(function(pe) {
234
+ return pe !== "key";
235
235
  });
236
- d = 0 < R.length ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}", G[u + d] || (R = 0 < R.length ? "{" + R.join(": ..., ") + ": ...}" : "{}", console.error(
236
+ u = 0 < T.length ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}", z[m + u] || (T = 0 < T.length ? "{" + T.join(": ..., ") + ": ...}" : "{}", console.error(
237
237
  `A props object containing a "key" prop is being spread into JSX:
238
238
  let props = %s;
239
239
  <%s {...props} />
240
240
  React keys must be passed directly to JSX without using spread:
241
241
  let props = %s;
242
242
  <%s key={someKey} {...props} />`,
243
- d,
244
243
  u,
245
- R,
246
- u
247
- ), G[u + d] = !0);
244
+ m,
245
+ T,
246
+ m
247
+ ), z[m + u] = !0);
248
248
  }
249
- if (u = null, _ !== void 0 && (a(_), u = "" + _), c(t) && (a(t.key), u = "" + t.key), "key" in t) {
249
+ if (m = null, _ !== void 0 && (s(_), m = "" + _), n(a) && (s(a.key), m = "" + a.key), "key" in a) {
250
250
  _ = {};
251
- for (var X in t)
252
- X !== "key" && (_[X] = t[X]);
253
- } else _ = t;
254
- return u && m(
251
+ for (var F in a)
252
+ F !== "key" && (_[F] = a[F]);
253
+ } else _ = a;
254
+ return m && d(
255
255
  _,
256
- typeof r == "function" ? r.displayName || r.name || "Unknown" : r
257
- ), T(
258
- r,
259
- u,
260
- p,
261
- h,
262
- o(),
256
+ typeof o == "function" ? o.displayName || o.name || "Unknown" : o
257
+ ), k(
258
+ o,
259
+ m,
260
+ f,
261
+ R,
262
+ r(),
263
263
  _,
264
- M,
265
- W
264
+ X,
265
+ D
266
266
  );
267
267
  }
268
- function F(r) {
269
- typeof r == "object" && r !== null && r.$$typeof === $ && r._store && (r._store.validated = 1);
268
+ function $(o) {
269
+ typeof o == "object" && o !== null && o.$$typeof === B && o._store && (o._store.validated = 1);
270
270
  }
271
- var L = de, $ = Symbol.for("react.transitional.element"), K = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), Q = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), re = Symbol.for("react.consumer"), te = Symbol.for("react.context"), oe = Symbol.for("react.forward_ref"), ae = Symbol.for("react.suspense"), se = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), le = Symbol.for("react.client.reference"), j = L.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, ce = Array.isArray, P = console.createTask ? console.createTask : function() {
271
+ var E = ge, B = Symbol.for("react.transitional.element"), re = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), te = Symbol.for("react.strict_mode"), ae = Symbol.for("react.profiler"), se = Symbol.for("react.consumer"), ne = Symbol.for("react.context"), le = Symbol.for("react.forward_ref"), ie = Symbol.for("react.suspense"), ce = Symbol.for("react.suspense_list"), _e = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), de = Symbol.for("react.activity"), ue = Symbol.for("react.client.reference"), M = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = Object.prototype.hasOwnProperty, me = Array.isArray, W = console.createTask ? console.createTask : function() {
272
272
  return null;
273
273
  };
274
- L = {
275
- "react-stack-bottom-frame": function(r) {
276
- return r();
274
+ E = {
275
+ "react-stack-bottom-frame": function(o) {
276
+ return o();
277
277
  }
278
278
  };
279
- var N, Y = {}, U = L["react-stack-bottom-frame"].bind(
280
- L,
281
- l
282
- )(), V = P(i(l)), G = {};
283
- S.Fragment = O, S.jsx = function(r, t, _, d, h) {
284
- var p = 1e4 > j.recentlyCreatedOwnerStacks++;
285
- return D(
286
- r,
287
- t,
279
+ var V, U = {}, G = E["react-stack-bottom-frame"].bind(
280
+ E,
281
+ c
282
+ )(), J = W(i(c)), z = {};
283
+ x.Fragment = P, x.jsx = function(o, a, _, u, R) {
284
+ var f = 1e4 > M.recentlyCreatedOwnerStacks++;
285
+ return N(
286
+ o,
287
+ a,
288
288
  _,
289
289
  !1,
290
- d,
291
- h,
292
- p ? Error("react-stack-top-frame") : U,
293
- p ? P(i(r)) : V
290
+ u,
291
+ R,
292
+ f ? Error("react-stack-top-frame") : G,
293
+ f ? W(i(o)) : J
294
294
  );
295
- }, S.jsxs = function(r, t, _, d, h) {
296
- var p = 1e4 > j.recentlyCreatedOwnerStacks++;
297
- return D(
298
- r,
299
- t,
295
+ }, x.jsxs = function(o, a, _, u, R) {
296
+ var f = 1e4 > M.recentlyCreatedOwnerStacks++;
297
+ return N(
298
+ o,
299
+ a,
300
300
  _,
301
301
  !0,
302
- d,
303
- h,
304
- p ? Error("react-stack-top-frame") : U,
305
- p ? P(i(r)) : V
302
+ u,
303
+ R,
304
+ f ? Error("react-stack-top-frame") : G,
305
+ f ? W(i(o)) : J
306
306
  );
307
307
  };
308
- }()), S;
308
+ }()), x;
309
309
  }
310
- var Z;
311
- function Ze() {
312
- return Z || (Z = 1, process.env.NODE_ENV === "production" ? C.exports = Je() : C.exports = ze()), C.exports;
310
+ var I;
311
+ function Qe() {
312
+ return I || (I = 1, process.env.NODE_ENV === "production" ? L.exports = qe() : L.exports = Ie()), L.exports;
313
313
  }
314
- var s = Ze();
315
- const y = (...e) => e.map((a) => typeof a == "string" ? a : a ? Object.keys(a).filter((l) => a[l]).join(" ") : "").filter((a) => !!a).join(" "), Ur = ({
314
+ var t = Qe();
315
+ const b = (...e) => e.map((s) => typeof s == "string" ? s : s ? Object.keys(s).filter((c) => s[c]).join(" ") : "").filter((s) => !!s).join(" "), C = ({
316
316
  variant: e,
317
- children: n,
318
- className: a = "",
317
+ children: l,
318
+ className: s = "",
319
319
  weight: i,
320
- emphasis: o = !1,
321
- as: l = "span"
320
+ emphasis: r = !1,
321
+ as: c = "span"
322
322
  }) => {
323
- const c = b[e] || "";
324
- let m = i;
325
- o && !i && (m = "medium");
326
- const k = m ? b[`weight${m.charAt(0).toUpperCase()}${m.slice(1)}`] : "", T = e.startsWith("label") && o ? b.labelEmphasis : "";
327
- return /* @__PURE__ */ s.jsx(l, { className: y(c, k, T, a), children: n });
328
- }, qe = "button-module__button___JyfZW", Ie = "button-module__primary___ggjlO", Ke = "button-module__secondary___Q4I1z", Qe = "button-module__muted___DbVhc", er = "button-module__ghost___Dp7F-", rr = "button-module__xs___hb8XV", tr = "button-module__sm___nin2b", or = "button-module__md___0nyD0", ar = "button-module__lg___UZ-tP", sr = "button-module__disabled___S7XlI", x = {
329
- button: qe,
330
- primary: Ie,
323
+ const n = v[e] || "";
324
+ let d = i;
325
+ r && !i && (d = "medium");
326
+ const g = d ? v[`weight${d.charAt(0).toUpperCase()}${d.slice(1)}`] : "", k = e.startsWith("label") && r ? v.labelEmphasis : "";
327
+ return /* @__PURE__ */ t.jsx(c, { className: b(n, g, k, s), children: l });
328
+ }, Ke = "button-module__button___JyfZW", eo = "button-module__primary___ggjlO", oo = "button-module__secondary___Q4I1z", ro = "button-module__muted___DbVhc", to = "button-module__ghost___Dp7F-", ao = "button-module__xs___hb8XV", so = "button-module__sm___nin2b", no = "button-module__md___0nyD0", lo = "button-module__lg___UZ-tP", io = "button-module__disabled___S7XlI", O = {
329
+ button: Ke,
330
+ primary: eo,
331
331
  "primary-invert": "button-module__primary-invert___UQj7h",
332
- secondary: Ke,
333
- muted: Qe,
332
+ secondary: oo,
333
+ muted: ro,
334
334
  "muted-invert": "button-module__muted-invert___0nBJw",
335
- ghost: er,
336
- xs: rr,
337
- sm: tr,
338
- md: or,
339
- lg: ar,
340
- disabled: sr
341
- }, nr = ue(({
335
+ ghost: to,
336
+ xs: ao,
337
+ sm: so,
338
+ md: no,
339
+ lg: lo,
340
+ disabled: io
341
+ }, co = be(({
342
342
  variant: e = "primary",
343
- size: n = "md",
344
- as: a = "button",
343
+ size: l = "md",
344
+ as: s = "button",
345
345
  disabled: i = !1,
346
- children: o,
347
- ...l
348
- }, c) => {
349
- const m = x[e] || "", k = x[n] || "", T = i ? x.disabled : "";
350
- return /* @__PURE__ */ s.jsx(
351
- a,
346
+ children: r,
347
+ ...c
348
+ }, n) => {
349
+ const d = O[e] || "", g = O[l] || "", k = i ? O.disabled : "";
350
+ return /* @__PURE__ */ t.jsx(
351
+ s,
352
352
  {
353
- ref: c,
354
- ...l,
355
- className: y(
356
- x.button,
357
- m,
358
- k,
359
- T
353
+ ref: n,
354
+ ...c,
355
+ className: b(
356
+ O.button,
357
+ d,
358
+ g,
359
+ k
360
360
  ),
361
361
  disabled: i,
362
- children: o
362
+ children: r
363
363
  }
364
364
  );
365
365
  });
366
- nr.displayName = "Button";
367
- const ir = "label-module__root___b704i", lr = {
368
- root: ir
369
- }, cr = {
370
- sm: b.labelXs,
371
- lg: b.labelSm
372
- }, Vr = ({ children: e, color: n, size: a = "sm" }) => /* @__PURE__ */ s.jsx(
366
+ co.displayName = "Button";
367
+ const _o = "label-module__root___b704i", uo = {
368
+ root: _o
369
+ }, mo = {
370
+ sm: v.labelXs,
371
+ lg: v.labelSm
372
+ }, ar = ({ children: e, color: l, size: s = "sm" }) => /* @__PURE__ */ t.jsx(
373
373
  "div",
374
374
  {
375
- className: y(
376
- lr.root,
377
- b.labelEmphasis,
378
- cr[a]
375
+ className: b(
376
+ uo.root,
377
+ v.labelEmphasis,
378
+ mo[s]
379
379
  ),
380
- "data-size": a,
381
- "data-color": n,
380
+ "data-size": s,
381
+ "data-color": l,
382
382
  children: e
383
383
  }
384
- ), _r = (e, n, a) => {
385
- const i = e[n];
386
- return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((o, l) => {
384
+ ), po = (e, l, s) => {
385
+ const i = e[l];
386
+ return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((r, c) => {
387
387
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
388
- l.bind(
388
+ c.bind(
389
389
  null,
390
390
  new Error(
391
- "Unknown variable dynamic import: " + n + (n.split("/").length !== a ? ". Note that variables only represent file names one level deep." : "")
391
+ "Unknown variable dynamic import: " + l + (l.split("/").length !== s ? ". Note that variables only represent file names one level deep." : "")
392
392
  )
393
393
  )
394
394
  );
395
395
  });
396
396
  };
397
- var I = /* @__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))(I || {});
398
- const dr = {
397
+ var oe = /* @__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))(oe || {});
398
+ const go = {
399
399
  "alert-error-fill": "action",
400
400
  "alert-error": "action",
401
401
  check: "action",
@@ -449,151 +449,194 @@ const dr = {
449
449
  star: "social",
450
450
  x: "social"
451
451
  };
452
- function ur(e) {
453
- return Object.values(I).includes(e);
452
+ function bo(e) {
453
+ return e ? Object.values(oe).includes(e) : !1;
454
454
  }
455
- const E = me(({ name: e, className: n }) => {
456
- const [a, i] = pe(null);
457
- return ge(() => {
458
- let o = !0;
459
- return ur(e) && _r(/* @__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/${dr[e]}/${e}.svg`, 5).then((l) => {
460
- o && i(l);
455
+ const j = K(({ name: e, className: l }) => {
456
+ const [s, i] = ee(null);
457
+ return fe(() => {
458
+ let r = !0;
459
+ return bo(e) && po(/* @__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/${go[e]}/${e}.svg`, 5).then((c) => {
460
+ r && i(c);
461
461
  }), () => {
462
- o = !1;
462
+ r = !1;
463
463
  };
464
- }, [e]), a ? be(a.default, { className: n }) : /* @__PURE__ */ s.jsx("div", { className: n, children: "💡" });
465
- }), mr = "tag-module__tag___04JA1", pr = "tag-module__md___Vi5U2", gr = "tag-module__lg___AaJGY", br = "tag-module__active___Bc0bb", fr = "tag-module__content___uaFwG", hr = "tag-module__iconWrap___viC8K", w = {
466
- tag: mr,
467
- md: pr,
468
- lg: gr,
469
- active: br,
470
- content: fr,
471
- iconWrap: hr
472
- }, vr = {
473
- md: b.labelMd,
474
- lg: b.labelLg
475
- }, Gr = ({ value: e, children: n, active: a, disabled: i, size: o = "md", prefixIcon: l, suffixIcon: c, onClick: m }) => /* @__PURE__ */ s.jsx(
464
+ }, [e]), s ? he(s.default, { className: l }) : /* @__PURE__ */ t.jsx("div", { className: l, children: "💡" });
465
+ }), fo = "tag-module__tag___04JA1", ho = "tag-module__md___Vi5U2", vo = "tag-module__lg___AaJGY", yo = "tag-module__active___Bc0bb", Ro = "tag-module__content___uaFwG", wo = "tag-module__iconWrap___viC8K", A = {
466
+ tag: fo,
467
+ md: ho,
468
+ lg: vo,
469
+ active: yo,
470
+ content: Ro,
471
+ iconWrap: wo
472
+ }, ko = {
473
+ md: v.labelMd,
474
+ lg: v.labelLg
475
+ }, To = ({ value: e, children: l, active: s, disabled: i, size: r = "md", prefixIcon: c, suffixIcon: n, onClick: d }) => /* @__PURE__ */ t.jsx(
476
476
  "button",
477
477
  {
478
- className: y(
479
- w.tag,
480
- vr[o],
481
- { [w.active]: a },
482
- w[o]
478
+ className: b(
479
+ A.tag,
480
+ ko[r],
481
+ { [A.active]: s },
482
+ A[r]
483
483
  ),
484
484
  disabled: i,
485
- onClick: () => m(e),
486
- children: /* @__PURE__ */ s.jsxs("div", { className: w.content, children: [
487
- l && /* @__PURE__ */ s.jsx("div", { className: w.iconWrap, children: /* @__PURE__ */ s.jsx(E, { name: l }) }),
488
- /* @__PURE__ */ s.jsx("p", { children: n }),
489
- c && /* @__PURE__ */ s.jsx("div", { className: w.iconWrap, children: /* @__PURE__ */ s.jsx(E, { name: c }) })
485
+ onClick: () => d(e),
486
+ children: /* @__PURE__ */ t.jsxs("div", { className: A.content, children: [
487
+ c && /* @__PURE__ */ t.jsx("div", { className: A.iconWrap, children: /* @__PURE__ */ t.jsx(j, { name: c }) }),
488
+ /* @__PURE__ */ t.jsx("p", { children: l }),
489
+ n && /* @__PURE__ */ t.jsx("div", { className: A.iconWrap, children: /* @__PURE__ */ t.jsx(j, { name: n }) })
490
490
  ] })
491
491
  }
492
- ), yr = "tabs-module__container___NRX40", Rr = "tabs-module__tab___McM3m", wr = "tabs-module__sm___m4fiR", kr = "tabs-module__lg___SVeHo", Tr = "tabs-module__inverted___CBzom", Ar = "tabs-module__disabled___AXCIC", Sr = "tabs-module__bottom___Ho7ee", Er = "tabs-module__top___jthT8", Lr = "tabs-module__activeTab___MHq7V", Cr = "tabs-module__brackets___37Jhe", xr = "tabs-module__iconWrap___RY5wP", g = {
493
- container: yr,
494
- tab: Rr,
495
- sm: wr,
496
- lg: kr,
497
- inverted: Tr,
498
- disabled: Ar,
499
- bottom: Sr,
500
- top: Er,
501
- activeTab: Lr,
502
- brackets: Cr,
503
- iconWrap: xr
492
+ ), Ao = "tabs-module__container___NRX40", So = "tabs-module__tab___McM3m", xo = "tabs-module__sm___m4fiR", jo = "tabs-module__lg___SVeHo", Eo = "tabs-module__inverted___CBzom", Lo = "tabs-module__disabled___AXCIC", Co = "tabs-module__bottom___Ho7ee", Oo = "tabs-module__top___jthT8", Po = "tabs-module__activeTab___MHq7V", Mo = "tabs-module__brackets___37Jhe", Wo = "tabs-module__iconWrap___RY5wP", h = {
493
+ container: Ao,
494
+ tab: So,
495
+ sm: xo,
496
+ lg: jo,
497
+ inverted: Eo,
498
+ disabled: Lo,
499
+ bottom: Co,
500
+ top: Oo,
501
+ activeTab: Po,
502
+ brackets: Mo,
503
+ iconWrap: Wo
504
504
  };
505
- function Jr({
505
+ function sr({
506
506
  activeTab: e,
507
- tabs: n,
508
- onTabClick: a,
507
+ tabs: l,
508
+ onTabClick: s,
509
509
  size: i = "sm",
510
- activeLinePosition: o = "bottom",
511
- inverted: l
510
+ activeLinePosition: r = "bottom",
511
+ inverted: c
512
512
  }) {
513
- return /* @__PURE__ */ s.jsx(
513
+ return /* @__PURE__ */ t.jsx(
514
514
  "div",
515
515
  {
516
- className: g.container,
517
- children: n.map((c) => /* @__PURE__ */ s.jsxs(
516
+ className: h.container,
517
+ children: l.map((n) => /* @__PURE__ */ t.jsxs(
518
518
  "button",
519
519
  {
520
- className: y(
521
- g.tab,
522
- g[i],
520
+ className: b(
521
+ h.tab,
522
+ h[i],
523
523
  {
524
- [g.inverted]: l,
525
- [g.activeTab]: e === c.value,
526
- [g.disabled]: c.disabled,
527
- [g.brackets]: i === "lg" && e === c.value && n.length > 1
524
+ [h.inverted]: c,
525
+ [h.activeTab]: e === n.value,
526
+ [h.disabled]: n.disabled,
527
+ [h.brackets]: i === "lg" && e === n.value && l.length > 1
528
528
  },
529
- g[o],
530
- c.className
529
+ h[r],
530
+ n.className
531
531
  ),
532
- disabled: c.disabled,
533
- onClick: () => a(c.value),
532
+ disabled: n.disabled,
533
+ onClick: () => s(n.value),
534
534
  children: [
535
- c.prefixIcon && /* @__PURE__ */ s.jsx("div", { className: g.iconWrap, children: /* @__PURE__ */ s.jsx(E, { name: c.prefixIcon }) }),
536
- /* @__PURE__ */ s.jsx("div", { children: c.label }),
537
- c.suffixIcon && /* @__PURE__ */ s.jsx("div", { className: g.iconWrap, children: /* @__PURE__ */ s.jsx(E, { name: c.suffixIcon }) })
535
+ n.prefixIcon && /* @__PURE__ */ t.jsx("div", { className: h.iconWrap, children: /* @__PURE__ */ t.jsx(j, { name: n.prefixIcon }) }),
536
+ /* @__PURE__ */ t.jsx("div", { children: n.label }),
537
+ n.suffixIcon && /* @__PURE__ */ t.jsx("div", { className: h.iconWrap, children: /* @__PURE__ */ t.jsx(j, { name: n.suffixIcon }) })
538
538
  ]
539
539
  },
540
- String(c.value)
540
+ String(n.value)
541
541
  ))
542
542
  }
543
543
  );
544
544
  }
545
- const Or = (e) => /* @__PURE__ */ f.createElement("svg", { width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ f.createElement("g", { clipPath: "url(#clip0_984_190)" }, /* @__PURE__ */ f.createElement("path", { d: "M10 3.3496L6.73464 0.0842285L6 0.818839L9.2654 4.08423L10 3.3496Z" }), /* @__PURE__ */ f.createElement("path", { d: "M3.26537 0.0842285L0 3.34962L0.734613 4.08423L4 0.818844L3.26537 0.0842285Z" }), /* @__PURE__ */ f.createElement("path", { d: "M9.2654 6.08423L6 9.34962L6.7346 10.0842L10 6.81883L9.2654 6.08423Z" }), /* @__PURE__ */ f.createElement("path", { d: "M4 9.34959L0.734618 6.08423L0 6.81886L3.2654 10.0842L4 9.34959Z" })), /* @__PURE__ */ f.createElement("defs", null, /* @__PURE__ */ f.createElement("clipPath", { id: "clip0_984_190" }, /* @__PURE__ */ f.createElement("rect", { width: 10, height: 10, fill: "white" })))), jr = "typeBadge-module__typeBadge___Jxk0v", Pr = "typeBadge-module__badgeIcon___BIDN2", q = {
546
- typeBadge: jr,
547
- badgeIcon: Pr
548
- }, zr = ({
545
+ const Xo = (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" })))), Do = "typeBadge-module__typeBadge___Jxk0v", Fo = "typeBadge-module__badgeIcon___BIDN2", Q = {
546
+ typeBadge: Do,
547
+ badgeIcon: Fo
548
+ }, nr = ({
549
549
  type: e = "senescence"
550
550
  /* SENESCENCE */
551
- }) => /* @__PURE__ */ s.jsx("div", { className: q.typeBadge, "data-type": e, children: /* @__PURE__ */ s.jsx(Or, { className: q.badgeIcon }) }), Mr = "contentTabs-module__root___vJVGt", Wr = "contentTabs-module__tabWrap___jwBNf", Xr = "contentTabs-module__tab___oMzRn", Dr = "contentTabs-module__light___LyVtp", Fr = "contentTabs-module__dark___-VJo6", $r = "contentTabs-module__activeTab___0Uvh6", Br = "contentTabs-module__icon___nyuv-", Hr = "contentTabs-module__description___sM2G-", Nr = "contentTabs-module__descriptionActive___aa8C1", v = {
552
- root: Mr,
553
- tabWrap: Wr,
554
- tab: Xr,
555
- light: Dr,
556
- dark: Fr,
557
- activeTab: $r,
558
- icon: Br,
559
- description: Hr,
560
- descriptionActive: Nr
551
+ }) => /* @__PURE__ */ t.jsx("div", { className: Q.typeBadge, "data-type": e, children: /* @__PURE__ */ t.jsx(Xo, { className: Q.badgeIcon }) }), No = "contentTabs-module__root___vJVGt", $o = "contentTabs-module__tabWrap___jwBNf", Bo = "contentTabs-module__tab___oMzRn", Yo = "contentTabs-module__light___LyVtp", Ho = "contentTabs-module__dark___-VJo6", Vo = "contentTabs-module__activeTab___0Uvh6", Uo = "contentTabs-module__icon___nyuv-", Go = "contentTabs-module__description___sM2G-", Jo = "contentTabs-module__descriptionActive___aa8C1", w = {
552
+ root: No,
553
+ tabWrap: $o,
554
+ tab: Bo,
555
+ light: Yo,
556
+ dark: Ho,
557
+ activeTab: Vo,
558
+ icon: Uo,
559
+ description: Go,
560
+ descriptionActive: Jo
561
561
  };
562
- function Zr({ tabs: e, activeTab: n, style: a, onTabClick: i }) {
563
- return /* @__PURE__ */ s.jsx("div", { className: y(v.root, v[a]), children: e.map((o) => /* @__PURE__ */ s.jsxs("div", { className: v.tabWrap, children: [
564
- /* @__PURE__ */ s.jsxs(
562
+ function lr({ tabs: e, activeTab: l, style: s, onTabClick: i }) {
563
+ return /* @__PURE__ */ t.jsx("div", { className: b(w.root, w[s]), children: e.map((r) => /* @__PURE__ */ t.jsxs("div", { className: w.tabWrap, children: [
564
+ /* @__PURE__ */ t.jsxs(
565
565
  "button",
566
566
  {
567
- className: y(v.tab, { [v.activeTab]: n === o.value }),
568
- onClick: () => i(o.value),
567
+ className: b(w.tab, { [w.activeTab]: l === r.value }),
568
+ onClick: () => i(r.value),
569
569
  children: [
570
- o.icon && /* @__PURE__ */ s.jsx("div", { className: v.icon, children: /* @__PURE__ */ s.jsx(E, { name: o.icon }) }),
571
- /* @__PURE__ */ s.jsx("div", { className: b.headingSm, children: o.label })
570
+ r.icon && /* @__PURE__ */ t.jsx("div", { className: w.icon, children: /* @__PURE__ */ t.jsx(j, { name: r.icon }) }),
571
+ /* @__PURE__ */ t.jsx("div", { className: v.headingSm, children: r.label })
572
572
  ]
573
573
  }
574
574
  ),
575
- /* @__PURE__ */ s.jsx(
575
+ /* @__PURE__ */ t.jsx(
576
576
  "p",
577
577
  {
578
- className: y(
579
- v.description,
580
- { [v.descriptionActive]: n === o.value },
581
- b.bodySm
578
+ className: b(
579
+ w.description,
580
+ { [w.descriptionActive]: l === r.value },
581
+ v.bodySm
582
582
  ),
583
- children: o.description
583
+ children: r.description
584
584
  }
585
585
  )
586
- ] }, String(o.value))) });
586
+ ] }, String(r.value))) });
587
587
  }
588
+ const zo = "yourProtocol-module__root___Q35lO", Zo = "yourProtocol-module__content___mMf6R", qo = "yourProtocol-module__title___xNPOR", Io = "yourProtocol-module__tags___jc-o6", Qo = "yourProtocol-module__image___fVaOZ", Ko = "yourProtocol-module__mobile___g7AAQ", er = "yourProtocol-module__description___Wab-a", or = "yourProtocol-module__callback___bvu49", rr = "yourProtocol-module__desktop___pl-rW", p = {
589
+ root: zo,
590
+ content: Zo,
591
+ title: qo,
592
+ tags: Io,
593
+ image: Qo,
594
+ mobile: Ko,
595
+ description: er,
596
+ callback: or,
597
+ desktop: rr
598
+ }, ir = K(({ title: e, image: l, tags: s, callbackView: i }) => {
599
+ var d;
600
+ const [r, c] = ee(((d = s[0]) == null ? void 0 : d.label) || null), n = ve(() => {
601
+ var g;
602
+ return (g = s.find((k) => k.label === r)) == null ? void 0 : g.description;
603
+ }, [r, s]);
604
+ return /* @__PURE__ */ t.jsxs("div", { className: p.root, children: [
605
+ /* @__PURE__ */ t.jsxs("div", { className: p.content, children: [
606
+ /* @__PURE__ */ t.jsx(C, { as: "h2", variant: "displayMd", className: b(p.title, p.desktop), children: e }),
607
+ /* @__PURE__ */ t.jsx(C, { as: "h2", variant: "headingXl", className: b(p.title, p.mobile), children: e }),
608
+ /* @__PURE__ */ t.jsx("div", { className: p.tags, children: s.map((g) => /* @__PURE__ */ t.jsx(
609
+ To,
610
+ {
611
+ value: g.label,
612
+ size: "md",
613
+ active: g.label === r,
614
+ onClick: c,
615
+ children: g.label
616
+ },
617
+ g.label
618
+ )) }),
619
+ n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
620
+ /* @__PURE__ */ t.jsx(C, { as: "p", variant: "bodyLg", className: b(p.description, p.desktop), children: n }),
621
+ /* @__PURE__ */ t.jsx(C, { as: "p", variant: "bodyMd", className: b(p.description, p.mobile), children: n })
622
+ ] }),
623
+ /* @__PURE__ */ t.jsx("div", { className: p.callback, children: "TODO: Callback ZEN-392" })
624
+ ] }),
625
+ /* @__PURE__ */ t.jsx("img", { src: l, alt: "Your Protocol", className: b(p.image, p.desktop), width: 481, height: 640 })
626
+ ] });
627
+ });
588
628
  export {
589
- nr as Button,
590
- Zr as ContentTabs,
591
- E as Icon,
592
- Vr as Label,
593
- Jr as Tabs,
594
- Gr as Tag,
595
- zr as TypeBadge,
596
- Ur as Typography,
597
- b as typography
629
+ co as Button,
630
+ lr as ContentTabs,
631
+ j as Icon,
632
+ ar as Label,
633
+ sr as Tabs,
634
+ To as Tag,
635
+ nr as TypeBadge,
636
+ C as Typography,
637
+ ir as YourProtocol,
638
+ b as cn,
639
+ bo as isHsIcon,
640
+ v as typography
598
641
  };
599
642
  //# sourceMappingURL=healthspan-ui.es.js.map