@everlywell/ui-kit 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
- import { Icon as fa, IconButton as pa, useTheme as ga, Box as wt, Flex as ha, Show as ba, Hide as ma, ChakraBaseProvider as va, defineStyleConfig as Gr, baseTheme as Tt } from "@chakra-ui/react";
2
- import { Box as Hn, Button as Yn, Drawer as Nn, DrawerBody as Un, DrawerCloseButton as Vn, DrawerContent as Xn, DrawerFooter as qn, DrawerHeader as Kn, DrawerOverlay as Jn, Heading as Zn, Link as Qn, Menu as ro, MenuButton as eo, MenuCommand as to, MenuDivider as ao, MenuGroup as no, MenuItem as oo, MenuItemOption as io, MenuList as so, MenuOptionGroup as lo, Text as co, VisuallyHidden as uo, extendBaseTheme as fo } from "@chakra-ui/react";
1
+ import { Icon as fa, IconButton as pa, useTheme as ga, Box as Tt, Flex as ha, Show as ba, Hide as ma, ChakraBaseProvider as va, defineStyleConfig as Gr, baseTheme as Rt } from "@chakra-ui/react";
2
+ import { Box as eo, Button as to, Drawer as ao, DrawerBody as no, DrawerCloseButton as oo, DrawerContent as io, DrawerFooter as so, DrawerHeader as lo, DrawerOverlay as co, FormControl as uo, Heading as fo, Input as po, Link as go, Menu as ho, MenuButton as bo, MenuCommand as mo, MenuDivider as vo, MenuGroup as yo, MenuItem as So, MenuItemOption as xo, MenuList as ko, MenuOptionGroup as _o, Text as wo, VisuallyHidden as To, extendBaseTheme as Ro } from "@chakra-ui/react";
3
3
  import Hr, { createContext as ya, useContext as Sa } from "react";
4
4
  import * as xa from "@phosphor-icons/react";
5
5
  import { Global as ka } from "@emotion/react";
6
- import { default as go } from "@emotion/styled";
7
- var be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
+ import { default as Co } from "@emotion/styled";
7
+ var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8
8
  function _a(e) {
9
9
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
10
10
  }
11
- var Ze = { exports: {} }, jr = {};
11
+ var Qe = { exports: {} }, jr = {};
12
12
  /**
13
13
  * @license React
14
14
  * react-jsx-runtime.development.js
@@ -18,10 +18,10 @@ var Ze = { exports: {} }, jr = {};
18
18
  * This source code is licensed under the MIT license found in the
19
19
  * LICENSE file in the root directory of this source tree.
20
20
  */
