@akinon/ui-theme 0.0.2 → 0.2.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/colors.js +162 -0
- package/dist/index.cjs +1 -37
- package/dist/index.js +17 -1961
- package/dist/theme.d.ts +2 -0
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +143 -0
- package/package.json +6 -5
package/dist/index.js
CHANGED
|
@@ -1,1961 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, P(e);
|
|
19
|
-
}
|
|
20
|
-
function it(e, t) {
|
|
21
|
-
if (P(e) !== "object" || e === null)
|
|
22
|
-
return e;
|
|
23
|
-
var r = e[Symbol.toPrimitive];
|
|
24
|
-
if (r !== void 0) {
|
|
25
|
-
var o = r.call(e, t || "default");
|
|
26
|
-
if (P(o) !== "object")
|
|
27
|
-
return o;
|
|
28
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
29
|
-
}
|
|
30
|
-
return (t === "string" ? String : Number)(e);
|
|
31
|
-
}
|
|
32
|
-
function Xe(e) {
|
|
33
|
-
var t = it(e, "string");
|
|
34
|
-
return P(t) === "symbol" ? t : String(t);
|
|
35
|
-
}
|
|
36
|
-
function M(e, t, r) {
|
|
37
|
-
return t = Xe(t), t in e ? Object.defineProperty(e, t, {
|
|
38
|
-
value: r,
|
|
39
|
-
enumerable: !0,
|
|
40
|
-
configurable: !0,
|
|
41
|
-
writable: !0
|
|
42
|
-
}) : e[t] = r, e;
|
|
43
|
-
}
|
|
44
|
-
function Me(e, t) {
|
|
45
|
-
var r = Object.keys(e);
|
|
46
|
-
if (Object.getOwnPropertySymbols) {
|
|
47
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
48
|
-
t && (o = o.filter(function(n) {
|
|
49
|
-
return Object.getOwnPropertyDescriptor(e, n).enumerable;
|
|
50
|
-
})), r.push.apply(r, o);
|
|
51
|
-
}
|
|
52
|
-
return r;
|
|
53
|
-
}
|
|
54
|
-
function J(e) {
|
|
55
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
56
|
-
var r = arguments[t] != null ? arguments[t] : {};
|
|
57
|
-
t % 2 ? Me(Object(r), !0).forEach(function(o) {
|
|
58
|
-
M(e, o, r[o]);
|
|
59
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Me(Object(r)).forEach(function(o) {
|
|
60
|
-
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(r, o));
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
return e;
|
|
64
|
-
}
|
|
65
|
-
function me(e, t) {
|
|
66
|
-
if (!(e instanceof t))
|
|
67
|
-
throw new TypeError("Cannot call a class as a function");
|
|
68
|
-
}
|
|
69
|
-
function we(e, t) {
|
|
70
|
-
for (var r = 0; r < t.length; r++) {
|
|
71
|
-
var o = t[r];
|
|
72
|
-
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Xe(o.key), o);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
function Se(e, t, r) {
|
|
76
|
-
return t && we(e.prototype, t), r && we(e, r), Object.defineProperty(e, "prototype", {
|
|
77
|
-
writable: !1
|
|
78
|
-
}), e;
|
|
79
|
-
}
|
|
80
|
-
function ue(e, t) {
|
|
81
|
-
(t == null || t > e.length) && (t = e.length);
|
|
82
|
-
for (var r = 0, o = new Array(t); r < t; r++)
|
|
83
|
-
o[r] = e[r];
|
|
84
|
-
return o;
|
|
85
|
-
}
|
|
86
|
-
function at(e) {
|
|
87
|
-
if (Array.isArray(e))
|
|
88
|
-
return ue(e);
|
|
89
|
-
}
|
|
90
|
-
function ct(e) {
|
|
91
|
-
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
|
|
92
|
-
return Array.from(e);
|
|
93
|
-
}
|
|
94
|
-
function Ne(e, t) {
|
|
95
|
-
if (e) {
|
|
96
|
-
if (typeof e == "string")
|
|
97
|
-
return ue(e, t);
|
|
98
|
-
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
99
|
-
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
|
|
100
|
-
return Array.from(e);
|
|
101
|
-
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
|
|
102
|
-
return ue(e, t);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
function lt() {
|
|
106
|
-
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
107
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
108
|
-
}
|
|
109
|
-
function $e(e) {
|
|
110
|
-
return at(e) || ct(e) || Ne(e) || lt();
|
|
111
|
-
}
|
|
112
|
-
function Ge(e) {
|
|
113
|
-
for (var t = 0, r, o = 0, n = e.length; n >= 4; ++o, n -= 4)
|
|
114
|
-
r = e.charCodeAt(o) & 255 | (e.charCodeAt(++o) & 255) << 8 | (e.charCodeAt(++o) & 255) << 16 | (e.charCodeAt(++o) & 255) << 24, r = /* Math.imul(k, m): */
|
|
115
|
-
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
116
|
-
r >>> 24, t = /* Math.imul(k, m): */
|
|
117
|
-
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
118
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
119
|
-
switch (n) {
|
|
120
|
-
case 3:
|
|
121
|
-
t ^= (e.charCodeAt(o + 2) & 255) << 16;
|
|
122
|
-
case 2:
|
|
123
|
-
t ^= (e.charCodeAt(o + 1) & 255) << 8;
|
|
124
|
-
case 1:
|
|
125
|
-
t ^= e.charCodeAt(o) & 255, t = /* Math.imul(h, m): */
|
|
126
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
127
|
-
}
|
|
128
|
-
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
129
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
130
|
-
}
|
|
131
|
-
var Be = "%", st = /* @__PURE__ */ function() {
|
|
132
|
-
function e(t) {
|
|
133
|
-
me(this, e), M(this, "instanceId", void 0), M(this, "cache", /* @__PURE__ */ new Map()), this.instanceId = t;
|
|
134
|
-
}
|
|
135
|
-
return Se(e, [{
|
|
136
|
-
key: "get",
|
|
137
|
-
value: function(r) {
|
|
138
|
-
return this.cache.get(r.join(Be)) || null;
|
|
139
|
-
}
|
|
140
|
-
}, {
|
|
141
|
-
key: "update",
|
|
142
|
-
value: function(r, o) {
|
|
143
|
-
var n = r.join(Be), i = this.cache.get(n), a = o(i);
|
|
144
|
-
a === null ? this.cache.delete(n) : this.cache.set(n, a);
|
|
145
|
-
}
|
|
146
|
-
}]), e;
|
|
147
|
-
}(), ft = "data-token-hash", ee = "data-css-hash", _ = "__cssinjs_instance__";
|
|
148
|
-
function ut() {
|
|
149
|
-
var e = Math.random().toString(12).slice(2);
|
|
150
|
-
if (typeof document < "u" && document.head && document.body) {
|
|
151
|
-
var t = document.body.querySelectorAll("style[".concat(ee, "]")) || [], r = document.head.firstChild;
|
|
152
|
-
Array.from(t).forEach(function(n) {
|
|
153
|
-
n[_] = n[_] || e, n[_] === e && document.head.insertBefore(n, r);
|
|
154
|
-
});
|
|
155
|
-
var o = {};
|
|
156
|
-
Array.from(document.querySelectorAll("style[".concat(ee, "]"))).forEach(function(n) {
|
|
157
|
-
var i = n.getAttribute(ee);
|
|
158
|
-
if (o[i]) {
|
|
159
|
-
if (n[_] === e) {
|
|
160
|
-
var a;
|
|
161
|
-
(a = n.parentNode) === null || a === void 0 || a.removeChild(n);
|
|
162
|
-
}
|
|
163
|
-
} else
|
|
164
|
-
o[i] = !0;
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
return new st(e);
|
|
168
|
-
}
|
|
169
|
-
var Ue = /* @__PURE__ */ w.createContext({
|
|
170
|
-
hashPriority: "low",
|
|
171
|
-
cache: ut(),
|
|
172
|
-
defaultCache: !0
|
|
173
|
-
});
|
|
174
|
-
function dt() {
|
|
175
|
-
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
176
|
-
}
|
|
177
|
-
function gt(e) {
|
|
178
|
-
if (Array.isArray(e))
|
|
179
|
-
return e;
|
|
180
|
-
}
|
|
181
|
-
function ht(e, t) {
|
|
182
|
-
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
183
|
-
if (r != null) {
|
|
184
|
-
var o, n, i, a, c = [], l = !0, s = !1;
|
|
185
|
-
try {
|
|
186
|
-
if (i = (r = r.call(e)).next, t === 0) {
|
|
187
|
-
if (Object(r) !== r)
|
|
188
|
-
return;
|
|
189
|
-
l = !1;
|
|
190
|
-
} else
|
|
191
|
-
for (; !(l = (o = i.call(r)).done) && (c.push(o.value), c.length !== t); l = !0)
|
|
192
|
-
;
|
|
193
|
-
} catch (g) {
|
|
194
|
-
s = !0, n = g;
|
|
195
|
-
} finally {
|
|
196
|
-
try {
|
|
197
|
-
if (!l && r.return != null && (a = r.return(), Object(a) !== a))
|
|
198
|
-
return;
|
|
199
|
-
} finally {
|
|
200
|
-
if (s)
|
|
201
|
-
throw n;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
return c;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
function bt() {
|
|
208
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
209
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
210
|
-
}
|
|
211
|
-
function W(e, t) {
|
|
212
|
-
return gt(e) || ht(e, t) || Ne(e, t) || bt();
|
|
213
|
-
}
|
|
214
|
-
function pt(e, t) {
|
|
215
|
-
if (e.length !== t.length)
|
|
216
|
-
return !1;
|
|
217
|
-
for (var r = 0; r < e.length; r++)
|
|
218
|
-
if (e[r] !== t[r])
|
|
219
|
-
return !1;
|
|
220
|
-
return !0;
|
|
221
|
-
}
|
|
222
|
-
var xe = /* @__PURE__ */ function() {
|
|
223
|
-
function e() {
|
|
224
|
-
me(this, e), M(this, "cache", void 0), M(this, "keys", void 0), M(this, "cacheCallTimes", void 0), this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0;
|
|
225
|
-
}
|
|
226
|
-
return Se(e, [{
|
|
227
|
-
key: "size",
|
|
228
|
-
value: function() {
|
|
229
|
-
return this.keys.length;
|
|
230
|
-
}
|
|
231
|
-
}, {
|
|
232
|
-
key: "internalGet",
|
|
233
|
-
value: function(r) {
|
|
234
|
-
var o, n, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, a = {
|
|
235
|
-
map: this.cache
|
|
236
|
-
};
|
|
237
|
-
return r.forEach(function(c) {
|
|
238
|
-
if (!a)
|
|
239
|
-
a = void 0;
|
|
240
|
-
else {
|
|
241
|
-
var l, s;
|
|
242
|
-
a = (l = a) === null || l === void 0 || (s = l.map) === null || s === void 0 ? void 0 : s.get(c);
|
|
243
|
-
}
|
|
244
|
-
}), (o = a) !== null && o !== void 0 && o.value && i && (a.value[1] = this.cacheCallTimes++), (n = a) === null || n === void 0 ? void 0 : n.value;
|
|
245
|
-
}
|
|
246
|
-
}, {
|
|
247
|
-
key: "get",
|
|
248
|
-
value: function(r) {
|
|
249
|
-
var o;
|
|
250
|
-
return (o = this.internalGet(r, !0)) === null || o === void 0 ? void 0 : o[0];
|
|
251
|
-
}
|
|
252
|
-
}, {
|
|
253
|
-
key: "has",
|
|
254
|
-
value: function(r) {
|
|
255
|
-
return !!this.internalGet(r);
|
|
256
|
-
}
|
|
257
|
-
}, {
|
|
258
|
-
key: "set",
|
|
259
|
-
value: function(r, o) {
|
|
260
|
-
var n = this;
|
|
261
|
-
if (!this.has(r)) {
|
|
262
|
-
if (this.size() + 1 > e.MAX_CACHE_SIZE + e.MAX_CACHE_OFFSET) {
|
|
263
|
-
var i = this.keys.reduce(function(s, g) {
|
|
264
|
-
var f = W(s, 2), d = f[1];
|
|
265
|
-
return n.internalGet(g)[1] < d ? [g, n.internalGet(g)[1]] : s;
|
|
266
|
-
}, [this.keys[0], this.cacheCallTimes]), a = W(i, 1), c = a[0];
|
|
267
|
-
this.delete(c);
|
|
268
|
-
}
|
|
269
|
-
this.keys.push(r);
|
|
270
|
-
}
|
|
271
|
-
var l = this.cache;
|
|
272
|
-
r.forEach(function(s, g) {
|
|
273
|
-
if (g === r.length - 1)
|
|
274
|
-
l.set(s, {
|
|
275
|
-
value: [o, n.cacheCallTimes++]
|
|
276
|
-
});
|
|
277
|
-
else {
|
|
278
|
-
var f = l.get(s);
|
|
279
|
-
f ? f.map || (f.map = /* @__PURE__ */ new Map()) : l.set(s, {
|
|
280
|
-
map: /* @__PURE__ */ new Map()
|
|
281
|
-
}), l = l.get(s).map;
|
|
282
|
-
}
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
}, {
|
|
286
|
-
key: "deleteByPath",
|
|
287
|
-
value: function(r, o) {
|
|
288
|
-
var n = r.get(o[0]);
|
|
289
|
-
if (o.length === 1) {
|
|
290
|
-
var i;
|
|
291
|
-
return n.map ? r.set(o[0], {
|
|
292
|
-
map: n.map
|
|
293
|
-
}) : r.delete(o[0]), (i = n.value) === null || i === void 0 ? void 0 : i[0];
|
|
294
|
-
}
|
|
295
|
-
var a = this.deleteByPath(n.map, o.slice(1));
|
|
296
|
-
return (!n.map || n.map.size === 0) && !n.value && r.delete(o[0]), a;
|
|
297
|
-
}
|
|
298
|
-
}, {
|
|
299
|
-
key: "delete",
|
|
300
|
-
value: function(r) {
|
|
301
|
-
if (this.has(r))
|
|
302
|
-
return this.keys = this.keys.filter(function(o) {
|
|
303
|
-
return !pt(o, r);
|
|
304
|
-
}), this.deleteByPath(this.cache, r);
|
|
305
|
-
}
|
|
306
|
-
}]), e;
|
|
307
|
-
}();
|
|
308
|
-
M(xe, "MAX_CACHE_SIZE", 20);
|
|
309
|
-
M(xe, "MAX_CACHE_OFFSET", 5);
|
|
310
|
-
var Ae = 0, Ve = /* @__PURE__ */ function() {
|
|
311
|
-
function e(t) {
|
|
312
|
-
me(this, e), M(this, "derivatives", void 0), M(this, "id", void 0), this.derivatives = Array.isArray(t) ? t : [t], this.id = Ae, t.length === 0 && We(t.length > 0, "[Ant Design CSS-in-JS] Theme should have at least one derivative function."), Ae += 1;
|
|
313
|
-
}
|
|
314
|
-
return Se(e, [{
|
|
315
|
-
key: "getDerivativeToken",
|
|
316
|
-
value: function(r) {
|
|
317
|
-
return this.derivatives.reduce(function(o, n) {
|
|
318
|
-
return n(r, o);
|
|
319
|
-
}, void 0);
|
|
320
|
-
}
|
|
321
|
-
}]), e;
|
|
322
|
-
}(), te = new xe();
|
|
323
|
-
function de(e) {
|
|
324
|
-
var t = Array.isArray(e) ? e : [e];
|
|
325
|
-
return te.has(t) || te.set(t, new Ve(t)), te.get(t);
|
|
326
|
-
}
|
|
327
|
-
var vt = /* @__PURE__ */ new WeakMap(), re = {};
|
|
328
|
-
function yt(e, t) {
|
|
329
|
-
for (var r = vt, o = 0; o < t.length; o += 1) {
|
|
330
|
-
var n = t[o];
|
|
331
|
-
r.has(n) || r.set(n, /* @__PURE__ */ new WeakMap()), r = r.get(n);
|
|
332
|
-
}
|
|
333
|
-
return r.has(re) || r.set(re, e()), r.get(re);
|
|
334
|
-
}
|
|
335
|
-
var Ee = /* @__PURE__ */ new WeakMap();
|
|
336
|
-
function Z(e) {
|
|
337
|
-
var t = Ee.get(e) || "";
|
|
338
|
-
return t || (Object.keys(e).forEach(function(r) {
|
|
339
|
-
var o = e[r];
|
|
340
|
-
t += r, o instanceof Ve ? t += o.id : o && P(o) === "object" ? t += Z(o) : t += o;
|
|
341
|
-
}), Ee.set(e, t)), t;
|
|
342
|
-
}
|
|
343
|
-
function mt(e, t) {
|
|
344
|
-
return Ge("".concat(t, "_").concat(Z(e)));
|
|
345
|
-
}
|
|
346
|
-
var He = process.env.NODE_ENV !== "test" && dt() ? w.useLayoutEffect : w.useEffect, St = function(t, r) {
|
|
347
|
-
var o = w.useRef(!0);
|
|
348
|
-
He(function() {
|
|
349
|
-
return t(o.current);
|
|
350
|
-
}, r), He(function() {
|
|
351
|
-
return o.current = !1, function() {
|
|
352
|
-
o.current = !0;
|
|
353
|
-
};
|
|
354
|
-
}, []);
|
|
355
|
-
}, xt = J({}, w), Oe = xt.useInsertionEffect, Tt = function(t, r, o) {
|
|
356
|
-
w.useMemo(t, o), St(function() {
|
|
357
|
-
return r(!0);
|
|
358
|
-
}, o);
|
|
359
|
-
}, kt = Oe ? function(e, t, r) {
|
|
360
|
-
return Oe(function() {
|
|
361
|
-
return e(), t();
|
|
362
|
-
}, r);
|
|
363
|
-
} : Tt, Ct = J({}, w), Mt = Ct.useInsertionEffect, wt = function(t) {
|
|
364
|
-
var r = [], o = !1;
|
|
365
|
-
function n(i) {
|
|
366
|
-
if (o) {
|
|
367
|
-
process.env.NODE_ENV !== "production" && We(!1, "[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");
|
|
368
|
-
return;
|
|
369
|
-
}
|
|
370
|
-
r.push(i);
|
|
371
|
-
}
|
|
372
|
-
return w.useEffect(function() {
|
|
373
|
-
return o = !1, function() {
|
|
374
|
-
o = !0, r.length && r.forEach(function(i) {
|
|
375
|
-
return i();
|
|
376
|
-
});
|
|
377
|
-
};
|
|
378
|
-
}, t), n;
|
|
379
|
-
}, Bt = function() {
|
|
380
|
-
return function(t) {
|
|
381
|
-
t();
|
|
382
|
-
};
|
|
383
|
-
}, At = typeof Mt < "u" ? wt : Bt;
|
|
384
|
-
function Et() {
|
|
385
|
-
return !1;
|
|
386
|
-
}
|
|
387
|
-
var ge = !1;
|
|
388
|
-
function Ht() {
|
|
389
|
-
return ge;
|
|
390
|
-
}
|
|
391
|
-
const Ot = process.env.NODE_ENV === "production" ? Et : Ht;
|
|
392
|
-
if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && module.hot && typeof window < "u") {
|
|
393
|
-
var oe = window;
|
|
394
|
-
if (typeof oe.webpackHotUpdate == "function") {
|
|
395
|
-
var It = oe.webpackHotUpdate;
|
|
396
|
-
oe.webpackHotUpdate = function() {
|
|
397
|
-
return ge = !0, setTimeout(function() {
|
|
398
|
-
ge = !1;
|
|
399
|
-
}, 0), It.apply(void 0, arguments);
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
function Rt(e, t, r, o, n) {
|
|
404
|
-
var i = w.useContext(Ue), a = i.cache, c = [e].concat($e(t)), l = c.join("_"), s = At([l]), g = Ot(), f = function(h) {
|
|
405
|
-
a.update(c, function(m) {
|
|
406
|
-
var S = m || [], T = W(S, 2), L = T[0], $ = L === void 0 ? 0 : L, G = T[1], Y = G;
|
|
407
|
-
process.env.NODE_ENV !== "production" && G && g && (o == null || o(Y, g), Y = null);
|
|
408
|
-
var rt = Y || r(), Ce = [$, rt];
|
|
409
|
-
return h ? h(Ce) : Ce;
|
|
410
|
-
});
|
|
411
|
-
};
|
|
412
|
-
w.useMemo(
|
|
413
|
-
function() {
|
|
414
|
-
f();
|
|
415
|
-
},
|
|
416
|
-
/* eslint-disable react-hooks/exhaustive-deps */
|
|
417
|
-
[l]
|
|
418
|
-
/* eslint-enable */
|
|
419
|
-
);
|
|
420
|
-
var d = a.get(c);
|
|
421
|
-
process.env.NODE_ENV !== "production" && !d && (f(), d = a.get(c));
|
|
422
|
-
var b = d[1];
|
|
423
|
-
return kt(function() {
|
|
424
|
-
n == null || n(b);
|
|
425
|
-
}, function(v) {
|
|
426
|
-
return f(function(h) {
|
|
427
|
-
var m = W(h, 2), S = m[0], T = m[1];
|
|
428
|
-
return v && S === 0 && (n == null || n(b)), [S + 1, T];
|
|
429
|
-
}), function() {
|
|
430
|
-
a.update(c, function(h) {
|
|
431
|
-
var m = h || [], S = W(m, 2), T = S[0], L = T === void 0 ? 0 : T, $ = S[1], G = L - 1;
|
|
432
|
-
return G === 0 ? (s(function() {
|
|
433
|
-
return o == null ? void 0 : o($, !1);
|
|
434
|
-
}), null) : [L - 1, $];
|
|
435
|
-
});
|
|
436
|
-
};
|
|
437
|
-
}, [l]), b;
|
|
438
|
-
}
|
|
439
|
-
var zt = {}, jt = process.env.NODE_ENV !== "production" ? "css-dev-only-do-not-override" : "css", O = /* @__PURE__ */ new Map();
|
|
440
|
-
function Pt(e) {
|
|
441
|
-
O.set(e, (O.get(e) || 0) + 1);
|
|
442
|
-
}
|
|
443
|
-
function Ft(e, t) {
|
|
444
|
-
if (typeof document < "u") {
|
|
445
|
-
var r = document.querySelectorAll("style[".concat(ft, '="').concat(e, '"]'));
|
|
446
|
-
r.forEach(function(o) {
|
|
447
|
-
if (o[_] === t) {
|
|
448
|
-
var n;
|
|
449
|
-
(n = o.parentNode) === null || n === void 0 || n.removeChild(o);
|
|
450
|
-
}
|
|
451
|
-
});
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
var Lt = 0;
|
|
455
|
-
function Dt(e, t) {
|
|
456
|
-
O.set(e, (O.get(e) || 0) - 1);
|
|
457
|
-
var r = Array.from(O.keys()), o = r.filter(function(n) {
|
|
458
|
-
var i = O.get(n) || 0;
|
|
459
|
-
return i <= 0;
|
|
460
|
-
});
|
|
461
|
-
r.length - o.length > Lt && o.forEach(function(n) {
|
|
462
|
-
Ft(n, t), O.delete(n);
|
|
463
|
-
});
|
|
464
|
-
}
|
|
465
|
-
var Qe = function(t, r, o, n) {
|
|
466
|
-
var i = o.getDerivativeToken(t), a = J(J({}, i), r);
|
|
467
|
-
return n && (a = n(a)), a;
|
|
468
|
-
};
|
|
469
|
-
function _t(e, t) {
|
|
470
|
-
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = ot(Ue), n = o.cache.instanceId, i = r.salt, a = i === void 0 ? "" : i, c = r.override, l = c === void 0 ? zt : c, s = r.formatToken, g = r.getComputedToken, f = yt(function() {
|
|
471
|
-
return Object.assign.apply(Object, [{}].concat($e(t)));
|
|
472
|
-
}, t), d = Z(f), b = Z(l), v = Rt("token", [a, e.id, d, b], function() {
|
|
473
|
-
var h = g ? g(f, l, e) : Qe(f, l, e, s), m = mt(h, a);
|
|
474
|
-
h._tokenKey = m, Pt(m);
|
|
475
|
-
var S = "".concat(jt, "-").concat(Ge(m));
|
|
476
|
-
return h._hashId = S, [h, S];
|
|
477
|
-
}, function(h) {
|
|
478
|
-
Dt(h[0]._tokenKey, n);
|
|
479
|
-
});
|
|
480
|
-
return v;
|
|
481
|
-
}
|
|
482
|
-
function R(e) {
|
|
483
|
-
return e.notSplit = !0, e;
|
|
484
|
-
}
|
|
485
|
-
R(["borderTop", "borderBottom"]), R(["borderTop"]), R(["borderBottom"]), R(["borderLeft", "borderRight"]), R(["borderLeft"]), R(["borderRight"]);
|
|
486
|
-
function p(e, t) {
|
|
487
|
-
Wt(e) && (e = "100%");
|
|
488
|
-
var r = Xt(e);
|
|
489
|
-
return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), r && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
|
|
490
|
-
}
|
|
491
|
-
function U(e) {
|
|
492
|
-
return Math.min(1, Math.max(0, e));
|
|
493
|
-
}
|
|
494
|
-
function Wt(e) {
|
|
495
|
-
return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
|
|
496
|
-
}
|
|
497
|
-
function Xt(e) {
|
|
498
|
-
return typeof e == "string" && e.indexOf("%") !== -1;
|
|
499
|
-
}
|
|
500
|
-
function qe(e) {
|
|
501
|
-
return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
|
|
502
|
-
}
|
|
503
|
-
function V(e) {
|
|
504
|
-
return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
|
|
505
|
-
}
|
|
506
|
-
function I(e) {
|
|
507
|
-
return e.length === 1 ? "0" + e : String(e);
|
|
508
|
-
}
|
|
509
|
-
function Nt(e, t, r) {
|
|
510
|
-
return {
|
|
511
|
-
r: p(e, 255) * 255,
|
|
512
|
-
g: p(t, 255) * 255,
|
|
513
|
-
b: p(r, 255) * 255
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
function Ie(e, t, r) {
|
|
517
|
-
e = p(e, 255), t = p(t, 255), r = p(r, 255);
|
|
518
|
-
var o = Math.max(e, t, r), n = Math.min(e, t, r), i = 0, a = 0, c = (o + n) / 2;
|
|
519
|
-
if (o === n)
|
|
520
|
-
a = 0, i = 0;
|
|
521
|
-
else {
|
|
522
|
-
var l = o - n;
|
|
523
|
-
switch (a = c > 0.5 ? l / (2 - o - n) : l / (o + n), o) {
|
|
524
|
-
case e:
|
|
525
|
-
i = (t - r) / l + (t < r ? 6 : 0);
|
|
526
|
-
break;
|
|
527
|
-
case t:
|
|
528
|
-
i = (r - e) / l + 2;
|
|
529
|
-
break;
|
|
530
|
-
case r:
|
|
531
|
-
i = (e - t) / l + 4;
|
|
532
|
-
break;
|
|
533
|
-
}
|
|
534
|
-
i /= 6;
|
|
535
|
-
}
|
|
536
|
-
return { h: i, s: a, l: c };
|
|
537
|
-
}
|
|
538
|
-
function ne(e, t, r) {
|
|
539
|
-
return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * (6 * r) : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e;
|
|
540
|
-
}
|
|
541
|
-
function $t(e, t, r) {
|
|
542
|
-
var o, n, i;
|
|
543
|
-
if (e = p(e, 360), t = p(t, 100), r = p(r, 100), t === 0)
|
|
544
|
-
n = r, i = r, o = r;
|
|
545
|
-
else {
|
|
546
|
-
var a = r < 0.5 ? r * (1 + t) : r + t - r * t, c = 2 * r - a;
|
|
547
|
-
o = ne(c, a, e + 1 / 3), n = ne(c, a, e), i = ne(c, a, e - 1 / 3);
|
|
548
|
-
}
|
|
549
|
-
return { r: o * 255, g: n * 255, b: i * 255 };
|
|
550
|
-
}
|
|
551
|
-
function he(e, t, r) {
|
|
552
|
-
e = p(e, 255), t = p(t, 255), r = p(r, 255);
|
|
553
|
-
var o = Math.max(e, t, r), n = Math.min(e, t, r), i = 0, a = o, c = o - n, l = o === 0 ? 0 : c / o;
|
|
554
|
-
if (o === n)
|
|
555
|
-
i = 0;
|
|
556
|
-
else {
|
|
557
|
-
switch (o) {
|
|
558
|
-
case e:
|
|
559
|
-
i = (t - r) / c + (t < r ? 6 : 0);
|
|
560
|
-
break;
|
|
561
|
-
case t:
|
|
562
|
-
i = (r - e) / c + 2;
|
|
563
|
-
break;
|
|
564
|
-
case r:
|
|
565
|
-
i = (e - t) / c + 4;
|
|
566
|
-
break;
|
|
567
|
-
}
|
|
568
|
-
i /= 6;
|
|
569
|
-
}
|
|
570
|
-
return { h: i, s: l, v: a };
|
|
571
|
-
}
|
|
572
|
-
function Gt(e, t, r) {
|
|
573
|
-
e = p(e, 360) * 6, t = p(t, 100), r = p(r, 100);
|
|
574
|
-
var o = Math.floor(e), n = e - o, i = r * (1 - t), a = r * (1 - n * t), c = r * (1 - (1 - n) * t), l = o % 6, s = [r, a, i, i, c, r][l], g = [c, r, r, a, i, i][l], f = [i, i, c, r, r, a][l];
|
|
575
|
-
return { r: s * 255, g: g * 255, b: f * 255 };
|
|
576
|
-
}
|
|
577
|
-
function be(e, t, r, o) {
|
|
578
|
-
var n = [
|
|
579
|
-
I(Math.round(e).toString(16)),
|
|
580
|
-
I(Math.round(t).toString(16)),
|
|
581
|
-
I(Math.round(r).toString(16))
|
|
582
|
-
];
|
|
583
|
-
return o && n[0].startsWith(n[0].charAt(1)) && n[1].startsWith(n[1].charAt(1)) && n[2].startsWith(n[2].charAt(1)) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) : n.join("");
|
|
584
|
-
}
|
|
585
|
-
function Ut(e, t, r, o, n) {
|
|
586
|
-
var i = [
|
|
587
|
-
I(Math.round(e).toString(16)),
|
|
588
|
-
I(Math.round(t).toString(16)),
|
|
589
|
-
I(Math.round(r).toString(16)),
|
|
590
|
-
I(Vt(o))
|
|
591
|
-
];
|
|
592
|
-
return n && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) && i[3].startsWith(i[3].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
|
|
593
|
-
}
|
|
594
|
-
function Vt(e) {
|
|
595
|
-
return Math.round(parseFloat(e) * 255).toString(16);
|
|
596
|
-
}
|
|
597
|
-
function Re(e) {
|
|
598
|
-
return y(e) / 255;
|
|
599
|
-
}
|
|
600
|
-
function y(e) {
|
|
601
|
-
return parseInt(e, 16);
|
|
602
|
-
}
|
|
603
|
-
function Qt(e) {
|
|
604
|
-
return {
|
|
605
|
-
r: e >> 16,
|
|
606
|
-
g: (e & 65280) >> 8,
|
|
607
|
-
b: e & 255
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
var pe = {
|
|
611
|
-
aliceblue: "#f0f8ff",
|
|
612
|
-
antiquewhite: "#faebd7",
|
|
613
|
-
aqua: "#00ffff",
|
|
614
|
-
aquamarine: "#7fffd4",
|
|
615
|
-
azure: "#f0ffff",
|
|
616
|
-
beige: "#f5f5dc",
|
|
617
|
-
bisque: "#ffe4c4",
|
|
618
|
-
black: "#000000",
|
|
619
|
-
blanchedalmond: "#ffebcd",
|
|
620
|
-
blue: "#0000ff",
|
|
621
|
-
blueviolet: "#8a2be2",
|
|
622
|
-
brown: "#a52a2a",
|
|
623
|
-
burlywood: "#deb887",
|
|
624
|
-
cadetblue: "#5f9ea0",
|
|
625
|
-
chartreuse: "#7fff00",
|
|
626
|
-
chocolate: "#d2691e",
|
|
627
|
-
coral: "#ff7f50",
|
|
628
|
-
cornflowerblue: "#6495ed",
|
|
629
|
-
cornsilk: "#fff8dc",
|
|
630
|
-
crimson: "#dc143c",
|
|
631
|
-
cyan: "#00ffff",
|
|
632
|
-
darkblue: "#00008b",
|
|
633
|
-
darkcyan: "#008b8b",
|
|
634
|
-
darkgoldenrod: "#b8860b",
|
|
635
|
-
darkgray: "#a9a9a9",
|
|
636
|
-
darkgreen: "#006400",
|
|
637
|
-
darkgrey: "#a9a9a9",
|
|
638
|
-
darkkhaki: "#bdb76b",
|
|
639
|
-
darkmagenta: "#8b008b",
|
|
640
|
-
darkolivegreen: "#556b2f",
|
|
641
|
-
darkorange: "#ff8c00",
|
|
642
|
-
darkorchid: "#9932cc",
|
|
643
|
-
darkred: "#8b0000",
|
|
644
|
-
darksalmon: "#e9967a",
|
|
645
|
-
darkseagreen: "#8fbc8f",
|
|
646
|
-
darkslateblue: "#483d8b",
|
|
647
|
-
darkslategray: "#2f4f4f",
|
|
648
|
-
darkslategrey: "#2f4f4f",
|
|
649
|
-
darkturquoise: "#00ced1",
|
|
650
|
-
darkviolet: "#9400d3",
|
|
651
|
-
deeppink: "#ff1493",
|
|
652
|
-
deepskyblue: "#00bfff",
|
|
653
|
-
dimgray: "#696969",
|
|
654
|
-
dimgrey: "#696969",
|
|
655
|
-
dodgerblue: "#1e90ff",
|
|
656
|
-
firebrick: "#b22222",
|
|
657
|
-
floralwhite: "#fffaf0",
|
|
658
|
-
forestgreen: "#228b22",
|
|
659
|
-
fuchsia: "#ff00ff",
|
|
660
|
-
gainsboro: "#dcdcdc",
|
|
661
|
-
ghostwhite: "#f8f8ff",
|
|
662
|
-
goldenrod: "#daa520",
|
|
663
|
-
gold: "#ffd700",
|
|
664
|
-
gray: "#808080",
|
|
665
|
-
green: "#008000",
|
|
666
|
-
greenyellow: "#adff2f",
|
|
667
|
-
grey: "#808080",
|
|
668
|
-
honeydew: "#f0fff0",
|
|
669
|
-
hotpink: "#ff69b4",
|
|
670
|
-
indianred: "#cd5c5c",
|
|
671
|
-
indigo: "#4b0082",
|
|
672
|
-
ivory: "#fffff0",
|
|
673
|
-
khaki: "#f0e68c",
|
|
674
|
-
lavenderblush: "#fff0f5",
|
|
675
|
-
lavender: "#e6e6fa",
|
|
676
|
-
lawngreen: "#7cfc00",
|
|
677
|
-
lemonchiffon: "#fffacd",
|
|
678
|
-
lightblue: "#add8e6",
|
|
679
|
-
lightcoral: "#f08080",
|
|
680
|
-
lightcyan: "#e0ffff",
|
|
681
|
-
lightgoldenrodyellow: "#fafad2",
|
|
682
|
-
lightgray: "#d3d3d3",
|
|
683
|
-
lightgreen: "#90ee90",
|
|
684
|
-
lightgrey: "#d3d3d3",
|
|
685
|
-
lightpink: "#ffb6c1",
|
|
686
|
-
lightsalmon: "#ffa07a",
|
|
687
|
-
lightseagreen: "#20b2aa",
|
|
688
|
-
lightskyblue: "#87cefa",
|
|
689
|
-
lightslategray: "#778899",
|
|
690
|
-
lightslategrey: "#778899",
|
|
691
|
-
lightsteelblue: "#b0c4de",
|
|
692
|
-
lightyellow: "#ffffe0",
|
|
693
|
-
lime: "#00ff00",
|
|
694
|
-
limegreen: "#32cd32",
|
|
695
|
-
linen: "#faf0e6",
|
|
696
|
-
magenta: "#ff00ff",
|
|
697
|
-
maroon: "#800000",
|
|
698
|
-
mediumaquamarine: "#66cdaa",
|
|
699
|
-
mediumblue: "#0000cd",
|
|
700
|
-
mediumorchid: "#ba55d3",
|
|
701
|
-
mediumpurple: "#9370db",
|
|
702
|
-
mediumseagreen: "#3cb371",
|
|
703
|
-
mediumslateblue: "#7b68ee",
|
|
704
|
-
mediumspringgreen: "#00fa9a",
|
|
705
|
-
mediumturquoise: "#48d1cc",
|
|
706
|
-
mediumvioletred: "#c71585",
|
|
707
|
-
midnightblue: "#191970",
|
|
708
|
-
mintcream: "#f5fffa",
|
|
709
|
-
mistyrose: "#ffe4e1",
|
|
710
|
-
moccasin: "#ffe4b5",
|
|
711
|
-
navajowhite: "#ffdead",
|
|
712
|
-
navy: "#000080",
|
|
713
|
-
oldlace: "#fdf5e6",
|
|
714
|
-
olive: "#808000",
|
|
715
|
-
olivedrab: "#6b8e23",
|
|
716
|
-
orange: "#ffa500",
|
|
717
|
-
orangered: "#ff4500",
|
|
718
|
-
orchid: "#da70d6",
|
|
719
|
-
palegoldenrod: "#eee8aa",
|
|
720
|
-
palegreen: "#98fb98",
|
|
721
|
-
paleturquoise: "#afeeee",
|
|
722
|
-
palevioletred: "#db7093",
|
|
723
|
-
papayawhip: "#ffefd5",
|
|
724
|
-
peachpuff: "#ffdab9",
|
|
725
|
-
peru: "#cd853f",
|
|
726
|
-
pink: "#ffc0cb",
|
|
727
|
-
plum: "#dda0dd",
|
|
728
|
-
powderblue: "#b0e0e6",
|
|
729
|
-
purple: "#800080",
|
|
730
|
-
rebeccapurple: "#663399",
|
|
731
|
-
red: "#ff0000",
|
|
732
|
-
rosybrown: "#bc8f8f",
|
|
733
|
-
royalblue: "#4169e1",
|
|
734
|
-
saddlebrown: "#8b4513",
|
|
735
|
-
salmon: "#fa8072",
|
|
736
|
-
sandybrown: "#f4a460",
|
|
737
|
-
seagreen: "#2e8b57",
|
|
738
|
-
seashell: "#fff5ee",
|
|
739
|
-
sienna: "#a0522d",
|
|
740
|
-
silver: "#c0c0c0",
|
|
741
|
-
skyblue: "#87ceeb",
|
|
742
|
-
slateblue: "#6a5acd",
|
|
743
|
-
slategray: "#708090",
|
|
744
|
-
slategrey: "#708090",
|
|
745
|
-
snow: "#fffafa",
|
|
746
|
-
springgreen: "#00ff7f",
|
|
747
|
-
steelblue: "#4682b4",
|
|
748
|
-
tan: "#d2b48c",
|
|
749
|
-
teal: "#008080",
|
|
750
|
-
thistle: "#d8bfd8",
|
|
751
|
-
tomato: "#ff6347",
|
|
752
|
-
turquoise: "#40e0d0",
|
|
753
|
-
violet: "#ee82ee",
|
|
754
|
-
wheat: "#f5deb3",
|
|
755
|
-
white: "#ffffff",
|
|
756
|
-
whitesmoke: "#f5f5f5",
|
|
757
|
-
yellow: "#ffff00",
|
|
758
|
-
yellowgreen: "#9acd32"
|
|
759
|
-
};
|
|
760
|
-
function j(e) {
|
|
761
|
-
var t = { r: 0, g: 0, b: 0 }, r = 1, o = null, n = null, i = null, a = !1, c = !1;
|
|
762
|
-
return typeof e == "string" && (e = Jt(e)), typeof e == "object" && (B(e.r) && B(e.g) && B(e.b) ? (t = Nt(e.r, e.g, e.b), a = !0, c = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : B(e.h) && B(e.s) && B(e.v) ? (o = V(e.s), n = V(e.v), t = Gt(e.h, o, n), a = !0, c = "hsv") : B(e.h) && B(e.s) && B(e.l) && (o = V(e.s), i = V(e.l), t = $t(e.h, o, i), a = !0, c = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = qe(r), {
|
|
763
|
-
ok: a,
|
|
764
|
-
format: e.format || c,
|
|
765
|
-
r: Math.min(255, Math.max(t.r, 0)),
|
|
766
|
-
g: Math.min(255, Math.max(t.g, 0)),
|
|
767
|
-
b: Math.min(255, Math.max(t.b, 0)),
|
|
768
|
-
a: r
|
|
769
|
-
};
|
|
770
|
-
}
|
|
771
|
-
var qt = "[-\\+]?\\d+%?", Kt = "[-\\+]?\\d*\\.\\d+%?", H = "(?:".concat(Kt, ")|(?:").concat(qt, ")"), ie = "[\\s|\\(]+(".concat(H, ")[,|\\s]+(").concat(H, ")[,|\\s]+(").concat(H, ")\\s*\\)?"), ae = "[\\s|\\(]+(".concat(H, ")[,|\\s]+(").concat(H, ")[,|\\s]+(").concat(H, ")[,|\\s]+(").concat(H, ")\\s*\\)?"), C = {
|
|
772
|
-
CSS_UNIT: new RegExp(H),
|
|
773
|
-
rgb: new RegExp("rgb" + ie),
|
|
774
|
-
rgba: new RegExp("rgba" + ae),
|
|
775
|
-
hsl: new RegExp("hsl" + ie),
|
|
776
|
-
hsla: new RegExp("hsla" + ae),
|
|
777
|
-
hsv: new RegExp("hsv" + ie),
|
|
778
|
-
hsva: new RegExp("hsva" + ae),
|
|
779
|
-
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
780
|
-
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
|
781
|
-
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
782
|
-
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
783
|
-
};
|
|
784
|
-
function Jt(e) {
|
|
785
|
-
if (e = e.trim().toLowerCase(), e.length === 0)
|
|
786
|
-
return !1;
|
|
787
|
-
var t = !1;
|
|
788
|
-
if (pe[e])
|
|
789
|
-
e = pe[e], t = !0;
|
|
790
|
-
else if (e === "transparent")
|
|
791
|
-
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
792
|
-
var r = C.rgb.exec(e);
|
|
793
|
-
return r ? { r: r[1], g: r[2], b: r[3] } : (r = C.rgba.exec(e), r ? { r: r[1], g: r[2], b: r[3], a: r[4] } : (r = C.hsl.exec(e), r ? { h: r[1], s: r[2], l: r[3] } : (r = C.hsla.exec(e), r ? { h: r[1], s: r[2], l: r[3], a: r[4] } : (r = C.hsv.exec(e), r ? { h: r[1], s: r[2], v: r[3] } : (r = C.hsva.exec(e), r ? { h: r[1], s: r[2], v: r[3], a: r[4] } : (r = C.hex8.exec(e), r ? {
|
|
794
|
-
r: y(r[1]),
|
|
795
|
-
g: y(r[2]),
|
|
796
|
-
b: y(r[3]),
|
|
797
|
-
a: Re(r[4]),
|
|
798
|
-
format: t ? "name" : "hex8"
|
|
799
|
-
} : (r = C.hex6.exec(e), r ? {
|
|
800
|
-
r: y(r[1]),
|
|
801
|
-
g: y(r[2]),
|
|
802
|
-
b: y(r[3]),
|
|
803
|
-
format: t ? "name" : "hex"
|
|
804
|
-
} : (r = C.hex4.exec(e), r ? {
|
|
805
|
-
r: y(r[1] + r[1]),
|
|
806
|
-
g: y(r[2] + r[2]),
|
|
807
|
-
b: y(r[3] + r[3]),
|
|
808
|
-
a: Re(r[4] + r[4]),
|
|
809
|
-
format: t ? "name" : "hex8"
|
|
810
|
-
} : (r = C.hex3.exec(e), r ? {
|
|
811
|
-
r: y(r[1] + r[1]),
|
|
812
|
-
g: y(r[2] + r[2]),
|
|
813
|
-
b: y(r[3] + r[3]),
|
|
814
|
-
format: t ? "name" : "hex"
|
|
815
|
-
} : !1)))))))));
|
|
816
|
-
}
|
|
817
|
-
function B(e) {
|
|
818
|
-
return !!C.CSS_UNIT.exec(String(e));
|
|
819
|
-
}
|
|
820
|
-
var x = (
|
|
821
|
-
/** @class */
|
|
822
|
-
function() {
|
|
823
|
-
function e(t, r) {
|
|
824
|
-
t === void 0 && (t = ""), r === void 0 && (r = {});
|
|
825
|
-
var o;
|
|
826
|
-
if (t instanceof e)
|
|
827
|
-
return t;
|
|
828
|
-
typeof t == "number" && (t = Qt(t)), this.originalInput = t;
|
|
829
|
-
var n = j(t);
|
|
830
|
-
this.originalInput = t, this.r = n.r, this.g = n.g, this.b = n.b, this.a = n.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (o = r.format) !== null && o !== void 0 ? o : n.format, this.gradientType = r.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = n.ok;
|
|
831
|
-
}
|
|
832
|
-
return e.prototype.isDark = function() {
|
|
833
|
-
return this.getBrightness() < 128;
|
|
834
|
-
}, e.prototype.isLight = function() {
|
|
835
|
-
return !this.isDark();
|
|
836
|
-
}, e.prototype.getBrightness = function() {
|
|
837
|
-
var t = this.toRgb();
|
|
838
|
-
return (t.r * 299 + t.g * 587 + t.b * 114) / 1e3;
|
|
839
|
-
}, e.prototype.getLuminance = function() {
|
|
840
|
-
var t = this.toRgb(), r, o, n, i = t.r / 255, a = t.g / 255, c = t.b / 255;
|
|
841
|
-
return i <= 0.03928 ? r = i / 12.92 : r = Math.pow((i + 0.055) / 1.055, 2.4), a <= 0.03928 ? o = a / 12.92 : o = Math.pow((a + 0.055) / 1.055, 2.4), c <= 0.03928 ? n = c / 12.92 : n = Math.pow((c + 0.055) / 1.055, 2.4), 0.2126 * r + 0.7152 * o + 0.0722 * n;
|
|
842
|
-
}, e.prototype.getAlpha = function() {
|
|
843
|
-
return this.a;
|
|
844
|
-
}, e.prototype.setAlpha = function(t) {
|
|
845
|
-
return this.a = qe(t), this.roundA = Math.round(100 * this.a) / 100, this;
|
|
846
|
-
}, e.prototype.isMonochrome = function() {
|
|
847
|
-
var t = this.toHsl().s;
|
|
848
|
-
return t === 0;
|
|
849
|
-
}, e.prototype.toHsv = function() {
|
|
850
|
-
var t = he(this.r, this.g, this.b);
|
|
851
|
-
return { h: t.h * 360, s: t.s, v: t.v, a: this.a };
|
|
852
|
-
}, e.prototype.toHsvString = function() {
|
|
853
|
-
var t = he(this.r, this.g, this.b), r = Math.round(t.h * 360), o = Math.round(t.s * 100), n = Math.round(t.v * 100);
|
|
854
|
-
return this.a === 1 ? "hsv(".concat(r, ", ").concat(o, "%, ").concat(n, "%)") : "hsva(".concat(r, ", ").concat(o, "%, ").concat(n, "%, ").concat(this.roundA, ")");
|
|
855
|
-
}, e.prototype.toHsl = function() {
|
|
856
|
-
var t = Ie(this.r, this.g, this.b);
|
|
857
|
-
return { h: t.h * 360, s: t.s, l: t.l, a: this.a };
|
|
858
|
-
}, e.prototype.toHslString = function() {
|
|
859
|
-
var t = Ie(this.r, this.g, this.b), r = Math.round(t.h * 360), o = Math.round(t.s * 100), n = Math.round(t.l * 100);
|
|
860
|
-
return this.a === 1 ? "hsl(".concat(r, ", ").concat(o, "%, ").concat(n, "%)") : "hsla(".concat(r, ", ").concat(o, "%, ").concat(n, "%, ").concat(this.roundA, ")");
|
|
861
|
-
}, e.prototype.toHex = function(t) {
|
|
862
|
-
return t === void 0 && (t = !1), be(this.r, this.g, this.b, t);
|
|
863
|
-
}, e.prototype.toHexString = function(t) {
|
|
864
|
-
return t === void 0 && (t = !1), "#" + this.toHex(t);
|
|
865
|
-
}, e.prototype.toHex8 = function(t) {
|
|
866
|
-
return t === void 0 && (t = !1), Ut(this.r, this.g, this.b, this.a, t);
|
|
867
|
-
}, e.prototype.toHex8String = function(t) {
|
|
868
|
-
return t === void 0 && (t = !1), "#" + this.toHex8(t);
|
|
869
|
-
}, e.prototype.toHexShortString = function(t) {
|
|
870
|
-
return t === void 0 && (t = !1), this.a === 1 ? this.toHexString(t) : this.toHex8String(t);
|
|
871
|
-
}, e.prototype.toRgb = function() {
|
|
872
|
-
return {
|
|
873
|
-
r: Math.round(this.r),
|
|
874
|
-
g: Math.round(this.g),
|
|
875
|
-
b: Math.round(this.b),
|
|
876
|
-
a: this.a
|
|
877
|
-
};
|
|
878
|
-
}, e.prototype.toRgbString = function() {
|
|
879
|
-
var t = Math.round(this.r), r = Math.round(this.g), o = Math.round(this.b);
|
|
880
|
-
return this.a === 1 ? "rgb(".concat(t, ", ").concat(r, ", ").concat(o, ")") : "rgba(".concat(t, ", ").concat(r, ", ").concat(o, ", ").concat(this.roundA, ")");
|
|
881
|
-
}, e.prototype.toPercentageRgb = function() {
|
|
882
|
-
var t = function(r) {
|
|
883
|
-
return "".concat(Math.round(p(r, 255) * 100), "%");
|
|
884
|
-
};
|
|
885
|
-
return {
|
|
886
|
-
r: t(this.r),
|
|
887
|
-
g: t(this.g),
|
|
888
|
-
b: t(this.b),
|
|
889
|
-
a: this.a
|
|
890
|
-
};
|
|
891
|
-
}, e.prototype.toPercentageRgbString = function() {
|
|
892
|
-
var t = function(r) {
|
|
893
|
-
return Math.round(p(r, 255) * 100);
|
|
894
|
-
};
|
|
895
|
-
return this.a === 1 ? "rgb(".concat(t(this.r), "%, ").concat(t(this.g), "%, ").concat(t(this.b), "%)") : "rgba(".concat(t(this.r), "%, ").concat(t(this.g), "%, ").concat(t(this.b), "%, ").concat(this.roundA, ")");
|
|
896
|
-
}, e.prototype.toName = function() {
|
|
897
|
-
if (this.a === 0)
|
|
898
|
-
return "transparent";
|
|
899
|
-
if (this.a < 1)
|
|
900
|
-
return !1;
|
|
901
|
-
for (var t = "#" + be(this.r, this.g, this.b, !1), r = 0, o = Object.entries(pe); r < o.length; r++) {
|
|
902
|
-
var n = o[r], i = n[0], a = n[1];
|
|
903
|
-
if (t === a)
|
|
904
|
-
return i;
|
|
905
|
-
}
|
|
906
|
-
return !1;
|
|
907
|
-
}, e.prototype.toString = function(t) {
|
|
908
|
-
var r = !!t;
|
|
909
|
-
t = t ?? this.format;
|
|
910
|
-
var o = !1, n = this.a < 1 && this.a >= 0, i = !r && n && (t.startsWith("hex") || t === "name");
|
|
911
|
-
return i ? t === "name" && this.a === 0 ? this.toName() : this.toRgbString() : (t === "rgb" && (o = this.toRgbString()), t === "prgb" && (o = this.toPercentageRgbString()), (t === "hex" || t === "hex6") && (o = this.toHexString()), t === "hex3" && (o = this.toHexString(!0)), t === "hex4" && (o = this.toHex8String(!0)), t === "hex8" && (o = this.toHex8String()), t === "name" && (o = this.toName()), t === "hsl" && (o = this.toHslString()), t === "hsv" && (o = this.toHsvString()), o || this.toHexString());
|
|
912
|
-
}, e.prototype.toNumber = function() {
|
|
913
|
-
return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
|
|
914
|
-
}, e.prototype.clone = function() {
|
|
915
|
-
return new e(this.toString());
|
|
916
|
-
}, e.prototype.lighten = function(t) {
|
|
917
|
-
t === void 0 && (t = 10);
|
|
918
|
-
var r = this.toHsl();
|
|
919
|
-
return r.l += t / 100, r.l = U(r.l), new e(r);
|
|
920
|
-
}, e.prototype.brighten = function(t) {
|
|
921
|
-
t === void 0 && (t = 10);
|
|
922
|
-
var r = this.toRgb();
|
|
923
|
-
return r.r = Math.max(0, Math.min(255, r.r - Math.round(255 * -(t / 100)))), r.g = Math.max(0, Math.min(255, r.g - Math.round(255 * -(t / 100)))), r.b = Math.max(0, Math.min(255, r.b - Math.round(255 * -(t / 100)))), new e(r);
|
|
924
|
-
}, e.prototype.darken = function(t) {
|
|
925
|
-
t === void 0 && (t = 10);
|
|
926
|
-
var r = this.toHsl();
|
|
927
|
-
return r.l -= t / 100, r.l = U(r.l), new e(r);
|
|
928
|
-
}, e.prototype.tint = function(t) {
|
|
929
|
-
return t === void 0 && (t = 10), this.mix("white", t);
|
|
930
|
-
}, e.prototype.shade = function(t) {
|
|
931
|
-
return t === void 0 && (t = 10), this.mix("black", t);
|
|
932
|
-
}, e.prototype.desaturate = function(t) {
|
|
933
|
-
t === void 0 && (t = 10);
|
|
934
|
-
var r = this.toHsl();
|
|
935
|
-
return r.s -= t / 100, r.s = U(r.s), new e(r);
|
|
936
|
-
}, e.prototype.saturate = function(t) {
|
|
937
|
-
t === void 0 && (t = 10);
|
|
938
|
-
var r = this.toHsl();
|
|
939
|
-
return r.s += t / 100, r.s = U(r.s), new e(r);
|
|
940
|
-
}, e.prototype.greyscale = function() {
|
|
941
|
-
return this.desaturate(100);
|
|
942
|
-
}, e.prototype.spin = function(t) {
|
|
943
|
-
var r = this.toHsl(), o = (r.h + t) % 360;
|
|
944
|
-
return r.h = o < 0 ? 360 + o : o, new e(r);
|
|
945
|
-
}, e.prototype.mix = function(t, r) {
|
|
946
|
-
r === void 0 && (r = 50);
|
|
947
|
-
var o = this.toRgb(), n = new e(t).toRgb(), i = r / 100, a = {
|
|
948
|
-
r: (n.r - o.r) * i + o.r,
|
|
949
|
-
g: (n.g - o.g) * i + o.g,
|
|
950
|
-
b: (n.b - o.b) * i + o.b,
|
|
951
|
-
a: (n.a - o.a) * i + o.a
|
|
952
|
-
};
|
|
953
|
-
return new e(a);
|
|
954
|
-
}, e.prototype.analogous = function(t, r) {
|
|
955
|
-
t === void 0 && (t = 6), r === void 0 && (r = 30);
|
|
956
|
-
var o = this.toHsl(), n = 360 / r, i = [this];
|
|
957
|
-
for (o.h = (o.h - (n * t >> 1) + 720) % 360; --t; )
|
|
958
|
-
o.h = (o.h + n) % 360, i.push(new e(o));
|
|
959
|
-
return i;
|
|
960
|
-
}, e.prototype.complement = function() {
|
|
961
|
-
var t = this.toHsl();
|
|
962
|
-
return t.h = (t.h + 180) % 360, new e(t);
|
|
963
|
-
}, e.prototype.monochromatic = function(t) {
|
|
964
|
-
t === void 0 && (t = 6);
|
|
965
|
-
for (var r = this.toHsv(), o = r.h, n = r.s, i = r.v, a = [], c = 1 / t; t--; )
|
|
966
|
-
a.push(new e({ h: o, s: n, v: i })), i = (i + c) % 1;
|
|
967
|
-
return a;
|
|
968
|
-
}, e.prototype.splitcomplement = function() {
|
|
969
|
-
var t = this.toHsl(), r = t.h;
|
|
970
|
-
return [
|
|
971
|
-
this,
|
|
972
|
-
new e({ h: (r + 72) % 360, s: t.s, l: t.l }),
|
|
973
|
-
new e({ h: (r + 216) % 360, s: t.s, l: t.l })
|
|
974
|
-
];
|
|
975
|
-
}, e.prototype.onBackground = function(t) {
|
|
976
|
-
var r = this.toRgb(), o = new e(t).toRgb(), n = r.a + o.a * (1 - r.a);
|
|
977
|
-
return new e({
|
|
978
|
-
r: (r.r * r.a + o.r * o.a * (1 - r.a)) / n,
|
|
979
|
-
g: (r.g * r.a + o.g * o.a * (1 - r.a)) / n,
|
|
980
|
-
b: (r.b * r.a + o.b * o.a * (1 - r.a)) / n,
|
|
981
|
-
a: n
|
|
982
|
-
});
|
|
983
|
-
}, e.prototype.triad = function() {
|
|
984
|
-
return this.polyad(3);
|
|
985
|
-
}, e.prototype.tetrad = function() {
|
|
986
|
-
return this.polyad(4);
|
|
987
|
-
}, e.prototype.polyad = function(t) {
|
|
988
|
-
for (var r = this.toHsl(), o = r.h, n = [this], i = 360 / t, a = 1; a < t; a++)
|
|
989
|
-
n.push(new e({ h: (o + a * i) % 360, s: r.s, l: r.l }));
|
|
990
|
-
return n;
|
|
991
|
-
}, e.prototype.equals = function(t) {
|
|
992
|
-
return this.toRgbString() === new e(t).toRgbString();
|
|
993
|
-
}, e;
|
|
994
|
-
}()
|
|
995
|
-
), Q = 2, ze = 0.16, Zt = 0.05, Yt = 0.05, er = 0.15, Ke = 5, Je = 4, tr = [{
|
|
996
|
-
index: 7,
|
|
997
|
-
opacity: 0.15
|
|
998
|
-
}, {
|
|
999
|
-
index: 6,
|
|
1000
|
-
opacity: 0.25
|
|
1001
|
-
}, {
|
|
1002
|
-
index: 5,
|
|
1003
|
-
opacity: 0.3
|
|
1004
|
-
}, {
|
|
1005
|
-
index: 5,
|
|
1006
|
-
opacity: 0.45
|
|
1007
|
-
}, {
|
|
1008
|
-
index: 5,
|
|
1009
|
-
opacity: 0.65
|
|
1010
|
-
}, {
|
|
1011
|
-
index: 5,
|
|
1012
|
-
opacity: 0.85
|
|
1013
|
-
}, {
|
|
1014
|
-
index: 4,
|
|
1015
|
-
opacity: 0.9
|
|
1016
|
-
}, {
|
|
1017
|
-
index: 3,
|
|
1018
|
-
opacity: 0.95
|
|
1019
|
-
}, {
|
|
1020
|
-
index: 2,
|
|
1021
|
-
opacity: 0.97
|
|
1022
|
-
}, {
|
|
1023
|
-
index: 1,
|
|
1024
|
-
opacity: 0.98
|
|
1025
|
-
}];
|
|
1026
|
-
function je(e) {
|
|
1027
|
-
var t = e.r, r = e.g, o = e.b, n = he(t, r, o);
|
|
1028
|
-
return {
|
|
1029
|
-
h: n.h * 360,
|
|
1030
|
-
s: n.s,
|
|
1031
|
-
v: n.v
|
|
1032
|
-
};
|
|
1033
|
-
}
|
|
1034
|
-
function q(e) {
|
|
1035
|
-
var t = e.r, r = e.g, o = e.b;
|
|
1036
|
-
return "#".concat(be(t, r, o, !1));
|
|
1037
|
-
}
|
|
1038
|
-
function rr(e, t, r) {
|
|
1039
|
-
var o = r / 100, n = {
|
|
1040
|
-
r: (t.r - e.r) * o + e.r,
|
|
1041
|
-
g: (t.g - e.g) * o + e.g,
|
|
1042
|
-
b: (t.b - e.b) * o + e.b
|
|
1043
|
-
};
|
|
1044
|
-
return n;
|
|
1045
|
-
}
|
|
1046
|
-
function Pe(e, t, r) {
|
|
1047
|
-
var o;
|
|
1048
|
-
return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? o = r ? Math.round(e.h) - Q * t : Math.round(e.h) + Q * t : o = r ? Math.round(e.h) + Q * t : Math.round(e.h) - Q * t, o < 0 ? o += 360 : o >= 360 && (o -= 360), o;
|
|
1049
|
-
}
|
|
1050
|
-
function Fe(e, t, r) {
|
|
1051
|
-
if (e.h === 0 && e.s === 0)
|
|
1052
|
-
return e.s;
|
|
1053
|
-
var o;
|
|
1054
|
-
return r ? o = e.s - ze * t : t === Je ? o = e.s + ze : o = e.s + Zt * t, o > 1 && (o = 1), r && t === Ke && o > 0.1 && (o = 0.1), o < 0.06 && (o = 0.06), Number(o.toFixed(2));
|
|
1055
|
-
}
|
|
1056
|
-
function Le(e, t, r) {
|
|
1057
|
-
var o;
|
|
1058
|
-
return r ? o = e.v + Yt * t : o = e.v - er * t, o > 1 && (o = 1), Number(o.toFixed(2));
|
|
1059
|
-
}
|
|
1060
|
-
function F(e) {
|
|
1061
|
-
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], o = j(e), n = Ke; n > 0; n -= 1) {
|
|
1062
|
-
var i = je(o), a = q(j({
|
|
1063
|
-
h: Pe(i, n, !0),
|
|
1064
|
-
s: Fe(i, n, !0),
|
|
1065
|
-
v: Le(i, n, !0)
|
|
1066
|
-
}));
|
|
1067
|
-
r.push(a);
|
|
1068
|
-
}
|
|
1069
|
-
r.push(q(o));
|
|
1070
|
-
for (var c = 1; c <= Je; c += 1) {
|
|
1071
|
-
var l = je(o), s = q(j({
|
|
1072
|
-
h: Pe(l, c),
|
|
1073
|
-
s: Fe(l, c),
|
|
1074
|
-
v: Le(l, c)
|
|
1075
|
-
}));
|
|
1076
|
-
r.push(s);
|
|
1077
|
-
}
|
|
1078
|
-
return t.theme === "dark" ? tr.map(function(g) {
|
|
1079
|
-
var f = g.index, d = g.opacity, b = q(rr(j(t.backgroundColor || "#141414"), j(r[f]), d * 100));
|
|
1080
|
-
return b;
|
|
1081
|
-
}) : r;
|
|
1082
|
-
}
|
|
1083
|
-
var ce = {
|
|
1084
|
-
red: "#F5222D",
|
|
1085
|
-
volcano: "#FA541C",
|
|
1086
|
-
orange: "#FA8C16",
|
|
1087
|
-
gold: "#FAAD14",
|
|
1088
|
-
yellow: "#FADB14",
|
|
1089
|
-
lime: "#A0D911",
|
|
1090
|
-
green: "#52C41A",
|
|
1091
|
-
cyan: "#13C2C2",
|
|
1092
|
-
blue: "#1677FF",
|
|
1093
|
-
geekblue: "#2F54EB",
|
|
1094
|
-
purple: "#722ED1",
|
|
1095
|
-
magenta: "#EB2F96",
|
|
1096
|
-
grey: "#666666"
|
|
1097
|
-
}, le = {}, se = {};
|
|
1098
|
-
Object.keys(ce).forEach(function(e) {
|
|
1099
|
-
le[e] = F(ce[e]), le[e].primary = le[e][5], se[e] = F(ce[e], {
|
|
1100
|
-
theme: "dark",
|
|
1101
|
-
backgroundColor: "#141414"
|
|
1102
|
-
}), se[e].primary = se[e][5];
|
|
1103
|
-
});
|
|
1104
|
-
const or = (e) => {
|
|
1105
|
-
const {
|
|
1106
|
-
controlHeight: t
|
|
1107
|
-
} = e;
|
|
1108
|
-
return {
|
|
1109
|
-
controlHeightSM: t * 0.75,
|
|
1110
|
-
controlHeightXS: t * 0.5,
|
|
1111
|
-
controlHeightLG: t * 1.25
|
|
1112
|
-
};
|
|
1113
|
-
}, Ze = or;
|
|
1114
|
-
function nr(e) {
|
|
1115
|
-
const {
|
|
1116
|
-
sizeUnit: t,
|
|
1117
|
-
sizeStep: r
|
|
1118
|
-
} = e;
|
|
1119
|
-
return {
|
|
1120
|
-
sizeXXL: t * (r + 8),
|
|
1121
|
-
sizeXL: t * (r + 4),
|
|
1122
|
-
sizeLG: t * (r + 2),
|
|
1123
|
-
sizeMD: t * (r + 1),
|
|
1124
|
-
sizeMS: t * r,
|
|
1125
|
-
size: t * r,
|
|
1126
|
-
sizeSM: t * (r - 1),
|
|
1127
|
-
sizeXS: t * (r - 2),
|
|
1128
|
-
sizeXXS: t * (r - 3)
|
|
1129
|
-
// 4
|
|
1130
|
-
};
|
|
1131
|
-
}
|
|
1132
|
-
const Te = {
|
|
1133
|
-
blue: "#1677ff",
|
|
1134
|
-
purple: "#722ED1",
|
|
1135
|
-
cyan: "#13C2C2",
|
|
1136
|
-
green: "#52C41A",
|
|
1137
|
-
magenta: "#EB2F96",
|
|
1138
|
-
pink: "#eb2f96",
|
|
1139
|
-
red: "#F5222D",
|
|
1140
|
-
orange: "#FA8C16",
|
|
1141
|
-
yellow: "#FADB14",
|
|
1142
|
-
volcano: "#FA541C",
|
|
1143
|
-
geekblue: "#2F54EB",
|
|
1144
|
-
gold: "#FAAD14",
|
|
1145
|
-
lime: "#A0D911"
|
|
1146
|
-
}, X = Object.assign(Object.assign({}, Te), {
|
|
1147
|
-
// Color
|
|
1148
|
-
colorPrimary: "#1677ff",
|
|
1149
|
-
colorSuccess: "#52c41a",
|
|
1150
|
-
colorWarning: "#faad14",
|
|
1151
|
-
colorError: "#ff4d4f",
|
|
1152
|
-
colorInfo: "#1677ff",
|
|
1153
|
-
colorLink: "",
|
|
1154
|
-
colorTextBase: "",
|
|
1155
|
-
colorBgBase: "",
|
|
1156
|
-
// Font
|
|
1157
|
-
fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
1158
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
1159
|
-
'Noto Color Emoji'`,
|
|
1160
|
-
fontFamilyCode: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
|
|
1161
|
-
fontSize: 14,
|
|
1162
|
-
// Line
|
|
1163
|
-
lineWidth: 1,
|
|
1164
|
-
lineType: "solid",
|
|
1165
|
-
// Motion
|
|
1166
|
-
motionUnit: 0.1,
|
|
1167
|
-
motionBase: 0,
|
|
1168
|
-
motionEaseOutCirc: "cubic-bezier(0.08, 0.82, 0.17, 1)",
|
|
1169
|
-
motionEaseInOutCirc: "cubic-bezier(0.78, 0.14, 0.15, 0.86)",
|
|
1170
|
-
motionEaseOut: "cubic-bezier(0.215, 0.61, 0.355, 1)",
|
|
1171
|
-
motionEaseInOut: "cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
1172
|
-
motionEaseOutBack: "cubic-bezier(0.12, 0.4, 0.29, 1.46)",
|
|
1173
|
-
motionEaseInBack: "cubic-bezier(0.71, -0.46, 0.88, 0.6)",
|
|
1174
|
-
motionEaseInQuint: "cubic-bezier(0.755, 0.05, 0.855, 0.06)",
|
|
1175
|
-
motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
|
|
1176
|
-
// Radius
|
|
1177
|
-
borderRadius: 6,
|
|
1178
|
-
// Size
|
|
1179
|
-
sizeUnit: 4,
|
|
1180
|
-
sizeStep: 4,
|
|
1181
|
-
sizePopupArrow: 16,
|
|
1182
|
-
// Control Base
|
|
1183
|
-
controlHeight: 32,
|
|
1184
|
-
// zIndex
|
|
1185
|
-
zIndexBase: 0,
|
|
1186
|
-
zIndexPopupBase: 1e3,
|
|
1187
|
-
// Image
|
|
1188
|
-
opacityImage: 1,
|
|
1189
|
-
// Wireframe
|
|
1190
|
-
wireframe: !1,
|
|
1191
|
-
// Motion
|
|
1192
|
-
motion: !0
|
|
1193
|
-
});
|
|
1194
|
-
function Ye(e, t) {
|
|
1195
|
-
let {
|
|
1196
|
-
generateColorPalettes: r,
|
|
1197
|
-
generateNeutralColorPalettes: o
|
|
1198
|
-
} = t;
|
|
1199
|
-
const {
|
|
1200
|
-
colorSuccess: n,
|
|
1201
|
-
colorWarning: i,
|
|
1202
|
-
colorError: a,
|
|
1203
|
-
colorInfo: c,
|
|
1204
|
-
colorPrimary: l,
|
|
1205
|
-
colorBgBase: s,
|
|
1206
|
-
colorTextBase: g
|
|
1207
|
-
} = e, f = r(l), d = r(n), b = r(i), v = r(a), h = r(c), m = o(s, g), S = e.colorLink || e.colorInfo, T = r(S);
|
|
1208
|
-
return Object.assign(Object.assign({}, m), {
|
|
1209
|
-
colorPrimaryBg: f[1],
|
|
1210
|
-
colorPrimaryBgHover: f[2],
|
|
1211
|
-
colorPrimaryBorder: f[3],
|
|
1212
|
-
colorPrimaryBorderHover: f[4],
|
|
1213
|
-
colorPrimaryHover: f[5],
|
|
1214
|
-
colorPrimary: f[6],
|
|
1215
|
-
colorPrimaryActive: f[7],
|
|
1216
|
-
colorPrimaryTextHover: f[8],
|
|
1217
|
-
colorPrimaryText: f[9],
|
|
1218
|
-
colorPrimaryTextActive: f[10],
|
|
1219
|
-
colorSuccessBg: d[1],
|
|
1220
|
-
colorSuccessBgHover: d[2],
|
|
1221
|
-
colorSuccessBorder: d[3],
|
|
1222
|
-
colorSuccessBorderHover: d[4],
|
|
1223
|
-
colorSuccessHover: d[4],
|
|
1224
|
-
colorSuccess: d[6],
|
|
1225
|
-
colorSuccessActive: d[7],
|
|
1226
|
-
colorSuccessTextHover: d[8],
|
|
1227
|
-
colorSuccessText: d[9],
|
|
1228
|
-
colorSuccessTextActive: d[10],
|
|
1229
|
-
colorErrorBg: v[1],
|
|
1230
|
-
colorErrorBgHover: v[2],
|
|
1231
|
-
colorErrorBorder: v[3],
|
|
1232
|
-
colorErrorBorderHover: v[4],
|
|
1233
|
-
colorErrorHover: v[5],
|
|
1234
|
-
colorError: v[6],
|
|
1235
|
-
colorErrorActive: v[7],
|
|
1236
|
-
colorErrorTextHover: v[8],
|
|
1237
|
-
colorErrorText: v[9],
|
|
1238
|
-
colorErrorTextActive: v[10],
|
|
1239
|
-
colorWarningBg: b[1],
|
|
1240
|
-
colorWarningBgHover: b[2],
|
|
1241
|
-
colorWarningBorder: b[3],
|
|
1242
|
-
colorWarningBorderHover: b[4],
|
|
1243
|
-
colorWarningHover: b[4],
|
|
1244
|
-
colorWarning: b[6],
|
|
1245
|
-
colorWarningActive: b[7],
|
|
1246
|
-
colorWarningTextHover: b[8],
|
|
1247
|
-
colorWarningText: b[9],
|
|
1248
|
-
colorWarningTextActive: b[10],
|
|
1249
|
-
colorInfoBg: h[1],
|
|
1250
|
-
colorInfoBgHover: h[2],
|
|
1251
|
-
colorInfoBorder: h[3],
|
|
1252
|
-
colorInfoBorderHover: h[4],
|
|
1253
|
-
colorInfoHover: h[4],
|
|
1254
|
-
colorInfo: h[6],
|
|
1255
|
-
colorInfoActive: h[7],
|
|
1256
|
-
colorInfoTextHover: h[8],
|
|
1257
|
-
colorInfoText: h[9],
|
|
1258
|
-
colorInfoTextActive: h[10],
|
|
1259
|
-
colorLinkHover: T[4],
|
|
1260
|
-
colorLink: T[6],
|
|
1261
|
-
colorLinkActive: T[7],
|
|
1262
|
-
colorBgMask: new x("#000").setAlpha(0.45).toRgbString(),
|
|
1263
|
-
colorWhite: "#fff"
|
|
1264
|
-
});
|
|
1265
|
-
}
|
|
1266
|
-
const ir = (e) => {
|
|
1267
|
-
let t = e, r = e, o = e, n = e;
|
|
1268
|
-
return e < 6 && e >= 5 ? t = e + 1 : e < 16 && e >= 6 ? t = e + 2 : e >= 16 && (t = 16), e < 7 && e >= 5 ? r = 4 : e < 8 && e >= 7 ? r = 5 : e < 14 && e >= 8 ? r = 6 : e < 16 && e >= 14 ? r = 7 : e >= 16 && (r = 8), e < 6 && e >= 2 ? o = 1 : e >= 6 && (o = 2), e > 4 && e < 8 ? n = 4 : e >= 8 && (n = 6), {
|
|
1269
|
-
borderRadius: e,
|
|
1270
|
-
borderRadiusXS: o,
|
|
1271
|
-
borderRadiusSM: r,
|
|
1272
|
-
borderRadiusLG: t,
|
|
1273
|
-
borderRadiusOuter: n
|
|
1274
|
-
};
|
|
1275
|
-
}, ar = ir;
|
|
1276
|
-
function cr(e) {
|
|
1277
|
-
const {
|
|
1278
|
-
motionUnit: t,
|
|
1279
|
-
motionBase: r,
|
|
1280
|
-
borderRadius: o,
|
|
1281
|
-
lineWidth: n
|
|
1282
|
-
} = e;
|
|
1283
|
-
return Object.assign({
|
|
1284
|
-
// motion
|
|
1285
|
-
motionDurationFast: `${(r + t).toFixed(1)}s`,
|
|
1286
|
-
motionDurationMid: `${(r + t * 2).toFixed(1)}s`,
|
|
1287
|
-
motionDurationSlow: `${(r + t * 3).toFixed(1)}s`,
|
|
1288
|
-
// line
|
|
1289
|
-
lineWidthBold: n + 1
|
|
1290
|
-
}, ar(o));
|
|
1291
|
-
}
|
|
1292
|
-
const A = (e, t) => new x(e).setAlpha(t).toRgbString(), D = (e, t) => new x(e).darken(t).toHexString(), lr = (e) => {
|
|
1293
|
-
const t = F(e);
|
|
1294
|
-
return {
|
|
1295
|
-
1: t[0],
|
|
1296
|
-
2: t[1],
|
|
1297
|
-
3: t[2],
|
|
1298
|
-
4: t[3],
|
|
1299
|
-
5: t[4],
|
|
1300
|
-
6: t[5],
|
|
1301
|
-
7: t[6],
|
|
1302
|
-
8: t[4],
|
|
1303
|
-
9: t[5],
|
|
1304
|
-
10: t[6]
|
|
1305
|
-
// 8: colors[7],
|
|
1306
|
-
// 9: colors[8],
|
|
1307
|
-
// 10: colors[9],
|
|
1308
|
-
};
|
|
1309
|
-
}, sr = (e, t) => {
|
|
1310
|
-
const r = e || "#fff", o = t || "#000";
|
|
1311
|
-
return {
|
|
1312
|
-
colorBgBase: r,
|
|
1313
|
-
colorTextBase: o,
|
|
1314
|
-
colorText: A(o, 0.88),
|
|
1315
|
-
colorTextSecondary: A(o, 0.65),
|
|
1316
|
-
colorTextTertiary: A(o, 0.45),
|
|
1317
|
-
colorTextQuaternary: A(o, 0.25),
|
|
1318
|
-
colorFill: A(o, 0.15),
|
|
1319
|
-
colorFillSecondary: A(o, 0.06),
|
|
1320
|
-
colorFillTertiary: A(o, 0.04),
|
|
1321
|
-
colorFillQuaternary: A(o, 0.02),
|
|
1322
|
-
colorBgLayout: D(r, 4),
|
|
1323
|
-
colorBgContainer: D(r, 0),
|
|
1324
|
-
colorBgElevated: D(r, 0),
|
|
1325
|
-
colorBgSpotlight: A(o, 0.85),
|
|
1326
|
-
colorBgBlur: "transparent",
|
|
1327
|
-
colorBorder: D(r, 15),
|
|
1328
|
-
colorBorderSecondary: D(r, 6)
|
|
1329
|
-
};
|
|
1330
|
-
};
|
|
1331
|
-
function fr(e) {
|
|
1332
|
-
const t = new Array(10).fill(null).map((r, o) => {
|
|
1333
|
-
const n = o - 1, i = e * Math.pow(2.71828, n / 5), a = o > 1 ? Math.floor(i) : Math.ceil(i);
|
|
1334
|
-
return Math.floor(a / 2) * 2;
|
|
1335
|
-
});
|
|
1336
|
-
return t[1] = e, t.map((r) => {
|
|
1337
|
-
const o = r + 8;
|
|
1338
|
-
return {
|
|
1339
|
-
size: r,
|
|
1340
|
-
lineHeight: o / r
|
|
1341
|
-
};
|
|
1342
|
-
});
|
|
1343
|
-
}
|
|
1344
|
-
const ur = (e) => {
|
|
1345
|
-
const t = fr(e), r = t.map((n) => n.size), o = t.map((n) => n.lineHeight);
|
|
1346
|
-
return {
|
|
1347
|
-
fontSizeSM: r[0],
|
|
1348
|
-
fontSize: r[1],
|
|
1349
|
-
fontSizeLG: r[2],
|
|
1350
|
-
fontSizeXL: r[3],
|
|
1351
|
-
fontSizeHeading1: r[6],
|
|
1352
|
-
fontSizeHeading2: r[5],
|
|
1353
|
-
fontSizeHeading3: r[4],
|
|
1354
|
-
fontSizeHeading4: r[3],
|
|
1355
|
-
fontSizeHeading5: r[2],
|
|
1356
|
-
lineHeight: o[1],
|
|
1357
|
-
lineHeightLG: o[2],
|
|
1358
|
-
lineHeightSM: o[0],
|
|
1359
|
-
lineHeightHeading1: o[6],
|
|
1360
|
-
lineHeightHeading2: o[5],
|
|
1361
|
-
lineHeightHeading3: o[4],
|
|
1362
|
-
lineHeightHeading4: o[3],
|
|
1363
|
-
lineHeightHeading5: o[2]
|
|
1364
|
-
};
|
|
1365
|
-
}, et = ur;
|
|
1366
|
-
function N(e) {
|
|
1367
|
-
const t = Object.keys(Te).map((r) => {
|
|
1368
|
-
const o = F(e[r]);
|
|
1369
|
-
return new Array(10).fill(1).reduce((n, i, a) => (n[`${r}-${a + 1}`] = o[a], n[`${r}${a + 1}`] = o[a], n), {});
|
|
1370
|
-
}).reduce((r, o) => (r = Object.assign(Object.assign({}, r), o), r), {});
|
|
1371
|
-
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, e), t), Ye(e, {
|
|
1372
|
-
generateColorPalettes: lr,
|
|
1373
|
-
generateNeutralColorPalettes: sr
|
|
1374
|
-
})), et(e.fontSize)), nr(e)), Ze(e)), cr(e));
|
|
1375
|
-
}
|
|
1376
|
-
const dr = de(N), ve = {
|
|
1377
|
-
token: X,
|
|
1378
|
-
override: {
|
|
1379
|
-
override: X
|
|
1380
|
-
},
|
|
1381
|
-
hashed: !0
|
|
1382
|
-
}, gr = /* @__PURE__ */ _e.createContext(ve), hr = "5.11.0";
|
|
1383
|
-
function fe(e) {
|
|
1384
|
-
return e >= 0 && e <= 255;
|
|
1385
|
-
}
|
|
1386
|
-
function K(e, t) {
|
|
1387
|
-
const {
|
|
1388
|
-
r,
|
|
1389
|
-
g: o,
|
|
1390
|
-
b: n,
|
|
1391
|
-
a: i
|
|
1392
|
-
} = new x(e).toRgb();
|
|
1393
|
-
if (i < 1)
|
|
1394
|
-
return e;
|
|
1395
|
-
const {
|
|
1396
|
-
r: a,
|
|
1397
|
-
g: c,
|
|
1398
|
-
b: l
|
|
1399
|
-
} = new x(t).toRgb();
|
|
1400
|
-
for (let s = 0.01; s <= 1; s += 0.01) {
|
|
1401
|
-
const g = Math.round((r - a * (1 - s)) / s), f = Math.round((o - c * (1 - s)) / s), d = Math.round((n - l * (1 - s)) / s);
|
|
1402
|
-
if (fe(g) && fe(f) && fe(d))
|
|
1403
|
-
return new x({
|
|
1404
|
-
r: g,
|
|
1405
|
-
g: f,
|
|
1406
|
-
b: d,
|
|
1407
|
-
a: Math.round(s * 100) / 100
|
|
1408
|
-
}).toRgbString();
|
|
1409
|
-
}
|
|
1410
|
-
return new x({
|
|
1411
|
-
r,
|
|
1412
|
-
g: o,
|
|
1413
|
-
b: n,
|
|
1414
|
-
a: 1
|
|
1415
|
-
}).toRgbString();
|
|
1416
|
-
}
|
|
1417
|
-
var br = globalThis && globalThis.__rest || function(e, t) {
|
|
1418
|
-
var r = {};
|
|
1419
|
-
for (var o in e)
|
|
1420
|
-
Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
|
|
1421
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1422
|
-
for (var n = 0, o = Object.getOwnPropertySymbols(e); n < o.length; n++)
|
|
1423
|
-
t.indexOf(o[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[n]) && (r[o[n]] = e[o[n]]);
|
|
1424
|
-
return r;
|
|
1425
|
-
};
|
|
1426
|
-
function ke(e) {
|
|
1427
|
-
const {
|
|
1428
|
-
override: t
|
|
1429
|
-
} = e, r = br(e, ["override"]), o = Object.assign({}, t);
|
|
1430
|
-
Object.keys(X).forEach((d) => {
|
|
1431
|
-
delete o[d];
|
|
1432
|
-
});
|
|
1433
|
-
const n = Object.assign(Object.assign({}, r), o), i = 480, a = 576, c = 768, l = 992, s = 1200, g = 1600;
|
|
1434
|
-
if (n.motion === !1) {
|
|
1435
|
-
const d = "0s";
|
|
1436
|
-
n.motionDurationFast = d, n.motionDurationMid = d, n.motionDurationSlow = d;
|
|
1437
|
-
}
|
|
1438
|
-
return Object.assign(Object.assign(Object.assign({}, n), {
|
|
1439
|
-
// ============== Background ============== //
|
|
1440
|
-
colorFillContent: n.colorFillSecondary,
|
|
1441
|
-
colorFillContentHover: n.colorFill,
|
|
1442
|
-
colorFillAlter: n.colorFillQuaternary,
|
|
1443
|
-
colorBgContainerDisabled: n.colorFillTertiary,
|
|
1444
|
-
// ============== Split ============== //
|
|
1445
|
-
colorBorderBg: n.colorBgContainer,
|
|
1446
|
-
colorSplit: K(n.colorBorderSecondary, n.colorBgContainer),
|
|
1447
|
-
// ============== Text ============== //
|
|
1448
|
-
colorTextPlaceholder: n.colorTextQuaternary,
|
|
1449
|
-
colorTextDisabled: n.colorTextQuaternary,
|
|
1450
|
-
colorTextHeading: n.colorText,
|
|
1451
|
-
colorTextLabel: n.colorTextSecondary,
|
|
1452
|
-
colorTextDescription: n.colorTextTertiary,
|
|
1453
|
-
colorTextLightSolid: n.colorWhite,
|
|
1454
|
-
colorHighlight: n.colorError,
|
|
1455
|
-
colorBgTextHover: n.colorFillSecondary,
|
|
1456
|
-
colorBgTextActive: n.colorFill,
|
|
1457
|
-
colorIcon: n.colorTextTertiary,
|
|
1458
|
-
colorIconHover: n.colorText,
|
|
1459
|
-
colorErrorOutline: K(n.colorErrorBg, n.colorBgContainer),
|
|
1460
|
-
colorWarningOutline: K(n.colorWarningBg, n.colorBgContainer),
|
|
1461
|
-
// Font
|
|
1462
|
-
fontSizeIcon: n.fontSizeSM,
|
|
1463
|
-
// Line
|
|
1464
|
-
lineWidthFocus: n.lineWidth * 4,
|
|
1465
|
-
// Control
|
|
1466
|
-
lineWidth: n.lineWidth,
|
|
1467
|
-
controlOutlineWidth: n.lineWidth * 2,
|
|
1468
|
-
// Checkbox size and expand icon size
|
|
1469
|
-
controlInteractiveSize: n.controlHeight / 2,
|
|
1470
|
-
controlItemBgHover: n.colorFillTertiary,
|
|
1471
|
-
controlItemBgActive: n.colorPrimaryBg,
|
|
1472
|
-
controlItemBgActiveHover: n.colorPrimaryBgHover,
|
|
1473
|
-
controlItemBgActiveDisabled: n.colorFill,
|
|
1474
|
-
controlTmpOutline: n.colorFillQuaternary,
|
|
1475
|
-
controlOutline: K(n.colorPrimaryBg, n.colorBgContainer),
|
|
1476
|
-
lineType: n.lineType,
|
|
1477
|
-
borderRadius: n.borderRadius,
|
|
1478
|
-
borderRadiusXS: n.borderRadiusXS,
|
|
1479
|
-
borderRadiusSM: n.borderRadiusSM,
|
|
1480
|
-
borderRadiusLG: n.borderRadiusLG,
|
|
1481
|
-
fontWeightStrong: 600,
|
|
1482
|
-
opacityLoading: 0.65,
|
|
1483
|
-
linkDecoration: "none",
|
|
1484
|
-
linkHoverDecoration: "none",
|
|
1485
|
-
linkFocusDecoration: "none",
|
|
1486
|
-
controlPaddingHorizontal: 12,
|
|
1487
|
-
controlPaddingHorizontalSM: 8,
|
|
1488
|
-
paddingXXS: n.sizeXXS,
|
|
1489
|
-
paddingXS: n.sizeXS,
|
|
1490
|
-
paddingSM: n.sizeSM,
|
|
1491
|
-
padding: n.size,
|
|
1492
|
-
paddingMD: n.sizeMD,
|
|
1493
|
-
paddingLG: n.sizeLG,
|
|
1494
|
-
paddingXL: n.sizeXL,
|
|
1495
|
-
paddingContentHorizontalLG: n.sizeLG,
|
|
1496
|
-
paddingContentVerticalLG: n.sizeMS,
|
|
1497
|
-
paddingContentHorizontal: n.sizeMS,
|
|
1498
|
-
paddingContentVertical: n.sizeSM,
|
|
1499
|
-
paddingContentHorizontalSM: n.size,
|
|
1500
|
-
paddingContentVerticalSM: n.sizeXS,
|
|
1501
|
-
marginXXS: n.sizeXXS,
|
|
1502
|
-
marginXS: n.sizeXS,
|
|
1503
|
-
marginSM: n.sizeSM,
|
|
1504
|
-
margin: n.size,
|
|
1505
|
-
marginMD: n.sizeMD,
|
|
1506
|
-
marginLG: n.sizeLG,
|
|
1507
|
-
marginXL: n.sizeXL,
|
|
1508
|
-
marginXXL: n.sizeXXL,
|
|
1509
|
-
boxShadow: `
|
|
1510
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1511
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1512
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
1513
|
-
`,
|
|
1514
|
-
boxShadowSecondary: `
|
|
1515
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1516
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1517
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
1518
|
-
`,
|
|
1519
|
-
boxShadowTertiary: `
|
|
1520
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
1521
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
1522
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
1523
|
-
`,
|
|
1524
|
-
screenXS: i,
|
|
1525
|
-
screenXSMin: i,
|
|
1526
|
-
screenXSMax: a - 1,
|
|
1527
|
-
screenSM: a,
|
|
1528
|
-
screenSMMin: a,
|
|
1529
|
-
screenSMMax: c - 1,
|
|
1530
|
-
screenMD: c,
|
|
1531
|
-
screenMDMin: c,
|
|
1532
|
-
screenMDMax: l - 1,
|
|
1533
|
-
screenLG: l,
|
|
1534
|
-
screenLGMin: l,
|
|
1535
|
-
screenLGMax: s - 1,
|
|
1536
|
-
screenXL: s,
|
|
1537
|
-
screenXLMin: s,
|
|
1538
|
-
screenXLMax: g - 1,
|
|
1539
|
-
screenXXL: g,
|
|
1540
|
-
screenXXLMin: g,
|
|
1541
|
-
boxShadowPopoverArrow: "2px 2px 5px rgba(0, 0, 0, 0.05)",
|
|
1542
|
-
boxShadowCard: `
|
|
1543
|
-
0 1px 2px -2px ${new x("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
1544
|
-
0 3px 6px 0 ${new x("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
1545
|
-
0 5px 12px 4px ${new x("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
1546
|
-
`,
|
|
1547
|
-
boxShadowDrawerRight: `
|
|
1548
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
1549
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
1550
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
1551
|
-
`,
|
|
1552
|
-
boxShadowDrawerLeft: `
|
|
1553
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
1554
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
1555
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
1556
|
-
`,
|
|
1557
|
-
boxShadowDrawerUp: `
|
|
1558
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1559
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1560
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
1561
|
-
`,
|
|
1562
|
-
boxShadowDrawerDown: `
|
|
1563
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1564
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1565
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
1566
|
-
`,
|
|
1567
|
-
boxShadowTabsOverflowLeft: "inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",
|
|
1568
|
-
boxShadowTabsOverflowRight: "inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",
|
|
1569
|
-
boxShadowTabsOverflowTop: "inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",
|
|
1570
|
-
boxShadowTabsOverflowBottom: "inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"
|
|
1571
|
-
}), o);
|
|
1572
|
-
}
|
|
1573
|
-
var De = globalThis && globalThis.__rest || function(e, t) {
|
|
1574
|
-
var r = {};
|
|
1575
|
-
for (var o in e)
|
|
1576
|
-
Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
|
|
1577
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1578
|
-
for (var n = 0, o = Object.getOwnPropertySymbols(e); n < o.length; n++)
|
|
1579
|
-
t.indexOf(o[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[n]) && (r[o[n]] = e[o[n]]);
|
|
1580
|
-
return r;
|
|
1581
|
-
};
|
|
1582
|
-
const tt = (e, t, r) => {
|
|
1583
|
-
const o = r.getDerivativeToken(e), {
|
|
1584
|
-
override: n
|
|
1585
|
-
} = t, i = De(t, ["override"]);
|
|
1586
|
-
let a = Object.assign(Object.assign({}, o), {
|
|
1587
|
-
override: n
|
|
1588
|
-
});
|
|
1589
|
-
return a = ke(a), i && Object.entries(i).forEach((c) => {
|
|
1590
|
-
let [l, s] = c;
|
|
1591
|
-
const {
|
|
1592
|
-
theme: g
|
|
1593
|
-
} = s, f = De(s, ["theme"]);
|
|
1594
|
-
let d = f;
|
|
1595
|
-
g && (d = tt(Object.assign(Object.assign({}, a), f), {
|
|
1596
|
-
override: f
|
|
1597
|
-
}, g)), a[l] = d;
|
|
1598
|
-
}), a;
|
|
1599
|
-
};
|
|
1600
|
-
function pr() {
|
|
1601
|
-
const {
|
|
1602
|
-
token: e,
|
|
1603
|
-
hashed: t,
|
|
1604
|
-
theme: r,
|
|
1605
|
-
override: o
|
|
1606
|
-
} = _e.useContext(gr), n = `${hr}-${t || ""}`, i = r || dr, [a, c] = _t(i, [X, e], {
|
|
1607
|
-
salt: n,
|
|
1608
|
-
override: o,
|
|
1609
|
-
getComputedToken: tt,
|
|
1610
|
-
// formatToken will not be consumed after 1.15.0 with getComputedToken.
|
|
1611
|
-
// But token will break if @ant-design/cssinjs is under 1.15.0 without it
|
|
1612
|
-
formatToken: ke
|
|
1613
|
-
});
|
|
1614
|
-
return [i, a, t ? c : ""];
|
|
1615
|
-
}
|
|
1616
|
-
const vr = (e) => {
|
|
1617
|
-
const t = e != null && e.algorithm ? de(e.algorithm) : de(N), r = Object.assign(Object.assign({}, X), e == null ? void 0 : e.token);
|
|
1618
|
-
return Qe(r, {
|
|
1619
|
-
override: e == null ? void 0 : e.token
|
|
1620
|
-
}, t, ke);
|
|
1621
|
-
}, yr = vr;
|
|
1622
|
-
function mr(e) {
|
|
1623
|
-
const {
|
|
1624
|
-
sizeUnit: t,
|
|
1625
|
-
sizeStep: r
|
|
1626
|
-
} = e, o = r - 2;
|
|
1627
|
-
return {
|
|
1628
|
-
sizeXXL: t * (o + 10),
|
|
1629
|
-
sizeXL: t * (o + 6),
|
|
1630
|
-
sizeLG: t * (o + 2),
|
|
1631
|
-
sizeMD: t * (o + 2),
|
|
1632
|
-
sizeMS: t * (o + 1),
|
|
1633
|
-
size: t * o,
|
|
1634
|
-
sizeSM: t * o,
|
|
1635
|
-
sizeXS: t * (o - 1),
|
|
1636
|
-
sizeXXS: t * (o - 1)
|
|
1637
|
-
};
|
|
1638
|
-
}
|
|
1639
|
-
const Sr = (e, t) => {
|
|
1640
|
-
const r = t ?? N(e), o = r.fontSizeSM, n = r.controlHeight - 4;
|
|
1641
|
-
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, r), mr(t ?? e)), et(o)), {
|
|
1642
|
-
// controlHeight
|
|
1643
|
-
controlHeight: n
|
|
1644
|
-
}), Ze(Object.assign(Object.assign({}, r), {
|
|
1645
|
-
controlHeight: n
|
|
1646
|
-
})));
|
|
1647
|
-
}, xr = Sr, E = (e, t) => new x(e).setAlpha(t).toRgbString(), z = (e, t) => new x(e).lighten(t).toHexString(), Tr = (e) => {
|
|
1648
|
-
const t = F(e, {
|
|
1649
|
-
theme: "dark"
|
|
1650
|
-
});
|
|
1651
|
-
return {
|
|
1652
|
-
1: t[0],
|
|
1653
|
-
2: t[1],
|
|
1654
|
-
3: t[2],
|
|
1655
|
-
4: t[3],
|
|
1656
|
-
5: t[6],
|
|
1657
|
-
6: t[5],
|
|
1658
|
-
7: t[4],
|
|
1659
|
-
8: t[6],
|
|
1660
|
-
9: t[5],
|
|
1661
|
-
10: t[4]
|
|
1662
|
-
// 8: colors[9],
|
|
1663
|
-
// 9: colors[8],
|
|
1664
|
-
// 10: colors[7],
|
|
1665
|
-
};
|
|
1666
|
-
}, kr = (e, t) => {
|
|
1667
|
-
const r = e || "#000", o = t || "#fff";
|
|
1668
|
-
return {
|
|
1669
|
-
colorBgBase: r,
|
|
1670
|
-
colorTextBase: o,
|
|
1671
|
-
colorText: E(o, 0.85),
|
|
1672
|
-
colorTextSecondary: E(o, 0.65),
|
|
1673
|
-
colorTextTertiary: E(o, 0.45),
|
|
1674
|
-
colorTextQuaternary: E(o, 0.25),
|
|
1675
|
-
colorFill: E(o, 0.18),
|
|
1676
|
-
colorFillSecondary: E(o, 0.12),
|
|
1677
|
-
colorFillTertiary: E(o, 0.08),
|
|
1678
|
-
colorFillQuaternary: E(o, 0.04),
|
|
1679
|
-
colorBgElevated: z(r, 12),
|
|
1680
|
-
colorBgContainer: z(r, 8),
|
|
1681
|
-
colorBgLayout: z(r, 0),
|
|
1682
|
-
colorBgSpotlight: z(r, 26),
|
|
1683
|
-
colorBgBlur: E(o, 0.04),
|
|
1684
|
-
colorBorder: z(r, 26),
|
|
1685
|
-
colorBorderSecondary: z(r, 19)
|
|
1686
|
-
};
|
|
1687
|
-
}, Cr = (e, t) => {
|
|
1688
|
-
const r = Object.keys(Te).map((n) => {
|
|
1689
|
-
const i = F(e[n], {
|
|
1690
|
-
theme: "dark"
|
|
1691
|
-
});
|
|
1692
|
-
return new Array(10).fill(1).reduce((a, c, l) => (a[`${n}-${l + 1}`] = i[l], a[`${n}${l + 1}`] = i[l], a), {});
|
|
1693
|
-
}).reduce((n, i) => (n = Object.assign(Object.assign({}, n), i), n), {}), o = t ?? N(e);
|
|
1694
|
-
return Object.assign(Object.assign(Object.assign({}, o), r), Ye(e, {
|
|
1695
|
-
generateColorPalettes: Tr,
|
|
1696
|
-
generateNeutralColorPalettes: kr
|
|
1697
|
-
}));
|
|
1698
|
-
}, Mr = Cr;
|
|
1699
|
-
function wr() {
|
|
1700
|
-
const [e, t, r] = pr();
|
|
1701
|
-
return {
|
|
1702
|
-
theme: e,
|
|
1703
|
-
token: t,
|
|
1704
|
-
hashId: r
|
|
1705
|
-
};
|
|
1706
|
-
}
|
|
1707
|
-
const ye = {
|
|
1708
|
-
/** @private Test Usage. Do not use in production. */
|
|
1709
|
-
defaultConfig: ve,
|
|
1710
|
-
/** Default seedToken */
|
|
1711
|
-
defaultSeed: ve.token,
|
|
1712
|
-
useToken: wr,
|
|
1713
|
-
defaultAlgorithm: N,
|
|
1714
|
-
darkAlgorithm: Mr,
|
|
1715
|
-
compactAlgorithm: xr,
|
|
1716
|
-
getDesignToken: yr
|
|
1717
|
-
}, Br = {
|
|
1718
|
-
50: "#ffffff",
|
|
1719
|
-
75: "#fbfcfd",
|
|
1720
|
-
100: "#f5f5f5",
|
|
1721
|
-
150: "#f1f3f9",
|
|
1722
|
-
200: "#e5e5e5",
|
|
1723
|
-
250: "#d6e1e3",
|
|
1724
|
-
300: "#d4d4d4",
|
|
1725
|
-
350: "#c8daec",
|
|
1726
|
-
375: "#bfbfbf",
|
|
1727
|
-
400: "#a3a3a3",
|
|
1728
|
-
500: "#737373",
|
|
1729
|
-
600: "#525252",
|
|
1730
|
-
700: "#404040",
|
|
1731
|
-
800: "#262626",
|
|
1732
|
-
900: "#171717",
|
|
1733
|
-
950: "#0a0a0a"
|
|
1734
|
-
}, Ar = {
|
|
1735
|
-
50: "#677084",
|
|
1736
|
-
100: "#5c6880",
|
|
1737
|
-
150: "#58669a",
|
|
1738
|
-
200: "#515c7c",
|
|
1739
|
-
300: "#465178",
|
|
1740
|
-
350: "#43464f",
|
|
1741
|
-
375: "#3f4b5c",
|
|
1742
|
-
400: "#3d4561",
|
|
1743
|
-
// applied from design: filters card bg
|
|
1744
|
-
450: "#333b57",
|
|
1745
|
-
475: "#2b344c",
|
|
1746
|
-
500: "#293245",
|
|
1747
|
-
// applied from design: layout color
|
|
1748
|
-
550: "#262e47",
|
|
1749
|
-
600: "#232b3b",
|
|
1750
|
-
// applied from design: header input bg
|
|
1751
|
-
700: "#1d2331",
|
|
1752
|
-
800: "#171d27",
|
|
1753
|
-
900: "#11171e",
|
|
1754
|
-
950: "#0c111a"
|
|
1755
|
-
}, Er = {
|
|
1756
|
-
100: "#f5f5f5",
|
|
1757
|
-
200: "#e5e5e5",
|
|
1758
|
-
300: "#d4d4d4",
|
|
1759
|
-
400: "#a3a3a3",
|
|
1760
|
-
500: "#788195",
|
|
1761
|
-
// applied from design: header text placeholder
|
|
1762
|
-
600: "#525252",
|
|
1763
|
-
700: "#404040",
|
|
1764
|
-
800: "#262626",
|
|
1765
|
-
900: "#3b404c",
|
|
1766
|
-
// applied from design: layout border
|
|
1767
|
-
925: "#36373b",
|
|
1768
|
-
950: "#171717"
|
|
1769
|
-
}, Hr = {
|
|
1770
|
-
50: "#fffaf5",
|
|
1771
|
-
100: "#fcf3eb",
|
|
1772
|
-
200: "#fce0cf",
|
|
1773
|
-
300: "#fac7b1",
|
|
1774
|
-
400: "#f58d7a",
|
|
1775
|
-
500: "#ef4444",
|
|
1776
|
-
600: "#d93636",
|
|
1777
|
-
700: "#b32525",
|
|
1778
|
-
800: "#8f1818",
|
|
1779
|
-
900: "#6b0e0e",
|
|
1780
|
-
950: "#450606"
|
|
1781
|
-
}, Or = {
|
|
1782
|
-
50: "#fafcf2",
|
|
1783
|
-
100: "#f5fae6",
|
|
1784
|
-
200: "#e5f5c1",
|
|
1785
|
-
300: "#d2ed9d",
|
|
1786
|
-
400: "#a9e05c",
|
|
1787
|
-
500: "#7ed321",
|
|
1788
|
-
600: "#6abf1b",
|
|
1789
|
-
700: "#529e13",
|
|
1790
|
-
800: "#3d800d",
|
|
1791
|
-
900: "#275e07",
|
|
1792
|
-
950: "#163d03"
|
|
1793
|
-
}, Ir = {
|
|
1794
|
-
50: "#fbf7fc",
|
|
1795
|
-
100: "#f5eff8",
|
|
1796
|
-
200: "#ebdef0",
|
|
1797
|
-
300: "#dbc4e3",
|
|
1798
|
-
400: "#c7a1d1",
|
|
1799
|
-
500: "#ad7abb",
|
|
1800
|
-
600: "#915c9d",
|
|
1801
|
-
700: "#72467b",
|
|
1802
|
-
800: "#633e6a",
|
|
1803
|
-
900: "#543659",
|
|
1804
|
-
950: "#341b37"
|
|
1805
|
-
}, Rr = {
|
|
1806
|
-
50: "#eef5ff",
|
|
1807
|
-
100: "#d9e8ff",
|
|
1808
|
-
200: "#bcd8ff",
|
|
1809
|
-
300: "#8ec0ff",
|
|
1810
|
-
400: "#599cff",
|
|
1811
|
-
500: "#4482ff",
|
|
1812
|
-
// applied from design: primary button color
|
|
1813
|
-
600: "#1b55f5",
|
|
1814
|
-
750: "#1890ff",
|
|
1815
|
-
700: "#1440e1",
|
|
1816
|
-
800: "#1734b6",
|
|
1817
|
-
900: "#19318f",
|
|
1818
|
-
950: "#142057"
|
|
1819
|
-
}, zr = {
|
|
1820
|
-
50: "#fffcf2",
|
|
1821
|
-
100: "#fff8e6",
|
|
1822
|
-
200: "#ffebbf",
|
|
1823
|
-
300: "#fcd997",
|
|
1824
|
-
400: "#fcb44e",
|
|
1825
|
-
500: "#f98003",
|
|
1826
|
-
600: "#e06e02",
|
|
1827
|
-
700: "#ba5202",
|
|
1828
|
-
800: "#963d02",
|
|
1829
|
-
900: "#702900",
|
|
1830
|
-
950: "#471700"
|
|
1831
|
-
}, jr = {
|
|
1832
|
-
50: "#fcf2f7",
|
|
1833
|
-
100: "#fae6ef",
|
|
1834
|
-
200: "#f5c4d7",
|
|
1835
|
-
300: "#eda1b9",
|
|
1836
|
-
400: "#de5f77",
|
|
1837
|
-
500: "#d2282e",
|
|
1838
|
-
600: "#bd2025",
|
|
1839
|
-
700: "#9c161a",
|
|
1840
|
-
800: "#7d0e11",
|
|
1841
|
-
900: "#5e080a",
|
|
1842
|
-
950: "#3d0405"
|
|
1843
|
-
}, k = 16, u = {
|
|
1844
|
-
akinon: jr,
|
|
1845
|
-
azure: Rr,
|
|
1846
|
-
orange: zr,
|
|
1847
|
-
red: Hr,
|
|
1848
|
-
green: Or,
|
|
1849
|
-
purple: Ir,
|
|
1850
|
-
gray: Er,
|
|
1851
|
-
ebonyClay: Ar,
|
|
1852
|
-
neutral: Br
|
|
1853
|
-
}, Pr = {
|
|
1854
|
-
// We use dark algorithm from antd by default,
|
|
1855
|
-
// since our applications are dark themed.
|
|
1856
|
-
algorithm: ye.darkAlgorithm,
|
|
1857
|
-
colors: u,
|
|
1858
|
-
// We also need to override antd styles with
|
|
1859
|
-
// our current color palette.
|
|
1860
|
-
token: {
|
|
1861
|
-
colorTextBase: u.neutral[100],
|
|
1862
|
-
colorText: u.neutral[100],
|
|
1863
|
-
colorTextSecondary: u.gray[500],
|
|
1864
|
-
colorTextPlaceholder: u.gray[500],
|
|
1865
|
-
colorPrimary: u.azure[500],
|
|
1866
|
-
colorError: u.red[500],
|
|
1867
|
-
colorBgLayout: u.ebonyClay[500],
|
|
1868
|
-
// effects layout bg
|
|
1869
|
-
colorBgContainer: u.ebonyClay[600],
|
|
1870
|
-
// effects card bg, table bg, input bg
|
|
1871
|
-
colorBgElevated: u.ebonyClay[400],
|
|
1872
|
-
// effects dropdown bg, select bg, notification bg
|
|
1873
|
-
controlItemBgHover: u.ebonyClay[200],
|
|
1874
|
-
// effects item bg in dropdown item when hovered
|
|
1875
|
-
controlItemBgActive: u.ebonyClay[300],
|
|
1876
|
-
// effects active item bg such in dropdown item
|
|
1877
|
-
controlItemBgActiveHover: u.ebonyClay[300],
|
|
1878
|
-
// effects active item bg such in dropdown item when hovered
|
|
1879
|
-
colorBgSpotlight: u.ebonyClay[600],
|
|
1880
|
-
//TODO: bg color of tooltip?
|
|
1881
|
-
colorBorder: u.ebonyClay[700],
|
|
1882
|
-
fontFamily: "'Jost Variable'," + ye.getDesignToken().fontFamily,
|
|
1883
|
-
fontSize: k * 0.875
|
|
1884
|
-
},
|
|
1885
|
-
components: {
|
|
1886
|
-
Layout: {
|
|
1887
|
-
headerBg: u.ebonyClay[500],
|
|
1888
|
-
siderBg: u.ebonyClay[500]
|
|
1889
|
-
},
|
|
1890
|
-
Dropdown: {
|
|
1891
|
-
colorPrimary: u.neutral[100],
|
|
1892
|
-
// primary color (azure500) doesn't work well with dropdown bg
|
|
1893
|
-
controlPaddingHorizontal: k
|
|
1894
|
-
},
|
|
1895
|
-
Menu: {
|
|
1896
|
-
darkItemBg: u.ebonyClay[500],
|
|
1897
|
-
darkSubMenuItemBg: u.ebonyClay[600],
|
|
1898
|
-
darkItemSelectedBg: u.ebonyClay[700],
|
|
1899
|
-
itemBorderRadius: 0,
|
|
1900
|
-
itemMarginBlock: 0,
|
|
1901
|
-
itemMarginInline: 0,
|
|
1902
|
-
darkItemColor: u.gray[500],
|
|
1903
|
-
itemHeight: k * 3.25
|
|
1904
|
-
},
|
|
1905
|
-
Breadcrumb: {
|
|
1906
|
-
fontSize: k * 0.625,
|
|
1907
|
-
lastItemColor: u.azure[500]
|
|
1908
|
-
},
|
|
1909
|
-
Card: {
|
|
1910
|
-
colorBgContainer: u.ebonyClay[450],
|
|
1911
|
-
colorTextDescription: u.neutral[100],
|
|
1912
|
-
headerFontSize: k * 1.25,
|
|
1913
|
-
fontSize: k * 0.875
|
|
1914
|
-
},
|
|
1915
|
-
Collapse: {
|
|
1916
|
-
headerPadding: "0 0 12px",
|
|
1917
|
-
// because of ghost prop, we need to use important
|
|
1918
|
-
contentPadding: "0 0 24px !important",
|
|
1919
|
-
fontSizeIcon: k * 1.65,
|
|
1920
|
-
fontSize: k
|
|
1921
|
-
},
|
|
1922
|
-
Form: {
|
|
1923
|
-
itemMarginBottom: 0,
|
|
1924
|
-
verticalLabelPadding: 0
|
|
1925
|
-
},
|
|
1926
|
-
Select: {
|
|
1927
|
-
colorTextDisabled: u.ebonyClay[350],
|
|
1928
|
-
colorBgContainerDisabled: u.gray[925],
|
|
1929
|
-
colorBgContainer: u.ebonyClay[475],
|
|
1930
|
-
fontSizeLG: k * 0.875,
|
|
1931
|
-
colorBorder: u.ebonyClay[550],
|
|
1932
|
-
lineWidth: 2
|
|
1933
|
-
},
|
|
1934
|
-
Input: {
|
|
1935
|
-
colorBgContainer: u.ebonyClay[475],
|
|
1936
|
-
fontSizeLG: k * 0.875,
|
|
1937
|
-
colorBorder: u.ebonyClay[550],
|
|
1938
|
-
lineWidth: 2
|
|
1939
|
-
},
|
|
1940
|
-
InputNumber: {
|
|
1941
|
-
colorBgContainer: u.ebonyClay[475],
|
|
1942
|
-
fontSizeLG: k * 0.875,
|
|
1943
|
-
colorBorder: u.ebonyClay[550],
|
|
1944
|
-
lineWidth: 2
|
|
1945
|
-
}
|
|
1946
|
-
}
|
|
1947
|
-
}, Lr = ye.useToken, Dr = () => {
|
|
1948
|
-
const { colors: e } = Pr, t = "--color", r = {};
|
|
1949
|
-
for (const [o, n] of Object.entries(e))
|
|
1950
|
-
for (const [i, a] of Object.entries(n)) {
|
|
1951
|
-
const c = `${t}-${o}-${i}`;
|
|
1952
|
-
r[c] = a;
|
|
1953
|
-
}
|
|
1954
|
-
return r;
|
|
1955
|
-
};
|
|
1956
|
-
export {
|
|
1957
|
-
k as fontSize,
|
|
1958
|
-
Dr as getCssVariables,
|
|
1959
|
-
Pr as theme,
|
|
1960
|
-
Lr as useToken
|
|
1961
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./theme"), exports);
|