xto-fronted 0.4.111 → 0.4.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as a, c as t, a as r, d as l, e as o, f as u, g as d, h as g, i as n, j as U, k as i, l as p, m as R, n as c, o as M, p as f, r as h, q as D, u as L, s as b, t as k, v as m, w } from "../user-Dr3u-kRk.js";
1
+ import { b as a, c as t, a as r, d as l, e as o, f as u, g as d, h as g, i as n, j as U, k as i, l as p, m as R, n as c, o as M, p as f, r as h, q as D, u as L, s as b, t as k, v as m, w } from "../user-ChcAx-5W.js";
2
2
  export {
3
3
  a as batchDeleteUsers,
4
4
  t as createMenu,
@@ -3,7 +3,7 @@ import { Form as Y, FormItem as p, Input as _, Select as j, InputNumber as G, Sw
3
3
  import { Tag as E } from "@xto/data";
4
4
  import { Modal as J, Message as K } from "@xto/feedback";
5
5
  import { Button as h, Space as N } from "@xto/base";
6
- import { S as r, M as c, b as P, _ as Q } from "./index-Cjel_bu8.js";
6
+ import { S as r, M as c, b as P, _ as Q } from "./index-BVEs9eIP.js";
7
7
  const W = { class: "menu-page" }, X = { class: "table-section" }, Z = { class: "table-toolbar" }, ee = { class: "toolbar-left" }, te = { class: "toolbar-right" }, se = { class: "table-count" }, le = { class: "table-wrapper" }, oe = { class: "data-table" }, ae = { key: 0 }, ne = { key: 1 }, de = { class: "data-row tree-row--level-0" }, ie = { class: "col-name" }, re = { class: "menu-info" }, ue = { class: "menu-icon-wrapper" }, pe = ["onClick"], ce = { class: "col-icon" }, me = { class: "icon-text" }, fe = { class: "col-path" }, ve = { class: "path-code" }, ye = { class: "col-type" }, _e = { class: "col-sort" }, he = { class: "sort-badge" }, ke = { class: "col-status" }, be = { class: "col-actions" }, ge = { class: "col-name" }, Ve = { class: "menu-info" }, Ee = { class: "menu-icon-wrapper" }, xe = ["onClick"], Ce = { class: "col-icon" }, Me = { class: "icon-text" }, Ne = { class: "col-path" }, we = { class: "path-code" }, Ae = { class: "col-type" }, Be = { class: "col-sort" }, De = { class: "sort-badge" }, Le = { class: "col-status" }, Ue = { class: "col-actions" }, Ie = { class: "form-grid" }, Te = { class: "status-field" }, Se = { class: "status-label" }, ze = { class: "status-field" }, Re = { class: "status-label" }, $e = { class: "status-field" }, Oe = { class: "status-label" }, He = /* @__PURE__ */ $({
8
8
  __name: "index",
9
9
  setup(qe) {
@@ -1,4 +1,4 @@
1
- import { x as I, y as st, z as ot, A as at, B as nt, o as vt, C as lt, D as Fe, E as ht, m as _t, i as ft, F as gt, G as Qe, H as yt, I as kt, J as wt } from "./user-Dr3u-kRk.js";
1
+ import { x as I, y as st, z as ot, A as at, B as nt, o as vt, C as lt, D as Fe, E as ht, m as _t, i as ft, F as gt, G as Qe, H as yt, I as kt, J as wt } from "./user-ChcAx-5W.js";
2
2
  import { ref as y, computed as b, watch as ye, defineComponent as ne, resolveComponent as rt, openBlock as a, createBlock as O, unref as n, withCtx as M, createElementBlock as c, Fragment as K, renderList as X, createElementVNode as e, toDisplayString as x, createCommentVNode as P, normalizeClass as J, withDirectives as Te, vShow as bt, createVNode as k, createTextVNode as he, onMounted as Ke, onUnmounted as je, vModelText as We, Transition as ke, withModifiers as Ee, normalizeStyle as Ne, reactive as qe, createStaticVNode as ze, withKeys as xt, h as Ct } from "vue";
3
3
  import { defineStore as Ie } from "pinia";
4
4
  import { useRoute as be, useRouter as me, createRouter as He, createWebHistory as Ye } from "vue-router";
@@ -2778,7 +2778,7 @@ const dt = [
2778
2778
  {
2779
2779
  path: "/dashboard",
2780
2780
  name: "Dashboard",
2781
- component: () => import("./index-DKHtW-p9.js"),
2781
+ component: () => import("./index-BuVnk-Ka.js"),
2782
2782
  meta: {
2783
2783
  title: "仪表盘",
2784
2784
  icon: "dashboard",
@@ -2789,7 +2789,7 @@ const dt = [
2789
2789
  {
2790
2790
  path: "/system/user",
2791
2791
  name: "SystemUser",
2792
- component: () => import("./index-q2D-YeQK.js"),
2792
+ component: () => import("./index-CaIet-zn.js"),
2793
2793
  meta: {
2794
2794
  title: "用户管理",
2795
2795
  icon: "user",
@@ -2799,7 +2799,7 @@ const dt = [
2799
2799
  {
2800
2800
  path: "/system/role",
2801
2801
  name: "SystemRole",
2802
- component: () => import("./index-DB43988M.js"),
2802
+ component: () => import("./index-CPUyTvNq.js"),
2803
2803
  meta: {
2804
2804
  title: "角色管理",
2805
2805
  icon: "role",
@@ -2809,7 +2809,7 @@ const dt = [
2809
2809
  {
2810
2810
  path: "/system/menu",
2811
2811
  name: "SystemMenu",
2812
- component: () => import("./index-BNLsx1WO.js"),
2812
+ component: () => import("./index-11ZvkUE8.js"),
2813
2813
  meta: {
2814
2814
  title: "菜单管理",
2815
2815
  icon: "menu",
@@ -2831,7 +2831,7 @@ const dt = [
2831
2831
  {
2832
2832
  path: "/dashboard",
2833
2833
  name: "Dashboard",
2834
- component: () => import("./index-DKHtW-p9.js"),
2834
+ component: () => import("./index-BuVnk-Ka.js"),
2835
2835
  meta: {
2836
2836
  title: "仪表盘",
2837
2837
  icon: "dashboard",
@@ -2851,7 +2851,7 @@ const dt = [
2851
2851
  {
2852
2852
  path: "user",
2853
2853
  name: "SystemUser",
2854
- component: () => import("./index-q2D-YeQK.js"),
2854
+ component: () => import("./index-CaIet-zn.js"),
2855
2855
  meta: {
2856
2856
  title: "用户管理",
2857
2857
  icon: "user",
@@ -2861,7 +2861,7 @@ const dt = [
2861
2861
  {
2862
2862
  path: "role",
2863
2863
  name: "SystemRole",
2864
- component: () => import("./index-DB43988M.js"),
2864
+ component: () => import("./index-CPUyTvNq.js"),
2865
2865
  meta: {
2866
2866
  title: "角色管理",
2867
2867
  icon: "role",
@@ -2871,7 +2871,7 @@ const dt = [
2871
2871
  {
2872
2872
  path: "menu",
2873
2873
  name: "SystemMenu",
2874
- component: () => import("./index-BNLsx1WO.js"),
2874
+ component: () => import("./index-11ZvkUE8.js"),
2875
2875
  meta: {
2876
2876
  title: "菜单管理",
2877
2877
  icon: "menu",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, ref as l, resolveComponent as b, openBlock as a, createElementBlock as o, createElementVNode as s, Fragment as n, renderList as c, normalizeStyle as r, toDisplayString as i, normalizeClass as d, createBlock as w, withCtx as U, createVNode as u, unref as v } from "vue";
2
2
  import { Progress as _ } from "@xto/data";
3
- import { _ as q } from "./index-Cjel_bu8.js";
3
+ import { _ as q } from "./index-BVEs9eIP.js";
4
4
  const x = { class: "dashboard" }, C = { class: "stats-section" }, B = { class: "stat-content" }, M = { class: "stat-title" }, I = {
5
5
  key: 0,
6
6
  viewBox: "0 0 24 24",
@@ -3,7 +3,7 @@ import { Form as N, FormItem as v, Input as x, Select as Q, Switch as S } from "
3
3
  import { Tag as W, Pagination as X } from "@xto/data";
4
4
  import { Popconfirm as Y, Modal as Z, Message as B } from "@xto/feedback";
5
5
  import { Space as L, Button as f } from "@xto/base";
6
- import { S as d, a as ee, _ as te } from "./index-Cjel_bu8.js";
6
+ import { S as d, a as ee, _ as te } from "./index-BVEs9eIP.js";
7
7
  const le = { class: "role-page" }, se = { class: "search-section" }, oe = { class: "table-section" }, ae = { class: "table-toolbar" }, ne = { class: "toolbar-left" }, ie = { class: "toolbar-right" }, de = { class: "table-count" }, re = { class: "table-wrapper" }, ue = { class: "data-table" }, ce = { key: 0 }, pe = { key: 1 }, me = { class: "col-id" }, ve = { class: "id-badge" }, fe = { class: "col-name" }, ge = { class: "role-name" }, ye = { class: "col-code" }, _e = { class: "col-desc" }, ke = { class: "desc-text" }, he = { class: "col-status" }, xe = { class: "status-switch" }, Ve = { class: "col-time" }, be = { class: "time-text" }, Ee = { class: "col-actions" }, Ce = { class: "pagination-wrapper" }, Be = { class: "status-field" }, Le = { class: "status-label" }, De = /* @__PURE__ */ P({
8
8
  __name: "index",
9
9
  setup(we) {
@@ -3,7 +3,7 @@ import { Form as S, FormItem as c, Input as x, Select as W, Switch as U } from "
3
3
  import { Tag as X, Pagination as Y } from "@xto/data";
4
4
  import { Popconfirm as Z, Modal as ee, Message as C } from "@xto/feedback";
5
5
  import { Space as D, Button as g } from "@xto/base";
6
- import { S as d, a as te, _ as le } from "./index-Cjel_bu8.js";
6
+ import { S as d, a as te, _ as le } from "./index-BVEs9eIP.js";
7
7
  const se = { class: "user-page" }, ae = { class: "search-section" }, oe = { class: "table-section" }, ne = { class: "table-toolbar" }, ie = { class: "toolbar-left" }, de = { class: "toolbar-right" }, re = { class: "table-count" }, ue = { class: "table-wrapper" }, me = { class: "data-table" }, ce = { key: 0 }, pe = { key: 1 }, ve = { class: "col-id" }, fe = { class: "id-badge" }, he = { class: "col-user" }, ge = { class: "user-info" }, ke = { class: "user-avatar" }, _e = { class: "user-detail" }, ye = { class: "user-nickname" }, xe = { class: "user-username" }, Ve = { class: "col-contact" }, be = { class: "contact-info" }, Ee = { class: "contact-email" }, Be = { class: "contact-phone" }, Ce = { class: "col-roles" }, De = { class: "role-tags" }, Le = { class: "col-status" }, we = { class: "status-switch" }, ze = { class: "col-time" }, Ae = { class: "time-text" }, Ne = { class: "col-actions" }, Se = { class: "pagination-wrapper" }, Ue = { class: "status-field" }, Me = { class: "status-label" }, Te = /* @__PURE__ */ R({
8
8
  __name: "index",
9
9
  setup(Ie) {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { F as a, c as t, G as o, d as r, e as n, H as u, L as i, i as p, M as l, b as T, f as d, g, h as R, S as c, a as h, j as k, T as f, k as S, l as U, m, n as A, o as M, p as y, q as x, r as L, s as C, t as D, u as b, v as I, w as B, x as F, y as G, z as E, A as P, B as O, C as v, D as w, E as H, I as N, J as j, K as q, N as z } from "./index-Cjel_bu8.js";
2
- import { K, b as X, A as Q, c as V, a as W, d as Y, e as Z, f as _, g as $, G as ee, D as se, E as ae, C as te, L as oe, h as re, i as ne, M as ue, N as ie, j as pe, k as le, y as Te, O as de, P as ge, l as Re, m as ce, n as he, z as ke, Q as fe, I as Se, R as Ue, F as me, x as Ae, S as Me, o as ye, p as xe, r as Le, q as Ce, T as De, U as be, H as Ie, J as Be, V as Fe, W as Ge, X as Ee, Y as Pe, Z as Oe, B as ve, _ as we, u as He, s as Ne, t as je, v as qe, w as ze } from "./user-Dr3u-kRk.js";
1
+ import { F as a, c as t, G as o, d as r, e as n, H as u, L as i, i as p, M as l, b as T, f as d, g, h as R, S as c, a as h, j as k, T as f, k as S, l as U, m, n as A, o as M, p as y, q as x, r as L, s as C, t as D, u as b, v as I, w as B, x as F, y as G, z as E, A as P, B as O, C as v, D as w, E as H, I as N, J as j, K as q, N as z } from "./index-BVEs9eIP.js";
2
+ import { K, b as X, A as Q, c as V, a as W, d as Y, e as Z, f as _, g as $, G as ee, D as se, E as ae, C as te, L as oe, h as re, i as ne, M as ue, N as ie, j as pe, k as le, y as Te, O as de, P as ge, l as Re, m as ce, n as he, z as ke, Q as fe, I as Se, R as Ue, F as me, x as Ae, S as Me, o as ye, p as xe, r as Le, q as Ce, T as De, U as be, H as Ie, J as Be, V as Fe, W as Ge, X as Ee, Y as Pe, Z as Oe, B as ve, _ as we, u as He, s as Ne, t as je, v as qe, w as ze } from "./user-ChcAx-5W.js";
3
3
  export {
4
4
  a as Footer,
5
5
  t as Forbidden,
@@ -64,9 +64,9 @@ function lr(l) {
64
64
  var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
65
65
  (function(l) {
66
66
  (function(g) {
67
- var w, m = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, D = Math.ceil, L = Math.floor, U = "[BigNumber Error] ", I = U + "Number primitive has more than 15 significant digits: ", H = 1e14, N = 14, M = 9007199254740991, X = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], B = 1e7, P = 1e9;
67
+ var w, m = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, C = Math.ceil, U = Math.floor, D = "[BigNumber Error] ", I = D + "Number primitive has more than 15 significant digits: ", H = 1e14, N = 14, M = 9007199254740991, X = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], B = 1e7, P = 1e9;
68
68
  function re(O) {
69
- var y, b, q, d = p.prototype = { constructor: p, toString: null, valueOf: null }, V = new p(1), C = 20, j = 4, Z = -7, ee = 21, he = -1e7, ie = 1e7, pe = !1, de = 1, le = 0, Be = {
69
+ var y, b, q, d = p.prototype = { constructor: p, toString: null, valueOf: null }, V = new p(1), L = 20, j = 4, Z = -7, ee = 21, he = -1e7, ie = 1e7, pe = !1, de = 1, le = 0, Be = {
70
70
  prefix: "",
71
71
  groupSize: 3,
72
72
  secondaryGroupSize: 0,
@@ -99,7 +99,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
99
99
  (s = c.indexOf(".")) > -1 && (c = c.replace(".", "")), (a = c.search(/e/i)) > 0 ? (s < 0 && (s = a), s += +c.slice(a + 1), c = c.substring(0, a)) : s < 0 && (s = c.length);
100
100
  } else {
101
101
  if (v(r, 2, ge.length, "Base"), r == 10 && Te)
102
- return f = new p(e), te(f, C + f.e + 1, j);
102
+ return f = new p(e), te(f, L + f.e + 1, j);
103
103
  if (c = String(e), n = typeof e == "number") {
104
104
  if (e * 0 != 0) return q(f, c, n, r);
105
105
  if (f.s = 1 / e < 0 ? (c = c.slice(1), -1) : 1, p.DEBUG && c.replace(/^0\.0*|\./, "").length > 15)
@@ -124,7 +124,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
124
124
  for (a = 0; c.charCodeAt(a) === 48; a++) ;
125
125
  for (o = c.length; c.charCodeAt(--o) === 48; ) ;
126
126
  if (c = c.slice(a, ++o)) {
127
- if (o -= a, n && p.DEBUG && o > 15 && (e > M || e !== L(e)))
127
+ if (o -= a, n && p.DEBUG && o > 15 && (e > M || e !== U(e)))
128
128
  throw Error(I + f.s * e);
129
129
  if ((s = s - a - 1) > ie)
130
130
  f.c = f.e = null;
@@ -147,36 +147,36 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
147
147
  var r, t;
148
148
  if (e != null)
149
149
  if (typeof e == "object") {
150
- if (e.hasOwnProperty(r = "DECIMAL_PLACES") && (t = e[r], v(t, 0, P, r), C = t), e.hasOwnProperty(r = "ROUNDING_MODE") && (t = e[r], v(t, 0, 8, r), j = t), e.hasOwnProperty(r = "EXPONENTIAL_AT") && (t = e[r], t && t.pop ? (v(t[0], -P, 0, r), v(t[1], 0, P, r), Z = t[0], ee = t[1]) : (v(t, -P, P, r), Z = -(ee = t < 0 ? -t : t))), e.hasOwnProperty(r = "RANGE"))
150
+ if (e.hasOwnProperty(r = "DECIMAL_PLACES") && (t = e[r], v(t, 0, P, r), L = t), e.hasOwnProperty(r = "ROUNDING_MODE") && (t = e[r], v(t, 0, 8, r), j = t), e.hasOwnProperty(r = "EXPONENTIAL_AT") && (t = e[r], t && t.pop ? (v(t[0], -P, 0, r), v(t[1], 0, P, r), Z = t[0], ee = t[1]) : (v(t, -P, P, r), Z = -(ee = t < 0 ? -t : t))), e.hasOwnProperty(r = "RANGE"))
151
151
  if (t = e[r], t && t.pop)
152
152
  v(t[0], -P, -1, r), v(t[1], 1, P, r), he = t[0], ie = t[1];
153
153
  else if (v(t, -P, P, r), t)
154
154
  he = -(ie = t < 0 ? -t : t);
155
155
  else
156
- throw Error(U + r + " cannot be zero: " + t);
156
+ throw Error(D + r + " cannot be zero: " + t);
157
157
  if (e.hasOwnProperty(r = "CRYPTO"))
158
158
  if (t = e[r], t === !!t)
159
159
  if (t)
160
160
  if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
161
161
  pe = t;
162
162
  else
163
- throw pe = !t, Error(U + "crypto unavailable");
163
+ throw pe = !t, Error(D + "crypto unavailable");
164
164
  else
165
165
  pe = t;
166
166
  else
167
- throw Error(U + r + " not true or false: " + t);
167
+ throw Error(D + r + " not true or false: " + t);
168
168
  if (e.hasOwnProperty(r = "MODULO_MODE") && (t = e[r], v(t, 0, 9, r), de = t), e.hasOwnProperty(r = "POW_PRECISION") && (t = e[r], v(t, 0, P, r), le = t), e.hasOwnProperty(r = "FORMAT"))
169
169
  if (t = e[r], typeof t == "object") Be = t;
170
- else throw Error(U + r + " not an object: " + t);
170
+ else throw Error(D + r + " not an object: " + t);
171
171
  if (e.hasOwnProperty(r = "ALPHABET"))
172
172
  if (t = e[r], typeof t == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(t))
173
173
  Te = t.slice(0, 10) == "0123456789", ge = t;
174
174
  else
175
- throw Error(U + r + " invalid: " + t);
175
+ throw Error(D + r + " invalid: " + t);
176
176
  } else
177
- throw Error(U + "Object expected: " + e);
177
+ throw Error(D + "Object expected: " + e);
178
178
  return {
179
- DECIMAL_PLACES: C,
179
+ DECIMAL_PLACES: L,
180
180
  ROUNDING_MODE: j,
181
181
  EXPONENTIAL_AT: [Z, ee],
182
182
  RANGE: [he, ie],
@@ -191,33 +191,33 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
191
191
  if (!p.DEBUG) return !0;
192
192
  var r, t, u = e.c, i = e.e, s = e.s;
193
193
  e: if ({}.toString.call(u) == "[object Array]") {
194
- if ((s === 1 || s === -1) && i >= -P && i <= P && i === L(i)) {
194
+ if ((s === 1 || s === -1) && i >= -P && i <= P && i === U(i)) {
195
195
  if (u[0] === 0) {
196
196
  if (i === 0 && u.length === 1) return !0;
197
197
  break e;
198
198
  }
199
199
  if (r = (i + 1) % N, r < 1 && (r += N), String(u[0]).length == r) {
200
200
  for (r = 0; r < u.length; r++)
201
- if (t = u[r], t < 0 || t >= H || t !== L(t)) break e;
201
+ if (t = u[r], t < 0 || t >= H || t !== U(t)) break e;
202
202
  if (t !== 0) return !0;
203
203
  }
204
204
  }
205
205
  } else if (u === null && i === null && (s === null || s === 1 || s === -1))
206
206
  return !0;
207
- throw Error(U + "Invalid BigNumber: " + e);
207
+ throw Error(D + "Invalid BigNumber: " + e);
208
208
  }, p.maximum = p.max = function() {
209
209
  return Ge(arguments, -1);
210
210
  }, p.minimum = p.min = function() {
211
211
  return Ge(arguments, 1);
212
212
  }, p.random = function() {
213
213
  var e = 9007199254740992, r = Math.random() * e & 2097151 ? function() {
214
- return L(Math.random() * e);
214
+ return U(Math.random() * e);
215
215
  } : function() {
216
216
  return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
217
217
  };
218
218
  return function(t) {
219
219
  var u, i, s, a, n, o = 0, c = [], f = new p(V);
220
- if (t == null ? t = C : v(t, 0, P), a = D(t / N), pe)
220
+ if (t == null ? t = L : v(t, 0, P), a = C(t / N), pe)
221
221
  if (crypto.getRandomValues) {
222
222
  for (u = crypto.getRandomValues(new Uint32Array(a *= 2)); o < a; )
223
223
  n = u[o] * 131072 + (u[o + 1] >>> 11), n >= 9e15 ? (i = crypto.getRandomValues(new Uint32Array(2)), u[o] = i[0], u[o + 1] = i[1]) : (c.push(n % 1e14), o += 2);
@@ -227,11 +227,11 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
227
227
  n = (u[o] & 31) * 281474976710656 + u[o + 1] * 1099511627776 + u[o + 2] * 4294967296 + u[o + 3] * 16777216 + (u[o + 4] << 16) + (u[o + 5] << 8) + u[o + 6], n >= 9e15 ? crypto.randomBytes(7).copy(u, o) : (c.push(n % 1e14), o += 7);
228
228
  o = a / 7;
229
229
  } else
230
- throw pe = !1, Error(U + "crypto unavailable");
230
+ throw pe = !1, Error(D + "crypto unavailable");
231
231
  if (!pe)
232
232
  for (; o < a; )
233
233
  n = r(), n < 9e15 && (c[o++] = n % 1e14);
234
- for (a = c[--o], t %= N, a && t && (n = X[N - t], c[o] = L(a / n) * n); c[o] === 0; c.pop(), o--) ;
234
+ for (a = c[--o], t %= N, a && t && (n = X[N - t], c[o] = U(a / n) * n); c[o] === 0; c.pop(), o--) ;
235
235
  if (o < 0)
236
236
  c = [s = 0];
237
237
  else {
@@ -255,7 +255,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
255
255
  return n.reverse();
256
256
  }
257
257
  return function(t, u, i, s, a) {
258
- var n, o, c, f, h, E, A, S, $ = t.indexOf("."), z = C, T = j;
258
+ var n, o, c, f, h, E, A, S, $ = t.indexOf("."), z = L, T = j;
259
259
  for ($ >= 0 && (f = le, le = 0, t = t.replace(".", ""), S = new p(u), E = S.pow(t.length - $), le = f, S.c = r(
260
260
  Y(x(E.c), E.e, "0"),
261
261
  10,
@@ -313,11 +313,11 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
313
313
  if (G[f] > (Q[f] || 0) && c--, ne < 0)
314
314
  z.push(1), h = !0;
315
315
  else {
316
- for (Re = Q.length, se = G.length, f = 0, ne += 2, E = L(n / (G[0] + 1)), E > 1 && (G = e(G, E, n), Q = e(Q, E, n), se = G.length, Re = Q.length), Ee = se, T = Q.slice(0, se), k = T.length; k < se; T[k++] = 0) ;
316
+ for (Re = Q.length, se = G.length, f = 0, ne += 2, E = U(n / (G[0] + 1)), E > 1 && (G = e(G, E, n), Q = e(Q, E, n), se = G.length, Re = Q.length), Ee = se, T = Q.slice(0, se), k = T.length; k < se; T[k++] = 0) ;
317
317
  we = G.slice(), we = [0].concat(we), ke = G[0], G[1] >= n / 2 && ke++;
318
318
  do {
319
319
  if (E = 0, o = r(G, T, se, k), o < 0) {
320
- if (J = T[0], se != k && (J = J * n + (T[1] || 0)), E = L(J / ke), E > 1)
320
+ if (J = T[0], se != k && (J = J * n + (T[1] || 0)), E = U(J / ke), E > 1)
321
321
  for (E >= n && (E = n - 1), A = e(G, E, n), S = A.length, k = T.length; r(A, T, S, k) == 1; )
322
322
  E--, t(A, se < S ? we : G, S, n), S = A.length, o = 1;
323
323
  else
@@ -374,7 +374,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
374
374
  }), o && (c = o, f = f.replace(r, "$1").replace(t, "0.$1")), a != f))
375
375
  return new p(f, c);
376
376
  if (p.DEBUG)
377
- throw Error(U + "Not a" + (o ? " base " + o : "") + " number: " + a);
377
+ throw Error(D + "Not a" + (o ? " base " + o : "") + " number: " + a);
378
378
  s.s = null;
379
379
  }
380
380
  s.c = s.e = null;
@@ -386,8 +386,8 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
386
386
  e: {
387
387
  for (i = 1, n = h[0]; n >= 10; n /= 10, i++) ;
388
388
  if (s = r - i, s < 0)
389
- s += N, a = r, o = h[c = 0], f = L(o / E[i - a - 1] % 10);
390
- else if (c = D((s + 1) / N), c >= h.length)
389
+ s += N, a = r, o = h[c = 0], f = U(o / E[i - a - 1] % 10);
390
+ else if (c = C((s + 1) / N), c >= h.length)
391
391
  if (u) {
392
392
  for (; h.length <= c; h.push(0)) ;
393
393
  o = f = 0, i = 1, s %= N, a = s - N + 1;
@@ -395,7 +395,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
395
395
  break e;
396
396
  else {
397
397
  for (o = n = h[c], i = 1; n >= 10; n /= 10, i++) ;
398
- s %= N, a = s - N + i, f = a < 0 ? 0 : L(o / E[i - a - 1] % 10);
398
+ s %= N, a = s - N + i, f = a < 0 ? 0 : U(o / E[i - a - 1] % 10);
399
399
  }
400
400
  if (u = u || r < 0 || // Are there any non-zero digits after the rounding digit?
401
401
  // The expression n % pows10[d - j - 1] returns all digits of n to the right
@@ -403,7 +403,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
403
403
  h[c + 1] != null || (a < 0 ? o : o % E[i - a - 1]), u = t < 4 ? (f || u) && (t == 0 || t == (e.s < 0 ? 3 : 2)) : f > 5 || f == 5 && (t == 4 || u || t == 6 && // Check whether the digit to the left of the rounding digit is odd.
404
404
  (s > 0 ? a > 0 ? o / E[i - a] : 0 : h[c - 1]) % 10 & 1 || t == (e.s < 0 ? 8 : 7)), r < 1 || !h[0])
405
405
  return h.length = 0, u ? (r -= e.e + 1, h[0] = E[(N - r % N) % N], e.e = -r || 0) : h[0] = e.e = 0, e;
406
- if (s == 0 ? (h.length = c, n = 1, c--) : (h.length = c + 1, n = E[N - s], h[c] = a > 0 ? L(o / E[i - a] % E[a]) * n : 0), u)
406
+ if (s == 0 ? (h.length = c, n = 1, c--) : (h.length = c + 1, n = E[N - s], h[c] = a > 0 ? U(o / E[i - a] % E[a]) * n : 0), u)
407
407
  for (; ; )
408
408
  if (c == 0) {
409
409
  for (s = 1, a = h[0]; a >= 10; a /= 10, s++) ;
@@ -437,13 +437,13 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
437
437
  if (u = ((i = t.length - 1) - _(this.e / N)) * N, i = t[i]) for (; i % 10 == 0; i /= 10, u--) ;
438
438
  return u < 0 && (u = 0), u;
439
439
  }, d.dividedBy = d.div = function(e, r) {
440
- return y(this, new p(e, r), C, j);
440
+ return y(this, new p(e, r), L, j);
441
441
  }, d.dividedToIntegerBy = d.idiv = function(e, r) {
442
442
  return y(this, new p(e, r), 0, 1);
443
443
  }, d.exponentiatedBy = d.pow = function(e, r) {
444
444
  var t, u, i, s, a, n, o, c, f, h = this;
445
445
  if (e = new p(e), e.c && !e.isInteger())
446
- throw Error(U + "Exponent not an integer: " + ue(e));
446
+ throw Error(D + "Exponent not an integer: " + ue(e));
447
447
  if (r != null && (r = new p(r)), n = e.e > 14, !h.c || !h.c[0] || h.c[0] == 1 && !h.e && h.c.length == 1 || !e.c || !e.c[0])
448
448
  return f = new p(Math.pow(+ue(h), n ? e.s * (2 - W(e)) : +ue(e))), r ? f.mod(r) : f;
449
449
  if (o = e.s < 0, r) {
@@ -452,7 +452,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
452
452
  } else {
453
453
  if (e.e > 9 && (h.e > 0 || h.e < -1 || (h.e == 0 ? h.c[0] > 1 || n && h.c[1] >= 24e7 : h.c[0] < 8e13 || n && h.c[0] <= 9999975e7)))
454
454
  return s = h.s < 0 && W(e) ? -0 : 0, h.e > -1 && (s = 1 / s), new p(o ? 1 / s : s);
455
- le && (s = D(le / N + 2));
455
+ le && (s = C(le / N + 2));
456
456
  }
457
457
  for (n ? (t = new p(0.5), o && (e.s = 1), c = W(e)) : (i = Math.abs(+ue(e)), c = i % 2), f = new p(V); ; ) {
458
458
  if (c) {
@@ -460,7 +460,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
460
460
  s ? f.c.length > s && (f.c.length = s) : u && (f = f.mod(r));
461
461
  }
462
462
  if (i) {
463
- if (i = L(i / 2), i === 0) break;
463
+ if (i = U(i / 2), i === 0) break;
464
464
  c = i % 2;
465
465
  } else if (e = e.times(t), te(e, e.e + 1, 1), e.e > 14)
466
466
  c = W(e);
@@ -576,24 +576,24 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
576
576
  }, d.shiftedBy = function(e) {
577
577
  return v(e, -M, M), this.times("1e" + e);
578
578
  }, d.squareRoot = d.sqrt = function() {
579
- var e, r, t, u, i, s = this, a = s.c, n = s.s, o = s.e, c = C + 4, f = new p("0.5");
579
+ var e, r, t, u, i, s = this, a = s.c, n = s.s, o = s.e, c = L + 4, f = new p("0.5");
580
580
  if (n !== 1 || !a || !a[0])
581
581
  return new p(!n || n < 0 && (!a || a[0]) ? NaN : a ? s : 1 / 0);
582
582
  if (n = Math.sqrt(+ue(s)), n == 0 || n == 1 / 0 ? (r = x(a), (r.length + o) % 2 == 0 && (r += "0"), n = Math.sqrt(+r), o = _((o + 1) / 2) - (o < 0 || o % 2), n == 1 / 0 ? r = "5e" + o : (r = n.toExponential(), r = r.slice(0, r.indexOf("e") + 1) + o), t = new p(r)) : t = new p(n + ""), t.c[0]) {
583
583
  for (o = t.e, n = o + c, n < 3 && (n = 0); ; )
584
584
  if (i = t, t = f.times(i.plus(y(s, i, c, 1))), x(i.c).slice(0, n) === (r = x(t.c)).slice(0, n))
585
585
  if (t.e < o && --n, r = r.slice(n - 3, n + 1), r == "9999" || !u && r == "4999") {
586
- if (!u && (te(i, i.e + C + 2, 0), i.times(i).eq(s))) {
586
+ if (!u && (te(i, i.e + L + 2, 0), i.times(i).eq(s))) {
587
587
  t = i;
588
588
  break;
589
589
  }
590
590
  c += 4, n += 4, u = 1;
591
591
  } else {
592
- (!+r || !+r.slice(1) && r.charAt(0) == "5") && (te(t, t.e + C + 2, 1), e = !t.times(t).eq(s));
592
+ (!+r || !+r.slice(1) && r.charAt(0) == "5") && (te(t, t.e + L + 2, 1), e = !t.times(t).eq(s));
593
593
  break;
594
594
  }
595
595
  }
596
- return te(t, t.e + C + 1, j, e);
596
+ return te(t, t.e + L + 1, j, e);
597
597
  }, d.toExponential = function(e, r) {
598
598
  return e != null && (v(e, 0, P), e++), Se(this, e, r, 1);
599
599
  }, d.toFixed = function(e, r) {
@@ -603,7 +603,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
603
603
  if (t == null)
604
604
  e != null && r && typeof r == "object" ? (t = r, r = null) : e && typeof e == "object" ? (t = e, e = r = null) : t = Be;
605
605
  else if (typeof t != "object")
606
- throw Error(U + "Argument not an object: " + t);
606
+ throw Error(D + "Argument not an object: " + t);
607
607
  if (u = i.toFixed(e, r), i.c) {
608
608
  var s, a = u.split("."), n = +t.groupSize, o = +t.secondaryGroupSize, c = t.groupSeparator || "", f = a[0], h = a[1], E = i.s < 0, A = E ? f.slice(1) : f, S = A.length;
609
609
  if (o && (s = n, n = o, o = s, S -= s), n > 0 && S > 0) {
@@ -619,7 +619,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
619
619
  }, d.toFraction = function(e) {
620
620
  var r, t, u, i, s, a, n, o, c, f, h, E, A = this, S = A.c;
621
621
  if (e != null && (n = new p(e), !n.isInteger() && (n.c || n.s !== 1) || n.lt(V)))
622
- throw Error(U + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + ue(n));
622
+ throw Error(D + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + ue(n));
623
623
  if (!S) return new p(A);
624
624
  for (r = new p(V), c = t = new p(V), u = o = new p(V), E = x(S), s = r.e = E.length - A.e - 1, r.c[0] = X[(a = s % N) < 0 ? N + a : a], e = !e || n.comparedTo(r) > 0 ? s > 0 ? r : c : n, a = ie, ie = 1 / 0, n = new p(E), o.c[0] = 0; f = y(n, r, 0, 1), i = t.plus(f.times(u)), i.comparedTo(e) != 1; )
625
625
  t = u, u = i, c = o.plus(f.times(i = c)), o = i, r = n.minus(f.times(i = r)), n = i;
@@ -632,7 +632,7 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
632
632
  return e != null && v(e, 1, P), Se(this, e, r, 2);
633
633
  }, d.toString = function(e) {
634
634
  var r, t = this, u = t.s, i = t.e;
635
- return i === null ? u ? (r = "Infinity", u < 0 && (r = "-" + r)) : r = "NaN" : (e == null ? r = i <= Z || i >= ee ? oe(x(t.c), i) : Y(x(t.c), i, "0") : e === 10 && Te ? (t = te(new p(t), C + i + 1, j), r = Y(x(t.c), t.e, "0")) : (v(e, 2, ge.length, "Base"), r = b(Y(x(t.c), i, "0"), 10, e, u, !0)), u < 0 && t.c[0] && (r = "-" + r)), r;
635
+ return i === null ? u ? (r = "Infinity", u < 0 && (r = "-" + r)) : r = "NaN" : (e == null ? r = i <= Z || i >= ee ? oe(x(t.c), i) : Y(x(t.c), i, "0") : e === 10 && Te ? (t = te(new p(t), L + i + 1, j), r = Y(x(t.c), t.e, "0")) : (v(e, 2, ge.length, "Base"), r = b(Y(x(t.c), i, "0"), 10, e, u, !0)), u < 0 && t.c[0] && (r = "-" + r)), r;
636
636
  }, d.valueOf = d.toJSON = function() {
637
637
  return ue(this);
638
638
  }, d._isBigNumber = !0, O != null && p.set(O), p;
@@ -650,18 +650,18 @@ var xe = { exports: {} }, He = { exports: {} }, Ke = { exports: {} };
650
650
  return V.slice(0, d + 1 || 1);
651
651
  }
652
652
  function R(O, y) {
653
- var b, q, d = O.c, V = y.c, C = O.s, j = y.s, Z = O.e, ee = y.e;
654
- if (!C || !j) return null;
655
- if (b = d && !d[0], q = V && !V[0], b || q) return b ? q ? 0 : -j : C;
656
- if (C != j) return C;
657
- if (b = C < 0, q = Z == ee, !d || !V) return q ? 0 : !d ^ b ? 1 : -1;
653
+ var b, q, d = O.c, V = y.c, L = O.s, j = y.s, Z = O.e, ee = y.e;
654
+ if (!L || !j) return null;
655
+ if (b = d && !d[0], q = V && !V[0], b || q) return b ? q ? 0 : -j : L;
656
+ if (L != j) return L;
657
+ if (b = L < 0, q = Z == ee, !d || !V) return q ? 0 : !d ^ b ? 1 : -1;
658
658
  if (!q) return Z > ee ^ b ? 1 : -1;
659
- for (j = (Z = d.length) < (ee = V.length) ? Z : ee, C = 0; C < j; C++) if (d[C] != V[C]) return d[C] > V[C] ^ b ? 1 : -1;
659
+ for (j = (Z = d.length) < (ee = V.length) ? Z : ee, L = 0; L < j; L++) if (d[L] != V[L]) return d[L] > V[L] ^ b ? 1 : -1;
660
660
  return Z == ee ? 0 : Z > ee ^ b ? 1 : -1;
661
661
  }
662
662
  function v(O, y, b, q) {
663
- if (O < y || O > b || O !== L(O))
664
- throw Error(U + (q || "Argument") + (typeof O == "number" ? O < y || O > b ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(O));
663
+ if (O < y || O > b || O !== U(O))
664
+ throw Error(D + (q || "Argument") + (typeof O == "number" ? O < y || O > b ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(O));
665
665
  }
666
666
  function W(O) {
667
667
  var y = O.c.length - 1;
@@ -688,7 +688,7 @@ var Xe = Ke.exports;
688
688
  (function(l) {
689
689
  var g = Xe, w = l.exports;
690
690
  (function() {
691
- var m = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, D, L, U = {
691
+ var m = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, C, U, D = {
692
692
  // table of character substitutions
693
693
  "\b": "\\b",
694
694
  " ": "\\t",
@@ -700,12 +700,12 @@ var Xe = Ke.exports;
700
700
  }, I;
701
701
  function H(M) {
702
702
  return m.lastIndex = 0, m.test(M) ? '"' + M.replace(m, function(X) {
703
- var B = U[X];
703
+ var B = D[X];
704
704
  return typeof B == "string" ? B : "\\u" + ("0000" + X.charCodeAt(0).toString(16)).slice(-4);
705
705
  }) + '"' : '"' + M + '"';
706
706
  }
707
707
  function N(M, X) {
708
- var B, P, re, _, x = D, R, v = X[M], W = v != null && (v instanceof g || g.isBigNumber(v));
708
+ var B, P, re, _, x = C, R, v = X[M], W = v != null && (v instanceof g || g.isBigNumber(v));
709
709
  switch (v && typeof v == "object" && typeof v.toJSON == "function" && (v = v.toJSON(M)), typeof I == "function" && (v = I.call(X, M, v)), typeof v) {
710
710
  case "string":
711
711
  return W ? v : H(v);
@@ -718,34 +718,34 @@ var Xe = Ke.exports;
718
718
  case "object":
719
719
  if (!v)
720
720
  return "null";
721
- if (D += L, R = [], Object.prototype.toString.apply(v) === "[object Array]") {
721
+ if (C += U, R = [], Object.prototype.toString.apply(v) === "[object Array]") {
722
722
  for (_ = v.length, B = 0; B < _; B += 1)
723
723
  R[B] = N(B, v) || "null";
724
- return re = R.length === 0 ? "[]" : D ? `[
725
- ` + D + R.join(`,
726
- ` + D) + `
727
- ` + x + "]" : "[" + R.join(",") + "]", D = x, re;
724
+ return re = R.length === 0 ? "[]" : C ? `[
725
+ ` + C + R.join(`,
726
+ ` + C) + `
727
+ ` + x + "]" : "[" + R.join(",") + "]", C = x, re;
728
728
  }
729
729
  if (I && typeof I == "object")
730
730
  for (_ = I.length, B = 0; B < _; B += 1)
731
- typeof I[B] == "string" && (P = I[B], re = N(P, v), re && R.push(H(P) + (D ? ": " : ":") + re));
731
+ typeof I[B] == "string" && (P = I[B], re = N(P, v), re && R.push(H(P) + (C ? ": " : ":") + re));
732
732
  else
733
733
  Object.keys(v).forEach(function(oe) {
734
734
  var Y = N(oe, v);
735
- Y && R.push(H(oe) + (D ? ": " : ":") + Y);
735
+ Y && R.push(H(oe) + (C ? ": " : ":") + Y);
736
736
  });
737
- return re = R.length === 0 ? "{}" : D ? `{
738
- ` + D + R.join(`,
739
- ` + D) + `
740
- ` + x + "}" : "{" + R.join(",") + "}", D = x, re;
737
+ return re = R.length === 0 ? "{}" : C ? `{
738
+ ` + C + R.join(`,
739
+ ` + C) + `
740
+ ` + x + "}" : "{" + R.join(",") + "}", C = x, re;
741
741
  }
742
742
  }
743
743
  typeof w.stringify != "function" && (w.stringify = function(M, X, B) {
744
744
  var P;
745
- if (D = "", L = "", typeof B == "number")
745
+ if (C = "", U = "", typeof B == "number")
746
746
  for (P = 0; P < B; P += 1)
747
- L += " ";
748
- else typeof B == "string" && (L = B);
747
+ U += " ";
748
+ else typeof B == "string" && (U = B);
749
749
  if (I = X, X && typeof X != "function" && (typeof X != "object" || typeof X.length != "number"))
750
750
  throw new Error("JSON.stringify");
751
751
  return N("", { "": M });
@@ -783,7 +783,7 @@ var gr = function(l) {
783
783
  `Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${l.protoAction}`
784
784
  );
785
785
  }
786
- var w, m, D = {
786
+ var w, m, C = {
787
787
  '"': '"',
788
788
  "\\": "\\",
789
789
  "/": "/",
@@ -793,15 +793,15 @@ var gr = function(l) {
793
793
  `,
794
794
  r: "\r",
795
795
  t: " "
796
- }, L, U = function(_) {
796
+ }, U, D = function(_) {
797
797
  throw {
798
798
  name: "SyntaxError",
799
799
  message: _,
800
800
  at: w,
801
- text: L
801
+ text: U
802
802
  };
803
803
  }, I = function(_) {
804
- return _ && _ !== m && U("Expected '" + _ + "' instead of '" + m + "'"), m = L.charAt(w), w += 1, m;
804
+ return _ && _ !== m && D("Expected '" + _ + "' instead of '" + m + "'"), m = U.charAt(w), w += 1, m;
805
805
  }, H = function() {
806
806
  var _, x = "";
807
807
  for (m === "-" && (x = "-", I("-")); m >= "0" && m <= "9"; )
@@ -813,7 +813,7 @@ var gr = function(l) {
813
813
  for (x += m, I(), (m === "-" || m === "+") && (x += m, I()); m >= "0" && m <= "9"; )
814
814
  x += m, I();
815
815
  if (_ = +x, !isFinite(_))
816
- U("Bad number");
816
+ D("Bad number");
817
817
  else
818
818
  return Ne == null && (Ne = Xe), x.length > 15 ? g.storeAsString ? x : g.useNativeBigInt ? BigInt(x) : new Ne(x) : g.alwaysParseAsBig ? g.useNativeBigInt ? BigInt(_) : new Ne(_) : _;
819
819
  }, N = function() {
@@ -821,20 +821,20 @@ var gr = function(l) {
821
821
  if (m === '"')
822
822
  for (var W = w; I(); ) {
823
823
  if (m === '"')
824
- return w - 1 > W && (R += L.substring(W, w - 1)), I(), R;
824
+ return w - 1 > W && (R += U.substring(W, w - 1)), I(), R;
825
825
  if (m === "\\") {
826
- if (w - 1 > W && (R += L.substring(W, w - 1)), I(), m === "u") {
826
+ if (w - 1 > W && (R += U.substring(W, w - 1)), I(), m === "u") {
827
827
  for (v = 0, x = 0; x < 4 && (_ = parseInt(I(), 16), !!isFinite(_)); x += 1)
828
828
  v = v * 16 + _;
829
829
  R += String.fromCharCode(v);
830
- } else if (typeof D[m] == "string")
831
- R += D[m];
830
+ } else if (typeof C[m] == "string")
831
+ R += C[m];
832
832
  else
833
833
  break;
834
834
  W = w;
835
835
  }
836
836
  }
837
- U("Bad string");
837
+ D("Bad string");
838
838
  }, M = function() {
839
839
  for (; m && m <= " "; )
840
840
  I();
@@ -847,7 +847,7 @@ var gr = function(l) {
847
847
  case "n":
848
848
  return I("n"), I("u"), I("l"), I("l"), null;
849
849
  }
850
- U("Unexpected '" + m + "'");
850
+ D("Unexpected '" + m + "'");
851
851
  }, B, P = function() {
852
852
  var _ = [];
853
853
  if (m === "[") {
@@ -859,19 +859,19 @@ var gr = function(l) {
859
859
  I(","), M();
860
860
  }
861
861
  }
862
- U("Bad array");
862
+ D("Bad array");
863
863
  }, re = function() {
864
864
  var _, x = /* @__PURE__ */ Object.create(null);
865
865
  if (m === "{") {
866
866
  if (I("{"), M(), m === "}")
867
867
  return I("}"), x;
868
868
  for (; m; ) {
869
- if (_ = N(), M(), I(":"), g.strict === !0 && Object.hasOwnProperty.call(x, _) && U('Duplicate key "' + _ + '"'), hr.test(_) === !0 ? g.protoAction === "error" ? U("Object contains forbidden prototype property") : g.protoAction === "ignore" ? B() : x[_] = B() : pr.test(_) === !0 ? g.constructorAction === "error" ? U("Object contains forbidden constructor property") : g.constructorAction === "ignore" ? B() : x[_] = B() : x[_] = B(), M(), m === "}")
869
+ if (_ = N(), M(), I(":"), g.strict === !0 && Object.hasOwnProperty.call(x, _) && D('Duplicate key "' + _ + '"'), hr.test(_) === !0 ? g.protoAction === "error" ? D("Object contains forbidden prototype property") : g.protoAction === "ignore" ? B() : x[_] = B() : pr.test(_) === !0 ? g.constructorAction === "error" ? D("Object contains forbidden constructor property") : g.constructorAction === "ignore" ? B() : x[_] = B() : x[_] = B(), M(), m === "}")
870
870
  return I("}"), x;
871
871
  I(","), M();
872
872
  }
873
873
  }
874
- U("Bad object");
874
+ D("Bad object");
875
875
  };
876
876
  return B = function() {
877
877
  switch (M(), m) {
@@ -888,7 +888,7 @@ var gr = function(l) {
888
888
  }
889
889
  }, function(_, x) {
890
890
  var R;
891
- return L = _ + "", w = 0, m = " ", R = B(), M(), m && U("Syntax error"), typeof x == "function" ? function v(W, oe) {
891
+ return U = _ + "", w = 0, m = " ", R = B(), M(), m && D("Syntax error"), typeof x == "function" ? function v(W, oe) {
892
892
  var Y, O = W[oe];
893
893
  return O && typeof O == "object" && Object.keys(O).forEach(function(y) {
894
894
  Y = v(O, y), Y !== void 0 ? O[y] = Y : delete O[y];
@@ -940,8 +940,8 @@ const vr = () => {
940
940
  (g) => {
941
941
  const w = We || void 0;
942
942
  w && !g.baseURL && (g.baseURL = w);
943
- const m = ze(), D = rr() || "Bearer";
944
- return m && (g.headers.Authorization = `${D} ${m}`), g;
943
+ const m = ze(), C = rr() || "Bearer";
944
+ return m && (g.headers.Authorization = `${C} ${m}`), g;
945
945
  },
946
946
  (g) => Promise.reject(g)
947
947
  ), l.interceptors.response.use(
@@ -950,11 +950,11 @@ const vr = () => {
950
950
  return w.code === 200 || w.code === 0 ? w.data : w.code === 9121 ? (ce.error("登录已过期,请重新登录"), Ue(), window.location.href = De(), Promise.reject(new Error(w.message || "EXPIRED OR INVALID TOKEN"))) : (ce.error(w.message || "请求失败"), Promise.reject(new Error(w.message || "请求失败")));
951
951
  },
952
952
  (g) => {
953
- var m;
953
+ var m, C;
954
954
  const { response: w } = g;
955
955
  if (w) {
956
- const { data: D } = w;
957
- if ((D == null ? void 0 : D.code) === 9121)
956
+ const { data: U } = w;
957
+ if ((U == null ? void 0 : U.code) === 9121)
958
958
  return ce.error("登录已过期,请重新登录"), Ue(), window.location.href = De(), Promise.reject(g);
959
959
  switch (w.status) {
960
960
  case 401:
@@ -967,10 +967,10 @@ const vr = () => {
967
967
  ce.error("请求资源不存在");
968
968
  break;
969
969
  case 500:
970
- ce.error("服务器错误");
970
+ ce.error(((m = w.data) == null ? void 0 : m.message) || "服务器错误");
971
971
  break;
972
972
  default:
973
- ce.error(((m = w.data) == null ? void 0 : m.message) || "请求失败");
973
+ ce.error(((C = w.data) == null ? void 0 : C.message) || "请求失败");
974
974
  }
975
975
  } else
976
976
  ce.error("网络连接失败");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xto-fronted",
3
- "version": "0.4.111",
3
+ "version": "0.4.113",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "XTO 前端应用框架",
@@ -156,7 +156,7 @@ const createRequest = (): AxiosInstance => {
156
156
  Message.error('请求资源不存在')
157
157
  break
158
158
  case 500:
159
- Message.error('服务器错误')
159
+ Message.error(response.data?.message || '服务器错误')
160
160
  break
161
161
  default:
162
162
  Message.error(response.data?.message || '请求失败')