@huyooo/ui 0.5.2 → 0.5.4

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