@youversion/design-system-components 0.0.7 → 0.0.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/index.es.js CHANGED
@@ -1,32 +1,33 @@
1
- import y from "clsx";
2
- import F, { forwardRef as L, createElement as D, useRef as be, useEffect as xe, useMemo as Dt, cloneElement as It } from "react";
3
- const ge = (t) => {
1
+ import h from "clsx";
2
+ import * as ve from "react";
3
+ import F, { forwardRef as L, createElement as I, useRef as xe, useEffect as he, useMemo as Dt, cloneElement as Vt } from "react";
4
+ const me = (t) => {
4
5
  if (t) {
5
6
  if (typeof t != "string" && t)
6
- return y(t.lightMode, t.darkMode);
7
+ return h(t.lightMode, t.darkMode);
7
8
  if (typeof t == "string")
8
9
  return t;
9
10
  }
10
- }, Ue = (t) => {
11
+ }, qe = (t) => {
11
12
  if (t) {
12
13
  if (typeof t != "string" && t)
13
- return y(t.block, t.blockEnd, t.blockStart, t.inline, t.inlineEnd, t.inlineStart);
14
+ return h(t.block, t.blockEnd, t.blockStart, t.inline, t.inlineEnd, t.inlineStart);
14
15
  if (typeof t == "string")
15
16
  return t;
16
17
  }
17
- }, Vt = ({
18
+ }, Wt = ({
18
19
  background: t,
19
20
  borderColor: o,
20
21
  borderRadius: i,
21
- borderWidth: n,
22
+ borderWidth: a,
22
23
  className: l,
23
- component: c = "div",
24
+ component: s = "div",
24
25
  color: d,
25
26
  elevation: f = 0,
26
27
  height: p,
27
- margin: h,
28
- padding: u,
29
- width: x,
28
+ margin: y,
29
+ padding: c,
30
+ width: b,
30
31
  ...T
31
32
  }, B) => {
32
33
  const R = {
@@ -36,27 +37,27 @@ const ge = (t) => {
36
37
  4: "shadow-light-4 dark:shadow-dark-4",
37
38
  8: "shadow-light-8 dark:shadow-dark-8",
38
39
  12: "shadow-light-12 dark:shadow-dark-12"
39
- }, Y = ge(d), V = ge(t), O = ge(o), w = Ue(u), U = Ue(h), W = y(
40
+ }, Y = me(d), V = me(t), P = me(o), E = qe(c), U = qe(y), W = h(
40
41
  i,
41
- n,
42
+ a,
42
43
  R[f],
43
44
  U,
44
- w,
45
+ E,
45
46
  Y,
46
47
  V,
47
- O,
48
- x,
48
+ P,
49
+ b,
49
50
  p,
50
51
  l
51
52
  );
52
- return D(c, {
53
+ return I(s, {
53
54
  className: W,
54
55
  ...T,
55
56
  ref: B
56
57
  });
57
- }, tt = L(Vt);
58
- tt.displayName = "Box";
59
- var G = {}, Wt = {
58
+ }, rt = L(Wt);
59
+ rt.displayName = "Box";
60
+ var G = {}, At = {
60
61
  get exports() {
61
62
  return G;
62
63
  },
@@ -73,21 +74,21 @@ var G = {}, Wt = {
73
74
  * This source code is licensed under the MIT license found in the
74
75
  * LICENSE file in the root directory of this source tree.
75
76
  */
76
- var qe;
77
+ var Ke;
77
78
  function $t() {
78
- if (qe)
79
+ if (Ke)
79
80
  return J;
80
- qe = 1;
81
- var t = F, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
82
- function d(f, p, h) {
83
- var u, x = {}, T = null, B = null;
84
- h !== void 0 && (T = "" + h), p.key !== void 0 && (T = "" + p.key), p.ref !== void 0 && (B = p.ref);
85
- for (u in p)
86
- n.call(p, u) && !c.hasOwnProperty(u) && (x[u] = p[u]);
81
+ Ke = 1;
82
+ var t = F, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
83
+ function d(f, p, y) {
84
+ var c, b = {}, T = null, B = null;
85
+ y !== void 0 && (T = "" + y), p.key !== void 0 && (T = "" + p.key), p.ref !== void 0 && (B = p.ref);
86
+ for (c in p)
87
+ a.call(p, c) && !s.hasOwnProperty(c) && (b[c] = p[c]);
87
88
  if (f && f.defaultProps)
88
- for (u in p = f.defaultProps, p)
89
- x[u] === void 0 && (x[u] = p[u]);
90
- return { $$typeof: o, type: f, key: T, ref: B, props: x, _owner: l.current };
89
+ for (c in p = f.defaultProps, p)
90
+ b[c] === void 0 && (b[c] = p[c]);
91
+ return { $$typeof: o, type: f, key: T, ref: B, props: b, _owner: l.current };
91
92
  }
92
93
  return J.Fragment = i, J.jsx = d, J.jsxs = d, J;
93
94
  }
@@ -101,91 +102,91 @@ var z = {};
101
102
  * This source code is licensed under the MIT license found in the
102
103
  * LICENSE file in the root directory of this source tree.
103
104
  */
104
- var Ke;
105
- function At() {
106
- return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
107
- var t = F, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), f = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, Y = "@@iterator";
105
+ var Je;
106
+ function Mt() {
107
+ return Je || (Je = 1, process.env.NODE_ENV !== "production" && function() {
108
+ var t = F, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), f = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, Y = "@@iterator";
108
109
  function V(e) {
109
110
  if (e === null || typeof e != "object")
110
111
  return null;
111
112
  var r = R && e[R] || e[Y];
112
113
  return typeof r == "function" ? r : null;
113
114
  }
114
- var O = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
115
- function w(e) {
115
+ var P = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
116
+ function E(e) {
116
117
  {
117
- for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
118
- a[s - 1] = arguments[s];
119
- U("error", e, a);
118
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
119
+ n[u - 1] = arguments[u];
120
+ U("error", e, n);
120
121
  }
121
122
  }
122
- function U(e, r, a) {
123
+ function U(e, r, n) {
123
124
  {
124
- var s = O.ReactDebugCurrentFrame, b = s.getStackAddendum();
125
- b !== "" && (r += "%s", a = a.concat([b]));
126
- var k = a.map(function(m) {
127
- return String(m);
125
+ var u = P.ReactDebugCurrentFrame, x = u.getStackAddendum();
126
+ x !== "" && (r += "%s", n = n.concat([x]));
127
+ var k = n.map(function(v) {
128
+ return String(v);
128
129
  });
129
130
  k.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, k);
130
131
  }
131
132
  }
132
- var W = !1, oe = !1, $ = !1, H = !1, st = !1, he;
133
- he = Symbol.for("react.module.reference");
134
- function ut(e) {
135
- return !!(typeof e == "string" || typeof e == "function" || e === n || e === c || st || e === l || e === h || e === u || H || e === B || W || oe || $ || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === x || e.$$typeof === d || e.$$typeof === f || e.$$typeof === p || // This needs to include all possible module reference object
133
+ var W = !1, oe = !1, A = !1, H = !1, ut = !1, ke;
134
+ ke = Symbol.for("react.module.reference");
135
+ function dt(e) {
136
+ return !!(typeof e == "string" || typeof e == "function" || e === a || e === s || ut || e === l || e === y || e === c || H || e === B || W || oe || A || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === b || e.$$typeof === d || e.$$typeof === f || e.$$typeof === p || // This needs to include all possible module reference object
136
137
  // types supported by any Flight configuration anywhere since
137
138
  // we don't know which Flight build this will end up being used
138
139
  // with.
139
- e.$$typeof === he || e.getModuleId !== void 0));
140
+ e.$$typeof === ke || e.getModuleId !== void 0));
140
141
  }
141
- function dt(e, r, a) {
142
- var s = e.displayName;
143
- if (s)
144
- return s;
145
- var b = r.displayName || r.name || "";
146
- return b !== "" ? a + "(" + b + ")" : a;
142
+ function ct(e, r, n) {
143
+ var u = e.displayName;
144
+ if (u)
145
+ return u;
146
+ var x = r.displayName || r.name || "";
147
+ return x !== "" ? n + "(" + x + ")" : n;
147
148
  }
148
- function ke(e) {
149
+ function we(e) {
149
150
  return e.displayName || "Context";
150
151
  }
151
152
  function N(e) {
152
153
  if (e == null)
153
154
  return null;
154
- if (typeof e.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
155
+ if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
155
156
  return e.displayName || e.name || null;
156
157
  if (typeof e == "string")
157
158
  return e;
158
159
  switch (e) {
159
- case n:
160
+ case a:
160
161
  return "Fragment";
161
162
  case i:
162
163
  return "Portal";
163
- case c:
164
+ case s:
164
165
  return "Profiler";
165
166
  case l:
166
167
  return "StrictMode";
167
- case h:
168
+ case y:
168
169
  return "Suspense";
169
- case u:
170
+ case c:
170
171
  return "SuspenseList";
171
172
  }
172
173
  if (typeof e == "object")
173
174
  switch (e.$$typeof) {
174
175
  case f:
175
176
  var r = e;
176
- return ke(r) + ".Consumer";
177
+ return we(r) + ".Consumer";
177
178
  case d:
178
- var a = e;
179
- return ke(a._context) + ".Provider";
179
+ var n = e;
180
+ return we(n._context) + ".Provider";
180
181
  case p:
181
- return dt(e, e.render, "ForwardRef");
182
- case x:
183
- var s = e.displayName || null;
184
- return s !== null ? s : N(e.type) || "Memo";
182
+ return ct(e, e.render, "ForwardRef");
183
+ case b:
184
+ var u = e.displayName || null;
185
+ return u !== null ? u : N(e.type) || "Memo";
185
186
  case T: {
186
- var b = e, k = b._payload, m = b._init;
187
+ var x = e, k = x._payload, v = x._init;
187
188
  try {
188
- return N(m(k));
189
+ return N(v(k));
189
190
  } catch {
190
191
  return null;
191
192
  }
@@ -193,18 +194,18 @@ function At() {
193
194
  }
194
195
  return null;
195
196
  }
196
- var I = Object.assign, q = 0, Ee, we, _e, Re, Se, Te, Ce;
197
- function Oe() {
197
+ var D = Object.assign, q = 0, Ee, _e, Re, Se, Te, Ce, Oe;
198
+ function Pe() {
198
199
  }
199
- Oe.__reactDisabledLog = !0;
200
- function ct() {
200
+ Pe.__reactDisabledLog = !0;
201
+ function ft() {
201
202
  {
202
203
  if (q === 0) {
203
- Ee = console.log, we = console.info, _e = console.warn, Re = console.error, Se = console.group, Te = console.groupCollapsed, Ce = console.groupEnd;
204
+ Ee = console.log, _e = console.info, Re = console.warn, Se = console.error, Te = console.group, Ce = console.groupCollapsed, Oe = console.groupEnd;
204
205
  var e = {
205
206
  configurable: !0,
206
207
  enumerable: !0,
207
- value: Oe,
208
+ value: Pe,
208
209
  writable: !0
209
210
  };
210
211
  Object.defineProperties(console, {
@@ -220,7 +221,7 @@ function At() {
220
221
  q++;
221
222
  }
222
223
  }
223
- function ft() {
224
+ function pt() {
224
225
  {
225
226
  if (q--, q === 0) {
226
227
  var e = {
@@ -229,41 +230,41 @@ function At() {
229
230
  writable: !0
230
231
  };
231
232
  Object.defineProperties(console, {
232
- log: I({}, e, {
233
+ log: D({}, e, {
233
234
  value: Ee
234
235
  }),
235
- info: I({}, e, {
236
- value: we
237
- }),
238
- warn: I({}, e, {
236
+ info: D({}, e, {
239
237
  value: _e
240
238
  }),
241
- error: I({}, e, {
239
+ warn: D({}, e, {
242
240
  value: Re
243
241
  }),
244
- group: I({}, e, {
242
+ error: D({}, e, {
245
243
  value: Se
246
244
  }),
247
- groupCollapsed: I({}, e, {
245
+ group: D({}, e, {
248
246
  value: Te
249
247
  }),
250
- groupEnd: I({}, e, {
248
+ groupCollapsed: D({}, e, {
251
249
  value: Ce
250
+ }),
251
+ groupEnd: D({}, e, {
252
+ value: Oe
252
253
  })
253
254
  });
254
255
  }
255
- q < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
256
+ q < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
256
257
  }
257
258
  }
258
- var ie = O.ReactCurrentDispatcher, le;
259
- function X(e, r, a) {
259
+ var ie = P.ReactCurrentDispatcher, le;
260
+ function X(e, r, n) {
260
261
  {
261
262
  if (le === void 0)
262
263
  try {
263
264
  throw Error();
264
- } catch (b) {
265
- var s = b.stack.trim().match(/\n( *(at )?)/);
266
- le = s && s[1] || "";
265
+ } catch (x) {
266
+ var u = x.stack.trim().match(/\n( *(at )?)/);
267
+ le = u && u[1] || "";
267
268
  }
268
269
  return `
269
270
  ` + le + e;
@@ -271,175 +272,175 @@ function At() {
271
272
  }
272
273
  var se = !1, Z;
273
274
  {
274
- var pt = typeof WeakMap == "function" ? WeakMap : Map;
275
- Z = new pt();
275
+ var mt = typeof WeakMap == "function" ? WeakMap : Map;
276
+ Z = new mt();
276
277
  }
277
- function Pe(e, r) {
278
+ function Ne(e, r) {
278
279
  if (!e || se)
279
280
  return "";
280
281
  {
281
- var a = Z.get(e);
282
- if (a !== void 0)
283
- return a;
282
+ var n = Z.get(e);
283
+ if (n !== void 0)
284
+ return n;
284
285
  }
285
- var s;
286
+ var u;
286
287
  se = !0;
287
- var b = Error.prepareStackTrace;
288
+ var x = Error.prepareStackTrace;
288
289
  Error.prepareStackTrace = void 0;
289
290
  var k;
290
- k = ie.current, ie.current = null, ct();
291
+ k = ie.current, ie.current = null, ft();
291
292
  try {
292
293
  if (r) {
293
- var m = function() {
294
+ var v = function() {
294
295
  throw Error();
295
296
  };
296
- if (Object.defineProperty(m.prototype, "props", {
297
+ if (Object.defineProperty(v.prototype, "props", {
297
298
  set: function() {
298
299
  throw Error();
299
300
  }
300
301
  }), typeof Reflect == "object" && Reflect.construct) {
301
302
  try {
302
- Reflect.construct(m, []);
303
+ Reflect.construct(v, []);
303
304
  } catch (j) {
304
- s = j;
305
+ u = j;
305
306
  }
306
- Reflect.construct(e, [], m);
307
+ Reflect.construct(e, [], v);
307
308
  } else {
308
309
  try {
309
- m.call();
310
+ v.call();
310
311
  } catch (j) {
311
- s = j;
312
+ u = j;
312
313
  }
313
- e.call(m.prototype);
314
+ e.call(v.prototype);
314
315
  }
315
316
  } else {
316
317
  try {
317
318
  throw Error();
318
319
  } catch (j) {
319
- s = j;
320
+ u = j;
320
321
  }
321
322
  e();
322
323
  }
323
324
  } catch (j) {
324
- if (j && s && typeof j.stack == "string") {
325
+ if (j && u && typeof j.stack == "string") {
325
326
  for (var g = j.stack.split(`
326
- `), S = s.stack.split(`
327
- `), E = g.length - 1, _ = S.length - 1; E >= 1 && _ >= 0 && g[E] !== S[_]; )
327
+ `), S = u.stack.split(`
328
+ `), w = g.length - 1, _ = S.length - 1; w >= 1 && _ >= 0 && g[w] !== S[_]; )
328
329
  _--;
329
- for (; E >= 1 && _ >= 0; E--, _--)
330
- if (g[E] !== S[_]) {
331
- if (E !== 1 || _ !== 1)
330
+ for (; w >= 1 && _ >= 0; w--, _--)
331
+ if (g[w] !== S[_]) {
332
+ if (w !== 1 || _ !== 1)
332
333
  do
333
- if (E--, _--, _ < 0 || g[E] !== S[_]) {
334
+ if (w--, _--, _ < 0 || g[w] !== S[_]) {
334
335
  var C = `
335
- ` + g[E].replace(" at new ", " at ");
336
+ ` + g[w].replace(" at new ", " at ");
336
337
  return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, C), C;
337
338
  }
338
- while (E >= 1 && _ >= 0);
339
+ while (w >= 1 && _ >= 0);
339
340
  break;
340
341
  }
341
342
  }
342
343
  } finally {
343
- se = !1, ie.current = k, ft(), Error.prepareStackTrace = b;
344
+ se = !1, ie.current = k, pt(), Error.prepareStackTrace = x;
344
345
  }
345
- var M = e ? e.displayName || e.name : "", Ye = M ? X(M) : "";
346
- return typeof e == "function" && Z.set(e, Ye), Ye;
346
+ var M = e ? e.displayName || e.name : "", Ue = M ? X(M) : "";
347
+ return typeof e == "function" && Z.set(e, Ue), Ue;
347
348
  }
348
- function gt(e, r, a) {
349
- return Pe(e, !1);
349
+ function gt(e, r, n) {
350
+ return Ne(e, !1);
350
351
  }
351
- function mt(e) {
352
+ function vt(e) {
352
353
  var r = e.prototype;
353
354
  return !!(r && r.isReactComponent);
354
355
  }
355
- function Q(e, r, a) {
356
+ function Q(e, r, n) {
356
357
  if (e == null)
357
358
  return "";
358
359
  if (typeof e == "function")
359
- return Pe(e, mt(e));
360
+ return Ne(e, vt(e));
360
361
  if (typeof e == "string")
361
362
  return X(e);
362
363
  switch (e) {
363
- case h:
364
+ case y:
364
365
  return X("Suspense");
365
- case u:
366
+ case c:
366
367
  return X("SuspenseList");
367
368
  }
368
369
  if (typeof e == "object")
369
370
  switch (e.$$typeof) {
370
371
  case p:
371
372
  return gt(e.render);
372
- case x:
373
- return Q(e.type, r, a);
373
+ case b:
374
+ return Q(e.type, r, n);
374
375
  case T: {
375
- var s = e, b = s._payload, k = s._init;
376
+ var u = e, x = u._payload, k = u._init;
376
377
  try {
377
- return Q(k(b), r, a);
378
+ return Q(k(x), r, n);
378
379
  } catch {
379
380
  }
380
381
  }
381
382
  }
382
383
  return "";
383
384
  }
384
- var ee = Object.prototype.hasOwnProperty, Ne = {}, je = O.ReactDebugCurrentFrame;
385
+ var ee = Object.prototype.hasOwnProperty, je = {}, Fe = P.ReactDebugCurrentFrame;
385
386
  function te(e) {
386
387
  if (e) {
387
- var r = e._owner, a = Q(e.type, e._source, r ? r.type : null);
388
- je.setExtraStackFrame(a);
388
+ var r = e._owner, n = Q(e.type, e._source, r ? r.type : null);
389
+ Fe.setExtraStackFrame(n);
389
390
  } else
390
- je.setExtraStackFrame(null);
391
+ Fe.setExtraStackFrame(null);
391
392
  }
392
- function vt(e, r, a, s, b) {
393
+ function bt(e, r, n, u, x) {
393
394
  {
394
395
  var k = Function.call.bind(ee);
395
- for (var m in e)
396
- if (k(e, m)) {
396
+ for (var v in e)
397
+ if (k(e, v)) {
397
398
  var g = void 0;
398
399
  try {
399
- if (typeof e[m] != "function") {
400
- var S = Error((s || "React class") + ": " + a + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
400
+ if (typeof e[v] != "function") {
401
+ var S = Error((u || "React class") + ": " + n + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
401
402
  throw S.name = "Invariant Violation", S;
402
403
  }
403
- g = e[m](r, m, s, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
404
- } catch (E) {
405
- g = E;
404
+ g = e[v](r, v, u, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
405
+ } catch (w) {
406
+ g = w;
406
407
  }
407
- g && !(g instanceof Error) && (te(b), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", a, m, typeof g), te(null)), g instanceof Error && !(g.message in Ne) && (Ne[g.message] = !0, te(b), w("Failed %s type: %s", a, g.message), te(null));
408
+ g && !(g instanceof Error) && (te(x), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", n, v, typeof g), te(null)), g instanceof Error && !(g.message in je) && (je[g.message] = !0, te(x), E("Failed %s type: %s", n, g.message), te(null));
408
409
  }
409
410
  }
410
411
  }
411
- var bt = Array.isArray;
412
+ var xt = Array.isArray;
412
413
  function ue(e) {
413
- return bt(e);
414
+ return xt(e);
414
415
  }
415
- function xt(e) {
416
+ function ht(e) {
416
417
  {
417
- var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
418
- return a;
418
+ var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
419
+ return n;
419
420
  }
420
421
  }
421
422
  function yt(e) {
422
423
  try {
423
- return Fe(e), !1;
424
+ return Le(e), !1;
424
425
  } catch {
425
426
  return !0;
426
427
  }
427
428
  }
428
- function Fe(e) {
429
+ function Le(e) {
429
430
  return "" + e;
430
431
  }
431
- function Le(e) {
432
+ function Be(e) {
432
433
  if (yt(e))
433
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xt(e)), Fe(e);
434
+ return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ht(e)), Le(e);
434
435
  }
435
- var K = O.ReactCurrentOwner, ht = {
436
+ var K = P.ReactCurrentOwner, kt = {
436
437
  key: !0,
437
438
  ref: !0,
438
439
  __self: !0,
439
440
  __source: !0
440
- }, Be, De, de;
441
+ }, Ie, De, de;
441
442
  de = {};
442
- function kt(e) {
443
+ function wt(e) {
443
444
  if (ee.call(e, "ref")) {
444
445
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
445
446
  if (r && r.isReactWarning)
@@ -455,43 +456,43 @@ function At() {
455
456
  }
456
457
  return e.key !== void 0;
457
458
  }
458
- function wt(e, r) {
459
+ function _t(e, r) {
459
460
  if (typeof e.ref == "string" && K.current && r && K.current.stateNode !== r) {
460
- var a = N(K.current.type);
461
- de[a] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(K.current.type), e.ref), de[a] = !0);
461
+ var n = N(K.current.type);
462
+ de[n] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(K.current.type), e.ref), de[n] = !0);
462
463
  }
463
464
  }
464
- function _t(e, r) {
465
+ function Rt(e, r) {
465
466
  {
466
- var a = function() {
467
- Be || (Be = !0, w("%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://reactjs.org/link/special-props)", r));
467
+ var n = function() {
468
+ Ie || (Ie = !0, E("%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://reactjs.org/link/special-props)", r));
468
469
  };
469
- a.isReactWarning = !0, Object.defineProperty(e, "key", {
470
- get: a,
470
+ n.isReactWarning = !0, Object.defineProperty(e, "key", {
471
+ get: n,
471
472
  configurable: !0
472
473
  });
473
474
  }
474
475
  }
475
- function Rt(e, r) {
476
+ function St(e, r) {
476
477
  {
477
- var a = function() {
478
- De || (De = !0, w("%s: `ref` 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://reactjs.org/link/special-props)", r));
478
+ var n = function() {
479
+ De || (De = !0, E("%s: `ref` 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://reactjs.org/link/special-props)", r));
479
480
  };
480
- a.isReactWarning = !0, Object.defineProperty(e, "ref", {
481
- get: a,
481
+ n.isReactWarning = !0, Object.defineProperty(e, "ref", {
482
+ get: n,
482
483
  configurable: !0
483
484
  });
484
485
  }
485
486
  }
486
- var St = function(e, r, a, s, b, k, m) {
487
+ var Tt = function(e, r, n, u, x, k, v) {
487
488
  var g = {
488
489
  // This tag allows us to uniquely identify this as a React Element
489
490
  $$typeof: o,
490
491
  // Built-in properties that belong on the element
491
492
  type: e,
492
493
  key: r,
493
- ref: a,
494
- props: m,
494
+ ref: n,
495
+ props: v,
495
496
  // Record the component responsible for creating this element.
496
497
  _owner: k
497
498
  };
@@ -504,46 +505,46 @@ function At() {
504
505
  configurable: !1,
505
506
  enumerable: !1,
506
507
  writable: !1,
507
- value: s
508
+ value: u
508
509
  }), Object.defineProperty(g, "_source", {
509
510
  configurable: !1,
510
511
  enumerable: !1,
511
512
  writable: !1,
512
- value: b
513
+ value: x
513
514
  }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
514
515
  };
515
- function Tt(e, r, a, s, b) {
516
+ function Ct(e, r, n, u, x) {
516
517
  {
517
- var k, m = {}, g = null, S = null;
518
- a !== void 0 && (Le(a), g = "" + a), Et(r) && (Le(r.key), g = "" + r.key), kt(r) && (S = r.ref, wt(r, b));
518
+ var k, v = {}, g = null, S = null;
519
+ n !== void 0 && (Be(n), g = "" + n), Et(r) && (Be(r.key), g = "" + r.key), wt(r) && (S = r.ref, _t(r, x));
519
520
  for (k in r)
520
- ee.call(r, k) && !ht.hasOwnProperty(k) && (m[k] = r[k]);
521
+ ee.call(r, k) && !kt.hasOwnProperty(k) && (v[k] = r[k]);
521
522
  if (e && e.defaultProps) {
522
- var E = e.defaultProps;
523
- for (k in E)
524
- m[k] === void 0 && (m[k] = E[k]);
523
+ var w = e.defaultProps;
524
+ for (k in w)
525
+ v[k] === void 0 && (v[k] = w[k]);
525
526
  }
526
527
  if (g || S) {
527
528
  var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
528
- g && _t(m, _), S && Rt(m, _);
529
+ g && Rt(v, _), S && St(v, _);
529
530
  }
530
- return St(e, g, S, b, s, K.current, m);
531
+ return Tt(e, g, S, x, u, K.current, v);
531
532
  }
532
533
  }
533
- var ce = O.ReactCurrentOwner, Ie = O.ReactDebugCurrentFrame;
534
- function A(e) {
534
+ var ce = P.ReactCurrentOwner, Ve = P.ReactDebugCurrentFrame;
535
+ function $(e) {
535
536
  if (e) {
536
- var r = e._owner, a = Q(e.type, e._source, r ? r.type : null);
537
- Ie.setExtraStackFrame(a);
537
+ var r = e._owner, n = Q(e.type, e._source, r ? r.type : null);
538
+ Ve.setExtraStackFrame(n);
538
539
  } else
539
- Ie.setExtraStackFrame(null);
540
+ Ve.setExtraStackFrame(null);
540
541
  }
541
542
  var fe;
542
543
  fe = !1;
543
544
  function pe(e) {
544
545
  return typeof e == "object" && e !== null && e.$$typeof === o;
545
546
  }
546
- function Ve() {
547
+ function We() {
547
548
  {
548
549
  if (ce.current) {
549
550
  var e = N(ce.current.type);
@@ -555,26 +556,26 @@ Check the render method of \`` + e + "`.";
555
556
  return "";
556
557
  }
557
558
  }
558
- function Ct(e) {
559
+ function Ot(e) {
559
560
  {
560
561
  if (e !== void 0) {
561
- var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
562
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
562
563
  return `
563
564
 
564
- Check your code at ` + r + ":" + a + ".";
565
+ Check your code at ` + r + ":" + n + ".";
565
566
  }
566
567
  return "";
567
568
  }
568
569
  }
569
- var We = {};
570
- function Ot(e) {
570
+ var Ae = {};
571
+ function Pt(e) {
571
572
  {
572
- var r = Ve();
573
+ var r = We();
573
574
  if (!r) {
574
- var a = typeof e == "string" ? e : e.displayName || e.name;
575
- a && (r = `
575
+ var n = typeof e == "string" ? e : e.displayName || e.name;
576
+ n && (r = `
576
577
 
577
- Check the top-level render call using <` + a + ">.");
578
+ Check the top-level render call using <` + n + ">.");
578
579
  }
579
580
  return r;
580
581
  }
@@ -584,114 +585,114 @@ Check the top-level render call using <` + a + ">.");
584
585
  if (!e._store || e._store.validated || e.key != null)
585
586
  return;
586
587
  e._store.validated = !0;
587
- var a = Ot(r);
588
- if (We[a])
588
+ var n = Pt(r);
589
+ if (Ae[n])
589
590
  return;
590
- We[a] = !0;
591
- var s = "";
592
- e && e._owner && e._owner !== ce.current && (s = " It was passed a child from " + N(e._owner.type) + "."), A(e), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, s), A(null);
591
+ Ae[n] = !0;
592
+ var u = "";
593
+ e && e._owner && e._owner !== ce.current && (u = " It was passed a child from " + N(e._owner.type) + "."), $(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, u), $(null);
593
594
  }
594
595
  }
595
- function Ae(e, r) {
596
+ function Me(e, r) {
596
597
  {
597
598
  if (typeof e != "object")
598
599
  return;
599
600
  if (ue(e))
600
- for (var a = 0; a < e.length; a++) {
601
- var s = e[a];
602
- pe(s) && $e(s, r);
601
+ for (var n = 0; n < e.length; n++) {
602
+ var u = e[n];
603
+ pe(u) && $e(u, r);
603
604
  }
604
605
  else if (pe(e))
605
606
  e._store && (e._store.validated = !0);
606
607
  else if (e) {
607
- var b = V(e);
608
- if (typeof b == "function" && b !== e.entries)
609
- for (var k = b.call(e), m; !(m = k.next()).done; )
610
- pe(m.value) && $e(m.value, r);
608
+ var x = V(e);
609
+ if (typeof x == "function" && x !== e.entries)
610
+ for (var k = x.call(e), v; !(v = k.next()).done; )
611
+ pe(v.value) && $e(v.value, r);
611
612
  }
612
613
  }
613
614
  }
614
- function Pt(e) {
615
+ function Nt(e) {
615
616
  {
616
617
  var r = e.type;
617
618
  if (r == null || typeof r == "string")
618
619
  return;
619
- var a;
620
+ var n;
620
621
  if (typeof r == "function")
621
- a = r.propTypes;
622
+ n = r.propTypes;
622
623
  else if (typeof r == "object" && (r.$$typeof === p || // Note: Memo only checks outer props here.
623
624
  // Inner props are checked in the reconciler.
624
- r.$$typeof === x))
625
- a = r.propTypes;
625
+ r.$$typeof === b))
626
+ n = r.propTypes;
626
627
  else
627
628
  return;
628
- if (a) {
629
- var s = N(r);
630
- vt(a, e.props, "prop", s, e);
629
+ if (n) {
630
+ var u = N(r);
631
+ bt(n, e.props, "prop", u, e);
631
632
  } else if (r.PropTypes !== void 0 && !fe) {
632
633
  fe = !0;
633
- var b = N(r);
634
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
634
+ var x = N(r);
635
+ E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
635
636
  }
636
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
637
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
637
638
  }
638
639
  }
639
- function Nt(e) {
640
+ function jt(e) {
640
641
  {
641
- for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
642
- var s = r[a];
643
- if (s !== "children" && s !== "key") {
644
- A(e), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), A(null);
642
+ for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
643
+ var u = r[n];
644
+ if (u !== "children" && u !== "key") {
645
+ $(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), $(null);
645
646
  break;
646
647
  }
647
648
  }
648
- e.ref !== null && (A(e), w("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
649
+ e.ref !== null && ($(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
649
650
  }
650
651
  }
651
- function Me(e, r, a, s, b, k) {
652
+ function Ye(e, r, n, u, x, k) {
652
653
  {
653
- var m = ut(e);
654
- if (!m) {
654
+ var v = dt(e);
655
+ if (!v) {
655
656
  var g = "";
656
657
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
657
- var S = Ct(b);
658
- S ? g += S : g += Ve();
659
- var E;
660
- e === null ? E = "null" : ue(e) ? E = "array" : e !== void 0 && e.$$typeof === o ? (E = "<" + (N(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, g);
658
+ var S = Ot(x);
659
+ S ? g += S : g += We();
660
+ var w;
661
+ e === null ? w = "null" : ue(e) ? w = "array" : e !== void 0 && e.$$typeof === o ? (w = "<" + (N(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, g);
661
662
  }
662
- var _ = Tt(e, r, a, b, k);
663
+ var _ = Ct(e, r, n, x, k);
663
664
  if (_ == null)
664
665
  return _;
665
- if (m) {
666
+ if (v) {
666
667
  var C = r.children;
667
668
  if (C !== void 0)
668
- if (s)
669
+ if (u)
669
670
  if (ue(C)) {
670
671
  for (var M = 0; M < C.length; M++)
671
- Ae(C[M], e);
672
+ Me(C[M], e);
672
673
  Object.freeze && Object.freeze(C);
673
674
  } else
674
- w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
675
+ E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
675
676
  else
676
- Ae(C, e);
677
+ Me(C, e);
677
678
  }
678
- return e === n ? Nt(_) : Pt(_), _;
679
+ return e === a ? jt(_) : Nt(_), _;
679
680
  }
680
681
  }
681
- function jt(e, r, a) {
682
- return Me(e, r, a, !0);
682
+ function Ft(e, r, n) {
683
+ return Ye(e, r, n, !0);
683
684
  }
684
- function Ft(e, r, a) {
685
- return Me(e, r, a, !1);
685
+ function Lt(e, r, n) {
686
+ return Ye(e, r, n, !1);
686
687
  }
687
- var Lt = Ft, Bt = jt;
688
- z.Fragment = n, z.jsx = Lt, z.jsxs = Bt;
688
+ var Bt = Lt, It = Ft;
689
+ z.Fragment = a, z.jsx = Bt, z.jsxs = It;
689
690
  }()), z;
690
691
  }
691
692
  (function(t) {
692
- process.env.NODE_ENV === "production" ? t.exports = $t() : t.exports = At();
693
- })(Wt);
694
- const rt = G.Fragment, v = G.jsx, P = G.jsxs, Je = {
693
+ process.env.NODE_ENV === "production" ? t.exports = $t() : t.exports = Mt();
694
+ })(At);
695
+ const at = G.Fragment, m = G.jsx, O = G.jsxs, ze = {
695
696
  base: "font-bold",
696
697
  xs: "text-16 md:text-19 leading-default",
697
698
  sm: "text-19 md:text-23 leading-default md:leading-comfy",
@@ -707,87 +708,87 @@ const rt = G.Fragment, v = G.jsx, P = G.jsxs, Je = {
707
708
  md: "text-16",
708
709
  lg: "text-19",
709
710
  xl: "text-23 md:text-28 tracking-tight"
710
- }, me = {
711
+ }, ge = {
711
712
  ...re,
712
713
  base: "font-regular leading-loose",
713
714
  xl: "text-23 md:text-28"
714
- }, ze = {
715
+ }, Ge = {
715
716
  base: "font-medium leading-default tracking-wider uppercase text-text-muted-light dark:text-text-muted-dark",
716
717
  xs: "text-11",
717
718
  sm: "text-13",
718
719
  md: "text-16",
719
720
  lg: "text-19",
720
721
  xl: "text-23"
721
- }, Ge = {
722
+ }, He = {
722
723
  base: "font-regular leading-default text-text-muted-light dark:text-text-muted-dark",
723
724
  sm: "text-11",
724
725
  md: "text-13",
725
726
  lg: "text-16"
726
- }, He = {
727
+ }, Xe = {
727
728
  base: "font-bold leading-default",
728
729
  xs: "text-11",
729
730
  sm: "text-13",
730
731
  md: "text-16",
731
732
  lg: "text-19"
732
- }, Xe = {
733
+ }, Ze = {
733
734
  base: "font-medium leading-default text-text-muted-light dark:text-text-muted-dark",
734
735
  sm: "text-11",
735
736
  md: "text-13",
736
737
  lg: "text-16"
737
- }, Ze = {
738
+ }, Qe = {
738
739
  base: "font-regular leading-loose",
739
740
  md: "text-16",
740
741
  lg: "text-19"
741
- }, Mt = ({ size: t, variant: o }) => {
742
+ }, Yt = ({ size: t, variant: o }) => {
742
743
  switch (o) {
743
744
  case "headline":
744
- return y(Je.base, Je[t]);
745
+ return h(ze.base, ze[t]);
745
746
  case "label":
746
- return y(re.base, t ? re[t] : re.default);
747
+ return h(re.base, t ? re[t] : re.default);
747
748
  case "paragraph":
748
- return y(me.base, t ? me[t] : me.default);
749
+ return h(ge.base, t ? ge[t] : ge.default);
749
750
  case "eyebrow":
750
- return y(ze.base, ze[t]);
751
+ return h(Ge.base, Ge[t]);
751
752
  case "caption":
752
- return y(Ge.base, Ge[t]);
753
+ return h(He.base, He[t]);
753
754
  case "buttonLabel":
754
- return y(He.base, He[t]);
755
+ return h(Xe.base, Xe[t]);
755
756
  case "fieldLabel":
756
- return y(Xe.base, Xe[t]);
757
+ return h(Ze.base, Ze[t]);
757
758
  case "fieldTextInput":
758
- return y(Ze.base, Ze[t]);
759
+ return h(Qe.base, Qe[t]);
759
760
  default:
760
761
  return t;
761
762
  }
762
- }, Yt = {
763
+ }, Ut = {
763
764
  primary: "font-aktiv-grotesk",
764
765
  secondary: "font-untitled-serif"
765
- }, Ut = ({ className: t, component: o = "p", children: i, font: n = "primary", size: l, variant: c, ...d }, f) => {
766
- const p = "text-text-light dark:text-text-dark", h = Yt[n], u = Mt({ size: l, variant: c });
767
- return /* @__PURE__ */ v(
768
- tt,
766
+ }, qt = ({ className: t, component: o = "p", children: i, font: a = "primary", size: l, variant: s, ...d }, f) => {
767
+ const p = "text-text-light dark:text-text-dark", y = Ut[a], c = Yt({ size: l, variant: s });
768
+ return /* @__PURE__ */ m(
769
+ rt,
769
770
  {
770
- className: y(p, u, h, t),
771
+ className: h(p, c, y, t),
771
772
  component: o,
772
773
  ref: f,
773
774
  ...d,
774
775
  children: i
775
776
  }
776
777
  );
777
- }, ye = L(Ut);
778
+ }, ye = L(qt);
778
779
  ye.displayName = "Text";
779
- const qt = ({
780
+ const Kt = ({
780
781
  children: t,
781
782
  component: o = "a",
782
783
  className: i,
783
- active: n,
784
+ active: a,
784
785
  ...l
785
- }) => /* @__PURE__ */ v(
786
+ }) => /* @__PURE__ */ m(
786
787
  ye,
787
788
  {
788
- className: y([
789
+ className: h([
789
790
  "font-bold text-gray-50 leading-default",
790
- n ? "underline decoration-yv-red decoration-2 underline-offset-8 text-16 leading-loose" : "text-13",
791
+ a ? "underline decoration-yv-red decoration-2 underline-offset-8 text-16 leading-loose" : "text-13",
791
792
  i
792
793
  ]),
793
794
  component: o,
@@ -795,58 +796,58 @@ const qt = ({
795
796
  children: t
796
797
  }
797
798
  );
798
- qt.displayName = "Breadcrumb";
799
- var Kt = Object.defineProperty, Jt = Object.defineProperties, zt = Object.getOwnPropertyDescriptors, ne = Object.getOwnPropertySymbols, nt = Object.prototype.hasOwnProperty, at = Object.prototype.propertyIsEnumerable, Qe = (t, o, i) => o in t ? Kt(t, o, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[o] = i, Gt = (t, o) => {
799
+ Kt.displayName = "Breadcrumb";
800
+ var Jt = Object.defineProperty, zt = Object.defineProperties, Gt = Object.getOwnPropertyDescriptors, ae = Object.getOwnPropertySymbols, nt = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable, et = (t, o, i) => o in t ? Jt(t, o, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[o] = i, Ht = (t, o) => {
800
801
  for (var i in o || (o = {}))
801
- nt.call(o, i) && Qe(t, i, o[i]);
802
- if (ne)
803
- for (var i of ne(o))
804
- at.call(o, i) && Qe(t, i, o[i]);
802
+ nt.call(o, i) && et(t, i, o[i]);
803
+ if (ae)
804
+ for (var i of ae(o))
805
+ ot.call(o, i) && et(t, i, o[i]);
805
806
  return t;
806
- }, Ht = (t, o) => Jt(t, zt(o)), Xt = (t, o) => {
807
+ }, Xt = (t, o) => zt(t, Gt(o)), Zt = (t, o) => {
807
808
  var i = {};
808
- for (var n in t)
809
- nt.call(t, n) && o.indexOf(n) < 0 && (i[n] = t[n]);
810
- if (t != null && ne)
811
- for (var n of ne(t))
812
- o.indexOf(n) < 0 && at.call(t, n) && (i[n] = t[n]);
809
+ for (var a in t)
810
+ nt.call(t, a) && o.indexOf(a) < 0 && (i[a] = t[a]);
811
+ if (t != null && ae)
812
+ for (var a of ae(t))
813
+ o.indexOf(a) < 0 && ot.call(t, a) && (i[a] = t[a]);
813
814
  return i;
814
- }, Zt = (t, o) => {
815
- var i = t, { title: n, titleId: l } = i, c = Xt(i, ["title", "titleId"]);
816
- return P("svg", Ht(Gt({ width: c.size || "24", height: c.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: o, "aria-labelledby": l }, c), { children: [n ? v("title", { id: l, children: n }) : null, v("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.293 18.707a1 1 0 0 1 0-1.414l4.94-4.94a.5.5 0 0 0 0-.707l-4.94-4.939a1 1 0 0 1 1.414-1.414l5.647 5.646a1.5 1.5 0 0 1 0 2.122l-5.647 5.646a1 1 0 0 1-1.414 0Z", fill: "currentColor" })] }));
817
- }, Qt = L(Zt), er = Qt;
818
- const tr = ({ children: t, className: o, ...i }, n) => {
819
- const l = F.Children.toArray(t), c = l.findIndex((d) => {
815
+ }, Qt = (t, o) => {
816
+ var i = t, { title: a, titleId: l } = i, s = Zt(i, ["title", "titleId"]);
817
+ return O("svg", Xt(Ht({ width: s.size || "24", height: s.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: o, "aria-labelledby": l }, s), { children: [a ? m("title", { id: l, children: a }) : null, m("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.293 18.707a1 1 0 0 1 0-1.414l4.94-4.94a.5.5 0 0 0 0-.707l-4.94-4.939a1 1 0 0 1 1.414-1.414l5.647 5.646a1.5 1.5 0 0 1 0 2.122l-5.647 5.646a1 1 0 0 1-1.414 0Z", fill: "currentColor" })] }));
818
+ }, er = L(Qt), tr = er;
819
+ const rr = ({ children: t, className: o, ...i }, a) => {
820
+ const l = F.Children.toArray(t), s = l.findIndex((d) => {
820
821
  var f;
821
822
  return F.isValidElement(d) ? (f = d == null ? void 0 : d.props) == null ? void 0 : f.active : !1;
822
823
  });
823
- return /* @__PURE__ */ v(
824
+ return /* @__PURE__ */ m(
824
825
  "div",
825
826
  {
826
- className: y([
827
+ className: h([
827
828
  "flex bg-canvas-light dark:bg-canvas-dark py-0.5 flex-row min-h-[48px] rtl:rotate-180",
828
829
  o
829
830
  ]),
830
- ref: n,
831
+ ref: a,
831
832
  ...i,
832
- children: l.map((d, f) => /* @__PURE__ */ P("div", { className: "flex items-center", children: [
833
- f ? /* @__PURE__ */ v(
834
- er,
833
+ children: l.map((d, f) => /* @__PURE__ */ O("div", { className: "flex items-center", children: [
834
+ f ? /* @__PURE__ */ m(
835
+ tr,
835
836
  {
836
- className: y([
837
+ className: h([
837
838
  "mx-1",
838
- f > c && "text-gray-15",
839
- f <= c && "text-gray-25"
839
+ f > s && "text-gray-15",
840
+ f <= s && "text-gray-25"
840
841
  ]),
841
842
  size: "15"
842
843
  }
843
844
  ) : null,
844
- /* @__PURE__ */ v(
845
+ /* @__PURE__ */ m(
845
846
  "div",
846
847
  {
847
- className: y([
848
- f < c ? "bg-gray-10 dark:bg-gray-40 py-1.5 px-3 rounded-3 cursor-pointer" : "px-0.5",
849
- f > c && "[&>*]:text-gray-15 [&>*]:text-16 [&>*]:leading-loose [&>*]:font-medium",
848
+ className: h([
849
+ f < s ? "bg-gray-10 dark:bg-gray-40 py-1.5 px-3 rounded-3 cursor-pointer" : "px-0.5",
850
+ f > s && "[&>*]:text-gray-15 [&>*]:text-16 [&>*]:leading-loose [&>*]:font-medium",
850
851
  "rtl:rotate-180"
851
852
  ]),
852
853
  children: d
@@ -855,15 +856,15 @@ const tr = ({ children: t, className: o, ...i }, n) => {
855
856
  ] }, `${f}-${d.toString()}`))
856
857
  }
857
858
  );
858
- }, rr = F.forwardRef(tr);
859
- rr.displayName = "Breadcrumbs";
860
- const Rr = {
859
+ }, ar = F.forwardRef(rr);
860
+ ar.displayName = "Breadcrumbs";
861
+ const Cr = {
861
862
  lg: "lg",
862
863
  md: "md",
863
864
  sm: "sm",
864
865
  xl: "xl",
865
866
  xs: "xs"
866
- }, ot = (t) => {
867
+ }, it = (t) => {
867
868
  switch (t) {
868
869
  case "start":
869
870
  return {
@@ -890,13 +891,13 @@ const Rr = {
890
891
  xs: "rounded-3 text-11 px-2 py-1"
891
892
  };
892
893
  }
893
- }, ae = {
894
+ }, ne = {
894
895
  lg: 30,
895
896
  md: 24,
896
897
  sm: 18,
897
898
  xl: 36,
898
899
  xs: 12
899
- }, it = "items-center leading-default font-bold ease-in-out duration-100 focus:outline-2 focus:outline-info-light dark:focus:outline-info-dark flex w-full max-w-fit", lt = {
900
+ }, lt = "items-center leading-default font-bold ease-in-out duration-100 focus:outline-2 focus:outline-info-light dark:focus:outline-info-dark flex w-full max-w-fit", st = {
900
901
  // bgColor, outlineColor, disabled, fontColor, hover, pressed, disabled, textTransform
901
902
  all_caps: "bg-transparent text-gray-50 dark:text-white hover:text-info-light dark:hover:text-info-dark active:text-blue-40 dark:active:text-blue-20 disabled:opacity-50 disabled:text-gray-50 dark:disabled:text-white uppercase",
902
903
  borderless: "bg-transparent text-gray-50 dark:text-white hover:bg-gray-10 dark:hover:bg-gray-40 disabled:opacity-50 dark:disabled:bg-transparent",
@@ -905,47 +906,89 @@ const Rr = {
905
906
  risk: "bg-orange-30 dark:bg-alert-dark text-white disabled:opacity-50 disabled:bg-gray-10 dark:disabled:bg-gray-40 disabled:text-gray-50 dark:disabled:text-white",
906
907
  secondary: "bg-gray-10 dark:bg-gray-40 text-gray-50 dark:text-white hover:bg-gray-40 dark:hover:bg-gray-10 hover:text-white dark:hover:text-gray-50 active:bg-gray-50 disabled:opacity-50 disabled:bg-gray-10 disabled:text-gray-50",
907
908
  stroked: "bg-transparent outline outline-2 outline-gray-50 dark:outline-white text-gray-50 dark:text-white hover:bg-gray-40 dark:hover:bg-gray-10 hover:text-white dark:hover:text-gray-50 active:bg-gray-50 disabled:opacity-50 disabled:bg-transparent dark:disabled:bg-transparent disabled:text-gray-50 dark:disabled:text-white"
908
- }, nr = ({ className: t, children: o, disabled: i, icon: n, iconPosition: l, size: c = "md", variant: d = "primary", ...f }, p) => {
909
- const h = ot(n !== void 0 ? l : void 0), u = y(it, lt[d], h[c], t);
910
- return /* @__PURE__ */ P("button", { ...f, className: u, disabled: i, ref: p, children: [
911
- l === "start" && n !== void 0 ? D(n, {
909
+ }, nr = ({
910
+ className: t,
911
+ children: o,
912
+ disabled: i,
913
+ icon: a,
914
+ iconPosition: l,
915
+ size: s = "md",
916
+ type: d = "button",
917
+ variant: f = "primary",
918
+ ...p
919
+ }, y) => {
920
+ const c = it(a !== void 0 ? l : void 0), b = h(lt, st[f], c[s], t);
921
+ return /* @__PURE__ */ O("button", { className: b, disabled: i, ref: y, type: d, ...p, children: [
922
+ l === "start" && a !== void 0 ? I(a, {
912
923
  className: "mr-0.5 min-w-min",
913
- size: ae[c]
924
+ size: ne[s]
914
925
  }) : null,
915
- /* @__PURE__ */ v("span", { className: "truncate", children: o }),
916
- l === "end" && n !== void 0 ? D(n, {
926
+ /* @__PURE__ */ m("span", { className: "truncate", children: o }),
927
+ l === "end" && a !== void 0 ? I(a, {
917
928
  className: "ml-0.5 min-w-min",
918
- size: ae[c]
929
+ size: ne[s]
919
930
  }) : null
920
931
  ] });
921
- }, ar = L(nr);
922
- ar.displayName = "Button";
923
- const or = ({ children: t, autoFocus: o = !0 }) => {
924
- const i = be(null);
925
- return xe(() => {
932
+ }, or = L(nr);
933
+ or.displayName = "Button";
934
+ const ir = ({ error: t, className: o, label: i, disabled: a, name: l, ...s }, d) => {
935
+ const f = ve.useId(), p = ve.useMemo(() => `checkbox-label-${f}`, [f]);
936
+ return /* @__PURE__ */ O(
937
+ "div",
938
+ {
939
+ className: h([
940
+ "flex items-baseline rounded-0.5 w-fit focus-within:border-transparent focus-within:outline-2 focus-within:outline-info focus-within:outline focus-within:dark:border-transparent focus-within:dark:outline-info-dark",
941
+ o
942
+ ]),
943
+ children: [
944
+ /* @__PURE__ */ m(
945
+ "input",
946
+ {
947
+ "aria-labelledby": p,
948
+ className: "w-1.5 h-1.5 mr-0.5 flex-none rounded-0.25 focus-within:outline-none peer",
949
+ disabled: a,
950
+ id: l,
951
+ name: l,
952
+ ref: d,
953
+ type: "checkbox",
954
+ ...s
955
+ }
956
+ ),
957
+ /* @__PURE__ */ O("div", { className: "peer-disabled:text-text-muted-light peer-disabled:dark:text-text-muted-dark text-text-light dark:text-text-dark", children: [
958
+ /* @__PURE__ */ m("label", { htmlFor: l, id: p, children: i }),
959
+ t ? /* @__PURE__ */ m("div", { className: "text-alert-light dark:text-alert-dark text-13", children: t }) : null
960
+ ] })
961
+ ]
962
+ }
963
+ );
964
+ }, lr = ve.forwardRef(ir);
965
+ lr.displayName = "Checkbox";
966
+ const sr = ({ children: t, autoFocus: o = !0 }) => {
967
+ const i = xe(null);
968
+ return he(() => {
926
969
  if (i.current) {
927
- const n = i.current.querySelectorAll(
970
+ const a = i.current.querySelectorAll(
928
971
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
929
972
  );
930
973
  let l = document.activeElement;
931
- const c = n[0], d = n[n.length - 1], f = (u) => {
932
- if (u.key === "Tab") {
933
- if (u.shiftKey) {
934
- if (document.activeElement === c)
935
- u.preventDefault(), d.focus(), l = d;
974
+ const s = a[0], d = a[a.length - 1], f = (c) => {
975
+ if (c.key === "Tab") {
976
+ if (c.shiftKey) {
977
+ if (document.activeElement === s)
978
+ c.preventDefault(), d.focus(), l = d;
936
979
  else
937
- for (let x = 0; x < n.length; x++)
938
- if (n[x] === document.activeElement) {
939
- l = n[x - 1];
980
+ for (let b = 0; b < a.length; b++)
981
+ if (a[b] === document.activeElement) {
982
+ l = a[b - 1];
940
983
  break;
941
984
  }
942
- } else if (!u.shiftKey) {
985
+ } else if (!c.shiftKey) {
943
986
  if (document.activeElement === d)
944
- u.preventDefault(), c.focus(), l = c;
987
+ c.preventDefault(), s.focus(), l = s;
945
988
  else
946
- for (let x = 0; x < n.length; x++)
947
- if (n[x] === document.activeElement) {
948
- l = n[x + 1];
989
+ for (let b = 0; b < a.length; b++)
990
+ if (a[b] === document.activeElement) {
991
+ l = a[b + 1];
949
992
  break;
950
993
  }
951
994
  }
@@ -953,98 +996,99 @@ const or = ({ children: t, autoFocus: o = !0 }) => {
953
996
  };
954
997
  o && (() => {
955
998
  if (i.current) {
956
- const u = i.current.querySelector(
999
+ const c = i.current.querySelector(
957
1000
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
958
1001
  );
959
- u && u.focus();
1002
+ c && c.focus();
960
1003
  }
961
1004
  })();
962
- const h = (u) => {
963
- i.current && !i.current.contains(u.target) && l.focus();
1005
+ const y = (c) => {
1006
+ i.current && !i.current.contains(c.target) && l.focus();
964
1007
  };
965
- return document.addEventListener("keydown", f), document.addEventListener("click", h), () => {
966
- document.removeEventListener("keydown", f), document.removeEventListener("click", h);
1008
+ return document.addEventListener("keydown", f), document.addEventListener("click", y), () => {
1009
+ document.removeEventListener("keydown", f), document.removeEventListener("click", y);
967
1010
  };
968
1011
  }
969
- }, [o]), /* @__PURE__ */ v("div", { ref: i, children: t });
970
- }, ir = ({ children: t, className: o, disabled: i, ...n }, l) => /* @__PURE__ */ v(
1012
+ }, [o]), /* @__PURE__ */ m("div", { ref: i, children: t });
1013
+ }, ur = ({ children: t, className: o, disabled: i, type: a = "button", ...l }, s) => /* @__PURE__ */ m(
971
1014
  "button",
972
1015
  {
973
- className: y([
1016
+ className: h([
974
1017
  "rounded-full hover:bg-gray-10 dark:hover:bg-gray-40 text-text-light dark:text-white inline-flex justify-center items-center p-1 focus-visible:outline-2 focus-visible:outline focus-visible:outline-info dark:focus-visible:outline-info-dark outline-offset-0 disabled:text-text-muted-light dark:disabled:text-text-muted-dark",
975
1018
  o
976
1019
  ]),
977
1020
  disabled: i,
978
- ref: l,
979
- ...n,
1021
+ ref: s,
1022
+ type: a,
1023
+ ...l,
980
1024
  children: t
981
1025
  }
982
- ), ve = L(ir);
983
- ve.displayName = "IconButton";
984
- const lr = ({ className: t, children: o, component: i = "a", ...n }, l) => D(
1026
+ ), be = L(ur);
1027
+ be.displayName = "IconButton";
1028
+ const dr = ({ className: t, children: o, component: i = "a", ...a }, l) => I(
985
1029
  i,
986
1030
  {
987
- ...n,
988
- className: y([
1031
+ ...a,
1032
+ className: h([
989
1033
  "rounded-full hover:bg-gray-10 dark:hover:bg-gray-40 text-text-light dark:text-white inline-flex justify-center items-center p-1 focus-visible:outline-2 focus-visible:outline focus-visible:outline-info dark:focus-visible:outline-info-dark outline-offset-0",
990
1034
  t
991
1035
  ]),
992
1036
  ref: l
993
1037
  },
994
1038
  o
995
- ), sr = L(lr);
996
- sr.displayName = "IconLinkButton";
997
- const ur = ({ innerRef: t, forwardedRef: o }) => (xe(() => {
1039
+ ), cr = L(dr);
1040
+ cr.displayName = "IconLinkButton";
1041
+ const fr = ({ innerRef: t, forwardedRef: o }) => (he(() => {
998
1042
  [t, o].forEach((i) => {
999
1043
  i && (typeof i == "function" ? i(t.current || null) : i.current = t.current || null);
1000
1044
  });
1001
- }, [t, o]), t), dr = ({
1045
+ }, [t, o]), t), pr = ({
1002
1046
  className: t,
1003
1047
  disabled: o,
1004
1048
  endIcon: i,
1005
- error: n,
1049
+ error: a,
1006
1050
  hint: l,
1007
- label: c,
1051
+ label: s,
1008
1052
  name: d,
1009
1053
  onChange: f,
1010
1054
  placeholder: p,
1011
- startIcon: h,
1012
- value: u,
1013
- ...x
1055
+ startIcon: y,
1056
+ value: c,
1057
+ ...b
1014
1058
  }, T) => {
1015
- const B = be(null), R = ur({ forwardedRef: T, innerRef: B }), [Y, V] = F.useState(Boolean(u)), [O, w] = F.useState(!1);
1059
+ const B = xe(null), R = fr({ forwardedRef: T, innerRef: B }), [Y, V] = F.useState(Boolean(c)), [P, E] = F.useState(!1);
1016
1060
  F.useEffect(() => {
1017
- var $;
1018
- V(Boolean(($ = R == null ? void 0 : R.current) == null ? void 0 : $.value) || Boolean(u || p));
1019
- }, [u, p, R]);
1020
- const U = ($) => {
1061
+ var A;
1062
+ V(Boolean((A = R == null ? void 0 : R.current) == null ? void 0 : A.value) || Boolean(c || p));
1063
+ }, [c, p, R]);
1064
+ const U = (A) => {
1021
1065
  var H;
1022
- V(Boolean((H = R == null ? void 0 : R.current) == null ? void 0 : H.value) || Boolean(u || p)), f && f($);
1066
+ V(Boolean((H = R == null ? void 0 : R.current) == null ? void 0 : H.value) || Boolean(c || p)), f && f(A);
1023
1067
  }, W = () => {
1024
- o || !R.current || (R.current.focus(), w(!0));
1068
+ o || !R.current || (R.current.focus(), E(!0));
1025
1069
  }, oe = () => {
1026
- w(!1);
1070
+ E(!1);
1027
1071
  };
1028
- return /* @__PURE__ */ P("div", { className: "flex items-start flex-col gap-0.5", children: [
1029
- /* @__PURE__ */ P(
1072
+ return /* @__PURE__ */ O("div", { className: "flex items-start flex-col gap-0.5", children: [
1073
+ /* @__PURE__ */ O(
1030
1074
  "div",
1031
1075
  {
1032
- className: y([
1076
+ className: h([
1033
1077
  "items-center self-stretch rounded-1 border-small border-solid cursor-text flex flex-row relative focus-within:border-transparent focus-within:outline-2 focus-within:outline-info focus-within:outline focus-within:dark:border-transparent focus-within:dark:outline-info-dark",
1034
1078
  o ? "bg-gray-10 dark:bg-gray-40" : null,
1035
- n ? "border-alert dark:border-alert-dark" : "border-tertiary-light dark:border-tertiary-dark"
1079
+ a ? "border-alert dark:border-alert-dark" : "border-tertiary-light dark:border-tertiary-dark"
1036
1080
  ]),
1037
1081
  onClick: W,
1038
1082
  onFocus: W,
1039
1083
  children: [
1040
- h ? /* @__PURE__ */ v("div", { className: "text-text-muted-light dark:text-text-muted-dark pis-1.5", children: h }) : null,
1041
- /* @__PURE__ */ P("span", { className: "relative flex flex-1 overflow-hidden", children: [
1042
- /* @__PURE__ */ v(
1084
+ y ? /* @__PURE__ */ m("div", { className: "text-text-muted-light dark:text-text-muted-dark pis-1.5", children: y }) : null,
1085
+ /* @__PURE__ */ O("span", { className: "relative flex flex-1 overflow-hidden", children: [
1086
+ /* @__PURE__ */ m(
1043
1087
  "input",
1044
1088
  {
1045
- className: y([
1089
+ className: h([
1046
1090
  "self-stretch bg-transparent flex-auto outline-none overflow-hidden pbs-3 pbe-1",
1047
- h ? "pis-1" : "pis-2",
1091
+ y ? "pis-1" : "pis-2",
1048
1092
  i ? "pie-1" : "pie-2",
1049
1093
  t
1050
1094
  ]),
@@ -1054,134 +1098,134 @@ const ur = ({ innerRef: t, forwardedRef: o }) => (xe(() => {
1054
1098
  onChange: U,
1055
1099
  placeholder: p,
1056
1100
  ref: R,
1057
- value: u,
1058
- ...x
1101
+ value: c,
1102
+ ...b
1059
1103
  }
1060
1104
  ),
1061
- /* @__PURE__ */ v(
1105
+ /* @__PURE__ */ m(
1062
1106
  "label",
1063
1107
  {
1064
- className: y(
1108
+ className: h(
1065
1109
  "items-center text-text-muted-light dark:text-text-muted-dark flex font-regular leading-loose pointer-events-none absolute top-2 select-none",
1066
- h ? "ltr:left-1 rtl:right-1" : "ltr:left-2 rtl:right-2",
1067
- O || Y ? "text-13 -translate-y-1.5" : "text-16"
1110
+ y ? "ltr:left-1 rtl:right-1" : "ltr:left-2 rtl:right-2",
1111
+ P || Y ? "text-13 -translate-y-1.5" : "text-16"
1068
1112
  ),
1069
1113
  htmlFor: d,
1070
- children: c
1114
+ children: s
1071
1115
  }
1072
1116
  )
1073
1117
  ] }),
1074
- i ? /* @__PURE__ */ v("div", { className: "text-text-muted-light dark:text-text-muted-dark pie-1.5", children: i }) : null
1118
+ i ? /* @__PURE__ */ m("div", { className: "text-text-muted-light dark:text-text-muted-dark pie-1.5", children: i }) : null
1075
1119
  ]
1076
1120
  }
1077
1121
  ),
1078
- n || l ? /* @__PURE__ */ P("div", { className: "flex flex-col", children: [
1079
- n ? /* @__PURE__ */ v("span", { className: "text-alert dark:text-alert-dark", children: n }) : null,
1080
- l ? /* @__PURE__ */ v("span", { className: "text-text-muted-light dark:text-text-muted-dark text-13 leading-default", children: l }) : null
1122
+ a || l ? /* @__PURE__ */ O("div", { className: "flex flex-col", children: [
1123
+ a ? /* @__PURE__ */ m("span", { className: "text-alert dark:text-alert-dark", children: a }) : null,
1124
+ l ? /* @__PURE__ */ m("span", { className: "text-text-muted-light dark:text-text-muted-dark text-13 leading-default", children: l }) : null
1081
1125
  ] }) : null
1082
1126
  ] });
1083
- }, cr = F.forwardRef(dr);
1084
- cr.displayName = "Input";
1085
- const fr = ({
1127
+ }, mr = F.forwardRef(pr);
1128
+ mr.displayName = "Input";
1129
+ const gr = ({
1086
1130
  className: t,
1087
1131
  children: o,
1088
1132
  component: i = "a",
1089
- icon: n,
1133
+ icon: a,
1090
1134
  iconPosition: l,
1091
- variant: c = "primary",
1135
+ variant: s = "primary",
1092
1136
  size: d = "md",
1093
1137
  ...f
1094
1138
  }, p) => {
1095
- const h = ot(n !== void 0 ? l : void 0);
1096
- return /* @__PURE__ */ P(({ children: x }) => D(
1139
+ const y = it(a !== void 0 ? l : void 0);
1140
+ return /* @__PURE__ */ O(({ children: b }) => I(
1097
1141
  i,
1098
1142
  {
1099
1143
  ...f,
1100
- className: y([it, lt[c], h[d], t]),
1144
+ className: h([lt, st[s], y[d], t]),
1101
1145
  ref: p
1102
1146
  },
1103
- x
1147
+ b
1104
1148
  ), { children: [
1105
- l === "start" && n !== void 0 ? D(n, {
1149
+ l === "start" && a !== void 0 ? I(a, {
1106
1150
  className: "mr-0.5 min-w-min",
1107
- size: ae[d]
1151
+ size: ne[d]
1108
1152
  }) : null,
1109
- D("span", { className: "truncate" }, o),
1110
- l === "end" && n !== void 0 ? D(n, {
1153
+ I("span", { className: "truncate" }, o),
1154
+ l === "end" && a !== void 0 ? I(a, {
1111
1155
  className: "ml-0.5 min-w-min",
1112
- size: ae[d]
1156
+ size: ne[d]
1113
1157
  }) : null
1114
1158
  ] });
1115
- }, pr = L(fr);
1116
- pr.displayName = "LinkButton";
1117
- const gr = ({ children: t, className: o, ...i }, n) => /* @__PURE__ */ v(
1159
+ }, vr = L(gr);
1160
+ vr.displayName = "LinkButton";
1161
+ const br = ({ children: t, className: o, ...i }, a) => /* @__PURE__ */ m(
1118
1162
  "ul",
1119
1163
  {
1120
- className: y(["w-fit bg-canvas-light dark:bg-canvas-dark rounded-1 py-0.5", o]),
1121
- ref: n,
1164
+ className: h(["w-fit bg-canvas-light dark:bg-canvas-dark rounded-1 py-0.5", o]),
1165
+ ref: a,
1122
1166
  ...i,
1123
1167
  children: t
1124
1168
  }
1125
- ), mr = L(gr);
1126
- mr.displayName = "List";
1127
- const vr = ({ children: t, className: o, divider: i, endAction: n, endIcon: l, onClick: c, startAction: d, startIcon: f, ...p }, h) => {
1128
- const u = (x) => {
1129
- c && (x.code === "Enter" || x.key === " ") && c();
1169
+ ), xr = L(br);
1170
+ xr.displayName = "List";
1171
+ const hr = ({ children: t, className: o, divider: i, endAction: a, endIcon: l, onClick: s, startAction: d, startIcon: f, ...p }, y) => {
1172
+ const c = (b) => {
1173
+ s && (b.code === "Enter" || b.key === " ") && s();
1130
1174
  };
1131
- return /* @__PURE__ */ P(
1175
+ return /* @__PURE__ */ O(
1132
1176
  "li",
1133
1177
  {
1134
- className: y([
1178
+ className: h([
1135
1179
  "flex items-center box-border relative",
1136
1180
  i ? "after:last:content-none after:absolute after:inset-x-0 after:bottom-0 after:mx-2 after:bg-gray-10 after:dark:bg-gray-40 after:h-px" : null,
1137
1181
  o
1138
1182
  ]),
1139
- ref: h,
1183
+ ref: y,
1140
1184
  ...p,
1141
1185
  children: [
1142
- d ? /* @__PURE__ */ v("div", { className: "absolute ltr:left-1 rtl:right-1", onClick: d, children: /* @__PURE__ */ v(ve, { children: f }) }) : null,
1143
- /* @__PURE__ */ P(
1186
+ d ? /* @__PURE__ */ m("div", { className: "absolute ltr:left-1 rtl:right-1", onClick: d, children: /* @__PURE__ */ m(be, { children: f }) }) : null,
1187
+ /* @__PURE__ */ O(
1144
1188
  "div",
1145
1189
  {
1146
- className: y([
1190
+ className: h([
1147
1191
  "flex flex-1 py-2 gap-x-2",
1148
1192
  d ? "pis-4" : "pis-2",
1149
- n ? "pie-4" : "pie-2",
1150
- c ? "cursor-pointer hover:bg-gray-10 hover:dark:bg-gray-40" : void 0
1193
+ a ? "pie-4" : "pie-2",
1194
+ s ? "cursor-pointer hover:bg-gray-10 hover:dark:bg-gray-40" : void 0
1151
1195
  ]),
1152
- onClick: c,
1153
- onKeyUp: u,
1154
- onTouchEnd: c,
1155
- tabIndex: c ? 0 : void 0,
1196
+ onClick: s,
1197
+ onKeyUp: c,
1198
+ onTouchEnd: s,
1199
+ tabIndex: s ? 0 : void 0,
1156
1200
  children: [
1157
- f && !d ? /* @__PURE__ */ v("div", { children: f }) : null,
1158
- /* @__PURE__ */ v("div", { className: y(["flex-grow", d ? "pis-2" : null, n ? "pie-2" : null]), children: t }),
1159
- l && !n ? /* @__PURE__ */ v("div", { children: l }) : null
1201
+ f && !d ? /* @__PURE__ */ m("div", { children: f }) : null,
1202
+ /* @__PURE__ */ m("div", { className: h(["flex-grow", d ? "pis-2" : null, a ? "pie-2" : null]), children: t }),
1203
+ l && !a ? /* @__PURE__ */ m("div", { children: l }) : null
1160
1204
  ]
1161
1205
  }
1162
1206
  ),
1163
- n ? /* @__PURE__ */ v("div", { className: "absolute ltr:right-1 rtl:left-1", onClick: n, children: /* @__PURE__ */ v(ve, { children: l }) }) : null
1207
+ a ? /* @__PURE__ */ m("div", { className: "absolute ltr:right-1 rtl:left-1", onClick: a, children: /* @__PURE__ */ m(be, { children: l }) }) : null
1164
1208
  ]
1165
1209
  }
1166
1210
  );
1167
- }, br = L(vr);
1168
- br.displayName = "ListItem";
1169
- const Sr = ({ children: t, className: o, size: i = "sm" }) => /* @__PURE__ */ v(ye, { className: o, size: i, variant: "label", children: t }), Tr = ({ children: t, className: o, ...i }) => /* @__PURE__ */ v("div", { className: y(["relative", o]), ...i, children: t }), xr = {
1211
+ }, yr = L(hr);
1212
+ yr.displayName = "ListItem";
1213
+ const Or = ({ children: t, className: o, size: i = "sm" }) => /* @__PURE__ */ m(ye, { className: o, size: i, variant: "label", children: t }), Pr = ({ children: t, className: o, ...i }) => /* @__PURE__ */ m("div", { className: h(["relative", o]), ...i, children: t }), kr = {
1170
1214
  "no-scrollbar": "_no-scrollbar_1ivfd_1"
1171
- }, yr = ({
1215
+ }, wr = ({
1172
1216
  align: t,
1173
1217
  children: o,
1174
1218
  className: i,
1175
- isDismissible: n,
1219
+ isDismissible: a,
1176
1220
  onClose: l,
1177
- ...c
1221
+ ...s
1178
1222
  }) => {
1179
- const d = be(null);
1180
- xe(() => {
1181
- const p = (u) => {
1182
- switch (u.key) {
1223
+ const d = xe(null);
1224
+ he(() => {
1225
+ const p = (c) => {
1226
+ switch (c.key) {
1183
1227
  case "Escape":
1184
- n && l && l();
1228
+ a && l && l();
1185
1229
  break;
1186
1230
  case " ":
1187
1231
  l && l();
@@ -1190,88 +1234,89 @@ const Sr = ({ children: t, className: o, size: i = "sm" }) => /* @__PURE__ */ v(
1190
1234
  l && l();
1191
1235
  break;
1192
1236
  }
1193
- }, h = (u) => {
1194
- typeof l == "function" && (d.current && !d.current.contains(u.target) ? n && l() : l());
1237
+ }, y = (c) => {
1238
+ typeof l == "function" && (d.current && !d.current.contains(c.target) ? a && l() : l());
1195
1239
  };
1196
- return window.addEventListener("click", h), document.addEventListener("keyup", p), () => {
1197
- window.removeEventListener("click", h), document.removeEventListener("keyup", p);
1240
+ return window.addEventListener("click", y), document.addEventListener("keyup", p), () => {
1241
+ window.removeEventListener("click", y), document.removeEventListener("keyup", p);
1198
1242
  };
1199
- }, [d, n, l]);
1243
+ }, [d, a, l]);
1200
1244
  const f = Dt(() => {
1201
- const { horizontal: p, vertical: h } = t, u = {
1245
+ const { horizontal: p, vertical: y } = t, c = {
1202
1246
  center: "left-1/2",
1203
1247
  end: "inline-end-0",
1204
1248
  start: "inline-start-0"
1205
- }, x = {
1249
+ }, b = {
1206
1250
  bottom: "",
1207
1251
  top: "bottom-full"
1208
1252
  };
1209
- return `${u[p]} ${x[h]}`;
1253
+ return `${c[p]} ${b[y]}`;
1210
1254
  }, [t]);
1211
- return /* @__PURE__ */ v(
1255
+ return /* @__PURE__ */ m(
1212
1256
  "div",
1213
1257
  {
1214
- className: y([
1258
+ className: h([
1215
1259
  "absolute shadow-light-2 dark:shadow-dark-2 rounded-1 bg-canvas-light dark:bg-overlay-body-dark mb-0.5 w-max overflow-y-scroll min-h-[200px] max-h-[400px]",
1216
- xr["no-scrollbar"],
1260
+ kr["no-scrollbar"],
1217
1261
  f,
1218
1262
  i
1219
1263
  ]),
1220
1264
  ref: d,
1221
- ...c,
1265
+ ...s,
1222
1266
  children: o
1223
1267
  }
1224
1268
  );
1225
- }, hr = ({ open: t, children: o }) => /* @__PURE__ */ v(rt, { children: t ? o : null }), Cr = ({
1269
+ }, Er = ({ open: t, children: o }) => /* @__PURE__ */ m(at, { children: t ? o : null }), Nr = ({
1226
1270
  align: t = { horizontal: "start", vertical: "bottom" },
1227
1271
  autoFocus: o = !0,
1228
1272
  children: i,
1229
- className: n,
1273
+ className: a,
1230
1274
  isDismissible: l,
1231
- isOpen: c,
1275
+ isOpen: s,
1232
1276
  onClose: d,
1233
1277
  ...f
1234
- }) => /* @__PURE__ */ v(hr, { open: c, children: /* @__PURE__ */ v(or, { autoFocus: o, children: /* @__PURE__ */ v(
1235
- yr,
1278
+ }) => /* @__PURE__ */ m(Er, { open: s, children: /* @__PURE__ */ m(sr, { autoFocus: o, children: /* @__PURE__ */ m(
1279
+ wr,
1236
1280
  {
1237
1281
  align: t,
1238
- className: n,
1282
+ className: a,
1239
1283
  isDismissible: l,
1240
1284
  onClose: d,
1241
1285
  ...f,
1242
1286
  children: i
1243
1287
  }
1244
- ) }) }), Or = ({ onToggle: t, children: o, disabled: i }) => {
1245
- const l = It(o, { disabled: i, onClick: (c) => {
1246
- c.stopPropagation(), t();
1288
+ ) }) }), jr = ({ onToggle: t, children: o, disabled: i }) => {
1289
+ const l = Vt(o, { disabled: i, onClick: (s) => {
1290
+ s.stopPropagation(), t();
1247
1291
  } });
1248
- return /* @__PURE__ */ v(rt, { children: l });
1249
- }, kr = "_tooltipWrapper_qu88w_1", Er = "_tooltipContent_qu88w_18", et = {
1250
- tooltipWrapper: kr,
1251
- tooltipContent: Er
1252
- }, Pr = ({ content: t, className: o, ...i }) => /* @__PURE__ */ v("div", { className: y(et.tooltipWrapper, o), ...i, children: /* @__PURE__ */ v("span", { className: et.tooltipContent, children: t }) });
1292
+ return /* @__PURE__ */ m(at, { children: l });
1293
+ }, _r = "_tooltipWrapper_qu88w_1", Rr = "_tooltipContent_qu88w_18", tt = {
1294
+ tooltipWrapper: _r,
1295
+ tooltipContent: Rr
1296
+ }, Fr = ({ content: t, className: o, ...i }) => /* @__PURE__ */ m("div", { className: h(tt.tooltipWrapper, o), ...i, children: /* @__PURE__ */ m("span", { className: tt.tooltipContent, children: t }) });
1253
1297
  export {
1254
- tt as Box,
1255
- qt as Breadcrumb,
1256
- rr as Breadcrumbs,
1257
- ar as Button,
1298
+ rt as Box,
1299
+ Kt as Breadcrumb,
1300
+ ar as Breadcrumbs,
1301
+ or as Button,
1258
1302
  nr as ButtonComponent,
1259
- or as FocusTrap,
1260
- ve as IconButton,
1261
- sr as IconLinkButton,
1262
- cr as Input,
1263
- pr as LinkButton,
1264
- fr as LinkButtonComponent,
1265
- mr as List,
1266
- br as ListItem,
1267
- Sr as ListItemText,
1268
- Tr as Popover,
1269
- Cr as PopoverBody,
1270
- Or as PopoverTrigger,
1271
- Pr as Tooltip,
1272
- Rr as buttonSizeOptions,
1273
- it as defaultButtonClasses,
1274
- ot as determineSizeClasses,
1275
- ae as iconSizes,
1276
- lt as variantClasses
1303
+ lr as Checkbox,
1304
+ sr as FocusTrap,
1305
+ be as IconButton,
1306
+ cr as IconLinkButton,
1307
+ mr as Input,
1308
+ vr as LinkButton,
1309
+ gr as LinkButtonComponent,
1310
+ xr as List,
1311
+ yr as ListItem,
1312
+ Or as ListItemText,
1313
+ Pr as Popover,
1314
+ Nr as PopoverBody,
1315
+ jr as PopoverTrigger,
1316
+ Fr as Tooltip,
1317
+ Cr as buttonSizeOptions,
1318
+ lt as defaultButtonClasses,
1319
+ it as determineSizeClasses,
1320
+ ne as iconSizes,
1321
+ st as variantClasses
1277
1322
  };