@huyooo/ui 0.4.31 → 0.4.32

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.
@@ -0,0 +1,1359 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ import { defineComponent as Ue, ref as Te, computed as Ye, onMounted as Je, nextTick as Pe, watch as Xe, onBeforeUnmount as Ze, createElementBlock as pe, openBlock as ce, normalizeStyle as be, normalizeClass as _e, renderSlot as ze, createVNode as Ae, unref as ye, withCtx as Me, createElementVNode as me, createCommentVNode as Be, Fragment as $e, renderList as De, toDisplayString as Ce, createBlock as Re, createTextVNode as Qe, useSlots as Ke } from "vue";
8
+ import { Spin as et, Tooltip as tt, Empty as rt, Pagination as nt } from "@arco-design/web-vue";
9
+ import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ import { c as je } from "./_commonjsHelpers-DaMA6jEr.js";
11
+ var it = { exports: {} };
12
+ (function(E, F) {
13
+ (function(B, y) {
14
+ E.exports = y();
15
+ })(je, function() {
16
+ var B = 1e3, y = 6e4, H = 36e5, z = "millisecond", R = "second", O = "minute", q = "hour", m = "day", L = "week", U = "month", P = "quarter", _ = "year", J = "date", v = "Invalid Date", k = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, S = {
17
+ name: "en",
18
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
19
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
20
+ ordinal: function(x) {
21
+ var g = ["th", "st", "nd", "rd"], p = x % 100;
22
+ return "[" + x + (g[(p - 20) % 10] || g[p] || g[0]) + "]";
23
+ }
24
+ }, ie = function(x, g, p) {
25
+ var $ = String(x);
26
+ return !$ || $.length >= g ? x : "" + Array(g + 1 - $.length).join(p) + x;
27
+ }, he = {
28
+ s: ie,
29
+ z: function(x) {
30
+ var g = -x.utcOffset(), p = Math.abs(g), $ = Math.floor(p / 60), w = p % 60;
31
+ return (g <= 0 ? "+" : "-") + ie($, 2, "0") + ":" + ie(w, 2, "0");
32
+ },
33
+ m: function x(g, p) {
34
+ if (g.date() < p.date()) return -x(p, g);
35
+ var $ = 12 * (p.year() - g.year()) + (p.month() - g.month()), w = g.clone().add($, U), b = p - w < 0, C = g.clone().add($ + (b ? -1 : 1), U);
36
+ return +(-($ + (p - w) / (b ? w - C : C - w)) || 0);
37
+ },
38
+ a: function(x) {
39
+ return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
40
+ },
41
+ p: function(x) {
42
+ return {
43
+ M: U,
44
+ y: _,
45
+ w: L,
46
+ d: m,
47
+ D: J,
48
+ h: q,
49
+ m: O,
50
+ s: R,
51
+ ms: z,
52
+ Q: P
53
+ }[x] || String(x || "").toLowerCase().replace(/s$/, "");
54
+ },
55
+ u: function(x) {
56
+ return x === void 0;
57
+ }
58
+ }, ee = "en", N = {};
59
+ N[ee] = S;
60
+ var D = "$isDayjsObject", Z = function(x) {
61
+ return x instanceof V || !(!x || !x[D]);
62
+ }, Q = function x(g, p, $) {
63
+ var w;
64
+ if (!g) return ee;
65
+ if (typeof g == "string") {
66
+ var b = g.toLowerCase();
67
+ N[b] && (w = b), p && (N[b] = p, w = b);
68
+ var C = g.split("-");
69
+ if (!w && C.length > 1) return x(C[0]);
70
+ } else {
71
+ var G = g.name;
72
+ N[G] = g, w = G;
73
+ }
74
+ return !$ && w && (ee = w), w || !$ && ee;
75
+ }, d = function(x, g) {
76
+ if (Z(x)) return x.clone();
77
+ var p = typeof g == "object" ? g : {};
78
+ return p.date = x, p.args = arguments, new V(p);
79
+ }, T = he;
80
+ T.l = Q, T.i = Z, T.w = function(x, g) {
81
+ return d(x, {
82
+ locale: g.$L,
83
+ utc: g.$u,
84
+ x: g.$x,
85
+ $offset: g.$offset
86
+ });
87
+ };
88
+ var V = function() {
89
+ function x(p) {
90
+ this.$L = Q(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[D] = !0;
91
+ }
92
+ var g = x.prototype;
93
+ return g.parse = function(p) {
94
+ this.$d = function($) {
95
+ var w = $.date, b = $.utc;
96
+ if (w === null) return /* @__PURE__ */ new Date(NaN);
97
+ if (T.u(w)) return /* @__PURE__ */ new Date();
98
+ if (w instanceof Date) return new Date(w);
99
+ if (typeof w == "string" && !/Z$/i.test(w)) {
100
+ var C = w.match(k);
101
+ if (C) {
102
+ var G = C[2] - 1 || 0, Y = (C[7] || "0").substring(0, 3);
103
+ return b ? new Date(Date.UTC(C[1], G, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, Y)) : new Date(C[1], G, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, Y);
104
+ }
105
+ }
106
+ return new Date(w);
107
+ }(p), this.init();
108
+ }, g.init = function() {
109
+ var p = this.$d;
110
+ this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
111
+ }, g.$utils = function() {
112
+ return T;
113
+ }, g.isValid = function() {
114
+ return this.$d.toString() !== v;
115
+ }, g.isSame = function(p, $) {
116
+ var w = d(p);
117
+ return this.startOf($) <= w && w <= this.endOf($);
118
+ }, g.isAfter = function(p, $) {
119
+ return d(p) < this.startOf($);
120
+ }, g.isBefore = function(p, $) {
121
+ return this.endOf($) < d(p);
122
+ }, g.$g = function(p, $, w) {
123
+ return T.u(p) ? this[$] : this.set(w, p);
124
+ }, g.unix = function() {
125
+ return Math.floor(this.valueOf() / 1e3);
126
+ }, g.valueOf = function() {
127
+ return this.$d.getTime();
128
+ }, g.startOf = function(p, $) {
129
+ var w = this, b = !!T.u($) || $, C = T.p(p), G = function(fe, e) {
130
+ var t = T.w(w.$u ? Date.UTC(w.$y, e, fe) : new Date(w.$y, e, fe), w);
131
+ return b ? t : t.endOf(m);
132
+ }, Y = function(fe, e) {
133
+ return T.w(w.toDate()[fe].apply(w.toDate("s"), (b ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), w);
134
+ }, te = this.$W, h = this.$M, ue = this.$D, ve = "set" + (this.$u ? "UTC" : "");
135
+ switch (C) {
136
+ case _:
137
+ return b ? G(1, 0) : G(31, 11);
138
+ case U:
139
+ return b ? G(1, h) : G(0, h + 1);
140
+ case L:
141
+ var ge = this.$locale().weekStart || 0, se = (te < ge ? te + 7 : te) - ge;
142
+ return G(b ? ue - se : ue + (6 - se), h);
143
+ case m:
144
+ case J:
145
+ return Y(ve + "Hours", 0);
146
+ case q:
147
+ return Y(ve + "Minutes", 1);
148
+ case O:
149
+ return Y(ve + "Seconds", 2);
150
+ case R:
151
+ return Y(ve + "Milliseconds", 3);
152
+ default:
153
+ return this.clone();
154
+ }
155
+ }, g.endOf = function(p) {
156
+ return this.startOf(p, !1);
157
+ }, g.$set = function(p, $) {
158
+ var w, b = T.p(p), C = "set" + (this.$u ? "UTC" : ""), G = (w = {}, w[m] = C + "Date", w[J] = C + "Date", w[U] = C + "Month", w[_] = C + "FullYear", w[q] = C + "Hours", w[O] = C + "Minutes", w[R] = C + "Seconds", w[z] = C + "Milliseconds", w)[b], Y = b === m ? this.$D + ($ - this.$W) : $;
159
+ if (b === U || b === _) {
160
+ var te = this.clone().set(J, 1);
161
+ te.$d[G](Y), te.init(), this.$d = te.set(J, Math.min(this.$D, te.daysInMonth())).$d;
162
+ } else G && this.$d[G](Y);
163
+ return this.init(), this;
164
+ }, g.set = function(p, $) {
165
+ return this.clone().$set(p, $);
166
+ }, g.get = function(p) {
167
+ return this[T.p(p)]();
168
+ }, g.add = function(p, $) {
169
+ var w, b = this;
170
+ p = Number(p);
171
+ var C = T.p($), G = function(h) {
172
+ var ue = d(b);
173
+ return T.w(ue.date(ue.date() + Math.round(h * p)), b);
174
+ };
175
+ if (C === U) return this.set(U, this.$M + p);
176
+ if (C === _) return this.set(_, this.$y + p);
177
+ if (C === m) return G(1);
178
+ if (C === L) return G(7);
179
+ var Y = (w = {}, w[O] = y, w[q] = H, w[R] = B, w)[C] || 1, te = this.$d.getTime() + p * Y;
180
+ return T.w(te, this);
181
+ }, g.subtract = function(p, $) {
182
+ return this.add(-1 * p, $);
183
+ }, g.format = function(p) {
184
+ var $ = this, w = this.$locale();
185
+ if (!this.isValid()) return w.invalidDate || v;
186
+ var b = p || "YYYY-MM-DDTHH:mm:ssZ", C = T.z(this), G = this.$H, Y = this.$m, te = this.$M, h = w.weekdays, ue = w.months, ve = w.meridiem, ge = function(e, t, r, f) {
187
+ return e && (e[t] || e($, b)) || r[t].slice(0, f);
188
+ }, se = function(e) {
189
+ return T.s(G % 12 || 12, e, "0");
190
+ }, fe = ve || function(e, t, r) {
191
+ var f = e < 12 ? "AM" : "PM";
192
+ return r ? f.toLowerCase() : f;
193
+ };
194
+ return b.replace(I, function(e, t) {
195
+ return t || function(r) {
196
+ switch (r) {
197
+ case "YY":
198
+ return String($.$y).slice(-2);
199
+ case "YYYY":
200
+ return T.s($.$y, 4, "0");
201
+ case "M":
202
+ return te + 1;
203
+ case "MM":
204
+ return T.s(te + 1, 2, "0");
205
+ case "MMM":
206
+ return ge(w.monthsShort, te, ue, 3);
207
+ case "MMMM":
208
+ return ge(ue, te);
209
+ case "D":
210
+ return $.$D;
211
+ case "DD":
212
+ return T.s($.$D, 2, "0");
213
+ case "d":
214
+ return String($.$W);
215
+ case "dd":
216
+ return ge(w.weekdaysMin, $.$W, h, 2);
217
+ case "ddd":
218
+ return ge(w.weekdaysShort, $.$W, h, 3);
219
+ case "dddd":
220
+ return h[$.$W];
221
+ case "H":
222
+ return String(G);
223
+ case "HH":
224
+ return T.s(G, 2, "0");
225
+ case "h":
226
+ return se(1);
227
+ case "hh":
228
+ return se(2);
229
+ case "a":
230
+ return fe(G, Y, !0);
231
+ case "A":
232
+ return fe(G, Y, !1);
233
+ case "m":
234
+ return String(Y);
235
+ case "mm":
236
+ return T.s(Y, 2, "0");
237
+ case "s":
238
+ return String($.$s);
239
+ case "ss":
240
+ return T.s($.$s, 2, "0");
241
+ case "SSS":
242
+ return T.s($.$ms, 3, "0");
243
+ case "Z":
244
+ return C;
245
+ }
246
+ return null;
247
+ }(e) || C.replace(":", "");
248
+ });
249
+ }, g.utcOffset = function() {
250
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
251
+ }, g.diff = function(p, $, w) {
252
+ var b, C = this, G = T.p($), Y = d(p), te = (Y.utcOffset() - this.utcOffset()) * y, h = this - Y, ue = function() {
253
+ return T.m(C, Y);
254
+ };
255
+ switch (G) {
256
+ case _:
257
+ b = ue() / 12;
258
+ break;
259
+ case U:
260
+ b = ue();
261
+ break;
262
+ case P:
263
+ b = ue() / 3;
264
+ break;
265
+ case L:
266
+ b = (h - te) / 6048e5;
267
+ break;
268
+ case m:
269
+ b = (h - te) / 864e5;
270
+ break;
271
+ case q:
272
+ b = h / H;
273
+ break;
274
+ case O:
275
+ b = h / y;
276
+ break;
277
+ case R:
278
+ b = h / B;
279
+ break;
280
+ default:
281
+ b = h;
282
+ }
283
+ return w ? b : T.a(b);
284
+ }, g.daysInMonth = function() {
285
+ return this.endOf(U).$D;
286
+ }, g.$locale = function() {
287
+ return N[this.$L];
288
+ }, g.locale = function(p, $) {
289
+ if (!p) return this.$L;
290
+ var w = this.clone(), b = Q(p, $, !0);
291
+ return b && (w.$L = b), w;
292
+ }, g.clone = function() {
293
+ return T.w(this.$d, this);
294
+ }, g.toDate = function() {
295
+ return new Date(this.valueOf());
296
+ }, g.toJSON = function() {
297
+ return this.isValid() ? this.toISOString() : null;
298
+ }, g.toISOString = function() {
299
+ return this.$d.toISOString();
300
+ }, g.toString = function() {
301
+ return this.$d.toUTCString();
302
+ }, x;
303
+ }(), K = V.prototype;
304
+ return d.prototype = K, [["$ms", z], ["$s", R], ["$m", O], ["$H", q], ["$W", m], ["$M", U], ["$y", _], ["$D", J]].forEach(function(x) {
305
+ K[x[1]] = function(g) {
306
+ return this.$g(g, x[0], x[1]);
307
+ };
308
+ }), d.extend = function(x, g) {
309
+ return x.$i || (x(g, V, d), x.$i = !0), d;
310
+ }, d.locale = Q, d.isDayjs = Z, d.unix = function(x) {
311
+ return d(1e3 * x);
312
+ }, d.en = N[ee], d.Ls = N, d.p = {}, d;
313
+ });
314
+ })(it);
315
+ var Le = { exports: {} }, qe = { exports: {} }, He = { exports: {} };
316
+ (function(E) {
317
+ (function(F) {
318
+ var B, y = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, H = Math.ceil, z = Math.floor, R = "[BigNumber Error] ", O = R + "Number primitive has more than 15 significant digits: ", q = 1e14, m = 14, L = 9007199254740991, U = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], P = 1e7, _ = 1e9;
319
+ function J(N) {
320
+ var D, Z, Q, d = h.prototype = {
321
+ constructor: h,
322
+ toString: null,
323
+ valueOf: null
324
+ }, T = new h(1), V = 20, K = 4, x = -7, g = 21, p = -1e7, $ = 1e7, w = !1, b = 1, C = 0, G = {
325
+ prefix: "",
326
+ groupSize: 3,
327
+ secondaryGroupSize: 0,
328
+ groupSeparator: ",",
329
+ decimalSeparator: ".",
330
+ fractionGroupSize: 0,
331
+ fractionGroupSeparator: " ",
332
+ // non-breaking space
333
+ suffix: ""
334
+ }, Y = "0123456789abcdefghijklmnopqrstuvwxyz", te = !0;
335
+ function h(e, t) {
336
+ var r, f, i, s, l, n, o, a, u = this;
337
+ if (!(u instanceof h)) return new h(e, t);
338
+ if (t == null) {
339
+ if (e && e._isBigNumber === !0) {
340
+ u.s = e.s, !e.c || e.e > $ ? u.c = u.e = null : e.e < p ? u.c = [u.e = 0] : (u.e = e.e, u.c = e.c.slice());
341
+ return;
342
+ }
343
+ if ((n = typeof e == "number") && e * 0 == 0) {
344
+ if (u.s = 1 / e < 0 ? (e = -e, -1) : 1, e === ~~e) {
345
+ for (s = 0, l = e; l >= 10; l /= 10, s++) ;
346
+ s > $ ? u.c = u.e = null : (u.e = s, u.c = [e]);
347
+ return;
348
+ }
349
+ a = String(e);
350
+ } else {
351
+ if (!y.test(a = String(e))) return Q(u, a, n);
352
+ u.s = a.charCodeAt(0) == 45 ? (a = a.slice(1), -1) : 1;
353
+ }
354
+ (s = a.indexOf(".")) > -1 && (a = a.replace(".", "")), (l = a.search(/e/i)) > 0 ? (s < 0 && (s = l), s += +a.slice(l + 1), a = a.substring(0, l)) : s < 0 && (s = a.length);
355
+ } else {
356
+ if (S(t, 2, Y.length, "Base"), t == 10 && te)
357
+ return u = new h(e), se(u, V + u.e + 1, K);
358
+ if (a = String(e), n = typeof e == "number") {
359
+ if (e * 0 != 0) return Q(u, a, n, t);
360
+ if (u.s = 1 / e < 0 ? (a = a.slice(1), -1) : 1, h.DEBUG && a.replace(/^0\.0*|\./, "").length > 15)
361
+ throw Error(O + e);
362
+ } else
363
+ u.s = a.charCodeAt(0) === 45 ? (a = a.slice(1), -1) : 1;
364
+ for (r = Y.slice(0, t), s = l = 0, o = a.length; l < o; l++)
365
+ if (r.indexOf(f = a.charAt(l)) < 0) {
366
+ if (f == ".") {
367
+ if (l > s) {
368
+ s = o;
369
+ continue;
370
+ }
371
+ } else if (!i && (a == a.toUpperCase() && (a = a.toLowerCase()) || a == a.toLowerCase() && (a = a.toUpperCase()))) {
372
+ i = !0, l = -1, s = 0;
373
+ continue;
374
+ }
375
+ return Q(u, String(e), n, t);
376
+ }
377
+ n = !1, a = Z(a, t, 10, u.s), (s = a.indexOf(".")) > -1 ? a = a.replace(".", "") : s = a.length;
378
+ }
379
+ for (l = 0; a.charCodeAt(l) === 48; l++) ;
380
+ for (o = a.length; a.charCodeAt(--o) === 48; ) ;
381
+ if (a = a.slice(l, ++o)) {
382
+ if (o -= l, n && h.DEBUG && o > 15 && (e > L || e !== z(e)))
383
+ throw Error(O + u.s * e);
384
+ if ((s = s - l - 1) > $)
385
+ u.c = u.e = null;
386
+ else if (s < p)
387
+ u.c = [u.e = 0];
388
+ else {
389
+ if (u.e = s, u.c = [], l = (s + 1) % m, s < 0 && (l += m), l < o) {
390
+ for (l && u.c.push(+a.slice(0, l)), o -= m; l < o; )
391
+ u.c.push(+a.slice(l, l += m));
392
+ l = m - (a = a.slice(l)).length;
393
+ } else
394
+ l -= o;
395
+ for (; l--; a += "0") ;
396
+ u.c.push(+a);
397
+ }
398
+ } else
399
+ u.c = [u.e = 0];
400
+ }
401
+ h.clone = J, h.ROUND_UP = 0, h.ROUND_DOWN = 1, h.ROUND_CEIL = 2, h.ROUND_FLOOR = 3, h.ROUND_HALF_UP = 4, h.ROUND_HALF_DOWN = 5, h.ROUND_HALF_EVEN = 6, h.ROUND_HALF_CEIL = 7, h.ROUND_HALF_FLOOR = 8, h.EUCLID = 9, h.config = h.set = function(e) {
402
+ var t, r;
403
+ if (e != null)
404
+ if (typeof e == "object") {
405
+ if (e.hasOwnProperty(t = "DECIMAL_PLACES") && (r = e[t], S(r, 0, _, t), V = r), e.hasOwnProperty(t = "ROUNDING_MODE") && (r = e[t], S(r, 0, 8, t), K = r), e.hasOwnProperty(t = "EXPONENTIAL_AT") && (r = e[t], r && r.pop ? (S(r[0], -_, 0, t), S(r[1], 0, _, t), x = r[0], g = r[1]) : (S(r, -_, _, t), x = -(g = r < 0 ? -r : r))), e.hasOwnProperty(t = "RANGE"))
406
+ if (r = e[t], r && r.pop)
407
+ S(r[0], -_, -1, t), S(r[1], 1, _, t), p = r[0], $ = r[1];
408
+ else if (S(r, -_, _, t), r)
409
+ p = -($ = r < 0 ? -r : r);
410
+ else
411
+ throw Error(R + t + " cannot be zero: " + r);
412
+ if (e.hasOwnProperty(t = "CRYPTO"))
413
+ if (r = e[t], r === !!r)
414
+ if (r)
415
+ if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
416
+ w = r;
417
+ else
418
+ throw w = !r, Error(R + "crypto unavailable");
419
+ else
420
+ w = r;
421
+ else
422
+ throw Error(R + t + " not true or false: " + r);
423
+ if (e.hasOwnProperty(t = "MODULO_MODE") && (r = e[t], S(r, 0, 9, t), b = r), e.hasOwnProperty(t = "POW_PRECISION") && (r = e[t], S(r, 0, _, t), C = r), e.hasOwnProperty(t = "FORMAT"))
424
+ if (r = e[t], typeof r == "object") G = r;
425
+ else throw Error(R + t + " not an object: " + r);
426
+ if (e.hasOwnProperty(t = "ALPHABET"))
427
+ if (r = e[t], typeof r == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(r))
428
+ te = r.slice(0, 10) == "0123456789", Y = r;
429
+ else
430
+ throw Error(R + t + " invalid: " + r);
431
+ } else
432
+ throw Error(R + "Object expected: " + e);
433
+ return {
434
+ DECIMAL_PLACES: V,
435
+ ROUNDING_MODE: K,
436
+ EXPONENTIAL_AT: [x, g],
437
+ RANGE: [p, $],
438
+ CRYPTO: w,
439
+ MODULO_MODE: b,
440
+ POW_PRECISION: C,
441
+ FORMAT: G,
442
+ ALPHABET: Y
443
+ };
444
+ }, h.isBigNumber = function(e) {
445
+ if (!e || e._isBigNumber !== !0) return !1;
446
+ if (!h.DEBUG) return !0;
447
+ var t, r, f = e.c, i = e.e, s = e.s;
448
+ e: if ({}.toString.call(f) == "[object Array]") {
449
+ if ((s === 1 || s === -1) && i >= -_ && i <= _ && i === z(i)) {
450
+ if (f[0] === 0) {
451
+ if (i === 0 && f.length === 1) return !0;
452
+ break e;
453
+ }
454
+ if (t = (i + 1) % m, t < 1 && (t += m), String(f[0]).length == t) {
455
+ for (t = 0; t < f.length; t++)
456
+ if (r = f[t], r < 0 || r >= q || r !== z(r)) break e;
457
+ if (r !== 0) return !0;
458
+ }
459
+ }
460
+ } else if (f === null && i === null && (s === null || s === 1 || s === -1))
461
+ return !0;
462
+ throw Error(R + "Invalid BigNumber: " + e);
463
+ }, h.maximum = h.max = function() {
464
+ return ve(arguments, -1);
465
+ }, h.minimum = h.min = function() {
466
+ return ve(arguments, 1);
467
+ }, h.random = function() {
468
+ var e = 9007199254740992, t = Math.random() * e & 2097151 ? function() {
469
+ return z(Math.random() * e);
470
+ } : function() {
471
+ return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
472
+ };
473
+ return function(r) {
474
+ var f, i, s, l, n, o = 0, a = [], u = new h(T);
475
+ if (r == null ? r = V : S(r, 0, _), l = H(r / m), w)
476
+ if (crypto.getRandomValues) {
477
+ for (f = crypto.getRandomValues(new Uint32Array(l *= 2)); o < l; )
478
+ n = f[o] * 131072 + (f[o + 1] >>> 11), n >= 9e15 ? (i = crypto.getRandomValues(new Uint32Array(2)), f[o] = i[0], f[o + 1] = i[1]) : (a.push(n % 1e14), o += 2);
479
+ o = l / 2;
480
+ } else if (crypto.randomBytes) {
481
+ for (f = crypto.randomBytes(l *= 7); o < l; )
482
+ n = (f[o] & 31) * 281474976710656 + f[o + 1] * 1099511627776 + f[o + 2] * 4294967296 + f[o + 3] * 16777216 + (f[o + 4] << 16) + (f[o + 5] << 8) + f[o + 6], n >= 9e15 ? crypto.randomBytes(7).copy(f, o) : (a.push(n % 1e14), o += 7);
483
+ o = l / 7;
484
+ } else
485
+ throw w = !1, Error(R + "crypto unavailable");
486
+ if (!w)
487
+ for (; o < l; )
488
+ n = t(), n < 9e15 && (a[o++] = n % 1e14);
489
+ for (l = a[--o], r %= m, l && r && (n = U[m - r], a[o] = z(l / n) * n); a[o] === 0; a.pop(), o--) ;
490
+ if (o < 0)
491
+ a = [s = 0];
492
+ else {
493
+ for (s = -1; a[0] === 0; a.splice(0, 1), s -= m) ;
494
+ for (o = 1, n = a[0]; n >= 10; n /= 10, o++) ;
495
+ o < m && (s -= m - o);
496
+ }
497
+ return u.e = s, u.c = a, u;
498
+ };
499
+ }(), h.sum = function() {
500
+ for (var e = 1, t = arguments, r = new h(t[0]); e < t.length; ) r = r.plus(t[e++]);
501
+ return r;
502
+ }, Z = /* @__PURE__ */ function() {
503
+ var e = "0123456789";
504
+ function t(r, f, i, s) {
505
+ for (var l, n = [0], o, a = 0, u = r.length; a < u; ) {
506
+ for (o = n.length; o--; n[o] *= f) ;
507
+ for (n[0] += s.indexOf(r.charAt(a++)), l = 0; l < n.length; l++)
508
+ n[l] > i - 1 && (n[l + 1] == null && (n[l + 1] = 0), n[l + 1] += n[l] / i | 0, n[l] %= i);
509
+ }
510
+ return n.reverse();
511
+ }
512
+ return function(r, f, i, s, l) {
513
+ var n, o, a, u, c, A, M, j, re = r.indexOf("."), oe = V, W = K;
514
+ for (re >= 0 && (u = C, C = 0, r = r.replace(".", ""), j = new h(f), A = j.pow(r.length - re), C = u, j.c = t(ee(k(A.c), A.e, "0"), 10, i, e), j.e = j.c.length), M = t(r, f, i, l ? (n = Y, e) : (n = e, Y)), a = u = M.length; M[--u] == 0; M.pop()) ;
515
+ if (!M[0]) return n.charAt(0);
516
+ if (re < 0 ? --a : (A.c = M, A.e = a, A.s = s, A = D(A, j, oe, W, i), M = A.c, c = A.r, a = A.e), o = a + oe + 1, re = M[o], u = i / 2, c = c || o < 0 || M[o + 1] != null, c = W < 4 ? (re != null || c) && (W == 0 || W == (A.s < 0 ? 3 : 2)) : re > u || re == u && (W == 4 || c || W == 6 && M[o - 1] & 1 || W == (A.s < 0 ? 8 : 7)), o < 1 || !M[0])
517
+ r = c ? ee(n.charAt(1), -oe, n.charAt(0)) : n.charAt(0);
518
+ else {
519
+ if (M.length = o, c)
520
+ for (--i; ++M[--o] > i; )
521
+ M[o] = 0, o || (++a, M = [1].concat(M));
522
+ for (u = M.length; !M[--u]; ) ;
523
+ for (re = 0, r = ""; re <= u; r += n.charAt(M[re++])) ;
524
+ r = ee(r, a, n.charAt(0));
525
+ }
526
+ return r;
527
+ };
528
+ }(), D = /* @__PURE__ */ function() {
529
+ function e(f, i, s) {
530
+ var l, n, o, a, u = 0, c = f.length, A = i % P, M = i / P | 0;
531
+ for (f = f.slice(); c--; )
532
+ o = f[c] % P, a = f[c] / P | 0, l = M * o + a * A, n = A * o + l % P * P + u, u = (n / s | 0) + (l / P | 0) + M * a, f[c] = n % s;
533
+ return u && (f = [u].concat(f)), f;
534
+ }
535
+ function t(f, i, s, l) {
536
+ var n, o;
537
+ if (s != l)
538
+ o = s > l ? 1 : -1;
539
+ else
540
+ for (n = o = 0; n < s; n++)
541
+ if (f[n] != i[n]) {
542
+ o = f[n] > i[n] ? 1 : -1;
543
+ break;
544
+ }
545
+ return o;
546
+ }
547
+ function r(f, i, s, l) {
548
+ for (var n = 0; s--; )
549
+ f[s] -= n, n = f[s] < i[s] ? 1 : 0, f[s] = n * l + f[s] - i[s];
550
+ for (; !f[0] && f.length > 1; f.splice(0, 1)) ;
551
+ }
552
+ return function(f, i, s, l, n) {
553
+ var o, a, u, c, A, M, j, re, oe, W, X, ae, xe, Se, Ee, we, Oe, de = f.s == i.s ? 1 : -1, le = f.c, ne = i.c;
554
+ if (!le || !le[0] || !ne || !ne[0])
555
+ return new h(
556
+ // Return NaN if either NaN, or both Infinity or 0.
557
+ !f.s || !i.s || (le ? ne && le[0] == ne[0] : !ne) ? NaN : (
558
+ // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
559
+ le && le[0] == 0 || !ne ? de * 0 : de / 0
560
+ )
561
+ );
562
+ for (re = new h(de), oe = re.c = [], a = f.e - i.e, de = s + a + 1, n || (n = q, a = v(f.e / m) - v(i.e / m), de = de / m | 0), u = 0; ne[u] == (le[u] || 0); u++) ;
563
+ if (ne[u] > (le[u] || 0) && a--, de < 0)
564
+ oe.push(1), c = !0;
565
+ else {
566
+ for (Se = le.length, we = ne.length, u = 0, de += 2, A = z(n / (ne[0] + 1)), A > 1 && (ne = e(ne, A, n), le = e(le, A, n), we = ne.length, Se = le.length), xe = we, W = le.slice(0, we), X = W.length; X < we; W[X++] = 0) ;
567
+ Oe = ne.slice(), Oe = [0].concat(Oe), Ee = ne[0], ne[1] >= n / 2 && Ee++;
568
+ do {
569
+ if (A = 0, o = t(ne, W, we, X), o < 0) {
570
+ if (ae = W[0], we != X && (ae = ae * n + (W[1] || 0)), A = z(ae / Ee), A > 1)
571
+ for (A >= n && (A = n - 1), M = e(ne, A, n), j = M.length, X = W.length; t(M, W, j, X) == 1; )
572
+ A--, r(M, we < j ? Oe : ne, j, n), j = M.length, o = 1;
573
+ else
574
+ A == 0 && (o = A = 1), M = ne.slice(), j = M.length;
575
+ if (j < X && (M = [0].concat(M)), r(W, M, X, n), X = W.length, o == -1)
576
+ for (; t(ne, W, we, X) < 1; )
577
+ A++, r(W, we < X ? Oe : ne, X, n), X = W.length;
578
+ } else o === 0 && (A++, W = [0]);
579
+ oe[u++] = A, W[0] ? W[X++] = le[xe] || 0 : (W = [le[xe]], X = 1);
580
+ } while ((xe++ < Se || W[0] != null) && de--);
581
+ c = W[0] != null, oe[0] || oe.splice(0, 1);
582
+ }
583
+ if (n == q) {
584
+ for (u = 1, de = oe[0]; de >= 10; de /= 10, u++) ;
585
+ se(re, s + (re.e = u + a * m - 1) + 1, l, c);
586
+ } else
587
+ re.e = a, re.r = +c;
588
+ return re;
589
+ };
590
+ }();
591
+ function ue(e, t, r, f) {
592
+ var i, s, l, n, o;
593
+ if (r == null ? r = K : S(r, 0, 8), !e.c) return e.toString();
594
+ if (i = e.c[0], l = e.e, t == null)
595
+ o = k(e.c), o = f == 1 || f == 2 && (l <= x || l >= g) ? he(o, l) : ee(o, l, "0");
596
+ else if (e = se(new h(e), t, r), s = e.e, o = k(e.c), n = o.length, f == 1 || f == 2 && (t <= s || s <= x)) {
597
+ for (; n < t; o += "0", n++) ;
598
+ o = he(o, s);
599
+ } else if (t -= l, o = ee(o, s, "0"), s + 1 > n) {
600
+ if (--t > 0) for (o += "."; t--; o += "0") ;
601
+ } else if (t += s - n, t > 0)
602
+ for (s + 1 == n && (o += "."); t--; o += "0") ;
603
+ return e.s < 0 && i ? "-" + o : o;
604
+ }
605
+ function ve(e, t) {
606
+ for (var r, f, i = 1, s = new h(e[0]); i < e.length; i++)
607
+ f = new h(e[i]), (!f.s || (r = I(s, f)) === t || r === 0 && s.s === t) && (s = f);
608
+ return s;
609
+ }
610
+ function ge(e, t, r) {
611
+ for (var f = 1, i = t.length; !t[--i]; t.pop()) ;
612
+ for (i = t[0]; i >= 10; i /= 10, f++) ;
613
+ return (r = f + r * m - 1) > $ ? e.c = e.e = null : r < p ? e.c = [e.e = 0] : (e.e = r, e.c = t), e;
614
+ }
615
+ Q = /* @__PURE__ */ function() {
616
+ var e = /^(-?)0([xbo])(?=\w[\w.]*$)/i, t = /^([^.]+)\.$/, r = /^\.([^.]+)$/, f = /^-?(Infinity|NaN)$/, i = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
617
+ return function(s, l, n, o) {
618
+ var a, u = n ? l : l.replace(i, "");
619
+ if (f.test(u))
620
+ s.s = isNaN(u) ? null : u < 0 ? -1 : 1;
621
+ else {
622
+ if (!n && (u = u.replace(e, function(c, A, M) {
623
+ return a = (M = M.toLowerCase()) == "x" ? 16 : M == "b" ? 2 : 8, !o || o == a ? A : c;
624
+ }), o && (a = o, u = u.replace(t, "$1").replace(r, "0.$1")), l != u))
625
+ return new h(u, a);
626
+ if (h.DEBUG)
627
+ throw Error(R + "Not a" + (o ? " base " + o : "") + " number: " + l);
628
+ s.s = null;
629
+ }
630
+ s.c = s.e = null;
631
+ };
632
+ }();
633
+ function se(e, t, r, f) {
634
+ var i, s, l, n, o, a, u, c = e.c, A = U;
635
+ if (c) {
636
+ e: {
637
+ for (i = 1, n = c[0]; n >= 10; n /= 10, i++) ;
638
+ if (s = t - i, s < 0)
639
+ s += m, l = t, o = c[a = 0], u = z(o / A[i - l - 1] % 10);
640
+ else if (a = H((s + 1) / m), a >= c.length)
641
+ if (f) {
642
+ for (; c.length <= a; c.push(0)) ;
643
+ o = u = 0, i = 1, s %= m, l = s - m + 1;
644
+ } else
645
+ break e;
646
+ else {
647
+ for (o = n = c[a], i = 1; n >= 10; n /= 10, i++) ;
648
+ s %= m, l = s - m + i, u = l < 0 ? 0 : z(o / A[i - l - 1] % 10);
649
+ }
650
+ if (f = f || t < 0 || // Are there any non-zero digits after the rounding digit?
651
+ // The expression n % pows10[d - j - 1] returns all digits of n to the right
652
+ // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
653
+ c[a + 1] != null || (l < 0 ? o : o % A[i - l - 1]), f = r < 4 ? (u || f) && (r == 0 || r == (e.s < 0 ? 3 : 2)) : u > 5 || u == 5 && (r == 4 || f || r == 6 && // Check whether the digit to the left of the rounding digit is odd.
654
+ (s > 0 ? l > 0 ? o / A[i - l] : 0 : c[a - 1]) % 10 & 1 || r == (e.s < 0 ? 8 : 7)), t < 1 || !c[0])
655
+ return c.length = 0, f ? (t -= e.e + 1, c[0] = A[(m - t % m) % m], e.e = -t || 0) : c[0] = e.e = 0, e;
656
+ if (s == 0 ? (c.length = a, n = 1, a--) : (c.length = a + 1, n = A[m - s], c[a] = l > 0 ? z(o / A[i - l] % A[l]) * n : 0), f)
657
+ for (; ; )
658
+ if (a == 0) {
659
+ for (s = 1, l = c[0]; l >= 10; l /= 10, s++) ;
660
+ for (l = c[0] += n, n = 1; l >= 10; l /= 10, n++) ;
661
+ s != n && (e.e++, c[0] == q && (c[0] = 1));
662
+ break;
663
+ } else {
664
+ if (c[a] += n, c[a] != q) break;
665
+ c[a--] = 0, n = 1;
666
+ }
667
+ for (s = c.length; c[--s] === 0; c.pop()) ;
668
+ }
669
+ e.e > $ ? e.c = e.e = null : e.e < p && (e.c = [e.e = 0]);
670
+ }
671
+ return e;
672
+ }
673
+ function fe(e) {
674
+ var t, r = e.e;
675
+ return r === null ? e.toString() : (t = k(e.c), t = r <= x || r >= g ? he(t, r) : ee(t, r, "0"), e.s < 0 ? "-" + t : t);
676
+ }
677
+ return d.absoluteValue = d.abs = function() {
678
+ var e = new h(this);
679
+ return e.s < 0 && (e.s = 1), e;
680
+ }, d.comparedTo = function(e, t) {
681
+ return I(this, new h(e, t));
682
+ }, d.decimalPlaces = d.dp = function(e, t) {
683
+ var r, f, i, s = this;
684
+ if (e != null)
685
+ return S(e, 0, _), t == null ? t = K : S(t, 0, 8), se(new h(s), e + s.e + 1, t);
686
+ if (!(r = s.c)) return null;
687
+ if (f = ((i = r.length - 1) - v(this.e / m)) * m, i = r[i]) for (; i % 10 == 0; i /= 10, f--) ;
688
+ return f < 0 && (f = 0), f;
689
+ }, d.dividedBy = d.div = function(e, t) {
690
+ return D(this, new h(e, t), V, K);
691
+ }, d.dividedToIntegerBy = d.idiv = function(e, t) {
692
+ return D(this, new h(e, t), 0, 1);
693
+ }, d.exponentiatedBy = d.pow = function(e, t) {
694
+ var r, f, i, s, l, n, o, a, u, c = this;
695
+ if (e = new h(e), e.c && !e.isInteger())
696
+ throw Error(R + "Exponent not an integer: " + fe(e));
697
+ if (t != null && (t = new h(t)), n = e.e > 14, !c.c || !c.c[0] || c.c[0] == 1 && !c.e && c.c.length == 1 || !e.c || !e.c[0])
698
+ return u = new h(Math.pow(+fe(c), n ? e.s * (2 - ie(e)) : +fe(e))), t ? u.mod(t) : u;
699
+ if (o = e.s < 0, t) {
700
+ if (t.c ? !t.c[0] : !t.s) return new h(NaN);
701
+ f = !o && c.isInteger() && t.isInteger(), f && (c = c.mod(t));
702
+ } else {
703
+ if (e.e > 9 && (c.e > 0 || c.e < -1 || (c.e == 0 ? c.c[0] > 1 || n && c.c[1] >= 24e7 : c.c[0] < 8e13 || n && c.c[0] <= 9999975e7)))
704
+ return s = c.s < 0 && ie(e) ? -0 : 0, c.e > -1 && (s = 1 / s), new h(o ? 1 / s : s);
705
+ C && (s = H(C / m + 2));
706
+ }
707
+ for (n ? (r = new h(0.5), o && (e.s = 1), a = ie(e)) : (i = Math.abs(+fe(e)), a = i % 2), u = new h(T); ; ) {
708
+ if (a) {
709
+ if (u = u.times(c), !u.c) break;
710
+ s ? u.c.length > s && (u.c.length = s) : f && (u = u.mod(t));
711
+ }
712
+ if (i) {
713
+ if (i = z(i / 2), i === 0) break;
714
+ a = i % 2;
715
+ } else if (e = e.times(r), se(e, e.e + 1, 1), e.e > 14)
716
+ a = ie(e);
717
+ else {
718
+ if (i = +fe(e), i === 0) break;
719
+ a = i % 2;
720
+ }
721
+ c = c.times(c), s ? c.c && c.c.length > s && (c.c.length = s) : f && (c = c.mod(t));
722
+ }
723
+ return f ? u : (o && (u = T.div(u)), t ? u.mod(t) : s ? se(u, C, K, l) : u);
724
+ }, d.integerValue = function(e) {
725
+ var t = new h(this);
726
+ return e == null ? e = K : S(e, 0, 8), se(t, t.e + 1, e);
727
+ }, d.isEqualTo = d.eq = function(e, t) {
728
+ return I(this, new h(e, t)) === 0;
729
+ }, d.isFinite = function() {
730
+ return !!this.c;
731
+ }, d.isGreaterThan = d.gt = function(e, t) {
732
+ return I(this, new h(e, t)) > 0;
733
+ }, d.isGreaterThanOrEqualTo = d.gte = function(e, t) {
734
+ return (t = I(this, new h(e, t))) === 1 || t === 0;
735
+ }, d.isInteger = function() {
736
+ return !!this.c && v(this.e / m) > this.c.length - 2;
737
+ }, d.isLessThan = d.lt = function(e, t) {
738
+ return I(this, new h(e, t)) < 0;
739
+ }, d.isLessThanOrEqualTo = d.lte = function(e, t) {
740
+ return (t = I(this, new h(e, t))) === -1 || t === 0;
741
+ }, d.isNaN = function() {
742
+ return !this.s;
743
+ }, d.isNegative = function() {
744
+ return this.s < 0;
745
+ }, d.isPositive = function() {
746
+ return this.s > 0;
747
+ }, d.isZero = function() {
748
+ return !!this.c && this.c[0] == 0;
749
+ }, d.minus = function(e, t) {
750
+ var r, f, i, s, l = this, n = l.s;
751
+ if (e = new h(e, t), t = e.s, !n || !t) return new h(NaN);
752
+ if (n != t)
753
+ return e.s = -t, l.plus(e);
754
+ var o = l.e / m, a = e.e / m, u = l.c, c = e.c;
755
+ if (!o || !a) {
756
+ if (!u || !c) return u ? (e.s = -t, e) : new h(c ? l : NaN);
757
+ if (!u[0] || !c[0])
758
+ return c[0] ? (e.s = -t, e) : new h(u[0] ? l : (
759
+ // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
760
+ K == 3 ? -0 : 0
761
+ ));
762
+ }
763
+ if (o = v(o), a = v(a), u = u.slice(), n = o - a) {
764
+ for ((s = n < 0) ? (n = -n, i = u) : (a = o, i = c), i.reverse(), t = n; t--; i.push(0)) ;
765
+ i.reverse();
766
+ } else
767
+ for (f = (s = (n = u.length) < (t = c.length)) ? n : t, n = t = 0; t < f; t++)
768
+ if (u[t] != c[t]) {
769
+ s = u[t] < c[t];
770
+ break;
771
+ }
772
+ if (s && (i = u, u = c, c = i, e.s = -e.s), t = (f = c.length) - (r = u.length), t > 0) for (; t--; u[r++] = 0) ;
773
+ for (t = q - 1; f > n; ) {
774
+ if (u[--f] < c[f]) {
775
+ for (r = f; r && !u[--r]; u[r] = t) ;
776
+ --u[r], u[f] += q;
777
+ }
778
+ u[f] -= c[f];
779
+ }
780
+ for (; u[0] == 0; u.splice(0, 1), --a) ;
781
+ return u[0] ? ge(e, u, a) : (e.s = K == 3 ? -1 : 1, e.c = [e.e = 0], e);
782
+ }, d.modulo = d.mod = function(e, t) {
783
+ var r, f, i = this;
784
+ return e = new h(e, t), !i.c || !e.s || e.c && !e.c[0] ? new h(NaN) : !e.c || i.c && !i.c[0] ? new h(i) : (b == 9 ? (f = e.s, e.s = 1, r = D(i, e, 0, 3), e.s = f, r.s *= f) : r = D(i, e, 0, b), e = i.minus(r.times(e)), !e.c[0] && b == 1 && (e.s = i.s), e);
785
+ }, d.multipliedBy = d.times = function(e, t) {
786
+ var r, f, i, s, l, n, o, a, u, c, A, M, j, re, oe, W = this, X = W.c, ae = (e = new h(e, t)).c;
787
+ if (!X || !ae || !X[0] || !ae[0])
788
+ return !W.s || !e.s || X && !X[0] && !ae || ae && !ae[0] && !X ? e.c = e.e = e.s = null : (e.s *= W.s, !X || !ae ? e.c = e.e = null : (e.c = [0], e.e = 0)), e;
789
+ for (f = v(W.e / m) + v(e.e / m), e.s *= W.s, o = X.length, c = ae.length, o < c && (j = X, X = ae, ae = j, i = o, o = c, c = i), i = o + c, j = []; i--; j.push(0)) ;
790
+ for (re = q, oe = P, i = c; --i >= 0; ) {
791
+ for (r = 0, A = ae[i] % oe, M = ae[i] / oe | 0, l = o, s = i + l; s > i; )
792
+ a = X[--l] % oe, u = X[l] / oe | 0, n = M * a + u * A, a = A * a + n % oe * oe + j[s] + r, r = (a / re | 0) + (n / oe | 0) + M * u, j[s--] = a % re;
793
+ j[s] = r;
794
+ }
795
+ return r ? ++f : j.splice(0, 1), ge(e, j, f);
796
+ }, d.negated = function() {
797
+ var e = new h(this);
798
+ return e.s = -e.s || null, e;
799
+ }, d.plus = function(e, t) {
800
+ var r, f = this, i = f.s;
801
+ if (e = new h(e, t), t = e.s, !i || !t) return new h(NaN);
802
+ if (i != t)
803
+ return e.s = -t, f.minus(e);
804
+ var s = f.e / m, l = e.e / m, n = f.c, o = e.c;
805
+ if (!s || !l) {
806
+ if (!n || !o) return new h(i / 0);
807
+ if (!n[0] || !o[0]) return o[0] ? e : new h(n[0] ? f : i * 0);
808
+ }
809
+ if (s = v(s), l = v(l), n = n.slice(), i = s - l) {
810
+ for (i > 0 ? (l = s, r = o) : (i = -i, r = n), r.reverse(); i--; r.push(0)) ;
811
+ r.reverse();
812
+ }
813
+ for (i = n.length, t = o.length, i - t < 0 && (r = o, o = n, n = r, t = i), i = 0; t; )
814
+ i = (n[--t] = n[t] + o[t] + i) / q | 0, n[t] = q === n[t] ? 0 : n[t] % q;
815
+ return i && (n = [i].concat(n), ++l), ge(e, n, l);
816
+ }, d.precision = d.sd = function(e, t) {
817
+ var r, f, i, s = this;
818
+ if (e != null && e !== !!e)
819
+ return S(e, 1, _), t == null ? t = K : S(t, 0, 8), se(new h(s), e, t);
820
+ if (!(r = s.c)) return null;
821
+ if (i = r.length - 1, f = i * m + 1, i = r[i]) {
822
+ for (; i % 10 == 0; i /= 10, f--) ;
823
+ for (i = r[0]; i >= 10; i /= 10, f++) ;
824
+ }
825
+ return e && s.e + 1 > f && (f = s.e + 1), f;
826
+ }, d.shiftedBy = function(e) {
827
+ return S(e, -L, L), this.times("1e" + e);
828
+ }, d.squareRoot = d.sqrt = function() {
829
+ var e, t, r, f, i, s = this, l = s.c, n = s.s, o = s.e, a = V + 4, u = new h("0.5");
830
+ if (n !== 1 || !l || !l[0])
831
+ return new h(!n || n < 0 && (!l || l[0]) ? NaN : l ? s : 1 / 0);
832
+ if (n = Math.sqrt(+fe(s)), n == 0 || n == 1 / 0 ? (t = k(l), (t.length + o) % 2 == 0 && (t += "0"), n = Math.sqrt(+t), o = v((o + 1) / 2) - (o < 0 || o % 2), n == 1 / 0 ? t = "5e" + o : (t = n.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + o), r = new h(t)) : r = new h(n + ""), r.c[0]) {
833
+ for (o = r.e, n = o + a, n < 3 && (n = 0); ; )
834
+ if (i = r, r = u.times(i.plus(D(s, i, a, 1))), k(i.c).slice(0, n) === (t = k(r.c)).slice(0, n))
835
+ if (r.e < o && --n, t = t.slice(n - 3, n + 1), t == "9999" || !f && t == "4999") {
836
+ if (!f && (se(i, i.e + V + 2, 0), i.times(i).eq(s))) {
837
+ r = i;
838
+ break;
839
+ }
840
+ a += 4, n += 4, f = 1;
841
+ } else {
842
+ (!+t || !+t.slice(1) && t.charAt(0) == "5") && (se(r, r.e + V + 2, 1), e = !r.times(r).eq(s));
843
+ break;
844
+ }
845
+ }
846
+ return se(r, r.e + V + 1, K, e);
847
+ }, d.toExponential = function(e, t) {
848
+ return e != null && (S(e, 0, _), e++), ue(this, e, t, 1);
849
+ }, d.toFixed = function(e, t) {
850
+ return e != null && (S(e, 0, _), e = e + this.e + 1), ue(this, e, t);
851
+ }, d.toFormat = function(e, t, r) {
852
+ var f, i = this;
853
+ if (r == null)
854
+ e != null && t && typeof t == "object" ? (r = t, t = null) : e && typeof e == "object" ? (r = e, e = t = null) : r = G;
855
+ else if (typeof r != "object")
856
+ throw Error(R + "Argument not an object: " + r);
857
+ if (f = i.toFixed(e, t), i.c) {
858
+ var s, l = f.split("."), n = +r.groupSize, o = +r.secondaryGroupSize, a = r.groupSeparator || "", u = l[0], c = l[1], A = i.s < 0, M = A ? u.slice(1) : u, j = M.length;
859
+ if (o && (s = n, n = o, o = s, j -= s), n > 0 && j > 0) {
860
+ for (s = j % n || n, u = M.substr(0, s); s < j; s += n) u += a + M.substr(s, n);
861
+ o > 0 && (u += a + M.slice(s)), A && (u = "-" + u);
862
+ }
863
+ f = c ? u + (r.decimalSeparator || "") + ((o = +r.fractionGroupSize) ? c.replace(new RegExp("\\d{" + o + "}\\B", "g"), "$&" + (r.fractionGroupSeparator || "")) : c) : u;
864
+ }
865
+ return (r.prefix || "") + f + (r.suffix || "");
866
+ }, d.toFraction = function(e) {
867
+ var t, r, f, i, s, l, n, o, a, u, c, A, M = this, j = M.c;
868
+ if (e != null && (n = new h(e), !n.isInteger() && (n.c || n.s !== 1) || n.lt(T)))
869
+ throw Error(R + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + fe(n));
870
+ if (!j) return new h(M);
871
+ for (t = new h(T), a = r = new h(T), f = o = new h(T), A = k(j), s = t.e = A.length - M.e - 1, t.c[0] = U[(l = s % m) < 0 ? m + l : l], e = !e || n.comparedTo(t) > 0 ? s > 0 ? t : a : n, l = $, $ = 1 / 0, n = new h(A), o.c[0] = 0; u = D(n, t, 0, 1), i = r.plus(u.times(f)), i.comparedTo(e) != 1; )
872
+ r = f, f = i, a = o.plus(u.times(i = a)), o = i, t = n.minus(u.times(i = t)), n = i;
873
+ return i = D(e.minus(r), f, 0, 1), o = o.plus(i.times(a)), r = r.plus(i.times(f)), o.s = a.s = M.s, s = s * 2, c = D(a, f, s, K).minus(M).abs().comparedTo(D(o, r, s, K).minus(M).abs()) < 1 ? [a, f] : [o, r], $ = l, c;
874
+ }, d.toNumber = function() {
875
+ return +fe(this);
876
+ }, d.toPrecision = function(e, t) {
877
+ return e != null && S(e, 1, _), ue(this, e, t, 2);
878
+ }, d.toString = function(e) {
879
+ var t, r = this, f = r.s, i = r.e;
880
+ return i === null ? f ? (t = "Infinity", f < 0 && (t = "-" + t)) : t = "NaN" : (e == null ? t = i <= x || i >= g ? he(k(r.c), i) : ee(k(r.c), i, "0") : e === 10 && te ? (r = se(new h(r), V + i + 1, K), t = ee(k(r.c), r.e, "0")) : (S(e, 2, Y.length, "Base"), t = Z(ee(k(r.c), i, "0"), 10, e, f, !0)), f < 0 && r.c[0] && (t = "-" + t)), t;
881
+ }, d.valueOf = d.toJSON = function() {
882
+ return fe(this);
883
+ }, d._isBigNumber = !0, N != null && h.set(N), h;
884
+ }
885
+ function v(N) {
886
+ var D = N | 0;
887
+ return N > 0 || N === D ? D : D - 1;
888
+ }
889
+ function k(N) {
890
+ for (var D, Z, Q = 1, d = N.length, T = N[0] + ""; Q < d; ) {
891
+ for (D = N[Q++] + "", Z = m - D.length; Z--; D = "0" + D) ;
892
+ T += D;
893
+ }
894
+ for (d = T.length; T.charCodeAt(--d) === 48; ) ;
895
+ return T.slice(0, d + 1 || 1);
896
+ }
897
+ function I(N, D) {
898
+ var Z, Q, d = N.c, T = D.c, V = N.s, K = D.s, x = N.e, g = D.e;
899
+ if (!V || !K) return null;
900
+ if (Z = d && !d[0], Q = T && !T[0], Z || Q) return Z ? Q ? 0 : -K : V;
901
+ if (V != K) return V;
902
+ if (Z = V < 0, Q = x == g, !d || !T) return Q ? 0 : !d ^ Z ? 1 : -1;
903
+ if (!Q) return x > g ^ Z ? 1 : -1;
904
+ for (K = (x = d.length) < (g = T.length) ? x : g, V = 0; V < K; V++) if (d[V] != T[V]) return d[V] > T[V] ^ Z ? 1 : -1;
905
+ return x == g ? 0 : x > g ^ Z ? 1 : -1;
906
+ }
907
+ function S(N, D, Z, Q) {
908
+ if (N < D || N > Z || N !== z(N))
909
+ throw Error(R + (Q || "Argument") + (typeof N == "number" ? N < D || N > Z ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(N));
910
+ }
911
+ function ie(N) {
912
+ var D = N.c.length - 1;
913
+ return v(N.e / m) == D && N.c[D] % 2 != 0;
914
+ }
915
+ function he(N, D) {
916
+ return (N.length > 1 ? N.charAt(0) + "." + N.slice(1) : N) + (D < 0 ? "e" : "e+") + D;
917
+ }
918
+ function ee(N, D, Z) {
919
+ var Q, d;
920
+ if (D < 0) {
921
+ for (d = Z + "."; ++D; d += Z) ;
922
+ N = d + N;
923
+ } else if (Q = N.length, ++D > Q) {
924
+ for (d = Z, D -= Q; --D; d += Z) ;
925
+ N += d;
926
+ } else D < Q && (N = N.slice(0, D) + "." + N.slice(D));
927
+ return N;
928
+ }
929
+ B = J(), B.default = B.BigNumber = B, E.exports ? E.exports = B : (F || (F = typeof self < "u" && self ? self : window), F.BigNumber = B);
930
+ })(je);
931
+ })(He);
932
+ var Ie = He.exports;
933
+ (function(E) {
934
+ var F = Ie, B = E.exports;
935
+ (function() {
936
+ var y = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, H, z, R = {
937
+ // table of character substitutions
938
+ "\b": "\\b",
939
+ " ": "\\t",
940
+ "\n": "\\n",
941
+ "\f": "\\f",
942
+ "\r": "\\r",
943
+ '"': '\\"',
944
+ "\\": "\\\\"
945
+ }, O;
946
+ function q(L) {
947
+ return y.lastIndex = 0, y.test(L) ? '"' + L.replace(y, function(U) {
948
+ var P = R[U];
949
+ return typeof P == "string" ? P : "\\u" + ("0000" + U.charCodeAt(0).toString(16)).slice(-4);
950
+ }) + '"' : '"' + L + '"';
951
+ }
952
+ function m(L, U) {
953
+ var P, _, J, v, k = H, I, S = U[L], ie = S != null && (S instanceof F || F.isBigNumber(S));
954
+ switch (S && typeof S == "object" && typeof S.toJSON == "function" && (S = S.toJSON(L)), typeof O == "function" && (S = O.call(U, L, S)), typeof S) {
955
+ case "string":
956
+ return ie ? S : q(S);
957
+ case "number":
958
+ return isFinite(S) ? String(S) : "null";
959
+ case "boolean":
960
+ case "null":
961
+ case "bigint":
962
+ return String(S);
963
+ case "object":
964
+ if (!S)
965
+ return "null";
966
+ if (H += z, I = [], Object.prototype.toString.apply(S) === "[object Array]") {
967
+ for (v = S.length, P = 0; P < v; P += 1)
968
+ I[P] = m(P, S) || "null";
969
+ return J = I.length === 0 ? "[]" : H ? `[
970
+ ` + H + I.join(`,
971
+ ` + H) + `
972
+ ` + k + "]" : "[" + I.join(",") + "]", H = k, J;
973
+ }
974
+ if (O && typeof O == "object")
975
+ for (v = O.length, P = 0; P < v; P += 1)
976
+ typeof O[P] == "string" && (_ = O[P], J = m(_, S), J && I.push(q(_) + (H ? ": " : ":") + J));
977
+ else
978
+ Object.keys(S).forEach(function(he) {
979
+ var ee = m(he, S);
980
+ ee && I.push(q(he) + (H ? ": " : ":") + ee);
981
+ });
982
+ return J = I.length === 0 ? "{}" : H ? `{
983
+ ` + H + I.join(`,
984
+ ` + H) + `
985
+ ` + k + "}" : "{" + I.join(",") + "}", H = k, J;
986
+ }
987
+ }
988
+ typeof B.stringify != "function" && (B.stringify = function(L, U, P) {
989
+ var _;
990
+ if (H = "", z = "", typeof P == "number")
991
+ for (_ = 0; _ < P; _ += 1)
992
+ z += " ";
993
+ else typeof P == "string" && (z = P);
994
+ if (O = U, U && typeof U != "function" && (typeof U != "object" || typeof U.length != "number"))
995
+ throw new Error("JSON.stringify");
996
+ return m("", {
997
+ "": L
998
+ });
999
+ });
1000
+ })();
1001
+ })(qe);
1002
+ var ot = qe.exports, Ne = null;
1003
+ const st = /(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/, ft = /(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;
1004
+ var ut = function(E) {
1005
+ var F = {
1006
+ strict: !1,
1007
+ // not being strict means do not generate syntax errors for "duplicate key"
1008
+ storeAsString: !1,
1009
+ // toggles whether the values should be stored as BigNumber (default) or a string
1010
+ alwaysParseAsBig: !1,
1011
+ // toggles whether all numbers should be Big
1012
+ useNativeBigInt: !1,
1013
+ // toggles whether to use native BigInt instead of bignumber.js
1014
+ protoAction: "error",
1015
+ constructorAction: "error"
1016
+ };
1017
+ if (E != null) {
1018
+ if (E.strict === !0 && (F.strict = !0), E.storeAsString === !0 && (F.storeAsString = !0), F.alwaysParseAsBig = E.alwaysParseAsBig === !0 ? E.alwaysParseAsBig : !1, F.useNativeBigInt = E.useNativeBigInt === !0 ? E.useNativeBigInt : !1, typeof E.constructorAction < "u")
1019
+ if (E.constructorAction === "error" || E.constructorAction === "ignore" || E.constructorAction === "preserve")
1020
+ F.constructorAction = E.constructorAction;
1021
+ else
1022
+ throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${E.constructorAction}`);
1023
+ if (typeof E.protoAction < "u")
1024
+ if (E.protoAction === "error" || E.protoAction === "ignore" || E.protoAction === "preserve")
1025
+ F.protoAction = E.protoAction;
1026
+ else
1027
+ throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${E.protoAction}`);
1028
+ }
1029
+ var B, y, H = {
1030
+ '"': '"',
1031
+ "\\": "\\",
1032
+ "/": "/",
1033
+ b: "\b",
1034
+ f: "\f",
1035
+ n: `
1036
+ `,
1037
+ r: "\r",
1038
+ t: " "
1039
+ }, z, R = function(v) {
1040
+ throw {
1041
+ name: "SyntaxError",
1042
+ message: v,
1043
+ at: B,
1044
+ text: z
1045
+ };
1046
+ }, O = function(v) {
1047
+ return v && v !== y && R("Expected '" + v + "' instead of '" + y + "'"), y = z.charAt(B), B += 1, y;
1048
+ }, q = function() {
1049
+ var v, k = "";
1050
+ for (y === "-" && (k = "-", O("-")); y >= "0" && y <= "9"; )
1051
+ k += y, O();
1052
+ if (y === ".")
1053
+ for (k += "."; O() && y >= "0" && y <= "9"; )
1054
+ k += y;
1055
+ if (y === "e" || y === "E")
1056
+ for (k += y, O(), (y === "-" || y === "+") && (k += y, O()); y >= "0" && y <= "9"; )
1057
+ k += y, O();
1058
+ if (v = +k, !isFinite(v))
1059
+ R("Bad number");
1060
+ else
1061
+ return Ne == null && (Ne = Ie), k.length > 15 ? F.storeAsString ? k : F.useNativeBigInt ? BigInt(k) : new Ne(k) : F.alwaysParseAsBig ? F.useNativeBigInt ? BigInt(v) : new Ne(v) : v;
1062
+ }, m = function() {
1063
+ var v, k, I = "", S;
1064
+ if (y === '"')
1065
+ for (var ie = B; O(); ) {
1066
+ if (y === '"')
1067
+ return B - 1 > ie && (I += z.substring(ie, B - 1)), O(), I;
1068
+ if (y === "\\") {
1069
+ if (B - 1 > ie && (I += z.substring(ie, B - 1)), O(), y === "u") {
1070
+ for (S = 0, k = 0; k < 4 && (v = parseInt(O(), 16), !!isFinite(v)); k += 1)
1071
+ S = S * 16 + v;
1072
+ I += String.fromCharCode(S);
1073
+ } else if (typeof H[y] == "string")
1074
+ I += H[y];
1075
+ else
1076
+ break;
1077
+ ie = B;
1078
+ }
1079
+ }
1080
+ R("Bad string");
1081
+ }, L = function() {
1082
+ for (; y && y <= " "; )
1083
+ O();
1084
+ }, U = function() {
1085
+ switch (y) {
1086
+ case "t":
1087
+ return O("t"), O("r"), O("u"), O("e"), !0;
1088
+ case "f":
1089
+ return O("f"), O("a"), O("l"), O("s"), O("e"), !1;
1090
+ case "n":
1091
+ return O("n"), O("u"), O("l"), O("l"), null;
1092
+ }
1093
+ R("Unexpected '" + y + "'");
1094
+ }, P, _ = function() {
1095
+ var v = [];
1096
+ if (y === "[") {
1097
+ if (O("["), L(), y === "]")
1098
+ return O("]"), v;
1099
+ for (; y; ) {
1100
+ if (v.push(P()), L(), y === "]")
1101
+ return O("]"), v;
1102
+ O(","), L();
1103
+ }
1104
+ }
1105
+ R("Bad array");
1106
+ }, J = function() {
1107
+ var v, k = /* @__PURE__ */ Object.create(null);
1108
+ if (y === "{") {
1109
+ if (O("{"), L(), y === "}")
1110
+ return O("}"), k;
1111
+ for (; y; ) {
1112
+ if (v = m(), L(), O(":"), F.strict === !0 && Object.hasOwnProperty.call(k, v) && R('Duplicate key "' + v + '"'), st.test(v) === !0 ? F.protoAction === "error" ? R("Object contains forbidden prototype property") : F.protoAction === "ignore" ? P() : k[v] = P() : ft.test(v) === !0 ? F.constructorAction === "error" ? R("Object contains forbidden constructor property") : F.constructorAction === "ignore" ? P() : k[v] = P() : k[v] = P(), L(), y === "}")
1113
+ return O("}"), k;
1114
+ O(","), L();
1115
+ }
1116
+ }
1117
+ R("Bad object");
1118
+ };
1119
+ return P = function() {
1120
+ switch (L(), y) {
1121
+ case "{":
1122
+ return J();
1123
+ case "[":
1124
+ return _();
1125
+ case '"':
1126
+ return m();
1127
+ case "-":
1128
+ return q();
1129
+ default:
1130
+ return y >= "0" && y <= "9" ? q() : U();
1131
+ }
1132
+ }, function(v, k) {
1133
+ var I;
1134
+ return z = v + "", B = 0, y = " ", I = P(), L(), y && R("Syntax error"), typeof k == "function" ? function S(ie, he) {
1135
+ var ee, N = ie[he];
1136
+ return N && typeof N == "object" && Object.keys(N).forEach(function(D) {
1137
+ ee = S(N, D), ee !== void 0 ? N[D] = ee : delete N[D];
1138
+ }), k.call(ie, he, N);
1139
+ }({
1140
+ "": I
1141
+ }, "") : I;
1142
+ };
1143
+ }, at = ut, Ge = ot.stringify, Ve = at;
1144
+ Le.exports = function(E) {
1145
+ return {
1146
+ parse: Ve(E),
1147
+ stringify: Ge
1148
+ };
1149
+ };
1150
+ var lt = Le.exports.parse = Ve(), ct = Le.exports.stringify = Ge;
1151
+ function Tt(E, F) {
1152
+ return E.find((B) => B.key === F);
1153
+ }
1154
+ function ht(E) {
1155
+ try {
1156
+ const F = typeof E == "string" ? lt(E) : E;
1157
+ return ct(F, null, 2);
1158
+ } catch (F) {
1159
+ return console.error("Invalid JSON data:", F), E;
1160
+ }
1161
+ }
1162
+ function Fe(E) {
1163
+ return E ? typeof E == "object" && E !== null ? ht(E) : typeof E == "boolean" || typeof E == "number" || E != null ? E.toString() : "-" : "-";
1164
+ }
1165
+ function ke(E, F) {
1166
+ return F.split(".").reduce((B, y) => B == null ? void 0 : B[y], E);
1167
+ }
1168
+ const dt = /* @__PURE__ */ Ue({
1169
+ __name: "Ellipsis",
1170
+ props: {
1171
+ open: {
1172
+ type: Boolean,
1173
+ required: !1,
1174
+ default: () => !0
1175
+ }
1176
+ },
1177
+ setup(E) {
1178
+ const F = E, B = Te(null), y = Te(0), H = Ye(() => {
1179
+ var q, m;
1180
+ if (!F.open || y.value === 0)
1181
+ return {};
1182
+ const O = (m = (q = B.value) == null ? void 0 : q.parentElement) == null ? void 0 : m.style.width;
1183
+ return O && O !== "auto" ? {
1184
+ width: O
1185
+ } : {
1186
+ width: `${y.value}px`
1187
+ };
1188
+ });
1189
+ function z() {
1190
+ B.value && F.open && Pe(() => {
1191
+ B.value && (y.value = B.value.clientWidth);
1192
+ });
1193
+ }
1194
+ function R() {
1195
+ z();
1196
+ }
1197
+ return Je(() => {
1198
+ F.open && Pe(() => {
1199
+ z(), window.addEventListener("resize", R);
1200
+ });
1201
+ }), Xe(() => F.open, (O) => {
1202
+ O ? (z(), window.addEventListener("resize", R)) : window.removeEventListener("resize", R);
1203
+ }), Ze(() => {
1204
+ window.removeEventListener("resize", R);
1205
+ }), (O, q) => (ce(), pe("div", {
1206
+ ref_key: "ellipsisContainer",
1207
+ ref: B,
1208
+ class: _e({
1209
+ ellipsis: E.open
1210
+ }),
1211
+ style: be(E.open ? H.value : {})
1212
+ }, [ze(O.$slots, "default", {}, void 0, !0)], 6));
1213
+ }
1214
+ }), pt = /* @__PURE__ */ We(dt, [["__scopeId", "data-v-4874d041"]]), gt = {
1215
+ class: "CubeTableCom"
1216
+ }, wt = {
1217
+ class: "tableContain"
1218
+ }, vt = {
1219
+ class: "tableRow"
1220
+ }, yt = ["onMouseenter", "onMouseleave"], mt = {
1221
+ style: {
1222
+ width: "100%",
1223
+ overflow: "hidden"
1224
+ }
1225
+ }, $t = {
1226
+ key: 0,
1227
+ class: "contain"
1228
+ }, Ot = {
1229
+ class: "pagination"
1230
+ }, xt = /* @__PURE__ */ Ue({
1231
+ __name: "CustomTable",
1232
+ props: {
1233
+ loading: {
1234
+ type: Boolean,
1235
+ required: !1,
1236
+ default: () => !1
1237
+ },
1238
+ bordered: {
1239
+ type: Boolean,
1240
+ required: !1,
1241
+ default: () => !0
1242
+ },
1243
+ data: {
1244
+ type: Array,
1245
+ required: !0
1246
+ },
1247
+ pagination: {
1248
+ type: Object,
1249
+ required: !1,
1250
+ default: () => null
1251
+ },
1252
+ columns: {
1253
+ type: Array,
1254
+ required: !0
1255
+ }
1256
+ },
1257
+ emits: ["mouseenter", "mouseleave", "pageChange", "pageSizeChange"],
1258
+ setup(E, {
1259
+ emit: F
1260
+ }) {
1261
+ const B = E, y = F, H = Te(-1);
1262
+ function z(L) {
1263
+ console.log(L, "currentPage"), y("pageChange", L);
1264
+ }
1265
+ function R(L) {
1266
+ console.log(L, "pageSize"), y("pageSizeChange", L);
1267
+ }
1268
+ function O(L) {
1269
+ const U = Ke();
1270
+ return L ? !!U[L] : !1;
1271
+ }
1272
+ function q(L) {
1273
+ H.value = L, y("mouseenter", L);
1274
+ }
1275
+ function m(L) {
1276
+ H.value = -1, y("mouseleave", L);
1277
+ }
1278
+ return (L, U) => (ce(), pe("div", gt, [Ae(ye(et), {
1279
+ loading: B.loading,
1280
+ tip: "数据加载中"
1281
+ }, {
1282
+ default: Me(() => {
1283
+ var P;
1284
+ return [me("div", wt, [me("table", null, [me("thead", null, [me("tr", vt, [(ce(!0), pe($e, null, De(B.columns, (_, J) => (ce(), pe("th", {
1285
+ key: J,
1286
+ class: _e({
1287
+ fixed: _.fixed,
1288
+ fixedBackground: _.fixed,
1289
+ lastBorder: J === B.columns.length - 1
1290
+ }),
1291
+ style: be({
1292
+ "min-width": _.minWidth ? `${_.minWidth}px` : void 0,
1293
+ "max-width": _.maxWidth ? `${_.maxWidth}px` : void 0,
1294
+ width: _.width ? `${_.width}px` : void 0,
1295
+ "--td-width": _.width ? `${_.width}px` : void 0
1296
+ })
1297
+ }, Ce(_.title), 7))), 128))])]), me("tbody", null, [(ce(!0), pe($e, null, De(B.data, (_, J) => (ce(), pe("tr", {
1298
+ key: J,
1299
+ class: _e(["tableRow", {
1300
+ trListHover: J === H.value
1301
+ }]),
1302
+ onMouseenter: (v) => q(J),
1303
+ onMouseleave: (v) => m(J)
1304
+ }, [(ce(!0), pe($e, null, De(B.columns, (v, k) => (ce(), pe("td", {
1305
+ key: k,
1306
+ class: _e({
1307
+ fixed: v.fixed,
1308
+ trListHover: J === H.value,
1309
+ lastBorder: k === B.columns.length - 1
1310
+ }),
1311
+ style: be({
1312
+ "min-width": v.minWidth ? `${v.minWidth}px` : void 0,
1313
+ "max-width": v.maxWidth ? `${v.maxWidth}px` : void 0,
1314
+ width: v.width ? `${v.width}px` : void 0,
1315
+ "--td-width": v.width ? `${v.width}px` : void 0
1316
+ })
1317
+ }, [me("div", mt, [Ae(pt, {
1318
+ open: v.ellipsis
1319
+ }, {
1320
+ default: Me(() => [O(v.slotName) ? ze(L.$slots, v.slotName, {
1321
+ key: 0,
1322
+ record: _
1323
+ }, void 0, !0) : (ce(), pe($e, {
1324
+ key: 1
1325
+ }, [v.dataIndex ? (ce(), pe($e, {
1326
+ key: 0
1327
+ }, [v.tooltip ? (ce(), Re(ye(tt), {
1328
+ key: 0,
1329
+ content: ye(Fe)(ye(ke)(_, v.dataIndex)),
1330
+ position: "bottom"
1331
+ }, {
1332
+ default: Me(() => [me("span", null, Ce(ye(ke)(_, v.dataIndex)), 1)]),
1333
+ _: 2
1334
+ }, 1032, ["content"])) : (ce(), pe($e, {
1335
+ key: 1
1336
+ }, [Qe(Ce(ye(Fe)(ye(ke)(_, v.dataIndex))), 1)], 64))], 64)) : Be("", !0)], 64))]),
1337
+ _: 2
1338
+ }, 1032, ["open"])])], 6))), 128))], 42, yt))), 128))])]), B.data.length === 0 ? (ce(), pe("div", $t, [Ae(ye(rt))])) : Be("", !0)]), me("div", Ot, [B.pagination ? (ce(), Re(ye(nt), {
1339
+ key: 0,
1340
+ modelValue: B.pagination.current,
1341
+ "onUpdate:modelValue": U[0] || (U[0] = (_) => B.pagination.current = _),
1342
+ total: ((P = B.pagination) == null ? void 0 : P.total) || 0,
1343
+ pageSize: B.pagination.pageSize,
1344
+ showTotal: B.pagination.showTotal,
1345
+ showJumper: B.pagination.showJumper,
1346
+ showPageSize: B.pagination.showPageSize,
1347
+ onChange: z,
1348
+ onPageSizeChange: R
1349
+ }, null, 8, ["modelValue", "total", "pageSize", "showTotal", "showJumper", "showPageSize"])) : Be("", !0)])];
1350
+ }),
1351
+ _: 3
1352
+ }, 8, ["loading"])]));
1353
+ }
1354
+ }), bt = /* @__PURE__ */ We(xt, [["__scopeId", "data-v-1529e950"]]);
1355
+ export {
1356
+ bt as C,
1357
+ pt as E,
1358
+ Tt as f
1359
+ };