@canaia/ui-kit 0.0.10-alpha.5 → 0.0.10-alpha.50

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.
Files changed (117) hide show
  1. package/dist/canaia-ui-kit.es.js +15633 -7828
  2. package/dist/canaia-ui-kit.umd.js +412 -0
  3. package/dist/index.d.ts +2 -16
  4. package/dist/src/components/Alert/customIso.d.ts +2 -0
  5. package/dist/src/components/Alert/index.d.ts +1 -0
  6. package/dist/src/components/AudioButtons/AudioButtons.d.ts +3 -0
  7. package/dist/src/components/AudioButtons/index.d.ts +2 -0
  8. package/dist/src/components/Card/Card.d.ts +3 -0
  9. package/dist/src/components/Card/index.d.ts +2 -0
  10. package/dist/src/components/ChatAssistant/ChatAssistant.d.ts +3 -0
  11. package/dist/src/components/ChatAssistant/index.d.ts +2 -0
  12. package/dist/src/components/ChatInput/ChatInput.d.ts +3 -0
  13. package/dist/src/components/ChatInput/index.d.ts +2 -0
  14. package/dist/src/components/ChatUser/ChatUser.d.ts +3 -0
  15. package/dist/src/components/ChatUser/index.d.ts +2 -0
  16. package/dist/src/components/CustomBox/CustomBox.d.ts +3 -0
  17. package/dist/src/components/CustomBox/index.d.ts +2 -0
  18. package/dist/src/components/Input/Input.d.ts +3 -0
  19. package/dist/src/components/Input/index.d.ts +2 -0
  20. package/dist/src/components/InputPhone.tsx/index.d.ts +2 -0
  21. package/dist/src/components/InputPhone.tsx/inputPhone.d.ts +3 -0
  22. package/dist/src/components/Metric/Metric.d.ts +3 -0
  23. package/dist/src/components/Metric/index.d.ts +2 -0
  24. package/dist/src/components/MultiInput/MultiInput.d.ts +3 -0
  25. package/dist/src/components/MultiInput/MultiInput.types.d.ts +14 -0
  26. package/dist/src/components/MultiInput/index.d.ts +2 -0
  27. package/dist/src/components/ProgressBar/CustomProgressBar.d.ts +3 -0
  28. package/dist/src/components/ProgressBar/index.d.ts +2 -0
  29. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +3 -0
  30. package/dist/src/components/SegmentedControl/index.d.ts +2 -0
  31. package/dist/src/components/Select/Select.d.ts +3 -0
  32. package/dist/src/components/Switch/Switch.d.ts +3 -0
  33. package/dist/src/components/Switch/index.d.ts +2 -0
  34. package/dist/src/components/Tabs/Tabs.d.ts +3 -0
  35. package/dist/src/components/Tabs/index.d.ts +2 -0
  36. package/dist/src/components/Tags/Tags.d.ts +3 -0
  37. package/dist/src/components/Tags/index.d.ts +2 -0
  38. package/dist/src/icons/RobotCanaia/RobotCanaia.d.ts +7 -0
  39. package/dist/src/index.d.ts +32 -0
  40. package/dist/style.css +1 -1
  41. package/package.json +3 -15
  42. package/dist/canaia-ui-kit.cjs.js +0 -381
  43. package/dist/components/Alert/index.d.ts +0 -0
  44. package/dist/components/Select/Select.d.ts +0 -3
  45. package/dist/main.d.ts +0 -2
  46. package/dist/theme/theme-export.d.ts +0 -1
  47. package/dist/theme-export-Ck_UwTIO.cjs +0 -15
  48. package/dist/theme-export-RiTLQHA0.js +0 -4222
  49. package/dist/theme.cjs.js +0 -1
  50. package/dist/theme.d.ts +0 -2
  51. package/dist/theme.es.js +0 -4
  52. /package/dist/{components → src/components}/Accordion/Accordion.d.ts +0 -0
  53. /package/dist/{components → src/components}/Accordion/index.d.ts +0 -0
  54. /package/dist/{components → src/components}/Alert/AlertCustom.d.ts +0 -0
  55. /package/dist/{components → src/components}/Button/Button.d.ts +0 -0
  56. /package/dist/{components → src/components}/Button/Button.utils.d.ts +0 -0
  57. /package/dist/{components → src/components}/Button/index.d.ts +0 -0
  58. /package/dist/{components → src/components}/DragAndDrop/DragAndDrop.d.ts +0 -0
  59. /package/dist/{components → src/components}/DragAndDrop/index.d.ts +0 -0
  60. /package/dist/{components → src/components}/Header/Header.d.ts +0 -0
  61. /package/dist/{components → src/components}/Header/Header.utils.d.ts +0 -0
  62. /package/dist/{components → src/components}/Header/LogoSelector.d.ts +0 -0
  63. /package/dist/{components → src/components}/Header/MenuContent.d.ts +0 -0
  64. /package/dist/{components → src/components}/Header/index.d.ts +0 -0
  65. /package/dist/{components → src/components}/MenuList/MenuList.d.ts +0 -0
  66. /package/dist/{components → src/components}/MenuList/index.d.ts +0 -0
  67. /package/dist/{components → src/components}/ModalCustom/ModalCustom.d.ts +0 -0
  68. /package/dist/{components → src/components}/ModalCustom/index.d.ts +0 -0
  69. /package/dist/{components → src/components}/PhotoUpload/PhotoUpload.d.ts +0 -0
  70. /package/dist/{components → src/components}/PhotoUpload/index.d.ts +0 -0
  71. /package/dist/{components → src/components}/Select/Select.styles.d.ts +0 -0
  72. /package/dist/{components → src/components}/Select/index.d.ts +0 -0
  73. /package/dist/{components → src/components}/SideBar/HoverableIcons.d.ts +0 -0
  74. /package/dist/{components → src/components}/SideBar/SideBar.d.ts +0 -0
  75. /package/dist/{components → src/components}/SideBar/customIcon/Chat.d.ts +0 -0
  76. /package/dist/{components → src/components}/SideBar/customIcon/Chat2.d.ts +0 -0
  77. /package/dist/{components → src/components}/SideBar/customIcon/Dashboard.d.ts +0 -0
  78. /package/dist/{components → src/components}/SideBar/customIcon/DashboardHover.d.ts +0 -0
  79. /package/dist/{components → src/components}/SideBar/customIcon/Files.d.ts +0 -0
  80. /package/dist/{components → src/components}/SideBar/customIcon/Robot.d.ts +0 -0
  81. /package/dist/{components → src/components}/SideBar/customIcon/RobotHover.d.ts +0 -0
  82. /package/dist/{components → src/components}/SideBar/index.d.ts +0 -0
  83. /package/dist/{components → src/components}/SpinnerLogo/SpinnerLogo.d.ts +0 -0
  84. /package/dist/{components → src/components}/SpinnerLogo/SpinnerLogo.types.d.ts +0 -0
  85. /package/dist/{components → src/components}/SpinnerLogo/index.d.ts +0 -0
  86. /package/dist/{components → src/components}/Status/Status.d.ts +0 -0
  87. /package/dist/{components → src/components}/Status/index.d.ts +0 -0
  88. /package/dist/{components → src/components}/Steps/Steps.d.ts +0 -0
  89. /package/dist/{components → src/components}/Steps/index.d.ts +0 -0
  90. /package/dist/{components → src/components}/Text/Text.d.ts +0 -0
  91. /package/dist/{components → src/components}/Text/index.d.ts +0 -0
  92. /package/dist/{components → src/components}/Textarea/Textarea.d.ts +0 -0
  93. /package/dist/{components → src/components}/Textarea/index.d.ts +0 -0
  94. /package/dist/{components → src/components}/Toast/Toast.d.ts +0 -0
  95. /package/dist/{components → src/components}/Toast/index.d.ts +0 -0
  96. /package/dist/{components → src/components}/Toast/useCustomToast.d.ts +0 -0
  97. /package/dist/{icons → src/icons}/LogosCanaia/LogoAd.d.ts +0 -0
  98. /package/dist/{icons → src/icons}/LogosCanaia/LogoAssist.d.ts +0 -0
  99. /package/dist/{icons → src/icons}/LogosCanaia/LogoCanaia.d.ts +0 -0
  100. /package/dist/{icons → src/icons}/LogosCanaia/LogoCollect.d.ts +0 -0
  101. /package/dist/{icons → src/icons}/LogosCanaia/LogoElevate.d.ts +0 -0
  102. /package/dist/{icons → src/icons}/LogosCanaia/LogoPlay.d.ts +0 -0
  103. /package/dist/{icons → src/icons}/LogosCanaia/LogoTalent.d.ts +0 -0
  104. /package/dist/{icons → src/icons}/PlatformCanaiaIcons/Ad.d.ts +0 -0
  105. /package/dist/{icons → src/icons}/PlatformCanaiaIcons/Assist.d.ts +0 -0
  106. /package/dist/{icons → src/icons}/PlatformCanaiaIcons/Collect.d.ts +0 -0
  107. /package/dist/{icons → src/icons}/PlatformCanaiaIcons/Elevate.d.ts +0 -0
  108. /package/dist/{icons → src/icons}/PlatformCanaiaIcons/Hub.d.ts +0 -0
  109. /package/dist/{icons → src/icons}/PlatformCanaiaIcons/Play.d.ts +0 -0
  110. /package/dist/{icons → src/icons}/PlatformCanaiaIcons/Talent.d.ts +0 -0
  111. /package/dist/{icons → src/icons}/SpinnerCanaia/SpinnerCanaia.d.ts +0 -0
  112. /package/dist/{provider → src/provider}/index.d.ts +0 -0
  113. /package/dist/{theme → src/theme}/chat.d.ts +0 -0
  114. /package/dist/{theme → src/theme}/colors.d.ts +0 -0
  115. /package/dist/{theme → src/theme}/fonts/fonts.d.ts +0 -0
  116. /package/dist/{theme → src/theme}/index.d.ts +0 -0
  117. /package/dist/{theme → src/theme}/styles.d.ts +0 -0
