@nycplanning/streetscape 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/FormControl/index.d.ts +6 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/index.js +1952 -60
- package/dist/index.js.map +1 -1
- package/dist/theme/components/accordion.d.ts +52 -0
- package/dist/theme/components/button.d.ts +68 -9
- package/dist/theme/components/checkbox.d.ts +55 -0
- package/dist/theme/components/form-control.d.ts +24 -0
- package/dist/theme/components/form-error.d.ts +25 -0
- package/dist/theme/components/form-label.d.ts +24 -0
- package/dist/theme/components/index.d.ts +374 -9
- package/dist/theme/components/input.d.ts +65 -0
- package/dist/theme/components/switch.d.ts +61 -0
- package/dist/theme/tokens/index.d.ts +1 -0
- package/dist/theme/tokens/radii.d.ts +1 -0
- package/package.json +2 -1
- package/dist/components/Button/Button.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { baseTheme as
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as
|
|
1
|
+
import { baseTheme as yo, defineStyleConfig as vo, createMultiStyleConfigHelpers as Sr, defineStyle as H, ChakraBaseProvider as So, Accordion as ko, AccordionItem as xo, AccordionButton as _o, AccordionPanel as To, AccordionIcon as wo, Button as Co, Checkbox as Ro, Switch as Bo, Input as $o, FormControl as Io, FormErrorMessage as Eo, FormLabel as zo } from "@chakra-ui/react";
|
|
2
|
+
import { cssVar as kr, calc as Re } from "@chakra-ui/theme-tools";
|
|
3
|
+
import { jsx as Ao } from "react/jsx-runtime";
|
|
4
4
|
export * from "@chakra-ui/layout";
|
|
5
5
|
export * from "@chakra-ui/media-query";
|
|
6
|
-
const
|
|
6
|
+
const Po = {}, Fo = {}, Oo = {
|
|
7
7
|
base: "0em",
|
|
8
8
|
sm: "30em",
|
|
9
9
|
md: "48em",
|
|
10
10
|
lg: "62em",
|
|
11
11
|
xl: "80em",
|
|
12
12
|
"2xl": "96em"
|
|
13
|
-
},
|
|
13
|
+
}, Wo = {
|
|
14
14
|
transparent: "transparent",
|
|
15
15
|
current: "currentColor",
|
|
16
16
|
white: "#FFFFFF",
|
|
@@ -31,7 +31,7 @@ const m = {}, a = {}, i = {
|
|
|
31
31
|
600: "#2C7A7B",
|
|
32
32
|
700: "#285E61"
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, Lo = {
|
|
35
35
|
sm: "0.875rem",
|
|
36
36
|
md: "1rem",
|
|
37
37
|
lg: "1.25rem",
|
|
@@ -39,22 +39,23 @@ const m = {}, a = {}, i = {
|
|
|
39
39
|
"2xl": "1.75rem",
|
|
40
40
|
"3xl": "2rem",
|
|
41
41
|
"4xl": "2.25rem"
|
|
42
|
-
},
|
|
42
|
+
}, Mo = {
|
|
43
43
|
bold: 700,
|
|
44
44
|
medium: 500,
|
|
45
45
|
regular: 400,
|
|
46
46
|
light: 300
|
|
47
|
-
},
|
|
47
|
+
}, jo = {
|
|
48
48
|
heading: "Helvetica Neue, Arial, sans-serif",
|
|
49
49
|
body: "Helvetica Neue, Arial, sans-serif"
|
|
50
|
-
},
|
|
50
|
+
}, Do = {}, Ho = {
|
|
51
51
|
regular: 1.5
|
|
52
|
-
},
|
|
52
|
+
}, Go = {
|
|
53
53
|
none: "0",
|
|
54
|
-
base: "0.75rem"
|
|
55
|
-
|
|
54
|
+
base: "0.75rem",
|
|
55
|
+
full: "9999px"
|
|
56
|
+
}, No = {
|
|
56
57
|
base: "0px 4px 4px 0px rgba(0, 0, 0, 0.08) inset, 0px -4px 4px 0px rgba(0, 0, 0, 0.08) inset, 4px 0px 4px 0px rgba(0, 0, 0, 0.08) inset, -4px 0px 4px 0px rgba(0, 0, 0, 0.08) inset"
|
|
57
|
-
},
|
|
58
|
+
}, Be = {
|
|
58
59
|
px: "1px",
|
|
59
60
|
0.5: "0.125rem",
|
|
60
61
|
1: "0.25rem",
|
|
@@ -88,28 +89,28 @@ const m = {}, a = {}, i = {
|
|
|
88
89
|
72: "18rem",
|
|
89
90
|
80: "20rem",
|
|
90
91
|
96: "24rem"
|
|
91
|
-
},
|
|
92
|
-
...
|
|
92
|
+
}, Xo = {
|
|
93
|
+
...Be,
|
|
93
94
|
max: "max-content",
|
|
94
95
|
min: "min-content",
|
|
95
96
|
full: "100%"
|
|
96
|
-
},
|
|
97
|
-
blur:
|
|
98
|
-
borders:
|
|
99
|
-
breakpoints:
|
|
100
|
-
colors:
|
|
101
|
-
fontSizes:
|
|
102
|
-
fontWeights:
|
|
103
|
-
fonts:
|
|
104
|
-
letterSpacings:
|
|
105
|
-
lineHeights:
|
|
106
|
-
radii:
|
|
107
|
-
shadows:
|
|
108
|
-
sizes:
|
|
109
|
-
space:
|
|
110
|
-
transition:
|
|
111
|
-
zIndices:
|
|
112
|
-
},
|
|
97
|
+
}, Yo = yo.transition, Vo = {}, Uo = {
|
|
98
|
+
blur: Po,
|
|
99
|
+
borders: Fo,
|
|
100
|
+
breakpoints: Oo,
|
|
101
|
+
colors: Wo,
|
|
102
|
+
fontSizes: Lo,
|
|
103
|
+
fontWeights: Mo,
|
|
104
|
+
fonts: jo,
|
|
105
|
+
letterSpacings: Do,
|
|
106
|
+
lineHeights: Ho,
|
|
107
|
+
radii: Go,
|
|
108
|
+
shadows: No,
|
|
109
|
+
sizes: Xo,
|
|
110
|
+
space: Be,
|
|
111
|
+
transition: Yo,
|
|
112
|
+
zIndices: Vo
|
|
113
|
+
}, qo = {
|
|
113
114
|
"primary.50": "teal.50",
|
|
114
115
|
"primary.500": "teal.500",
|
|
115
116
|
"primary.600": "teal.600",
|
|
@@ -122,29 +123,1909 @@ const m = {}, a = {}, i = {
|
|
|
122
123
|
"state.warning": "#ECC94B",
|
|
123
124
|
"state.success": "#25855A",
|
|
124
125
|
"state.focus": "#2B6CB0"
|
|
125
|
-
},
|
|
126
|
-
colors:
|
|
127
|
-
}
|
|
126
|
+
}, Ko = {
|
|
127
|
+
colors: qo
|
|
128
|
+
};
|
|
129
|
+
function f(e, n = {}) {
|
|
130
|
+
let s = !1;
|
|
131
|
+
function d() {
|
|
132
|
+
if (!s) {
|
|
133
|
+
s = !0;
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
throw new Error(
|
|
137
|
+
"[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?"
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
function p(...C) {
|
|
141
|
+
d();
|
|
142
|
+
for (const w of C)
|
|
143
|
+
n[w] = T(w);
|
|
144
|
+
return f(e, n);
|
|
145
|
+
}
|
|
146
|
+
function S(...C) {
|
|
147
|
+
for (const w of C)
|
|
148
|
+
w in n || (n[w] = T(w));
|
|
149
|
+
return f(e, n);
|
|
150
|
+
}
|
|
151
|
+
function k() {
|
|
152
|
+
return Object.fromEntries(
|
|
153
|
+
Object.entries(n).map(([w, R]) => [w, R.selector])
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
function x() {
|
|
157
|
+
return Object.fromEntries(
|
|
158
|
+
Object.entries(n).map(([w, R]) => [w, R.className])
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
function T(C) {
|
|
162
|
+
const P = `chakra-${(["container", "root"].includes(C ?? "") ? [e] : [e, C]).filter(Boolean).join("__")}`;
|
|
163
|
+
return {
|
|
164
|
+
className: P,
|
|
165
|
+
selector: `.${P}`,
|
|
166
|
+
toString: () => C
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
return {
|
|
170
|
+
parts: p,
|
|
171
|
+
toPart: T,
|
|
172
|
+
extend: S,
|
|
173
|
+
selectors: k,
|
|
174
|
+
classnames: x,
|
|
175
|
+
get keys() {
|
|
176
|
+
return Object.keys(n);
|
|
177
|
+
},
|
|
178
|
+
__type: {}
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
var $e = f("accordion").parts("root", "container", "button", "panel").extend("icon");
|
|
182
|
+
f("alert").parts("title", "description", "container").extend("icon", "spinner");
|
|
183
|
+
f("avatar").parts("label", "badge", "container").extend("excessLabel", "group");
|
|
184
|
+
f("breadcrumb").parts("link", "item", "container").extend("separator");
|
|
185
|
+
f("button").parts();
|
|
186
|
+
var Zo = f("checkbox").parts("control", "icon", "container").extend("label");
|
|
187
|
+
f("progress").parts("track", "filledTrack").extend("label");
|
|
188
|
+
f("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
189
|
+
f("editable").parts(
|
|
190
|
+
"preview",
|
|
191
|
+
"input",
|
|
192
|
+
"textarea"
|
|
193
|
+
);
|
|
194
|
+
var Jo = f("form").parts(
|
|
195
|
+
"container",
|
|
196
|
+
"requiredIndicator",
|
|
197
|
+
"helperText"
|
|
198
|
+
), Qo = f("formError").parts("text", "icon"), ra = f("input").parts(
|
|
199
|
+
"addon",
|
|
200
|
+
"field",
|
|
201
|
+
"element",
|
|
202
|
+
"group"
|
|
203
|
+
);
|
|
204
|
+
f("list").parts("container", "item", "icon");
|
|
205
|
+
f("menu").parts("button", "list", "item").extend("groupTitle", "icon", "command", "divider");
|
|
206
|
+
f("modal").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
207
|
+
f("numberinput").parts(
|
|
208
|
+
"root",
|
|
209
|
+
"field",
|
|
210
|
+
"stepperGroup",
|
|
211
|
+
"stepper"
|
|
212
|
+
);
|
|
213
|
+
f("pininput").parts("field");
|
|
214
|
+
f("popover").parts("content", "header", "body", "footer").extend("popper", "arrow", "closeButton");
|
|
215
|
+
f("progress").parts(
|
|
216
|
+
"label",
|
|
217
|
+
"filledTrack",
|
|
218
|
+
"track"
|
|
219
|
+
);
|
|
220
|
+
f("radio").parts(
|
|
221
|
+
"container",
|
|
222
|
+
"control",
|
|
223
|
+
"label"
|
|
224
|
+
);
|
|
225
|
+
f("select").parts("field", "icon");
|
|
226
|
+
f("slider").parts(
|
|
227
|
+
"container",
|
|
228
|
+
"track",
|
|
229
|
+
"thumb",
|
|
230
|
+
"filledTrack",
|
|
231
|
+
"mark"
|
|
232
|
+
);
|
|
233
|
+
f("stat").parts(
|
|
234
|
+
"container",
|
|
235
|
+
"label",
|
|
236
|
+
"helpText",
|
|
237
|
+
"number",
|
|
238
|
+
"icon"
|
|
239
|
+
);
|
|
240
|
+
var ea = f("switch").parts(
|
|
241
|
+
"container",
|
|
242
|
+
"track",
|
|
243
|
+
"thumb"
|
|
244
|
+
);
|
|
245
|
+
f("table").parts(
|
|
246
|
+
"table",
|
|
247
|
+
"thead",
|
|
248
|
+
"tbody",
|
|
249
|
+
"tr",
|
|
250
|
+
"th",
|
|
251
|
+
"td",
|
|
252
|
+
"tfoot",
|
|
253
|
+
"caption"
|
|
254
|
+
);
|
|
255
|
+
f("tabs").parts(
|
|
256
|
+
"root",
|
|
257
|
+
"tab",
|
|
258
|
+
"tablist",
|
|
259
|
+
"tabpanel",
|
|
260
|
+
"tabpanels",
|
|
261
|
+
"indicator"
|
|
262
|
+
);
|
|
263
|
+
f("tag").parts(
|
|
264
|
+
"container",
|
|
265
|
+
"label",
|
|
266
|
+
"closeButton"
|
|
267
|
+
);
|
|
268
|
+
f("card").parts(
|
|
269
|
+
"container",
|
|
270
|
+
"header",
|
|
271
|
+
"body",
|
|
272
|
+
"footer"
|
|
273
|
+
);
|
|
274
|
+
function Ie(e) {
|
|
275
|
+
const n = typeof e;
|
|
276
|
+
return e != null && (n === "object" || n === "function") && !Array.isArray(e);
|
|
277
|
+
}
|
|
278
|
+
var br = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
279
|
+
function ta(e) {
|
|
280
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
281
|
+
}
|
|
282
|
+
var mr = { exports: {} };
|
|
283
|
+
mr.exports;
|
|
284
|
+
(function(e, n) {
|
|
285
|
+
var s = 200, d = "__lodash_hash_undefined__", p = 800, S = 16, k = 9007199254740991, x = "[object Arguments]", T = "[object Array]", z = "[object AsyncFunction]", C = "[object Boolean]", w = "[object Date]", R = "[object Error]", P = "[object Function]", U = "[object GeneratorFunction]", G = "[object Map]", N = "[object Number]", ar = "[object Null]", q = "[object Object]", We = "[object Proxy]", Le = "[object RegExp]", Me = "[object Set]", je = "[object String]", De = "[object Undefined]", He = "[object WeakMap]", Ge = "[object ArrayBuffer]", Ne = "[object DataView]", Xe = "[object Float32Array]", Ye = "[object Float64Array]", Ve = "[object Int8Array]", Ue = "[object Int16Array]", qe = "[object Int32Array]", Ke = "[object Uint8Array]", Ze = "[object Uint8ClampedArray]", Je = "[object Uint16Array]", Qe = "[object Uint32Array]", rt = /[\\^$.*+?()[\]{}|]/g, et = /^\[object .+?Constructor\]$/, tt = /^(?:0|[1-9]\d*)$/, h = {};
|
|
286
|
+
h[Xe] = h[Ye] = h[Ve] = h[Ue] = h[qe] = h[Ke] = h[Ze] = h[Je] = h[Qe] = !0, h[x] = h[T] = h[Ge] = h[C] = h[Ne] = h[w] = h[R] = h[P] = h[G] = h[N] = h[q] = h[Le] = h[Me] = h[je] = h[He] = !1;
|
|
287
|
+
var Vr = typeof br == "object" && br && br.Object === Object && br, ot = typeof self == "object" && self && self.Object === Object && self, K = Vr || ot || Function("return this")(), Ur = n && !n.nodeType && n, Z = Ur && !0 && e && !e.nodeType && e, qr = Z && Z.exports === Ur, _r = qr && Vr.process, Kr = function() {
|
|
288
|
+
try {
|
|
289
|
+
var r = Z && Z.require && Z.require("util").types;
|
|
290
|
+
return r || _r && _r.binding && _r.binding("util");
|
|
291
|
+
} catch {
|
|
292
|
+
}
|
|
293
|
+
}(), Zr = Kr && Kr.isTypedArray;
|
|
294
|
+
function at(r, t, a) {
|
|
295
|
+
switch (a.length) {
|
|
296
|
+
case 0:
|
|
297
|
+
return r.call(t);
|
|
298
|
+
case 1:
|
|
299
|
+
return r.call(t, a[0]);
|
|
300
|
+
case 2:
|
|
301
|
+
return r.call(t, a[0], a[1]);
|
|
302
|
+
case 3:
|
|
303
|
+
return r.call(t, a[0], a[1], a[2]);
|
|
304
|
+
}
|
|
305
|
+
return r.apply(t, a);
|
|
306
|
+
}
|
|
307
|
+
function nt(r, t) {
|
|
308
|
+
for (var a = -1, i = Array(r); ++a < r; )
|
|
309
|
+
i[a] = t(a);
|
|
310
|
+
return i;
|
|
311
|
+
}
|
|
312
|
+
function it(r) {
|
|
313
|
+
return function(t) {
|
|
314
|
+
return r(t);
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
function st(r, t) {
|
|
318
|
+
return r == null ? void 0 : r[t];
|
|
319
|
+
}
|
|
320
|
+
function dt(r, t) {
|
|
321
|
+
return function(a) {
|
|
322
|
+
return r(t(a));
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
var lt = Array.prototype, ct = Function.prototype, nr = Object.prototype, Tr = K["__core-js_shared__"], ir = ct.toString, F = nr.hasOwnProperty, Jr = function() {
|
|
326
|
+
var r = /[^.]+$/.exec(Tr && Tr.keys && Tr.keys.IE_PROTO || "");
|
|
327
|
+
return r ? "Symbol(src)_1." + r : "";
|
|
328
|
+
}(), Qr = nr.toString, pt = ir.call(Object), ut = RegExp(
|
|
329
|
+
"^" + ir.call(F).replace(rt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
330
|
+
), sr = qr ? K.Buffer : void 0, re = K.Symbol, ee = K.Uint8Array, te = sr ? sr.allocUnsafe : void 0, oe = dt(Object.getPrototypeOf, Object), ae = Object.create, bt = nr.propertyIsEnumerable, ft = lt.splice, M = re ? re.toStringTag : void 0, dr = function() {
|
|
331
|
+
try {
|
|
332
|
+
var r = Rr(Object, "defineProperty");
|
|
333
|
+
return r({}, "", {}), r;
|
|
334
|
+
} catch {
|
|
335
|
+
}
|
|
336
|
+
}(), gt = sr ? sr.isBuffer : void 0, ne = Math.max, ht = Date.now, ie = Rr(K, "Map"), J = Rr(Object, "create"), mt = function() {
|
|
337
|
+
function r() {
|
|
338
|
+
}
|
|
339
|
+
return function(t) {
|
|
340
|
+
if (!D(t))
|
|
341
|
+
return {};
|
|
342
|
+
if (ae)
|
|
343
|
+
return ae(t);
|
|
344
|
+
r.prototype = t;
|
|
345
|
+
var a = new r();
|
|
346
|
+
return r.prototype = void 0, a;
|
|
347
|
+
};
|
|
348
|
+
}();
|
|
349
|
+
function j(r) {
|
|
350
|
+
var t = -1, a = r == null ? 0 : r.length;
|
|
351
|
+
for (this.clear(); ++t < a; ) {
|
|
352
|
+
var i = r[t];
|
|
353
|
+
this.set(i[0], i[1]);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
function yt() {
|
|
357
|
+
this.__data__ = J ? J(null) : {}, this.size = 0;
|
|
358
|
+
}
|
|
359
|
+
function vt(r) {
|
|
360
|
+
var t = this.has(r) && delete this.__data__[r];
|
|
361
|
+
return this.size -= t ? 1 : 0, t;
|
|
362
|
+
}
|
|
363
|
+
function St(r) {
|
|
364
|
+
var t = this.__data__;
|
|
365
|
+
if (J) {
|
|
366
|
+
var a = t[r];
|
|
367
|
+
return a === d ? void 0 : a;
|
|
368
|
+
}
|
|
369
|
+
return F.call(t, r) ? t[r] : void 0;
|
|
370
|
+
}
|
|
371
|
+
function kt(r) {
|
|
372
|
+
var t = this.__data__;
|
|
373
|
+
return J ? t[r] !== void 0 : F.call(t, r);
|
|
374
|
+
}
|
|
375
|
+
function xt(r, t) {
|
|
376
|
+
var a = this.__data__;
|
|
377
|
+
return this.size += this.has(r) ? 0 : 1, a[r] = J && t === void 0 ? d : t, this;
|
|
378
|
+
}
|
|
379
|
+
j.prototype.clear = yt, j.prototype.delete = vt, j.prototype.get = St, j.prototype.has = kt, j.prototype.set = xt;
|
|
380
|
+
function O(r) {
|
|
381
|
+
var t = -1, a = r == null ? 0 : r.length;
|
|
382
|
+
for (this.clear(); ++t < a; ) {
|
|
383
|
+
var i = r[t];
|
|
384
|
+
this.set(i[0], i[1]);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
function _t() {
|
|
388
|
+
this.__data__ = [], this.size = 0;
|
|
389
|
+
}
|
|
390
|
+
function Tt(r) {
|
|
391
|
+
var t = this.__data__, a = lr(t, r);
|
|
392
|
+
if (a < 0)
|
|
393
|
+
return !1;
|
|
394
|
+
var i = t.length - 1;
|
|
395
|
+
return a == i ? t.pop() : ft.call(t, a, 1), --this.size, !0;
|
|
396
|
+
}
|
|
397
|
+
function wt(r) {
|
|
398
|
+
var t = this.__data__, a = lr(t, r);
|
|
399
|
+
return a < 0 ? void 0 : t[a][1];
|
|
400
|
+
}
|
|
401
|
+
function Ct(r) {
|
|
402
|
+
return lr(this.__data__, r) > -1;
|
|
403
|
+
}
|
|
404
|
+
function Rt(r, t) {
|
|
405
|
+
var a = this.__data__, i = lr(a, r);
|
|
406
|
+
return i < 0 ? (++this.size, a.push([r, t])) : a[i][1] = t, this;
|
|
407
|
+
}
|
|
408
|
+
O.prototype.clear = _t, O.prototype.delete = Tt, O.prototype.get = wt, O.prototype.has = Ct, O.prototype.set = Rt;
|
|
409
|
+
function X(r) {
|
|
410
|
+
var t = -1, a = r == null ? 0 : r.length;
|
|
411
|
+
for (this.clear(); ++t < a; ) {
|
|
412
|
+
var i = r[t];
|
|
413
|
+
this.set(i[0], i[1]);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
function Bt() {
|
|
417
|
+
this.size = 0, this.__data__ = {
|
|
418
|
+
hash: new j(),
|
|
419
|
+
map: new (ie || O)(),
|
|
420
|
+
string: new j()
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
function $t(r) {
|
|
424
|
+
var t = pr(this, r).delete(r);
|
|
425
|
+
return this.size -= t ? 1 : 0, t;
|
|
426
|
+
}
|
|
427
|
+
function It(r) {
|
|
428
|
+
return pr(this, r).get(r);
|
|
429
|
+
}
|
|
430
|
+
function Et(r) {
|
|
431
|
+
return pr(this, r).has(r);
|
|
432
|
+
}
|
|
433
|
+
function zt(r, t) {
|
|
434
|
+
var a = pr(this, r), i = a.size;
|
|
435
|
+
return a.set(r, t), this.size += a.size == i ? 0 : 1, this;
|
|
436
|
+
}
|
|
437
|
+
X.prototype.clear = Bt, X.prototype.delete = $t, X.prototype.get = It, X.prototype.has = Et, X.prototype.set = zt;
|
|
438
|
+
function Y(r) {
|
|
439
|
+
var t = this.__data__ = new O(r);
|
|
440
|
+
this.size = t.size;
|
|
441
|
+
}
|
|
442
|
+
function At() {
|
|
443
|
+
this.__data__ = new O(), this.size = 0;
|
|
444
|
+
}
|
|
445
|
+
function Pt(r) {
|
|
446
|
+
var t = this.__data__, a = t.delete(r);
|
|
447
|
+
return this.size = t.size, a;
|
|
448
|
+
}
|
|
449
|
+
function Ft(r) {
|
|
450
|
+
return this.__data__.get(r);
|
|
451
|
+
}
|
|
452
|
+
function Ot(r) {
|
|
453
|
+
return this.__data__.has(r);
|
|
454
|
+
}
|
|
455
|
+
function Wt(r, t) {
|
|
456
|
+
var a = this.__data__;
|
|
457
|
+
if (a instanceof O) {
|
|
458
|
+
var i = a.__data__;
|
|
459
|
+
if (!ie || i.length < s - 1)
|
|
460
|
+
return i.push([r, t]), this.size = ++a.size, this;
|
|
461
|
+
a = this.__data__ = new X(i);
|
|
462
|
+
}
|
|
463
|
+
return a.set(r, t), this.size = a.size, this;
|
|
464
|
+
}
|
|
465
|
+
Y.prototype.clear = At, Y.prototype.delete = Pt, Y.prototype.get = Ft, Y.prototype.has = Ot, Y.prototype.set = Wt;
|
|
466
|
+
function Lt(r, t) {
|
|
467
|
+
var a = Ir(r), i = !a && $r(r), c = !a && !i && pe(r), g = !a && !i && !c && be(r), y = a || i || c || g, l = y ? nt(r.length, String) : [], v = l.length;
|
|
468
|
+
for (var $ in r)
|
|
469
|
+
(t || F.call(r, $)) && !(y && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
470
|
+
($ == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
471
|
+
c && ($ == "offset" || $ == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
472
|
+
g && ($ == "buffer" || $ == "byteLength" || $ == "byteOffset") || // Skip index properties.
|
|
473
|
+
le($, v))) && l.push($);
|
|
474
|
+
return l;
|
|
475
|
+
}
|
|
476
|
+
function wr(r, t, a) {
|
|
477
|
+
(a !== void 0 && !ur(r[t], a) || a === void 0 && !(t in r)) && Cr(r, t, a);
|
|
478
|
+
}
|
|
479
|
+
function Mt(r, t, a) {
|
|
480
|
+
var i = r[t];
|
|
481
|
+
(!(F.call(r, t) && ur(i, a)) || a === void 0 && !(t in r)) && Cr(r, t, a);
|
|
482
|
+
}
|
|
483
|
+
function lr(r, t) {
|
|
484
|
+
for (var a = r.length; a--; )
|
|
485
|
+
if (ur(r[a][0], t))
|
|
486
|
+
return a;
|
|
487
|
+
return -1;
|
|
488
|
+
}
|
|
489
|
+
function Cr(r, t, a) {
|
|
490
|
+
t == "__proto__" && dr ? dr(r, t, {
|
|
491
|
+
configurable: !0,
|
|
492
|
+
enumerable: !0,
|
|
493
|
+
value: a,
|
|
494
|
+
writable: !0
|
|
495
|
+
}) : r[t] = a;
|
|
496
|
+
}
|
|
497
|
+
var jt = Qt();
|
|
498
|
+
function cr(r) {
|
|
499
|
+
return r == null ? r === void 0 ? De : ar : M && M in Object(r) ? ro(r) : io(r);
|
|
500
|
+
}
|
|
501
|
+
function se(r) {
|
|
502
|
+
return Q(r) && cr(r) == x;
|
|
503
|
+
}
|
|
504
|
+
function Dt(r) {
|
|
505
|
+
if (!D(r) || ao(r))
|
|
506
|
+
return !1;
|
|
507
|
+
var t = zr(r) ? ut : et;
|
|
508
|
+
return t.test(po(r));
|
|
509
|
+
}
|
|
510
|
+
function Ht(r) {
|
|
511
|
+
return Q(r) && ue(r.length) && !!h[cr(r)];
|
|
512
|
+
}
|
|
513
|
+
function Gt(r) {
|
|
514
|
+
if (!D(r))
|
|
515
|
+
return no(r);
|
|
516
|
+
var t = ce(r), a = [];
|
|
517
|
+
for (var i in r)
|
|
518
|
+
i == "constructor" && (t || !F.call(r, i)) || a.push(i);
|
|
519
|
+
return a;
|
|
520
|
+
}
|
|
521
|
+
function de(r, t, a, i, c) {
|
|
522
|
+
r !== t && jt(t, function(g, y) {
|
|
523
|
+
if (c || (c = new Y()), D(g))
|
|
524
|
+
Nt(r, t, y, a, de, i, c);
|
|
525
|
+
else {
|
|
526
|
+
var l = i ? i(Br(r, y), g, y + "", r, t, c) : void 0;
|
|
527
|
+
l === void 0 && (l = g), wr(r, y, l);
|
|
528
|
+
}
|
|
529
|
+
}, fe);
|
|
530
|
+
}
|
|
531
|
+
function Nt(r, t, a, i, c, g, y) {
|
|
532
|
+
var l = Br(r, a), v = Br(t, a), $ = y.get(v);
|
|
533
|
+
if ($) {
|
|
534
|
+
wr(r, a, $);
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
var B = g ? g(l, v, a + "", r, t, y) : void 0, rr = B === void 0;
|
|
538
|
+
if (rr) {
|
|
539
|
+
var Ar = Ir(v), Pr = !Ar && pe(v), he = !Ar && !Pr && be(v);
|
|
540
|
+
B = v, Ar || Pr || he ? Ir(l) ? B = l : uo(l) ? B = Kt(l) : Pr ? (rr = !1, B = Vt(v, !0)) : he ? (rr = !1, B = qt(v, !0)) : B = [] : bo(v) || $r(v) ? (B = l, $r(l) ? B = fo(l) : (!D(l) || zr(l)) && (B = eo(v))) : rr = !1;
|
|
541
|
+
}
|
|
542
|
+
rr && (y.set(v, B), c(B, v, i, g, y), y.delete(v)), wr(r, a, B);
|
|
543
|
+
}
|
|
544
|
+
function Xt(r, t) {
|
|
545
|
+
return lo(so(r, t, ge), r + "");
|
|
546
|
+
}
|
|
547
|
+
var Yt = dr ? function(r, t) {
|
|
548
|
+
return dr(r, "toString", {
|
|
549
|
+
configurable: !0,
|
|
550
|
+
enumerable: !1,
|
|
551
|
+
value: ho(t),
|
|
552
|
+
writable: !0
|
|
553
|
+
});
|
|
554
|
+
} : ge;
|
|
555
|
+
function Vt(r, t) {
|
|
556
|
+
if (t)
|
|
557
|
+
return r.slice();
|
|
558
|
+
var a = r.length, i = te ? te(a) : new r.constructor(a);
|
|
559
|
+
return r.copy(i), i;
|
|
560
|
+
}
|
|
561
|
+
function Ut(r) {
|
|
562
|
+
var t = new r.constructor(r.byteLength);
|
|
563
|
+
return new ee(t).set(new ee(r)), t;
|
|
564
|
+
}
|
|
565
|
+
function qt(r, t) {
|
|
566
|
+
var a = t ? Ut(r.buffer) : r.buffer;
|
|
567
|
+
return new r.constructor(a, r.byteOffset, r.length);
|
|
568
|
+
}
|
|
569
|
+
function Kt(r, t) {
|
|
570
|
+
var a = -1, i = r.length;
|
|
571
|
+
for (t || (t = Array(i)); ++a < i; )
|
|
572
|
+
t[a] = r[a];
|
|
573
|
+
return t;
|
|
574
|
+
}
|
|
575
|
+
function Zt(r, t, a, i) {
|
|
576
|
+
var c = !a;
|
|
577
|
+
a || (a = {});
|
|
578
|
+
for (var g = -1, y = t.length; ++g < y; ) {
|
|
579
|
+
var l = t[g], v = i ? i(a[l], r[l], l, a, r) : void 0;
|
|
580
|
+
v === void 0 && (v = r[l]), c ? Cr(a, l, v) : Mt(a, l, v);
|
|
581
|
+
}
|
|
582
|
+
return a;
|
|
583
|
+
}
|
|
584
|
+
function Jt(r) {
|
|
585
|
+
return Xt(function(t, a) {
|
|
586
|
+
var i = -1, c = a.length, g = c > 1 ? a[c - 1] : void 0, y = c > 2 ? a[2] : void 0;
|
|
587
|
+
for (g = r.length > 3 && typeof g == "function" ? (c--, g) : void 0, y && to(a[0], a[1], y) && (g = c < 3 ? void 0 : g, c = 1), t = Object(t); ++i < c; ) {
|
|
588
|
+
var l = a[i];
|
|
589
|
+
l && r(t, l, i, g);
|
|
590
|
+
}
|
|
591
|
+
return t;
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
function Qt(r) {
|
|
595
|
+
return function(t, a, i) {
|
|
596
|
+
for (var c = -1, g = Object(t), y = i(t), l = y.length; l--; ) {
|
|
597
|
+
var v = y[r ? l : ++c];
|
|
598
|
+
if (a(g[v], v, g) === !1)
|
|
599
|
+
break;
|
|
600
|
+
}
|
|
601
|
+
return t;
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
function pr(r, t) {
|
|
605
|
+
var a = r.__data__;
|
|
606
|
+
return oo(t) ? a[typeof t == "string" ? "string" : "hash"] : a.map;
|
|
607
|
+
}
|
|
608
|
+
function Rr(r, t) {
|
|
609
|
+
var a = st(r, t);
|
|
610
|
+
return Dt(a) ? a : void 0;
|
|
611
|
+
}
|
|
612
|
+
function ro(r) {
|
|
613
|
+
var t = F.call(r, M), a = r[M];
|
|
614
|
+
try {
|
|
615
|
+
r[M] = void 0;
|
|
616
|
+
var i = !0;
|
|
617
|
+
} catch {
|
|
618
|
+
}
|
|
619
|
+
var c = Qr.call(r);
|
|
620
|
+
return i && (t ? r[M] = a : delete r[M]), c;
|
|
621
|
+
}
|
|
622
|
+
function eo(r) {
|
|
623
|
+
return typeof r.constructor == "function" && !ce(r) ? mt(oe(r)) : {};
|
|
624
|
+
}
|
|
625
|
+
function le(r, t) {
|
|
626
|
+
var a = typeof r;
|
|
627
|
+
return t = t ?? k, !!t && (a == "number" || a != "symbol" && tt.test(r)) && r > -1 && r % 1 == 0 && r < t;
|
|
628
|
+
}
|
|
629
|
+
function to(r, t, a) {
|
|
630
|
+
if (!D(a))
|
|
631
|
+
return !1;
|
|
632
|
+
var i = typeof t;
|
|
633
|
+
return (i == "number" ? Er(a) && le(t, a.length) : i == "string" && t in a) ? ur(a[t], r) : !1;
|
|
634
|
+
}
|
|
635
|
+
function oo(r) {
|
|
636
|
+
var t = typeof r;
|
|
637
|
+
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? r !== "__proto__" : r === null;
|
|
638
|
+
}
|
|
639
|
+
function ao(r) {
|
|
640
|
+
return !!Jr && Jr in r;
|
|
641
|
+
}
|
|
642
|
+
function ce(r) {
|
|
643
|
+
var t = r && r.constructor, a = typeof t == "function" && t.prototype || nr;
|
|
644
|
+
return r === a;
|
|
645
|
+
}
|
|
646
|
+
function no(r) {
|
|
647
|
+
var t = [];
|
|
648
|
+
if (r != null)
|
|
649
|
+
for (var a in Object(r))
|
|
650
|
+
t.push(a);
|
|
651
|
+
return t;
|
|
652
|
+
}
|
|
653
|
+
function io(r) {
|
|
654
|
+
return Qr.call(r);
|
|
655
|
+
}
|
|
656
|
+
function so(r, t, a) {
|
|
657
|
+
return t = ne(t === void 0 ? r.length - 1 : t, 0), function() {
|
|
658
|
+
for (var i = arguments, c = -1, g = ne(i.length - t, 0), y = Array(g); ++c < g; )
|
|
659
|
+
y[c] = i[t + c];
|
|
660
|
+
c = -1;
|
|
661
|
+
for (var l = Array(t + 1); ++c < t; )
|
|
662
|
+
l[c] = i[c];
|
|
663
|
+
return l[t] = a(y), at(r, this, l);
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
function Br(r, t) {
|
|
667
|
+
if (!(t === "constructor" && typeof r[t] == "function") && t != "__proto__")
|
|
668
|
+
return r[t];
|
|
669
|
+
}
|
|
670
|
+
var lo = co(Yt);
|
|
671
|
+
function co(r) {
|
|
672
|
+
var t = 0, a = 0;
|
|
673
|
+
return function() {
|
|
674
|
+
var i = ht(), c = S - (i - a);
|
|
675
|
+
if (a = i, c > 0) {
|
|
676
|
+
if (++t >= p)
|
|
677
|
+
return arguments[0];
|
|
678
|
+
} else
|
|
679
|
+
t = 0;
|
|
680
|
+
return r.apply(void 0, arguments);
|
|
681
|
+
};
|
|
682
|
+
}
|
|
683
|
+
function po(r) {
|
|
684
|
+
if (r != null) {
|
|
685
|
+
try {
|
|
686
|
+
return ir.call(r);
|
|
687
|
+
} catch {
|
|
688
|
+
}
|
|
689
|
+
try {
|
|
690
|
+
return r + "";
|
|
691
|
+
} catch {
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
return "";
|
|
695
|
+
}
|
|
696
|
+
function ur(r, t) {
|
|
697
|
+
return r === t || r !== r && t !== t;
|
|
698
|
+
}
|
|
699
|
+
var $r = se(function() {
|
|
700
|
+
return arguments;
|
|
701
|
+
}()) ? se : function(r) {
|
|
702
|
+
return Q(r) && F.call(r, "callee") && !bt.call(r, "callee");
|
|
703
|
+
}, Ir = Array.isArray;
|
|
704
|
+
function Er(r) {
|
|
705
|
+
return r != null && ue(r.length) && !zr(r);
|
|
706
|
+
}
|
|
707
|
+
function uo(r) {
|
|
708
|
+
return Q(r) && Er(r);
|
|
709
|
+
}
|
|
710
|
+
var pe = gt || mo;
|
|
711
|
+
function zr(r) {
|
|
712
|
+
if (!D(r))
|
|
713
|
+
return !1;
|
|
714
|
+
var t = cr(r);
|
|
715
|
+
return t == P || t == U || t == z || t == We;
|
|
716
|
+
}
|
|
717
|
+
function ue(r) {
|
|
718
|
+
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= k;
|
|
719
|
+
}
|
|
720
|
+
function D(r) {
|
|
721
|
+
var t = typeof r;
|
|
722
|
+
return r != null && (t == "object" || t == "function");
|
|
723
|
+
}
|
|
724
|
+
function Q(r) {
|
|
725
|
+
return r != null && typeof r == "object";
|
|
726
|
+
}
|
|
727
|
+
function bo(r) {
|
|
728
|
+
if (!Q(r) || cr(r) != q)
|
|
729
|
+
return !1;
|
|
730
|
+
var t = oe(r);
|
|
731
|
+
if (t === null)
|
|
732
|
+
return !0;
|
|
733
|
+
var a = F.call(t, "constructor") && t.constructor;
|
|
734
|
+
return typeof a == "function" && a instanceof a && ir.call(a) == pt;
|
|
735
|
+
}
|
|
736
|
+
var be = Zr ? it(Zr) : Ht;
|
|
737
|
+
function fo(r) {
|
|
738
|
+
return Zt(r, fe(r));
|
|
739
|
+
}
|
|
740
|
+
function fe(r) {
|
|
741
|
+
return Er(r) ? Lt(r, !0) : Gt(r);
|
|
742
|
+
}
|
|
743
|
+
var go = Jt(function(r, t, a, i) {
|
|
744
|
+
de(r, t, a, i);
|
|
745
|
+
});
|
|
746
|
+
function ho(r) {
|
|
747
|
+
return function() {
|
|
748
|
+
return r;
|
|
749
|
+
};
|
|
750
|
+
}
|
|
751
|
+
function ge(r) {
|
|
752
|
+
return r;
|
|
753
|
+
}
|
|
754
|
+
function mo() {
|
|
755
|
+
return !1;
|
|
756
|
+
}
|
|
757
|
+
e.exports = go;
|
|
758
|
+
})(mr, mr.exports);
|
|
759
|
+
var oa = mr.exports;
|
|
760
|
+
const aa = /* @__PURE__ */ ta(oa);
|
|
761
|
+
var na = (e) => /!(important)?$/.test(e), me = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, ia = (e, n) => (s) => {
|
|
762
|
+
const d = String(n), p = na(d), S = me(d), k = e ? `${e}.${S}` : S;
|
|
763
|
+
let x = Ie(s.__cssMap) && k in s.__cssMap ? s.__cssMap[k].varRef : n;
|
|
764
|
+
return x = me(x), p ? `${x} !important` : x;
|
|
765
|
+
};
|
|
766
|
+
function Xr(e) {
|
|
767
|
+
const { scale: n, transform: s, compose: d } = e;
|
|
768
|
+
return (S, k) => {
|
|
769
|
+
var x;
|
|
770
|
+
const T = ia(n, S)(k);
|
|
771
|
+
let z = (x = s == null ? void 0 : s(T, k)) != null ? x : T;
|
|
772
|
+
return d && (z = d(z, k)), z;
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
var fr = (...e) => (n) => e.reduce((s, d) => d(s), n);
|
|
776
|
+
function I(e, n) {
|
|
777
|
+
return (s) => {
|
|
778
|
+
const d = { property: s, scale: e };
|
|
779
|
+
return d.transform = Xr({
|
|
780
|
+
scale: e,
|
|
781
|
+
transform: n
|
|
782
|
+
}), d;
|
|
783
|
+
};
|
|
784
|
+
}
|
|
785
|
+
var sa = ({ rtl: e, ltr: n }) => (s) => s.direction === "rtl" ? e : n;
|
|
786
|
+
function da(e) {
|
|
787
|
+
const { property: n, scale: s, transform: d } = e;
|
|
788
|
+
return {
|
|
789
|
+
scale: s,
|
|
790
|
+
property: sa(n),
|
|
791
|
+
transform: s ? Xr({
|
|
792
|
+
scale: s,
|
|
793
|
+
compose: d
|
|
794
|
+
}) : d
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
var Ee = [
|
|
798
|
+
"rotate(var(--chakra-rotate, 0))",
|
|
799
|
+
"scaleX(var(--chakra-scale-x, 1))",
|
|
800
|
+
"scaleY(var(--chakra-scale-y, 1))",
|
|
801
|
+
"skewX(var(--chakra-skew-x, 0))",
|
|
802
|
+
"skewY(var(--chakra-skew-y, 0))"
|
|
803
|
+
];
|
|
804
|
+
function la() {
|
|
805
|
+
return [
|
|
806
|
+
"translateX(var(--chakra-translate-x, 0))",
|
|
807
|
+
"translateY(var(--chakra-translate-y, 0))",
|
|
808
|
+
...Ee
|
|
809
|
+
].join(" ");
|
|
810
|
+
}
|
|
811
|
+
function ca() {
|
|
812
|
+
return [
|
|
813
|
+
"translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",
|
|
814
|
+
...Ee
|
|
815
|
+
].join(" ");
|
|
816
|
+
}
|
|
817
|
+
var pa = {
|
|
818
|
+
"--chakra-blur": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
819
|
+
"--chakra-brightness": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
820
|
+
"--chakra-contrast": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
821
|
+
"--chakra-grayscale": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
822
|
+
"--chakra-hue-rotate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
823
|
+
"--chakra-invert": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
824
|
+
"--chakra-saturate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
825
|
+
"--chakra-sepia": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
826
|
+
"--chakra-drop-shadow": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
827
|
+
filter: [
|
|
828
|
+
"var(--chakra-blur)",
|
|
829
|
+
"var(--chakra-brightness)",
|
|
830
|
+
"var(--chakra-contrast)",
|
|
831
|
+
"var(--chakra-grayscale)",
|
|
832
|
+
"var(--chakra-hue-rotate)",
|
|
833
|
+
"var(--chakra-invert)",
|
|
834
|
+
"var(--chakra-saturate)",
|
|
835
|
+
"var(--chakra-sepia)",
|
|
836
|
+
"var(--chakra-drop-shadow)"
|
|
837
|
+
].join(" ")
|
|
838
|
+
}, ua = {
|
|
839
|
+
backdropFilter: [
|
|
840
|
+
"var(--chakra-backdrop-blur)",
|
|
841
|
+
"var(--chakra-backdrop-brightness)",
|
|
842
|
+
"var(--chakra-backdrop-contrast)",
|
|
843
|
+
"var(--chakra-backdrop-grayscale)",
|
|
844
|
+
"var(--chakra-backdrop-hue-rotate)",
|
|
845
|
+
"var(--chakra-backdrop-invert)",
|
|
846
|
+
"var(--chakra-backdrop-opacity)",
|
|
847
|
+
"var(--chakra-backdrop-saturate)",
|
|
848
|
+
"var(--chakra-backdrop-sepia)"
|
|
849
|
+
].join(" "),
|
|
850
|
+
"--chakra-backdrop-blur": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
851
|
+
"--chakra-backdrop-brightness": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
852
|
+
"--chakra-backdrop-contrast": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
853
|
+
"--chakra-backdrop-grayscale": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
854
|
+
"--chakra-backdrop-hue-rotate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
855
|
+
"--chakra-backdrop-invert": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
856
|
+
"--chakra-backdrop-opacity": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
857
|
+
"--chakra-backdrop-saturate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
858
|
+
"--chakra-backdrop-sepia": "var(--chakra-empty,/*!*/ /*!*/)"
|
|
859
|
+
};
|
|
860
|
+
function ba(e) {
|
|
861
|
+
return {
|
|
862
|
+
"--chakra-ring-offset-shadow": "var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)",
|
|
863
|
+
"--chakra-ring-shadow": "var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)",
|
|
864
|
+
"--chakra-ring-width": e,
|
|
865
|
+
boxShadow: [
|
|
866
|
+
"var(--chakra-ring-offset-shadow)",
|
|
867
|
+
"var(--chakra-ring-shadow)",
|
|
868
|
+
"var(--chakra-shadow, 0 0 #0000)"
|
|
869
|
+
].join(", ")
|
|
870
|
+
};
|
|
871
|
+
}
|
|
872
|
+
var fa = {
|
|
873
|
+
"row-reverse": {
|
|
874
|
+
space: "--chakra-space-x-reverse",
|
|
875
|
+
divide: "--chakra-divide-x-reverse"
|
|
876
|
+
},
|
|
877
|
+
"column-reverse": {
|
|
878
|
+
space: "--chakra-space-y-reverse",
|
|
879
|
+
divide: "--chakra-divide-y-reverse"
|
|
880
|
+
}
|
|
881
|
+
}, Wr = {
|
|
882
|
+
"to-t": "to top",
|
|
883
|
+
"to-tr": "to top right",
|
|
884
|
+
"to-r": "to right",
|
|
885
|
+
"to-br": "to bottom right",
|
|
886
|
+
"to-b": "to bottom",
|
|
887
|
+
"to-bl": "to bottom left",
|
|
888
|
+
"to-l": "to left",
|
|
889
|
+
"to-tl": "to top left"
|
|
890
|
+
}, ga = new Set(Object.values(Wr)), Lr = /* @__PURE__ */ new Set([
|
|
891
|
+
"none",
|
|
892
|
+
"-moz-initial",
|
|
893
|
+
"inherit",
|
|
894
|
+
"initial",
|
|
895
|
+
"revert",
|
|
896
|
+
"unset"
|
|
897
|
+
]), ha = (e) => e.trim();
|
|
898
|
+
function ma(e, n) {
|
|
899
|
+
if (e == null || Lr.has(e))
|
|
900
|
+
return e;
|
|
901
|
+
if (!(Mr(e) || Lr.has(e)))
|
|
902
|
+
return `url('${e}')`;
|
|
903
|
+
const p = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), S = p == null ? void 0 : p[1], k = p == null ? void 0 : p[2];
|
|
904
|
+
if (!S || !k)
|
|
905
|
+
return e;
|
|
906
|
+
const x = S.includes("-gradient") ? S : `${S}-gradient`, [T, ...z] = k.split(",").map(ha).filter(Boolean);
|
|
907
|
+
if ((z == null ? void 0 : z.length) === 0)
|
|
908
|
+
return e;
|
|
909
|
+
const C = T in Wr ? Wr[T] : T;
|
|
910
|
+
z.unshift(C);
|
|
911
|
+
const w = z.map((R) => {
|
|
912
|
+
if (ga.has(R))
|
|
913
|
+
return R;
|
|
914
|
+
const P = R.indexOf(" "), [U, G] = P !== -1 ? [R.substr(0, P), R.substr(P + 1)] : [R], N = Mr(G) ? G : G && G.split(" "), ar = `colors.${U}`, q = ar in n.__cssMap ? n.__cssMap[ar].varRef : U;
|
|
915
|
+
return N ? [
|
|
916
|
+
q,
|
|
917
|
+
...Array.isArray(N) ? N : [N]
|
|
918
|
+
].join(" ") : q;
|
|
919
|
+
});
|
|
920
|
+
return `${x}(${w.join(", ")})`;
|
|
921
|
+
}
|
|
922
|
+
var Mr = (e) => typeof e == "string" && e.includes("(") && e.includes(")"), ya = (e, n) => ma(e, n ?? {});
|
|
923
|
+
function va(e) {
|
|
924
|
+
return /^var\(--.+\)$/.test(e);
|
|
925
|
+
}
|
|
926
|
+
var Sa = (e) => {
|
|
927
|
+
const n = parseFloat(e.toString()), s = e.toString().replace(String(n), "");
|
|
928
|
+
return { unitless: !s, value: n, unit: s };
|
|
929
|
+
}, A = (e) => (n) => `${e}(${n})`, u = {
|
|
930
|
+
filter(e) {
|
|
931
|
+
return e !== "auto" ? e : pa;
|
|
932
|
+
},
|
|
933
|
+
backdropFilter(e) {
|
|
934
|
+
return e !== "auto" ? e : ua;
|
|
935
|
+
},
|
|
936
|
+
ring(e) {
|
|
937
|
+
return ba(u.px(e));
|
|
938
|
+
},
|
|
939
|
+
bgClip(e) {
|
|
940
|
+
return e === "text" ? { color: "transparent", backgroundClip: "text" } : { backgroundClip: e };
|
|
941
|
+
},
|
|
942
|
+
transform(e) {
|
|
943
|
+
return e === "auto" ? la() : e === "auto-gpu" ? ca() : e;
|
|
944
|
+
},
|
|
945
|
+
vh(e) {
|
|
946
|
+
return e === "$100vh" ? "var(--chakra-vh)" : e;
|
|
947
|
+
},
|
|
948
|
+
px(e) {
|
|
949
|
+
if (e == null)
|
|
950
|
+
return e;
|
|
951
|
+
const { unitless: n } = Sa(e);
|
|
952
|
+
return n || typeof e == "number" ? `${e}px` : e;
|
|
953
|
+
},
|
|
954
|
+
fraction(e) {
|
|
955
|
+
return typeof e != "number" || e > 1 ? e : `${e * 100}%`;
|
|
956
|
+
},
|
|
957
|
+
float(e, n) {
|
|
958
|
+
const s = { left: "right", right: "left" };
|
|
959
|
+
return n.direction === "rtl" ? s[e] : e;
|
|
960
|
+
},
|
|
961
|
+
degree(e) {
|
|
962
|
+
if (va(e) || e == null)
|
|
963
|
+
return e;
|
|
964
|
+
const n = typeof e == "string" && !e.endsWith("deg");
|
|
965
|
+
return typeof e == "number" || n ? `${e}deg` : e;
|
|
966
|
+
},
|
|
967
|
+
gradient: ya,
|
|
968
|
+
blur: A("blur"),
|
|
969
|
+
opacity: A("opacity"),
|
|
970
|
+
brightness: A("brightness"),
|
|
971
|
+
contrast: A("contrast"),
|
|
972
|
+
dropShadow: A("drop-shadow"),
|
|
973
|
+
grayscale: A("grayscale"),
|
|
974
|
+
hueRotate: A("hue-rotate"),
|
|
975
|
+
invert: A("invert"),
|
|
976
|
+
saturate: A("saturate"),
|
|
977
|
+
sepia: A("sepia"),
|
|
978
|
+
bgImage(e) {
|
|
979
|
+
return e == null || Mr(e) || Lr.has(e) ? e : `url(${e})`;
|
|
980
|
+
},
|
|
981
|
+
outline(e) {
|
|
982
|
+
const n = String(e) === "0" || String(e) === "none";
|
|
983
|
+
return e !== null && n ? { outline: "2px solid transparent", outlineOffset: "2px" } : { outline: e };
|
|
984
|
+
},
|
|
985
|
+
flexDirection(e) {
|
|
986
|
+
var n;
|
|
987
|
+
const { space: s, divide: d } = (n = fa[e]) != null ? n : {}, p = { flexDirection: e };
|
|
988
|
+
return s && (p[s] = 1), d && (p[d] = 1), p;
|
|
989
|
+
}
|
|
990
|
+
}, o = {
|
|
991
|
+
borderWidths: I("borderWidths"),
|
|
992
|
+
borderStyles: I("borderStyles"),
|
|
993
|
+
colors: I("colors"),
|
|
994
|
+
borders: I("borders"),
|
|
995
|
+
gradients: I("gradients", u.gradient),
|
|
996
|
+
radii: I("radii", u.px),
|
|
997
|
+
space: I("space", fr(u.vh, u.px)),
|
|
998
|
+
spaceT: I("space", fr(u.vh, u.px)),
|
|
999
|
+
degreeT(e) {
|
|
1000
|
+
return { property: e, transform: u.degree };
|
|
1001
|
+
},
|
|
1002
|
+
prop(e, n, s) {
|
|
1003
|
+
return {
|
|
1004
|
+
property: e,
|
|
1005
|
+
scale: n,
|
|
1006
|
+
...n && {
|
|
1007
|
+
transform: Xr({ scale: n, transform: s })
|
|
1008
|
+
}
|
|
1009
|
+
};
|
|
1010
|
+
},
|
|
1011
|
+
propT(e, n) {
|
|
1012
|
+
return { property: e, transform: n };
|
|
1013
|
+
},
|
|
1014
|
+
sizes: I("sizes", fr(u.vh, u.px)),
|
|
1015
|
+
sizesT: I("sizes", fr(u.vh, u.fraction)),
|
|
1016
|
+
shadows: I("shadows"),
|
|
1017
|
+
logical: da,
|
|
1018
|
+
blur: I("blur", u.blur)
|
|
1019
|
+
}, gr = {
|
|
1020
|
+
background: o.colors("background"),
|
|
1021
|
+
backgroundColor: o.colors("backgroundColor"),
|
|
1022
|
+
backgroundImage: o.gradients("backgroundImage"),
|
|
1023
|
+
backgroundSize: !0,
|
|
1024
|
+
backgroundPosition: !0,
|
|
1025
|
+
backgroundRepeat: !0,
|
|
1026
|
+
backgroundAttachment: !0,
|
|
1027
|
+
backgroundClip: { transform: u.bgClip },
|
|
1028
|
+
bgSize: o.prop("backgroundSize"),
|
|
1029
|
+
bgPosition: o.prop("backgroundPosition"),
|
|
1030
|
+
bg: o.colors("background"),
|
|
1031
|
+
bgColor: o.colors("backgroundColor"),
|
|
1032
|
+
bgPos: o.prop("backgroundPosition"),
|
|
1033
|
+
bgRepeat: o.prop("backgroundRepeat"),
|
|
1034
|
+
bgAttachment: o.prop("backgroundAttachment"),
|
|
1035
|
+
bgGradient: o.gradients("backgroundImage"),
|
|
1036
|
+
bgClip: { transform: u.bgClip }
|
|
1037
|
+
};
|
|
1038
|
+
Object.assign(gr, {
|
|
1039
|
+
bgImage: gr.backgroundImage,
|
|
1040
|
+
bgImg: gr.backgroundImage
|
|
1041
|
+
});
|
|
1042
|
+
var b = {
|
|
1043
|
+
border: o.borders("border"),
|
|
1044
|
+
borderWidth: o.borderWidths("borderWidth"),
|
|
1045
|
+
borderStyle: o.borderStyles("borderStyle"),
|
|
1046
|
+
borderColor: o.colors("borderColor"),
|
|
1047
|
+
borderRadius: o.radii("borderRadius"),
|
|
1048
|
+
borderTop: o.borders("borderTop"),
|
|
1049
|
+
borderBlockStart: o.borders("borderBlockStart"),
|
|
1050
|
+
borderTopLeftRadius: o.radii("borderTopLeftRadius"),
|
|
1051
|
+
borderStartStartRadius: o.logical({
|
|
1052
|
+
scale: "radii",
|
|
1053
|
+
property: {
|
|
1054
|
+
ltr: "borderTopLeftRadius",
|
|
1055
|
+
rtl: "borderTopRightRadius"
|
|
1056
|
+
}
|
|
1057
|
+
}),
|
|
1058
|
+
borderEndStartRadius: o.logical({
|
|
1059
|
+
scale: "radii",
|
|
1060
|
+
property: {
|
|
1061
|
+
ltr: "borderBottomLeftRadius",
|
|
1062
|
+
rtl: "borderBottomRightRadius"
|
|
1063
|
+
}
|
|
1064
|
+
}),
|
|
1065
|
+
borderTopRightRadius: o.radii("borderTopRightRadius"),
|
|
1066
|
+
borderStartEndRadius: o.logical({
|
|
1067
|
+
scale: "radii",
|
|
1068
|
+
property: {
|
|
1069
|
+
ltr: "borderTopRightRadius",
|
|
1070
|
+
rtl: "borderTopLeftRadius"
|
|
1071
|
+
}
|
|
1072
|
+
}),
|
|
1073
|
+
borderEndEndRadius: o.logical({
|
|
1074
|
+
scale: "radii",
|
|
1075
|
+
property: {
|
|
1076
|
+
ltr: "borderBottomRightRadius",
|
|
1077
|
+
rtl: "borderBottomLeftRadius"
|
|
1078
|
+
}
|
|
1079
|
+
}),
|
|
1080
|
+
borderRight: o.borders("borderRight"),
|
|
1081
|
+
borderInlineEnd: o.borders("borderInlineEnd"),
|
|
1082
|
+
borderBottom: o.borders("borderBottom"),
|
|
1083
|
+
borderBlockEnd: o.borders("borderBlockEnd"),
|
|
1084
|
+
borderBottomLeftRadius: o.radii("borderBottomLeftRadius"),
|
|
1085
|
+
borderBottomRightRadius: o.radii("borderBottomRightRadius"),
|
|
1086
|
+
borderLeft: o.borders("borderLeft"),
|
|
1087
|
+
borderInlineStart: {
|
|
1088
|
+
property: "borderInlineStart",
|
|
1089
|
+
scale: "borders"
|
|
1090
|
+
},
|
|
1091
|
+
borderInlineStartRadius: o.logical({
|
|
1092
|
+
scale: "radii",
|
|
1093
|
+
property: {
|
|
1094
|
+
ltr: ["borderTopLeftRadius", "borderBottomLeftRadius"],
|
|
1095
|
+
rtl: ["borderTopRightRadius", "borderBottomRightRadius"]
|
|
1096
|
+
}
|
|
1097
|
+
}),
|
|
1098
|
+
borderInlineEndRadius: o.logical({
|
|
1099
|
+
scale: "radii",
|
|
1100
|
+
property: {
|
|
1101
|
+
ltr: ["borderTopRightRadius", "borderBottomRightRadius"],
|
|
1102
|
+
rtl: ["borderTopLeftRadius", "borderBottomLeftRadius"]
|
|
1103
|
+
}
|
|
1104
|
+
}),
|
|
1105
|
+
borderX: o.borders(["borderLeft", "borderRight"]),
|
|
1106
|
+
borderInline: o.borders("borderInline"),
|
|
1107
|
+
borderY: o.borders(["borderTop", "borderBottom"]),
|
|
1108
|
+
borderBlock: o.borders("borderBlock"),
|
|
1109
|
+
borderTopWidth: o.borderWidths("borderTopWidth"),
|
|
1110
|
+
borderBlockStartWidth: o.borderWidths("borderBlockStartWidth"),
|
|
1111
|
+
borderTopColor: o.colors("borderTopColor"),
|
|
1112
|
+
borderBlockStartColor: o.colors("borderBlockStartColor"),
|
|
1113
|
+
borderTopStyle: o.borderStyles("borderTopStyle"),
|
|
1114
|
+
borderBlockStartStyle: o.borderStyles("borderBlockStartStyle"),
|
|
1115
|
+
borderBottomWidth: o.borderWidths("borderBottomWidth"),
|
|
1116
|
+
borderBlockEndWidth: o.borderWidths("borderBlockEndWidth"),
|
|
1117
|
+
borderBottomColor: o.colors("borderBottomColor"),
|
|
1118
|
+
borderBlockEndColor: o.colors("borderBlockEndColor"),
|
|
1119
|
+
borderBottomStyle: o.borderStyles("borderBottomStyle"),
|
|
1120
|
+
borderBlockEndStyle: o.borderStyles("borderBlockEndStyle"),
|
|
1121
|
+
borderLeftWidth: o.borderWidths("borderLeftWidth"),
|
|
1122
|
+
borderInlineStartWidth: o.borderWidths("borderInlineStartWidth"),
|
|
1123
|
+
borderLeftColor: o.colors("borderLeftColor"),
|
|
1124
|
+
borderInlineStartColor: o.colors("borderInlineStartColor"),
|
|
1125
|
+
borderLeftStyle: o.borderStyles("borderLeftStyle"),
|
|
1126
|
+
borderInlineStartStyle: o.borderStyles("borderInlineStartStyle"),
|
|
1127
|
+
borderRightWidth: o.borderWidths("borderRightWidth"),
|
|
1128
|
+
borderInlineEndWidth: o.borderWidths("borderInlineEndWidth"),
|
|
1129
|
+
borderRightColor: o.colors("borderRightColor"),
|
|
1130
|
+
borderInlineEndColor: o.colors("borderInlineEndColor"),
|
|
1131
|
+
borderRightStyle: o.borderStyles("borderRightStyle"),
|
|
1132
|
+
borderInlineEndStyle: o.borderStyles("borderInlineEndStyle"),
|
|
1133
|
+
borderTopRadius: o.radii(["borderTopLeftRadius", "borderTopRightRadius"]),
|
|
1134
|
+
borderBottomRadius: o.radii([
|
|
1135
|
+
"borderBottomLeftRadius",
|
|
1136
|
+
"borderBottomRightRadius"
|
|
1137
|
+
]),
|
|
1138
|
+
borderLeftRadius: o.radii(["borderTopLeftRadius", "borderBottomLeftRadius"]),
|
|
1139
|
+
borderRightRadius: o.radii([
|
|
1140
|
+
"borderTopRightRadius",
|
|
1141
|
+
"borderBottomRightRadius"
|
|
1142
|
+
])
|
|
1143
|
+
};
|
|
1144
|
+
Object.assign(b, {
|
|
1145
|
+
rounded: b.borderRadius,
|
|
1146
|
+
roundedTop: b.borderTopRadius,
|
|
1147
|
+
roundedTopLeft: b.borderTopLeftRadius,
|
|
1148
|
+
roundedTopRight: b.borderTopRightRadius,
|
|
1149
|
+
roundedTopStart: b.borderStartStartRadius,
|
|
1150
|
+
roundedTopEnd: b.borderStartEndRadius,
|
|
1151
|
+
roundedBottom: b.borderBottomRadius,
|
|
1152
|
+
roundedBottomLeft: b.borderBottomLeftRadius,
|
|
1153
|
+
roundedBottomRight: b.borderBottomRightRadius,
|
|
1154
|
+
roundedBottomStart: b.borderEndStartRadius,
|
|
1155
|
+
roundedBottomEnd: b.borderEndEndRadius,
|
|
1156
|
+
roundedLeft: b.borderLeftRadius,
|
|
1157
|
+
roundedRight: b.borderRightRadius,
|
|
1158
|
+
roundedStart: b.borderInlineStartRadius,
|
|
1159
|
+
roundedEnd: b.borderInlineEndRadius,
|
|
1160
|
+
borderStart: b.borderInlineStart,
|
|
1161
|
+
borderEnd: b.borderInlineEnd,
|
|
1162
|
+
borderTopStartRadius: b.borderStartStartRadius,
|
|
1163
|
+
borderTopEndRadius: b.borderStartEndRadius,
|
|
1164
|
+
borderBottomStartRadius: b.borderEndStartRadius,
|
|
1165
|
+
borderBottomEndRadius: b.borderEndEndRadius,
|
|
1166
|
+
borderStartRadius: b.borderInlineStartRadius,
|
|
1167
|
+
borderEndRadius: b.borderInlineEndRadius,
|
|
1168
|
+
borderStartWidth: b.borderInlineStartWidth,
|
|
1169
|
+
borderEndWidth: b.borderInlineEndWidth,
|
|
1170
|
+
borderStartColor: b.borderInlineStartColor,
|
|
1171
|
+
borderEndColor: b.borderInlineEndColor,
|
|
1172
|
+
borderStartStyle: b.borderInlineStartStyle,
|
|
1173
|
+
borderEndStyle: b.borderInlineEndStyle
|
|
1174
|
+
});
|
|
1175
|
+
var ka = {
|
|
1176
|
+
color: o.colors("color"),
|
|
1177
|
+
textColor: o.colors("color"),
|
|
1178
|
+
fill: o.colors("fill"),
|
|
1179
|
+
stroke: o.colors("stroke")
|
|
1180
|
+
}, jr = {
|
|
1181
|
+
boxShadow: o.shadows("boxShadow"),
|
|
1182
|
+
mixBlendMode: !0,
|
|
1183
|
+
blendMode: o.prop("mixBlendMode"),
|
|
1184
|
+
backgroundBlendMode: !0,
|
|
1185
|
+
bgBlendMode: o.prop("backgroundBlendMode"),
|
|
1186
|
+
opacity: !0
|
|
1187
|
+
};
|
|
1188
|
+
Object.assign(jr, {
|
|
1189
|
+
shadow: jr.boxShadow
|
|
1190
|
+
});
|
|
1191
|
+
var xa = {
|
|
1192
|
+
filter: { transform: u.filter },
|
|
1193
|
+
blur: o.blur("--chakra-blur"),
|
|
1194
|
+
brightness: o.propT("--chakra-brightness", u.brightness),
|
|
1195
|
+
contrast: o.propT("--chakra-contrast", u.contrast),
|
|
1196
|
+
hueRotate: o.degreeT("--chakra-hue-rotate"),
|
|
1197
|
+
invert: o.propT("--chakra-invert", u.invert),
|
|
1198
|
+
saturate: o.propT("--chakra-saturate", u.saturate),
|
|
1199
|
+
dropShadow: o.propT("--chakra-drop-shadow", u.dropShadow),
|
|
1200
|
+
backdropFilter: { transform: u.backdropFilter },
|
|
1201
|
+
backdropBlur: o.blur("--chakra-backdrop-blur"),
|
|
1202
|
+
backdropBrightness: o.propT(
|
|
1203
|
+
"--chakra-backdrop-brightness",
|
|
1204
|
+
u.brightness
|
|
1205
|
+
),
|
|
1206
|
+
backdropContrast: o.propT("--chakra-backdrop-contrast", u.contrast),
|
|
1207
|
+
backdropHueRotate: o.degreeT("--chakra-backdrop-hue-rotate"),
|
|
1208
|
+
backdropInvert: o.propT("--chakra-backdrop-invert", u.invert),
|
|
1209
|
+
backdropSaturate: o.propT("--chakra-backdrop-saturate", u.saturate)
|
|
1210
|
+
}, yr = {
|
|
1211
|
+
alignItems: !0,
|
|
1212
|
+
alignContent: !0,
|
|
1213
|
+
justifyItems: !0,
|
|
1214
|
+
justifyContent: !0,
|
|
1215
|
+
flexWrap: !0,
|
|
1216
|
+
flexDirection: { transform: u.flexDirection },
|
|
1217
|
+
flex: !0,
|
|
1218
|
+
flexFlow: !0,
|
|
1219
|
+
flexGrow: !0,
|
|
1220
|
+
flexShrink: !0,
|
|
1221
|
+
flexBasis: o.sizes("flexBasis"),
|
|
1222
|
+
justifySelf: !0,
|
|
1223
|
+
alignSelf: !0,
|
|
1224
|
+
order: !0,
|
|
1225
|
+
placeItems: !0,
|
|
1226
|
+
placeContent: !0,
|
|
1227
|
+
placeSelf: !0,
|
|
1228
|
+
gap: o.space("gap"),
|
|
1229
|
+
rowGap: o.space("rowGap"),
|
|
1230
|
+
columnGap: o.space("columnGap")
|
|
1231
|
+
};
|
|
1232
|
+
Object.assign(yr, {
|
|
1233
|
+
flexDir: yr.flexDirection
|
|
1234
|
+
});
|
|
1235
|
+
var ze = {
|
|
1236
|
+
gridGap: o.space("gridGap"),
|
|
1237
|
+
gridColumnGap: o.space("gridColumnGap"),
|
|
1238
|
+
gridRowGap: o.space("gridRowGap"),
|
|
1239
|
+
gridColumn: !0,
|
|
1240
|
+
gridRow: !0,
|
|
1241
|
+
gridAutoFlow: !0,
|
|
1242
|
+
gridAutoColumns: !0,
|
|
1243
|
+
gridColumnStart: !0,
|
|
1244
|
+
gridColumnEnd: !0,
|
|
1245
|
+
gridRowStart: !0,
|
|
1246
|
+
gridRowEnd: !0,
|
|
1247
|
+
gridAutoRows: !0,
|
|
1248
|
+
gridTemplate: !0,
|
|
1249
|
+
gridTemplateColumns: !0,
|
|
1250
|
+
gridTemplateRows: !0,
|
|
1251
|
+
gridTemplateAreas: !0,
|
|
1252
|
+
gridArea: !0
|
|
1253
|
+
}, _a = {
|
|
1254
|
+
appearance: !0,
|
|
1255
|
+
cursor: !0,
|
|
1256
|
+
resize: !0,
|
|
1257
|
+
userSelect: !0,
|
|
1258
|
+
pointerEvents: !0,
|
|
1259
|
+
outline: { transform: u.outline },
|
|
1260
|
+
outlineOffset: !0,
|
|
1261
|
+
outlineColor: o.colors("outlineColor")
|
|
1262
|
+
}, E = {
|
|
1263
|
+
width: o.sizesT("width"),
|
|
1264
|
+
inlineSize: o.sizesT("inlineSize"),
|
|
1265
|
+
height: o.sizes("height"),
|
|
1266
|
+
blockSize: o.sizes("blockSize"),
|
|
1267
|
+
boxSize: o.sizes(["width", "height"]),
|
|
1268
|
+
minWidth: o.sizes("minWidth"),
|
|
1269
|
+
minInlineSize: o.sizes("minInlineSize"),
|
|
1270
|
+
minHeight: o.sizes("minHeight"),
|
|
1271
|
+
minBlockSize: o.sizes("minBlockSize"),
|
|
1272
|
+
maxWidth: o.sizes("maxWidth"),
|
|
1273
|
+
maxInlineSize: o.sizes("maxInlineSize"),
|
|
1274
|
+
maxHeight: o.sizes("maxHeight"),
|
|
1275
|
+
maxBlockSize: o.sizes("maxBlockSize"),
|
|
1276
|
+
overflow: !0,
|
|
1277
|
+
overflowX: !0,
|
|
1278
|
+
overflowY: !0,
|
|
1279
|
+
overscrollBehavior: !0,
|
|
1280
|
+
overscrollBehaviorX: !0,
|
|
1281
|
+
overscrollBehaviorY: !0,
|
|
1282
|
+
display: !0,
|
|
1283
|
+
aspectRatio: !0,
|
|
1284
|
+
hideFrom: {
|
|
1285
|
+
scale: "breakpoints",
|
|
1286
|
+
transform: (e, n) => {
|
|
1287
|
+
var s, d, p;
|
|
1288
|
+
return { [`@media screen and (min-width: ${(p = (d = (s = n.__breakpoints) == null ? void 0 : s.get(e)) == null ? void 0 : d.minW) != null ? p : e})`]: { display: "none" } };
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
hideBelow: {
|
|
1292
|
+
scale: "breakpoints",
|
|
1293
|
+
transform: (e, n) => {
|
|
1294
|
+
var s, d, p;
|
|
1295
|
+
return { [`@media screen and (max-width: ${(p = (d = (s = n.__breakpoints) == null ? void 0 : s.get(e)) == null ? void 0 : d._minW) != null ? p : e})`]: { display: "none" } };
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
verticalAlign: !0,
|
|
1299
|
+
boxSizing: !0,
|
|
1300
|
+
boxDecorationBreak: !0,
|
|
1301
|
+
float: o.propT("float", u.float),
|
|
1302
|
+
objectFit: !0,
|
|
1303
|
+
objectPosition: !0,
|
|
1304
|
+
visibility: !0,
|
|
1305
|
+
isolation: !0
|
|
1306
|
+
};
|
|
1307
|
+
Object.assign(E, {
|
|
1308
|
+
w: E.width,
|
|
1309
|
+
h: E.height,
|
|
1310
|
+
minW: E.minWidth,
|
|
1311
|
+
maxW: E.maxWidth,
|
|
1312
|
+
minH: E.minHeight,
|
|
1313
|
+
maxH: E.maxHeight,
|
|
1314
|
+
overscroll: E.overscrollBehavior,
|
|
1315
|
+
overscrollX: E.overscrollBehaviorX,
|
|
1316
|
+
overscrollY: E.overscrollBehaviorY
|
|
1317
|
+
});
|
|
1318
|
+
var Ta = {
|
|
1319
|
+
listStyleType: !0,
|
|
1320
|
+
listStylePosition: !0,
|
|
1321
|
+
listStylePos: o.prop("listStylePosition"),
|
|
1322
|
+
listStyleImage: !0,
|
|
1323
|
+
listStyleImg: o.prop("listStyleImage")
|
|
1324
|
+
};
|
|
1325
|
+
function wa(e, n, s, d) {
|
|
1326
|
+
const p = typeof n == "string" ? n.split(".") : [n];
|
|
1327
|
+
for (d = 0; d < p.length && e; d += 1)
|
|
1328
|
+
e = e[p[d]];
|
|
1329
|
+
return e === void 0 ? s : e;
|
|
1330
|
+
}
|
|
1331
|
+
var Ca = (e) => {
|
|
1332
|
+
const n = /* @__PURE__ */ new WeakMap();
|
|
1333
|
+
return (d, p, S, k) => {
|
|
1334
|
+
if (typeof d > "u")
|
|
1335
|
+
return e(d, p, S);
|
|
1336
|
+
n.has(d) || n.set(d, /* @__PURE__ */ new Map());
|
|
1337
|
+
const x = n.get(d);
|
|
1338
|
+
if (x.has(p))
|
|
1339
|
+
return x.get(p);
|
|
1340
|
+
const T = e(d, p, S, k);
|
|
1341
|
+
return x.set(p, T), T;
|
|
1342
|
+
};
|
|
1343
|
+
}, Ra = Ca(wa), Ba = {
|
|
1344
|
+
border: "0px",
|
|
1345
|
+
clip: "rect(0, 0, 0, 0)",
|
|
1346
|
+
width: "1px",
|
|
1347
|
+
height: "1px",
|
|
1348
|
+
margin: "-1px",
|
|
1349
|
+
padding: "0px",
|
|
1350
|
+
overflow: "hidden",
|
|
1351
|
+
whiteSpace: "nowrap",
|
|
1352
|
+
position: "absolute"
|
|
1353
|
+
}, $a = {
|
|
1354
|
+
position: "static",
|
|
1355
|
+
width: "auto",
|
|
1356
|
+
height: "auto",
|
|
1357
|
+
clip: "auto",
|
|
1358
|
+
padding: "0",
|
|
1359
|
+
margin: "0",
|
|
1360
|
+
overflow: "visible",
|
|
1361
|
+
whiteSpace: "normal"
|
|
1362
|
+
}, Fr = (e, n, s) => {
|
|
1363
|
+
const d = {}, p = Ra(e, n, {});
|
|
1364
|
+
for (const S in p)
|
|
1365
|
+
S in s && s[S] != null || (d[S] = p[S]);
|
|
1366
|
+
return d;
|
|
1367
|
+
}, Ia = {
|
|
1368
|
+
srOnly: {
|
|
1369
|
+
transform(e) {
|
|
1370
|
+
return e === !0 ? Ba : e === "focusable" ? $a : {};
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
layerStyle: {
|
|
1374
|
+
processResult: !0,
|
|
1375
|
+
transform: (e, n, s) => Fr(n, `layerStyles.${e}`, s)
|
|
1376
|
+
},
|
|
1377
|
+
textStyle: {
|
|
1378
|
+
processResult: !0,
|
|
1379
|
+
transform: (e, n, s) => Fr(n, `textStyles.${e}`, s)
|
|
1380
|
+
},
|
|
1381
|
+
apply: {
|
|
1382
|
+
processResult: !0,
|
|
1383
|
+
transform: (e, n, s) => Fr(n, e, s)
|
|
1384
|
+
}
|
|
1385
|
+
}, tr = {
|
|
1386
|
+
position: !0,
|
|
1387
|
+
pos: o.prop("position"),
|
|
1388
|
+
zIndex: o.prop("zIndex", "zIndices"),
|
|
1389
|
+
inset: o.spaceT("inset"),
|
|
1390
|
+
insetX: o.spaceT(["left", "right"]),
|
|
1391
|
+
insetInline: o.spaceT("insetInline"),
|
|
1392
|
+
insetY: o.spaceT(["top", "bottom"]),
|
|
1393
|
+
insetBlock: o.spaceT("insetBlock"),
|
|
1394
|
+
top: o.spaceT("top"),
|
|
1395
|
+
insetBlockStart: o.spaceT("insetBlockStart"),
|
|
1396
|
+
bottom: o.spaceT("bottom"),
|
|
1397
|
+
insetBlockEnd: o.spaceT("insetBlockEnd"),
|
|
1398
|
+
left: o.spaceT("left"),
|
|
1399
|
+
insetInlineStart: o.logical({
|
|
1400
|
+
scale: "space",
|
|
1401
|
+
property: { ltr: "left", rtl: "right" }
|
|
1402
|
+
}),
|
|
1403
|
+
right: o.spaceT("right"),
|
|
1404
|
+
insetInlineEnd: o.logical({
|
|
1405
|
+
scale: "space",
|
|
1406
|
+
property: { ltr: "right", rtl: "left" }
|
|
1407
|
+
})
|
|
1408
|
+
};
|
|
1409
|
+
Object.assign(tr, {
|
|
1410
|
+
insetStart: tr.insetInlineStart,
|
|
1411
|
+
insetEnd: tr.insetInlineEnd
|
|
1412
|
+
});
|
|
1413
|
+
var Ea = {
|
|
1414
|
+
ring: { transform: u.ring },
|
|
1415
|
+
ringColor: o.colors("--chakra-ring-color"),
|
|
1416
|
+
ringOffset: o.prop("--chakra-ring-offset-width"),
|
|
1417
|
+
ringOffsetColor: o.colors("--chakra-ring-offset-color"),
|
|
1418
|
+
ringInset: o.prop("--chakra-ring-inset")
|
|
1419
|
+
}, m = {
|
|
1420
|
+
margin: o.spaceT("margin"),
|
|
1421
|
+
marginTop: o.spaceT("marginTop"),
|
|
1422
|
+
marginBlockStart: o.spaceT("marginBlockStart"),
|
|
1423
|
+
marginRight: o.spaceT("marginRight"),
|
|
1424
|
+
marginInlineEnd: o.spaceT("marginInlineEnd"),
|
|
1425
|
+
marginBottom: o.spaceT("marginBottom"),
|
|
1426
|
+
marginBlockEnd: o.spaceT("marginBlockEnd"),
|
|
1427
|
+
marginLeft: o.spaceT("marginLeft"),
|
|
1428
|
+
marginInlineStart: o.spaceT("marginInlineStart"),
|
|
1429
|
+
marginX: o.spaceT(["marginInlineStart", "marginInlineEnd"]),
|
|
1430
|
+
marginInline: o.spaceT("marginInline"),
|
|
1431
|
+
marginY: o.spaceT(["marginTop", "marginBottom"]),
|
|
1432
|
+
marginBlock: o.spaceT("marginBlock"),
|
|
1433
|
+
padding: o.space("padding"),
|
|
1434
|
+
paddingTop: o.space("paddingTop"),
|
|
1435
|
+
paddingBlockStart: o.space("paddingBlockStart"),
|
|
1436
|
+
paddingRight: o.space("paddingRight"),
|
|
1437
|
+
paddingBottom: o.space("paddingBottom"),
|
|
1438
|
+
paddingBlockEnd: o.space("paddingBlockEnd"),
|
|
1439
|
+
paddingLeft: o.space("paddingLeft"),
|
|
1440
|
+
paddingInlineStart: o.space("paddingInlineStart"),
|
|
1441
|
+
paddingInlineEnd: o.space("paddingInlineEnd"),
|
|
1442
|
+
paddingX: o.space(["paddingInlineStart", "paddingInlineEnd"]),
|
|
1443
|
+
paddingInline: o.space("paddingInline"),
|
|
1444
|
+
paddingY: o.space(["paddingTop", "paddingBottom"]),
|
|
1445
|
+
paddingBlock: o.space("paddingBlock")
|
|
1446
|
+
};
|
|
1447
|
+
Object.assign(m, {
|
|
1448
|
+
m: m.margin,
|
|
1449
|
+
mt: m.marginTop,
|
|
1450
|
+
mr: m.marginRight,
|
|
1451
|
+
me: m.marginInlineEnd,
|
|
1452
|
+
marginEnd: m.marginInlineEnd,
|
|
1453
|
+
mb: m.marginBottom,
|
|
1454
|
+
ml: m.marginLeft,
|
|
1455
|
+
ms: m.marginInlineStart,
|
|
1456
|
+
marginStart: m.marginInlineStart,
|
|
1457
|
+
mx: m.marginX,
|
|
1458
|
+
my: m.marginY,
|
|
1459
|
+
p: m.padding,
|
|
1460
|
+
pt: m.paddingTop,
|
|
1461
|
+
py: m.paddingY,
|
|
1462
|
+
px: m.paddingX,
|
|
1463
|
+
pb: m.paddingBottom,
|
|
1464
|
+
pl: m.paddingLeft,
|
|
1465
|
+
ps: m.paddingInlineStart,
|
|
1466
|
+
paddingStart: m.paddingInlineStart,
|
|
1467
|
+
pr: m.paddingRight,
|
|
1468
|
+
pe: m.paddingInlineEnd,
|
|
1469
|
+
paddingEnd: m.paddingInlineEnd
|
|
1470
|
+
});
|
|
1471
|
+
var za = {
|
|
1472
|
+
textDecorationColor: o.colors("textDecorationColor"),
|
|
1473
|
+
textDecoration: !0,
|
|
1474
|
+
textDecor: { property: "textDecoration" },
|
|
1475
|
+
textDecorationLine: !0,
|
|
1476
|
+
textDecorationStyle: !0,
|
|
1477
|
+
textDecorationThickness: !0,
|
|
1478
|
+
textUnderlineOffset: !0,
|
|
1479
|
+
textShadow: o.shadows("textShadow")
|
|
1480
|
+
}, Aa = {
|
|
1481
|
+
clipPath: !0,
|
|
1482
|
+
transform: o.propT("transform", u.transform),
|
|
1483
|
+
transformOrigin: !0,
|
|
1484
|
+
translateX: o.spaceT("--chakra-translate-x"),
|
|
1485
|
+
translateY: o.spaceT("--chakra-translate-y"),
|
|
1486
|
+
skewX: o.degreeT("--chakra-skew-x"),
|
|
1487
|
+
skewY: o.degreeT("--chakra-skew-y"),
|
|
1488
|
+
scaleX: o.prop("--chakra-scale-x"),
|
|
1489
|
+
scaleY: o.prop("--chakra-scale-y"),
|
|
1490
|
+
scale: o.prop(["--chakra-scale-x", "--chakra-scale-y"]),
|
|
1491
|
+
rotate: o.degreeT("--chakra-rotate")
|
|
1492
|
+
}, Pa = {
|
|
1493
|
+
transition: !0,
|
|
1494
|
+
transitionDelay: !0,
|
|
1495
|
+
animation: !0,
|
|
1496
|
+
willChange: !0,
|
|
1497
|
+
transitionDuration: o.prop("transitionDuration", "transition.duration"),
|
|
1498
|
+
transitionProperty: o.prop("transitionProperty", "transition.property"),
|
|
1499
|
+
transitionTimingFunction: o.prop(
|
|
1500
|
+
"transitionTimingFunction",
|
|
1501
|
+
"transition.easing"
|
|
1502
|
+
)
|
|
1503
|
+
}, Fa = {
|
|
1504
|
+
fontFamily: o.prop("fontFamily", "fonts"),
|
|
1505
|
+
fontSize: o.prop("fontSize", "fontSizes", u.px),
|
|
1506
|
+
fontWeight: o.prop("fontWeight", "fontWeights"),
|
|
1507
|
+
lineHeight: o.prop("lineHeight", "lineHeights"),
|
|
1508
|
+
letterSpacing: o.prop("letterSpacing", "letterSpacings"),
|
|
1509
|
+
textAlign: !0,
|
|
1510
|
+
fontStyle: !0,
|
|
1511
|
+
textIndent: !0,
|
|
1512
|
+
wordBreak: !0,
|
|
1513
|
+
overflowWrap: !0,
|
|
1514
|
+
textOverflow: !0,
|
|
1515
|
+
textTransform: !0,
|
|
1516
|
+
whiteSpace: !0,
|
|
1517
|
+
isTruncated: {
|
|
1518
|
+
transform(e) {
|
|
1519
|
+
if (e === !0)
|
|
1520
|
+
return {
|
|
1521
|
+
overflow: "hidden",
|
|
1522
|
+
textOverflow: "ellipsis",
|
|
1523
|
+
whiteSpace: "nowrap"
|
|
1524
|
+
};
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
noOfLines: {
|
|
1528
|
+
static: {
|
|
1529
|
+
overflow: "hidden",
|
|
1530
|
+
textOverflow: "ellipsis",
|
|
1531
|
+
display: "-webkit-box",
|
|
1532
|
+
WebkitBoxOrient: "vertical",
|
|
1533
|
+
WebkitLineClamp: "var(--chakra-line-clamp)"
|
|
1534
|
+
},
|
|
1535
|
+
property: "--chakra-line-clamp"
|
|
1536
|
+
}
|
|
1537
|
+
}, Oa = {
|
|
1538
|
+
scrollBehavior: !0,
|
|
1539
|
+
scrollSnapAlign: !0,
|
|
1540
|
+
scrollSnapStop: !0,
|
|
1541
|
+
scrollSnapType: !0,
|
|
1542
|
+
scrollMargin: o.spaceT("scrollMargin"),
|
|
1543
|
+
scrollMarginTop: o.spaceT("scrollMarginTop"),
|
|
1544
|
+
scrollMarginBottom: o.spaceT("scrollMarginBottom"),
|
|
1545
|
+
scrollMarginLeft: o.spaceT("scrollMarginLeft"),
|
|
1546
|
+
scrollMarginRight: o.spaceT("scrollMarginRight"),
|
|
1547
|
+
scrollMarginX: o.spaceT(["scrollMarginLeft", "scrollMarginRight"]),
|
|
1548
|
+
scrollMarginY: o.spaceT(["scrollMarginTop", "scrollMarginBottom"]),
|
|
1549
|
+
scrollPadding: o.spaceT("scrollPadding"),
|
|
1550
|
+
scrollPaddingTop: o.spaceT("scrollPaddingTop"),
|
|
1551
|
+
scrollPaddingBottom: o.spaceT("scrollPaddingBottom"),
|
|
1552
|
+
scrollPaddingLeft: o.spaceT("scrollPaddingLeft"),
|
|
1553
|
+
scrollPaddingRight: o.spaceT("scrollPaddingRight"),
|
|
1554
|
+
scrollPaddingX: o.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]),
|
|
1555
|
+
scrollPaddingY: o.spaceT(["scrollPaddingTop", "scrollPaddingBottom"])
|
|
1556
|
+
};
|
|
1557
|
+
function Ae(e) {
|
|
1558
|
+
return Ie(e) && e.reference ? e.reference : String(e);
|
|
1559
|
+
}
|
|
1560
|
+
var xr = (e, ...n) => n.map(Ae).join(` ${e} `).replace(/calc/g, ""), ye = (...e) => `calc(${xr("+", ...e)})`, ve = (...e) => `calc(${xr("-", ...e)})`, Dr = (...e) => `calc(${xr("*", ...e)})`, Se = (...e) => `calc(${xr("/", ...e)})`, ke = (e) => {
|
|
1561
|
+
const n = Ae(e);
|
|
1562
|
+
return n != null && !Number.isNaN(parseFloat(n)) ? String(n).startsWith("-") ? String(n).slice(1) : `-${n}` : Dr(n, -1);
|
|
1563
|
+
}, er = Object.assign(
|
|
1564
|
+
(e) => ({
|
|
1565
|
+
add: (...n) => er(ye(e, ...n)),
|
|
1566
|
+
subtract: (...n) => er(ve(e, ...n)),
|
|
1567
|
+
multiply: (...n) => er(Dr(e, ...n)),
|
|
1568
|
+
divide: (...n) => er(Se(e, ...n)),
|
|
1569
|
+
negate: () => er(ke(e)),
|
|
1570
|
+
toString: () => e.toString()
|
|
1571
|
+
}),
|
|
1572
|
+
{
|
|
1573
|
+
add: ye,
|
|
1574
|
+
subtract: ve,
|
|
1575
|
+
multiply: Dr,
|
|
1576
|
+
divide: Se,
|
|
1577
|
+
negate: ke
|
|
1578
|
+
}
|
|
1579
|
+
), _ = {
|
|
1580
|
+
hover: (e, n) => `${e}:hover ${n}, ${e}[data-hover] ${n}`,
|
|
1581
|
+
focus: (e, n) => `${e}:focus ${n}, ${e}[data-focus] ${n}`,
|
|
1582
|
+
focusVisible: (e, n) => `${e}:focus-visible ${n}`,
|
|
1583
|
+
focusWithin: (e, n) => `${e}:focus-within ${n}`,
|
|
1584
|
+
active: (e, n) => `${e}:active ${n}, ${e}[data-active] ${n}`,
|
|
1585
|
+
disabled: (e, n) => `${e}:disabled ${n}, ${e}[data-disabled] ${n}`,
|
|
1586
|
+
invalid: (e, n) => `${e}:invalid ${n}, ${e}[data-invalid] ${n}`,
|
|
1587
|
+
checked: (e, n) => `${e}:checked ${n}, ${e}[data-checked] ${n}`,
|
|
1588
|
+
indeterminate: (e, n) => `${e}:indeterminate ${n}, ${e}[aria-checked=mixed] ${n}, ${e}[data-indeterminate] ${n}`,
|
|
1589
|
+
readOnly: (e, n) => `${e}:read-only ${n}, ${e}[readonly] ${n}, ${e}[data-read-only] ${n}`,
|
|
1590
|
+
expanded: (e, n) => `${e}:read-only ${n}, ${e}[aria-expanded=true] ${n}, ${e}[data-expanded] ${n}`,
|
|
1591
|
+
placeholderShown: (e, n) => `${e}:placeholder-shown ${n}`
|
|
1592
|
+
}, L = (e) => Pe((n) => e(n, "&"), "[role=group]", "[data-group]", ".group"), W = (e) => Pe((n) => e(n, "~ &"), "[data-peer]", ".peer"), Pe = (e, ...n) => n.map(e).join(", "), Fe = {
|
|
1593
|
+
_hover: "&:hover, &[data-hover]",
|
|
1594
|
+
_active: "&:active, &[data-active]",
|
|
1595
|
+
_focus: "&:focus, &[data-focus]",
|
|
1596
|
+
_highlighted: "&[data-highlighted]",
|
|
1597
|
+
_focusWithin: "&:focus-within",
|
|
1598
|
+
_focusVisible: "&:focus-visible, &[data-focus-visible]",
|
|
1599
|
+
_disabled: "&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",
|
|
1600
|
+
_readOnly: "&[aria-readonly=true], &[readonly], &[data-readonly]",
|
|
1601
|
+
_before: "&::before",
|
|
1602
|
+
_after: "&::after",
|
|
1603
|
+
_empty: "&:empty",
|
|
1604
|
+
_expanded: "&[aria-expanded=true], &[data-expanded]",
|
|
1605
|
+
_checked: "&[aria-checked=true], &[data-checked]",
|
|
1606
|
+
_grabbed: "&[aria-grabbed=true], &[data-grabbed]",
|
|
1607
|
+
_pressed: "&[aria-pressed=true], &[data-pressed]",
|
|
1608
|
+
_invalid: "&[aria-invalid=true], &[data-invalid]",
|
|
1609
|
+
_valid: "&[data-valid], &[data-state=valid]",
|
|
1610
|
+
_loading: "&[data-loading], &[aria-busy=true]",
|
|
1611
|
+
_selected: "&[aria-selected=true], &[data-selected]",
|
|
1612
|
+
_hidden: "&[hidden], &[data-hidden]",
|
|
1613
|
+
_autofill: "&:-webkit-autofill",
|
|
1614
|
+
_even: "&:nth-of-type(even)",
|
|
1615
|
+
_odd: "&:nth-of-type(odd)",
|
|
1616
|
+
_first: "&:first-of-type",
|
|
1617
|
+
_firstLetter: "&::first-letter",
|
|
1618
|
+
_last: "&:last-of-type",
|
|
1619
|
+
_notFirst: "&:not(:first-of-type)",
|
|
1620
|
+
_notLast: "&:not(:last-of-type)",
|
|
1621
|
+
_visited: "&:visited",
|
|
1622
|
+
_activeLink: "&[aria-current=page]",
|
|
1623
|
+
_activeStep: "&[aria-current=step]",
|
|
1624
|
+
_indeterminate: "&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",
|
|
1625
|
+
_groupHover: L(_.hover),
|
|
1626
|
+
_peerHover: W(_.hover),
|
|
1627
|
+
_groupFocus: L(_.focus),
|
|
1628
|
+
_peerFocus: W(_.focus),
|
|
1629
|
+
_groupFocusVisible: L(_.focusVisible),
|
|
1630
|
+
_peerFocusVisible: W(_.focusVisible),
|
|
1631
|
+
_groupActive: L(_.active),
|
|
1632
|
+
_peerActive: W(_.active),
|
|
1633
|
+
_groupDisabled: L(_.disabled),
|
|
1634
|
+
_peerDisabled: W(_.disabled),
|
|
1635
|
+
_groupInvalid: L(_.invalid),
|
|
1636
|
+
_peerInvalid: W(_.invalid),
|
|
1637
|
+
_groupChecked: L(_.checked),
|
|
1638
|
+
_peerChecked: W(_.checked),
|
|
1639
|
+
_groupFocusWithin: L(_.focusWithin),
|
|
1640
|
+
_peerFocusWithin: W(_.focusWithin),
|
|
1641
|
+
_peerPlaceholderShown: W(_.placeholderShown),
|
|
1642
|
+
_placeholder: "&::placeholder",
|
|
1643
|
+
_placeholderShown: "&:placeholder-shown",
|
|
1644
|
+
_fullScreen: "&:fullscreen",
|
|
1645
|
+
_selection: "&::selection",
|
|
1646
|
+
_rtl: "[dir=rtl] &, &[dir=rtl]",
|
|
1647
|
+
_ltr: "[dir=ltr] &, &[dir=ltr]",
|
|
1648
|
+
_mediaDark: "@media (prefers-color-scheme: dark)",
|
|
1649
|
+
_mediaReduceMotion: "@media (prefers-reduced-motion: reduce)",
|
|
1650
|
+
_dark: ".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",
|
|
1651
|
+
_light: ".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",
|
|
1652
|
+
_horizontal: "&[data-orientation=horizontal]",
|
|
1653
|
+
_vertical: "&[data-orientation=vertical]"
|
|
1654
|
+
}, Wa = Object.keys(
|
|
1655
|
+
Fe
|
|
1656
|
+
), Oe = aa(
|
|
1657
|
+
{},
|
|
1658
|
+
gr,
|
|
1659
|
+
b,
|
|
1660
|
+
ka,
|
|
1661
|
+
yr,
|
|
1662
|
+
E,
|
|
1663
|
+
xa,
|
|
1664
|
+
Ea,
|
|
1665
|
+
_a,
|
|
1666
|
+
ze,
|
|
1667
|
+
Ia,
|
|
1668
|
+
tr,
|
|
1669
|
+
jr,
|
|
1670
|
+
m,
|
|
1671
|
+
Oa,
|
|
1672
|
+
Fa,
|
|
1673
|
+
za,
|
|
1674
|
+
Aa,
|
|
1675
|
+
Ta,
|
|
1676
|
+
Pa
|
|
1677
|
+
);
|
|
1678
|
+
Object.assign({}, m, E, yr, ze, tr);
|
|
1679
|
+
[...Object.keys(Oe), ...Wa];
|
|
1680
|
+
({ ...Oe, ...Fe });
|
|
1681
|
+
function Yr(e) {
|
|
1682
|
+
return {
|
|
1683
|
+
definePartsStyle(n) {
|
|
1684
|
+
return n;
|
|
1685
|
+
},
|
|
1686
|
+
defineMultiStyleConfig(n) {
|
|
1687
|
+
return { parts: e, ...n };
|
|
1688
|
+
}
|
|
1689
|
+
};
|
|
1690
|
+
}
|
|
1691
|
+
var { definePartsStyle: La, defineMultiStyleConfig: Ma } = Yr($e.keys), ja = {
|
|
1692
|
+
borderTopWidth: "1px",
|
|
1693
|
+
borderColor: "inherit",
|
|
1694
|
+
_last: {
|
|
1695
|
+
borderBottomWidth: "1px"
|
|
1696
|
+
}
|
|
1697
|
+
}, Da = {
|
|
1698
|
+
transitionProperty: "common",
|
|
1699
|
+
transitionDuration: "normal",
|
|
1700
|
+
fontSize: "md",
|
|
1701
|
+
_focusVisible: {
|
|
1702
|
+
boxShadow: "outline"
|
|
1703
|
+
},
|
|
1704
|
+
_hover: {
|
|
1705
|
+
bg: "blackAlpha.50"
|
|
1706
|
+
},
|
|
1707
|
+
_disabled: {
|
|
1708
|
+
opacity: 0.4,
|
|
1709
|
+
cursor: "not-allowed"
|
|
1710
|
+
},
|
|
1711
|
+
px: "4",
|
|
1712
|
+
py: "2"
|
|
1713
|
+
}, Ha = {
|
|
1714
|
+
pt: "2",
|
|
1715
|
+
px: "4",
|
|
1716
|
+
pb: "5"
|
|
1717
|
+
}, Ga = {
|
|
1718
|
+
fontSize: "1.25em"
|
|
1719
|
+
}, Na = La({
|
|
1720
|
+
container: ja,
|
|
1721
|
+
button: Da,
|
|
1722
|
+
panel: Ha,
|
|
1723
|
+
icon: Ga
|
|
1724
|
+
}), or = Ma({ baseStyle: Na });
|
|
1725
|
+
const { definePartsStyle: Xa, defineMultiStyleConfig: Ya } = Yr($e.keys);
|
|
1726
|
+
var xe;
|
|
1727
|
+
const Va = {
|
|
1728
|
+
...(xe = or.baseStyle) == null ? void 0 : xe.container,
|
|
1729
|
+
borderColor: "gray.200"
|
|
1730
|
+
};
|
|
1731
|
+
var _e, Te;
|
|
1732
|
+
const Ua = {
|
|
1733
|
+
...(_e = or.baseStyle) == null ? void 0 : _e.button,
|
|
1734
|
+
_hover: {
|
|
1735
|
+
...(Te = or.baseStyle) == null ? void 0 : Te.button._hover,
|
|
1736
|
+
bg: "gray.50"
|
|
1737
|
+
}
|
|
1738
|
+
};
|
|
1739
|
+
var we;
|
|
1740
|
+
const qa = {
|
|
1741
|
+
...(we = or.baseStyle) == null ? void 0 : we.panel
|
|
1742
|
+
};
|
|
1743
|
+
var Ce;
|
|
1744
|
+
const Ka = {
|
|
1745
|
+
...(Ce = or.baseStyle) == null ? void 0 : Ce.icon
|
|
1746
|
+
}, Za = Xa({
|
|
1747
|
+
container: Va,
|
|
1748
|
+
button: Ua,
|
|
1749
|
+
panel: qa,
|
|
1750
|
+
icon: Ka
|
|
1751
|
+
}), Ja = Ya({ baseStyle: Za }), Qa = vo({
|
|
128
1752
|
baseStyle: {
|
|
129
|
-
|
|
130
|
-
color: "white",
|
|
1753
|
+
borderRadius: "base",
|
|
131
1754
|
px: 6,
|
|
132
1755
|
py: 3
|
|
133
1756
|
},
|
|
134
1757
|
sizes: {
|
|
135
|
-
sm: {
|
|
136
|
-
|
|
137
|
-
|
|
1758
|
+
sm: {
|
|
1759
|
+
fontSize: "sm"
|
|
1760
|
+
},
|
|
1761
|
+
md: {
|
|
1762
|
+
fontSize: "md"
|
|
1763
|
+
},
|
|
1764
|
+
lg: {
|
|
1765
|
+
fontSize: "lg"
|
|
1766
|
+
}
|
|
138
1767
|
},
|
|
139
1768
|
variants: {
|
|
140
|
-
primary: {
|
|
141
|
-
|
|
142
|
-
|
|
1769
|
+
primary: {
|
|
1770
|
+
backgroundColor: "primary.600",
|
|
1771
|
+
color: "white",
|
|
1772
|
+
// TODO: Refactor setting boxShadow tokens
|
|
1773
|
+
boxShadow: "0 1.5 1.5 0 rgba(35, 78, 82, 0.08)",
|
|
1774
|
+
_disabled: {
|
|
1775
|
+
backgroundColor: "primary.500",
|
|
1776
|
+
color: "white",
|
|
1777
|
+
opacity: 0.64,
|
|
1778
|
+
pointerEvents: "none"
|
|
1779
|
+
},
|
|
1780
|
+
_hover: {
|
|
1781
|
+
backgroundColor: "brand.50",
|
|
1782
|
+
border: "1px solid",
|
|
1783
|
+
borderColor: "brand.800",
|
|
1784
|
+
boxShadow: "0 1 1.5 0 rgba(217, 107, 39, 0.18)",
|
|
1785
|
+
color: "gray.700",
|
|
1786
|
+
fontWeight: "medium"
|
|
1787
|
+
},
|
|
1788
|
+
_active: {
|
|
1789
|
+
backgroundColor: "primary.500",
|
|
1790
|
+
border: "none",
|
|
1791
|
+
boxShadow: "0px 4px 4px 0px rgba(0, 0, 0, 0.08) inset, 0px -4px 4px 0px rgba(0, 0, 0, 0.08) inset, 4px 0px 4px 0px rgba(0, 0, 0, 0.08) inset, -4px 0px 4px 0px rgba(0, 0, 0, 0.08) inset;",
|
|
1792
|
+
color: "white",
|
|
1793
|
+
fontWeight: "medium",
|
|
1794
|
+
textDecorationLine: "underline"
|
|
1795
|
+
}
|
|
1796
|
+
},
|
|
1797
|
+
secondary: {
|
|
1798
|
+
backgroundColor: "white",
|
|
1799
|
+
border: "2px solid",
|
|
1800
|
+
borderColor: "primary.600",
|
|
1801
|
+
boxShadow: "0 1.5 1.5 0 rgba(44, 122, 123, 0.04)",
|
|
1802
|
+
color: "gray.700",
|
|
1803
|
+
_disabled: {
|
|
1804
|
+
backgroundColor: "gray.50",
|
|
1805
|
+
border: "2px solid",
|
|
1806
|
+
borderColor: "primary.600",
|
|
1807
|
+
color: "gray.700",
|
|
1808
|
+
opacity: 0.64,
|
|
1809
|
+
pointerEvents: "none"
|
|
1810
|
+
},
|
|
1811
|
+
_hover: {
|
|
1812
|
+
backgroundColor: "white",
|
|
1813
|
+
border: "2px solid",
|
|
1814
|
+
borderColor: "brand.800",
|
|
1815
|
+
boxShadow: "0 1 1.5 0 rgba(217, 107, 39, 0.18)",
|
|
1816
|
+
color: "gray.700",
|
|
1817
|
+
fontWeight: "medium"
|
|
1818
|
+
},
|
|
1819
|
+
_active: {
|
|
1820
|
+
background: "rgba(43, 119, 120, 0.04)",
|
|
1821
|
+
boxShadow: "0px 4px 4px 0px rgba(0, 0, 0, 0.08) inset, 0px -4px 4px 0px rgba(0, 0, 0, 0.08) inset, 4px 0px 4px 0px rgba(0, 0, 0, 0.08) inset, -4px 0px 4px 0px rgba(0, 0, 0, 0.08) inset",
|
|
1822
|
+
color: "gray.700",
|
|
1823
|
+
fontWeight: "medium",
|
|
1824
|
+
textDecorationLine: "underline"
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
143
1827
|
},
|
|
144
|
-
defaultProps: {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
1828
|
+
defaultProps: {
|
|
1829
|
+
variant: "primary",
|
|
1830
|
+
size: "md"
|
|
1831
|
+
}
|
|
1832
|
+
}), { definePartsStyle: Hr, defineMultiStyleConfig: rn } = Sr(Zo.keys), en = H(() => ({
|
|
1833
|
+
borderRadius: "2px",
|
|
1834
|
+
// change the border radius of the control
|
|
1835
|
+
border: "2px solid",
|
|
1836
|
+
borderColor: "gray.700",
|
|
1837
|
+
backgroundColor: "white",
|
|
1838
|
+
color: "white",
|
|
1839
|
+
_checked: {
|
|
1840
|
+
borderColor: "primary.500",
|
|
1841
|
+
backgroundColor: "primary.500"
|
|
1842
|
+
},
|
|
1843
|
+
_hover: {
|
|
1844
|
+
borderColor: "brand.800",
|
|
1845
|
+
backgroundColor: "brand.800",
|
|
1846
|
+
color: "white"
|
|
1847
|
+
},
|
|
1848
|
+
_disabled: {
|
|
1849
|
+
backgroundColor: "gray.300",
|
|
1850
|
+
borderColor: "gray.400",
|
|
1851
|
+
color: "gray.400"
|
|
1852
|
+
}
|
|
1853
|
+
})), tn = H({}), on = H({}), an = H({}), nn = Hr(() => ({
|
|
1854
|
+
icon: an,
|
|
1855
|
+
container: tn,
|
|
1856
|
+
control: en(),
|
|
1857
|
+
label: on
|
|
1858
|
+
})), sn = {
|
|
1859
|
+
sm: Hr({
|
|
1860
|
+
control: { boxSize: 6 },
|
|
1861
|
+
// this value includes the border, making it a 20px box with a 2px border
|
|
1862
|
+
label: { fontSize: "sm" }
|
|
1863
|
+
}),
|
|
1864
|
+
md: Hr({
|
|
1865
|
+
control: { boxSize: 7 },
|
|
1866
|
+
// this value includes the border, making it a 24px box with a 2px border
|
|
1867
|
+
label: { fontSize: "md" }
|
|
1868
|
+
})
|
|
1869
|
+
}, dn = {
|
|
1870
|
+
base: {}
|
|
1871
|
+
}, ln = rn({
|
|
1872
|
+
baseStyle: nn,
|
|
1873
|
+
sizes: sn,
|
|
1874
|
+
variants: dn,
|
|
1875
|
+
defaultProps: {
|
|
1876
|
+
variant: "base",
|
|
1877
|
+
size: "md"
|
|
1878
|
+
}
|
|
1879
|
+
}), { definePartsStyle: Gr, defineMultiStyleConfig: cn } = Sr(ea.keys), vr = kr("switch-track-width"), V = kr("switch-track-height"), Or = kr("switch-track-diff"), pn = Re.subtract(vr, V), Nr = kr("switch-thumb-x"), un = H({
|
|
1880
|
+
[Or.variable]: pn,
|
|
1881
|
+
[Nr.variable]: Or.reference,
|
|
1882
|
+
_rtl: {
|
|
1883
|
+
[Nr.variable]: Re(Or).negate().toString()
|
|
1884
|
+
}
|
|
1885
|
+
}), bn = H({
|
|
1886
|
+
borderRadius: "full",
|
|
1887
|
+
bg: "white",
|
|
1888
|
+
transitionProperty: "transform",
|
|
1889
|
+
transitionDuration: "normal",
|
|
1890
|
+
boxShadow: "0 0.25 0.25 0 rgba(0, 0, 0, 0.08)",
|
|
1891
|
+
width: [V.reference],
|
|
1892
|
+
height: [V.reference],
|
|
1893
|
+
_checked: {
|
|
1894
|
+
transform: `translateX(${Nr.reference})`
|
|
1895
|
+
}
|
|
1896
|
+
}), fn = H({
|
|
1897
|
+
bg: "gray.700",
|
|
1898
|
+
alignItems: "center",
|
|
1899
|
+
width: [vr.reference],
|
|
1900
|
+
height: [V.reference],
|
|
1901
|
+
p: "0.5",
|
|
1902
|
+
borderRadius: "full",
|
|
1903
|
+
transitionProperty: "common",
|
|
1904
|
+
transitionDuration: "fast",
|
|
1905
|
+
_checked: {
|
|
1906
|
+
bg: "primary.500"
|
|
1907
|
+
},
|
|
1908
|
+
_disabled: {
|
|
1909
|
+
bg: "gray.300"
|
|
1910
|
+
}
|
|
1911
|
+
}), gn = Gr(() => ({
|
|
1912
|
+
track: fn,
|
|
1913
|
+
container: un,
|
|
1914
|
+
thumb: bn
|
|
1915
|
+
})), hn = {
|
|
1916
|
+
sm: Gr({
|
|
1917
|
+
container: {
|
|
1918
|
+
[vr.variable]: "sizes.6",
|
|
1919
|
+
[V.variable]: "sizes.4"
|
|
1920
|
+
}
|
|
1921
|
+
}),
|
|
1922
|
+
lg: Gr({
|
|
1923
|
+
container: {
|
|
1924
|
+
[vr.variable]: "sizes.8",
|
|
1925
|
+
[V.variable]: "sizes.5"
|
|
1926
|
+
}
|
|
1927
|
+
})
|
|
1928
|
+
}, mn = {
|
|
1929
|
+
base: {}
|
|
1930
|
+
}, yn = cn({
|
|
1931
|
+
baseStyle: gn,
|
|
1932
|
+
sizes: hn,
|
|
1933
|
+
variants: mn,
|
|
1934
|
+
defaultProps: {
|
|
1935
|
+
size: "lg",
|
|
1936
|
+
variant: "base"
|
|
1937
|
+
}
|
|
1938
|
+
}), { definePartsStyle: hr, defineMultiStyleConfig: vn } = Yr(ra.keys), Sn = hr({
|
|
1939
|
+
addon: {
|
|
1940
|
+
borderRadius: "base",
|
|
1941
|
+
px: 3,
|
|
1942
|
+
py: 2
|
|
1943
|
+
},
|
|
1944
|
+
field: {
|
|
1945
|
+
// Set default width to full (100%) so input takes width of parent. Chakra default theme does this as well.
|
|
1946
|
+
background: "white",
|
|
1947
|
+
border: "1px solid",
|
|
1948
|
+
borderColor: "gray.400",
|
|
1949
|
+
borderRadius: "base",
|
|
1950
|
+
color: "white",
|
|
1951
|
+
py: 2,
|
|
1952
|
+
px: 3,
|
|
1953
|
+
width: "full",
|
|
1954
|
+
_hover: {
|
|
1955
|
+
borderColor: "brand.800"
|
|
1956
|
+
},
|
|
1957
|
+
_invalid: {
|
|
1958
|
+
border: "2px solid",
|
|
1959
|
+
borderColor: "state.error"
|
|
1960
|
+
},
|
|
1961
|
+
_focusVisible: {
|
|
1962
|
+
border: "2px solid",
|
|
1963
|
+
borderColor: "state.focus",
|
|
1964
|
+
color: "gray.600"
|
|
1965
|
+
},
|
|
1966
|
+
_disabled: {
|
|
1967
|
+
border: "1px solid",
|
|
1968
|
+
borderColor: "gray.400",
|
|
1969
|
+
background: "gray.100"
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
}), kn = {
|
|
1973
|
+
lg: hr({
|
|
1974
|
+
field: { fontSize: "md", height: 12 }
|
|
1975
|
+
}),
|
|
1976
|
+
md: hr({
|
|
1977
|
+
field: { fontSize: "sm", height: 10 }
|
|
1978
|
+
}),
|
|
1979
|
+
sm: hr({
|
|
1980
|
+
field: { fontSize: "sm", height: 8 }
|
|
1981
|
+
})
|
|
1982
|
+
}, xn = vn({
|
|
1983
|
+
baseStyle: Sn,
|
|
1984
|
+
sizes: kn,
|
|
1985
|
+
variants: {
|
|
1986
|
+
base: {}
|
|
1987
|
+
},
|
|
1988
|
+
defaultProps: {
|
|
1989
|
+
size: "md",
|
|
1990
|
+
variant: "base"
|
|
1991
|
+
}
|
|
1992
|
+
}), { definePartsStyle: _n, defineMultiStyleConfig: Tn } = Sr(Jo.keys), wn = _n({
|
|
1993
|
+
container: {
|
|
1994
|
+
width: "100%",
|
|
1995
|
+
position: "relative"
|
|
1996
|
+
}
|
|
1997
|
+
}), Cn = Tn({
|
|
1998
|
+
baseStyle: wn
|
|
1999
|
+
}), Rn = {
|
|
2000
|
+
color: "gray.600",
|
|
2001
|
+
fontSize: "md",
|
|
2002
|
+
fontFamily: "heading",
|
|
2003
|
+
fontWeight: 500,
|
|
2004
|
+
lineHeight: "regular",
|
|
2005
|
+
paddingBottom: 2,
|
|
2006
|
+
_disabled: {
|
|
2007
|
+
color: "gray.400"
|
|
2008
|
+
}
|
|
2009
|
+
}, Bn = {
|
|
2010
|
+
baseStyle: Rn
|
|
2011
|
+
}, { definePartsStyle: $n, defineMultiStyleConfig: In } = Sr(Qo.keys), En = $n({
|
|
2012
|
+
text: {
|
|
2013
|
+
color: "state.error",
|
|
2014
|
+
fontSize: "md",
|
|
2015
|
+
paddingTop: 2
|
|
2016
|
+
}
|
|
2017
|
+
}), zn = In({
|
|
2018
|
+
baseStyle: En
|
|
2019
|
+
}), An = {
|
|
2020
|
+
Accordion: Ja,
|
|
2021
|
+
Button: Qa,
|
|
2022
|
+
Checkbox: ln,
|
|
2023
|
+
Switch: yn,
|
|
2024
|
+
Input: xn,
|
|
2025
|
+
FormControl: Cn,
|
|
2026
|
+
FormError: zn,
|
|
2027
|
+
FormLabel: Bn
|
|
2028
|
+
}, Pn = {
|
|
148
2029
|
global: {
|
|
149
2030
|
body: {
|
|
150
2031
|
fontFamily: "body",
|
|
@@ -153,7 +2034,7 @@ const m = {}, a = {}, i = {
|
|
|
153
2034
|
fontWeight: "regular"
|
|
154
2035
|
}
|
|
155
2036
|
}
|
|
156
|
-
},
|
|
2037
|
+
}, Fn = {
|
|
157
2038
|
emphasis: {
|
|
158
2039
|
fontFamily: "body",
|
|
159
2040
|
fontSize: "3xl",
|
|
@@ -179,20 +2060,31 @@ const m = {}, a = {}, i = {
|
|
|
179
2060
|
fontSize: "sm",
|
|
180
2061
|
fontWeight: "regular"
|
|
181
2062
|
}
|
|
182
|
-
},
|
|
2063
|
+
}, On = {
|
|
183
2064
|
cssVarPrefix: "dcp"
|
|
184
|
-
},
|
|
185
|
-
components:
|
|
186
|
-
config:
|
|
2065
|
+
}, Wn = {
|
|
2066
|
+
components: An,
|
|
2067
|
+
config: On,
|
|
187
2068
|
direction: "ltr",
|
|
188
|
-
textStyles:
|
|
189
|
-
styles:
|
|
190
|
-
semanticTokens:
|
|
191
|
-
...
|
|
192
|
-
},
|
|
2069
|
+
textStyles: Fn,
|
|
2070
|
+
styles: Pn,
|
|
2071
|
+
semanticTokens: Ko,
|
|
2072
|
+
...Uo
|
|
2073
|
+
}, Dn = ({ children: e }) => /* @__PURE__ */ Ao(So, { theme: Wn, children: e }), Hn = ko, Gn = xo, Nn = _o, Xn = To, Yn = wo, Vn = Co, Un = Ro, qn = Bo, Kn = $o, Zn = Io, Jn = Eo, Qn = zo;
|
|
193
2074
|
export {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
2075
|
+
Hn as Accordion,
|
|
2076
|
+
Nn as AccordionButton,
|
|
2077
|
+
Yn as AccordionIcon,
|
|
2078
|
+
Gn as AccordionItem,
|
|
2079
|
+
Xn as AccordionPanel,
|
|
2080
|
+
Vn as Button,
|
|
2081
|
+
Un as Checkbox,
|
|
2082
|
+
Zn as FormControl,
|
|
2083
|
+
Jn as FormErrorMessage,
|
|
2084
|
+
Qn as FormLabel,
|
|
2085
|
+
Kn as Input,
|
|
2086
|
+
Dn as StreetscapeProvider,
|
|
2087
|
+
qn as Switch,
|
|
2088
|
+
Wn as theme
|
|
197
2089
|
};
|
|
198
2090
|
//# sourceMappingURL=index.js.map
|