21
- var bt;
21
+ var mt;
22
22
  function wa() {
23
- return bt || (bt = 1, process.env.NODE_ENV !== "production" && function() {
24
- var e = Hr, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), w = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), cr = Symbol.iterator, ur = "@@iterator";
23
+ return mt || (mt = 1, process.env.NODE_ENV !== "production" && function() {
24
+ var e = Hr, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), w = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), cr = Symbol.iterator, ur = "@@iterator";
25
25
  function fr(t) {
26
26
  if (t === null || typeof t != "object")
27
27
  return null;
@@ -33,10 +33,10 @@ function wa() {
33
33
  {
34
34
  for (var s = arguments.length, d = new Array(s > 1 ? s - 1 : 0), f = 1; f < s; f++)
35
35
  d[f - 1] = arguments[f];
36
- ke("error", t, d);
36
+ _e("error", t, d);
37
37
  }
38
38
  }
39
- function ke(t, s, d) {
39
+ function _e(t, s, d) {
40
40
  {
41
41
  var f = q.ReactDebugCurrentFrame, x = f.getStackAddendum();
42
42
  x !== "" && (s += "%s", d = d.concat([x]));
@@ -46,23 +46,23 @@ function wa() {
46
46
  v.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, v);
47
47
  }
48
48
  }
49
- var _e = !1, we = !1, Te = !1, Re = !1, Ee = !1, Yr;
50
- Yr = Symbol.for("react.module.reference");
51
- function Ce(t) {
52
- return !!(typeof t == "string" || typeof t == "function" || t === u || t === S || Ee || t === p || t === z || t === T || Re || t === G || _e || we || Te || typeof t == "object" && t !== null && (t.$$typeof === j || t.$$typeof === B || t.$$typeof === E || t.$$typeof === w || t.$$typeof === g || // This needs to include all possible module reference object
49
+ var we = !1, Te = !1, Re = !1, Ee = !1, Ce = !1, Nr;
50
+ Nr = Symbol.for("react.module.reference");
51
+ function Fe(t) {
52
+ return !!(typeof t == "string" || typeof t == "function" || t === u || t === S || Ce || t === p || t === D || t === T || Ee || t === G || we || Te || Re || typeof t == "object" && t !== null && (t.$$typeof === j || t.$$typeof === B || t.$$typeof === E || t.$$typeof === w || t.$$typeof === g || // This needs to include all possible module reference object
53
53
  // types supported by any Flight configuration anywhere since
54
54
  // we don't know which Flight build this will end up being used
55
55
  // with.
56
- t.$$typeof === Yr || t.getModuleId !== void 0));
56
+ t.$$typeof === Nr || t.getModuleId !== void 0));
57
57
  }
58
- function Fe(t, s, d) {
58
+ function Ie(t, s, d) {
59
59
  var f = t.displayName;
60
60
  if (f)
61
61
  return f;
62
62
  var x = s.displayName || s.name || "";
63
63
  return x !== "" ? d + "(" + x + ")" : d;
64
64
  }
65
- function Nr(t) {
65
+ function Ur(t) {
66
66
  return t.displayName || "Context";
67
67
  }
68
68
  function K(t) {
@@ -81,7 +81,7 @@ function wa() {
81
81
  return "Profiler";
82
82
  case p:
83
83
  return "StrictMode";
84
- case z:
84
+ case D:
85
85
  return "Suspense";
86
86
  case T:
87
87
  return "SuspenseList";
@@ -90,12 +90,12 @@ function wa() {
90
90
  switch (t.$$typeof) {
91
91
  case w:
92
92
  var s = t;
93
- return Nr(s) + ".Consumer";
93
+ return Ur(s) + ".Consumer";
94
94
  case E:
95
95
  var d = t;
96
- return Nr(d._context) + ".Provider";
96
+ return Ur(d._context) + ".Provider";
97
97
  case g:
98
- return Fe(t, t.render, "ForwardRef");
98
+ return Ie(t, t.render, "ForwardRef");
99
99
  case B:
100
100
  var f = t.displayName || null;
101
101
  return f !== null ? f : K(t.type) || "Memo";
@@ -110,14 +110,14 @@ function wa() {
110
110
  }
111
111
  return null;
112
112
  }
113
- var nr = Object.assign, mr = 0, Ur, Vr, Xr, qr, Kr, Jr, Zr;
113
+ var nr = Object.assign, mr = 0, Vr, Xr, qr, Kr, Jr, Zr, Qr;
114
114
  function F() {
115
115
  }
116
116
  F.__reactDisabledLog = !0;
117
- function Qr() {
117
+ function re() {
118
118
  {
119
119
  if (mr === 0) {
120
- Ur = console.log, Vr = console.info, Xr = console.warn, qr = console.error, Kr = console.group, Jr = console.groupCollapsed, Zr = console.groupEnd;
120
+ Vr = console.log, Xr = console.info, qr = console.warn, Kr = console.error, Jr = console.group, Zr = console.groupCollapsed, Qr = console.groupEnd;
121
121
  var t = {
122
122
  configurable: !0,
123
123
  enumerable: !0,
@@ -137,7 +137,7 @@ function wa() {
137
137
  mr++;
138
138
  }
139
139
  }
140
- function Ie() {
140
+ function Be() {
141
141
  {
142
142
  if (mr--, mr === 0) {
143
143
  var t = {
@@ -147,25 +147,25 @@ function wa() {
147
147
  };
148
148
  Object.defineProperties(console, {
149
149
  log: nr({}, t, {
150
- value: Ur
150
+ value: Vr
151
151
  }),
152
152
  info: nr({}, t, {
153
- value: Vr
153
+ value: Xr
154
154
  }),
155
155
  warn: nr({}, t, {
156
- value: Xr
156
+ value: qr
157
157
  }),
158
158
  error: nr({}, t, {
159
- value: qr
159
+ value: Kr
160
160
  }),
161
161
  group: nr({}, t, {
162
- value: Kr
162
+ value: Jr
163
163
  }),
164
164
  groupCollapsed: nr({}, t, {
165
- value: Jr
165
+ value: Zr
166
166
  }),
167
167
  groupEnd: nr({}, t, {
168
- value: Zr
168
+ value: Qr
169
169
  })
170
170
  });
171
171
  }
@@ -188,8 +188,8 @@ function wa() {
188
188
  }
189
189
  var xr = !1, pr;
190
190
  {
191
- var re = typeof WeakMap == "function" ? WeakMap : Map;
192
- pr = new re();
191
+ var ee = typeof WeakMap == "function" ? WeakMap : Map;
192
+ pr = new ee();
193
193
  }
194
194
  function Ir(t, s) {
195
195
  if (!t || xr)
@@ -204,7 +204,7 @@ function wa() {
204
204
  var x = Error.prepareStackTrace;
205
205
  Error.prepareStackTrace = void 0;
206
206
  var v;
207
- v = or.current, or.current = null, Qr();
207
+ v = or.current, or.current = null, re();
208
208
  try {
209
209
  if (s) {
210
210
  var b = function() {
@@ -241,31 +241,31 @@ function wa() {
241
241
  if (Y && f && typeof Y.stack == "string") {
242
242
  for (var h = Y.stack.split(`
243
243
  `), W = f.stack.split(`
244
- `), D = h.length - 1, M = W.length - 1; D >= 1 && M >= 0 && h[D] !== W[M]; )
244
+ `), z = h.length - 1, M = W.length - 1; z >= 1 && M >= 0 && h[z] !== W[M]; )
245
245
  M--;
246
- for (; D >= 1 && M >= 0; D--, M--)
247
- if (h[D] !== W[M]) {
248
- if (D !== 1 || M !== 1)
246
+ for (; z >= 1 && M >= 0; z--, M--)
247
+ if (h[z] !== W[M]) {
248
+ if (z !== 1 || M !== 1)
249
249
  do
250
- if (D--, M--, M < 0 || h[D] !== W[M]) {
250
+ if (z--, M--, M < 0 || h[z] !== W[M]) {
251
251
  var H = `
252
- ` + h[D].replace(" at new ", " at ");
252
+ ` + h[z].replace(" at new ", " at ");
253
253
  return t.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", t.displayName)), typeof t == "function" && pr.set(t, H), H;
254
254
  }
255
- while (D >= 1 && M >= 0);
255
+ while (z >= 1 && M >= 0);
256
256
  break;
257
257
  }
258
258
  }
259
259
  } finally {
260
- xr = !1, or.current = v, Ie(), Error.prepareStackTrace = x;
260
+ xr = !1, or.current = v, Be(), Error.prepareStackTrace = x;
261
261
  }
262
- var er = t ? t.displayName || t.name : "", fe = er ? Q(er) : "";
263
- return typeof t == "function" && pr.set(t, fe), fe;
262
+ var er = t ? t.displayName || t.name : "", pe = er ? Q(er) : "";
263
+ return typeof t == "function" && pr.set(t, pe), pe;
264
264
  }
265
- function Be(t, s, d) {
265
+ function Oe(t, s, d) {
266
266
  return Ir(t, !1);
267
267
  }
268
- function Oe(t) {
268
+ function Pe(t) {
269
269
  var s = t.prototype;
270
270
  return !!(s && s.isReactComponent);
271
271
  }
@@ -273,11 +273,11 @@ function wa() {
273
273
  if (t == null)
274
274
  return "";
275
275
  if (typeof t == "function")
276
- return Ir(t, Oe(t));
276
+ return Ir(t, Pe(t));
277
277
  if (typeof t == "string")
278
278
  return Q(t);
279
279
  switch (t) {
280
- case z:
280
+ case D:
281
281
  return Q("Suspense");
282
282
  case T:
283
283
  return Q("SuspenseList");
@@ -285,7 +285,7 @@ function wa() {
285
285
  if (typeof t == "object")
286
286
  switch (t.$$typeof) {
287
287
  case g:
288
- return Be(t.render);
288
+ return Oe(t.render);
289
289
  case B:
290
290
  return kr(t.type, s, d);
291
291
  case j: {
@@ -298,13 +298,13 @@ function wa() {
298
298
  }
299
299
  return "";
300
300
  }
301
- var _r = Object.prototype.hasOwnProperty, ee = {}, te = q.ReactDebugCurrentFrame;
301
+ var _r = Object.prototype.hasOwnProperty, te = {}, ae = q.ReactDebugCurrentFrame;
302
302
  function wr(t) {
303
303
  if (t) {
304
304
  var s = t._owner, d = kr(t.type, t._source, s ? s.type : null);
305
- te.setExtraStackFrame(d);
305
+ ae.setExtraStackFrame(d);
306
306
  } else
307
- te.setExtraStackFrame(null);
307
+ ae.setExtraStackFrame(null);
308
308
  }
309
309
  function Tr(t, s, d, f, x) {
310
310
  {
@@ -318,10 +318,10 @@ function wa() {
318
318
  throw W.name = "Invariant Violation", W;
319
319
  }
320
320
  h = t[b](s, b, f, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
321
- } catch (D) {
322
- h = D;
321
+ } catch (z) {
322
+ h = z;
323
323
  }
324
- h && !(h instanceof Error) && (wr(x), A("%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).", f || "React class", d, b, typeof h), wr(null)), h instanceof Error && !(h.message in ee) && (ee[h.message] = !0, wr(x), A("Failed %s type: %s", d, h.message), wr(null));
324
+ h && !(h instanceof Error) && (wr(x), A("%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).", f || "React class", d, b, typeof h), wr(null)), h instanceof Error && !(h.message in te) && (te[h.message] = !0, wr(x), A("Failed %s type: %s", d, h.message), wr(null));
325
325
  }
326
326
  }
327
327
  }
@@ -335,7 +335,7 @@ function wa() {
335
335
  return d;
336
336
  }
337
337
  }
338
- function ae(t) {
338
+ function ne(t) {
339
339
  try {
340
340
  return Or(t), !1;
341
341
  } catch {
@@ -345,8 +345,8 @@ function wa() {
345
345
  function Or(t) {
346
346
  return "" + t;
347
347
  }
348
- function ne(t) {
349
- if (ae(t))
348
+ function oe(t) {
349
+ if (ne(t))
350
350
  return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J(t)), Or(t);
351
351
  }
352
352
  var vr = q.ReactCurrentOwner, Rr = {
@@ -356,7 +356,7 @@ function wa() {
356
356
  __source: !0
357
357
  }, Pr, $r, Er;
358
358
  Er = {};
359
- function oe(t) {
359
+ function ie(t) {
360
360
  if (_r.call(t, "ref")) {
361
361
  var s = Object.getOwnPropertyDescriptor(t, "ref").get;
362
362
  if (s && s.isReactWarning)
@@ -364,7 +364,7 @@ function wa() {
364
364
  }
365
365
  return t.ref !== void 0;
366
366
  }
367
- function ie(t) {
367
+ function se(t) {
368
368
  if (_r.call(t, "key")) {
369
369
  var s = Object.getOwnPropertyDescriptor(t, "key").get;
370
370
  if (s && s.isReactWarning)
@@ -372,13 +372,13 @@ function wa() {
372
372
  }
373
373
  return t.key !== void 0;
374
374
  }
375
- function Pe(t, s) {
375
+ function $e(t, s) {
376
376
  if (typeof t.ref == "string" && vr.current && s && vr.current.stateNode !== s) {
377
377
  var d = K(vr.current.type);
378
378
  Er[d] || (A('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', K(vr.current.type), t.ref), Er[d] = !0);
379
379
  }
380
380
  }
381
- function $e(t, s) {
381
+ function ze(t, s) {
382
382
  {
383
383
  var d = function() {
384
384
  Pr || (Pr = !0, A("%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)", s));
@@ -432,32 +432,32 @@ function wa() {
432
432
  function De(t, s, d, f, x) {
433
433
  {
434
434
  var v, b = {}, h = null, W = null;
435
- d !== void 0 && (ne(d), h = "" + d), ie(s) && (ne(s.key), h = "" + s.key), oe(s) && (W = s.ref, Pe(s, x));
435
+ d !== void 0 && (oe(d), h = "" + d), se(s) && (oe(s.key), h = "" + s.key), ie(s) && (W = s.ref, $e(s, x));
436
436
  for (v in s)
437
437
  _r.call(s, v) && !Rr.hasOwnProperty(v) && (b[v] = s[v]);
438
438
  if (t && t.defaultProps) {
439
- var D = t.defaultProps;
440
- for (v in D)
441
- b[v] === void 0 && (b[v] = D[v]);
439
+ var z = t.defaultProps;
440
+ for (v in z)
441
+ b[v] === void 0 && (b[v] = z[v]);
442
442
  }
443
443
  if (h || W) {
444
444
  var M = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
445
- h && $e(b, M), W && ir(b, M);
445
+ h && ze(b, M), W && ir(b, M);
446
446
  }
447
447
  return Cr(t, h, W, x, f, vr.current, b);
448
448
  }
449
449
  }
450
- var Fr = q.ReactCurrentOwner, se = q.ReactDebugCurrentFrame;
450
+ var Fr = q.ReactCurrentOwner, le = q.ReactDebugCurrentFrame;
451
451
  function sr(t) {
452
452
  if (t) {
453
453
  var s = t._owner, d = kr(t.type, t._source, s ? s.type : null);
454
- se.setExtraStackFrame(d);
454
+ le.setExtraStackFrame(d);
455
455
  } else
456
- se.setExtraStackFrame(null);
456
+ le.setExtraStackFrame(null);
457
457
  }
458
458
  var lr;
459
459
  lr = !1;
460
- function Dr(t) {
460
+ function zr(t) {
461
461
  return typeof t == "object" && t !== null && t.$$typeof === o;
462
462
  }
463
463
  function rr() {
@@ -472,7 +472,7 @@ Check the render method of \`` + t + "`.";
472
472
  return "";
473
473
  }
474
474
  }
475
- function ze(t) {
475
+ function Me(t) {
476
476
  {
477
477
  if (t !== void 0) {
478
478
  var s = t.fileName.replace(/^.*[\\\/]/, ""), d = t.lineNumber;
@@ -483,8 +483,8 @@ Check your code at ` + s + ":" + d + ".";
483
483
  return "";
484
484
  }
485
485
  }
486
- var le = {};
487
- function Me(t) {
486
+ var de = {};
487
+ function je(t) {
488
488
  {
489
489
  var s = rr();
490
490
  if (!s) {
@@ -496,35 +496,35 @@ Check the top-level render call using <` + d + ">.");
496
496
  return s;
497
497
  }
498
498
  }
499
- function de(t, s) {
499
+ function ce(t, s) {
500
500
  {
501
501
  if (!t._store || t._store.validated || t.key != null)
502
502
  return;
503
503
  t._store.validated = !0;
504
- var d = Me(s);
505
- if (le[d])
504
+ var d = je(s);
505
+ if (de[d])
506
506
  return;
507
- le[d] = !0;
507
+ de[d] = !0;
508
508
  var f = "";
509
509
  t && t._owner && t._owner !== Fr.current && (f = " It was passed a child from " + K(t._owner.type) + "."), sr(t), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, f), sr(null);
510
510
  }
511
511
  }
512
- function ce(t, s) {
512
+ function ue(t, s) {
513
513
  {
514
514
  if (typeof t != "object")
515
515
  return;
516
516
  if (gr(t))
517
517
  for (var d = 0; d < t.length; d++) {
518
518
  var f = t[d];
519
- Dr(f) && de(f, s);
519
+ zr(f) && ce(f, s);
520
520
  }
521
- else if (Dr(t))
521
+ else if (zr(t))
522
522
  t._store && (t._store.validated = !0);
523
523
  else if (t) {
524
524
  var x = fr(t);
525
525
  if (typeof x == "function" && x !== t.entries)
526
526
  for (var v = x.call(t), b; !(b = v.next()).done; )
527
- Dr(b.value) && de(b.value, s);
527
+ zr(b.value) && ce(b.value, s);
528
528
  }
529
529
  }
530
530
  }
@@ -553,7 +553,7 @@ Check the top-level render call using <` + d + ">.");
553
553
  typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
554
554
  }
555
555
  }
556
- function je(t) {
556
+ function Ae(t) {
557
557
  {
558
558
  for (var s = Object.keys(t.props), d = 0; d < s.length; d++) {
559
559
  var f = s[d];
@@ -565,16 +565,16 @@ Check the top-level render call using <` + d + ">.");
565
565
  t.ref !== null && (sr(t), A("Invalid attribute `ref` supplied to `React.Fragment`."), sr(null));
566
566
  }
567
567
  }
568
- function ue(t, s, d, f, x, v) {
568
+ function fe(t, s, d, f, x, v) {
569
569
  {
570
- var b = Ce(t);
570
+ var b = Fe(t);
571
571
  if (!b) {
572
572
  var h = "";
573
573
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
574
- var W = ze(x);
574
+ var W = Me(x);
575
575
  W ? h += W : h += rr();
576
- var D;
577
- t === null ? D = "null" : gr(t) ? D = "array" : t !== void 0 && t.$$typeof === o ? (D = "<" + (K(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : D = typeof t, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, h);
576
+ var z;
577
+ t === null ? z = "null" : gr(t) ? z = "array" : t !== void 0 && t.$$typeof === o ? (z = "<" + (K(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : z = typeof t, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, h);
578
578
  }
579
579
  var M = De(t, s, d, x, v);
580
580
  if (M == null)
@@ -585,24 +585,24 @@ Check the top-level render call using <` + d + ">.");
585
585
  if (f)
586
586
  if (gr(H)) {
587
587
  for (var er = 0; er < H.length; er++)
588
- ce(H[er], t);
588
+ ue(H[er], t);
589
589
  Object.freeze && Object.freeze(H);
590
590
  } else
591
591
  A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
592
592
  else
593
- ce(H, t);
593
+ ue(H, t);
594
594
  }
595
- return t === u ? je(M) : Z(M), M;
595
+ return t === u ? Ae(M) : Z(M), M;
596
596
  }
597
597
  }
598
- function Ae(t, s, d) {
599
- return ue(t, s, d, !0);
600
- }
601
598
  function We(t, s, d) {
602
- return ue(t, s, d, !1);
599
+ return fe(t, s, d, !0);
603
600
  }
604
- var Le = We, hr = Ae;
605
- jr.Fragment = u, jr.jsx = Le, jr.jsxs = hr;
601
+ function Le(t, s, d) {
602
+ return fe(t, s, d, !1);
603
+ }
604
+ var Ge = Le, hr = We;
605
+ jr.Fragment = u, jr.jsx = Ge, jr.jsxs = hr;
606
606
  }()), jr;
607
607
  }
608
608
  var Ar = {};
@@ -615,15 +615,15 @@ var Ar = {};
615
615
  * This source code is licensed under the MIT license found in the
616
616
  * LICENSE file in the root directory of this source tree.
617
617
  */
618
- var mt;
618
+ var vt;
619
619
  function Ta() {
620
- if (mt)
620
+ if (vt)
621
621
  return Ar;
622
- mt = 1;
622
+ vt = 1;
623
623
  var e = Hr, o = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
624
- function E(w, g, z) {
624
+ function E(w, g, D) {
625
625
  var T, B = {}, j = null, G = null;
626
- z !== void 0 && (j = "" + z), g.key !== void 0 && (j = "" + g.key), g.ref !== void 0 && (G = g.ref);
626
+ D !== void 0 && (j = "" + D), g.key !== void 0 && (j = "" + g.key), g.ref !== void 0 && (G = g.ref);
627
627
  for (T in g)
628
628
  u.call(g, T) && !S.hasOwnProperty(T) && (B[T] = g[T]);
629
629
  if (w && w.defaultProps)
@@ -633,8 +633,8 @@ function Ta() {
633
633
  }
634
634
  return Ar.Fragment = l, Ar.jsx = E, Ar.jsxs = E, Ar;
635
635
  }
636
- process.env.NODE_ENV === "production" ? Ze.exports = Ta() : Ze.exports = wa();
637
- var ar = Ze.exports;
636
+ process.env.NODE_ENV === "production" ? Qe.exports = Ta() : Qe.exports = wa();
637
+ var ar = Qe.exports;
638
638
  const Ra = {}, Ea = [
639
639
  "SSR",
640
640
  "Icon",
@@ -664,7 +664,7 @@ const Ra = {}, Ea = [
664
664
  }
665
665
  ));
666
666
  Ia.displayName = "IconButton";
667
- const Rt = ya({ spacing: 0, columns: 1 }), Ba = Hr.forwardRef(
667
+ const Et = ya({ spacing: 0, columns: 1 }), Ba = Hr.forwardRef(
668
668
  ({
669
669
  children: e,
670
670
  alignEdges: o = !0,
@@ -673,8 +673,8 @@ const Rt = ya({ spacing: 0, columns: 1 }), Ba = Hr.forwardRef(
673
673
  spacing: p,
674
674
  ...S
675
675
  }, E) => {
676
- const w = ga(), g = p ?? w.space[4], z = Array.isArray(g) ? g.map((T) => -1 * T) : -1 * g;
677
- return /* @__PURE__ */ ar.jsx(Rt.Provider, { value: { spacing: g, columns: u }, children: /* @__PURE__ */ ar.jsx(wt, { m: o ? z : void 0, children: /* @__PURE__ */ ar.jsx(
676
+ const w = ga(), g = p ?? w.space[4], D = Array.isArray(g) ? g.map((T) => -1 * T) : -1 * g;
677
+ return /* @__PURE__ */ ar.jsx(Et.Provider, { value: { spacing: g, columns: u }, children: /* @__PURE__ */ ar.jsx(Tt, { m: o ? D : void 0, children: /* @__PURE__ */ ar.jsx(
678
678
  ha,
679
679
  {
680
680
  flexWrap: "wrap",
@@ -691,9 +691,9 @@ const Rt = ya({ spacing: 0, columns: 1 }), Ba = Hr.forwardRef(
691
691
  Ba.displayName = "Grid";
692
692
  const Oa = Hr.forwardRef(
693
693
  ({ children: e, width: o, ...l }, u) => {
694
- const { columns: p, spacing: S } = Sa(Rt), E = Array.isArray(o) ? o.map((g) => g === "auto" ? 1 : 0) : o === "auto" ? 1 : 0, w = () => (Array.isArray(p) ? p : [p]).map((z) => `${100 / z}%`);
694
+ const { columns: p, spacing: S } = Sa(Et), E = Array.isArray(o) ? o.map((g) => g === "auto" ? 1 : 0) : o === "auto" ? 1 : 0, w = () => (Array.isArray(p) ? p : [p]).map((D) => `${100 / D}%`);
695
695
  return /* @__PURE__ */ ar.jsx(
696
- wt,
696
+ Tt,
697
697
  {
698
698
  width: o ?? w() ?? "100%",
699
699
  pr: S,
@@ -710,7 +710,7 @@ const Oa = Hr.forwardRef(
710
710
  }
711
711
  );
712
712
  Oa.displayName = "GridItem";
713
- const $n = ba, Dn = ma, Pa = () => /* @__PURE__ */ ar.jsx(
713
+ const Un = ba, Vn = ma, Pa = () => /* @__PURE__ */ ar.jsx(
714
714
  ka,
715
715
  {
716
716
  styles: `
@@ -792,13 +792,13 @@ const $n = ba, Dn = ma, Pa = () => /* @__PURE__ */ ar.jsx(
792
792
  }
793
793
  `
794
794
  }
795
- ), zn = ({
795
+ ), Xn = ({
796
796
  children: e,
797
797
  ...o
798
798
  }) => /* @__PURE__ */ ar.jsxs(va, { ...o, children: [
799
799
  /* @__PURE__ */ ar.jsx(Pa, {}),
800
800
  e
801
- ] }), vt = ["viridian", "terracotta"], $a = Gr({
801
+ ] }), yt = ["viridian", "terracotta"], $a = Gr({
802
802
  // The styles all button have in common
803
803
  baseStyle: {
804
804
  fontWeight: "medium",
@@ -869,7 +869,7 @@ const $n = ba, Dn = ma, Pa = () => /* @__PURE__ */ ar.jsx(
869
869
  variants: {
870
870
  primary: (e) => {
871
871
  const { colorScheme: o } = e;
872
- return vt.includes(o) ? {
872
+ return yt.includes(o) ? {
873
873
  bg: `${o}.base`,
874
874
  color: "tints.white",
875
875
  ":hover, &.hover": {
@@ -899,7 +899,7 @@ const $n = ba, Dn = ma, Pa = () => /* @__PURE__ */ ar.jsx(
899
899
  },
900
900
  secondary: (e) => {
901
901
  const { colorScheme: o } = e;
902
- return vt.includes(o) ? {
902
+ return yt.includes(o) ? {
903
903
  color: `${o}.base`,
904
904
  boxShadow: (l) => `inset 0 0 0 2px ${l.colors[o].base}`,
905
905
  ":hover, &.hover": {
@@ -916,7 +916,7 @@ const $n = ba, Dn = ma, Pa = () => /* @__PURE__ */ ar.jsx(
916
916
  opacity: 0.7
917
917
  }
918
918
  } : {
919
- color: "whit",
919
+ color: "white",
920
920
  boxShadow: (l) => `inset 0 0 0 2px ${l.colors.tints.white}`,
921
921
  ":hover, &.hover": {
922
922
  color: "tints.white",
@@ -942,23 +942,23 @@ const $n = ba, Dn = ma, Pa = () => /* @__PURE__ */ ar.jsx(
942
942
  colorScheme: "viridian"
943
943
  }
944
944
  });
945
- function Et(e) {
945
+ function Ct(e) {
946
946
  const o = typeof e;
947
947
  return e != null && (o === "object" || o === "function") && !Array.isArray(e);
948
948
  }
949
- var ye = { exports: {} };
950
- ye.exports;
949
+ var Se = { exports: {} };
950
+ Se.exports;
951
951
  (function(e, o) {
952
- var l = 200, u = "__lodash_hash_undefined__", p = 800, S = 16, E = 9007199254740991, w = "[object Arguments]", g = "[object Array]", z = "[object AsyncFunction]", T = "[object Boolean]", B = "[object Date]", j = "[object Error]", G = "[object Function]", cr = "[object GeneratorFunction]", ur = "[object Map]", fr = "[object Number]", q = "[object Null]", A = "[object Object]", ke = "[object Proxy]", _e = "[object RegExp]", we = "[object Set]", Te = "[object String]", Re = "[object Undefined]", Ee = "[object WeakMap]", Yr = "[object ArrayBuffer]", Ce = "[object DataView]", Fe = "[object Float32Array]", Nr = "[object Float64Array]", K = "[object Int8Array]", nr = "[object Int16Array]", mr = "[object Int32Array]", Ur = "[object Uint8Array]", Vr = "[object Uint8ClampedArray]", Xr = "[object Uint16Array]", qr = "[object Uint32Array]", Kr = /[\\^$.*+?()[\]{}|]/g, Jr = /^\[object .+?Constructor\]$/, Zr = /^(?:0|[1-9]\d*)$/, F = {};
953
- F[Fe] = F[Nr] = F[K] = F[nr] = F[mr] = F[Ur] = F[Vr] = F[Xr] = F[qr] = !0, F[w] = F[g] = F[Yr] = F[T] = F[Ce] = F[B] = F[j] = F[G] = F[ur] = F[fr] = F[A] = F[_e] = F[we] = F[Te] = F[Ee] = !1;
954
- var Qr = typeof be == "object" && be && be.Object === Object && be, Ie = typeof self == "object" && self && self.Object === Object && self, or = Qr || Ie || Function("return this")(), Sr = o && !o.nodeType && o, Q = Sr && !0 && e && !e.nodeType && e, xr = Q && Q.exports === Sr, pr = xr && Qr.process, re = function() {
952
+ var l = 200, u = "__lodash_hash_undefined__", p = 800, S = 16, E = 9007199254740991, w = "[object Arguments]", g = "[object Array]", D = "[object AsyncFunction]", T = "[object Boolean]", B = "[object Date]", j = "[object Error]", G = "[object Function]", cr = "[object GeneratorFunction]", ur = "[object Map]", fr = "[object Number]", q = "[object Null]", A = "[object Object]", _e = "[object Proxy]", we = "[object RegExp]", Te = "[object Set]", Re = "[object String]", Ee = "[object Undefined]", Ce = "[object WeakMap]", Nr = "[object ArrayBuffer]", Fe = "[object DataView]", Ie = "[object Float32Array]", Ur = "[object Float64Array]", K = "[object Int8Array]", nr = "[object Int16Array]", mr = "[object Int32Array]", Vr = "[object Uint8Array]", Xr = "[object Uint8ClampedArray]", qr = "[object Uint16Array]", Kr = "[object Uint32Array]", Jr = /[\\^$.*+?()[\]{}|]/g, Zr = /^\[object .+?Constructor\]$/, Qr = /^(?:0|[1-9]\d*)$/, F = {};
953
+ F[Ie] = F[Ur] = F[K] = F[nr] = F[mr] = F[Vr] = F[Xr] = F[qr] = F[Kr] = !0, F[w] = F[g] = F[Nr] = F[T] = F[Fe] = F[B] = F[j] = F[G] = F[ur] = F[fr] = F[A] = F[we] = F[Te] = F[Re] = F[Ce] = !1;
954
+ var re = typeof me == "object" && me && me.Object === Object && me, Be = typeof self == "object" && self && self.Object === Object && self, or = re || Be || Function("return this")(), Sr = o && !o.nodeType && o, Q = Sr && !0 && e && !e.nodeType && e, xr = Q && Q.exports === Sr, pr = xr && re.process, ee = function() {
955
955
  try {
956
956
  var r = Q && Q.require && Q.require("util").types;
957
957
  return r || pr && pr.binding && pr.binding("util");
958
958
  } catch {
959
959
  }
960
- }(), Ir = re && re.isTypedArray;
961
- function Be(r, a, i) {
960
+ }(), Ir = ee && ee.isTypedArray;
961
+ function Oe(r, a, i) {
962
962
  switch (i.length) {
963
963
  case 0:
964
964
  return r.call(a);
@@ -971,7 +971,7 @@ ye.exports;
971
971
  }
972
972
  return r.apply(a, i);
973
973
  }
974
- function Oe(r, a) {
974
+ function Pe(r, a) {
975
975
  for (var i = -1, c = Array(r); ++i < r; )
976
976
  c[i] = a(i);
977
977
  return c;
@@ -984,30 +984,30 @@ ye.exports;
984
984
  function _r(r, a) {
985
985
  return r == null ? void 0 : r[a];
986
986
  }
987
- function ee(r, a) {
987
+ function te(r, a) {
988
988
  return function(i) {
989
989
  return r(a(i));
990
990
  };
991
991
  }
992
- var te = Array.prototype, wr = Function.prototype, Tr = Object.prototype, Br = or["__core-js_shared__"], gr = wr.toString, J = Tr.hasOwnProperty, ae = function() {
992
+ var ae = Array.prototype, wr = Function.prototype, Tr = Object.prototype, Br = or["__core-js_shared__"], gr = wr.toString, J = Tr.hasOwnProperty, ne = function() {
993
993
  var r = /[^.]+$/.exec(Br && Br.keys && Br.keys.IE_PROTO || "");
994
994
  return r ? "Symbol(src)_1." + r : "";
995
- }(), Or = Tr.toString, ne = gr.call(Object), vr = RegExp(
996
- "^" + gr.call(J).replace(Kr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
997
- ), Rr = xr ? or.Buffer : void 0, Pr = or.Symbol, $r = or.Uint8Array, Er = Rr ? Rr.allocUnsafe : void 0, oe = ee(Object.getPrototypeOf, Object), ie = Object.create, Pe = Tr.propertyIsEnumerable, $e = te.splice, ir = Pr ? Pr.toStringTag : void 0, Cr = function() {
995
+ }(), Or = Tr.toString, oe = gr.call(Object), vr = RegExp(
996
+ "^" + gr.call(J).replace(Jr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
997
+ ), Rr = xr ? or.Buffer : void 0, Pr = or.Symbol, $r = or.Uint8Array, Er = Rr ? Rr.allocUnsafe : void 0, ie = te(Object.getPrototypeOf, Object), se = Object.create, $e = Tr.propertyIsEnumerable, ze = ae.splice, ir = Pr ? Pr.toStringTag : void 0, Cr = function() {
998
998
  try {
999
- var r = He(Object, "defineProperty");
999
+ var r = Ye(Object, "defineProperty");
1000
1000
  return r({}, "", {}), r;
1001
1001
  } catch {
1002
1002
  }
1003
- }(), De = Rr ? Rr.isBuffer : void 0, Fr = Math.max, se = Date.now, sr = He(or, "Map"), lr = He(Object, "create"), Dr = /* @__PURE__ */ function() {
1003
+ }(), De = Rr ? Rr.isBuffer : void 0, Fr = Math.max, le = Date.now, sr = Ye(or, "Map"), lr = Ye(Object, "create"), zr = /* @__PURE__ */ function() {
1004
1004
  function r() {
1005
1005
  }
1006
1006
  return function(a) {
1007
1007
  if (!yr(a))
1008
1008
  return {};
1009
- if (ie)
1010
- return ie(a);
1009
+ if (se)
1010
+ return se(a);
1011
1011
  r.prototype = a;
1012
1012
  var i = new r();
1013
1013
  return r.prototype = void 0, i;
@@ -1020,14 +1020,14 @@ ye.exports;
1020
1020
  this.set(c[0], c[1]);
1021
1021
  }
1022
1022
  }
1023
- function ze() {
1023
+ function Me() {
1024
1024
  this.__data__ = lr ? lr(null) : {}, this.size = 0;
1025
1025
  }
1026
- function le(r) {
1026
+ function de(r) {
1027
1027
  var a = this.has(r) && delete this.__data__[r];
1028
1028
  return this.size -= a ? 1 : 0, a;
1029
1029
  }
1030
- function Me(r) {
1030
+ function je(r) {
1031
1031
  var a = this.__data__;
1032
1032
  if (lr) {
1033
1033
  var i = a[r];
@@ -1035,15 +1035,15 @@ ye.exports;
1035
1035
  }
1036
1036
  return J.call(a, r) ? a[r] : void 0;
1037
1037
  }
1038
- function de(r) {
1038
+ function ce(r) {
1039
1039
  var a = this.__data__;
1040
1040
  return lr ? a[r] !== void 0 : J.call(a, r);
1041
1041
  }
1042
- function ce(r, a) {
1042
+ function ue(r, a) {
1043
1043
  var i = this.__data__;
1044
1044
  return this.size += this.has(r) ? 0 : 1, i[r] = lr && a === void 0 ? u : a, this;
1045
1045
  }
1046
- rr.prototype.clear = ze, rr.prototype.delete = le, rr.prototype.get = Me, rr.prototype.has = de, rr.prototype.set = ce;
1046
+ rr.prototype.clear = Me, rr.prototype.delete = de, rr.prototype.get = je, rr.prototype.has = ce, rr.prototype.set = ue;
1047
1047
  function Z(r) {
1048
1048
  var a = -1, i = r == null ? 0 : r.length;
1049
1049
  for (this.clear(); ++a < i; ) {
@@ -1051,28 +1051,28 @@ ye.exports;
1051
1051
  this.set(c[0], c[1]);
1052
1052
  }
1053
1053
  }
1054
- function je() {
1054
+ function Ae() {
1055
1055
  this.__data__ = [], this.size = 0;
1056
1056
  }
1057
- function ue(r) {
1057
+ function fe(r) {
1058
1058
  var a = this.__data__, i = Y(a, r);
1059
1059
  if (i < 0)
1060
1060
  return !1;
1061
1061
  var c = a.length - 1;
1062
- return i == c ? a.pop() : $e.call(a, i, 1), --this.size, !0;
1062
+ return i == c ? a.pop() : ze.call(a, i, 1), --this.size, !0;
1063
1063
  }
1064
- function Ae(r) {
1064
+ function We(r) {
1065
1065
  var a = this.__data__, i = Y(a, r);
1066
1066
  return i < 0 ? void 0 : a[i][1];
1067
1067
  }
1068
- function We(r) {
1068
+ function Le(r) {
1069
1069
  return Y(this.__data__, r) > -1;
1070
1070
  }
1071
- function Le(r, a) {
1071
+ function Ge(r, a) {
1072
1072
  var i = this.__data__, c = Y(i, r);
1073
1073
  return c < 0 ? (++this.size, i.push([r, a])) : i[c][1] = a, this;
1074
1074
  }
1075
- Z.prototype.clear = je, Z.prototype.delete = ue, Z.prototype.get = Ae, Z.prototype.has = We, Z.prototype.set = Le;
1075
+ Z.prototype.clear = Ae, Z.prototype.delete = fe, Z.prototype.get = We, Z.prototype.has = Le, Z.prototype.set = Ge;
1076
1076
  function hr(r) {
1077
1077
  var a = -1, i = r == null ? 0 : r.length;
1078
1078
  for (this.clear(); ++a < i; ) {
@@ -1088,17 +1088,17 @@ ye.exports;
1088
1088
  };
1089
1089
  }
1090
1090
  function s(r) {
1091
- var a = ge(this, r).delete(r);
1091
+ var a = he(this, r).delete(r);
1092
1092
  return this.size -= a ? 1 : 0, a;
1093
1093
  }
1094
1094
  function d(r) {
1095
- return ge(this, r).get(r);
1095
+ return he(this, r).get(r);
1096
1096
  }
1097
1097
  function f(r) {
1098
- return ge(this, r).has(r);
1098
+ return he(this, r).has(r);
1099
1099
  }
1100
1100
  function x(r, a) {
1101
- var i = ge(this, r), c = i.size;
1101
+ var i = he(this, r), c = i.size;
1102
1102
  return i.set(r, a), this.size += i.size == c ? 0 : 1, this;
1103
1103
  }
1104
1104
  hr.prototype.clear = t, hr.prototype.delete = s, hr.prototype.get = d, hr.prototype.has = f, hr.prototype.set = x;
@@ -1116,7 +1116,7 @@ ye.exports;
1116
1116
  function W(r) {
1117
1117
  return this.__data__.get(r);
1118
1118
  }
1119
- function D(r) {
1119
+ function z(r) {
1120
1120
  return this.__data__.has(r);
1121
1121
  }
1122
1122
  function M(r, a) {
@@ -1129,31 +1129,31 @@ ye.exports;
1129
1129
  }
1130
1130
  return i.set(r, a), this.size = i.size, this;
1131
1131
  }
1132
- v.prototype.clear = b, v.prototype.delete = h, v.prototype.get = W, v.prototype.has = D, v.prototype.set = M;
1132
+ v.prototype.clear = b, v.prototype.delete = h, v.prototype.get = W, v.prototype.has = z, v.prototype.set = M;
1133
1133
  function H(r, a) {
1134
- var i = Ue(r), c = !i && Ne(r), y = !i && !c && ct(r), I = !i && !c && !y && ft(r), P = i || c || y || I, m = P ? Oe(r.length, String) : [], $ = m.length;
1134
+ var i = Ve(r), c = !i && Ue(r), y = !i && !c && ut(r), I = !i && !c && !y && pt(r), P = i || c || y || I, m = P ? Pe(r.length, String) : [], $ = m.length;
1135
1135
  for (var U in r)
1136
1136
  (a || J.call(r, U)) && !(P && // Safari 9 has enumerable `arguments.length` in strict mode.
1137
1137
  (U == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1138
1138
  y && (U == "offset" || U == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1139
1139
  I && (U == "buffer" || U == "byteLength" || U == "byteOffset") || // Skip index properties.
1140
- lt(U, $))) && m.push(U);
1140
+ dt(U, $))) && m.push(U);
1141
1141
  return m;
1142
1142
  }
1143
1143
  function er(r, a, i) {
1144
- (i !== void 0 && !he(r[a], i) || i === void 0 && !(a in r)) && Ge(r, a, i);
1144
+ (i !== void 0 && !be(r[a], i) || i === void 0 && !(a in r)) && He(r, a, i);
1145
1145
  }
1146
- function fe(r, a, i) {
1146
+ function pe(r, a, i) {
1147
1147
  var c = r[a];
1148
- (!(J.call(r, a) && he(c, i)) || i === void 0 && !(a in r)) && Ge(r, a, i);
1148
+ (!(J.call(r, a) && be(c, i)) || i === void 0 && !(a in r)) && He(r, a, i);
1149
1149
  }
1150
1150
  function Y(r, a) {
1151
1151
  for (var i = r.length; i--; )
1152
- if (he(r[i][0], a))
1152
+ if (be(r[i][0], a))
1153
1153
  return i;
1154
1154
  return -1;
1155
1155
  }
1156
- function Ge(r, a, i) {
1156
+ function He(r, a, i) {
1157
1157
  a == "__proto__" && Cr ? Cr(r, a, {
1158
1158
  configurable: !0,
1159
1159
  enumerable: !0,
@@ -1161,55 +1161,55 @@ ye.exports;
1161
1161
  writable: !0
1162
1162
  }) : r[a] = i;
1163
1163
  }
1164
- var Dt = Xt();
1165
- function pe(r) {
1166
- return r == null ? r === void 0 ? Re : q : ir && ir in Object(r) ? qt(r) : ea(r);
1164
+ var zt = Xt();
1165
+ function ge(r) {
1166
+ return r == null ? r === void 0 ? Ee : q : ir && ir in Object(r) ? qt(r) : ea(r);
1167
1167
  }
1168
- function it(r) {
1169
- return zr(r) && pe(r) == w;
1168
+ function st(r) {
1169
+ return Dr(r) && ge(r) == w;
1170
1170
  }
1171
- function zt(r) {
1171
+ function Dt(r) {
1172
1172
  if (!yr(r) || Qt(r))
1173
1173
  return !1;
1174
- var a = Xe(r) ? vr : Jr;
1174
+ var a = qe(r) ? vr : Zr;
1175
1175
  return a.test(oa(r));
1176
1176
  }
1177
1177
  function Mt(r) {
1178
- return zr(r) && ut(r.length) && !!F[pe(r)];
1178
+ return Dr(r) && ft(r.length) && !!F[ge(r)];
1179
1179
  }
1180
1180
  function jt(r) {
1181
1181
  if (!yr(r))
1182
1182
  return ra(r);
1183
- var a = dt(r), i = [];
1183
+ var a = ct(r), i = [];
1184
1184
  for (var c in r)
1185
1185
  c == "constructor" && (a || !J.call(r, c)) || i.push(c);
1186
1186
  return i;
1187
1187
  }
1188
- function st(r, a, i, c, y) {
1189
- r !== a && Dt(a, function(I, P) {
1188
+ function lt(r, a, i, c, y) {
1189
+ r !== a && zt(a, function(I, P) {
1190
1190
  if (y || (y = new v()), yr(I))
1191
- At(r, a, P, i, st, c, y);
1191
+ At(r, a, P, i, lt, c, y);
1192
1192
  else {
1193
- var m = c ? c(Ye(r, P), I, P + "", r, a, y) : void 0;
1193
+ var m = c ? c(Ne(r, P), I, P + "", r, a, y) : void 0;
1194
1194
  m === void 0 && (m = I), er(r, P, m);
1195
1195
  }
1196
- }, pt);
1196
+ }, gt);
1197
1197
  }
1198
1198
  function At(r, a, i, c, y, I, P) {
1199
- var m = Ye(r, i), $ = Ye(a, i), U = P.get($);
1199
+ var m = Ne(r, i), $ = Ne(a, i), U = P.get($);
1200
1200
  if (U) {
1201
1201
  er(r, i, U);
1202
1202
  return;
1203
1203
  }
1204
1204
  var N = I ? I(m, $, i + "", r, a, P) : void 0, Mr = N === void 0;
1205
1205
  if (Mr) {
1206
- var qe = Ue($), Ke = !qe && ct($), ht = !qe && !Ke && ft($);
1207
- N = $, qe || Ke || ht ? Ue(m) ? N = m : ia(m) ? N = Nt(m) : Ke ? (Mr = !1, N = Gt($, !0)) : ht ? (Mr = !1, N = Yt($, !0)) : N = [] : sa($) || Ne($) ? (N = m, Ne(m) ? N = la(m) : (!yr(m) || Xe(m)) && (N = Kt($))) : Mr = !1;
1206
+ var Ke = Ve($), Je = !Ke && ut($), bt = !Ke && !Je && pt($);
1207
+ N = $, Ke || Je || bt ? Ve(m) ? N = m : ia(m) ? N = Nt(m) : Je ? (Mr = !1, N = Gt($, !0)) : bt ? (Mr = !1, N = Yt($, !0)) : N = [] : sa($) || Ue($) ? (N = m, Ue(m) ? N = la(m) : (!yr(m) || qe(m)) && (N = Kt($))) : Mr = !1;
1208
1208
  }
1209
1209
  Mr && (P.set($, N), y(N, $, c, I, P), P.delete($)), er(r, i, N);
1210
1210
  }
1211
1211
  function Wt(r, a) {
1212
- return aa(ta(r, a, gt), r + "");
1212
+ return aa(ta(r, a, ht), r + "");
1213
1213
  }
1214
1214
  var Lt = Cr ? function(r, a) {
1215
1215
  return Cr(r, "toString", {
@@ -1218,7 +1218,7 @@ ye.exports;
1218
1218
  value: ca(a),
1219
1219
  writable: !0
1220
1220
  });
1221
- } : gt;
1221
+ } : ht;
1222
1222
  function Gt(r, a) {
1223
1223
  if (a)
1224
1224
  return r.slice();
@@ -1244,7 +1244,7 @@ ye.exports;
1244
1244
  i || (i = {});
1245
1245
  for (var I = -1, P = a.length; ++I < P; ) {
1246
1246
  var m = a[I], $ = c ? c(i[m], r[m], m, i, r) : void 0;
1247
- $ === void 0 && ($ = r[m]), y ? Ge(i, m, $) : fe(i, m, $);
1247
+ $ === void 0 && ($ = r[m]), y ? He(i, m, $) : pe(i, m, $);
1248
1248
  }
1249
1249
  return i;
1250
1250
  }
@@ -1268,13 +1268,13 @@ ye.exports;
1268
1268
  return a;
1269
1269
  };
1270
1270
  }
1271
- function ge(r, a) {
1271
+ function he(r, a) {
1272
1272
  var i = r.__data__;
1273
1273
  return Zt(a) ? i[typeof a == "string" ? "string" : "hash"] : i.map;
1274
1274
  }
1275
- function He(r, a) {
1275
+ function Ye(r, a) {
1276
1276
  var i = _r(r, a);
1277
- return zt(i) ? i : void 0;
1277
+ return Dt(i) ? i : void 0;
1278
1278
  }
1279
1279
  function qt(r) {
1280
1280
  var a = J.call(r, ir), i = r[ir];
@@ -1287,26 +1287,26 @@ ye.exports;
1287
1287
  return c && (a ? r[ir] = i : delete r[ir]), y;
1288
1288
  }
1289
1289
  function Kt(r) {
1290
- return typeof r.constructor == "function" && !dt(r) ? Dr(oe(r)) : {};
1290
+ return typeof r.constructor == "function" && !ct(r) ? zr(ie(r)) : {};
1291
1291
  }
1292
- function lt(r, a) {
1292
+ function dt(r, a) {
1293
1293
  var i = typeof r;
1294
- return a = a ?? E, !!a && (i == "number" || i != "symbol" && Zr.test(r)) && r > -1 && r % 1 == 0 && r < a;
1294
+ return a = a ?? E, !!a && (i == "number" || i != "symbol" && Qr.test(r)) && r > -1 && r % 1 == 0 && r < a;
1295
1295
  }
1296
1296
  function Jt(r, a, i) {
1297
1297
  if (!yr(i))
1298
1298
  return !1;
1299
1299
  var c = typeof a;
1300
- return (c == "number" ? Ve(i) && lt(a, i.length) : c == "string" && a in i) ? he(i[a], r) : !1;
1300
+ return (c == "number" ? Xe(i) && dt(a, i.length) : c == "string" && a in i) ? be(i[a], r) : !1;
1301
1301
  }
1302
1302
  function Zt(r) {
1303
1303
  var a = typeof r;
1304
1304
  return a == "string" || a == "number" || a == "symbol" || a == "boolean" ? r !== "__proto__" : r === null;
1305
1305
  }
1306
1306
  function Qt(r) {
1307
- return !!ae && ae in r;
1307
+ return !!ne && ne in r;
1308
1308
  }
1309
- function dt(r) {
1309
+ function ct(r) {
1310
1310
  var a = r && r.constructor, i = typeof a == "function" && a.prototype || Tr;
1311
1311
  return r === i;
1312
1312
  }
@@ -1327,10 +1327,10 @@ ye.exports;
1327
1327
  y = -1;
1328
1328
  for (var m = Array(a + 1); ++y < a; )
1329
1329
  m[y] = c[y];
1330
- return m[a] = i(P), Be(r, this, m);
1330
+ return m[a] = i(P), Oe(r, this, m);
1331
1331
  };
1332
1332
  }
1333
- function Ye(r, a) {
1333
+ function Ne(r, a) {
1334
1334
  if (!(a === "constructor" && typeof r[a] == "function") && a != "__proto__")
1335
1335
  return r[a];
1336
1336
  }
@@ -1338,7 +1338,7 @@ ye.exports;
1338
1338
  function na(r) {
1339
1339
  var a = 0, i = 0;
1340
1340
  return function() {
1341
- var c = se(), y = S - (c - i);
1341
+ var c = le(), y = S - (c - i);
1342
1342
  if (i = c, y > 0) {
1343
1343
  if (++a >= p)
1344
1344
  return arguments[0];
@@ -1360,90 +1360,90 @@ ye.exports;
1360
1360
  }
1361
1361
  return "";
1362
1362
  }
1363
- function he(r, a) {
1363
+ function be(r, a) {
1364
1364
  return r === a || r !== r && a !== a;
1365
1365
  }
1366
- var Ne = it(/* @__PURE__ */ function() {
1366
+ var Ue = st(/* @__PURE__ */ function() {
1367
1367
  return arguments;
1368
- }()) ? it : function(r) {
1369
- return zr(r) && J.call(r, "callee") && !Pe.call(r, "callee");
1370
- }, Ue = Array.isArray;
1371
- function Ve(r) {
1372
- return r != null && ut(r.length) && !Xe(r);
1368
+ }()) ? st : function(r) {
1369
+ return Dr(r) && J.call(r, "callee") && !$e.call(r, "callee");
1370
+ }, Ve = Array.isArray;
1371
+ function Xe(r) {
1372
+ return r != null && ft(r.length) && !qe(r);
1373
1373
  }
1374
1374
  function ia(r) {
1375
- return zr(r) && Ve(r);
1375
+ return Dr(r) && Xe(r);
1376
1376
  }
1377
- var ct = De || ua;
1378
- function Xe(r) {
1377
+ var ut = De || ua;
1378
+ function qe(r) {
1379
1379
  if (!yr(r))
1380
1380
  return !1;
1381
- var a = pe(r);
1382
- return a == G || a == cr || a == z || a == ke;
1381
+ var a = ge(r);
1382
+ return a == G || a == cr || a == D || a == _e;
1383
1383
  }
1384
- function ut(r) {
1384
+ function ft(r) {
1385
1385
  return typeof r == "number" && r > -1 && r % 1 == 0 && r <= E;
1386
1386
  }
1387
1387
  function yr(r) {
1388
1388
  var a = typeof r;
1389
1389
  return r != null && (a == "object" || a == "function");
1390
1390
  }
1391
- function zr(r) {
1391
+ function Dr(r) {
1392
1392
  return r != null && typeof r == "object";
1393
1393
  }
1394
1394
  function sa(r) {
1395
- if (!zr(r) || pe(r) != A)
1395
+ if (!Dr(r) || ge(r) != A)
1396
1396
  return !1;
1397
- var a = oe(r);
1397
+ var a = ie(r);
1398
1398
  if (a === null)
1399
1399
  return !0;
1400
1400
  var i = J.call(a, "constructor") && a.constructor;
1401
- return typeof i == "function" && i instanceof i && gr.call(i) == ne;
1401
+ return typeof i == "function" && i instanceof i && gr.call(i) == oe;
1402
1402
  }
1403
- var ft = Ir ? kr(Ir) : Mt;
1403
+ var pt = Ir ? kr(Ir) : Mt;
1404
1404
  function la(r) {
1405
- return Ut(r, pt(r));
1405
+ return Ut(r, gt(r));
1406
1406
  }
1407
- function pt(r) {
1408
- return Ve(r) ? H(r, !0) : jt(r);
1407
+ function gt(r) {
1408
+ return Xe(r) ? H(r, !0) : jt(r);
1409
1409
  }
1410
1410
  var da = Vt(function(r, a, i, c) {
1411
- st(r, a, i, c);
1411
+ lt(r, a, i, c);
1412
1412
  });
1413
1413
  function ca(r) {
1414
1414
  return function() {
1415
1415
  return r;
1416
1416
  };
1417
1417
  }
1418
- function gt(r) {
1418
+ function ht(r) {
1419
1419
  return r;
1420
1420
  }
1421
1421
  function ua() {
1422
1422
  return !1;
1423
1423
  }
1424
1424
  e.exports = da;
1425
- })(ye, ye.exports);
1426
- var Da = ye.exports;
1427
- const za = /* @__PURE__ */ _a(Da);
1428
- var Ma = (e) => /!(important)?$/.test(e), yt = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, ja = (e, o) => (l) => {
1429
- const u = String(o), p = Ma(u), S = yt(u), E = e ? `${e}.${S}` : S;
1430
- let w = Et(l.__cssMap) && E in l.__cssMap ? l.__cssMap[E].varRef : o;
1431
- return w = yt(w), p ? `${w} !important` : w;
1425
+ })(Se, Se.exports);
1426
+ var za = Se.exports;
1427
+ const Da = /* @__PURE__ */ _a(za);
1428
+ var Ma = (e) => /!(important)?$/.test(e), St = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, ja = (e, o) => (l) => {
1429
+ const u = String(o), p = Ma(u), S = St(u), E = e ? `${e}.${S}` : S;
1430
+ let w = Ct(l.__cssMap) && E in l.__cssMap ? l.__cssMap[E].varRef : o;
1431
+ return w = St(w), p ? `${w} !important` : w;
1432
1432
  };
1433
- function ot(e) {
1433
+ function it(e) {
1434
1434
  const { scale: o, transform: l, compose: u } = e;
1435
1435
  return (S, E) => {
1436
1436
  var w;
1437
1437
  const g = ja(o, S)(E);
1438
- let z = (w = l == null ? void 0 : l(g, E)) != null ? w : g;
1439
- return u && (z = u(z, E)), z;
1438
+ let D = (w = l == null ? void 0 : l(g, E)) != null ? w : g;
1439
+ return u && (D = u(D, E)), D;
1440
1440
  };
1441
1441
  }
1442
- var me = (...e) => (o) => e.reduce((l, u) => u(l), o);
1442
+ var ve = (...e) => (o) => e.reduce((l, u) => u(l), o);
1443
1443
  function V(e, o) {
1444
1444
  return (l) => {
1445
1445
  const u = { property: l, scale: e };
1446
- return u.transform = ot({
1446
+ return u.transform = it({
1447
1447
  scale: e,
1448
1448
  transform: o
1449
1449
  }), u;
@@ -1455,13 +1455,13 @@ function Wa(e) {
1455
1455
  return {
1456
1456
  scale: l,
1457
1457
  property: Aa(o),
1458
- transform: l ? ot({
1458
+ transform: l ? it({
1459
1459
  scale: l,
1460
1460
  compose: u
1461
1461
  }) : u
1462
1462
  };
1463
1463
  }
1464
- var Ct = [
1464
+ var Ft = [
1465
1465
  "rotate(var(--chakra-rotate, 0))",
1466
1466
  "scaleX(var(--chakra-scale-x, 1))",
1467
1467
  "scaleY(var(--chakra-scale-y, 1))",
@@ -1472,13 +1472,13 @@ function La() {
1472
1472
  return [
1473
1473
  "translateX(var(--chakra-translate-x, 0))",
1474
1474
  "translateY(var(--chakra-translate-y, 0))",
1475
- ...Ct
1475
+ ...Ft
1476
1476
  ].join(" ");
1477
1477
  }
1478
1478
  function Ga() {
1479
1479
  return [
1480
1480
  "translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",
1481
- ...Ct
1481
+ ...Ft
1482
1482
  ].join(" ");
1483
1483
  }
1484
1484
  var Ha = {
@@ -1545,7 +1545,7 @@ var Ua = {
1545
1545
  space: "--chakra-space-y-reverse",
1546
1546
  divide: "--chakra-divide-y-reverse"
1547
1547
  }
1548
- }, Qe = {
1548
+ }, rt = {
1549
1549
  "to-t": "to top",
1550
1550
  "to-tr": "to top right",
1551
1551
  "to-r": "to right",
@@ -1554,7 +1554,7 @@ var Ua = {
1554
1554
  "to-bl": "to bottom left",
1555
1555
  "to-l": "to left",
1556
1556
  "to-tl": "to top left"
1557
- }, Va = new Set(Object.values(Qe)), rt = /* @__PURE__ */ new Set([
1557
+ }, Va = new Set(Object.values(rt)), et = /* @__PURE__ */ new Set([
1558
1558
  "none",
1559
1559
  "-moz-initial",
1560
1560
  "inherit",
@@ -1563,22 +1563,22 @@ var Ua = {
1563
1563
  "unset"
1564
1564
  ]), Xa = (e) => e.trim();
1565
1565
  function qa(e, o) {
1566
- if (e == null || rt.has(e))
1566
+ if (e == null || et.has(e))
1567
1567
  return e;
1568
- if (!(et(e) || rt.has(e)))
1568
+ if (!(tt(e) || et.has(e)))
1569
1569
  return `url('${e}')`;
1570
1570
  const p = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), S = p == null ? void 0 : p[1], E = p == null ? void 0 : p[2];
1571
1571
  if (!S || !E)
1572
1572
  return e;
1573
- const w = S.includes("-gradient") ? S : `${S}-gradient`, [g, ...z] = E.split(",").map(Xa).filter(Boolean);
1574
- if ((z == null ? void 0 : z.length) === 0)
1573
+ const w = S.includes("-gradient") ? S : `${S}-gradient`, [g, ...D] = E.split(",").map(Xa).filter(Boolean);
1574
+ if ((D == null ? void 0 : D.length) === 0)
1575
1575
  return e;
1576
- const T = g in Qe ? Qe[g] : g;
1577
- z.unshift(T);
1578
- const B = z.map((j) => {
1576
+ const T = g in rt ? rt[g] : g;
1577
+ D.unshift(T);
1578
+ const B = D.map((j) => {
1579
1579
  if (Va.has(j))
1580
1580
  return j;
1581
- const G = j.indexOf(" "), [cr, ur] = G !== -1 ? [j.substr(0, G), j.substr(G + 1)] : [j], fr = et(ur) ? ur : ur && ur.split(" "), q = `colors.${cr}`, A = q in o.__cssMap ? o.__cssMap[q].varRef : cr;
1581
+ const G = j.indexOf(" "), [cr, ur] = G !== -1 ? [j.substr(0, G), j.substr(G + 1)] : [j], fr = tt(ur) ? ur : ur && ur.split(" "), q = `colors.${cr}`, A = q in o.__cssMap ? o.__cssMap[q].varRef : cr;
1582
1582
  return fr ? [
1583
1583
  A,
1584
1584
  ...Array.isArray(fr) ? fr : [fr]
@@ -1586,7 +1586,7 @@ function qa(e, o) {
1586
1586
  });
1587
1587
  return `${w}(${B.join(", ")})`;
1588
1588
  }
1589
- var et = (e) => typeof e == "string" && e.includes("(") && e.includes(")"), Ka = (e, o) => qa(e, o ?? {});
1589
+ var tt = (e) => typeof e == "string" && e.includes("(") && e.includes(")"), Ka = (e, o) => qa(e, o ?? {});
1590
1590
  function Ja(e) {
1591
1591
  return /^var\(--.+\)$/.test(e);
1592
1592
  }
@@ -1643,7 +1643,7 @@ var Za = (e) => {
1643
1643
  saturate: tr("saturate"),
1644
1644
  sepia: tr("sepia"),
1645
1645
  bgImage(e) {
1646
- return e == null || et(e) || rt.has(e) ? e : `url(${e})`;
1646
+ return e == null || tt(e) || et.has(e) ? e : `url(${e})`;
1647
1647
  },
1648
1648
  outline(e) {
1649
1649
  const o = String(e) === "0" || String(e) === "none";
@@ -1661,8 +1661,8 @@ var Za = (e) => {
1661
1661
  borders: V("borders"),
1662
1662
  gradients: V("gradients", k.gradient),
1663
1663
  radii: V("radii", k.px),
1664
- space: V("space", me(k.vh, k.px)),
1665
- spaceT: V("space", me(k.vh, k.px)),
1664
+ space: V("space", ve(k.vh, k.px)),
1665
+ spaceT: V("space", ve(k.vh, k.px)),
1666
1666
  degreeT(e) {
1667
1667
  return { property: e, transform: k.degree };
1668
1668
  },
@@ -1671,19 +1671,19 @@ var Za = (e) => {
1671
1671
  property: e,
1672
1672
  scale: o,
1673
1673
  ...o && {
1674
- transform: ot({ scale: o, transform: l })
1674
+ transform: it({ scale: o, transform: l })
1675
1675
  }
1676
1676
  };
1677
1677
  },
1678
1678
  propT(e, o) {
1679
1679
  return { property: e, transform: o };
1680
1680
  },
1681
- sizes: V("sizes", me(k.vh, k.px)),
1682
- sizesT: V("sizes", me(k.vh, k.fraction)),
1681
+ sizes: V("sizes", ve(k.vh, k.px)),
1682
+ sizesT: V("sizes", ve(k.vh, k.fraction)),
1683
1683
  shadows: V("shadows"),
1684
1684
  logical: Wa,
1685
1685
  blur: V("blur", k.blur)
1686
- }, ve = {
1686
+ }, ye = {
1687
1687
  background: n.colors("background"),
1688
1688
  backgroundColor: n.colors("backgroundColor"),
1689
1689
  backgroundImage: n.gradients("backgroundImage"),
@@ -1702,9 +1702,9 @@ var Za = (e) => {
1702
1702
  bgGradient: n.gradients("backgroundImage"),
1703
1703
  bgClip: { transform: k.bgClip }
1704
1704
  };
1705
- Object.assign(ve, {
1706
- bgImage: ve.backgroundImage,
1707
- bgImg: ve.backgroundImage
1705
+ Object.assign(ye, {
1706
+ bgImage: ye.backgroundImage,
1707
+ bgImg: ye.backgroundImage
1708
1708
  });
1709
1709
  var _ = {
1710
1710
  border: n.borders("border"),
@@ -1844,7 +1844,7 @@ var Qa = {
1844
1844
  textColor: n.colors("color"),
1845
1845
  fill: n.colors("fill"),
1846
1846
  stroke: n.colors("stroke")
1847
- }, tt = {
1847
+ }, at = {
1848
1848
  boxShadow: n.shadows("boxShadow"),
1849
1849
  mixBlendMode: !0,
1850
1850
  blendMode: n.prop("mixBlendMode"),
@@ -1852,8 +1852,8 @@ var Qa = {
1852
1852
  bgBlendMode: n.prop("backgroundBlendMode"),
1853
1853
  opacity: !0
1854
1854
  };
1855
- Object.assign(tt, {
1856
- shadow: tt.boxShadow
1855
+ Object.assign(at, {
1856
+ shadow: at.boxShadow
1857
1857
  });
1858
1858
  var rn = {
1859
1859
  filter: { transform: k.filter },
@@ -1874,7 +1874,7 @@ var rn = {
1874
1874
  backdropHueRotate: n.degreeT("--chakra-backdrop-hue-rotate"),
1875
1875
  backdropInvert: n.propT("--chakra-backdrop-invert", k.invert),
1876
1876
  backdropSaturate: n.propT("--chakra-backdrop-saturate", k.saturate)
1877
- }, Se = {
1877
+ }, xe = {
1878
1878
  alignItems: !0,
1879
1879
  alignContent: !0,
1880
1880
  justifyItems: !0,
@@ -1896,10 +1896,10 @@ var rn = {
1896
1896
  rowGap: n.space("rowGap"),
1897
1897
  columnGap: n.space("columnGap")
1898
1898
  };
1899
- Object.assign(Se, {
1900
- flexDir: Se.flexDirection
1899
+ Object.assign(xe, {
1900
+ flexDir: xe.flexDirection
1901
1901
  });
1902
- var Ft = {
1902
+ var It = {
1903
1903
  gridGap: n.space("gridGap"),
1904
1904
  gridColumnGap: n.space("gridColumnGap"),
1905
1905
  gridRowGap: n.space("gridRowGap"),
@@ -2026,7 +2026,7 @@ var nn = (e) => {
2026
2026
  margin: "0",
2027
2027
  overflow: "visible",
2028
2028
  whiteSpace: "normal"
2029
- }, Je = (e, o, l) => {
2029
+ }, Ze = (e, o, l) => {
2030
2030
  const u = {}, p = on(e, o, {});
2031
2031
  for (const S in p)
2032
2032
  S in l && l[S] != null || (u[S] = p[S]);
@@ -2039,15 +2039,15 @@ var nn = (e) => {
2039
2039
  },
2040
2040
  layerStyle: {
2041
2041
  processResult: !0,
2042
- transform: (e, o, l) => Je(o, `layerStyles.${e}`, l)
2042
+ transform: (e, o, l) => Ze(o, `layerStyles.${e}`, l)
2043
2043
  },
2044
2044
  textStyle: {
2045
2045
  processResult: !0,
2046
- transform: (e, o, l) => Je(o, `textStyles.${e}`, l)
2046
+ transform: (e, o, l) => Ze(o, `textStyles.${e}`, l)
2047
2047
  },
2048
2048
  apply: {
2049
2049
  processResult: !0,
2050
- transform: (e, o, l) => Je(o, e, l)
2050
+ transform: (e, o, l) => Ze(o, e, l)
2051
2051
  }
2052
2052
  }, Lr = {
2053
2053
  position: !0,
@@ -2221,27 +2221,27 @@ var un = {
2221
2221
  scrollPaddingX: n.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]),
2222
2222
  scrollPaddingY: n.spaceT(["scrollPaddingTop", "scrollPaddingBottom"])
2223
2223
  };
2224
- function It(e) {
2225
- return Et(e) && e.reference ? e.reference : String(e);
2224
+ function Bt(e) {
2225
+ return Ct(e) && e.reference ? e.reference : String(e);
2226
2226
  }
2227
- var xe = (e, ...o) => o.map(It).join(` ${e} `).replace(/calc/g, ""), St = (...e) => `calc(${xe("+", ...e)})`, xt = (...e) => `calc(${xe("-", ...e)})`, at = (...e) => `calc(${xe("*", ...e)})`, kt = (...e) => `calc(${xe("/", ...e)})`, _t = (e) => {
2228
- const o = It(e);
2229
- return o != null && !Number.isNaN(parseFloat(o)) ? String(o).startsWith("-") ? String(o).slice(1) : `-${o}` : at(o, -1);
2227
+ var ke = (e, ...o) => o.map(Bt).join(` ${e} `).replace(/calc/g, ""), xt = (...e) => `calc(${ke("+", ...e)})`, kt = (...e) => `calc(${ke("-", ...e)})`, nt = (...e) => `calc(${ke("*", ...e)})`, _t = (...e) => `calc(${ke("/", ...e)})`, wt = (e) => {
2228
+ const o = Bt(e);
2229
+ return o != null && !Number.isNaN(parseFloat(o)) ? String(o).startsWith("-") ? String(o).slice(1) : `-${o}` : nt(o, -1);
2230
2230
  }, Wr = Object.assign(
2231
2231
  (e) => ({
2232
- add: (...o) => Wr(St(e, ...o)),
2233
- subtract: (...o) => Wr(xt(e, ...o)),
2234
- multiply: (...o) => Wr(at(e, ...o)),
2235
- divide: (...o) => Wr(kt(e, ...o)),
2236
- negate: () => Wr(_t(e)),
2232
+ add: (...o) => Wr(xt(e, ...o)),
2233
+ subtract: (...o) => Wr(kt(e, ...o)),
2234
+ multiply: (...o) => Wr(nt(e, ...o)),
2235
+ divide: (...o) => Wr(_t(e, ...o)),
2236
+ negate: () => Wr(wt(e)),
2237
2237
  toString: () => e.toString()
2238
2238
  }),
2239
2239
  {
2240
- add: St,
2241
- subtract: xt,
2242
- multiply: at,
2243
- divide: kt,
2244
- negate: _t
2240
+ add: xt,
2241
+ subtract: kt,
2242
+ multiply: nt,
2243
+ divide: _t,
2244
+ negate: wt
2245
2245
  }
2246
2246
  ), L = {
2247
2247
  hover: (e, o) => `${e}:hover ${o}, ${e}[data-hover] ${o}`,
@@ -2256,7 +2256,7 @@ var xe = (e, ...o) => o.map(It).join(` ${e} `).replace(/calc/g, ""), St = (...e)
2256
2256
  readOnly: (e, o) => `${e}:read-only ${o}, ${e}[readonly] ${o}, ${e}[data-read-only] ${o}`,
2257
2257
  expanded: (e, o) => `${e}:read-only ${o}, ${e}[aria-expanded=true] ${o}, ${e}[data-expanded] ${o}`,
2258
2258
  placeholderShown: (e, o) => `${e}:placeholder-shown ${o}`
2259
- }, br = (e) => Bt((o) => e(o, "&"), "[role=group]", "[data-group]", ".group"), dr = (e) => Bt((o) => e(o, "~ &"), "[data-peer]", ".peer"), Bt = (e, ...o) => o.map(e).join(", "), Ot = {
2259
+ }, br = (e) => Ot((o) => e(o, "&"), "[role=group]", "[data-group]", ".group"), dr = (e) => Ot((o) => e(o, "~ &"), "[data-peer]", ".peer"), Ot = (e, ...o) => o.map(e).join(", "), Pt = {
2260
2260
  _hover: "&:hover, &[data-hover]",
2261
2261
  _active: "&:active, &[data-active]",
2262
2262
  _focus: "&:focus, &[data-focus]",
@@ -2319,21 +2319,21 @@ var xe = (e, ...o) => o.map(It).join(` ${e} `).replace(/calc/g, ""), St = (...e)
2319
2319
  _horizontal: "&[data-orientation=horizontal]",
2320
2320
  _vertical: "&[data-orientation=vertical]"
2321
2321
  }, bn = Object.keys(
2322
- Ot
2323
- ), Pt = za(
2322
+ Pt
2323
+ ), $t = Da(
2324
2324
  {},
2325
- ve,
2325
+ ye,
2326
2326
  _,
2327
2327
  Qa,
2328
- Se,
2328
+ xe,
2329
2329
  X,
2330
2330
  rn,
2331
2331
  cn,
2332
2332
  en,
2333
- Ft,
2333
+ It,
2334
2334
  dn,
2335
2335
  Lr,
2336
- tt,
2336
+ at,
2337
2337
  O,
2338
2338
  hn,
2339
2339
  gn,
@@ -2342,10 +2342,10 @@ var xe = (e, ...o) => o.map(It).join(` ${e} `).replace(/calc/g, ""), St = (...e)
2342
2342
  tn,
2343
2343
  pn
2344
2344
  );
2345
- Object.assign({}, O, X, Se, Ft, Lr);
2346
- [...Object.keys(Pt), ...bn];
2347
- ({ ...Pt, ...Ot });
2348
- function $t(e) {
2345
+ Object.assign({}, O, X, xe, It, Lr);
2346
+ [...Object.keys($t), ...bn];
2347
+ ({ ...$t, ...Pt });
2348
+ function Yr(e) {
2349
2349
  return {
2350
2350
  definePartsStyle(o) {
2351
2351
  return o;
@@ -2355,7 +2355,7 @@ function $t(e) {
2355
2355
  }
2356
2356
  };
2357
2357
  }
2358
- const mn = $t([
2358
+ const mn = Yr([
2359
2359
  "button",
2360
2360
  "list",
2361
2361
  "item",
@@ -2449,128 +2449,45 @@ const mn = $t([
2449
2449
  defaultProps: {
2450
2450
  size: "md"
2451
2451
  }
2452
- }), yn = Gr({
2452
+ }), yn = Yr(["addon", "field", "element"]), Sn = yn.defineMultiStyleConfig({
2453
2453
  baseStyle: {
2454
- color: "viridian.base",
2455
- fontWeight: "normal",
2456
- _hover: {
2457
- textDecoration: "underline",
2458
- cursor: "pointer"
2459
- }
2460
- },
2461
- variants: {},
2462
- sizes: {
2463
- sm: {
2464
- fontSize: ["xs", "sm"],
2465
- lineHeight: "150%"
2466
- },
2467
- md: {
2468
- fontSize: ["sm", "md"],
2469
- lineHeight: "150%"
2470
- },
2471
- lg: {
2472
- fontSize: ["md", "lg"],
2473
- lineHeight: "150%"
2474
- }
2475
- },
2476
- // The default size and variant values
2477
- defaultProps: {
2478
- size: "md"
2479
- }
2480
- }), Sn = Gr({
2481
- baseStyle: {
2482
- fontFamily: "heading",
2483
- fontWeight: "normal",
2484
- color: "tints.black"
2485
- },
2486
- sizes: {
2487
- "3xl": {
2488
- // Home header
2489
- fontSize: ["6xl", "11xl"],
2490
- lineHeight: "shorter"
2491
- },
2492
- "2xl": {
2493
- // Section header
2494
- fontSize: ["6xl", "9xl"],
2495
- lineHeight: "shorter"
2496
- },
2497
- xl: {
2498
- // Product header
2499
- fontSize: ["4xl", "7xl"],
2500
- lineHeight: "shorter"
2501
- },
2502
- lg: {
2503
- // Large title
2504
- fontFamily: "body",
2454
+ field: {
2505
2455
  fontWeight: "medium",
2506
- fontSize: ["3xl", "6xl"],
2507
- lineHeight: "short"
2508
- },
2509
- md: {
2510
- // Medium title
2511
- fontFamily: "body",
2512
- fontWeight: "medium",
2513
- fontSize: ["2xl", "4xl"],
2514
- lineHeight: "short"
2515
- },
2516
- sm: {
2517
- // Small title
2518
- fontFamily: "body",
2519
- fontWeight: "medium",
2520
- fontSize: ["lg", "3xl"],
2521
- lineHeight: "140%"
2522
- }
2523
- },
2524
- defaultProps: {
2525
- size: "md"
2526
- }
2527
- }), xn = Gr({
2528
- baseStyle: {
2529
- fontFamily: "body",
2530
- fontWeight: "normal",
2531
- lineHeight: "base",
2532
- letterSpacing: "normal",
2533
- fontSize: "md",
2534
- p: 0
2535
- },
2536
- sizes: {
2537
- xs: {
2538
- fontSize: ["2xs", "xs"]
2539
- },
2540
- sm: {
2541
- fontSize: ["xs", "sm"]
2542
- },
2543
- md: {
2544
- fontSize: ["sm", "md"]
2545
- },
2546
- lg: {
2547
- fontSize: ["md", "lg"]
2548
- },
2549
- xl: {
2550
- fontSize: ["lg", "2xl"],
2551
- lineHeight: ["short", "shorter"]
2552
- }
2553
- },
2554
- defaultProps: {
2555
- size: "lg"
2556
- }
2557
- }), kn = Gr({
2558
- baseStyle: {},
2559
- sizes: {
2560
- sm: {
2561
- fontSize: "1rem"
2562
- },
2563
- md: {
2564
- fontSize: "1.5rem"
2456
+ fontSize: ["md", "lg"],
2457
+ bg: "tints.white",
2458
+ color: "tints.black",
2459
+ px: 4,
2460
+ borderStyle: "solid ",
2461
+ borderWidth: "1.5px",
2462
+ borderColor: "tints.uiGrey",
2463
+ borderRadius: "8px",
2464
+ w: "100%",
2465
+ h: ["44px", "52px"],
2466
+ // <-- the height is necessary in Chakra to calculate the spacing for left and right icons
2467
+ ":focus, &.focus": {
2468
+ borderColor: "viridian.base",
2469
+ outline: "none"
2470
+ },
2471
+ _disabled: {
2472
+ borderColor: "tints.lightGrey",
2473
+ color: "tints.medGrey"
2474
+ },
2475
+ _placeholder: {
2476
+ color: "tints.uiGrey"
2477
+ },
2478
+ _invalid: {
2479
+ borderColor: "utility.warning"
2480
+ }
2565
2481
  },
2566
- lg: {
2567
- fontSize: "2rem"
2482
+ element: {
2483
+ px: 4,
2484
+ py: 2,
2485
+ color: "tints.uiGrey"
2568
2486
  }
2569
2487
  },
2488
+ sizes: {},
2570
2489
  variants: {},
2571
- defaultProps: {
2572
- size: "md"
2573
- }
2490
+ defaultProps: {}
2574
2491
  });
2575
2492
  function R(e, o = {}) {
2576
2493
  let l = !1;
@@ -2631,18 +2548,17 @@ R("breadcrumb").parts("link", "item", "container").extend("separator");
2631
2548
  R("button").parts();
2632
2549
  R("checkbox").parts("control", "icon", "container").extend("label");
2633
2550
  R("progress").parts("track", "filledTrack").extend("label");
2634
- var _n = R("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
2551
+ var xn = R("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
2635
2552
  R("editable").parts(
2636
2553
  "preview",
2637
2554
  "input",
2638
2555
  "textarea"
2639
2556
  );
2640
- R("form").parts(
2557
+ var kn = R("form").parts(
2641
2558
  "container",
2642
2559
  "requiredIndicator",
2643
2560
  "helperText"
2644
- );
2645
- R("formError").parts("text", "icon");
2561
+ ), _n = R("formError").parts("text", "icon");
2646
2562
  R("input").parts(
2647
2563
  "addon",
2648
2564
  "field",
@@ -2719,20 +2635,187 @@ R("card").parts(
2719
2635
  "body",
2720
2636
  "footer"
2721
2637
  );
2722
- const { defineMultiStyleConfig: wn, definePartsStyle: nt } = $t(_n.keys), Tn = {
2723
- partial: nt({
2638
+ const { defineMultiStyleConfig: wn, definePartsStyle: Tn } = Yr(kn.keys), Rn = wn({
2639
+ baseStyle: Tn({
2640
+ container: {
2641
+ width: "100%",
2642
+ position: "relative",
2643
+ display: "flex",
2644
+ flexDirection: "column",
2645
+ gap: 2
2646
+ },
2647
+ requiredIndicator: {
2648
+ color: "utility.warning"
2649
+ },
2650
+ helperText: {
2651
+ _dark: {},
2652
+ color: "tints.darkGrey",
2653
+ fontSize: ["sm", "md"]
2654
+ }
2655
+ }),
2656
+ sizes: {},
2657
+ variants: {},
2658
+ defaultProps: {}
2659
+ }), { defineMultiStyleConfig: En, definePartsStyle: Cn } = Yr(_n.keys), Fn = En({
2660
+ baseStyle: Cn({
2661
+ text: {
2662
+ color: "utility.warning",
2663
+ fontSize: ["sm", "md"]
2664
+ },
2665
+ icon: {
2666
+ color: "utility.warning",
2667
+ height: "0.5em",
2668
+ width: "0.5em",
2669
+ mr: 1
2670
+ }
2671
+ })
2672
+ }), In = {
2673
+ fontSize: ["sm", "md"],
2674
+ color: "tints.black",
2675
+ transitionProperty: "common",
2676
+ transitionDuration: "normal",
2677
+ opacity: 1,
2678
+ _disabled: {
2679
+ opacity: 0.4
2680
+ }
2681
+ }, Bn = {
2682
+ baseStyle: In
2683
+ }, On = Gr({
2684
+ baseStyle: {
2685
+ color: "viridian.base",
2686
+ fontWeight: "normal",
2687
+ _hover: {
2688
+ textDecoration: "underline",
2689
+ cursor: "pointer"
2690
+ }
2691
+ },
2692
+ variants: {},
2693
+ sizes: {
2694
+ sm: {
2695
+ fontSize: ["xs", "sm"],
2696
+ lineHeight: "150%"
2697
+ },
2698
+ md: {
2699
+ fontSize: ["sm", "md"],
2700
+ lineHeight: "150%"
2701
+ },
2702
+ lg: {
2703
+ fontSize: ["md", "lg"],
2704
+ lineHeight: "150%"
2705
+ }
2706
+ },
2707
+ // The default size and variant values
2708
+ defaultProps: {
2709
+ size: "md"
2710
+ }
2711
+ }), Pn = Gr({
2712
+ baseStyle: {
2713
+ fontFamily: "heading",
2714
+ fontWeight: "normal",
2715
+ color: "tints.black"
2716
+ },
2717
+ sizes: {
2718
+ "3xl": {
2719
+ // Home header
2720
+ fontSize: ["6xl", "11xl"],
2721
+ lineHeight: "shorter"
2722
+ },
2723
+ "2xl": {
2724
+ // Section header
2725
+ fontSize: ["6xl", "9xl"],
2726
+ lineHeight: "shorter"
2727
+ },
2728
+ xl: {
2729
+ // Product header
2730
+ fontSize: ["4xl", "7xl"],
2731
+ lineHeight: "shorter"
2732
+ },
2733
+ lg: {
2734
+ // Large title
2735
+ fontFamily: "body",
2736
+ fontWeight: "medium",
2737
+ fontSize: ["3xl", "6xl"],
2738
+ lineHeight: "short"
2739
+ },
2740
+ md: {
2741
+ // Medium title
2742
+ fontFamily: "body",
2743
+ fontWeight: "medium",
2744
+ fontSize: ["2xl", "4xl"],
2745
+ lineHeight: "short"
2746
+ },
2747
+ sm: {
2748
+ // Small title
2749
+ fontFamily: "body",
2750
+ fontWeight: "medium",
2751
+ fontSize: ["lg", "3xl"],
2752
+ lineHeight: "140%"
2753
+ }
2754
+ },
2755
+ defaultProps: {
2756
+ size: "md"
2757
+ }
2758
+ }), $n = Gr({
2759
+ baseStyle: {
2760
+ fontFamily: "body",
2761
+ fontWeight: "normal",
2762
+ lineHeight: "base",
2763
+ letterSpacing: "normal",
2764
+ fontSize: "md",
2765
+ p: 0
2766
+ },
2767
+ sizes: {
2768
+ xs: {
2769
+ fontSize: ["2xs", "xs"]
2770
+ },
2771
+ sm: {
2772
+ fontSize: ["xs", "sm"]
2773
+ },
2774
+ md: {
2775
+ fontSize: ["sm", "md"]
2776
+ },
2777
+ lg: {
2778
+ fontSize: ["md", "lg"]
2779
+ },
2780
+ xl: {
2781
+ fontSize: ["lg", "2xl"],
2782
+ lineHeight: ["short", "shorter"]
2783
+ }
2784
+ },
2785
+ defaultProps: {
2786
+ size: "lg"
2787
+ }
2788
+ }), zn = Gr({
2789
+ baseStyle: {},
2790
+ sizes: {
2791
+ sm: {
2792
+ fontSize: "1rem"
2793
+ },
2794
+ md: {
2795
+ fontSize: "1.5rem"
2796
+ },
2797
+ lg: {
2798
+ fontSize: "2rem"
2799
+ }
2800
+ },
2801
+ variants: {},
2802
+ defaultProps: {
2803
+ size: "md"
2804
+ }
2805
+ }), { defineMultiStyleConfig: Dn, definePartsStyle: ot } = Yr(xn.keys), Mn = {
2806
+ partial: ot({
2724
2807
  dialog: {
2725
2808
  maxW: 560
2726
2809
  }
2727
2810
  }),
2728
- full: nt({
2811
+ full: ot({
2729
2812
  dialog: {
2730
2813
  maxW: "100vw",
2731
2814
  minH: "100vh",
2732
2815
  borderRadius: 0
2733
2816
  }
2734
2817
  })
2735
- }, Rn = nt({
2818
+ }, jn = ot({
2736
2819
  overlay: {
2737
2820
  zIndex: "overlay",
2738
2821
  bg: (e) => `${e.colors.tints.black}66`
@@ -2776,13 +2859,13 @@ const { defineMultiStyleConfig: wn, definePartsStyle: nt } = $t(_n.keys), Tn = {
2776
2859
  py: 6,
2777
2860
  px: 8
2778
2861
  }
2779
- }), En = wn({
2780
- baseStyle: Rn,
2781
- sizes: Tn,
2862
+ }), An = Dn({
2863
+ baseStyle: jn,
2864
+ sizes: Mn,
2782
2865
  defaultProps: { size: "partial" }
2783
- }), Cn = {
2866
+ }), Wn = {
2784
2867
  // this will enable us to use white as a colorScheme
2785
- white: { ...Tt.colors.whiteAlpha, base: "#FFFFFF" },
2868
+ white: { ...Rt.colors.whiteAlpha, base: "#FFFFFF" },
2786
2869
  tints: {
2787
2870
  black: "#0F0F0F",
2788
2871
  darkGrey: "#545454",
@@ -2882,9 +2965,15 @@ const { defineMultiStyleConfig: wn, definePartsStyle: nt } = $t(_n.keys), Tn = {
2882
2965
  light: "#A1DDF5",
2883
2966
  lighter: "#CBECF9",
2884
2967
  wash: "#F5FBFE"
2885
- }
2886
- }, { semanticTokens: Mn, sizes: jn, space: An, ...Fn } = Tt, C = (e) => `${e / 16}rem`, In = (e) => e, Wn = In({
2887
- ...Fn,
2968
+ },
2969
+ utility: {
2970
+ warning: "#CC0F05",
2971
+ sale: "#EE574F",
2972
+ success: "#28724F",
2973
+ rating: "#F5A623"
2974
+ }
2975
+ }, { semanticTokens: qn, sizes: Kn, space: Jn, ...Ln } = Rt, C = (e) => `${e / 16}rem`, Gn = (e) => e, Zn = Gn({
2976
+ ...Ln,
2888
2977
  breakpoints: {
2889
2978
  // Chakra relies on the initial breakpoint being `base`
2890
2979
  base: "0em",
@@ -3010,48 +3099,55 @@ const { defineMultiStyleConfig: wn, definePartsStyle: nt } = $t(_n.keys), Tn = {
3010
3099
  toast: 1700,
3011
3100
  tooltip: 1800
3012
3101
  },
3013
- colors: Cn,
3102
+ colors: Wn,
3014
3103
  components: {
3015
3104
  Button: $a,
3016
- Drawer: En,
3017
- Heading: Sn,
3018
- Icon: kn,
3019
- Link: yn,
3020
- Text: xn,
3021
- Menu: vn
3105
+ Drawer: An,
3106
+ Heading: Pn,
3107
+ Icon: zn,
3108
+ Link: On,
3109
+ Text: $n,
3110
+ Menu: vn,
3111
+ Input: Sn,
3112
+ Form: Rn,
3113
+ // Not sure why chakra does not follow their naming convention for this theme, but this is the way that it works
3114
+ FormError: Fn,
3115
+ FormLabel: Bn
3022
3116
  }
3023
3117
  });
3024
3118
  export {
3025
- Hn as Box,
3026
- Yn as Button,
3027
- Nn as Drawer,
3028
- Un as DrawerBody,
3029
- Vn as DrawerCloseButton,
3030
- Xn as DrawerContent,
3031
- qn as DrawerFooter,
3032
- Kn as DrawerHeader,
3033
- Jn as DrawerOverlay,
3119
+ eo as Box,
3120
+ to as Button,
3121
+ ao as Drawer,
3122
+ no as DrawerBody,
3123
+ oo as DrawerCloseButton,
3124
+ io as DrawerContent,
3125
+ so as DrawerFooter,
3126
+ lo as DrawerHeader,
3127
+ co as DrawerOverlay,
3128
+ uo as FormControl,
3034
3129
  Ba as Grid,
3035
3130
  Oa as GridItem,
3036
- Zn as Heading,
3037
- Dn as Hide,
3131
+ fo as Heading,
3132
+ Vn as Hide,
3038
3133
  Fa as Icon,
3039
3134
  Ia as IconButton,
3040
- Qn as Link,
3041
- ro as Menu,
3042
- eo as MenuButton,
3043
- to as MenuCommand,
3044
- ao as MenuDivider,
3045
- no as MenuGroup,
3046
- oo as MenuItem,
3047
- io as MenuItemOption,
3048
- so as MenuList,
3049
- lo as MenuOptionGroup,
3050
- $n as Show,
3051
- co as Text,
3052
- zn as ThemeProvider,
3053
- uo as VisuallyHidden,
3054
- fo as extendTheme,
3055
- go as styled,
3056
- Wn as theme
3135
+ po as Input,
3136
+ go as Link,
3137
+ ho as Menu,
3138
+ bo as MenuButton,
3139
+ mo as MenuCommand,
3140
+ vo as MenuDivider,
3141
+ yo as MenuGroup,
3142
+ So as MenuItem,
3143
+ xo as MenuItemOption,
3144
+ ko as MenuList,
3145
+ _o as MenuOptionGroup,
3146
+ Un as Show,
3147
+ wo as Text,
3148
+ Xn as ThemeProvider,
3149
+ To as VisuallyHidden,
3150
+ Ro as extendTheme,
3151
+ Co as styled,
3152
+ Zn as theme
3057
3153
  };