@@ -1,4222 +0,0 @@
1
- var Qe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function ca(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- function it(e) {
6
- return Array.isArray(e);
7
- }
8
- function yt(e) {
9
- const t = typeof e;
10
- return e != null && (t === "object" || t === "function") && !it(e);
11
- }
12
- var ht = { exports: {} };
13
- ht.exports;
14
- (function(e, t) {
15
- var a = 200, i = "__lodash_hash_undefined__", l = 800, b = 16, f = 9007199254740991, p = "[object Arguments]", w = "[object Array]", E = "[object AsyncFunction]", C = "[object Boolean]", k = "[object Date]", q = "[object Error]", J = "[object Function]", ir = "[object GeneratorFunction]", wo = "[object Map]", Co = "[object Number]", ko = "[object Null]", sr = "[object Object]", Ao = "[object Proxy]", Fo = "[object RegExp]", To = "[object Set]", Bo = "[object String]", Po = "[object Undefined]", Eo = "[object WeakMap]", Do = "[object ArrayBuffer]", Mo = "[object DataView]", jo = "[object Float32Array]", Io = "[object Float64Array]", Ro = "[object Int8Array]", Ho = "[object Int16Array]", Oo = "[object Int32Array]", Wo = "[object Uint8Array]", Lo = "[object Uint8ClampedArray]", Vo = "[object Uint16Array]", No = "[object Uint32Array]", qo = /[\\^$.*+?()[\]{}|]/g, Uo = /^\[object .+?Constructor\]$/, Go = /^(?:0|[1-9]\d*)$/, v = {};
16
- v[jo] = v[Io] = v[Ro] = v[Ho] = v[Oo] = v[Wo] = v[Lo] = v[Vo] = v[No] = !0, v[p] = v[w] = v[Do] = v[C] = v[Mo] = v[k] = v[q] = v[J] = v[wo] = v[Co] = v[sr] = v[Fo] = v[To] = v[Bo] = v[Eo] = !1;
17
- var lr = typeof Qe == "object" && Qe && Qe.Object === Object && Qe, Ko = typeof self == "object" && self && self.Object === Object && self, _e = lr || Ko || Function("return this")(), cr = t && !t.nodeType && t, ze = cr && !0 && e && !e.nodeType && e, dr = ze && ze.exports === cr, $t = dr && lr.process, br = function() {
18
- try {
19
- var r = ze && ze.require && ze.require("util").types;
20
- return r || $t && $t.binding && $t.binding("util");
21
- } catch {
22
- }
23
- }(), fr = br && br.isTypedArray;
24
- function Xo(r, o, n) {
25
- switch (n.length) {
26
- case 0:
27
- return r.call(o);
28
- case 1:
29
- return r.call(o, n[0]);
30
- case 2:
31
- return r.call(o, n[0], n[1]);
32
- case 3:
33
- return r.call(o, n[0], n[1], n[2]);
34
- }
35
- return r.apply(o, n);
36
- }
37
- function Yo(r, o) {
38
- for (var n = -1, s = Array(r); ++n < r; )
39
- s[n] = o(n);
40
- return s;
41
- }
42
- function Jo(r) {
43
- return function(o) {
44
- return r(o);
45
- };
46
- }
47
- function Zo(r, o) {
48
- return r == null ? void 0 : r[o];
49
- }
50
- function Qo(r, o) {
51
- return function(n) {
52
- return r(o(n));
53
- };
54
- }
55
- var en = Array.prototype, tn = Function.prototype, qe = Object.prototype, _t = _e["__core-js_shared__"], Ue = tn.toString, U = qe.hasOwnProperty, ur = function() {
56
- var r = /[^.]+$/.exec(_t && _t.keys && _t.keys.IE_PROTO || "");
57
- return r ? "Symbol(src)_1." + r : "";
58
- }(), gr = qe.toString, rn = Ue.call(Object), on = RegExp(
59
- "^" + Ue.call(U).replace(qo, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
60
- ), Ge = dr ? _e.Buffer : void 0, hr = _e.Symbol, mr = _e.Uint8Array;
61
- Ge && Ge.allocUnsafe;
62
- var pr = Qo(Object.getPrototypeOf, Object), yr = Object.create, nn = qe.propertyIsEnumerable, an = en.splice, Z = hr ? hr.toStringTag : void 0, Ke = function() {
63
- try {
64
- var r = Ct(Object, "defineProperty");
65
- return r({}, "", {}), r;
66
- } catch {
67
- }
68
- }(), sn = Ge ? Ge.isBuffer : void 0, Sr = Math.max, ln = Date.now, vr = Ct(_e, "Map"), we = Ct(Object, "create"), cn = /* @__PURE__ */ function() {
69
- function r() {
70
- }
71
- return function(o) {
72
- if (!ee(o))
73
- return {};
74
- if (yr)
75
- return yr(o);
76
- r.prototype = o;
77
- var n = new r();
78
- return r.prototype = void 0, n;
79
- };
80
- }();
81
- function Q(r) {
82
- var o = -1, n = r == null ? 0 : r.length;
83
- for (this.clear(); ++o < n; ) {
84
- var s = r[o];
85
- this.set(s[0], s[1]);
86
- }
87
- }
88
- function dn() {
89
- this.__data__ = we ? we(null) : {}, this.size = 0;
90
- }
91
- function bn(r) {
92
- var o = this.has(r) && delete this.__data__[r];
93
- return this.size -= o ? 1 : 0, o;
94
- }
95
- function fn(r) {
96
- var o = this.__data__;
97
- if (we) {
98
- var n = o[r];
99
- return n === i ? void 0 : n;
100
- }
101
- return U.call(o, r) ? o[r] : void 0;
102
- }
103
- function un(r) {
104
- var o = this.__data__;
105
- return we ? o[r] !== void 0 : U.call(o, r);
106
- }
107
- function gn(r, o) {
108
- var n = this.__data__;
109
- return this.size += this.has(r) ? 0 : 1, n[r] = we && o === void 0 ? i : o, this;
110
- }
111
- Q.prototype.clear = dn, Q.prototype.delete = bn, Q.prototype.get = fn, Q.prototype.has = un, Q.prototype.set = gn;
112
- function H(r) {
113
- var o = -1, n = r == null ? 0 : r.length;
114
- for (this.clear(); ++o < n; ) {
115
- var s = r[o];
116
- this.set(s[0], s[1]);
117
- }
118
- }
119
- function hn() {
120
- this.__data__ = [], this.size = 0;
121
- }
122
- function mn(r) {
123
- var o = this.__data__, n = Xe(o, r);
124
- if (n < 0)
125
- return !1;
126
- var s = o.length - 1;
127
- return n == s ? o.pop() : an.call(o, n, 1), --this.size, !0;
128
- }
129
- function pn(r) {
130
- var o = this.__data__, n = Xe(o, r);
131
- return n < 0 ? void 0 : o[n][1];
132
- }
133
- function yn(r) {
134
- return Xe(this.__data__, r) > -1;
135
- }
136
- function Sn(r, o) {
137
- var n = this.__data__, s = Xe(n, r);
138
- return s < 0 ? (++this.size, n.push([r, o])) : n[s][1] = o, this;
139
- }
140
- H.prototype.clear = hn, H.prototype.delete = mn, H.prototype.get = pn, H.prototype.has = yn, H.prototype.set = Sn;
141
- function le(r) {
142
- var o = -1, n = r == null ? 0 : r.length;
143
- for (this.clear(); ++o < n; ) {
144
- var s = r[o];
145
- this.set(s[0], s[1]);
146
- }
147
- }
148
- function vn() {
149
- this.size = 0, this.__data__ = {
150
- hash: new Q(),
151
- map: new (vr || H)(),
152
- string: new Q()
153
- };
154
- }
155
- function xn(r) {
156
- var o = Je(this, r).delete(r);
157
- return this.size -= o ? 1 : 0, o;
158
- }
159
- function $n(r) {
160
- return Je(this, r).get(r);
161
- }
162
- function _n(r) {
163
- return Je(this, r).has(r);
164
- }
165
- function zn(r, o) {
166
- var n = Je(this, r), s = n.size;
167
- return n.set(r, o), this.size += n.size == s ? 0 : 1, this;
168
- }
169
- le.prototype.clear = vn, le.prototype.delete = xn, le.prototype.get = $n, le.prototype.has = _n, le.prototype.set = zn;
170
- function ce(r) {
171
- var o = this.__data__ = new H(r);
172
- this.size = o.size;
173
- }
174
- function wn() {
175
- this.__data__ = new H(), this.size = 0;
176
- }
177
- function Cn(r) {
178
- var o = this.__data__, n = o.delete(r);
179
- return this.size = o.size, n;
180
- }
181
- function kn(r) {
182
- return this.__data__.get(r);
183
- }
184
- function An(r) {
185
- return this.__data__.has(r);
186
- }
187
- function Fn(r, o) {
188
- var n = this.__data__;
189
- if (n instanceof H) {
190
- var s = n.__data__;
191
- if (!vr || s.length < a - 1)
192
- return s.push([r, o]), this.size = ++n.size, this;
193
- n = this.__data__ = new le(s);
194
- }
195
- return n.set(r, o), this.size = n.size, this;
196
- }
197
- ce.prototype.clear = wn, ce.prototype.delete = Cn, ce.prototype.get = kn, ce.prototype.has = An, ce.prototype.set = Fn;
198
- function Tn(r, o) {
199
- var n = Ft(r), s = !n && At(r), u = !n && !s && wr(r), y = !n && !s && !u && kr(r), x = n || s || u || y, g = x ? Yo(r.length, String) : [], $ = g.length;
200
- for (var D in r)
201
- x && // Safari 9 has enumerable `arguments.length` in strict mode.
202
- (D == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
203
- u && (D == "offset" || D == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
204
- y && (D == "buffer" || D == "byteLength" || D == "byteOffset") || // Skip index properties.
205
- _r(D, $)) || g.push(D);
206
- return g;
207
- }
208
- function zt(r, o, n) {
209
- (n !== void 0 && !Ze(r[o], n) || n === void 0 && !(o in r)) && wt(r, o, n);
210
- }
211
- function Bn(r, o, n) {
212
- var s = r[o];
213
- (!(U.call(r, o) && Ze(s, n)) || n === void 0 && !(o in r)) && wt(r, o, n);
214
- }
215
- function Xe(r, o) {
216
- for (var n = r.length; n--; )
217
- if (Ze(r[n][0], o))
218
- return n;
219
- return -1;
220
- }
221
- function wt(r, o, n) {
222
- o == "__proto__" && Ke ? Ke(r, o, {
223
- configurable: !0,
224
- enumerable: !0,
225
- value: n,
226
- writable: !0
227
- }) : r[o] = n;
228
- }
229
- var Pn = qn();
230
- function Ye(r) {
231
- return r == null ? r === void 0 ? Po : ko : Z && Z in Object(r) ? Un(r) : Zn(r);
232
- }
233
- function xr(r) {
234
- return Ce(r) && Ye(r) == p;
235
- }
236
- function En(r) {
237
- if (!ee(r) || Yn(r))
238
- return !1;
239
- var o = Bt(r) ? on : Uo;
240
- return o.test(ra(r));
241
- }
242
- function Dn(r) {
243
- return Ce(r) && Cr(r.length) && !!v[Ye(r)];
244
- }
245
- function Mn(r) {
246
- if (!ee(r))
247
- return Jn(r);
248
- var o = zr(r), n = [];
249
- for (var s in r)
250
- s == "constructor" && (o || !U.call(r, s)) || n.push(s);
251
- return n;
252
- }
253
- function $r(r, o, n, s, u) {
254
- r !== o && Pn(o, function(y, x) {
255
- if (u || (u = new ce()), ee(y))
256
- jn(r, o, x, n, $r, s, u);
257
- else {
258
- var g = s ? s(kt(r, x), y, x + "", r, o, u) : void 0;
259
- g === void 0 && (g = y), zt(r, x, g);
260
- }
261
- }, Ar);
262
- }
263
- function jn(r, o, n, s, u, y, x) {
264
- var g = kt(r, n), $ = kt(o, n), D = x.get($);
265
- if (D) {
266
- zt(r, n, D);
267
- return;
268
- }
269
- var B = y ? y(g, $, n + "", r, o, x) : void 0, ke = B === void 0;
270
- if (ke) {
271
- var Pt = Ft($), Et = !Pt && wr($), Tr = !Pt && !Et && kr($);
272
- B = $, Pt || Et || Tr ? Ft(g) ? B = g : oa(g) ? B = Ln(g) : Et ? (ke = !1, B = Hn($)) : Tr ? (ke = !1, B = Wn($)) : B = [] : na($) || At($) ? (B = g, At(g) ? B = aa(g) : (!ee(g) || Bt(g)) && (B = Gn($))) : ke = !1;
273
- }
274
- ke && (x.set($, B), u(B, $, s, y, x), x.delete($)), zt(r, n, B);
275
- }
276
- function In(r, o) {
277
- return ea(Qn(r, o, Fr), r + "");
278
- }
279
- var Rn = Ke ? function(r, o) {
280
- return Ke(r, "toString", {
281
- configurable: !0,
282
- enumerable: !1,
283
- value: sa(o),
284
- writable: !0
285
- });
286
- } : Fr;
287
- function Hn(r, o) {
288
- return r.slice();
289
- }
290
- function On(r) {
291
- var o = new r.constructor(r.byteLength);
292
- return new mr(o).set(new mr(r)), o;
293
- }
294
- function Wn(r, o) {
295
- var n = On(r.buffer);
296
- return new r.constructor(n, r.byteOffset, r.length);
297
- }
298
- function Ln(r, o) {
299
- var n = -1, s = r.length;
300
- for (o || (o = Array(s)); ++n < s; )
301
- o[n] = r[n];
302
- return o;
303
- }
304
- function Vn(r, o, n, s) {
305
- var u = !n;
306
- n || (n = {});
307
- for (var y = -1, x = o.length; ++y < x; ) {
308
- var g = o[y], $ = void 0;
309
- $ === void 0 && ($ = r[g]), u ? wt(n, g, $) : Bn(n, g, $);
310
- }
311
- return n;
312
- }
313
- function Nn(r) {
314
- return In(function(o, n) {
315
- var s = -1, u = n.length, y = u > 1 ? n[u - 1] : void 0, x = u > 2 ? n[2] : void 0;
316
- for (y = r.length > 3 && typeof y == "function" ? (u--, y) : void 0, x && Kn(n[0], n[1], x) && (y = u < 3 ? void 0 : y, u = 1), o = Object(o); ++s < u; ) {
317
- var g = n[s];
318
- g && r(o, g, s, y);
319
- }
320
- return o;
321
- });
322
- }
323
- function qn(r) {
324
- return function(o, n, s) {
325
- for (var u = -1, y = Object(o), x = s(o), g = x.length; g--; ) {
326
- var $ = x[++u];
327
- if (n(y[$], $, y) === !1)
328
- break;
329
- }
330
- return o;
331
- };
332
- }
333
- function Je(r, o) {
334
- var n = r.__data__;
335
- return Xn(o) ? n[typeof o == "string" ? "string" : "hash"] : n.map;
336
- }
337
- function Ct(r, o) {
338
- var n = Zo(r, o);
339
- return En(n) ? n : void 0;
340
- }
341
- function Un(r) {
342
- var o = U.call(r, Z), n = r[Z];
343
- try {
344
- r[Z] = void 0;
345
- var s = !0;
346
- } catch {
347
- }
348
- var u = gr.call(r);
349
- return s && (o ? r[Z] = n : delete r[Z]), u;
350
- }
351
- function Gn(r) {
352
- return typeof r.constructor == "function" && !zr(r) ? cn(pr(r)) : {};
353
- }
354
- function _r(r, o) {
355
- var n = typeof r;
356
- return o = o ?? f, !!o && (n == "number" || n != "symbol" && Go.test(r)) && r > -1 && r % 1 == 0 && r < o;
357
- }
358
- function Kn(r, o, n) {
359
- if (!ee(n))
360
- return !1;
361
- var s = typeof o;
362
- return (s == "number" ? Tt(n) && _r(o, n.length) : s == "string" && o in n) ? Ze(n[o], r) : !1;
363
- }
364
- function Xn(r) {
365
- var o = typeof r;
366
- return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? r !== "__proto__" : r === null;
367
- }
368
- function Yn(r) {
369
- return !!ur && ur in r;
370
- }
371
- function zr(r) {
372
- var o = r && r.constructor, n = typeof o == "function" && o.prototype || qe;
373
- return r === n;
374
- }
375
- function Jn(r) {
376
- var o = [];
377
- if (r != null)
378
- for (var n in Object(r))
379
- o.push(n);
380
- return o;
381
- }
382
- function Zn(r) {
383
- return gr.call(r);
384
- }
385
- function Qn(r, o, n) {
386
- return o = Sr(o === void 0 ? r.length - 1 : o, 0), function() {
387
- for (var s = arguments, u = -1, y = Sr(s.length - o, 0), x = Array(y); ++u < y; )
388
- x[u] = s[o + u];
389
- u = -1;
390
- for (var g = Array(o + 1); ++u < o; )
391
- g[u] = s[u];
392
- return g[o] = n(x), Xo(r, this, g);
393
- };
394
- }
395
- function kt(r, o) {
396
- if (!(o === "constructor" && typeof r[o] == "function") && o != "__proto__")
397
- return r[o];
398
- }
399
- var ea = ta(Rn);
400
- function ta(r) {
401
- var o = 0, n = 0;
402
- return function() {
403
- var s = ln(), u = b - (s - n);
404
- if (n = s, u > 0) {
405
- if (++o >= l)
406
- return arguments[0];
407
- } else
408
- o = 0;
409
- return r.apply(void 0, arguments);
410
- };
411
- }
412
- function ra(r) {
413
- if (r != null) {
414
- try {
415
- return Ue.call(r);
416
- } catch {
417
- }
418
- try {
419
- return r + "";
420
- } catch {
421
- }
422
- }
423
- return "";
424
- }
425
- function Ze(r, o) {
426
- return r === o || r !== r && o !== o;
427
- }
428
- var At = xr(/* @__PURE__ */ function() {
429
- return arguments;
430
- }()) ? xr : function(r) {
431
- return Ce(r) && U.call(r, "callee") && !nn.call(r, "callee");
432
- }, Ft = Array.isArray;
433
- function Tt(r) {
434
- return r != null && Cr(r.length) && !Bt(r);
435
- }
436
- function oa(r) {
437
- return Ce(r) && Tt(r);
438
- }
439
- var wr = sn || la;
440
- function Bt(r) {
441
- if (!ee(r))
442
- return !1;
443
- var o = Ye(r);
444
- return o == J || o == ir || o == E || o == Ao;
445
- }
446
- function Cr(r) {
447
- return typeof r == "number" && r > -1 && r % 1 == 0 && r <= f;
448
- }
449
- function ee(r) {
450
- var o = typeof r;
451
- return r != null && (o == "object" || o == "function");
452
- }
453
- function Ce(r) {
454
- return r != null && typeof r == "object";
455
- }
456
- function na(r) {
457
- if (!Ce(r) || Ye(r) != sr)
458
- return !1;
459
- var o = pr(r);
460
- if (o === null)
461
- return !0;
462
- var n = U.call(o, "constructor") && o.constructor;
463
- return typeof n == "function" && n instanceof n && Ue.call(n) == rn;
464
- }
465
- var kr = fr ? Jo(fr) : Dn;
466
- function aa(r) {
467
- return Vn(r, Ar(r));
468
- }
469
- function Ar(r) {
470
- return Tt(r) ? Tn(r) : Mn(r);
471
- }
472
- var ia = Nn(function(r, o, n, s) {
473
- $r(r, o, n, s);
474
- });
475
- function sa(r) {
476
- return function() {
477
- return r;
478
- };
479
- }
480
- function Fr(r) {
481
- return r;
482
- }
483
- function la() {
484
- return !1;
485
- }
486
- e.exports = ia;
487
- })(ht, ht.exports);
488
- var da = ht.exports;
489
- const lo = /* @__PURE__ */ ca(da);
490
- function W0(e) {
491
- return e;
492
- }
493
- function S(e) {
494
- return {
495
- definePartsStyle(t) {
496
- return t;
497
- },
498
- defineMultiStyleConfig(t) {
499
- return { parts: e, ...t };
500
- }
501
- };
502
- }
503
- function co(e) {
504
- return yt(e) && e.reference ? e.reference : String(e);
505
- }
506
- const St = (e, ...t) => t.map(co).join(` ${e} `).replace(/calc/g, ""), Br = (...e) => `calc(${St("+", ...e)})`, Pr = (...e) => `calc(${St("-", ...e)})`, Yt = (...e) => `calc(${St("*", ...e)})`, Er = (...e) => `calc(${St("/", ...e)})`, Dr = (e) => {
507
- const t = co(e);
508
- return t != null && !Number.isNaN(parseFloat(t)) ? String(t).startsWith("-") ? String(t).slice(1) : `-${t}` : Yt(t, -1);
509
- }, te = Object.assign(
510
- (e) => ({
511
- add: (...t) => te(Br(e, ...t)),
512
- subtract: (...t) => te(Pr(e, ...t)),
513
- multiply: (...t) => te(Yt(e, ...t)),
514
- divide: (...t) => te(Er(e, ...t)),
515
- negate: () => te(Dr(e)),
516
- toString: () => e.toString()
517
- }),
518
- {
519
- add: Br,
520
- subtract: Pr,
521
- multiply: Yt,
522
- divide: Er,
523
- negate: Dr
524
- }
525
- );
526
- function ba(e, t = "-") {
527
- return e.replace(/\s+/g, t);
528
- }
529
- function fa(e) {
530
- const t = ba(e.toString());
531
- return ga(ua(t));
532
- }
533
- function ua(e) {
534
- return e.includes("\\.") ? e : !Number.isInteger(parseFloat(e.toString())) ? e.replace(".", "\\.") : e;
535
- }
536
- function ga(e) {
537
- return e.replace(/[!-,/:-@[-^`{-~]/g, "\\$&");
538
- }
539
- function ha(e, t = "") {
540
- return [t, e].filter(Boolean).join("-");
541
- }
542
- function ma(e, t) {
543
- return `var(${e}${t ? `, ${t}` : ""})`;
544
- }
545
- function pa(e, t = "") {
546
- return fa(`--${ha(e, t)}`);
547
- }
548
- function d(e, t, a) {
549
- const i = pa(e, a);
550
- return {
551
- variable: i,
552
- reference: ma(i, t)
553
- };
554
- }
555
- function ya(e, t) {
556
- const a = {};
557
- for (const i of t) {
558
- if (Array.isArray(i)) {
559
- const [l, b] = i;
560
- a[l] = d(`${e}-${l}`, b);
561
- continue;
562
- }
563
- a[i] = d(`${e}-${i}`);
564
- }
565
- return a;
566
- }
567
- function m(e, t = {}) {
568
- let a = !1;
569
- function i() {
570
- if (!a) {
571
- a = !0;
572
- return;
573
- }
574
- throw new Error(
575
- "[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?"
576
- );
577
- }
578
- function l(...C) {
579
- i();
580
- for (const k of C)
581
- t[k] = w(k);
582
- return m(e, t);
583
- }
584
- function b(...C) {
585
- for (const k of C)
586
- k in t || (t[k] = w(k));
587
- return m(e, t);
588
- }
589
- function f() {
590
- return Object.fromEntries(
591
- Object.entries(t).map(([k, q]) => [k, q.selector])
592
- );
593
- }
594
- function p() {
595
- return Object.fromEntries(
596
- Object.entries(t).map(([k, q]) => [k, q.className])
597
- );
598
- }
599
- function w(C) {
600
- const J = `chakra-${(["container", "root"].includes(C ?? "") ? [e] : [e, C]).filter(Boolean).join("__")}`;
601
- return {
602
- className: J,
603
- selector: `.${J}`,
604
- toString: () => C
605
- };
606
- }
607
- return {
608
- parts: l,
609
- toPart: w,
610
- extend: b,
611
- selectors: f,
612
- classnames: p,
613
- get keys() {
614
- return Object.keys(t);
615
- },
616
- __type: {}
617
- };
618
- }
619
- const Sa = m("accordion").parts(
620
- "root",
621
- "container",
622
- "button",
623
- "panel",
624
- "icon"
625
- ), va = m("alert").parts(
626
- "title",
627
- "description",
628
- "container",
629
- "icon",
630
- "spinner"
631
- ), xa = m("avatar").parts(
632
- "label",
633
- "badge",
634
- "container",
635
- "excessLabel",
636
- "group"
637
- ), $a = m("breadcrumb").parts(
638
- "link",
639
- "item",
640
- "container",
641
- "separator"
642
- );
643
- m("button").parts();
644
- const _a = m("checkbox").parts(
645
- "control",
646
- "icon",
647
- "container",
648
- "label"
649
- );
650
- m("progress").parts(
651
- "track",
652
- "filledTrack",
653
- "label"
654
- );
655
- const za = m("drawer").parts(
656
- "overlay",
657
- "dialogContainer",
658
- "dialog",
659
- "header",
660
- "closeButton",
661
- "body",
662
- "footer"
663
- ), wa = m("editable").parts(
664
- "preview",
665
- "input",
666
- "textarea"
667
- ), Ca = m("form").parts(
668
- "container",
669
- "requiredIndicator",
670
- "helperText"
671
- ), ka = m("formError").parts("text", "icon"), Aa = m("input").parts(
672
- "addon",
673
- "field",
674
- "element",
675
- "group"
676
- ), Fa = m("list").parts("container", "item", "icon"), Ta = m("menu").parts(
677
- "button",
678
- "list",
679
- "item",
680
- "groupTitle",
681
- "icon",
682
- "command",
683
- "divider"
684
- ), Ba = m("modal").parts(
685
- "overlay",
686
- "dialogContainer",
687
- "dialog",
688
- "header",
689
- "closeButton",
690
- "body",
691
- "footer"
692
- ), Pa = m("numberinput").parts(
693
- "root",
694
- "field",
695
- "stepperGroup",
696
- "stepper"
697
- );
698
- m("pininput").parts("field");
699
- const Ea = m("popover").parts(
700
- "content",
701
- "header",
702
- "body",
703
- "footer",
704
- "popper",
705
- "arrow",
706
- "closeButton"
707
- ), Da = m("progress").parts(
708
- "label",
709
- "filledTrack",
710
- "track"
711
- ), Ma = m("radio").parts(
712
- "container",
713
- "control",
714
- "label"
715
- ), ja = m("select").parts("field", "icon"), Ia = m("slider").parts(
716
- "container",
717
- "track",
718
- "thumb",
719
- "filledTrack",
720
- "mark"
721
- ), Ra = m("stat").parts(
722
- "container",
723
- "label",
724
- "helpText",
725
- "number",
726
- "icon"
727
- ), Ha = m("switch").parts(
728
- "container",
729
- "track",
730
- "thumb",
731
- "label"
732
- ), Oa = m("table").parts(
733
- "table",
734
- "thead",
735
- "tbody",
736
- "tr",
737
- "th",
738
- "td",
739
- "tfoot",
740
- "caption"
741
- ), Wa = m("tabs").parts(
742
- "root",
743
- "tab",
744
- "tablist",
745
- "tabpanel",
746
- "tabpanels",
747
- "indicator"
748
- ), La = m("tag").parts(
749
- "container",
750
- "label",
751
- "closeButton"
752
- ), Va = m("card").parts(
753
- "container",
754
- "header",
755
- "body",
756
- "footer"
757
- );
758
- m("stepper").parts(
759
- "stepper",
760
- "step",
761
- "title",
762
- "description",
763
- "indicator",
764
- "separator",
765
- "icon",
766
- "number"
767
- );
768
- const { definePartsStyle: Na, defineMultiStyleConfig: qa } = S(Sa.keys), Ua = {
769
- borderTopWidth: "1px",
770
- borderColor: "inherit",
771
- _last: {
772
- borderBottomWidth: "1px"
773
- }
774
- }, Ga = {
775
- transitionProperty: "common",
776
- transitionDuration: "normal",
777
- fontSize: "md",
778
- _focusVisible: {
779
- boxShadow: "outline"
780
- },
781
- _hover: {
782
- bg: "blackAlpha.50"
783
- },
784
- _disabled: {
785
- opacity: 0.4,
786
- cursor: "not-allowed"
787
- },
788
- px: "4",
789
- py: "2"
790
- }, Ka = {
791
- pt: "2",
792
- px: "4",
793
- pb: "5"
794
- }, Xa = {
795
- fontSize: "1.25em"
796
- }, Ya = Na({
797
- container: Ua,
798
- button: Ga,
799
- panel: Ka,
800
- icon: Xa
801
- }), Ja = qa({ baseStyle: Ya });
802
- function oe(e, t, a) {
803
- return Math.min(Math.max(e, a), t);
804
- }
805
- class Za extends Error {
806
- constructor(t) {
807
- super(`Failed to parse color: "${t}"`);
808
- }
809
- }
810
- var Be = Za;
811
- function tr(e) {
812
- if (typeof e != "string") throw new Be(e);
813
- if (e.trim().toLowerCase() === "transparent") return [0, 0, 0, 0];
814
- let t = e.trim();
815
- t = ii.test(e) ? ti(e) : e;
816
- const a = ri.exec(t);
817
- if (a) {
818
- const f = Array.from(a).slice(1);
819
- return [...f.slice(0, 3).map((p) => parseInt(We(p, 2), 16)), parseInt(We(f[3] || "f", 2), 16) / 255];
820
- }
821
- const i = oi.exec(t);
822
- if (i) {
823
- const f = Array.from(i).slice(1);
824
- return [...f.slice(0, 3).map((p) => parseInt(p, 16)), parseInt(f[3] || "ff", 16) / 255];
825
- }
826
- const l = ni.exec(t);
827
- if (l) {
828
- const f = Array.from(l).slice(1);
829
- return [...f.slice(0, 3).map((p) => parseInt(p, 10)), parseFloat(f[3] || "1")];
830
- }
831
- const b = ai.exec(t);
832
- if (b) {
833
- const [f, p, w, E] = Array.from(b).slice(1).map(parseFloat);
834
- if (oe(0, 100, p) !== p) throw new Be(e);
835
- if (oe(0, 100, w) !== w) throw new Be(e);
836
- return [...si(f, p, w), Number.isNaN(E) ? 1 : E];
837
- }
838
- throw new Be(e);
839
- }
840
- function Qa(e) {
841
- let t = 5381, a = e.length;
842
- for (; a; )
843
- t = t * 33 ^ e.charCodeAt(--a);
844
- return (t >>> 0) % 2341;
845
- }
846
- const Mr = (e) => parseInt(e.replace(/_/g, ""), 36), ei = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e, t) => {
847
- const a = Mr(t.substring(0, 3)), i = Mr(t.substring(3)).toString(16);
848
- let l = "";
849
- for (let b = 0; b < 6 - i.length; b++)
850
- l += "0";
851
- return e[a] = `${l}${i}`, e;
852
- }, {});
853
- function ti(e) {
854
- const t = e.toLowerCase().trim(), a = ei[Qa(t)];
855
- if (!a) throw new Be(e);
856
- return `#${a}`;
857
- }
858
- const We = (e, t) => Array.from(Array(t)).map(() => e).join(""), ri = new RegExp(`^#${We("([a-f0-9])", 3)}([a-f0-9])?$`, "i"), oi = new RegExp(`^#${We("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"), ni = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${We(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"), ai = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i, ii = /^[a-z]+$/i, jr = (e) => Math.round(e * 255), si = (e, t, a) => {
859
- let i = a / 100;
860
- if (t === 0)
861
- return [i, i, i].map(jr);
862
- const l = (e % 360 + 360) % 360 / 60, b = (1 - Math.abs(2 * i - 1)) * (t / 100), f = b * (1 - Math.abs(l % 2 - 1));
863
- let p = 0, w = 0, E = 0;
864
- l >= 0 && l < 1 ? (p = b, w = f) : l >= 1 && l < 2 ? (p = f, w = b) : l >= 2 && l < 3 ? (w = b, E = f) : l >= 3 && l < 4 ? (w = f, E = b) : l >= 4 && l < 5 ? (p = f, E = b) : l >= 5 && l < 6 && (p = b, E = f);
865
- const C = i - b / 2, k = p + C, q = w + C, J = E + C;
866
- return [k, q, J].map(jr);
867
- };
868
- function li(e, t, a, i) {
869
- return `rgba(${oe(0, 255, e).toFixed()}, ${oe(0, 255, t).toFixed()}, ${oe(0, 255, a).toFixed()}, ${parseFloat(oe(0, 1, i).toFixed(3))})`;
870
- }
871
- function ci(e, t) {
872
- const [a, i, l, b] = tr(e);
873
- return li(a, i, l, b - t);
874
- }
875
- function di(e) {
876
- const [t, a, i, l] = tr(e);
877
- let b = (f) => {
878
- const p = oe(0, 255, f).toString(16);
879
- return p.length === 1 ? `0${p}` : p;
880
- };
881
- return `#${b(t)}${b(a)}${b(i)}${l < 1 ? b(Math.round(l * 255)) : ""}`;
882
- }
883
- const bi = (e) => Object.keys(e).length === 0;
884
- function fi(e, t, a, i, l) {
885
- for (t = t.split ? t.split(".") : t, i = 0; i < t.length; i++)
886
- e = e ? e[t[i]] : l;
887
- return e === l ? a : e;
888
- }
889
- const A = (e, t, a) => {
890
- const i = fi(e, `colors.${t}`, t);
891
- try {
892
- return di(i), i;
893
- } catch {
894
- return "#000000";
895
- }
896
- }, ui = (e) => {
897
- const [t, a, i] = tr(e);
898
- return (t * 299 + a * 587 + i * 114) / 1e3;
899
- }, gi = (e) => (t) => {
900
- const a = A(t, e);
901
- return ui(a) < 128 ? "dark" : "light";
902
- }, hi = (e) => (t) => gi(e)(t) === "dark", xe = (e, t) => (a) => {
903
- const i = A(a, e);
904
- return ci(i, 1 - t);
905
- };
906
- function Ir(e = "1rem", t = "rgba(255, 255, 255, 0.15)") {
907
- return {
908
- backgroundImage: `linear-gradient(
909
- 45deg,
910
- ${t} 25%,
911
- transparent 25%,
912
- transparent 50%,
913
- ${t} 50%,
914
- ${t} 75%,
915
- transparent 75%,
916
- transparent
917
- )`,
918
- backgroundSize: `${e} ${e}`
919
- };
920
- }
921
- const mi = () => `#${Math.floor(Math.random() * 16777215).toString(16).padEnd(6, "0")}`;
922
- function pi(e) {
923
- const t = mi();
924
- return !e || bi(e) ? t : e.string && e.colors ? Si(e.string, e.colors) : e.string && !e.colors ? yi(e.string) : e.colors && !e.string ? vi(e.colors) : t;
925
- }
926
- function yi(e) {
927
- let t = 0;
928
- if (e.length === 0)
929
- return t.toString();
930
- for (let i = 0; i < e.length; i += 1)
931
- t = e.charCodeAt(i) + ((t << 5) - t), t = t & t;
932
- let a = "#";
933
- for (let i = 0; i < 3; i += 1) {
934
- const l = t >> i * 8 & 255;
935
- a += `00${l.toString(16)}`.substr(-2);
936
- }
937
- return a;
938
- }
939
- function Si(e, t) {
940
- let a = 0;
941
- if (e.length === 0)
942
- return t[0];
943
- for (let i = 0; i < e.length; i += 1)
944
- a = e.charCodeAt(i) + ((a << 5) - a), a = a & a;
945
- return a = (a % t.length + t.length) % t.length, t[a];
946
- }
947
- function vi(e) {
948
- return e[Math.floor(Math.random() * e.length)];
949
- }
950
- function c(e, t) {
951
- return (a) => a.colorMode === "dark" ? t : e;
952
- }
953
- function rr(e) {
954
- const { orientation: t, vertical: a, horizontal: i } = e;
955
- return t ? t === "vertical" ? a : i : {};
956
- }
957
- function bo(e) {
958
- return yt(e) && e.reference ? e.reference : String(e);
959
- }
960
- const vt = (e, ...t) => t.map(bo).join(` ${e} `).replace(/calc/g, ""), Rr = (...e) => `calc(${vt("+", ...e)})`, Hr = (...e) => `calc(${vt("-", ...e)})`, Jt = (...e) => `calc(${vt("*", ...e)})`, Or = (...e) => `calc(${vt("/", ...e)})`, Wr = (e) => {
961
- const t = bo(e);
962
- return t != null && !Number.isNaN(parseFloat(t)) ? String(t).startsWith("-") ? String(t).slice(1) : `-${t}` : Jt(t, -1);
963
- }, O = Object.assign(
964
- (e) => ({
965
- add: (...t) => O(Rr(e, ...t)),
966
- subtract: (...t) => O(Hr(e, ...t)),
967
- multiply: (...t) => O(Jt(e, ...t)),
968
- divide: (...t) => O(Or(e, ...t)),
969
- negate: () => O(Wr(e)),
970
- toString: () => e.toString()
971
- }),
972
- {
973
- add: Rr,
974
- subtract: Hr,
975
- multiply: Jt,
976
- divide: Or,
977
- negate: Wr
978
- }
979
- );
980
- function xi(e) {
981
- return !Number.isInteger(parseFloat(e.toString()));
982
- }
983
- function $i(e, t = "-") {
984
- return e.replace(/\s+/g, t);
985
- }
986
- function fo(e) {
987
- const t = $i(e.toString());
988
- return t.includes("\\.") ? e : xi(e) ? t.replace(".", "\\.") : e;
989
- }
990
- function _i(e, t = "") {
991
- return [t, fo(e)].filter(Boolean).join("-");
992
- }
993
- function zi(e, t) {
994
- return `var(${fo(e)}${t ? `, ${t}` : ""})`;
995
- }
996
- function wi(e, t = "") {
997
- return `--${_i(e, t)}`;
998
- }
999
- function z(e, t) {
1000
- const a = wi(e, t == null ? void 0 : t.prefix);
1001
- return {
1002
- variable: a,
1003
- reference: zi(a, Ci(t == null ? void 0 : t.fallback))
1004
- };
1005
- }
1006
- function Ci(e) {
1007
- return e == null ? void 0 : e.reference;
1008
- }
1009
- const { definePartsStyle: Ne, defineMultiStyleConfig: ki } = S(va.keys), P = d("alert-fg"), N = d("alert-bg"), Ai = Ne({
1010
- container: {
1011
- bg: N.reference,
1012
- px: "4",
1013
- py: "3"
1014
- },
1015
- title: {
1016
- fontWeight: "bold",
1017
- lineHeight: "6",
1018
- marginEnd: "2"
1019
- },
1020
- description: {
1021
- lineHeight: "6"
1022
- },
1023
- icon: {
1024
- color: P.reference,
1025
- flexShrink: 0,
1026
- marginEnd: "3",
1027
- w: "5",
1028
- h: "6"
1029
- },
1030
- spinner: {
1031
- color: P.reference,
1032
- flexShrink: 0,
1033
- marginEnd: "3",
1034
- w: "5",
1035
- h: "5"
1036
- }
1037
- });
1038
- function or(e) {
1039
- const { theme: t, colorScheme: a } = e, i = xe(`${a}.200`, 0.16)(t);
1040
- return {
1041
- light: `colors.${a}.100`,
1042
- dark: i
1043
- };
1044
- }
1045
- const Fi = Ne((e) => {
1046
- const { colorScheme: t } = e, a = or(e);
1047
- return {
1048
- container: {
1049
- [P.variable]: `colors.${t}.600`,
1050
- [N.variable]: a.light,
1051
- _dark: {
1052
- [P.variable]: `colors.${t}.200`,
1053
- [N.variable]: a.dark
1054
- }
1055
- }
1056
- };
1057
- }), Ti = Ne((e) => {
1058
- const { colorScheme: t } = e, a = or(e);
1059
- return {
1060
- container: {
1061
- [P.variable]: `colors.${t}.600`,
1062
- [N.variable]: a.light,
1063
- _dark: {
1064
- [P.variable]: `colors.${t}.200`,
1065
- [N.variable]: a.dark
1066
- },
1067
- paddingStart: "3",
1068
- borderStartWidth: "4px",
1069
- borderStartColor: P.reference
1070
- }
1071
- };
1072
- }), Bi = Ne((e) => {
1073
- const { colorScheme: t } = e, a = or(e);
1074
- return {
1075
- container: {
1076
- [P.variable]: `colors.${t}.600`,
1077
- [N.variable]: a.light,
1078
- _dark: {
1079
- [P.variable]: `colors.${t}.200`,
1080
- [N.variable]: a.dark
1081
- },
1082
- pt: "2",
1083
- borderTopWidth: "4px",
1084
- borderTopColor: P.reference
1085
- }
1086
- };
1087
- }), Pi = Ne((e) => {
1088
- const { colorScheme: t } = e;
1089
- return {
1090
- container: {
1091
- [P.variable]: "colors.white",
1092
- [N.variable]: `colors.${t}.600`,
1093
- _dark: {
1094
- [P.variable]: "colors.gray.900",
1095
- [N.variable]: `colors.${t}.200`
1096
- },
1097
- color: P.reference
1098
- }
1099
- };
1100
- }), Ei = {
1101
- subtle: Fi,
1102
- "left-accent": Ti,
1103
- "top-accent": Bi,
1104
- solid: Pi
1105
- }, Di = ki({
1106
- baseStyle: Ai,
1107
- variants: Ei,
1108
- defaultProps: {
1109
- variant: "subtle",
1110
- colorScheme: "blue"
1111
- }
1112
- }), uo = {
1113
- px: "1px",
1114
- 0.5: "0.125rem",
1115
- 1: "0.25rem",
1116
- 1.5: "0.375rem",
1117
- 2: "0.5rem",
1118
- 2.5: "0.625rem",
1119
- 3: "0.75rem",
1120
- 3.5: "0.875rem",
1121
- 4: "1rem",
1122
- 5: "1.25rem",
1123
- 6: "1.5rem",
1124
- 7: "1.75rem",
1125
- 8: "2rem",
1126
- 9: "2.25rem",
1127
- 10: "2.5rem",
1128
- 12: "3rem",
1129
- 14: "3.5rem",
1130
- 16: "4rem",
1131
- 20: "5rem",
1132
- 24: "6rem",
1133
- 28: "7rem",
1134
- 32: "8rem",
1135
- 36: "9rem",
1136
- 40: "10rem",
1137
- 44: "11rem",
1138
- 48: "12rem",
1139
- 52: "13rem",
1140
- 56: "14rem",
1141
- 60: "15rem",
1142
- 64: "16rem",
1143
- 72: "18rem",
1144
- 80: "20rem",
1145
- 96: "24rem"
1146
- }, Mi = {
1147
- max: "max-content",
1148
- min: "min-content",
1149
- full: "100%",
1150
- "3xs": "14rem",
1151
- "2xs": "16rem",
1152
- xs: "20rem",
1153
- sm: "24rem",
1154
- md: "28rem",
1155
- lg: "32rem",
1156
- xl: "36rem",
1157
- "2xl": "42rem",
1158
- "3xl": "48rem",
1159
- "4xl": "56rem",
1160
- "5xl": "64rem",
1161
- "6xl": "72rem",
1162
- "7xl": "80rem",
1163
- "8xl": "90rem",
1164
- prose: "60ch"
1165
- }, ji = {
1166
- sm: "640px",
1167
- md: "768px",
1168
- lg: "1024px",
1169
- xl: "1280px"
1170
- }, go = {
1171
- ...uo,
1172
- ...Mi,
1173
- container: ji
1174
- }, Ii = (e) => typeof e == "function";
1175
- function F(e, ...t) {
1176
- return Ii(e) ? e(...t) : e;
1177
- }
1178
- const { definePartsStyle: ho, defineMultiStyleConfig: Ri } = S(xa.keys), pe = d("avatar-border-color"), je = d("avatar-bg"), Le = d("avatar-font-size"), $e = d("avatar-size"), Hi = {
1179
- borderRadius: "full",
1180
- border: "0.2em solid",
1181
- borderColor: pe.reference,
1182
- [pe.variable]: "white",
1183
- _dark: {
1184
- [pe.variable]: "colors.gray.800"
1185
- }
1186
- }, Oi = {
1187
- bg: je.reference,
1188
- fontSize: Le.reference,
1189
- width: $e.reference,
1190
- height: $e.reference,
1191
- lineHeight: "1",
1192
- [je.variable]: "colors.gray.200",
1193
- _dark: {
1194
- [je.variable]: "colors.whiteAlpha.400"
1195
- }
1196
- }, Wi = (e) => {
1197
- const { name: t, theme: a } = e, i = t ? pi({ string: t }) : "colors.gray.400", l = hi(i)(a);
1198
- let b = "white";
1199
- return l || (b = "gray.800"), {
1200
- bg: je.reference,
1201
- fontSize: Le.reference,
1202
- color: b,
1203
- borderColor: pe.reference,
1204
- verticalAlign: "top",
1205
- width: $e.reference,
1206
- height: $e.reference,
1207
- "&:not([data-loaded])": {
1208
- [je.variable]: i
1209
- },
1210
- [pe.variable]: "colors.white",
1211
- _dark: {
1212
- [pe.variable]: "colors.gray.800"
1213
- }
1214
- };
1215
- }, Li = {
1216
- fontSize: Le.reference,
1217
- lineHeight: "1"
1218
- }, Vi = ho((e) => ({
1219
- badge: F(Hi, e),
1220
- excessLabel: F(Oi, e),
1221
- container: F(Wi, e),
1222
- label: Li
1223
- }));
1224
- function G(e) {
1225
- const t = e !== "100%" ? go[e] : void 0;
1226
- return ho({
1227
- container: {
1228
- [$e.variable]: t ?? e,
1229
- [Le.variable]: `calc(${t ?? e} / 2.5)`
1230
- },
1231
- excessLabel: {
1232
- [$e.variable]: t ?? e,
1233
- [Le.variable]: `calc(${t ?? e} / 2.5)`
1234
- }
1235
- });
1236
- }
1237
- const Ni = {
1238
- "2xs": G(4),
1239
- xs: G(6),
1240
- sm: G(8),
1241
- md: G(12),
1242
- lg: G(16),
1243
- xl: G(24),
1244
- "2xl": G(32),
1245
- full: G("100%")
1246
- }, qi = Ri({
1247
- baseStyle: Vi,
1248
- sizes: Ni,
1249
- defaultProps: {
1250
- size: "md"
1251
- }
1252
- }), _ = ya("badge", ["bg", "color", "shadow"]), Ui = {
1253
- px: 1,
1254
- textTransform: "uppercase",
1255
- fontSize: "xs",
1256
- borderRadius: "sm",
1257
- fontWeight: "bold",
1258
- bg: _.bg.reference,
1259
- color: _.color.reference,
1260
- boxShadow: _.shadow.reference
1261
- }, Gi = (e) => {
1262
- const { colorScheme: t, theme: a } = e, i = xe(`${t}.500`, 0.6)(a);
1263
- return {
1264
- [_.bg.variable]: `colors.${t}.500`,
1265
- [_.color.variable]: "colors.white",
1266
- _dark: {
1267
- [_.bg.variable]: i,
1268
- [_.color.variable]: "colors.whiteAlpha.800"
1269
- }
1270
- };
1271
- }, Ki = (e) => {
1272
- const { colorScheme: t, theme: a } = e, i = xe(`${t}.200`, 0.16)(a);
1273
- return {
1274
- [_.bg.variable]: `colors.${t}.100`,
1275
- [_.color.variable]: `colors.${t}.800`,
1276
- _dark: {
1277
- [_.bg.variable]: i,
1278
- [_.color.variable]: `colors.${t}.200`
1279
- }
1280
- };
1281
- }, Xi = (e) => {
1282
- const { colorScheme: t, theme: a } = e, i = xe(`${t}.200`, 0.8)(a);
1283
- return {
1284
- [_.color.variable]: `colors.${t}.500`,
1285
- _dark: {
1286
- [_.color.variable]: i
1287
- },
1288
- [_.shadow.variable]: `inset 0 0 0px 1px ${_.color.reference}`
1289
- };
1290
- }, Yi = {
1291
- solid: Gi,
1292
- subtle: Ki,
1293
- outline: Xi
1294
- }, Ie = {
1295
- baseStyle: Ui,
1296
- variants: Yi,
1297
- defaultProps: {
1298
- variant: "subtle",
1299
- colorScheme: "gray"
1300
- }
1301
- }, { defineMultiStyleConfig: Ji, definePartsStyle: Zi } = S($a.keys), Dt = d("breadcrumb-link-decor"), Qi = {
1302
- transitionProperty: "common",
1303
- transitionDuration: "fast",
1304
- transitionTimingFunction: "ease-out",
1305
- outline: "none",
1306
- color: "inherit",
1307
- textDecoration: Dt.reference,
1308
- [Dt.variable]: "none",
1309
- "&:not([aria-current=page])": {
1310
- cursor: "pointer",
1311
- _hover: {
1312
- [Dt.variable]: "underline"
1313
- },
1314
- _focusVisible: {
1315
- boxShadow: "outline"
1316
- }
1317
- }
1318
- }, es = Zi({
1319
- link: Qi
1320
- }), ts = Ji({
1321
- baseStyle: es
1322
- }), rs = {
1323
- lineHeight: "1.2",
1324
- borderRadius: "md",
1325
- fontWeight: "semibold",
1326
- transitionProperty: "common",
1327
- transitionDuration: "normal",
1328
- _focusVisible: {
1329
- boxShadow: "outline"
1330
- },
1331
- _disabled: {
1332
- opacity: 0.4,
1333
- cursor: "not-allowed",
1334
- boxShadow: "none"
1335
- },
1336
- _hover: {
1337
- _disabled: {
1338
- bg: "initial"
1339
- }
1340
- }
1341
- }, mo = (e) => {
1342
- const { colorScheme: t, theme: a } = e;
1343
- if (t === "gray")
1344
- return {
1345
- color: c("gray.800", "whiteAlpha.900")(e),
1346
- _hover: {
1347
- bg: c("gray.100", "whiteAlpha.200")(e)
1348
- },
1349
- _active: { bg: c("gray.200", "whiteAlpha.300")(e) }
1350
- };
1351
- const i = xe(`${t}.200`, 0.12)(a), l = xe(`${t}.200`, 0.24)(a);
1352
- return {
1353
- color: c(`${t}.600`, `${t}.200`)(e),
1354
- bg: "transparent",
1355
- _hover: {
1356
- bg: c(`${t}.50`, i)(e)
1357
- },
1358
- _active: {
1359
- bg: c(`${t}.100`, l)(e)
1360
- }
1361
- };
1362
- }, os = (e) => {
1363
- const { colorScheme: t } = e, a = c("gray.200", "whiteAlpha.300")(e);
1364
- return {
1365
- border: "1px solid",
1366
- borderColor: t === "gray" ? a : "currentColor",
1367
- ".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)": { marginEnd: "-1px" },
1368
- ".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)": { marginBottom: "-1px" },
1369
- ...F(mo, e)
1370
- };
1371
- }, ns = {
1372
- yellow: {
1373
- bg: "yellow.400",
1374
- color: "black",
1375
- hoverBg: "yellow.500",
1376
- activeBg: "yellow.600"
1377
- },
1378
- cyan: {
1379
- bg: "cyan.400",
1380
- color: "black",
1381
- hoverBg: "cyan.500",
1382
- activeBg: "cyan.600"
1383
- }
1384
- }, as = (e) => {
1385
- const { colorScheme: t } = e;
1386
- if (t === "gray") {
1387
- const p = c("gray.100", "whiteAlpha.200")(e);
1388
- return {
1389
- bg: p,
1390
- color: c("gray.800", "whiteAlpha.900")(e),
1391
- _hover: {
1392
- bg: c("gray.200", "whiteAlpha.300")(e),
1393
- _disabled: {
1394
- bg: p
1395
- }
1396
- },
1397
- _active: { bg: c("gray.300", "whiteAlpha.400")(e) }
1398
- };
1399
- }
1400
- const {
1401
- bg: a = `${t}.500`,
1402
- color: i = "white",
1403
- hoverBg: l = `${t}.600`,
1404
- activeBg: b = `${t}.700`
1405
- } = ns[t] ?? {}, f = c(a, `${t}.200`)(e);
1406
- return {
1407
- bg: f,
1408
- color: c(i, "gray.800")(e),
1409
- _hover: {
1410
- bg: c(l, `${t}.300`)(e),
1411
- _disabled: {
1412
- bg: f
1413
- }
1414
- },
1415
- _active: { bg: c(b, `${t}.400`)(e) }
1416
- };
1417
- }, is = (e) => {
1418
- const { colorScheme: t } = e;
1419
- return {
1420
- padding: 0,
1421
- height: "auto",
1422
- lineHeight: "normal",
1423
- verticalAlign: "baseline",
1424
- color: c(`${t}.500`, `${t}.200`)(e),
1425
- _hover: {
1426
- textDecoration: "underline",
1427
- _disabled: {
1428
- textDecoration: "none"
1429
- }
1430
- },
1431
- _active: {
1432
- color: c(`${t}.700`, `${t}.500`)(e)
1433
- }
1434
- };
1435
- }, ss = {
1436
- bg: "none",
1437
- color: "inherit",
1438
- display: "inline",
1439
- lineHeight: "inherit",
1440
- m: "0",
1441
- p: "0"
1442
- }, ls = {
1443
- ghost: mo,
1444
- outline: os,
1445
- solid: as,
1446
- link: is,
1447
- unstyled: ss
1448
- }, cs = {
1449
- lg: {
1450
- h: "12",
1451
- minW: "12",
1452
- fontSize: "lg",
1453
- px: "6"
1454
- },
1455
- md: {
1456
- h: "10",
1457
- minW: "10",
1458
- fontSize: "md",
1459
- px: "4"
1460
- },
1461
- sm: {
1462
- h: "8",
1463
- minW: "8",
1464
- fontSize: "sm",
1465
- px: "3"
1466
- },
1467
- xs: {
1468
- h: "6",
1469
- minW: "6",
1470
- fontSize: "xs",
1471
- px: "2"
1472
- }
1473
- }, ds = {
1474
- baseStyle: rs,
1475
- variants: ls,
1476
- sizes: cs,
1477
- defaultProps: {
1478
- variant: "solid",
1479
- size: "md",
1480
- colorScheme: "gray"
1481
- }
1482
- }, { definePartsStyle: ne, defineMultiStyleConfig: bs } = S(Va.keys), mt = d("card-bg"), V = d("card-padding"), po = d("card-shadow"), st = d("card-radius"), yo = d("card-border-width", "0"), So = d("card-border-color"), fs = ne({
1483
- container: {
1484
- [mt.variable]: "colors.chakra-body-bg",
1485
- backgroundColor: mt.reference,
1486
- boxShadow: po.reference,
1487
- borderRadius: st.reference,
1488
- color: "chakra-body-text",
1489
- borderWidth: yo.reference,
1490
- borderColor: So.reference
1491
- },
1492
- body: {
1493
- padding: V.reference,
1494
- flex: "1 1 0%"
1495
- },
1496
- header: {
1497
- padding: V.reference
1498
- },
1499
- footer: {
1500
- padding: V.reference
1501
- }
1502
- }), us = {
1503
- sm: ne({
1504
- container: {
1505
- [st.variable]: "radii.base",
1506
- [V.variable]: "space.3"
1507
- }
1508
- }),
1509
- md: ne({
1510
- container: {
1511
- [st.variable]: "radii.md",
1512
- [V.variable]: "space.5"
1513
- }
1514
- }),
1515
- lg: ne({
1516
- container: {
1517
- [st.variable]: "radii.xl",
1518
- [V.variable]: "space.7"
1519
- }
1520
- })
1521
- }, gs = {
1522
- elevated: ne({
1523
- container: {
1524
- [po.variable]: "shadows.base",
1525
- _dark: {
1526
- [mt.variable]: "colors.gray.700"
1527
- }
1528
- }
1529
- }),
1530
- outline: ne({
1531
- container: {
1532
- [yo.variable]: "1px",
1533
- [So.variable]: "colors.chakra-border-color"
1534
- }
1535
- }),
1536
- filled: ne({
1537
- container: {
1538
- [mt.variable]: "colors.chakra-subtle-bg"
1539
- }
1540
- }),
1541
- unstyled: {
1542
- body: {
1543
- [V.variable]: 0
1544
- },
1545
- header: {
1546
- [V.variable]: 0
1547
- },
1548
- footer: {
1549
- [V.variable]: 0
1550
- }
1551
- }
1552
- }, hs = bs({
1553
- baseStyle: fs,
1554
- variants: gs,
1555
- sizes: us,
1556
- defaultProps: {
1557
- variant: "elevated",
1558
- size: "md"
1559
- }
1560
- }), { definePartsStyle: lt, defineMultiStyleConfig: ms } = S(_a.keys), Re = d("checkbox-size"), ps = (e) => {
1561
- const { colorScheme: t } = e;
1562
- return {
1563
- w: Re.reference,
1564
- h: Re.reference,
1565
- transitionProperty: "box-shadow",
1566
- transitionDuration: "normal",
1567
- border: "2px solid",
1568
- borderRadius: "sm",
1569
- borderColor: "inherit",
1570
- color: "white",
1571
- _checked: {
1572
- bg: c(`${t}.500`, `${t}.200`)(e),
1573
- borderColor: c(`${t}.500`, `${t}.200`)(e),
1574
- color: c("white", "gray.900")(e),
1575
- _hover: {
1576
- bg: c(`${t}.600`, `${t}.300`)(e),
1577
- borderColor: c(`${t}.600`, `${t}.300`)(e)
1578
- },
1579
- _disabled: {
1580
- borderColor: c("gray.200", "transparent")(e),
1581
- bg: c("gray.200", "whiteAlpha.300")(e),
1582
- color: c("gray.500", "whiteAlpha.500")(e)
1583
- }
1584
- },
1585
- _indeterminate: {
1586
- bg: c(`${t}.500`, `${t}.200`)(e),
1587
- borderColor: c(`${t}.500`, `${t}.200`)(e),
1588
- color: c("white", "gray.900")(e)
1589
- },
1590
- _disabled: {
1591
- bg: c("gray.100", "whiteAlpha.100")(e),
1592
- borderColor: c("gray.100", "transparent")(e)
1593
- },
1594
- _focusVisible: {
1595
- boxShadow: "outline"
1596
- },
1597
- _invalid: {
1598
- borderColor: c("red.500", "red.300")(e)
1599
- }
1600
- };
1601
- }, ys = {
1602
- _disabled: { cursor: "not-allowed" }
1603
- }, Ss = {
1604
- userSelect: "none",
1605
- _disabled: { opacity: 0.4 }
1606
- }, vs = {
1607
- transitionProperty: "transform",
1608
- transitionDuration: "normal"
1609
- }, xs = lt((e) => ({
1610
- icon: vs,
1611
- container: ys,
1612
- control: F(ps, e),
1613
- label: Ss
1614
- })), $s = {
1615
- sm: lt({
1616
- control: { [Re.variable]: "sizes.3" },
1617
- label: { fontSize: "sm" },
1618
- icon: { fontSize: "3xs" }
1619
- }),
1620
- md: lt({
1621
- control: { [Re.variable]: "sizes.4" },
1622
- label: { fontSize: "md" },
1623
- icon: { fontSize: "2xs" }
1624
- }),
1625
- lg: lt({
1626
- control: { [Re.variable]: "sizes.5" },
1627
- label: { fontSize: "lg" },
1628
- icon: { fontSize: "2xs" }
1629
- })
1630
- }, X = ms({
1631
- baseStyle: xs,
1632
- sizes: $s,
1633
- defaultProps: {
1634
- size: "md",
1635
- colorScheme: "blue"
1636
- }
1637
- }), He = z("close-button-size"), Ae = z("close-button-bg"), _s = {
1638
- w: [He.reference],
1639
- h: [He.reference],
1640
- borderRadius: "md",
1641
- transitionProperty: "common",
1642
- transitionDuration: "normal",
1643
- _disabled: {
1644
- opacity: 0.4,
1645
- cursor: "not-allowed",
1646
- boxShadow: "none"
1647
- },
1648
- _hover: {
1649
- [Ae.variable]: "colors.blackAlpha.100",
1650
- _dark: {
1651
- [Ae.variable]: "colors.whiteAlpha.100"
1652
- }
1653
- },
1654
- _active: {
1655
- [Ae.variable]: "colors.blackAlpha.200",
1656
- _dark: {
1657
- [Ae.variable]: "colors.whiteAlpha.200"
1658
- }
1659
- },
1660
- _focusVisible: {
1661
- boxShadow: "outline"
1662
- },
1663
- bg: Ae.reference
1664
- }, zs = {
1665
- lg: {
1666
- [He.variable]: "sizes.10",
1667
- fontSize: "md"
1668
- },
1669
- md: {
1670
- [He.variable]: "sizes.8",
1671
- fontSize: "xs"
1672
- },
1673
- sm: {
1674
- [He.variable]: "sizes.6",
1675
- fontSize: "2xs"
1676
- }
1677
- }, ws = {
1678
- baseStyle: _s,
1679
- sizes: zs,
1680
- defaultProps: {
1681
- size: "md"
1682
- }
1683
- }, { variants: Cs, defaultProps: ks } = Ie, As = {
1684
- fontFamily: "mono",
1685
- fontSize: "sm",
1686
- px: "0.2em",
1687
- borderRadius: "sm",
1688
- bg: _.bg.reference,
1689
- color: _.color.reference,
1690
- boxShadow: _.shadow.reference
1691
- }, Fs = {
1692
- baseStyle: As,
1693
- variants: Cs,
1694
- defaultProps: ks
1695
- }, Ts = {
1696
- w: "100%",
1697
- mx: "auto",
1698
- maxW: "prose",
1699
- px: "4"
1700
- }, Bs = {
1701
- baseStyle: Ts
1702
- }, Ps = {
1703
- opacity: 0.6,
1704
- borderColor: "inherit"
1705
- }, Es = {
1706
- borderStyle: "solid"
1707
- }, Ds = {
1708
- borderStyle: "dashed"
1709
- }, Ms = {
1710
- solid: Es,
1711
- dashed: Ds
1712
- }, js = {
1713
- baseStyle: Ps,
1714
- variants: Ms,
1715
- defaultProps: {
1716
- variant: "solid"
1717
- }
1718
- }, { definePartsStyle: Zt, defineMultiStyleConfig: Is } = S(za.keys), Mt = d("drawer-bg"), jt = d("drawer-box-shadow");
1719
- function de(e) {
1720
- return Zt(e === "full" ? {
1721
- dialog: { maxW: "100vw", h: "100vh" }
1722
- } : {
1723
- dialog: { maxW: e }
1724
- });
1725
- }
1726
- const Rs = {
1727
- bg: "blackAlpha.600",
1728
- zIndex: "modal"
1729
- }, Hs = {
1730
- display: "flex",
1731
- zIndex: "modal",
1732
- justifyContent: "center"
1733
- }, Os = (e) => {
1734
- const { isFullHeight: t } = e;
1735
- return {
1736
- ...t && { height: "100vh" },
1737
- zIndex: "modal",
1738
- maxH: "100vh",
1739
- color: "inherit",
1740
- [Mt.variable]: "colors.white",
1741
- [jt.variable]: "shadows.lg",
1742
- _dark: {
1743
- [Mt.variable]: "colors.gray.700",
1744
- [jt.variable]: "shadows.dark-lg"
1745
- },
1746
- bg: Mt.reference,
1747
- boxShadow: jt.reference
1748
- };
1749
- }, Ws = {
1750
- px: "6",
1751
- py: "4",
1752
- fontSize: "xl",
1753
- fontWeight: "semibold"
1754
- }, Ls = {
1755
- position: "absolute",
1756
- top: "2",
1757
- insetEnd: "3"
1758
- }, Vs = {
1759
- px: "6",
1760
- py: "2",
1761
- flex: "1",
1762
- overflow: "auto"
1763
- }, Ns = {
1764
- px: "6",
1765
- py: "4"
1766
- }, qs = Zt((e) => ({
1767
- overlay: Rs,
1768
- dialogContainer: Hs,
1769
- dialog: F(Os, e),
1770
- header: Ws,
1771
- closeButton: Ls,
1772
- body: Vs,
1773
- footer: Ns
1774
- })), Us = {
1775
- xs: de("xs"),
1776
- sm: de("md"),
1777
- md: de("lg"),
1778
- lg: de("2xl"),
1779
- xl: de("4xl"),
1780
- full: de("full")
1781
- }, Gs = Is({
1782
- baseStyle: qs,
1783
- sizes: Us,
1784
- defaultProps: {
1785
- size: "xs"
1786
- }
1787
- }), { definePartsStyle: Ks, defineMultiStyleConfig: Xs } = S(wa.keys), Ys = {
1788
- borderRadius: "md",
1789
- py: "1",
1790
- transitionProperty: "common",
1791
- transitionDuration: "normal"
1792
- }, Js = {
1793
- borderRadius: "md",
1794
- py: "1",
1795
- transitionProperty: "common",
1796
- transitionDuration: "normal",
1797
- width: "full",
1798
- _focusVisible: { boxShadow: "outline" },
1799
- _placeholder: { opacity: 0.6 }
1800
- }, Zs = {
1801
- borderRadius: "md",
1802
- py: "1",
1803
- transitionProperty: "common",
1804
- transitionDuration: "normal",
1805
- width: "full",
1806
- _focusVisible: { boxShadow: "outline" },
1807
- _placeholder: { opacity: 0.6 }
1808
- }, Qs = Ks({
1809
- preview: Ys,
1810
- input: Js,
1811
- textarea: Zs
1812
- }), el = Xs({
1813
- baseStyle: Qs
1814
- }), { definePartsStyle: tl, defineMultiStyleConfig: rl } = S(Ca.keys), ye = d("form-control-color"), ol = {
1815
- marginStart: "1",
1816
- [ye.variable]: "colors.red.500",
1817
- _dark: {
1818
- [ye.variable]: "colors.red.300"
1819
- },
1820
- color: ye.reference
1821
- }, nl = {
1822
- mt: "2",
1823
- [ye.variable]: "colors.gray.600",
1824
- _dark: {
1825
- [ye.variable]: "colors.whiteAlpha.600"
1826
- },
1827
- color: ye.reference,
1828
- lineHeight: "normal",
1829
- fontSize: "sm"
1830
- }, al = tl({
1831
- container: {
1832
- width: "100%",
1833
- position: "relative"
1834
- },
1835
- requiredIndicator: ol,
1836
- helperText: nl
1837
- }), il = rl({
1838
- baseStyle: al
1839
- }), { definePartsStyle: sl, defineMultiStyleConfig: ll } = S(ka.keys), Se = d("form-error-color"), cl = {
1840
- [Se.variable]: "colors.red.500",
1841
- _dark: {
1842
- [Se.variable]: "colors.red.300"
1843
- },
1844
- color: Se.reference,
1845
- mt: "2",
1846
- fontSize: "sm",
1847
- lineHeight: "normal"
1848
- }, dl = {
1849
- marginEnd: "0.5em",
1850
- [Se.variable]: "colors.red.500",
1851
- _dark: {
1852
- [Se.variable]: "colors.red.300"
1853
- },
1854
- color: Se.reference
1855
- }, bl = sl({
1856
- text: cl,
1857
- icon: dl
1858
- }), fl = ll({
1859
- baseStyle: bl
1860
- }), ul = {
1861
- fontSize: "md",
1862
- marginEnd: "3",
1863
- mb: "2",
1864
- fontWeight: "medium",
1865
- transitionProperty: "common",
1866
- transitionDuration: "normal",
1867
- opacity: 1,
1868
- _disabled: {
1869
- opacity: 0.4
1870
- }
1871
- }, gl = {
1872
- baseStyle: ul
1873
- }, hl = {
1874
- fontFamily: "heading",
1875
- fontWeight: "bold"
1876
- }, ml = {
1877
- "4xl": {
1878
- fontSize: ["6xl", null, "7xl"],
1879
- lineHeight: 1
1880
- },
1881
- "3xl": {
1882
- fontSize: ["5xl", null, "6xl"],
1883
- lineHeight: 1
1884
- },
1885
- "2xl": {
1886
- fontSize: ["4xl", null, "5xl"],
1887
- lineHeight: [1.2, null, 1]
1888
- },
1889
- xl: {
1890
- fontSize: ["3xl", null, "4xl"],
1891
- lineHeight: [1.33, null, 1.2]
1892
- },
1893
- lg: {
1894
- fontSize: ["2xl", null, "3xl"],
1895
- lineHeight: [1.33, null, 1.2]
1896
- },
1897
- md: {
1898
- fontSize: "xl",
1899
- lineHeight: 1.2
1900
- },
1901
- sm: {
1902
- fontSize: "md",
1903
- lineHeight: 1.2
1904
- },
1905
- xs: {
1906
- fontSize: "sm",
1907
- lineHeight: 1.2
1908
- }
1909
- }, pl = {
1910
- baseStyle: hl,
1911
- sizes: ml,
1912
- defaultProps: {
1913
- size: "xl"
1914
- }
1915
- }, { definePartsStyle: L, defineMultiStyleConfig: yl } = S(Aa.keys), be = d("input-height"), fe = d("input-font-size"), ue = d("input-padding"), ge = d("input-border-radius"), Sl = L({
1916
- addon: {
1917
- height: be.reference,
1918
- fontSize: fe.reference,
1919
- px: ue.reference,
1920
- borderRadius: ge.reference
1921
- },
1922
- field: {
1923
- width: "100%",
1924
- height: be.reference,
1925
- fontSize: fe.reference,
1926
- px: ue.reference,
1927
- borderRadius: ge.reference,
1928
- minWidth: 0,
1929
- outline: 0,
1930
- position: "relative",
1931
- appearance: "none",
1932
- transitionProperty: "common",
1933
- transitionDuration: "normal",
1934
- _disabled: {
1935
- opacity: 0.4,
1936
- cursor: "not-allowed"
1937
- }
1938
- }
1939
- }), K = {
1940
- lg: {
1941
- [fe.variable]: "fontSizes.lg",
1942
- [ue.variable]: "space.4",
1943
- [ge.variable]: "radii.md",
1944
- [be.variable]: "sizes.12"
1945
- },
1946
- md: {
1947
- [fe.variable]: "fontSizes.md",
1948
- [ue.variable]: "space.4",
1949
- [ge.variable]: "radii.md",
1950
- [be.variable]: "sizes.10"
1951
- },
1952
- sm: {
1953
- [fe.variable]: "fontSizes.sm",
1954
- [ue.variable]: "space.3",
1955
- [ge.variable]: "radii.sm",
1956
- [be.variable]: "sizes.8"
1957
- },
1958
- xs: {
1959
- [fe.variable]: "fontSizes.xs",
1960
- [ue.variable]: "space.2",
1961
- [ge.variable]: "radii.sm",
1962
- [be.variable]: "sizes.6"
1963
- }
1964
- }, vl = {
1965
- lg: L({
1966
- field: K.lg,
1967
- group: K.lg
1968
- }),
1969
- md: L({
1970
- field: K.md,
1971
- group: K.md
1972
- }),
1973
- sm: L({
1974
- field: K.sm,
1975
- group: K.sm
1976
- }),
1977
- xs: L({
1978
- field: K.xs,
1979
- group: K.xs
1980
- })
1981
- };
1982
- function nr(e) {
1983
- const { focusBorderColor: t, errorBorderColor: a } = e;
1984
- return {
1985
- focusBorderColor: t || c("blue.500", "blue.300")(e),
1986
- errorBorderColor: a || c("red.500", "red.300")(e)
1987
- };
1988
- }
1989
- const xl = L((e) => {
1990
- const { theme: t } = e, { focusBorderColor: a, errorBorderColor: i } = nr(e);
1991
- return {
1992
- field: {
1993
- border: "1px solid",
1994
- borderColor: "inherit",
1995
- bg: "inherit",
1996
- _hover: {
1997
- borderColor: c("gray.300", "whiteAlpha.400")(e)
1998
- },
1999
- _readOnly: {
2000
- boxShadow: "none !important",
2001
- userSelect: "all"
2002
- },
2003
- _invalid: {
2004
- borderColor: A(t, i),
2005
- boxShadow: `0 0 0 1px ${A(t, i)}`
2006
- },
2007
- _focusVisible: {
2008
- zIndex: 1,
2009
- borderColor: A(t, a),
2010
- boxShadow: `0 0 0 1px ${A(t, a)}`
2011
- }
2012
- },
2013
- addon: {
2014
- border: "1px solid",
2015
- borderColor: c("inherit", "whiteAlpha.50")(e),
2016
- bg: c("gray.100", "whiteAlpha.300")(e)
2017
- }
2018
- };
2019
- }), $l = L((e) => {
2020
- const { theme: t } = e, { focusBorderColor: a, errorBorderColor: i } = nr(e);
2021
- return {
2022
- field: {
2023
- border: "2px solid",
2024
- borderColor: "transparent",
2025
- bg: c("gray.100", "whiteAlpha.50")(e),
2026
- _hover: {
2027
- bg: c("gray.200", "whiteAlpha.100")(e)
2028
- },
2029
- _readOnly: {
2030
- boxShadow: "none !important",
2031
- userSelect: "all"
2032
- },
2033
- _invalid: {
2034
- borderColor: A(t, i)
2035
- },
2036
- _focusVisible: {
2037
- bg: "transparent",
2038
- borderColor: A(t, a)
2039
- }
2040
- },
2041
- addon: {
2042
- border: "2px solid",
2043
- borderColor: "transparent",
2044
- bg: c("gray.100", "whiteAlpha.50")(e)
2045
- }
2046
- };
2047
- }), _l = L((e) => {
2048
- const { theme: t } = e, { focusBorderColor: a, errorBorderColor: i } = nr(e);
2049
- return {
2050
- field: {
2051
- borderBottom: "1px solid",
2052
- borderColor: "inherit",
2053
- borderRadius: "0",
2054
- px: "0",
2055
- bg: "transparent",
2056
- _readOnly: {
2057
- boxShadow: "none !important",
2058
- userSelect: "all"
2059
- },
2060
- _invalid: {
2061
- borderColor: A(t, i),
2062
- boxShadow: `0px 1px 0px 0px ${A(t, i)}`
2063
- },
2064
- _focusVisible: {
2065
- borderColor: A(t, a),
2066
- boxShadow: `0px 1px 0px 0px ${A(t, a)}`
2067
- }
2068
- },
2069
- addon: {
2070
- borderBottom: "2px solid",
2071
- borderColor: "inherit",
2072
- borderRadius: "0",
2073
- px: "0",
2074
- bg: "transparent"
2075
- }
2076
- };
2077
- }), zl = L({
2078
- field: {
2079
- bg: "transparent",
2080
- px: "0",
2081
- height: "auto"
2082
- },
2083
- addon: {
2084
- bg: "transparent",
2085
- px: "0",
2086
- height: "auto"
2087
- }
2088
- }), wl = {
2089
- outline: xl,
2090
- filled: $l,
2091
- flushed: _l,
2092
- unstyled: zl
2093
- }, h = yl({
2094
- baseStyle: Sl,
2095
- sizes: vl,
2096
- variants: wl,
2097
- defaultProps: {
2098
- size: "md",
2099
- variant: "outline"
2100
- }
2101
- }), It = d("kbd-bg"), Cl = {
2102
- [It.variable]: "colors.gray.100",
2103
- _dark: {
2104
- [It.variable]: "colors.whiteAlpha.100"
2105
- },
2106
- bg: It.reference,
2107
- borderRadius: "md",
2108
- borderWidth: "1px",
2109
- borderBottomWidth: "3px",
2110
- fontSize: "0.8em",
2111
- fontWeight: "bold",
2112
- lineHeight: "normal",
2113
- px: "0.4em",
2114
- whiteSpace: "nowrap"
2115
- }, kl = {
2116
- baseStyle: Cl
2117
- }, Al = {
2118
- transitionProperty: "common",
2119
- transitionDuration: "fast",
2120
- transitionTimingFunction: "ease-out",
2121
- cursor: "pointer",
2122
- textDecoration: "none",
2123
- outline: "none",
2124
- color: "inherit",
2125
- _hover: {
2126
- textDecoration: "underline"
2127
- },
2128
- _focusVisible: {
2129
- boxShadow: "outline"
2130
- }
2131
- }, Fl = {
2132
- baseStyle: Al
2133
- }, { defineMultiStyleConfig: Tl, definePartsStyle: Bl } = S(Fa.keys), Pl = {
2134
- marginEnd: "2",
2135
- display: "inline",
2136
- verticalAlign: "text-bottom"
2137
- }, El = Bl({
2138
- icon: Pl
2139
- }), Dl = Tl({
2140
- baseStyle: El
2141
- }), { defineMultiStyleConfig: Ml, definePartsStyle: jl } = S(Ta.keys), I = d("menu-bg"), Rt = d("menu-shadow"), Il = {
2142
- [I.variable]: "#fff",
2143
- [Rt.variable]: "shadows.sm",
2144
- _dark: {
2145
- [I.variable]: "colors.gray.700",
2146
- [Rt.variable]: "shadows.dark-lg"
2147
- },
2148
- color: "inherit",
2149
- minW: "3xs",
2150
- py: "2",
2151
- zIndex: "dropdown",
2152
- borderRadius: "md",
2153
- borderWidth: "1px",
2154
- bg: I.reference,
2155
- boxShadow: Rt.reference
2156
- }, Rl = {
2157
- py: "1.5",
2158
- px: "3",
2159
- transitionProperty: "background",
2160
- transitionDuration: "ultra-fast",
2161
- transitionTimingFunction: "ease-in",
2162
- _focus: {
2163
- [I.variable]: "colors.gray.100",
2164
- _dark: {
2165
- [I.variable]: "colors.whiteAlpha.100"
2166
- }
2167
- },
2168
- _active: {
2169
- [I.variable]: "colors.gray.200",
2170
- _dark: {
2171
- [I.variable]: "colors.whiteAlpha.200"
2172
- }
2173
- },
2174
- _expanded: {
2175
- [I.variable]: "colors.gray.100",
2176
- _dark: {
2177
- [I.variable]: "colors.whiteAlpha.100"
2178
- }
2179
- },
2180
- _disabled: {
2181
- opacity: 0.4,
2182
- cursor: "not-allowed"
2183
- },
2184
- bg: I.reference
2185
- }, Hl = {
2186
- mx: 4,
2187
- my: 2,
2188
- fontWeight: "semibold",
2189
- fontSize: "sm"
2190
- }, Ol = {
2191
- display: "inline-flex",
2192
- alignItems: "center",
2193
- justifyContent: "center",
2194
- flexShrink: 0
2195
- }, Wl = {
2196
- opacity: 0.6
2197
- }, Ll = {
2198
- border: 0,
2199
- borderBottom: "1px solid",
2200
- borderColor: "inherit",
2201
- my: "2",
2202
- opacity: 0.6
2203
- }, Vl = {
2204
- transitionProperty: "common",
2205
- transitionDuration: "normal"
2206
- }, Nl = jl({
2207
- button: Vl,
2208
- list: Il,
2209
- item: Rl,
2210
- groupTitle: Hl,
2211
- icon: Ol,
2212
- command: Wl,
2213
- divider: Ll
2214
- }), ql = Ml({
2215
- baseStyle: Nl
2216
- }), { defineMultiStyleConfig: Ul, definePartsStyle: Qt } = S(Ba.keys), Ht = d("modal-bg"), Ot = d("modal-shadow"), Gl = {
2217
- bg: "blackAlpha.600",
2218
- zIndex: "modal"
2219
- }, Kl = (e) => {
2220
- const { isCentered: t, scrollBehavior: a } = e;
2221
- return {
2222
- display: "flex",
2223
- zIndex: "modal",
2224
- justifyContent: "center",
2225
- alignItems: t ? "center" : "flex-start",
2226
- overflow: a === "inside" ? "hidden" : "auto",
2227
- overscrollBehaviorY: "none"
2228
- };
2229
- }, Xl = (e) => {
2230
- const { isCentered: t, scrollBehavior: a } = e;
2231
- return {
2232
- borderRadius: "md",
2233
- color: "inherit",
2234
- my: t ? "auto" : "16",
2235
- mx: t ? "auto" : void 0,
2236
- zIndex: "modal",
2237
- maxH: a === "inside" ? "calc(100% - 7.5rem)" : void 0,
2238
- [Ht.variable]: "colors.white",
2239
- [Ot.variable]: "shadows.lg",
2240
- _dark: {
2241
- [Ht.variable]: "colors.gray.700",
2242
- [Ot.variable]: "shadows.dark-lg"
2243
- },
2244
- bg: Ht.reference,
2245
- boxShadow: Ot.reference
2246
- };
2247
- }, Yl = {
2248
- px: "6",
2249
- py: "4",
2250
- fontSize: "xl",
2251
- fontWeight: "semibold"
2252
- }, Jl = {
2253
- position: "absolute",
2254
- top: "2",
2255
- insetEnd: "3"
2256
- }, Zl = (e) => {
2257
- const { scrollBehavior: t } = e;
2258
- return {
2259
- px: "6",
2260
- py: "2",
2261
- flex: "1",
2262
- overflow: t === "inside" ? "auto" : void 0
2263
- };
2264
- }, Ql = {
2265
- px: "6",
2266
- py: "4"
2267
- }, ec = Qt((e) => ({
2268
- overlay: Gl,
2269
- dialogContainer: F(Kl, e),
2270
- dialog: F(Xl, e),
2271
- header: Yl,
2272
- closeButton: Jl,
2273
- body: F(Zl, e),
2274
- footer: Ql
2275
- }));
2276
- function M(e) {
2277
- return Qt(e === "full" ? {
2278
- dialog: {
2279
- maxW: "100vw",
2280
- minH: "$100vh",
2281
- my: "0",
2282
- borderRadius: "0"
2283
- }
2284
- } : {
2285
- dialog: { maxW: e }
2286
- });
2287
- }
2288
- const tc = {
2289
- xs: M("xs"),
2290
- sm: M("sm"),
2291
- md: M("md"),
2292
- lg: M("lg"),
2293
- xl: M("xl"),
2294
- "2xl": M("2xl"),
2295
- "3xl": M("3xl"),
2296
- "4xl": M("4xl"),
2297
- "5xl": M("5xl"),
2298
- "6xl": M("6xl"),
2299
- full: M("full")
2300
- }, rc = Ul({
2301
- baseStyle: ec,
2302
- sizes: tc,
2303
- defaultProps: { size: "md" }
2304
- }), vo = {
2305
- letterSpacings: {
2306
- tighter: "-0.05em",
2307
- tight: "-0.025em",
2308
- normal: "0",
2309
- wide: "0.025em",
2310
- wider: "0.05em",
2311
- widest: "0.1em"
2312
- },
2313
- lineHeights: {
2314
- normal: "normal",
2315
- none: 1,
2316
- shorter: 1.25,
2317
- short: 1.375,
2318
- base: 1.5,
2319
- tall: 1.625,
2320
- taller: "2",
2321
- 3: ".75rem",
2322
- 4: "1rem",
2323
- 5: "1.25rem",
2324
- 6: "1.5rem",
2325
- 7: "1.75rem",
2326
- 8: "2rem",
2327
- 9: "2.25rem",
2328
- 10: "2.5rem"
2329
- },
2330
- fontWeights: {
2331
- hairline: 100,
2332
- thin: 200,
2333
- light: 300,
2334
- normal: 400,
2335
- medium: 500,
2336
- semibold: 600,
2337
- bold: 700,
2338
- extrabold: 800,
2339
- black: 900
2340
- },
2341
- fonts: {
2342
- heading: '-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
2343
- body: '-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
2344
- mono: 'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
2345
- },
2346
- fontSizes: {
2347
- "3xs": "0.45rem",
2348
- "2xs": "0.625rem",
2349
- xs: "0.75rem",
2350
- sm: "0.875rem",
2351
- md: "1rem",
2352
- lg: "1.125rem",
2353
- xl: "1.25rem",
2354
- "2xl": "1.5rem",
2355
- "3xl": "1.875rem",
2356
- "4xl": "2.25rem",
2357
- "5xl": "3rem",
2358
- "6xl": "3.75rem",
2359
- "7xl": "4.5rem",
2360
- "8xl": "6rem",
2361
- "9xl": "8rem"
2362
- }
2363
- }, { defineMultiStyleConfig: oc, definePartsStyle: xo } = S(Pa.keys), ar = z("number-input-stepper-width"), $o = z("number-input-input-padding"), nc = O(ar).add("0.5rem").toString(), Wt = z("number-input-bg"), Lt = z("number-input-color"), Vt = z("number-input-border-color"), ac = {
2364
- [ar.variable]: "sizes.6",
2365
- [$o.variable]: nc
2366
- }, ic = (e) => {
2367
- var t;
2368
- return ((t = F(h.baseStyle, e)) == null ? void 0 : t.field) ?? {};
2369
- }, sc = {
2370
- width: ar.reference
2371
- }, lc = {
2372
- borderStart: "1px solid",
2373
- borderStartColor: Vt.reference,
2374
- color: Lt.reference,
2375
- bg: Wt.reference,
2376
- [Lt.variable]: "colors.chakra-body-text",
2377
- [Vt.variable]: "colors.chakra-border-color",
2378
- _dark: {
2379
- [Lt.variable]: "colors.whiteAlpha.800",
2380
- [Vt.variable]: "colors.whiteAlpha.300"
2381
- },
2382
- _active: {
2383
- [Wt.variable]: "colors.gray.200",
2384
- _dark: {
2385
- [Wt.variable]: "colors.whiteAlpha.300"
2386
- }
2387
- },
2388
- _disabled: {
2389
- opacity: 0.4,
2390
- cursor: "not-allowed"
2391
- }
2392
- }, cc = xo((e) => ({
2393
- root: ac,
2394
- field: F(ic, e) ?? {},
2395
- stepperGroup: sc,
2396
- stepper: lc
2397
- }));
2398
- function et(e) {
2399
- var b, f;
2400
- const t = (b = h.sizes) == null ? void 0 : b[e], a = {
2401
- lg: "md",
2402
- md: "md",
2403
- sm: "sm",
2404
- xs: "sm"
2405
- }, i = ((f = t.field) == null ? void 0 : f.fontSize) ?? "md", l = vo.fontSizes[i];
2406
- return xo({
2407
- field: {
2408
- ...t.field,
2409
- paddingInlineEnd: $o.reference,
2410
- verticalAlign: "top"
2411
- },
2412
- stepper: {
2413
- fontSize: O(l).multiply(0.75).toString(),
2414
- _first: {
2415
- borderTopEndRadius: a[e]
2416
- },
2417
- _last: {
2418
- borderBottomEndRadius: a[e],
2419
- mt: "-1px",
2420
- borderTopWidth: 1
2421
- }
2422
- }
2423
- });
2424
- }
2425
- const dc = {
2426
- xs: et("xs"),
2427
- sm: et("sm"),
2428
- md: et("md"),
2429
- lg: et("lg")
2430
- }, bc = oc({
2431
- baseStyle: cc,
2432
- sizes: dc,
2433
- variants: h.variants,
2434
- defaultProps: h.defaultProps
2435
- });
2436
- var qr;
2437
- const fc = {
2438
- ...(qr = h.baseStyle) == null ? void 0 : qr.field,
2439
- textAlign: "center"
2440
- }, uc = {
2441
- lg: {
2442
- fontSize: "lg",
2443
- w: 12,
2444
- h: 12,
2445
- borderRadius: "md"
2446
- },
2447
- md: {
2448
- fontSize: "md",
2449
- w: 10,
2450
- h: 10,
2451
- borderRadius: "md"
2452
- },
2453
- sm: {
2454
- fontSize: "sm",
2455
- w: 8,
2456
- h: 8,
2457
- borderRadius: "sm"
2458
- },
2459
- xs: {
2460
- fontSize: "xs",
2461
- w: 6,
2462
- h: 6,
2463
- borderRadius: "sm"
2464
- }
2465
- };
2466
- var Ur;
2467
- const gc = {
2468
- outline: (e) => {
2469
- var t, a;
2470
- return ((a = F((t = h.variants) == null ? void 0 : t.outline, e)) == null ? void 0 : a.field) ?? {};
2471
- },
2472
- flushed: (e) => {
2473
- var t, a;
2474
- return ((a = F((t = h.variants) == null ? void 0 : t.flushed, e)) == null ? void 0 : a.field) ?? {};
2475
- },
2476
- filled: (e) => {
2477
- var t, a;
2478
- return ((a = F((t = h.variants) == null ? void 0 : t.filled, e)) == null ? void 0 : a.field) ?? {};
2479
- },
2480
- unstyled: ((Ur = h.variants) == null ? void 0 : Ur.unstyled.field) ?? {}
2481
- }, hc = {
2482
- baseStyle: fc,
2483
- sizes: uc,
2484
- variants: gc,
2485
- defaultProps: h.defaultProps
2486
- }, { defineMultiStyleConfig: mc, definePartsStyle: pc } = S(Ea.keys), tt = z("popper-bg"), yc = z("popper-arrow-bg"), Lr = z("popper-arrow-shadow-color"), Sc = {
2487
- zIndex: "popover"
2488
- }, vc = {
2489
- [tt.variable]: "colors.white",
2490
- bg: tt.reference,
2491
- [yc.variable]: tt.reference,
2492
- [Lr.variable]: "colors.gray.200",
2493
- _dark: {
2494
- [tt.variable]: "colors.gray.700",
2495
- [Lr.variable]: "colors.whiteAlpha.300"
2496
- },
2497
- width: "xs",
2498
- border: "1px solid",
2499
- borderColor: "inherit",
2500
- borderRadius: "md",
2501
- boxShadow: "sm",
2502
- zIndex: "inherit",
2503
- _focusVisible: {
2504
- outline: 0,
2505
- boxShadow: "outline"
2506
- }
2507
- }, xc = {
2508
- px: 3,
2509
- py: 2,
2510
- borderBottomWidth: "1px"
2511
- }, $c = {
2512
- px: 3,
2513
- py: 2
2514
- }, _c = {
2515
- px: 3,
2516
- py: 2,
2517
- borderTopWidth: "1px"
2518
- }, zc = {
2519
- position: "absolute",
2520
- borderRadius: "md",
2521
- top: 1,
2522
- insetEnd: 2,
2523
- padding: 2
2524
- }, wc = pc({
2525
- popper: Sc,
2526
- content: vc,
2527
- header: xc,
2528
- body: $c,
2529
- footer: _c,
2530
- closeButton: zc
2531
- }), Cc = mc({
2532
- baseStyle: wc
2533
- }), { defineMultiStyleConfig: kc, definePartsStyle: Pe } = S(Da.keys), Ac = (e) => {
2534
- const { colorScheme: t, theme: a, isIndeterminate: i, hasStripe: l } = e, b = c(
2535
- Ir(),
2536
- Ir("1rem", "rgba(0,0,0,0.1)")
2537
- )(e), f = c(`${t}.500`, `${t}.200`)(e), p = `linear-gradient(
2538
- to right,
2539
- transparent 0%,
2540
- ${A(a, f)} 50%,
2541
- transparent 100%
2542
- )`;
2543
- return {
2544
- ...!i && l && b,
2545
- ...i ? { bgImage: p } : { bgColor: f }
2546
- };
2547
- }, Fc = {
2548
- lineHeight: "1",
2549
- fontSize: "0.25em",
2550
- fontWeight: "bold",
2551
- color: "white"
2552
- }, Tc = (e) => ({
2553
- bg: c("gray.100", "whiteAlpha.300")(e)
2554
- }), Bc = (e) => ({
2555
- transitionProperty: "common",
2556
- transitionDuration: "slow",
2557
- ...Ac(e)
2558
- }), Pc = Pe((e) => ({
2559
- label: Fc,
2560
- filledTrack: Bc(e),
2561
- track: Tc(e)
2562
- })), Ec = {
2563
- xs: Pe({
2564
- track: { h: "1" }
2565
- }),
2566
- sm: Pe({
2567
- track: { h: "2" }
2568
- }),
2569
- md: Pe({
2570
- track: { h: "3" }
2571
- }),
2572
- lg: Pe({
2573
- track: { h: "4" }
2574
- })
2575
- }, Dc = kc({
2576
- sizes: Ec,
2577
- baseStyle: Pc,
2578
- defaultProps: {
2579
- size: "md",
2580
- colorScheme: "blue"
2581
- }
2582
- }), { defineMultiStyleConfig: Mc, definePartsStyle: ct } = S(Ma.keys), jc = (e) => {
2583
- var a;
2584
- const t = (a = F(X.baseStyle, e)) == null ? void 0 : a.control;
2585
- return {
2586
- ...t,
2587
- borderRadius: "full",
2588
- _checked: {
2589
- ...t == null ? void 0 : t._checked,
2590
- _before: {
2591
- content: '""',
2592
- display: "inline-block",
2593
- pos: "relative",
2594
- w: "50%",
2595
- h: "50%",
2596
- borderRadius: "50%",
2597
- bg: "currentColor"
2598
- }
2599
- }
2600
- };
2601
- }, Ic = ct((e) => {
2602
- var t, a;
2603
- return {
2604
- label: (t = X.baseStyle) == null ? void 0 : t.call(X, e).label,
2605
- container: (a = X.baseStyle) == null ? void 0 : a.call(X, e).container,
2606
- control: jc(e)
2607
- };
2608
- }), Rc = {
2609
- md: ct({
2610
- control: { w: "4", h: "4" },
2611
- label: { fontSize: "md" }
2612
- }),
2613
- lg: ct({
2614
- control: { w: "5", h: "5" },
2615
- label: { fontSize: "lg" }
2616
- }),
2617
- sm: ct({
2618
- control: { width: "3", height: "3" },
2619
- label: { fontSize: "sm" }
2620
- })
2621
- }, Hc = Mc({
2622
- baseStyle: Ic,
2623
- sizes: Rc,
2624
- defaultProps: {
2625
- size: "md",
2626
- colorScheme: "blue"
2627
- }
2628
- }), { defineMultiStyleConfig: Oc, definePartsStyle: Wc } = S(ja.keys), rt = d("select-bg");
2629
- var Gr;
2630
- const Lc = {
2631
- ...(Gr = h.baseStyle) == null ? void 0 : Gr.field,
2632
- appearance: "none",
2633
- paddingBottom: "1px",
2634
- lineHeight: "normal",
2635
- bg: rt.reference,
2636
- [rt.variable]: "colors.white",
2637
- _dark: {
2638
- [rt.variable]: "colors.gray.700"
2639
- },
2640
- "> option, > optgroup": {
2641
- bg: rt.reference
2642
- }
2643
- }, Vc = {
2644
- width: "6",
2645
- height: "100%",
2646
- insetEnd: "2",
2647
- position: "relative",
2648
- color: "currentColor",
2649
- fontSize: "xl",
2650
- _disabled: {
2651
- opacity: 0.5
2652
- }
2653
- }, Nc = Wc({
2654
- field: Lc,
2655
- icon: Vc
2656
- }), ot = {
2657
- paddingInlineEnd: "8"
2658
- };
2659
- var Kr, Xr, Yr, Jr, Zr, Qr, eo, to;
2660
- const qc = {
2661
- lg: {
2662
- ...(Kr = h.sizes) == null ? void 0 : Kr.lg,
2663
- field: {
2664
- ...(Xr = h.sizes) == null ? void 0 : Xr.lg.field,
2665
- ...ot
2666
- }
2667
- },
2668
- md: {
2669
- ...(Yr = h.sizes) == null ? void 0 : Yr.md,
2670
- field: {
2671
- ...(Jr = h.sizes) == null ? void 0 : Jr.md.field,
2672
- ...ot
2673
- }
2674
- },
2675
- sm: {
2676
- ...(Zr = h.sizes) == null ? void 0 : Zr.sm,
2677
- field: {
2678
- ...(Qr = h.sizes) == null ? void 0 : Qr.sm.field,
2679
- ...ot
2680
- }
2681
- },
2682
- xs: {
2683
- ...(eo = h.sizes) == null ? void 0 : eo.xs,
2684
- field: {
2685
- ...(to = h.sizes) == null ? void 0 : to.xs.field,
2686
- ...ot
2687
- },
2688
- icon: {
2689
- insetEnd: "1"
2690
- }
2691
- }
2692
- }, Uc = Oc({
2693
- baseStyle: Nc,
2694
- sizes: qc,
2695
- variants: h.variants,
2696
- defaultProps: h.defaultProps
2697
- }), Nt = d("skeleton-start-color"), qt = d("skeleton-end-color"), Gc = {
2698
- [Nt.variable]: "colors.gray.100",
2699
- [qt.variable]: "colors.gray.400",
2700
- _dark: {
2701
- [Nt.variable]: "colors.gray.800",
2702
- [qt.variable]: "colors.gray.600"
2703
- },
2704
- background: Nt.reference,
2705
- borderColor: qt.reference,
2706
- opacity: 0.7,
2707
- borderRadius: "sm"
2708
- }, Kc = {
2709
- baseStyle: Gc
2710
- }, Ut = d("skip-link-bg"), Xc = {
2711
- borderRadius: "md",
2712
- fontWeight: "semibold",
2713
- _focusVisible: {
2714
- boxShadow: "outline",
2715
- padding: "4",
2716
- position: "fixed",
2717
- top: "6",
2718
- insetStart: "6",
2719
- [Ut.variable]: "colors.white",
2720
- _dark: {
2721
- [Ut.variable]: "colors.gray.700"
2722
- },
2723
- bg: Ut.reference
2724
- }
2725
- }, Yc = {
2726
- baseStyle: Xc
2727
- }, { defineMultiStyleConfig: Jc, definePartsStyle: xt } = S(Ia.keys), se = d("slider-thumb-size"), Ve = d("slider-track-size"), Y = d("slider-bg"), Zc = (e) => {
2728
- const { orientation: t } = e;
2729
- return {
2730
- display: "inline-block",
2731
- position: "relative",
2732
- cursor: "pointer",
2733
- _disabled: {
2734
- opacity: 0.6,
2735
- cursor: "default",
2736
- pointerEvents: "none"
2737
- },
2738
- ...rr({
2739
- orientation: t,
2740
- vertical: {
2741
- h: "100%",
2742
- px: te(se.reference).divide(2).toString()
2743
- },
2744
- horizontal: {
2745
- w: "100%",
2746
- py: te(se.reference).divide(2).toString()
2747
- }
2748
- })
2749
- };
2750
- }, Qc = (e) => ({
2751
- ...rr({
2752
- orientation: e.orientation,
2753
- horizontal: { h: Ve.reference },
2754
- vertical: { w: Ve.reference }
2755
- }),
2756
- overflow: "hidden",
2757
- borderRadius: "sm",
2758
- [Y.variable]: "colors.gray.200",
2759
- _dark: {
2760
- [Y.variable]: "colors.whiteAlpha.200"
2761
- },
2762
- _disabled: {
2763
- [Y.variable]: "colors.gray.300",
2764
- _dark: {
2765
- [Y.variable]: "colors.whiteAlpha.300"
2766
- }
2767
- },
2768
- bg: Y.reference
2769
- }), ed = (e) => {
2770
- const { orientation: t } = e;
2771
- return {
2772
- ...rr({
2773
- orientation: t,
2774
- vertical: {
2775
- left: "50%",
2776
- transform: "translateX(-50%)",
2777
- _active: {
2778
- transform: "translateX(-50%) scale(1.15)"
2779
- }
2780
- },
2781
- horizontal: {
2782
- top: "50%",
2783
- transform: "translateY(-50%)",
2784
- _active: {
2785
- transform: "translateY(-50%) scale(1.15)"
2786
- }
2787
- }
2788
- }),
2789
- w: se.reference,
2790
- h: se.reference,
2791
- display: "flex",
2792
- alignItems: "center",
2793
- justifyContent: "center",
2794
- position: "absolute",
2795
- outline: 0,
2796
- zIndex: 1,
2797
- borderRadius: "full",
2798
- bg: "white",
2799
- boxShadow: "base",
2800
- border: "1px solid",
2801
- borderColor: "transparent",
2802
- transitionProperty: "transform",
2803
- transitionDuration: "normal",
2804
- _focusVisible: {
2805
- boxShadow: "outline"
2806
- },
2807
- _disabled: {
2808
- bg: "gray.300"
2809
- }
2810
- };
2811
- }, td = (e) => {
2812
- const { colorScheme: t } = e;
2813
- return {
2814
- width: "inherit",
2815
- height: "inherit",
2816
- [Y.variable]: `colors.${t}.500`,
2817
- _dark: {
2818
- [Y.variable]: `colors.${t}.200`
2819
- },
2820
- bg: Y.reference
2821
- };
2822
- }, rd = xt((e) => ({
2823
- container: Zc(e),
2824
- track: Qc(e),
2825
- thumb: ed(e),
2826
- filledTrack: td(e)
2827
- })), od = xt({
2828
- container: {
2829
- [se.variable]: "sizes.4",
2830
- [Ve.variable]: "sizes.1"
2831
- }
2832
- }), nd = xt({
2833
- container: {
2834
- [se.variable]: "sizes.3.5",
2835
- [Ve.variable]: "sizes.1"
2836
- }
2837
- }), ad = xt({
2838
- container: {
2839
- [se.variable]: "sizes.2.5",
2840
- [Ve.variable]: "sizes.0.5"
2841
- }
2842
- }), id = {
2843
- lg: od,
2844
- md: nd,
2845
- sm: ad
2846
- }, sd = Jc({
2847
- baseStyle: rd,
2848
- sizes: id,
2849
- defaultProps: {
2850
- size: "md",
2851
- colorScheme: "blue"
2852
- }
2853
- }), re = z("spinner-size"), ld = {
2854
- width: [re.reference],
2855
- height: [re.reference]
2856
- }, cd = {
2857
- xs: {
2858
- [re.variable]: "sizes.3"
2859
- },
2860
- sm: {
2861
- [re.variable]: "sizes.4"
2862
- },
2863
- md: {
2864
- [re.variable]: "sizes.6"
2865
- },
2866
- lg: {
2867
- [re.variable]: "sizes.8"
2868
- },
2869
- xl: {
2870
- [re.variable]: "sizes.12"
2871
- }
2872
- }, dd = {
2873
- baseStyle: ld,
2874
- sizes: cd,
2875
- defaultProps: {
2876
- size: "md"
2877
- }
2878
- }, { defineMultiStyleConfig: bd, definePartsStyle: _o } = S(Ra.keys), fd = {
2879
- fontWeight: "medium"
2880
- }, ud = {
2881
- opacity: 0.8,
2882
- marginBottom: "2"
2883
- }, gd = {
2884
- verticalAlign: "baseline",
2885
- fontWeight: "semibold"
2886
- }, hd = {
2887
- marginEnd: 1,
2888
- w: "3.5",
2889
- h: "3.5",
2890
- verticalAlign: "middle"
2891
- }, md = _o({
2892
- container: {},
2893
- label: fd,
2894
- helpText: ud,
2895
- number: gd,
2896
- icon: hd
2897
- }), pd = {
2898
- md: _o({
2899
- label: { fontSize: "sm" },
2900
- helpText: { fontSize: "sm" },
2901
- number: { fontSize: "2xl" }
2902
- })
2903
- }, yd = bd({
2904
- baseStyle: md,
2905
- sizes: pd,
2906
- defaultProps: {
2907
- size: "md"
2908
- }
2909
- }), { defineMultiStyleConfig: Sd, definePartsStyle: Ee } = S([
2910
- "stepper",
2911
- "step",
2912
- "title",
2913
- "description",
2914
- "indicator",
2915
- "separator",
2916
- "icon",
2917
- "number"
2918
- ]), W = d("stepper-indicator-size"), he = d("stepper-icon-size"), me = d("stepper-title-font-size"), De = d("stepper-description-font-size"), Fe = d("stepper-accent-color"), vd = Ee(({ colorScheme: e }) => ({
2919
- stepper: {
2920
- display: "flex",
2921
- justifyContent: "space-between",
2922
- gap: "4",
2923
- "&[data-orientation=vertical]": {
2924
- flexDirection: "column",
2925
- alignItems: "flex-start"
2926
- },
2927
- "&[data-orientation=horizontal]": {
2928
- flexDirection: "row",
2929
- alignItems: "center"
2930
- },
2931
- [Fe.variable]: `colors.${e}.500`,
2932
- _dark: {
2933
- [Fe.variable]: `colors.${e}.200`
2934
- }
2935
- },
2936
- title: {
2937
- fontSize: me.reference,
2938
- fontWeight: "medium"
2939
- },
2940
- description: {
2941
- fontSize: De.reference,
2942
- color: "chakra-subtle-text"
2943
- },
2944
- number: {
2945
- fontSize: me.reference
2946
- },
2947
- step: {
2948
- flexShrink: 0,
2949
- position: "relative",
2950
- display: "flex",
2951
- gap: "2",
2952
- "&[data-orientation=horizontal]": {
2953
- alignItems: "center"
2954
- },
2955
- flex: "1",
2956
- "&:last-of-type:not([data-stretch])": {
2957
- flex: "initial"
2958
- }
2959
- },
2960
- icon: {
2961
- flexShrink: 0,
2962
- width: he.reference,
2963
- height: he.reference
2964
- },
2965
- indicator: {
2966
- flexShrink: 0,
2967
- borderRadius: "full",
2968
- width: W.reference,
2969
- height: W.reference,
2970
- display: "flex",
2971
- justifyContent: "center",
2972
- alignItems: "center",
2973
- "&[data-status=active]": {
2974
- borderWidth: "2px",
2975
- borderColor: Fe.reference
2976
- },
2977
- "&[data-status=complete]": {
2978
- bg: Fe.reference,
2979
- color: "chakra-inverse-text"
2980
- },
2981
- "&[data-status=incomplete]": {
2982
- borderWidth: "2px"
2983
- }
2984
- },
2985
- separator: {
2986
- bg: "chakra-border-color",
2987
- flex: "1",
2988
- "&[data-status=complete]": {
2989
- bg: Fe.reference
2990
- },
2991
- "&[data-orientation=horizontal]": {
2992
- width: "100%",
2993
- height: "2px",
2994
- marginStart: "2"
2995
- },
2996
- "&[data-orientation=vertical]": {
2997
- width: "2px",
2998
- position: "absolute",
2999
- height: "100%",
3000
- maxHeight: `calc(100% - ${W.reference} - 8px)`,
3001
- top: `calc(${W.reference} + 4px)`,
3002
- insetStart: `calc(${W.reference} / 2 - 1px)`
3003
- }
3004
- }
3005
- })), xd = Sd({
3006
- baseStyle: vd,
3007
- sizes: {
3008
- xs: Ee({
3009
- stepper: {
3010
- [W.variable]: "sizes.4",
3011
- [he.variable]: "sizes.3",
3012
- [me.variable]: "fontSizes.xs",
3013
- [De.variable]: "fontSizes.xs"
3014
- }
3015
- }),
3016
- sm: Ee({
3017
- stepper: {
3018
- [W.variable]: "sizes.6",
3019
- [he.variable]: "sizes.4",
3020
- [me.variable]: "fontSizes.sm",
3021
- [De.variable]: "fontSizes.xs"
3022
- }
3023
- }),
3024
- md: Ee({
3025
- stepper: {
3026
- [W.variable]: "sizes.8",
3027
- [he.variable]: "sizes.5",
3028
- [me.variable]: "fontSizes.md",
3029
- [De.variable]: "fontSizes.sm"
3030
- }
3031
- }),
3032
- lg: Ee({
3033
- stepper: {
3034
- [W.variable]: "sizes.10",
3035
- [he.variable]: "sizes.6",
3036
- [me.variable]: "fontSizes.lg",
3037
- [De.variable]: "fontSizes.md"
3038
- }
3039
- })
3040
- },
3041
- defaultProps: {
3042
- size: "md",
3043
- colorScheme: "blue"
3044
- }
3045
- }), { defineMultiStyleConfig: $d, definePartsStyle: dt } = S(Ha.keys), Oe = z("switch-track-width"), ae = z("switch-track-height"), Gt = z("switch-track-diff"), _d = O.subtract(Oe, ae), er = z("switch-thumb-x"), Te = z("switch-bg"), zd = (e) => {
3046
- const { colorScheme: t } = e;
3047
- return {
3048
- borderRadius: "full",
3049
- p: "0.5",
3050
- width: [Oe.reference],
3051
- height: [ae.reference],
3052
- transitionProperty: "common",
3053
- transitionDuration: "fast",
3054
- [Te.variable]: "colors.gray.300",
3055
- _dark: {
3056
- [Te.variable]: "colors.whiteAlpha.400"
3057
- },
3058
- _focusVisible: {
3059
- boxShadow: "outline"
3060
- },
3061
- _disabled: {
3062
- opacity: 0.4,
3063
- cursor: "not-allowed"
3064
- },
3065
- _checked: {
3066
- [Te.variable]: `colors.${t}.500`,
3067
- _dark: {
3068
- [Te.variable]: `colors.${t}.200`
3069
- }
3070
- },
3071
- bg: Te.reference
3072
- };
3073
- }, wd = {
3074
- bg: "white",
3075
- transitionProperty: "transform",
3076
- transitionDuration: "normal",
3077
- borderRadius: "inherit",
3078
- width: [ae.reference],
3079
- height: [ae.reference],
3080
- _checked: {
3081
- transform: `translateX(${er.reference})`
3082
- }
3083
- }, Cd = dt((e) => ({
3084
- container: {
3085
- [Gt.variable]: _d,
3086
- [er.variable]: Gt.reference,
3087
- _rtl: {
3088
- [er.variable]: O(Gt).negate().toString()
3089
- }
3090
- },
3091
- track: zd(e),
3092
- thumb: wd
3093
- })), kd = {
3094
- sm: dt({
3095
- container: {
3096
- [Oe.variable]: "1.375rem",
3097
- [ae.variable]: "sizes.3"
3098
- }
3099
- }),
3100
- md: dt({
3101
- container: {
3102
- [Oe.variable]: "1.875rem",
3103
- [ae.variable]: "sizes.4"
3104
- }
3105
- }),
3106
- lg: dt({
3107
- container: {
3108
- [Oe.variable]: "2.875rem",
3109
- [ae.variable]: "sizes.6"
3110
- }
3111
- })
3112
- }, Ad = $d({
3113
- baseStyle: Cd,
3114
- sizes: kd,
3115
- defaultProps: {
3116
- size: "md",
3117
- colorScheme: "blue"
3118
- }
3119
- }), { defineMultiStyleConfig: Fd, definePartsStyle: ve } = S(Oa.keys), Td = ve({
3120
- table: {
3121
- fontVariantNumeric: "lining-nums tabular-nums",
3122
- borderCollapse: "collapse",
3123
- width: "full"
3124
- },
3125
- th: {
3126
- fontFamily: "heading",
3127
- fontWeight: "bold",
3128
- textTransform: "uppercase",
3129
- letterSpacing: "wider",
3130
- textAlign: "start"
3131
- },
3132
- td: {
3133
- textAlign: "start"
3134
- },
3135
- caption: {
3136
- mt: 4,
3137
- fontFamily: "heading",
3138
- textAlign: "center",
3139
- fontWeight: "medium"
3140
- }
3141
- }), pt = {
3142
- "&[data-is-numeric=true]": {
3143
- textAlign: "end"
3144
- }
3145
- }, Bd = ve((e) => {
3146
- const { colorScheme: t } = e;
3147
- return {
3148
- th: {
3149
- color: c("gray.600", "gray.400")(e),
3150
- borderBottom: "1px",
3151
- borderColor: c(`${t}.100`, `${t}.700`)(e),
3152
- ...pt
3153
- },
3154
- td: {
3155
- borderBottom: "1px",
3156
- borderColor: c(`${t}.100`, `${t}.700`)(e),
3157
- ...pt
3158
- },
3159
- caption: {
3160
- color: c("gray.600", "gray.100")(e)
3161
- },
3162
- tfoot: {
3163
- tr: {
3164
- "&:last-of-type": {
3165
- th: { borderBottomWidth: 0 }
3166
- }
3167
- }
3168
- }
3169
- };
3170
- }), Pd = ve((e) => {
3171
- const { colorScheme: t } = e;
3172
- return {
3173
- th: {
3174
- color: c("gray.600", "gray.400")(e),
3175
- borderBottom: "1px",
3176
- borderColor: c(`${t}.100`, `${t}.700`)(e),
3177
- ...pt
3178
- },
3179
- td: {
3180
- borderBottom: "1px",
3181
- borderColor: c(`${t}.100`, `${t}.700`)(e),
3182
- ...pt
3183
- },
3184
- caption: {
3185
- color: c("gray.600", "gray.100")(e)
3186
- },
3187
- tbody: {
3188
- tr: {
3189
- "&:nth-of-type(odd)": {
3190
- "th, td": {
3191
- borderBottomWidth: "1px",
3192
- borderColor: c(`${t}.100`, `${t}.700`)(e)
3193
- },
3194
- td: {
3195
- background: c(`${t}.100`, `${t}.700`)(e)
3196
- }
3197
- }
3198
- }
3199
- },
3200
- tfoot: {
3201
- tr: {
3202
- "&:last-of-type": {
3203
- th: { borderBottomWidth: 0 }
3204
- }
3205
- }
3206
- }
3207
- };
3208
- }), Ed = {
3209
- simple: Bd,
3210
- striped: Pd,
3211
- unstyled: {}
3212
- }, Dd = {
3213
- sm: ve({
3214
- th: {
3215
- px: "4",
3216
- py: "1",
3217
- lineHeight: "4",
3218
- fontSize: "xs"
3219
- },
3220
- td: {
3221
- px: "4",
3222
- py: "2",
3223
- fontSize: "sm",
3224
- lineHeight: "4"
3225
- },
3226
- caption: {
3227
- px: "4",
3228
- py: "2",
3229
- fontSize: "xs"
3230
- }
3231
- }),
3232
- md: ve({
3233
- th: {
3234
- px: "6",
3235
- py: "3",
3236
- lineHeight: "4",
3237
- fontSize: "xs"
3238
- },
3239
- td: {
3240
- px: "6",
3241
- py: "4",
3242
- lineHeight: "5"
3243
- },
3244
- caption: {
3245
- px: "6",
3246
- py: "2",
3247
- fontSize: "sm"
3248
- }
3249
- }),
3250
- lg: ve({
3251
- th: {
3252
- px: "8",
3253
- py: "4",
3254
- lineHeight: "5",
3255
- fontSize: "sm"
3256
- },
3257
- td: {
3258
- px: "8",
3259
- py: "5",
3260
- lineHeight: "6"
3261
- },
3262
- caption: {
3263
- px: "6",
3264
- py: "2",
3265
- fontSize: "md"
3266
- }
3267
- })
3268
- }, Md = Fd({
3269
- baseStyle: Td,
3270
- variants: Ed,
3271
- sizes: Dd,
3272
- defaultProps: {
3273
- variant: "simple",
3274
- size: "md",
3275
- colorScheme: "gray"
3276
- }
3277
- }), T = d("tabs-color"), j = d("tabs-bg"), nt = d("tabs-border-color"), { defineMultiStyleConfig: jd, definePartsStyle: R } = S(Wa.keys), Id = (e) => {
3278
- const { orientation: t } = e;
3279
- return {
3280
- display: t === "vertical" ? "flex" : "block"
3281
- };
3282
- }, Rd = (e) => {
3283
- const { isFitted: t } = e;
3284
- return {
3285
- flex: t ? 1 : void 0,
3286
- transitionProperty: "common",
3287
- transitionDuration: "normal",
3288
- _focusVisible: {
3289
- zIndex: 1,
3290
- boxShadow: "outline"
3291
- },
3292
- _disabled: {
3293
- cursor: "not-allowed",
3294
- opacity: 0.4
3295
- }
3296
- };
3297
- }, Hd = (e) => {
3298
- const { align: t = "start", orientation: a } = e;
3299
- return {
3300
- justifyContent: {
3301
- end: "flex-end",
3302
- center: "center",
3303
- start: "flex-start"
3304
- }[t],
3305
- flexDirection: a === "vertical" ? "column" : "row"
3306
- };
3307
- }, Od = {
3308
- p: 4
3309
- }, Wd = R((e) => ({
3310
- root: Id(e),
3311
- tab: Rd(e),
3312
- tablist: Hd(e),
3313
- tabpanel: Od
3314
- })), Ld = {
3315
- sm: R({
3316
- tab: {
3317
- py: 1,
3318
- px: 4,
3319
- fontSize: "sm"
3320
- }
3321
- }),
3322
- md: R({
3323
- tab: {
3324
- fontSize: "md",
3325
- py: 2,
3326
- px: 4
3327
- }
3328
- }),
3329
- lg: R({
3330
- tab: {
3331
- fontSize: "lg",
3332
- py: 3,
3333
- px: 4
3334
- }
3335
- })
3336
- }, Vd = R((e) => {
3337
- const { colorScheme: t, orientation: a } = e, i = a === "vertical", l = i ? "borderStart" : "borderBottom", b = i ? "marginStart" : "marginBottom";
3338
- return {
3339
- tablist: {
3340
- [l]: "2px solid",
3341
- borderColor: "inherit"
3342
- },
3343
- tab: {
3344
- [l]: "2px solid",
3345
- borderColor: "transparent",
3346
- [b]: "-2px",
3347
- _selected: {
3348
- [T.variable]: `colors.${t}.600`,
3349
- _dark: {
3350
- [T.variable]: `colors.${t}.300`
3351
- },
3352
- borderColor: "currentColor"
3353
- },
3354
- _active: {
3355
- [j.variable]: "colors.gray.200",
3356
- _dark: {
3357
- [j.variable]: "colors.whiteAlpha.300"
3358
- }
3359
- },
3360
- _disabled: {
3361
- _active: { bg: "none" }
3362
- },
3363
- color: T.reference,
3364
- bg: j.reference
3365
- }
3366
- };
3367
- }), Nd = R((e) => {
3368
- const { colorScheme: t } = e;
3369
- return {
3370
- tab: {
3371
- borderTopRadius: "md",
3372
- border: "1px solid",
3373
- borderColor: "transparent",
3374
- mb: "-1px",
3375
- [nt.variable]: "transparent",
3376
- _selected: {
3377
- [T.variable]: `colors.${t}.600`,
3378
- [nt.variable]: "colors.white",
3379
- _dark: {
3380
- [T.variable]: `colors.${t}.300`,
3381
- [nt.variable]: "colors.gray.800"
3382
- },
3383
- borderColor: "inherit",
3384
- borderBottomColor: nt.reference
3385
- },
3386
- color: T.reference
3387
- },
3388
- tablist: {
3389
- mb: "-1px",
3390
- borderBottom: "1px solid",
3391
- borderColor: "inherit"
3392
- }
3393
- };
3394
- }), qd = R((e) => {
3395
- const { colorScheme: t } = e;
3396
- return {
3397
- tab: {
3398
- border: "1px solid",
3399
- borderColor: "inherit",
3400
- [j.variable]: "colors.gray.50",
3401
- _dark: {
3402
- [j.variable]: "colors.whiteAlpha.50"
3403
- },
3404
- mb: "-1px",
3405
- _notLast: {
3406
- marginEnd: "-1px"
3407
- },
3408
- _selected: {
3409
- [j.variable]: "colors.white",
3410
- [T.variable]: `colors.${t}.600`,
3411
- _dark: {
3412
- [j.variable]: "colors.gray.800",
3413
- [T.variable]: `colors.${t}.300`
3414
- },
3415
- borderColor: "inherit",
3416
- borderTopColor: "currentColor",
3417
- borderBottomColor: "transparent"
3418
- },
3419
- color: T.reference,
3420
- bg: j.reference
3421
- },
3422
- tablist: {
3423
- mb: "-1px",
3424
- borderBottom: "1px solid",
3425
- borderColor: "inherit"
3426
- }
3427
- };
3428
- }), Ud = R((e) => {
3429
- const { colorScheme: t, theme: a } = e;
3430
- return {
3431
- tab: {
3432
- borderRadius: "full",
3433
- fontWeight: "semibold",
3434
- color: "gray.600",
3435
- _selected: {
3436
- color: A(a, `${t}.700`),
3437
- bg: A(a, `${t}.100`)
3438
- }
3439
- }
3440
- };
3441
- }), Gd = R((e) => {
3442
- const { colorScheme: t } = e;
3443
- return {
3444
- tab: {
3445
- borderRadius: "full",
3446
- fontWeight: "semibold",
3447
- [T.variable]: "colors.gray.600",
3448
- _dark: {
3449
- [T.variable]: "inherit"
3450
- },
3451
- _selected: {
3452
- [T.variable]: "colors.white",
3453
- [j.variable]: `colors.${t}.600`,
3454
- _dark: {
3455
- [T.variable]: "colors.gray.800",
3456
- [j.variable]: `colors.${t}.300`
3457
- }
3458
- },
3459
- color: T.reference,
3460
- bg: j.reference
3461
- }
3462
- };
3463
- }), Kd = R({}), Xd = {
3464
- line: Vd,
3465
- enclosed: Nd,
3466
- "enclosed-colored": qd,
3467
- "soft-rounded": Ud,
3468
- "solid-rounded": Gd,
3469
- unstyled: Kd
3470
- }, Yd = jd({
3471
- baseStyle: Wd,
3472
- sizes: Ld,
3473
- variants: Xd,
3474
- defaultProps: {
3475
- size: "md",
3476
- variant: "line",
3477
- colorScheme: "blue"
3478
- }
3479
- }), { defineMultiStyleConfig: Jd, definePartsStyle: ie } = S(La.keys), Vr = d("tag-bg"), Nr = d("tag-color"), Kt = d("tag-shadow"), bt = d("tag-min-height"), ft = d("tag-min-width"), ut = d("tag-font-size"), gt = d("tag-padding-inline"), Zd = {
3480
- fontWeight: "medium",
3481
- lineHeight: 1.2,
3482
- outline: 0,
3483
- [Nr.variable]: _.color.reference,
3484
- [Vr.variable]: _.bg.reference,
3485
- [Kt.variable]: _.shadow.reference,
3486
- color: Nr.reference,
3487
- bg: Vr.reference,
3488
- boxShadow: Kt.reference,
3489
- borderRadius: "md",
3490
- minH: bt.reference,
3491
- minW: ft.reference,
3492
- fontSize: ut.reference,
3493
- px: gt.reference,
3494
- _focusVisible: {
3495
- [Kt.variable]: "shadows.outline"
3496
- }
3497
- }, Qd = {
3498
- lineHeight: 1.2,
3499
- overflow: "visible"
3500
- }, e0 = {
3501
- fontSize: "lg",
3502
- w: "5",
3503
- h: "5",
3504
- transitionProperty: "common",
3505
- transitionDuration: "normal",
3506
- borderRadius: "full",
3507
- marginStart: "1.5",
3508
- marginEnd: "-1",
3509
- opacity: 0.5,
3510
- _disabled: {
3511
- opacity: 0.4
3512
- },
3513
- _focusVisible: {
3514
- boxShadow: "outline",
3515
- bg: "rgba(0, 0, 0, 0.14)"
3516
- },
3517
- _hover: {
3518
- opacity: 0.8
3519
- },
3520
- _active: {
3521
- opacity: 1
3522
- }
3523
- }, t0 = ie({
3524
- container: Zd,
3525
- label: Qd,
3526
- closeButton: e0
3527
- }), r0 = {
3528
- sm: ie({
3529
- container: {
3530
- [bt.variable]: "sizes.5",
3531
- [ft.variable]: "sizes.5",
3532
- [ut.variable]: "fontSizes.xs",
3533
- [gt.variable]: "space.2"
3534
- },
3535
- closeButton: {
3536
- marginEnd: "-2px",
3537
- marginStart: "0.35rem"
3538
- }
3539
- }),
3540
- md: ie({
3541
- container: {
3542
- [bt.variable]: "sizes.6",
3543
- [ft.variable]: "sizes.6",
3544
- [ut.variable]: "fontSizes.sm",
3545
- [gt.variable]: "space.2"
3546
- }
3547
- }),
3548
- lg: ie({
3549
- container: {
3550
- [bt.variable]: "sizes.8",
3551
- [ft.variable]: "sizes.8",
3552
- [ut.variable]: "fontSizes.md",
3553
- [gt.variable]: "space.3"
3554
- }
3555
- })
3556
- }, o0 = {
3557
- subtle: ie((e) => {
3558
- var t;
3559
- return {
3560
- container: (t = Ie.variants) == null ? void 0 : t.subtle(e)
3561
- };
3562
- }),
3563
- solid: ie((e) => {
3564
- var t;
3565
- return {
3566
- container: (t = Ie.variants) == null ? void 0 : t.solid(e)
3567
- };
3568
- }),
3569
- outline: ie((e) => {
3570
- var t;
3571
- return {
3572
- container: (t = Ie.variants) == null ? void 0 : t.outline(e)
3573
- };
3574
- })
3575
- }, n0 = Jd({
3576
- variants: o0,
3577
- baseStyle: t0,
3578
- sizes: r0,
3579
- defaultProps: {
3580
- size: "md",
3581
- variant: "subtle",
3582
- colorScheme: "gray"
3583
- }
3584
- });
3585
- var ro;
3586
- const a0 = {
3587
- ...(ro = h.baseStyle) == null ? void 0 : ro.field,
3588
- paddingY: "2",
3589
- minHeight: "20",
3590
- lineHeight: "short",
3591
- verticalAlign: "top"
3592
- };
3593
- var oo;
3594
- const i0 = {
3595
- outline: (e) => {
3596
- var t;
3597
- return ((t = h.variants) == null ? void 0 : t.outline(e).field) ?? {};
3598
- },
3599
- flushed: (e) => {
3600
- var t;
3601
- return ((t = h.variants) == null ? void 0 : t.flushed(e).field) ?? {};
3602
- },
3603
- filled: (e) => {
3604
- var t;
3605
- return ((t = h.variants) == null ? void 0 : t.filled(e).field) ?? {};
3606
- },
3607
- unstyled: ((oo = h.variants) == null ? void 0 : oo.unstyled.field) ?? {}
3608
- };
3609
- var no, ao, io, so;
3610
- const s0 = {
3611
- xs: ((no = h.sizes) == null ? void 0 : no.xs.field) ?? {},
3612
- sm: ((ao = h.sizes) == null ? void 0 : ao.sm.field) ?? {},
3613
- md: ((io = h.sizes) == null ? void 0 : io.md.field) ?? {},
3614
- lg: ((so = h.sizes) == null ? void 0 : so.lg.field) ?? {}
3615
- }, l0 = {
3616
- baseStyle: a0,
3617
- sizes: s0,
3618
- variants: i0,
3619
- defaultProps: {
3620
- size: "md",
3621
- variant: "outline"
3622
- }
3623
- }, at = z("tooltip-bg"), Xt = z("tooltip-fg"), c0 = z("popper-arrow-bg"), d0 = {
3624
- bg: at.reference,
3625
- color: Xt.reference,
3626
- [at.variable]: "colors.gray.700",
3627
- [Xt.variable]: "colors.whiteAlpha.900",
3628
- _dark: {
3629
- [at.variable]: "colors.gray.300",
3630
- [Xt.variable]: "colors.gray.900"
3631
- },
3632
- [c0.variable]: at.reference,
3633
- px: "2",
3634
- py: "0.5",
3635
- borderRadius: "sm",
3636
- fontWeight: "medium",
3637
- fontSize: "sm",
3638
- boxShadow: "md",
3639
- maxW: "xs",
3640
- zIndex: "tooltip"
3641
- }, b0 = {
3642
- baseStyle: d0
3643
- }, f0 = {
3644
- Accordion: Ja,
3645
- Alert: Di,
3646
- Avatar: qi,
3647
- Badge: Ie,
3648
- Breadcrumb: ts,
3649
- Button: ds,
3650
- Checkbox: X,
3651
- CloseButton: ws,
3652
- Code: Fs,
3653
- Container: Bs,
3654
- Divider: js,
3655
- Drawer: Gs,
3656
- Editable: el,
3657
- Form: il,
3658
- FormError: fl,
3659
- FormLabel: gl,
3660
- Heading: pl,
3661
- Input: h,
3662
- Kbd: kl,
3663
- Link: Fl,
3664
- List: Dl,
3665
- Menu: ql,
3666
- Modal: rc,
3667
- NumberInput: bc,
3668
- PinInput: hc,
3669
- Popover: Cc,
3670
- Progress: Dc,
3671
- Radio: Hc,
3672
- Select: Uc,
3673
- Skeleton: Kc,
3674
- SkipLink: Yc,
3675
- Slider: sd,
3676
- Spinner: dd,
3677
- Stat: yd,
3678
- Switch: Ad,
3679
- Table: Md,
3680
- Tabs: Yd,
3681
- Tag: n0,
3682
- Textarea: l0,
3683
- Tooltip: b0,
3684
- Card: hs,
3685
- Stepper: xd
3686
- }, u0 = {
3687
- none: 0,
3688
- "1px": "1px solid",
3689
- "2px": "2px solid",
3690
- "4px": "4px solid",
3691
- "8px": "8px solid"
3692
- }, g0 = {
3693
- base: "0em",
3694
- sm: "30em",
3695
- md: "48em",
3696
- lg: "62em",
3697
- xl: "80em",
3698
- "2xl": "96em"
3699
- }, h0 = {
3700
- transparent: "transparent",
3701
- current: "currentColor",
3702
- black: "#000000",
3703
- white: "#FFFFFF",
3704
- whiteAlpha: {
3705
- 50: "rgba(255, 255, 255, 0.04)",
3706
- 100: "rgba(255, 255, 255, 0.06)",
3707
- 200: "rgba(255, 255, 255, 0.08)",
3708
- 300: "rgba(255, 255, 255, 0.16)",
3709
- 400: "rgba(255, 255, 255, 0.24)",
3710
- 500: "rgba(255, 255, 255, 0.36)",
3711
- 600: "rgba(255, 255, 255, 0.48)",
3712
- 700: "rgba(255, 255, 255, 0.64)",
3713
- 800: "rgba(255, 255, 255, 0.80)",
3714
- 900: "rgba(255, 255, 255, 0.92)"
3715
- },
3716
- blackAlpha: {
3717
- 50: "rgba(0, 0, 0, 0.04)",
3718
- 100: "rgba(0, 0, 0, 0.06)",
3719
- 200: "rgba(0, 0, 0, 0.08)",
3720
- 300: "rgba(0, 0, 0, 0.16)",
3721
- 400: "rgba(0, 0, 0, 0.24)",
3722
- 500: "rgba(0, 0, 0, 0.36)",
3723
- 600: "rgba(0, 0, 0, 0.48)",
3724
- 700: "rgba(0, 0, 0, 0.64)",
3725
- 800: "rgba(0, 0, 0, 0.80)",
3726
- 900: "rgba(0, 0, 0, 0.92)"
3727
- },
3728
- gray: {
3729
- 50: "#F7FAFC",
3730
- 100: "#EDF2F7",
3731
- 200: "#E2E8F0",
3732
- 300: "#CBD5E0",
3733
- 400: "#A0AEC0",
3734
- 500: "#718096",
3735
- 600: "#4A5568",
3736
- 700: "#2D3748",
3737
- 800: "#1A202C",
3738
- 900: "#171923"
3739
- },
3740
- red: {
3741
- 50: "#FFF5F5",
3742
- 100: "#FED7D7",
3743
- 200: "#FEB2B2",
3744
- 300: "#FC8181",
3745
- 400: "#F56565",
3746
- 500: "#E53E3E",
3747
- 600: "#C53030",
3748
- 700: "#9B2C2C",
3749
- 800: "#822727",
3750
- 900: "#63171B"
3751
- },
3752
- orange: {
3753
- 50: "#FFFAF0",
3754
- 100: "#FEEBC8",
3755
- 200: "#FBD38D",
3756
- 300: "#F6AD55",
3757
- 400: "#ED8936",
3758
- 500: "#DD6B20",
3759
- 600: "#C05621",
3760
- 700: "#9C4221",
3761
- 800: "#7B341E",
3762
- 900: "#652B19"
3763
- },
3764
- yellow: {
3765
- 50: "#FFFFF0",
3766
- 100: "#FEFCBF",
3767
- 200: "#FAF089",
3768
- 300: "#F6E05E",
3769
- 400: "#ECC94B",
3770
- 500: "#D69E2E",
3771
- 600: "#B7791F",
3772
- 700: "#975A16",
3773
- 800: "#744210",
3774
- 900: "#5F370E"
3775
- },
3776
- green: {
3777
- 50: "#F0FFF4",
3778
- 100: "#C6F6D5",
3779
- 200: "#9AE6B4",
3780
- 300: "#68D391",
3781
- 400: "#48BB78",
3782
- 500: "#38A169",
3783
- 600: "#2F855A",
3784
- 700: "#276749",
3785
- 800: "#22543D",
3786
- 900: "#1C4532"
3787
- },
3788
- teal: {
3789
- 50: "#E6FFFA",
3790
- 100: "#B2F5EA",
3791
- 200: "#81E6D9",
3792
- 300: "#4FD1C5",
3793
- 400: "#38B2AC",
3794
- 500: "#319795",
3795
- 600: "#2C7A7B",
3796
- 700: "#285E61",
3797
- 800: "#234E52",
3798
- 900: "#1D4044"
3799
- },
3800
- blue: {
3801
- 50: "#ebf8ff",
3802
- 100: "#bee3f8",
3803
- 200: "#90cdf4",
3804
- 300: "#63b3ed",
3805
- 400: "#4299e1",
3806
- 500: "#3182ce",
3807
- 600: "#2b6cb0",
3808
- 700: "#2c5282",
3809
- 800: "#2a4365",
3810
- 900: "#1A365D"
3811
- },
3812
- cyan: {
3813
- 50: "#EDFDFD",
3814
- 100: "#C4F1F9",
3815
- 200: "#9DECF9",
3816
- 300: "#76E4F7",
3817
- 400: "#0BC5EA",
3818
- 500: "#00B5D8",
3819
- 600: "#00A3C4",
3820
- 700: "#0987A0",
3821
- 800: "#086F83",
3822
- 900: "#065666"
3823
- },
3824
- purple: {
3825
- 50: "#FAF5FF",
3826
- 100: "#E9D8FD",
3827
- 200: "#D6BCFA",
3828
- 300: "#B794F4",
3829
- 400: "#9F7AEA",
3830
- 500: "#805AD5",
3831
- 600: "#6B46C1",
3832
- 700: "#553C9A",
3833
- 800: "#44337A",
3834
- 900: "#322659"
3835
- },
3836
- pink: {
3837
- 50: "#FFF5F7",
3838
- 100: "#FED7E2",
3839
- 200: "#FBB6CE",
3840
- 300: "#F687B3",
3841
- 400: "#ED64A6",
3842
- 500: "#D53F8C",
3843
- 600: "#B83280",
3844
- 700: "#97266D",
3845
- 800: "#702459",
3846
- 900: "#521B41"
3847
- }
3848
- }, m0 = {
3849
- none: "0",
3850
- sm: "0.125rem",
3851
- base: "0.25rem",
3852
- md: "0.375rem",
3853
- lg: "0.5rem",
3854
- xl: "0.75rem",
3855
- "2xl": "1rem",
3856
- "3xl": "1.5rem",
3857
- full: "9999px"
3858
- }, p0 = {
3859
- xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
3860
- sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
3861
- base: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
3862
- md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
3863
- lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
3864
- xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
3865
- "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
3866
- outline: "0 0 0 3px rgba(66, 153, 225, 0.6)",
3867
- inner: "inset 0 2px 4px 0 rgba(0,0,0,0.06)",
3868
- none: "none",
3869
- "dark-lg": "rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"
3870
- }, y0 = {
3871
- common: "background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",
3872
- colors: "background-color, border-color, color, fill, stroke",
3873
- dimensions: "width, height",
3874
- position: "left, right, top, bottom",
3875
- background: "background-color, background-image, background-position"
3876
- }, S0 = {
3877
- "ease-in": "cubic-bezier(0.4, 0, 1, 1)",
3878
- "ease-out": "cubic-bezier(0, 0, 0.2, 1)",
3879
- "ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
3880
- }, v0 = {
3881
- "ultra-fast": "50ms",
3882
- faster: "100ms",
3883
- fast: "150ms",
3884
- normal: "200ms",
3885
- slow: "300ms",
3886
- slower: "400ms",
3887
- "ultra-slow": "500ms"
3888
- }, x0 = {
3889
- property: y0,
3890
- easing: S0,
3891
- duration: v0
3892
- }, $0 = {
3893
- hide: -1,
3894
- auto: "auto",
3895
- base: 0,
3896
- docked: 10,
3897
- dropdown: 1e3,
3898
- sticky: 1100,
3899
- banner: 1200,
3900
- overlay: 1300,
3901
- modal: 1400,
3902
- popover: 1500,
3903
- skipLink: 1600,
3904
- toast: 1700,
3905
- tooltip: 1800
3906
- }, _0 = {
3907
- none: 0,
3908
- sm: "4px",
3909
- base: "8px",
3910
- md: "12px",
3911
- lg: "16px",
3912
- xl: "24px",
3913
- "2xl": "40px",
3914
- "3xl": "64px"
3915
- }, z0 = {
3916
- breakpoints: g0,
3917
- zIndices: $0,
3918
- radii: m0,
3919
- blur: _0,
3920
- colors: h0,
3921
- ...vo,
3922
- sizes: go,
3923
- shadows: p0,
3924
- space: uo,
3925
- borders: u0,
3926
- transition: x0
3927
- }, w0 = {
3928
- colors: {
3929
- "chakra-body-text": { _light: "gray.800", _dark: "whiteAlpha.900" },
3930
- "chakra-body-bg": { _light: "white", _dark: "gray.800" },
3931
- "chakra-border-color": { _light: "gray.200", _dark: "whiteAlpha.300" },
3932
- "chakra-inverse-text": { _light: "white", _dark: "gray.800" },
3933
- "chakra-subtle-bg": { _light: "gray.100", _dark: "gray.700" },
3934
- "chakra-subtle-text": { _light: "gray.600", _dark: "gray.400" },
3935
- "chakra-placeholder-color": { _light: "gray.500", _dark: "whiteAlpha.400" }
3936
- }
3937
- }, C0 = {
3938
- global: {
3939
- body: {
3940
- fontFamily: "body",
3941
- color: "chakra-body-text",
3942
- bg: "chakra-body-bg",
3943
- transitionProperty: "background-color",
3944
- transitionDuration: "normal",
3945
- lineHeight: "base"
3946
- },
3947
- "*::placeholder": {
3948
- color: "chakra-placeholder-color"
3949
- },
3950
- "*, *::before, &::after": {
3951
- borderColor: "chakra-border-color"
3952
- }
3953
- }
3954
- }, k0 = [
3955
- "borders",
3956
- "breakpoints",
3957
- "colors",
3958
- "components",
3959
- "config",
3960
- "direction",
3961
- "fonts",
3962
- "fontSizes",
3963
- "fontWeights",
3964
- "letterSpacings",
3965
- "lineHeights",
3966
- "radii",
3967
- "shadows",
3968
- "sizes",
3969
- "space",
3970
- "styles",
3971
- "transition",
3972
- "zIndices"
3973
- ];
3974
- function A0(e) {
3975
- return yt(e) ? k0.every(
3976
- (t) => Object.prototype.hasOwnProperty.call(e, t)
3977
- ) : !1;
3978
- }
3979
- const F0 = "ltr", T0 = {
3980
- useSystemColorMode: !1,
3981
- initialColorMode: "light",
3982
- cssVarPrefix: "chakra"
3983
- }, B0 = {
3984
- semanticTokens: w0,
3985
- direction: F0,
3986
- ...z0,
3987
- components: f0,
3988
- styles: C0,
3989
- config: T0
3990
- };
3991
- function Me(e) {
3992
- return typeof e == "function";
3993
- }
3994
- function P0(...e) {
3995
- return (t) => e.reduce((a, i) => i(a), t);
3996
- }
3997
- const E0 = (e) => function(...a) {
3998
- let i = [...a], l = a[a.length - 1];
3999
- return A0(l) && // this ensures backward compatibility
4000
- // previously only `extendTheme(override, activeTheme?)` was allowed
4001
- i.length > 1 ? i = i.slice(0, i.length - 1) : l = e, P0(
4002
- ...i.map(
4003
- (b) => (f) => Me(b) ? b(f) : M0(f, b)
4004
- )
4005
- )(l);
4006
- }, D0 = E0(B0);
4007
- function M0(...e) {
4008
- return lo({}, ...e, zo);
4009
- }
4010
- function zo(e, t, a, i) {
4011
- if ((Me(e) || Me(t)) && Object.prototype.hasOwnProperty.call(i, a))
4012
- return (...l) => {
4013
- const b = Me(e) ? e(...l) : e, f = Me(t) ? t(...l) : t;
4014
- return lo({}, b, f, zo);
4015
- };
4016
- if (it(e) && it(t))
4017
- return [...e, ...t];
4018
- if (it(e) && yt(t))
4019
- return t;
4020
- }
4021
- const j0 = {
4022
- body: "Sansation-Regular, sans-serif",
4023
- heading: "Sansation-Bold, sans-serif",
4024
- Lato: "Lato, sans-serif"
4025
- }, I0 = {
4026
- ".chat-wrapper": {
4027
- background: "#4E4D4D",
4028
- border: "2px solid #D6D6D6",
4029
- borderRadius: "8px",
4030
- fontSize: "16px",
4031
- minHeight: "240px",
4032
- overflow: "hidden",
4033
- padding: "1rem 0",
4034
- width: "100%"
4035
- },
4036
- ".message-input": {
4037
- borderTop: "1px solid #ccc"
4038
- },
4039
- ".cs-message-list": {
4040
- background: "#4E4D4D"
4041
- },
4042
- ".cs-chat-container .cs-message-input": {
4043
- background: "#4E4D4D",
4044
- border: "0",
4045
- padding: "1rem 0"
4046
- },
4047
- ".scrollbar-container": {
4048
- background: "transparent"
4049
- },
4050
- ".cs-message-input__content-editor-wrapper": {
4051
- background: "#6E6E6E"
4052
- },
4053
- ".cs-message-input__content-editor": {
4054
- background: "transparent",
4055
- color: "#fff",
4056
- textAlign: "left"
4057
- },
4058
- ".cs-message--incoming .cs-message__content": {
4059
- background: "transparent",
4060
- padding: "1rem 0",
4061
- color: "#fff",
4062
- textAlign: "left",
4063
- fontSize: "16px"
4064
- },
4065
- ".cs-message.cs-message--outgoing.cs-message--first .cs-message__content": {
4066
- background: "#efefef",
4067
- borderRadius: "20px",
4068
- color: "#000"
4069
- },
4070
- ".cs-message.cs-message--incoming.cs-message--first .cs-message__content": {
4071
- background: "transparent",
4072
- color: "#fff"
4073
- },
4074
- ".cs-message.cs-message--outgoing.cs-message--single .cs-message__content": {
4075
- background: "#fff",
4076
- fontSize: "16px"
4077
- },
4078
- ".cs-message-list .cs-typing-indicator": {
4079
- background: "transparent",
4080
- margin: "0 1.2em 0 .8em",
4081
- padding: "0"
4082
- },
4083
- ".cs-typing-indicator__text": {
4084
- color: "#fff"
4085
- },
4086
- ".cs-typing-indicator__dot": {
4087
- backgroundColor: "#fff"
4088
- }
4089
- }, R0 = {
4090
- global: {
4091
- body: {
4092
- color: "#000",
4093
- textAlign: "center",
4094
- fontFamily: "Sansation-Regular, sans-serif",
4095
- fontSize: "14px",
4096
- fontStyle: "normal",
4097
- fontWeight: 400,
4098
- lineHeight: "normal"
4099
- },
4100
- "*": {
4101
- boxSizing: "border-box"
4102
- },
4103
- a: {
4104
- cursor: "pointer"
4105
- },
4106
- ...I0
4107
- }
4108
- }, H0 = {
4109
- primary: {
4110
- 200: "#8BBFCB",
4111
- 300: "#67ABBB",
4112
- 400: "#4A94A6",
4113
- 500: "#3B7684",
4114
- 600: "#2B555F"
4115
- },
4116
- elevate: {
4117
- 200: "#FFF8FA",
4118
- 300: "#FFD6E2",
4119
- 400: "#FFA3BF",
4120
- 500: "#FF6F9A",
4121
- 600: "#FF3D77",
4122
- 700: "#FF0A53"
4123
- },
4124
- assist: {
4125
- 200: "#F9FCFE",
4126
- 300: "#B4D8F4",
4127
- 400: "#87C1ED",
4128
- 500: "#5AA9E6",
4129
- 600: "#2F93DF",
4130
- 700: "#1D79BE"
4131
- },
4132
- play: {
4133
- 300: "#FEE2DC",
4134
- 400: "#FCB8AB",
4135
- 500: "#FB8E79",
4136
- 600: "#FA6448",
4137
- 700: "#F93916"
4138
- },
4139
- talent: {
4140
- 300: "#D4BBD8",
4141
- 400: "#AB7AB3",
4142
- 500: "#965BA0",
4143
- 600: "#77487F",
4144
- 700: "#58365E"
4145
- },
4146
- collect: {
4147
- 300: "#95DAB8",
4148
- 400: "#6FCD9E",
4149
- 500: "#48BF84",
4150
- 600: "#389F6C",
4151
- 700: "#F93916"
4152
- },
4153
- ad: {
4154
- 300: "#AA7A60",
4155
- 400: "#8C624B",
4156
- 500: "#694A38",
4157
- 600: "#493427",
4158
- 700: "#281C15"
4159
- },
4160
- black: {
4161
- 40: "#EFEFEF",
4162
- 50: "#D7D7D7",
4163
- 100: "#C1C1C1",
4164
- 200: "#999999",
4165
- 300: "#999999",
4166
- 400: "#666666",
4167
- 500: "#333333",
4168
- 600: "#222222"
4169
- },
4170
- white: {
4171
- 50: "#EFEFEF",
4172
- 100: "#FFFFFF"
4173
- },
4174
- success: {
4175
- 200: "#C6F6D5",
4176
- 300: "#2CD888",
4177
- 400: "#21B06E",
4178
- 500: "#198754",
4179
- 600: "#115A38"
4180
- },
4181
- danger: {
4182
- 200: "#FED7D7",
4183
- 300: "#F81C34",
4184
- 400: "#DB071E",
4185
- 500: "#CE0015",
4186
- 600: "#C10004"
4187
- },
4188
- warning: {
4189
- 200: "#FEEBCB",
4190
- 300: "#FFCF70",
4191
- 400: "#FFBE3D",
4192
- 500: "#FFAE0C",
4193
- 600: "#D68F00"
4194
- },
4195
- info: {
4196
- 200: "#BEE3F8",
4197
- 300: "#47AFFF",
4198
- 400: "#1499FF",
4199
- 500: "#007EDF",
4200
- 600: "#0062AD"
4201
- }
4202
- }, O0 = {
4203
- initialColorMode: "light",
4204
- useSystemColorMode: !1
4205
- }, L0 = D0({
4206
- config: O0,
4207
- colors: H0,
4208
- fonts: j0,
4209
- styles: R0
4210
- });
4211
- export {
4212
- d as a,
4213
- L0 as b,
4214
- te as c,
4215
- W0 as d,
4216
- xe as e,
4217
- H0 as f,
4218
- ca as g,
4219
- yt as i,
4220
- lo as m,
4221
- B0 as t
4222
- };