@farris/ui-vue 1.7.0-beta.3 → 1.7.0-beta.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 (99) hide show
  1. package/components/avatar/index.esm.js +10 -1
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/calendar/index.esm.js +178 -176
  4. package/components/calendar/index.umd.cjs +2 -2
  5. package/components/collection-property-editor/index.esm.js +48 -46
  6. package/components/collection-property-editor/index.umd.cjs +2 -2
  7. package/components/combo-list/index.esm.js +319 -300
  8. package/components/combo-list/index.umd.cjs +1 -1
  9. package/components/comment/index.esm.js +2287 -1161
  10. package/components/comment/index.umd.cjs +7 -7
  11. package/components/component/index.esm.js +3 -1
  12. package/components/component/index.umd.cjs +2 -2
  13. package/components/condition/index.esm.js +926 -901
  14. package/components/condition/index.umd.cjs +2 -2
  15. package/components/data-view/index.esm.js +898 -899
  16. package/components/data-view/index.umd.cjs +1 -1
  17. package/components/drawer/index.esm.js +3 -1
  18. package/components/drawer/index.umd.cjs +2 -2
  19. package/components/dynamic-form/index.esm.js +239 -221
  20. package/components/dynamic-form/index.umd.cjs +1 -1
  21. package/components/dynamic-resolver/index.esm.js +11 -9
  22. package/components/dynamic-resolver/index.umd.cjs +2 -2
  23. package/components/expression-editor/index.esm.js +1299 -1279
  24. package/components/expression-editor/index.umd.cjs +4 -4
  25. package/components/filter-bar/index.esm.js +731 -678
  26. package/components/filter-bar/index.umd.cjs +2 -2
  27. package/components/filter-condition-editor/index.esm.js +1792 -1772
  28. package/components/filter-condition-editor/index.umd.cjs +4 -4
  29. package/components/image/index.esm.js +246 -240
  30. package/components/image/index.umd.cjs +2 -2
  31. package/components/language-textbox/index.esm.js +9 -7
  32. package/components/language-textbox/index.umd.cjs +2 -2
  33. package/components/list-view/index.esm.js +1 -1
  34. package/components/list-view/index.umd.cjs +1 -1
  35. package/components/locale/index.esm.js +2009 -886
  36. package/components/locale/index.umd.cjs +6 -6
  37. package/components/number-range/index.esm.js +190 -181
  38. package/components/number-range/index.umd.cjs +1 -1
  39. package/components/order/index.esm.js +734 -714
  40. package/components/order/index.umd.cjs +5 -5
  41. package/components/property-panel/index.esm.js +60 -49
  42. package/components/property-panel/index.umd.cjs +3 -3
  43. package/components/query-solution/index.esm.js +2461 -2500
  44. package/components/query-solution/index.umd.cjs +6 -6
  45. package/components/radio-group/index.esm.js +30 -30
  46. package/components/radio-group/index.umd.cjs +1 -1
  47. package/components/schema-selector/index.esm.js +238 -238
  48. package/components/schema-selector/index.umd.cjs +4 -4
  49. package/components/section/index.esm.js +217 -302
  50. package/components/section/index.umd.cjs +2 -2
  51. package/components/sort-condition-editor/index.esm.js +1793 -1773
  52. package/components/sort-condition-editor/index.umd.cjs +4 -4
  53. package/components/transfer/index.esm.js +155 -155
  54. package/components/transfer/index.umd.cjs +3 -3
  55. package/designer/data-grid/index.esm.js +895 -867
  56. package/designer/data-grid/index.umd.cjs +5 -5
  57. package/designer/data-view/index.esm.js +145 -144
  58. package/designer/data-view/index.umd.cjs +2 -2
  59. package/designer/drawer/index.esm.js +73 -71
  60. package/designer/drawer/index.umd.cjs +2 -2
  61. package/designer/dynamic-form/index.esm.js +87 -65
  62. package/designer/dynamic-form/index.umd.cjs +2 -2
  63. package/designer/farris-designer.all.esm.js +14 -3
  64. package/designer/farris-designer.all.umd.cjs +3 -3
  65. package/designer/input-group/index.esm.js +34 -14
  66. package/designer/input-group/index.umd.cjs +1 -1
  67. package/designer/list-view/index.esm.js +1 -1
  68. package/designer/list-view/index.umd.cjs +1 -1
  69. package/designer/radio-group/index.esm.js +15 -2
  70. package/designer/radio-group/index.umd.cjs +1 -1
  71. package/designer/section/index.esm.js +129 -119
  72. package/designer/section/index.umd.cjs +1 -1
  73. package/designer/time-picker/index.esm.js +140 -131
  74. package/designer/time-picker/index.umd.cjs +1 -1
  75. package/farris.all.esm.js +13578 -12394
  76. package/farris.all.umd.cjs +26 -26
  77. package/index.css +1 -1
  78. package/locales/data-grid/ui/en.json +2 -1
  79. package/locales/data-grid/ui/zh-CHS.json +2 -1
  80. package/locales/data-grid/ui/zh-CHT.json +2 -1
  81. package/locales/designer/en.json +12 -10
  82. package/locales/designer/zh-CHS.json +19 -17
  83. package/locales/designer/zh-CHT.json +19 -17
  84. package/locales/ui/en.json +4 -2
  85. package/locales/ui/zh-CHS.json +11 -9
  86. package/locales/ui/zh-CHT.json +11 -9
  87. package/package.json +1 -1
  88. package/package.zip +0 -0
  89. package/types/combo-list/src/composition/types.d.ts +1 -0
  90. package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +1 -1
  91. package/types/condition/src/composition/use-field-config.d.ts +1 -1
  92. package/types/condition/src/condition.props.d.ts +1 -1
  93. package/types/data-view/designer/property-config/use-command-option.d.ts +12 -0
  94. package/types/image/src/property-config/image.property-config.d.ts +5 -5
  95. package/types/locale/src/lib/locale.service.d.ts +2 -2
  96. package/types/property-panel/src/composition/entity/input-base-property.d.ts +7 -0
  97. package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +0 -20
  98. package/types/section/src/designer/section.design.props.d.ts +17 -0
  99. package/types/section/src/section.props.d.ts +0 -25
@@ -1,119 +1,119 @@
1
- var bt = Object.defineProperty;
2
- var wt = (e, t, n) => t in e ? bt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var de = (e, t, n) => wt(e, typeof t != "symbol" ? t + "" : t, n);
1
+ var xt = Object.defineProperty;
2
+ var wt = (e, t, n) => t in e ? xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var fe = (e, t, n) => wt(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { createI18n as Et } from "vue-i18n";
5
- const St = Symbol("LOCALE_SERVICE"), Fe = "zh-CHS", Rt = {
6
- locale: Fe,
7
- fallbackLocale: Fe,
5
+ const Tt = Symbol("LOCALE_SERVICE"), De = "zh-CHS", St = {
6
+ locale: De,
7
+ fallbackLocale: De,
8
8
  uri: ""
9
9
  };
10
- function Je(e, t) {
10
+ function Ye(e, t) {
11
11
  return function() {
12
12
  return e.apply(t, arguments);
13
13
  };
14
14
  }
15
- const { toString: Tt } = Object.prototype, { getPrototypeOf: Se } = Object, { iterator: oe, toStringTag: Ke } = Symbol, ie = /* @__PURE__ */ ((e) => (t) => {
16
- const n = Tt.call(t);
15
+ const { toString: Ct } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: se, toStringTag: Ke } = Symbol, ae = /* @__PURE__ */ ((e) => (t) => {
16
+ const n = Ct.call(t);
17
17
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
18
- })(/* @__PURE__ */ Object.create(null)), F = (e) => (e = e.toLowerCase(), (t) => ie(t) === e), ae = (e) => (t) => typeof t === e, { isArray: H } = Array, v = ae("undefined");
19
- function W(e) {
20
- return e !== null && !v(e) && e.constructor !== null && !v(e.constructor) && x(e.constructor.isBuffer) && e.constructor.isBuffer(e);
18
+ })(/* @__PURE__ */ Object.create(null)), D = (e) => (e = e.toLowerCase(), (t) => ae(t) === e), ie = (e) => (t) => typeof t === e, { isArray: _ } = Array, j = ie("undefined");
19
+ function z(e) {
20
+ return e !== null && !j(e) && e.constructor !== null && !j(e.constructor) && O(e.constructor.isBuffer) && e.constructor.isBuffer(e);
21
21
  }
22
- const Xe = F("ArrayBuffer");
22
+ const Ge = D("ArrayBuffer");
23
23
  function Ot(e) {
24
24
  let t;
25
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Xe(e.buffer), t;
25
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ge(e.buffer), t;
26
26
  }
27
- const xt = ae("string"), x = ae("function"), Ge = ae("number"), J = (e) => e !== null && typeof e == "object", At = (e) => e === !0 || e === !1, ee = (e) => {
28
- if (ie(e) !== "object")
27
+ const kt = ie("string"), O = ie("function"), Qe = ie("number"), J = (e) => e !== null && typeof e == "object", Rt = (e) => e === !0 || e === !1, ee = (e) => {
28
+ if (ae(e) !== "object")
29
29
  return !1;
30
- const t = Se(e);
31
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ke in e) && !(oe in e);
32
- }, Ct = (e) => {
33
- if (!J(e) || W(e))
30
+ const t = Ee(e);
31
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ke in e) && !(se in e);
32
+ }, At = (e) => {
33
+ if (!J(e) || z(e))
34
34
  return !1;
35
35
  try {
36
36
  return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
37
37
  } catch {
38
38
  return !1;
39
39
  }
40
- }, Lt = F("Date"), kt = F("File"), Ft = F("Blob"), Nt = F("FileList"), Pt = (e) => J(e) && x(e.pipe), Dt = (e) => {
40
+ }, Lt = D("Date"), Dt = D("File"), Ft = D("Blob"), Mt = D("FileList"), vt = (e) => J(e) && O(e.pipe), Nt = (e) => {
41
41
  let t;
42
- return e && (typeof FormData == "function" && e instanceof FormData || x(e.append) && ((t = ie(e)) === "formdata" || // detect form-data instance
43
- t === "object" && x(e.toString) && e.toString() === "[object FormData]"));
44
- }, Bt = F("URLSearchParams"), [Ut, Mt, _t, qt] = ["ReadableStream", "Request", "Response", "Headers"].map(F), jt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
45
- function K(e, t, { allOwnKeys: n = !1 } = {}) {
42
+ return e && (typeof FormData == "function" && e instanceof FormData || O(e.append) && ((t = ae(e)) === "formdata" || // detect form-data instance
43
+ t === "object" && O(e.toString) && e.toString() === "[object FormData]"));
44
+ }, Pt = D("URLSearchParams"), [Bt, qt, Ut, $t] = ["ReadableStream", "Request", "Response", "Headers"].map(D), It = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
45
+ function Y(e, t, { allOwnKeys: n = !1 } = {}) {
46
46
  if (e === null || typeof e > "u")
47
47
  return;
48
- let r, s;
49
- if (typeof e != "object" && (e = [e]), H(e))
50
- for (r = 0, s = e.length; r < s; r++)
48
+ let r, o;
49
+ if (typeof e != "object" && (e = [e]), _(e))
50
+ for (r = 0, o = e.length; r < o; r++)
51
51
  t.call(null, e[r], r, e);
52
52
  else {
53
- if (W(e))
53
+ if (z(e))
54
54
  return;
55
- const i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), o = i.length;
55
+ const a = n ? Object.getOwnPropertyNames(e) : Object.keys(e), s = a.length;
56
56
  let l;
57
- for (r = 0; r < o; r++)
58
- l = i[r], t.call(null, e[l], l, e);
57
+ for (r = 0; r < s; r++)
58
+ l = a[r], t.call(null, e[l], l, e);
59
59
  }
60
60
  }
61
- function Ye(e, t) {
62
- if (W(e))
61
+ function Xe(e, t) {
62
+ if (z(e))
63
63
  return null;
64
64
  t = t.toLowerCase();
65
65
  const n = Object.keys(e);
66
- let r = n.length, s;
66
+ let r = n.length, o;
67
67
  for (; r-- > 0; )
68
- if (s = n[r], t === s.toLowerCase())
69
- return s;
68
+ if (o = n[r], t === o.toLowerCase())
69
+ return o;
70
70
  return null;
71
71
  }
72
- const _ = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Qe = (e) => !v(e) && e !== _;
72
+ const q = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ze = (e) => !j(e) && e !== q;
73
73
  function ye() {
74
- const { caseless: e, skipUndefined: t } = Qe(this) && this || {}, n = {}, r = (s, i) => {
75
- const o = e && Ye(n, i) || i;
76
- ee(n[o]) && ee(s) ? n[o] = ye(n[o], s) : ee(s) ? n[o] = ye({}, s) : H(s) ? n[o] = s.slice() : (!t || !v(s)) && (n[o] = s);
74
+ const { caseless: e, skipUndefined: t } = Ze(this) && this || {}, n = {}, r = (o, a) => {
75
+ const s = e && Xe(n, a) || a;
76
+ ee(n[s]) && ee(o) ? n[s] = ye(n[s], o) : ee(o) ? n[s] = ye({}, o) : _(o) ? n[s] = o.slice() : (!t || !j(o)) && (n[s] = o);
77
77
  };
78
- for (let s = 0, i = arguments.length; s < i; s++)
79
- arguments[s] && K(arguments[s], r);
78
+ for (let o = 0, a = arguments.length; o < a; o++)
79
+ arguments[o] && Y(arguments[o], r);
80
80
  return n;
81
81
  }
82
- const It = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
83
- n && x(s) ? e[i] = Je(s, n) : e[i] = s;
84
- }, { allOwnKeys: r }), e), vt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ht = (e, t, n, r) => {
82
+ const jt = (e, t, n, { allOwnKeys: r } = {}) => (Y(t, (o, a) => {
83
+ n && O(o) ? e[a] = Ye(o, n) : e[a] = o;
84
+ }, { allOwnKeys: r }), e), _t = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Wt = (e, t, n, r) => {
85
85
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
86
86
  value: t.prototype
87
87
  }), n && Object.assign(e.prototype, n);
88
- }, $t = (e, t, n, r) => {
89
- let s, i, o;
88
+ }, Ht = (e, t, n, r) => {
89
+ let o, a, s;
90
90
  const l = {};
91
91
  if (t = t || {}, e == null) return t;
92
92
  do {
93
- for (s = Object.getOwnPropertyNames(e), i = s.length; i-- > 0; )
94
- o = s[i], (!r || r(o, e, t)) && !l[o] && (t[o] = e[o], l[o] = !0);
95
- e = n !== !1 && Se(e);
93
+ for (o = Object.getOwnPropertyNames(e), a = o.length; a-- > 0; )
94
+ s = o[a], (!r || r(s, e, t)) && !l[s] && (t[s] = e[s], l[s] = !0);
95
+ e = n !== !1 && Ee(e);
96
96
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
97
97
  return t;
98
- }, zt = (e, t, n) => {
98
+ }, Vt = (e, t, n) => {
99
99
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
100
100
  const r = e.indexOf(t, n);
101
101
  return r !== -1 && r === n;
102
- }, Vt = (e) => {
102
+ }, zt = (e) => {
103
103
  if (!e) return null;
104
- if (H(e)) return e;
104
+ if (_(e)) return e;
105
105
  let t = e.length;
106
- if (!Ge(t)) return null;
106
+ if (!Qe(t)) return null;
107
107
  const n = new Array(t);
108
108
  for (; t-- > 0; )
109
109
  n[t] = e[t];
110
110
  return n;
111
- }, Wt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Se(Uint8Array)), Jt = (e, t) => {
112
- const r = (e && e[oe]).call(e);
113
- let s;
114
- for (; (s = r.next()) && !s.done; ) {
115
- const i = s.value;
116
- t.call(e, i[0], i[1]);
111
+ }, Jt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ee(Uint8Array)), Yt = (e, t) => {
112
+ const r = (e && e[se]).call(e);
113
+ let o;
114
+ for (; (o = r.next()) && !o.done; ) {
115
+ const a = o.value;
116
+ t.call(e, a[0], a[1]);
117
117
  }
118
118
  }, Kt = (e, t) => {
119
119
  let n;
@@ -121,23 +121,23 @@ const It = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
121
121
  for (; (n = e.exec(t)) !== null; )
122
122
  r.push(n);
123
123
  return r;
124
- }, Xt = F("HTMLFormElement"), Gt = (e) => e.toLowerCase().replace(
124
+ }, Gt = D("HTMLFormElement"), Qt = (e) => e.toLowerCase().replace(
125
125
  /[-_\s]([a-z\d])(\w*)/g,
126
- function(n, r, s) {
127
- return r.toUpperCase() + s;
126
+ function(n, r, o) {
127
+ return r.toUpperCase() + o;
128
128
  }
129
- ), Ne = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Yt = F("RegExp"), Ze = (e, t) => {
129
+ ), Fe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Xt = D("RegExp"), et = (e, t) => {
130
130
  const n = Object.getOwnPropertyDescriptors(e), r = {};
131
- K(n, (s, i) => {
132
- let o;
133
- (o = t(s, i, e)) !== !1 && (r[i] = o || s);
131
+ Y(n, (o, a) => {
132
+ let s;
133
+ (s = t(o, a, e)) !== !1 && (r[a] = s || o);
134
134
  }), Object.defineProperties(e, r);
135
- }, Qt = (e) => {
136
- Ze(e, (t, n) => {
137
- if (x(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
135
+ }, Zt = (e) => {
136
+ et(e, (t, n) => {
137
+ if (O(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
138
138
  return !1;
139
139
  const r = e[n];
140
- if (x(r)) {
140
+ if (O(r)) {
141
141
  if (t.enumerable = !1, "writable" in t) {
142
142
  t.writable = !1;
143
143
  return;
@@ -147,108 +147,108 @@ const It = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
147
147
  });
148
148
  }
149
149
  });
150
- }, Zt = (e, t) => {
151
- const n = {}, r = (s) => {
152
- s.forEach((i) => {
153
- n[i] = !0;
150
+ }, en = (e, t) => {
151
+ const n = {}, r = (o) => {
152
+ o.forEach((a) => {
153
+ n[a] = !0;
154
154
  });
155
155
  };
156
- return H(e) ? r(e) : r(String(e).split(t)), n;
157
- }, en = () => {
158
- }, tn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
159
- function nn(e) {
160
- return !!(e && x(e.append) && e[Ke] === "FormData" && e[oe]);
156
+ return _(e) ? r(e) : r(String(e).split(t)), n;
157
+ }, tn = () => {
158
+ }, nn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
159
+ function rn(e) {
160
+ return !!(e && O(e.append) && e[Ke] === "FormData" && e[se]);
161
161
  }
162
- const rn = (e) => {
163
- const t = new Array(10), n = (r, s) => {
162
+ const on = (e) => {
163
+ const t = new Array(10), n = (r, o) => {
164
164
  if (J(r)) {
165
165
  if (t.indexOf(r) >= 0)
166
166
  return;
167
- if (W(r))
167
+ if (z(r))
168
168
  return r;
169
169
  if (!("toJSON" in r)) {
170
- t[s] = r;
171
- const i = H(r) ? [] : {};
172
- return K(r, (o, l) => {
173
- const d = n(o, s + 1);
174
- !v(d) && (i[l] = d);
175
- }), t[s] = void 0, i;
170
+ t[o] = r;
171
+ const a = _(r) ? [] : {};
172
+ return Y(r, (s, l) => {
173
+ const f = n(s, o + 1);
174
+ !j(f) && (a[l] = f);
175
+ }), t[o] = void 0, a;
176
176
  }
177
177
  }
178
178
  return r;
179
179
  };
180
180
  return n(e, 0);
181
- }, sn = F("AsyncFunction"), on = (e) => e && (J(e) || x(e)) && x(e.then) && x(e.catch), et = ((e, t) => e ? setImmediate : t ? ((n, r) => (_.addEventListener("message", ({ source: s, data: i }) => {
182
- s === _ && i === n && r.length && r.shift()();
183
- }, !1), (s) => {
184
- r.push(s), _.postMessage(n, "*");
181
+ }, sn = D("AsyncFunction"), an = (e) => e && (J(e) || O(e)) && O(e.then) && O(e.catch), tt = ((e, t) => e ? setImmediate : t ? ((n, r) => (q.addEventListener("message", ({ source: o, data: a }) => {
182
+ o === q && a === n && r.length && r.shift()();
183
+ }, !1), (o) => {
184
+ r.push(o), q.postMessage(n, "*");
185
185
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
186
186
  typeof setImmediate == "function",
187
- x(_.postMessage)
188
- ), an = typeof queueMicrotask < "u" ? queueMicrotask.bind(_) : typeof process < "u" && process.nextTick || et, ln = (e) => e != null && x(e[oe]), a = {
189
- isArray: H,
190
- isArrayBuffer: Xe,
191
- isBuffer: W,
192
- isFormData: Dt,
187
+ O(q.postMessage)
188
+ ), ln = typeof queueMicrotask < "u" ? queueMicrotask.bind(q) : typeof process < "u" && process.nextTick || tt, cn = (e) => e != null && O(e[se]), i = {
189
+ isArray: _,
190
+ isArrayBuffer: Ge,
191
+ isBuffer: z,
192
+ isFormData: Nt,
193
193
  isArrayBufferView: Ot,
194
- isString: xt,
195
- isNumber: Ge,
196
- isBoolean: At,
194
+ isString: kt,
195
+ isNumber: Qe,
196
+ isBoolean: Rt,
197
197
  isObject: J,
198
198
  isPlainObject: ee,
199
- isEmptyObject: Ct,
200
- isReadableStream: Ut,
201
- isRequest: Mt,
202
- isResponse: _t,
203
- isHeaders: qt,
204
- isUndefined: v,
199
+ isEmptyObject: At,
200
+ isReadableStream: Bt,
201
+ isRequest: qt,
202
+ isResponse: Ut,
203
+ isHeaders: $t,
204
+ isUndefined: j,
205
205
  isDate: Lt,
206
- isFile: kt,
206
+ isFile: Dt,
207
207
  isBlob: Ft,
208
- isRegExp: Yt,
209
- isFunction: x,
210
- isStream: Pt,
211
- isURLSearchParams: Bt,
212
- isTypedArray: Wt,
213
- isFileList: Nt,
214
- forEach: K,
208
+ isRegExp: Xt,
209
+ isFunction: O,
210
+ isStream: vt,
211
+ isURLSearchParams: Pt,
212
+ isTypedArray: Jt,
213
+ isFileList: Mt,
214
+ forEach: Y,
215
215
  merge: ye,
216
- extend: It,
217
- trim: jt,
218
- stripBOM: vt,
219
- inherits: Ht,
220
- toFlatObject: $t,
221
- kindOf: ie,
222
- kindOfTest: F,
223
- endsWith: zt,
224
- toArray: Vt,
225
- forEachEntry: Jt,
216
+ extend: jt,
217
+ trim: It,
218
+ stripBOM: _t,
219
+ inherits: Wt,
220
+ toFlatObject: Ht,
221
+ kindOf: ae,
222
+ kindOfTest: D,
223
+ endsWith: Vt,
224
+ toArray: zt,
225
+ forEachEntry: Yt,
226
226
  matchAll: Kt,
227
- isHTMLForm: Xt,
228
- hasOwnProperty: Ne,
229
- hasOwnProp: Ne,
227
+ isHTMLForm: Gt,
228
+ hasOwnProperty: Fe,
229
+ hasOwnProp: Fe,
230
230
  // an alias to avoid ESLint no-prototype-builtins detection
231
- reduceDescriptors: Ze,
232
- freezeMethods: Qt,
233
- toObjectSet: Zt,
234
- toCamelCase: Gt,
235
- noop: en,
236
- toFiniteNumber: tn,
237
- findKey: Ye,
238
- global: _,
239
- isContextDefined: Qe,
240
- isSpecCompliantForm: nn,
241
- toJSONObject: rn,
231
+ reduceDescriptors: et,
232
+ freezeMethods: Zt,
233
+ toObjectSet: en,
234
+ toCamelCase: Qt,
235
+ noop: tn,
236
+ toFiniteNumber: nn,
237
+ findKey: Xe,
238
+ global: q,
239
+ isContextDefined: Ze,
240
+ isSpecCompliantForm: rn,
241
+ toJSONObject: on,
242
242
  isAsyncFn: sn,
243
- isThenable: on,
244
- setImmediate: et,
245
- asap: an,
246
- isIterable: ln
243
+ isThenable: an,
244
+ setImmediate: tt,
245
+ asap: ln,
246
+ isIterable: cn
247
247
  };
248
- function y(e, t, n, r, s) {
249
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
248
+ function y(e, t, n, r, o) {
249
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
250
250
  }
251
- a.inherits(y, Error, {
251
+ i.inherits(y, Error, {
252
252
  toJSON: function() {
253
253
  return {
254
254
  // Standard
@@ -263,13 +263,13 @@ a.inherits(y, Error, {
263
263
  columnNumber: this.columnNumber,
264
264
  stack: this.stack,
265
265
  // Axios
266
- config: a.toJSONObject(this.config),
266
+ config: i.toJSONObject(this.config),
267
267
  code: this.code,
268
268
  status: this.status
269
269
  };
270
270
  }
271
271
  });
272
- const tt = y.prototype, nt = {};
272
+ const nt = y.prototype, rt = {};
273
273
  [
274
274
  "ERR_BAD_OPTION_VALUE",
275
275
  "ERR_BAD_OPTION",
@@ -285,100 +285,100 @@ const tt = y.prototype, nt = {};
285
285
  "ERR_INVALID_URL"
286
286
  // eslint-disable-next-line func-names
287
287
  ].forEach((e) => {
288
- nt[e] = { value: e };
288
+ rt[e] = { value: e };
289
289
  });
290
- Object.defineProperties(y, nt);
291
- Object.defineProperty(tt, "isAxiosError", { value: !0 });
292
- y.from = (e, t, n, r, s, i) => {
293
- const o = Object.create(tt);
294
- a.toFlatObject(e, o, function(c) {
290
+ Object.defineProperties(y, rt);
291
+ Object.defineProperty(nt, "isAxiosError", { value: !0 });
292
+ y.from = (e, t, n, r, o, a) => {
293
+ const s = Object.create(nt);
294
+ i.toFlatObject(e, s, function(c) {
295
295
  return c !== Error.prototype;
296
- }, (f) => f !== "isAxiosError");
297
- const l = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
298
- return y.call(o, l, d, n, r, s), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", i && Object.assign(o, i), o;
296
+ }, (d) => d !== "isAxiosError");
297
+ const l = e && e.message ? e.message : "Error", f = t == null && e ? e.code : t;
298
+ return y.call(s, l, f, n, r, o), e && s.cause == null && Object.defineProperty(s, "cause", { value: e, configurable: !0 }), s.name = e && e.name || "Error", a && Object.assign(s, a), s;
299
299
  };
300
- const cn = null;
300
+ const un = null;
301
301
  function ge(e) {
302
- return a.isPlainObject(e) || a.isArray(e);
302
+ return i.isPlainObject(e) || i.isArray(e);
303
303
  }
304
- function rt(e) {
305
- return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
304
+ function ot(e) {
305
+ return i.endsWith(e, "[]") ? e.slice(0, -2) : e;
306
306
  }
307
- function Pe(e, t, n) {
308
- return e ? e.concat(t).map(function(s, i) {
309
- return s = rt(s), !n && i ? "[" + s + "]" : s;
307
+ function Me(e, t, n) {
308
+ return e ? e.concat(t).map(function(o, a) {
309
+ return o = ot(o), !n && a ? "[" + o + "]" : o;
310
310
  }).join(n ? "." : "") : t;
311
311
  }
312
- function un(e) {
313
- return a.isArray(e) && !e.some(ge);
312
+ function dn(e) {
313
+ return i.isArray(e) && !e.some(ge);
314
314
  }
315
- const fn = a.toFlatObject(a, {}, null, function(t) {
315
+ const fn = i.toFlatObject(i, {}, null, function(t) {
316
316
  return /^is[A-Z]/.test(t);
317
317
  });
318
318
  function le(e, t, n) {
319
- if (!a.isObject(e))
319
+ if (!i.isObject(e))
320
320
  throw new TypeError("target must be an object");
321
- t = t || new FormData(), n = a.toFlatObject(n, {
321
+ t = t || new FormData(), n = i.toFlatObject(n, {
322
322
  metaTokens: !0,
323
323
  dots: !1,
324
324
  indexes: !1
325
- }, !1, function(m, p) {
326
- return !a.isUndefined(p[m]);
325
+ }, !1, function(h, p) {
326
+ return !i.isUndefined(p[h]);
327
327
  });
328
- const r = n.metaTokens, s = n.visitor || c, i = n.dots, o = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
329
- if (!a.isFunction(s))
328
+ const r = n.metaTokens, o = n.visitor || c, a = n.dots, s = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && i.isSpecCompliantForm(t);
329
+ if (!i.isFunction(o))
330
330
  throw new TypeError("visitor must be a function");
331
- function f(u) {
331
+ function d(u) {
332
332
  if (u === null) return "";
333
- if (a.isDate(u))
333
+ if (i.isDate(u))
334
334
  return u.toISOString();
335
- if (a.isBoolean(u))
335
+ if (i.isBoolean(u))
336
336
  return u.toString();
337
- if (!d && a.isBlob(u))
337
+ if (!f && i.isBlob(u))
338
338
  throw new y("Blob is not supported. Use a Buffer instead.");
339
- return a.isArrayBuffer(u) || a.isTypedArray(u) ? d && typeof Blob == "function" ? new Blob([u]) : Buffer.from(u) : u;
339
+ return i.isArrayBuffer(u) || i.isTypedArray(u) ? f && typeof Blob == "function" ? new Blob([u]) : Buffer.from(u) : u;
340
340
  }
341
- function c(u, m, p) {
342
- let E = u;
341
+ function c(u, h, p) {
342
+ let w = u;
343
343
  if (u && !p && typeof u == "object") {
344
- if (a.endsWith(m, "{}"))
345
- m = r ? m : m.slice(0, -2), u = JSON.stringify(u);
346
- else if (a.isArray(u) && un(u) || (a.isFileList(u) || a.endsWith(m, "[]")) && (E = a.toArray(u)))
347
- return m = rt(m), E.forEach(function(S, O) {
348
- !(a.isUndefined(S) || S === null) && t.append(
344
+ if (i.endsWith(h, "{}"))
345
+ h = r ? h : h.slice(0, -2), u = JSON.stringify(u);
346
+ else if (i.isArray(u) && dn(u) || (i.isFileList(u) || i.endsWith(h, "[]")) && (w = i.toArray(u)))
347
+ return h = ot(h), w.forEach(function(E, C) {
348
+ !(i.isUndefined(E) || E === null) && t.append(
349
349
  // eslint-disable-next-line no-nested-ternary
350
- o === !0 ? Pe([m], O, i) : o === null ? m : m + "[]",
351
- f(S)
350
+ s === !0 ? Me([h], C, a) : s === null ? h : h + "[]",
351
+ d(E)
352
352
  );
353
353
  }), !1;
354
354
  }
355
- return ge(u) ? !0 : (t.append(Pe(p, m, i), f(u)), !1);
355
+ return ge(u) ? !0 : (t.append(Me(p, h, a), d(u)), !1);
356
356
  }
357
- const h = [], g = Object.assign(fn, {
357
+ const m = [], b = Object.assign(fn, {
358
358
  defaultVisitor: c,
359
- convertValue: f,
359
+ convertValue: d,
360
360
  isVisitable: ge
361
361
  });
362
- function R(u, m) {
363
- if (!a.isUndefined(u)) {
364
- if (h.indexOf(u) !== -1)
365
- throw Error("Circular reference detected in " + m.join("."));
366
- h.push(u), a.forEach(u, function(E, C) {
367
- (!(a.isUndefined(E) || E === null) && s.call(
362
+ function T(u, h) {
363
+ if (!i.isUndefined(u)) {
364
+ if (m.indexOf(u) !== -1)
365
+ throw Error("Circular reference detected in " + h.join("."));
366
+ m.push(u), i.forEach(u, function(w, R) {
367
+ (!(i.isUndefined(w) || w === null) && o.call(
368
368
  t,
369
- E,
370
- a.isString(C) ? C.trim() : C,
371
- m,
372
- g
373
- )) === !0 && R(E, m ? m.concat(C) : [C]);
374
- }), h.pop();
369
+ w,
370
+ i.isString(R) ? R.trim() : R,
371
+ h,
372
+ b
373
+ )) === !0 && T(w, h ? h.concat(R) : [R]);
374
+ }), m.pop();
375
375
  }
376
376
  }
377
- if (!a.isObject(e))
377
+ if (!i.isObject(e))
378
378
  throw new TypeError("data must be an object");
379
- return R(e), t;
379
+ return T(e), t;
380
380
  }
381
- function De(e) {
381
+ function ve(e) {
382
382
  const t = {
383
383
  "!": "%21",
384
384
  "'": "%27",
@@ -392,40 +392,40 @@ function De(e) {
392
392
  return t[r];
393
393
  });
394
394
  }
395
- function Re(e, t) {
395
+ function Te(e, t) {
396
396
  this._pairs = [], e && le(e, this, t);
397
397
  }
398
- const st = Re.prototype;
398
+ const st = Te.prototype;
399
399
  st.append = function(t, n) {
400
400
  this._pairs.push([t, n]);
401
401
  };
402
402
  st.toString = function(t) {
403
403
  const n = t ? function(r) {
404
- return t.call(this, r, De);
405
- } : De;
406
- return this._pairs.map(function(s) {
407
- return n(s[0]) + "=" + n(s[1]);
404
+ return t.call(this, r, ve);
405
+ } : ve;
406
+ return this._pairs.map(function(o) {
407
+ return n(o[0]) + "=" + n(o[1]);
408
408
  }, "").join("&");
409
409
  };
410
- function dn(e) {
410
+ function pn(e) {
411
411
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
412
412
  }
413
- function ot(e, t, n) {
413
+ function at(e, t, n) {
414
414
  if (!t)
415
415
  return e;
416
- const r = n && n.encode || dn;
417
- a.isFunction(n) && (n = {
416
+ const r = n && n.encode || pn;
417
+ i.isFunction(n) && (n = {
418
418
  serialize: n
419
419
  });
420
- const s = n && n.serialize;
421
- let i;
422
- if (s ? i = s(t, n) : i = a.isURLSearchParams(t) ? t.toString() : new Re(t, n).toString(r), i) {
423
- const o = e.indexOf("#");
424
- o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
420
+ const o = n && n.serialize;
421
+ let a;
422
+ if (o ? a = o(t, n) : a = i.isURLSearchParams(t) ? t.toString() : new Te(t, n).toString(r), a) {
423
+ const s = e.indexOf("#");
424
+ s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + a;
425
425
  }
426
426
  return e;
427
427
  }
428
- class Be {
428
+ class Ne {
429
429
  constructor() {
430
430
  this.handlers = [];
431
431
  }
@@ -474,7 +474,7 @@ class Be {
474
474
  * @returns {void}
475
475
  */
476
476
  forEach(t) {
477
- a.forEach(this.handlers, function(r) {
477
+ i.forEach(this.handlers, function(r) {
478
478
  r !== null && t(r);
479
479
  });
480
480
  }
@@ -483,109 +483,109 @@ const it = {
483
483
  silentJSONParsing: !0,
484
484
  forcedJSONParsing: !0,
485
485
  clarifyTimeoutError: !1
486
- }, pn = typeof URLSearchParams < "u" ? URLSearchParams : Re, hn = typeof FormData < "u" ? FormData : null, mn = typeof Blob < "u" ? Blob : null, yn = {
486
+ }, mn = typeof URLSearchParams < "u" ? URLSearchParams : Te, hn = typeof FormData < "u" ? FormData : null, yn = typeof Blob < "u" ? Blob : null, gn = {
487
487
  isBrowser: !0,
488
488
  classes: {
489
- URLSearchParams: pn,
489
+ URLSearchParams: mn,
490
490
  FormData: hn,
491
- Blob: mn
491
+ Blob: yn
492
492
  },
493
493
  protocols: ["http", "https", "file", "blob", "url", "data"]
494
- }, Te = typeof window < "u" && typeof document < "u", be = typeof navigator == "object" && navigator || void 0, gn = Te && (!be || ["ReactNative", "NativeScript", "NS"].indexOf(be.product) < 0), bn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
495
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wn = Te && window.location.href || "http://localhost", En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
494
+ }, Se = typeof window < "u" && typeof document < "u", be = typeof navigator == "object" && navigator || void 0, bn = Se && (!be || ["ReactNative", "NativeScript", "NS"].indexOf(be.product) < 0), xn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
495
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wn = Se && window.location.href || "http://localhost", En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
496
496
  __proto__: null,
497
- hasBrowserEnv: Te,
498
- hasStandardBrowserEnv: gn,
499
- hasStandardBrowserWebWorkerEnv: bn,
497
+ hasBrowserEnv: Se,
498
+ hasStandardBrowserEnv: bn,
499
+ hasStandardBrowserWebWorkerEnv: xn,
500
500
  navigator: be,
501
501
  origin: wn
502
- }, Symbol.toStringTag, { value: "Module" })), T = {
502
+ }, Symbol.toStringTag, { value: "Module" })), S = {
503
503
  ...En,
504
- ...yn
504
+ ...gn
505
505
  };
506
- function Sn(e, t) {
507
- return le(e, new T.classes.URLSearchParams(), {
508
- visitor: function(n, r, s, i) {
509
- return T.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
506
+ function Tn(e, t) {
507
+ return le(e, new S.classes.URLSearchParams(), {
508
+ visitor: function(n, r, o, a) {
509
+ return S.isNode && i.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
510
510
  },
511
511
  ...t
512
512
  });
513
513
  }
514
- function Rn(e) {
515
- return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
514
+ function Sn(e) {
515
+ return i.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
516
516
  }
517
- function Tn(e) {
517
+ function Cn(e) {
518
518
  const t = {}, n = Object.keys(e);
519
519
  let r;
520
- const s = n.length;
521
- let i;
522
- for (r = 0; r < s; r++)
523
- i = n[r], t[i] = e[i];
520
+ const o = n.length;
521
+ let a;
522
+ for (r = 0; r < o; r++)
523
+ a = n[r], t[a] = e[a];
524
524
  return t;
525
525
  }
526
- function at(e) {
527
- function t(n, r, s, i) {
528
- let o = n[i++];
529
- if (o === "__proto__") return !0;
530
- const l = Number.isFinite(+o), d = i >= n.length;
531
- return o = !o && a.isArray(s) ? s.length : o, d ? (a.hasOwnProp(s, o) ? s[o] = [s[o], r] : s[o] = r, !l) : ((!s[o] || !a.isObject(s[o])) && (s[o] = []), t(n, r, s[o], i) && a.isArray(s[o]) && (s[o] = Tn(s[o])), !l);
532
- }
533
- if (a.isFormData(e) && a.isFunction(e.entries)) {
526
+ function lt(e) {
527
+ function t(n, r, o, a) {
528
+ let s = n[a++];
529
+ if (s === "__proto__") return !0;
530
+ const l = Number.isFinite(+s), f = a >= n.length;
531
+ return s = !s && i.isArray(o) ? o.length : s, f ? (i.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !l) : ((!o[s] || !i.isObject(o[s])) && (o[s] = []), t(n, r, o[s], a) && i.isArray(o[s]) && (o[s] = Cn(o[s])), !l);
532
+ }
533
+ if (i.isFormData(e) && i.isFunction(e.entries)) {
534
534
  const n = {};
535
- return a.forEachEntry(e, (r, s) => {
536
- t(Rn(r), s, n, 0);
535
+ return i.forEachEntry(e, (r, o) => {
536
+ t(Sn(r), o, n, 0);
537
537
  }), n;
538
538
  }
539
539
  return null;
540
540
  }
541
541
  function On(e, t, n) {
542
- if (a.isString(e))
542
+ if (i.isString(e))
543
543
  try {
544
- return (t || JSON.parse)(e), a.trim(e);
544
+ return (t || JSON.parse)(e), i.trim(e);
545
545
  } catch (r) {
546
546
  if (r.name !== "SyntaxError")
547
547
  throw r;
548
548
  }
549
549
  return (n || JSON.stringify)(e);
550
550
  }
551
- const X = {
551
+ const K = {
552
552
  transitional: it,
553
553
  adapter: ["xhr", "http", "fetch"],
554
554
  transformRequest: [function(t, n) {
555
- const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, i = a.isObject(t);
556
- if (i && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
557
- return s ? JSON.stringify(at(t)) : t;
558
- if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t))
555
+ const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, a = i.isObject(t);
556
+ if (a && i.isHTMLForm(t) && (t = new FormData(t)), i.isFormData(t))
557
+ return o ? JSON.stringify(lt(t)) : t;
558
+ if (i.isArrayBuffer(t) || i.isBuffer(t) || i.isStream(t) || i.isFile(t) || i.isBlob(t) || i.isReadableStream(t))
559
559
  return t;
560
- if (a.isArrayBufferView(t))
560
+ if (i.isArrayBufferView(t))
561
561
  return t.buffer;
562
- if (a.isURLSearchParams(t))
562
+ if (i.isURLSearchParams(t))
563
563
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
564
564
  let l;
565
- if (i) {
565
+ if (a) {
566
566
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
567
- return Sn(t, this.formSerializer).toString();
568
- if ((l = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
569
- const d = this.env && this.env.FormData;
567
+ return Tn(t, this.formSerializer).toString();
568
+ if ((l = i.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
569
+ const f = this.env && this.env.FormData;
570
570
  return le(
571
571
  l ? { "files[]": t } : t,
572
- d && new d(),
572
+ f && new f(),
573
573
  this.formSerializer
574
574
  );
575
575
  }
576
576
  }
577
- return i || s ? (n.setContentType("application/json", !1), On(t)) : t;
577
+ return a || o ? (n.setContentType("application/json", !1), On(t)) : t;
578
578
  }],
579
579
  transformResponse: [function(t) {
580
- const n = this.transitional || X.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
581
- if (a.isResponse(t) || a.isReadableStream(t))
580
+ const n = this.transitional || K.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
581
+ if (i.isResponse(t) || i.isReadableStream(t))
582
582
  return t;
583
- if (t && a.isString(t) && (r && !this.responseType || s)) {
584
- const o = !(n && n.silentJSONParsing) && s;
583
+ if (t && i.isString(t) && (r && !this.responseType || o)) {
584
+ const s = !(n && n.silentJSONParsing) && o;
585
585
  try {
586
586
  return JSON.parse(t, this.parseReviver);
587
587
  } catch (l) {
588
- if (o)
588
+ if (s)
589
589
  throw l.name === "SyntaxError" ? y.from(l, y.ERR_BAD_RESPONSE, this, null, this.response) : l;
590
590
  }
591
591
  }
@@ -601,8 +601,8 @@ const X = {
601
601
  maxContentLength: -1,
602
602
  maxBodyLength: -1,
603
603
  env: {
604
- FormData: T.classes.FormData,
605
- Blob: T.classes.Blob
604
+ FormData: S.classes.FormData,
605
+ Blob: S.classes.Blob
606
606
  },
607
607
  validateStatus: function(t) {
608
608
  return t >= 200 && t < 300;
@@ -614,10 +614,10 @@ const X = {
614
614
  }
615
615
  }
616
616
  };
617
- a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
618
- X.headers[e] = {};
617
+ i.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
618
+ K.headers[e] = {};
619
619
  });
620
- const xn = a.toObjectSet([
620
+ const kn = i.toObjectSet([
621
621
  "age",
622
622
  "authorization",
623
623
  "content-length",
@@ -635,21 +635,21 @@ const xn = a.toObjectSet([
635
635
  "referer",
636
636
  "retry-after",
637
637
  "user-agent"
638
- ]), An = (e) => {
638
+ ]), Rn = (e) => {
639
639
  const t = {};
640
- let n, r, s;
640
+ let n, r, o;
641
641
  return e && e.split(`
642
- `).forEach(function(o) {
643
- s = o.indexOf(":"), n = o.substring(0, s).trim().toLowerCase(), r = o.substring(s + 1).trim(), !(!n || t[n] && xn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
642
+ `).forEach(function(s) {
643
+ o = s.indexOf(":"), n = s.substring(0, o).trim().toLowerCase(), r = s.substring(o + 1).trim(), !(!n || t[n] && kn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
644
644
  }), t;
645
- }, Ue = Symbol("internals");
645
+ }, Pe = Symbol("internals");
646
646
  function V(e) {
647
647
  return e && String(e).trim().toLowerCase();
648
648
  }
649
649
  function te(e) {
650
- return e === !1 || e == null ? e : a.isArray(e) ? e.map(te) : String(e);
650
+ return e === !1 || e == null ? e : i.isArray(e) ? e.map(te) : String(e);
651
651
  }
652
- function Cn(e) {
652
+ function An(e) {
653
653
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
654
654
  let r;
655
655
  for (; r = n.exec(e); )
@@ -657,114 +657,114 @@ function Cn(e) {
657
657
  return t;
658
658
  }
659
659
  const Ln = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
660
- function pe(e, t, n, r, s) {
661
- if (a.isFunction(r))
660
+ function pe(e, t, n, r, o) {
661
+ if (i.isFunction(r))
662
662
  return r.call(this, t, n);
663
- if (s && (t = n), !!a.isString(t)) {
664
- if (a.isString(r))
663
+ if (o && (t = n), !!i.isString(t)) {
664
+ if (i.isString(r))
665
665
  return t.indexOf(r) !== -1;
666
- if (a.isRegExp(r))
666
+ if (i.isRegExp(r))
667
667
  return r.test(t);
668
668
  }
669
669
  }
670
- function kn(e) {
670
+ function Dn(e) {
671
671
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
672
672
  }
673
673
  function Fn(e, t) {
674
- const n = a.toCamelCase(" " + t);
674
+ const n = i.toCamelCase(" " + t);
675
675
  ["get", "set", "has"].forEach((r) => {
676
676
  Object.defineProperty(e, r + n, {
677
- value: function(s, i, o) {
678
- return this[r].call(this, t, s, i, o);
677
+ value: function(o, a, s) {
678
+ return this[r].call(this, t, o, a, s);
679
679
  },
680
680
  configurable: !0
681
681
  });
682
682
  });
683
683
  }
684
- let A = class {
684
+ let k = class {
685
685
  constructor(t) {
686
686
  t && this.set(t);
687
687
  }
688
688
  set(t, n, r) {
689
- const s = this;
690
- function i(l, d, f) {
691
- const c = V(d);
689
+ const o = this;
690
+ function a(l, f, d) {
691
+ const c = V(f);
692
692
  if (!c)
693
693
  throw new Error("header name must be a non-empty string");
694
- const h = a.findKey(s, c);
695
- (!h || s[h] === void 0 || f === !0 || f === void 0 && s[h] !== !1) && (s[h || d] = te(l));
694
+ const m = i.findKey(o, c);
695
+ (!m || o[m] === void 0 || d === !0 || d === void 0 && o[m] !== !1) && (o[m || f] = te(l));
696
696
  }
697
- const o = (l, d) => a.forEach(l, (f, c) => i(f, c, d));
698
- if (a.isPlainObject(t) || t instanceof this.constructor)
699
- o(t, n);
700
- else if (a.isString(t) && (t = t.trim()) && !Ln(t))
701
- o(An(t), n);
702
- else if (a.isObject(t) && a.isIterable(t)) {
703
- let l = {}, d, f;
697
+ const s = (l, f) => i.forEach(l, (d, c) => a(d, c, f));
698
+ if (i.isPlainObject(t) || t instanceof this.constructor)
699
+ s(t, n);
700
+ else if (i.isString(t) && (t = t.trim()) && !Ln(t))
701
+ s(Rn(t), n);
702
+ else if (i.isObject(t) && i.isIterable(t)) {
703
+ let l = {}, f, d;
704
704
  for (const c of t) {
705
- if (!a.isArray(c))
705
+ if (!i.isArray(c))
706
706
  throw TypeError("Object iterator must return a key-value pair");
707
- l[f = c[0]] = (d = l[f]) ? a.isArray(d) ? [...d, c[1]] : [d, c[1]] : c[1];
707
+ l[d = c[0]] = (f = l[d]) ? i.isArray(f) ? [...f, c[1]] : [f, c[1]] : c[1];
708
708
  }
709
- o(l, n);
709
+ s(l, n);
710
710
  } else
711
- t != null && i(n, t, r);
711
+ t != null && a(n, t, r);
712
712
  return this;
713
713
  }
714
714
  get(t, n) {
715
715
  if (t = V(t), t) {
716
- const r = a.findKey(this, t);
716
+ const r = i.findKey(this, t);
717
717
  if (r) {
718
- const s = this[r];
718
+ const o = this[r];
719
719
  if (!n)
720
- return s;
720
+ return o;
721
721
  if (n === !0)
722
- return Cn(s);
723
- if (a.isFunction(n))
724
- return n.call(this, s, r);
725
- if (a.isRegExp(n))
726
- return n.exec(s);
722
+ return An(o);
723
+ if (i.isFunction(n))
724
+ return n.call(this, o, r);
725
+ if (i.isRegExp(n))
726
+ return n.exec(o);
727
727
  throw new TypeError("parser must be boolean|regexp|function");
728
728
  }
729
729
  }
730
730
  }
731
731
  has(t, n) {
732
732
  if (t = V(t), t) {
733
- const r = a.findKey(this, t);
733
+ const r = i.findKey(this, t);
734
734
  return !!(r && this[r] !== void 0 && (!n || pe(this, this[r], r, n)));
735
735
  }
736
736
  return !1;
737
737
  }
738
738
  delete(t, n) {
739
739
  const r = this;
740
- let s = !1;
741
- function i(o) {
742
- if (o = V(o), o) {
743
- const l = a.findKey(r, o);
744
- l && (!n || pe(r, r[l], l, n)) && (delete r[l], s = !0);
740
+ let o = !1;
741
+ function a(s) {
742
+ if (s = V(s), s) {
743
+ const l = i.findKey(r, s);
744
+ l && (!n || pe(r, r[l], l, n)) && (delete r[l], o = !0);
745
745
  }
746
746
  }
747
- return a.isArray(t) ? t.forEach(i) : i(t), s;
747
+ return i.isArray(t) ? t.forEach(a) : a(t), o;
748
748
  }
749
749
  clear(t) {
750
750
  const n = Object.keys(this);
751
- let r = n.length, s = !1;
751
+ let r = n.length, o = !1;
752
752
  for (; r--; ) {
753
- const i = n[r];
754
- (!t || pe(this, this[i], i, t, !0)) && (delete this[i], s = !0);
753
+ const a = n[r];
754
+ (!t || pe(this, this[a], a, t, !0)) && (delete this[a], o = !0);
755
755
  }
756
- return s;
756
+ return o;
757
757
  }
758
758
  normalize(t) {
759
759
  const n = this, r = {};
760
- return a.forEach(this, (s, i) => {
761
- const o = a.findKey(r, i);
762
- if (o) {
763
- n[o] = te(s), delete n[i];
760
+ return i.forEach(this, (o, a) => {
761
+ const s = i.findKey(r, a);
762
+ if (s) {
763
+ n[s] = te(o), delete n[a];
764
764
  return;
765
765
  }
766
- const l = t ? kn(i) : String(i).trim();
767
- l !== i && delete n[i], n[l] = te(s), r[l] = !0;
766
+ const l = t ? Dn(a) : String(a).trim();
767
+ l !== a && delete n[a], n[l] = te(o), r[l] = !0;
768
768
  }), this;
769
769
  }
770
770
  concat(...t) {
@@ -772,8 +772,8 @@ let A = class {
772
772
  }
773
773
  toJSON(t) {
774
774
  const n = /* @__PURE__ */ Object.create(null);
775
- return a.forEach(this, (r, s) => {
776
- r != null && r !== !1 && (n[s] = t && a.isArray(r) ? r.join(", ") : r);
775
+ return i.forEach(this, (r, o) => {
776
+ r != null && r !== !1 && (n[o] = t && i.isArray(r) ? r.join(", ") : r);
777
777
  }), n;
778
778
  }
779
779
  [Symbol.iterator]() {
@@ -794,21 +794,21 @@ let A = class {
794
794
  }
795
795
  static concat(t, ...n) {
796
796
  const r = new this(t);
797
- return n.forEach((s) => r.set(s)), r;
797
+ return n.forEach((o) => r.set(o)), r;
798
798
  }
799
799
  static accessor(t) {
800
- const r = (this[Ue] = this[Ue] = {
800
+ const r = (this[Pe] = this[Pe] = {
801
801
  accessors: {}
802
- }).accessors, s = this.prototype;
803
- function i(o) {
804
- const l = V(o);
805
- r[l] || (Fn(s, o), r[l] = !0);
802
+ }).accessors, o = this.prototype;
803
+ function a(s) {
804
+ const l = V(s);
805
+ r[l] || (Fn(o, s), r[l] = !0);
806
806
  }
807
- return a.isArray(t) ? t.forEach(i) : i(t), this;
807
+ return i.isArray(t) ? t.forEach(a) : a(t), this;
808
808
  }
809
809
  };
810
- A.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
811
- a.reduceDescriptors(A.prototype, ({ value: e }, t) => {
810
+ k.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
811
+ i.reduceDescriptors(k.prototype, ({ value: e }, t) => {
812
812
  let n = t[0].toUpperCase() + t.slice(1);
813
813
  return {
814
814
  get: () => e,
@@ -817,24 +817,24 @@ a.reduceDescriptors(A.prototype, ({ value: e }, t) => {
817
817
  }
818
818
  };
819
819
  });
820
- a.freezeMethods(A);
821
- function he(e, t) {
822
- const n = this || X, r = t || n, s = A.from(r.headers);
823
- let i = r.data;
824
- return a.forEach(e, function(l) {
825
- i = l.call(n, i, s.normalize(), t ? t.status : void 0);
826
- }), s.normalize(), i;
820
+ i.freezeMethods(k);
821
+ function me(e, t) {
822
+ const n = this || K, r = t || n, o = k.from(r.headers);
823
+ let a = r.data;
824
+ return i.forEach(e, function(l) {
825
+ a = l.call(n, a, o.normalize(), t ? t.status : void 0);
826
+ }), o.normalize(), a;
827
827
  }
828
- function lt(e) {
828
+ function ct(e) {
829
829
  return !!(e && e.__CANCEL__);
830
830
  }
831
- function $(e, t, n) {
831
+ function W(e, t, n) {
832
832
  y.call(this, e ?? "canceled", y.ERR_CANCELED, t, n), this.name = "CanceledError";
833
833
  }
834
- a.inherits($, y, {
834
+ i.inherits(W, y, {
835
835
  __CANCEL__: !0
836
836
  });
837
- function ct(e, t, n) {
837
+ function ut(e, t, n) {
838
838
  const r = n.config.validateStatus;
839
839
  !n.status || !r || r(n.status) ? e(n) : t(new y(
840
840
  "Request failed with status code " + n.status,
@@ -844,73 +844,73 @@ function ct(e, t, n) {
844
844
  n
845
845
  ));
846
846
  }
847
- function Nn(e) {
847
+ function Mn(e) {
848
848
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
849
849
  return t && t[1] || "";
850
850
  }
851
- function Pn(e, t) {
851
+ function vn(e, t) {
852
852
  e = e || 10;
853
853
  const n = new Array(e), r = new Array(e);
854
- let s = 0, i = 0, o;
855
- return t = t !== void 0 ? t : 1e3, function(d) {
856
- const f = Date.now(), c = r[i];
857
- o || (o = f), n[s] = d, r[s] = f;
858
- let h = i, g = 0;
859
- for (; h !== s; )
860
- g += n[h++], h = h % e;
861
- if (s = (s + 1) % e, s === i && (i = (i + 1) % e), f - o < t)
854
+ let o = 0, a = 0, s;
855
+ return t = t !== void 0 ? t : 1e3, function(f) {
856
+ const d = Date.now(), c = r[a];
857
+ s || (s = d), n[o] = f, r[o] = d;
858
+ let m = a, b = 0;
859
+ for (; m !== o; )
860
+ b += n[m++], m = m % e;
861
+ if (o = (o + 1) % e, o === a && (a = (a + 1) % e), d - s < t)
862
862
  return;
863
- const R = c && f - c;
864
- return R ? Math.round(g * 1e3 / R) : void 0;
863
+ const T = c && d - c;
864
+ return T ? Math.round(b * 1e3 / T) : void 0;
865
865
  };
866
866
  }
867
- function Dn(e, t) {
868
- let n = 0, r = 1e3 / t, s, i;
869
- const o = (f, c = Date.now()) => {
870
- n = c, s = null, i && (clearTimeout(i), i = null), e(...f);
867
+ function Nn(e, t) {
868
+ let n = 0, r = 1e3 / t, o, a;
869
+ const s = (d, c = Date.now()) => {
870
+ n = c, o = null, a && (clearTimeout(a), a = null), e(...d);
871
871
  };
872
- return [(...f) => {
873
- const c = Date.now(), h = c - n;
874
- h >= r ? o(f, c) : (s = f, i || (i = setTimeout(() => {
875
- i = null, o(s);
876
- }, r - h)));
877
- }, () => s && o(s)];
872
+ return [(...d) => {
873
+ const c = Date.now(), m = c - n;
874
+ m >= r ? s(d, c) : (o = d, a || (a = setTimeout(() => {
875
+ a = null, s(o);
876
+ }, r - m)));
877
+ }, () => o && s(o)];
878
878
  }
879
879
  const re = (e, t, n = 3) => {
880
880
  let r = 0;
881
- const s = Pn(50, 250);
882
- return Dn((i) => {
883
- const o = i.loaded, l = i.lengthComputable ? i.total : void 0, d = o - r, f = s(d), c = o <= l;
884
- r = o;
885
- const h = {
886
- loaded: o,
881
+ const o = vn(50, 250);
882
+ return Nn((a) => {
883
+ const s = a.loaded, l = a.lengthComputable ? a.total : void 0, f = s - r, d = o(f), c = s <= l;
884
+ r = s;
885
+ const m = {
886
+ loaded: s,
887
887
  total: l,
888
- progress: l ? o / l : void 0,
889
- bytes: d,
890
- rate: f || void 0,
891
- estimated: f && l && c ? (l - o) / f : void 0,
892
- event: i,
888
+ progress: l ? s / l : void 0,
889
+ bytes: f,
890
+ rate: d || void 0,
891
+ estimated: d && l && c ? (l - s) / d : void 0,
892
+ event: a,
893
893
  lengthComputable: l != null,
894
894
  [t ? "download" : "upload"]: !0
895
895
  };
896
- e(h);
896
+ e(m);
897
897
  }, n);
898
- }, Me = (e, t) => {
898
+ }, Be = (e, t) => {
899
899
  const n = e != null;
900
900
  return [(r) => t[0]({
901
901
  lengthComputable: n,
902
902
  total: e,
903
903
  loaded: r
904
904
  }), t[1]];
905
- }, _e = (e) => (...t) => a.asap(() => e(...t)), Bn = T.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, T.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
906
- new URL(T.origin),
907
- T.navigator && /(msie|trident)/i.test(T.navigator.userAgent)
908
- ) : () => !0, Un = T.hasStandardBrowserEnv ? (
905
+ }, qe = (e) => (...t) => i.asap(() => e(...t)), Pn = S.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, S.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
906
+ new URL(S.origin),
907
+ S.navigator && /(msie|trident)/i.test(S.navigator.userAgent)
908
+ ) : () => !0, Bn = S.hasStandardBrowserEnv ? (
909
909
  // Standard browser envs support document.cookie
910
910
  {
911
- write(e, t, n, r, s, i) {
912
- const o = [e + "=" + encodeURIComponent(t)];
913
- a.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), a.isString(r) && o.push("path=" + r), a.isString(s) && o.push("domain=" + s), i === !0 && o.push("secure"), document.cookie = o.join("; ");
911
+ write(e, t, n, r, o, a) {
912
+ const s = [e + "=" + encodeURIComponent(t)];
913
+ i.isNumber(n) && s.push("expires=" + new Date(n).toGMTString()), i.isString(r) && s.push("path=" + r), i.isString(o) && s.push("domain=" + o), a === !0 && s.push("secure"), document.cookie = s.join("; ");
914
914
  },
915
915
  read(e) {
916
916
  const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
@@ -932,196 +932,196 @@ const re = (e, t, n = 3) => {
932
932
  }
933
933
  }
934
934
  );
935
- function Mn(e) {
935
+ function qn(e) {
936
936
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
937
937
  }
938
- function _n(e, t) {
938
+ function Un(e, t) {
939
939
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
940
940
  }
941
- function ut(e, t, n) {
942
- let r = !Mn(t);
943
- return e && (r || n == !1) ? _n(e, t) : t;
941
+ function dt(e, t, n) {
942
+ let r = !qn(t);
943
+ return e && (r || n == !1) ? Un(e, t) : t;
944
944
  }
945
- const qe = (e) => e instanceof A ? { ...e } : e;
946
- function j(e, t) {
945
+ const Ue = (e) => e instanceof k ? { ...e } : e;
946
+ function $(e, t) {
947
947
  t = t || {};
948
948
  const n = {};
949
- function r(f, c, h, g) {
950
- return a.isPlainObject(f) && a.isPlainObject(c) ? a.merge.call({ caseless: g }, f, c) : a.isPlainObject(c) ? a.merge({}, c) : a.isArray(c) ? c.slice() : c;
949
+ function r(d, c, m, b) {
950
+ return i.isPlainObject(d) && i.isPlainObject(c) ? i.merge.call({ caseless: b }, d, c) : i.isPlainObject(c) ? i.merge({}, c) : i.isArray(c) ? c.slice() : c;
951
951
  }
952
- function s(f, c, h, g) {
953
- if (a.isUndefined(c)) {
954
- if (!a.isUndefined(f))
955
- return r(void 0, f, h, g);
956
- } else return r(f, c, h, g);
952
+ function o(d, c, m, b) {
953
+ if (i.isUndefined(c)) {
954
+ if (!i.isUndefined(d))
955
+ return r(void 0, d, m, b);
956
+ } else return r(d, c, m, b);
957
957
  }
958
- function i(f, c) {
959
- if (!a.isUndefined(c))
958
+ function a(d, c) {
959
+ if (!i.isUndefined(c))
960
960
  return r(void 0, c);
961
961
  }
962
- function o(f, c) {
963
- if (a.isUndefined(c)) {
964
- if (!a.isUndefined(f))
965
- return r(void 0, f);
962
+ function s(d, c) {
963
+ if (i.isUndefined(c)) {
964
+ if (!i.isUndefined(d))
965
+ return r(void 0, d);
966
966
  } else return r(void 0, c);
967
967
  }
968
- function l(f, c, h) {
969
- if (h in t)
970
- return r(f, c);
971
- if (h in e)
972
- return r(void 0, f);
973
- }
974
- const d = {
975
- url: i,
976
- method: i,
977
- data: i,
978
- baseURL: o,
979
- transformRequest: o,
980
- transformResponse: o,
981
- paramsSerializer: o,
982
- timeout: o,
983
- timeoutMessage: o,
984
- withCredentials: o,
985
- withXSRFToken: o,
986
- adapter: o,
987
- responseType: o,
988
- xsrfCookieName: o,
989
- xsrfHeaderName: o,
990
- onUploadProgress: o,
991
- onDownloadProgress: o,
992
- decompress: o,
993
- maxContentLength: o,
994
- maxBodyLength: o,
995
- beforeRedirect: o,
996
- transport: o,
997
- httpAgent: o,
998
- httpsAgent: o,
999
- cancelToken: o,
1000
- socketPath: o,
1001
- responseEncoding: o,
968
+ function l(d, c, m) {
969
+ if (m in t)
970
+ return r(d, c);
971
+ if (m in e)
972
+ return r(void 0, d);
973
+ }
974
+ const f = {
975
+ url: a,
976
+ method: a,
977
+ data: a,
978
+ baseURL: s,
979
+ transformRequest: s,
980
+ transformResponse: s,
981
+ paramsSerializer: s,
982
+ timeout: s,
983
+ timeoutMessage: s,
984
+ withCredentials: s,
985
+ withXSRFToken: s,
986
+ adapter: s,
987
+ responseType: s,
988
+ xsrfCookieName: s,
989
+ xsrfHeaderName: s,
990
+ onUploadProgress: s,
991
+ onDownloadProgress: s,
992
+ decompress: s,
993
+ maxContentLength: s,
994
+ maxBodyLength: s,
995
+ beforeRedirect: s,
996
+ transport: s,
997
+ httpAgent: s,
998
+ httpsAgent: s,
999
+ cancelToken: s,
1000
+ socketPath: s,
1001
+ responseEncoding: s,
1002
1002
  validateStatus: l,
1003
- headers: (f, c, h) => s(qe(f), qe(c), h, !0)
1003
+ headers: (d, c, m) => o(Ue(d), Ue(c), m, !0)
1004
1004
  };
1005
- return a.forEach(Object.keys({ ...e, ...t }), function(c) {
1006
- const h = d[c] || s, g = h(e[c], t[c], c);
1007
- a.isUndefined(g) && h !== l || (n[c] = g);
1005
+ return i.forEach(Object.keys({ ...e, ...t }), function(c) {
1006
+ const m = f[c] || o, b = m(e[c], t[c], c);
1007
+ i.isUndefined(b) && m !== l || (n[c] = b);
1008
1008
  }), n;
1009
1009
  }
1010
1010
  const ft = (e) => {
1011
- const t = j({}, e);
1012
- let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: i, headers: o, auth: l } = t;
1013
- if (t.headers = o = A.from(o), t.url = ot(ut(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && o.set(
1011
+ const t = $({}, e);
1012
+ let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: a, headers: s, auth: l } = t;
1013
+ if (t.headers = s = k.from(s), t.url = at(dt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && s.set(
1014
1014
  "Authorization",
1015
1015
  "Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
1016
- ), a.isFormData(n)) {
1017
- if (T.hasStandardBrowserEnv || T.hasStandardBrowserWebWorkerEnv)
1018
- o.setContentType(void 0);
1019
- else if (a.isFunction(n.getHeaders)) {
1020
- const d = n.getHeaders(), f = ["content-type", "content-length"];
1021
- Object.entries(d).forEach(([c, h]) => {
1022
- f.includes(c.toLowerCase()) && o.set(c, h);
1016
+ ), i.isFormData(n)) {
1017
+ if (S.hasStandardBrowserEnv || S.hasStandardBrowserWebWorkerEnv)
1018
+ s.setContentType(void 0);
1019
+ else if (i.isFunction(n.getHeaders)) {
1020
+ const f = n.getHeaders(), d = ["content-type", "content-length"];
1021
+ Object.entries(f).forEach(([c, m]) => {
1022
+ d.includes(c.toLowerCase()) && s.set(c, m);
1023
1023
  });
1024
1024
  }
1025
1025
  }
1026
- if (T.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && Bn(t.url))) {
1027
- const d = s && i && Un.read(i);
1028
- d && o.set(s, d);
1026
+ if (S.hasStandardBrowserEnv && (r && i.isFunction(r) && (r = r(t)), r || r !== !1 && Pn(t.url))) {
1027
+ const f = o && a && Bn.read(a);
1028
+ f && s.set(o, f);
1029
1029
  }
1030
1030
  return t;
1031
- }, qn = typeof XMLHttpRequest < "u", jn = qn && function(e) {
1031
+ }, $n = typeof XMLHttpRequest < "u", In = $n && function(e) {
1032
1032
  return new Promise(function(n, r) {
1033
- const s = ft(e);
1034
- let i = s.data;
1035
- const o = A.from(s.headers).normalize();
1036
- let { responseType: l, onUploadProgress: d, onDownloadProgress: f } = s, c, h, g, R, u;
1037
- function m() {
1038
- R && R(), u && u(), s.cancelToken && s.cancelToken.unsubscribe(c), s.signal && s.signal.removeEventListener("abort", c);
1033
+ const o = ft(e);
1034
+ let a = o.data;
1035
+ const s = k.from(o.headers).normalize();
1036
+ let { responseType: l, onUploadProgress: f, onDownloadProgress: d } = o, c, m, b, T, u;
1037
+ function h() {
1038
+ T && T(), u && u(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
1039
1039
  }
1040
1040
  let p = new XMLHttpRequest();
1041
- p.open(s.method.toUpperCase(), s.url, !0), p.timeout = s.timeout;
1042
- function E() {
1041
+ p.open(o.method.toUpperCase(), o.url, !0), p.timeout = o.timeout;
1042
+ function w() {
1043
1043
  if (!p)
1044
1044
  return;
1045
- const S = A.from(
1045
+ const E = k.from(
1046
1046
  "getAllResponseHeaders" in p && p.getAllResponseHeaders()
1047
- ), k = {
1047
+ ), L = {
1048
1048
  data: !l || l === "text" || l === "json" ? p.responseText : p.response,
1049
1049
  status: p.status,
1050
1050
  statusText: p.statusText,
1051
- headers: S,
1051
+ headers: E,
1052
1052
  config: e,
1053
1053
  request: p
1054
1054
  };
1055
- ct(function(L) {
1056
- n(L), m();
1057
- }, function(L) {
1058
- r(L), m();
1059
- }, k), p = null;
1055
+ ut(function(A) {
1056
+ n(A), h();
1057
+ }, function(A) {
1058
+ r(A), h();
1059
+ }, L), p = null;
1060
1060
  }
1061
- "onloadend" in p ? p.onloadend = E : p.onreadystatechange = function() {
1062
- !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(E);
1061
+ "onloadend" in p ? p.onloadend = w : p.onreadystatechange = function() {
1062
+ !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(w);
1063
1063
  }, p.onabort = function() {
1064
1064
  p && (r(new y("Request aborted", y.ECONNABORTED, e, p)), p = null);
1065
- }, p.onerror = function(O) {
1066
- const k = O && O.message ? O.message : "Network Error", U = new y(k, y.ERR_NETWORK, e, p);
1067
- U.event = O || null, r(U), p = null;
1065
+ }, p.onerror = function(C) {
1066
+ const L = C && C.message ? C.message : "Network Error", P = new y(L, y.ERR_NETWORK, e, p);
1067
+ P.event = C || null, r(P), p = null;
1068
1068
  }, p.ontimeout = function() {
1069
- let O = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
1070
- const k = s.transitional || it;
1071
- s.timeoutErrorMessage && (O = s.timeoutErrorMessage), r(new y(
1072
- O,
1073
- k.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
1069
+ let C = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1070
+ const L = o.transitional || it;
1071
+ o.timeoutErrorMessage && (C = o.timeoutErrorMessage), r(new y(
1072
+ C,
1073
+ L.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
1074
1074
  e,
1075
1075
  p
1076
1076
  )), p = null;
1077
- }, i === void 0 && o.setContentType(null), "setRequestHeader" in p && a.forEach(o.toJSON(), function(O, k) {
1078
- p.setRequestHeader(k, O);
1079
- }), a.isUndefined(s.withCredentials) || (p.withCredentials = !!s.withCredentials), l && l !== "json" && (p.responseType = s.responseType), f && ([g, u] = re(f, !0), p.addEventListener("progress", g)), d && p.upload && ([h, R] = re(d), p.upload.addEventListener("progress", h), p.upload.addEventListener("loadend", R)), (s.cancelToken || s.signal) && (c = (S) => {
1080
- p && (r(!S || S.type ? new $(null, e, p) : S), p.abort(), p = null);
1081
- }, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
1082
- const C = Nn(s.url);
1083
- if (C && T.protocols.indexOf(C) === -1) {
1084
- r(new y("Unsupported protocol " + C + ":", y.ERR_BAD_REQUEST, e));
1077
+ }, a === void 0 && s.setContentType(null), "setRequestHeader" in p && i.forEach(s.toJSON(), function(C, L) {
1078
+ p.setRequestHeader(L, C);
1079
+ }), i.isUndefined(o.withCredentials) || (p.withCredentials = !!o.withCredentials), l && l !== "json" && (p.responseType = o.responseType), d && ([b, u] = re(d, !0), p.addEventListener("progress", b)), f && p.upload && ([m, T] = re(f), p.upload.addEventListener("progress", m), p.upload.addEventListener("loadend", T)), (o.cancelToken || o.signal) && (c = (E) => {
1080
+ p && (r(!E || E.type ? new W(null, e, p) : E), p.abort(), p = null);
1081
+ }, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
1082
+ const R = Mn(o.url);
1083
+ if (R && S.protocols.indexOf(R) === -1) {
1084
+ r(new y("Unsupported protocol " + R + ":", y.ERR_BAD_REQUEST, e));
1085
1085
  return;
1086
1086
  }
1087
- p.send(i || null);
1087
+ p.send(a || null);
1088
1088
  });
1089
- }, In = (e, t) => {
1089
+ }, jn = (e, t) => {
1090
1090
  const { length: n } = e = e ? e.filter(Boolean) : [];
1091
1091
  if (t || n) {
1092
- let r = new AbortController(), s;
1093
- const i = function(f) {
1094
- if (!s) {
1095
- s = !0, l();
1096
- const c = f instanceof Error ? f : this.reason;
1097
- r.abort(c instanceof y ? c : new $(c instanceof Error ? c.message : c));
1092
+ let r = new AbortController(), o;
1093
+ const a = function(d) {
1094
+ if (!o) {
1095
+ o = !0, l();
1096
+ const c = d instanceof Error ? d : this.reason;
1097
+ r.abort(c instanceof y ? c : new W(c instanceof Error ? c.message : c));
1098
1098
  }
1099
1099
  };
1100
- let o = t && setTimeout(() => {
1101
- o = null, i(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT));
1100
+ let s = t && setTimeout(() => {
1101
+ s = null, a(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT));
1102
1102
  }, t);
1103
1103
  const l = () => {
1104
- e && (o && clearTimeout(o), o = null, e.forEach((f) => {
1105
- f.unsubscribe ? f.unsubscribe(i) : f.removeEventListener("abort", i);
1104
+ e && (s && clearTimeout(s), s = null, e.forEach((d) => {
1105
+ d.unsubscribe ? d.unsubscribe(a) : d.removeEventListener("abort", a);
1106
1106
  }), e = null);
1107
1107
  };
1108
- e.forEach((f) => f.addEventListener("abort", i));
1109
- const { signal: d } = r;
1110
- return d.unsubscribe = () => a.asap(l), d;
1108
+ e.forEach((d) => d.addEventListener("abort", a));
1109
+ const { signal: f } = r;
1110
+ return f.unsubscribe = () => i.asap(l), f;
1111
1111
  }
1112
- }, vn = function* (e, t) {
1112
+ }, _n = function* (e, t) {
1113
1113
  let n = e.byteLength;
1114
1114
  if (n < t) {
1115
1115
  yield e;
1116
1116
  return;
1117
1117
  }
1118
- let r = 0, s;
1118
+ let r = 0, o;
1119
1119
  for (; r < n; )
1120
- s = r + t, yield e.slice(r, s), r = s;
1121
- }, Hn = async function* (e, t) {
1122
- for await (const n of $n(e))
1123
- yield* vn(n, t);
1124
- }, $n = async function* (e) {
1120
+ o = r + t, yield e.slice(r, o), r = o;
1121
+ }, Wn = async function* (e, t) {
1122
+ for await (const n of Hn(e))
1123
+ yield* _n(n, t);
1124
+ }, Hn = async function* (e) {
1125
1125
  if (e[Symbol.asyncIterator]) {
1126
1126
  yield* e;
1127
1127
  return;
@@ -1137,200 +1137,200 @@ const ft = (e) => {
1137
1137
  } finally {
1138
1138
  await t.cancel();
1139
1139
  }
1140
- }, je = (e, t, n, r) => {
1141
- const s = Hn(e, t);
1142
- let i = 0, o, l = (d) => {
1143
- o || (o = !0, r && r(d));
1140
+ }, $e = (e, t, n, r) => {
1141
+ const o = Wn(e, t);
1142
+ let a = 0, s, l = (f) => {
1143
+ s || (s = !0, r && r(f));
1144
1144
  };
1145
1145
  return new ReadableStream({
1146
- async pull(d) {
1146
+ async pull(f) {
1147
1147
  try {
1148
- const { done: f, value: c } = await s.next();
1149
- if (f) {
1150
- l(), d.close();
1148
+ const { done: d, value: c } = await o.next();
1149
+ if (d) {
1150
+ l(), f.close();
1151
1151
  return;
1152
1152
  }
1153
- let h = c.byteLength;
1153
+ let m = c.byteLength;
1154
1154
  if (n) {
1155
- let g = i += h;
1156
- n(g);
1155
+ let b = a += m;
1156
+ n(b);
1157
1157
  }
1158
- d.enqueue(new Uint8Array(c));
1159
- } catch (f) {
1160
- throw l(f), f;
1158
+ f.enqueue(new Uint8Array(c));
1159
+ } catch (d) {
1160
+ throw l(d), d;
1161
1161
  }
1162
1162
  },
1163
- cancel(d) {
1164
- return l(d), s.return();
1163
+ cancel(f) {
1164
+ return l(f), o.return();
1165
1165
  }
1166
1166
  }, {
1167
1167
  highWaterMark: 2
1168
1168
  });
1169
- }, Ie = 64 * 1024, { isFunction: Z } = a, zn = (({ Request: e, Response: t }) => ({
1169
+ }, Ie = 64 * 1024, { isFunction: Z } = i, Vn = (({ Request: e, Response: t }) => ({
1170
1170
  Request: e,
1171
1171
  Response: t
1172
- }))(a.global), {
1173
- ReadableStream: ve,
1174
- TextEncoder: He
1175
- } = a.global, $e = (e, ...t) => {
1172
+ }))(i.global), {
1173
+ ReadableStream: je,
1174
+ TextEncoder: _e
1175
+ } = i.global, We = (e, ...t) => {
1176
1176
  try {
1177
1177
  return !!e(...t);
1178
1178
  } catch {
1179
1179
  return !1;
1180
1180
  }
1181
- }, Vn = (e) => {
1182
- e = a.merge.call({
1181
+ }, zn = (e) => {
1182
+ e = i.merge.call({
1183
1183
  skipUndefined: !0
1184
- }, zn, e);
1185
- const { fetch: t, Request: n, Response: r } = e, s = t ? Z(t) : typeof fetch == "function", i = Z(n), o = Z(r);
1186
- if (!s)
1184
+ }, Vn, e);
1185
+ const { fetch: t, Request: n, Response: r } = e, o = t ? Z(t) : typeof fetch == "function", a = Z(n), s = Z(r);
1186
+ if (!o)
1187
1187
  return !1;
1188
- const l = s && Z(ve), d = s && (typeof He == "function" ? /* @__PURE__ */ ((u) => (m) => u.encode(m))(new He()) : async (u) => new Uint8Array(await new n(u).arrayBuffer())), f = i && l && $e(() => {
1188
+ const l = o && Z(je), f = o && (typeof _e == "function" ? /* @__PURE__ */ ((u) => (h) => u.encode(h))(new _e()) : async (u) => new Uint8Array(await new n(u).arrayBuffer())), d = a && l && We(() => {
1189
1189
  let u = !1;
1190
- const m = new n(T.origin, {
1191
- body: new ve(),
1190
+ const h = new n(S.origin, {
1191
+ body: new je(),
1192
1192
  method: "POST",
1193
1193
  get duplex() {
1194
1194
  return u = !0, "half";
1195
1195
  }
1196
1196
  }).headers.has("Content-Type");
1197
- return u && !m;
1198
- }), c = o && l && $e(() => a.isReadableStream(new r("").body)), h = {
1197
+ return u && !h;
1198
+ }), c = s && l && We(() => i.isReadableStream(new r("").body)), m = {
1199
1199
  stream: c && ((u) => u.body)
1200
1200
  };
1201
- s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((u) => {
1202
- !h[u] && (h[u] = (m, p) => {
1203
- let E = m && m[u];
1204
- if (E)
1205
- return E.call(m);
1201
+ o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((u) => {
1202
+ !m[u] && (m[u] = (h, p) => {
1203
+ let w = h && h[u];
1204
+ if (w)
1205
+ return w.call(h);
1206
1206
  throw new y(`Response type '${u}' is not supported`, y.ERR_NOT_SUPPORT, p);
1207
1207
  });
1208
1208
  });
1209
- const g = async (u) => {
1209
+ const b = async (u) => {
1210
1210
  if (u == null)
1211
1211
  return 0;
1212
- if (a.isBlob(u))
1212
+ if (i.isBlob(u))
1213
1213
  return u.size;
1214
- if (a.isSpecCompliantForm(u))
1215
- return (await new n(T.origin, {
1214
+ if (i.isSpecCompliantForm(u))
1215
+ return (await new n(S.origin, {
1216
1216
  method: "POST",
1217
1217
  body: u
1218
1218
  }).arrayBuffer()).byteLength;
1219
- if (a.isArrayBufferView(u) || a.isArrayBuffer(u))
1219
+ if (i.isArrayBufferView(u) || i.isArrayBuffer(u))
1220
1220
  return u.byteLength;
1221
- if (a.isURLSearchParams(u) && (u = u + ""), a.isString(u))
1222
- return (await d(u)).byteLength;
1223
- }, R = async (u, m) => {
1224
- const p = a.toFiniteNumber(u.getContentLength());
1225
- return p ?? g(m);
1221
+ if (i.isURLSearchParams(u) && (u = u + ""), i.isString(u))
1222
+ return (await f(u)).byteLength;
1223
+ }, T = async (u, h) => {
1224
+ const p = i.toFiniteNumber(u.getContentLength());
1225
+ return p ?? b(h);
1226
1226
  };
1227
1227
  return async (u) => {
1228
1228
  let {
1229
- url: m,
1229
+ url: h,
1230
1230
  method: p,
1231
- data: E,
1232
- signal: C,
1233
- cancelToken: S,
1234
- timeout: O,
1235
- onDownloadProgress: k,
1236
- onUploadProgress: U,
1237
- responseType: L,
1231
+ data: w,
1232
+ signal: R,
1233
+ cancelToken: E,
1234
+ timeout: C,
1235
+ onDownloadProgress: L,
1236
+ onUploadProgress: P,
1237
+ responseType: A,
1238
1238
  headers: ue,
1239
1239
  withCredentials: G = "same-origin",
1240
- fetchOptions: Oe
1241
- } = ft(u), xe = t || fetch;
1242
- L = L ? (L + "").toLowerCase() : "text";
1243
- let Y = In([C, S && S.toAbortSignal()], O), z = null;
1244
- const M = Y && Y.unsubscribe && (() => {
1245
- Y.unsubscribe();
1240
+ fetchOptions: Ce
1241
+ } = ft(u), Oe = t || fetch;
1242
+ A = A ? (A + "").toLowerCase() : "text";
1243
+ let Q = jn([R, E && E.toAbortSignal()], C), H = null;
1244
+ const B = Q && Q.unsubscribe && (() => {
1245
+ Q.unsubscribe();
1246
1246
  });
1247
- let Ae;
1247
+ let ke;
1248
1248
  try {
1249
- if (U && f && p !== "get" && p !== "head" && (Ae = await R(ue, E)) !== 0) {
1250
- let B = new n(m, {
1249
+ if (P && d && p !== "get" && p !== "head" && (ke = await T(ue, w)) !== 0) {
1250
+ let N = new n(h, {
1251
1251
  method: "POST",
1252
- body: E,
1252
+ body: w,
1253
1253
  duplex: "half"
1254
1254
  }), I;
1255
- if (a.isFormData(E) && (I = B.headers.get("content-type")) && ue.setContentType(I), B.body) {
1256
- const [fe, Q] = Me(
1257
- Ae,
1258
- re(_e(U))
1255
+ if (i.isFormData(w) && (I = N.headers.get("content-type")) && ue.setContentType(I), N.body) {
1256
+ const [de, X] = Be(
1257
+ ke,
1258
+ re(qe(P))
1259
1259
  );
1260
- E = je(B.body, Ie, fe, Q);
1260
+ w = $e(N.body, Ie, de, X);
1261
1261
  }
1262
1262
  }
1263
- a.isString(G) || (G = G ? "include" : "omit");
1264
- const N = i && "credentials" in n.prototype, Ce = {
1265
- ...Oe,
1266
- signal: Y,
1263
+ i.isString(G) || (G = G ? "include" : "omit");
1264
+ const F = a && "credentials" in n.prototype, Re = {
1265
+ ...Ce,
1266
+ signal: Q,
1267
1267
  method: p.toUpperCase(),
1268
1268
  headers: ue.normalize().toJSON(),
1269
- body: E,
1269
+ body: w,
1270
1270
  duplex: "half",
1271
- credentials: N ? G : void 0
1271
+ credentials: F ? G : void 0
1272
1272
  };
1273
- z = i && new n(m, Ce);
1274
- let D = await (i ? xe(z, Oe) : xe(m, Ce));
1275
- const Le = c && (L === "stream" || L === "response");
1276
- if (c && (k || Le && M)) {
1277
- const B = {};
1278
- ["status", "statusText", "headers"].forEach((ke) => {
1279
- B[ke] = D[ke];
1273
+ H = a && new n(h, Re);
1274
+ let v = await (a ? Oe(H, Ce) : Oe(h, Re));
1275
+ const Ae = c && (A === "stream" || A === "response");
1276
+ if (c && (L || Ae && B)) {
1277
+ const N = {};
1278
+ ["status", "statusText", "headers"].forEach((Le) => {
1279
+ N[Le] = v[Le];
1280
1280
  });
1281
- const I = a.toFiniteNumber(D.headers.get("content-length")), [fe, Q] = k && Me(
1281
+ const I = i.toFiniteNumber(v.headers.get("content-length")), [de, X] = L && Be(
1282
1282
  I,
1283
- re(_e(k), !0)
1283
+ re(qe(L), !0)
1284
1284
  ) || [];
1285
- D = new r(
1286
- je(D.body, Ie, fe, () => {
1287
- Q && Q(), M && M();
1285
+ v = new r(
1286
+ $e(v.body, Ie, de, () => {
1287
+ X && X(), B && B();
1288
1288
  }),
1289
- B
1289
+ N
1290
1290
  );
1291
1291
  }
1292
- L = L || "text";
1293
- let gt = await h[a.findKey(h, L) || "text"](D, u);
1294
- return !Le && M && M(), await new Promise((B, I) => {
1295
- ct(B, I, {
1296
- data: gt,
1297
- headers: A.from(D.headers),
1298
- status: D.status,
1299
- statusText: D.statusText,
1292
+ A = A || "text";
1293
+ let bt = await m[i.findKey(m, A) || "text"](v, u);
1294
+ return !Ae && B && B(), await new Promise((N, I) => {
1295
+ ut(N, I, {
1296
+ data: bt,
1297
+ headers: k.from(v.headers),
1298
+ status: v.status,
1299
+ statusText: v.statusText,
1300
1300
  config: u,
1301
- request: z
1301
+ request: H
1302
1302
  });
1303
1303
  });
1304
- } catch (N) {
1305
- throw M && M(), N && N.name === "TypeError" && /Load failed|fetch/i.test(N.message) ? Object.assign(
1306
- new y("Network Error", y.ERR_NETWORK, u, z),
1304
+ } catch (F) {
1305
+ throw B && B(), F && F.name === "TypeError" && /Load failed|fetch/i.test(F.message) ? Object.assign(
1306
+ new y("Network Error", y.ERR_NETWORK, u, H),
1307
1307
  {
1308
- cause: N.cause || N
1308
+ cause: F.cause || F
1309
1309
  }
1310
- ) : y.from(N, N && N.code, u, z);
1310
+ ) : y.from(F, F && F.code, u, H);
1311
1311
  }
1312
1312
  };
1313
- }, Wn = /* @__PURE__ */ new Map(), dt = (e) => {
1313
+ }, Jn = /* @__PURE__ */ new Map(), pt = (e) => {
1314
1314
  let t = e ? e.env : {};
1315
- const { fetch: n, Request: r, Response: s } = t, i = [
1315
+ const { fetch: n, Request: r, Response: o } = t, a = [
1316
1316
  r,
1317
- s,
1317
+ o,
1318
1318
  n
1319
1319
  ];
1320
- let o = i.length, l = o, d, f, c = Wn;
1320
+ let s = a.length, l = s, f, d, c = Jn;
1321
1321
  for (; l--; )
1322
- d = i[l], f = c.get(d), f === void 0 && c.set(d, f = l ? /* @__PURE__ */ new Map() : Vn(t)), c = f;
1323
- return f;
1322
+ f = a[l], d = c.get(f), d === void 0 && c.set(f, d = l ? /* @__PURE__ */ new Map() : zn(t)), c = d;
1323
+ return d;
1324
1324
  };
1325
- dt();
1326
- const we = {
1327
- http: cn,
1328
- xhr: jn,
1325
+ pt();
1326
+ const xe = {
1327
+ http: un,
1328
+ xhr: In,
1329
1329
  fetch: {
1330
- get: dt
1330
+ get: pt
1331
1331
  }
1332
1332
  };
1333
- a.forEach(we, (e, t) => {
1333
+ i.forEach(xe, (e, t) => {
1334
1334
  if (e) {
1335
1335
  try {
1336
1336
  Object.defineProperty(e, "name", { value: t });
@@ -1339,57 +1339,57 @@ a.forEach(we, (e, t) => {
1339
1339
  Object.defineProperty(e, "adapterName", { value: t });
1340
1340
  }
1341
1341
  });
1342
- const ze = (e) => `- ${e}`, Jn = (e) => a.isFunction(e) || e === null || e === !1, pt = {
1342
+ const He = (e) => `- ${e}`, Yn = (e) => i.isFunction(e) || e === null || e === !1, mt = {
1343
1343
  getAdapter: (e, t) => {
1344
- e = a.isArray(e) ? e : [e];
1344
+ e = i.isArray(e) ? e : [e];
1345
1345
  const { length: n } = e;
1346
- let r, s;
1347
- const i = {};
1348
- for (let o = 0; o < n; o++) {
1349
- r = e[o];
1346
+ let r, o;
1347
+ const a = {};
1348
+ for (let s = 0; s < n; s++) {
1349
+ r = e[s];
1350
1350
  let l;
1351
- if (s = r, !Jn(r) && (s = we[(l = String(r)).toLowerCase()], s === void 0))
1351
+ if (o = r, !Yn(r) && (o = xe[(l = String(r)).toLowerCase()], o === void 0))
1352
1352
  throw new y(`Unknown adapter '${l}'`);
1353
- if (s && (a.isFunction(s) || (s = s.get(t))))
1353
+ if (o && (i.isFunction(o) || (o = o.get(t))))
1354
1354
  break;
1355
- i[l || "#" + o] = s;
1355
+ a[l || "#" + s] = o;
1356
1356
  }
1357
- if (!s) {
1358
- const o = Object.entries(i).map(
1359
- ([d, f]) => `adapter ${d} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1357
+ if (!o) {
1358
+ const s = Object.entries(a).map(
1359
+ ([f, d]) => `adapter ${f} ` + (d === !1 ? "is not supported by the environment" : "is not available in the build")
1360
1360
  );
1361
- let l = n ? o.length > 1 ? `since :
1362
- ` + o.map(ze).join(`
1363
- `) : " " + ze(o[0]) : "as no adapter specified";
1361
+ let l = n ? s.length > 1 ? `since :
1362
+ ` + s.map(He).join(`
1363
+ `) : " " + He(s[0]) : "as no adapter specified";
1364
1364
  throw new y(
1365
1365
  "There is no suitable adapter to dispatch the request " + l,
1366
1366
  "ERR_NOT_SUPPORT"
1367
1367
  );
1368
1368
  }
1369
- return s;
1369
+ return o;
1370
1370
  },
1371
- adapters: we
1371
+ adapters: xe
1372
1372
  };
1373
- function me(e) {
1373
+ function he(e) {
1374
1374
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1375
- throw new $(null, e);
1375
+ throw new W(null, e);
1376
1376
  }
1377
1377
  function Ve(e) {
1378
- return me(e), e.headers = A.from(e.headers), e.data = he.call(
1378
+ return he(e), e.headers = k.from(e.headers), e.data = me.call(
1379
1379
  e,
1380
1380
  e.transformRequest
1381
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), pt.getAdapter(e.adapter || X.adapter, e)(e).then(function(r) {
1382
- return me(e), r.data = he.call(
1381
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), mt.getAdapter(e.adapter || K.adapter, e)(e).then(function(r) {
1382
+ return he(e), r.data = me.call(
1383
1383
  e,
1384
1384
  e.transformResponse,
1385
1385
  r
1386
- ), r.headers = A.from(r.headers), r;
1386
+ ), r.headers = k.from(r.headers), r;
1387
1387
  }, function(r) {
1388
- return lt(r) || (me(e), r && r.response && (r.response.data = he.call(
1388
+ return ct(r) || (he(e), r && r.response && (r.response.data = me.call(
1389
1389
  e,
1390
1390
  e.transformResponse,
1391
1391
  r.response
1392
- ), r.response.headers = A.from(r.response.headers))), Promise.reject(r);
1392
+ ), r.response.headers = k.from(r.response.headers))), Promise.reject(r);
1393
1393
  });
1394
1394
  }
1395
1395
  const ht = "1.12.2", ce = {};
@@ -1398,23 +1398,23 @@ const ht = "1.12.2", ce = {};
1398
1398
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1399
1399
  };
1400
1400
  });
1401
- const We = {};
1401
+ const ze = {};
1402
1402
  ce.transitional = function(t, n, r) {
1403
- function s(i, o) {
1404
- return "[Axios v" + ht + "] Transitional option '" + i + "'" + o + (r ? ". " + r : "");
1403
+ function o(a, s) {
1404
+ return "[Axios v" + ht + "] Transitional option '" + a + "'" + s + (r ? ". " + r : "");
1405
1405
  }
1406
- return (i, o, l) => {
1406
+ return (a, s, l) => {
1407
1407
  if (t === !1)
1408
1408
  throw new y(
1409
- s(o, " has been removed" + (n ? " in " + n : "")),
1409
+ o(s, " has been removed" + (n ? " in " + n : "")),
1410
1410
  y.ERR_DEPRECATED
1411
1411
  );
1412
- return n && !We[o] && (We[o] = !0, console.warn(
1413
- s(
1414
- o,
1412
+ return n && !ze[s] && (ze[s] = !0, console.warn(
1413
+ o(
1414
+ s,
1415
1415
  " has been deprecated since v" + n + " and will be removed in the near future"
1416
1416
  )
1417
- )), t ? t(i, o, l) : !0;
1417
+ )), t ? t(a, s, l) : !0;
1418
1418
  };
1419
1419
  };
1420
1420
  ce.spelling = function(t) {
@@ -1424,28 +1424,28 @@ function Kn(e, t, n) {
1424
1424
  if (typeof e != "object")
1425
1425
  throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
1426
1426
  const r = Object.keys(e);
1427
- let s = r.length;
1428
- for (; s-- > 0; ) {
1429
- const i = r[s], o = t[i];
1430
- if (o) {
1431
- const l = e[i], d = l === void 0 || o(l, i, e);
1432
- if (d !== !0)
1433
- throw new y("option " + i + " must be " + d, y.ERR_BAD_OPTION_VALUE);
1427
+ let o = r.length;
1428
+ for (; o-- > 0; ) {
1429
+ const a = r[o], s = t[a];
1430
+ if (s) {
1431
+ const l = e[a], f = l === void 0 || s(l, a, e);
1432
+ if (f !== !0)
1433
+ throw new y("option " + a + " must be " + f, y.ERR_BAD_OPTION_VALUE);
1434
1434
  continue;
1435
1435
  }
1436
1436
  if (n !== !0)
1437
- throw new y("Unknown option " + i, y.ERR_BAD_OPTION);
1437
+ throw new y("Unknown option " + a, y.ERR_BAD_OPTION);
1438
1438
  }
1439
1439
  }
1440
1440
  const ne = {
1441
1441
  assertOptions: Kn,
1442
1442
  validators: ce
1443
- }, P = ne.validators;
1444
- let q = class {
1443
+ }, M = ne.validators;
1444
+ let U = class {
1445
1445
  constructor(t) {
1446
1446
  this.defaults = t || {}, this.interceptors = {
1447
- request: new Be(),
1448
- response: new Be()
1447
+ request: new Ne(),
1448
+ response: new Ne()
1449
1449
  };
1450
1450
  }
1451
1451
  /**
@@ -1461,12 +1461,12 @@ let q = class {
1461
1461
  return await this._request(t, n);
1462
1462
  } catch (r) {
1463
1463
  if (r instanceof Error) {
1464
- let s = {};
1465
- Error.captureStackTrace ? Error.captureStackTrace(s) : s = new Error();
1466
- const i = s.stack ? s.stack.replace(/^.+\n/, "") : "";
1464
+ let o = {};
1465
+ Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
1466
+ const a = o.stack ? o.stack.replace(/^.+\n/, "") : "";
1467
1467
  try {
1468
- r.stack ? i && !String(r.stack).endsWith(i.replace(/^.+\n.+\n/, "")) && (r.stack += `
1469
- ` + i) : r.stack = i;
1468
+ r.stack ? a && !String(r.stack).endsWith(a.replace(/^.+\n.+\n/, "")) && (r.stack += `
1469
+ ` + a) : r.stack = a;
1470
1470
  } catch {
1471
1471
  }
1472
1472
  }
@@ -1474,122 +1474,122 @@ let q = class {
1474
1474
  }
1475
1475
  }
1476
1476
  _request(t, n) {
1477
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = j(this.defaults, n);
1478
- const { transitional: r, paramsSerializer: s, headers: i } = n;
1477
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = $(this.defaults, n);
1478
+ const { transitional: r, paramsSerializer: o, headers: a } = n;
1479
1479
  r !== void 0 && ne.assertOptions(r, {
1480
- silentJSONParsing: P.transitional(P.boolean),
1481
- forcedJSONParsing: P.transitional(P.boolean),
1482
- clarifyTimeoutError: P.transitional(P.boolean)
1483
- }, !1), s != null && (a.isFunction(s) ? n.paramsSerializer = {
1484
- serialize: s
1485
- } : ne.assertOptions(s, {
1486
- encode: P.function,
1487
- serialize: P.function
1480
+ silentJSONParsing: M.transitional(M.boolean),
1481
+ forcedJSONParsing: M.transitional(M.boolean),
1482
+ clarifyTimeoutError: M.transitional(M.boolean)
1483
+ }, !1), o != null && (i.isFunction(o) ? n.paramsSerializer = {
1484
+ serialize: o
1485
+ } : ne.assertOptions(o, {
1486
+ encode: M.function,
1487
+ serialize: M.function
1488
1488
  }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), ne.assertOptions(n, {
1489
- baseUrl: P.spelling("baseURL"),
1490
- withXsrfToken: P.spelling("withXSRFToken")
1489
+ baseUrl: M.spelling("baseURL"),
1490
+ withXsrfToken: M.spelling("withXSRFToken")
1491
1491
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1492
- let o = i && a.merge(
1493
- i.common,
1494
- i[n.method]
1492
+ let s = a && i.merge(
1493
+ a.common,
1494
+ a[n.method]
1495
1495
  );
1496
- i && a.forEach(
1496
+ a && i.forEach(
1497
1497
  ["delete", "get", "head", "post", "put", "patch", "common"],
1498
1498
  (u) => {
1499
- delete i[u];
1499
+ delete a[u];
1500
1500
  }
1501
- ), n.headers = A.concat(o, i);
1501
+ ), n.headers = k.concat(s, a);
1502
1502
  const l = [];
1503
- let d = !0;
1504
- this.interceptors.request.forEach(function(m) {
1505
- typeof m.runWhen == "function" && m.runWhen(n) === !1 || (d = d && m.synchronous, l.unshift(m.fulfilled, m.rejected));
1503
+ let f = !0;
1504
+ this.interceptors.request.forEach(function(h) {
1505
+ typeof h.runWhen == "function" && h.runWhen(n) === !1 || (f = f && h.synchronous, l.unshift(h.fulfilled, h.rejected));
1506
1506
  });
1507
- const f = [];
1508
- this.interceptors.response.forEach(function(m) {
1509
- f.push(m.fulfilled, m.rejected);
1507
+ const d = [];
1508
+ this.interceptors.response.forEach(function(h) {
1509
+ d.push(h.fulfilled, h.rejected);
1510
1510
  });
1511
- let c, h = 0, g;
1512
- if (!d) {
1511
+ let c, m = 0, b;
1512
+ if (!f) {
1513
1513
  const u = [Ve.bind(this), void 0];
1514
- for (u.unshift(...l), u.push(...f), g = u.length, c = Promise.resolve(n); h < g; )
1515
- c = c.then(u[h++], u[h++]);
1514
+ for (u.unshift(...l), u.push(...d), b = u.length, c = Promise.resolve(n); m < b; )
1515
+ c = c.then(u[m++], u[m++]);
1516
1516
  return c;
1517
1517
  }
1518
- g = l.length;
1519
- let R = n;
1520
- for (; h < g; ) {
1521
- const u = l[h++], m = l[h++];
1518
+ b = l.length;
1519
+ let T = n;
1520
+ for (; m < b; ) {
1521
+ const u = l[m++], h = l[m++];
1522
1522
  try {
1523
- R = u(R);
1523
+ T = u(T);
1524
1524
  } catch (p) {
1525
- m.call(this, p);
1525
+ h.call(this, p);
1526
1526
  break;
1527
1527
  }
1528
1528
  }
1529
1529
  try {
1530
- c = Ve.call(this, R);
1530
+ c = Ve.call(this, T);
1531
1531
  } catch (u) {
1532
1532
  return Promise.reject(u);
1533
1533
  }
1534
- for (h = 0, g = f.length; h < g; )
1535
- c = c.then(f[h++], f[h++]);
1534
+ for (m = 0, b = d.length; m < b; )
1535
+ c = c.then(d[m++], d[m++]);
1536
1536
  return c;
1537
1537
  }
1538
1538
  getUri(t) {
1539
- t = j(this.defaults, t);
1540
- const n = ut(t.baseURL, t.url, t.allowAbsoluteUrls);
1541
- return ot(n, t.params, t.paramsSerializer);
1539
+ t = $(this.defaults, t);
1540
+ const n = dt(t.baseURL, t.url, t.allowAbsoluteUrls);
1541
+ return at(n, t.params, t.paramsSerializer);
1542
1542
  }
1543
1543
  };
1544
- a.forEach(["delete", "get", "head", "options"], function(t) {
1545
- q.prototype[t] = function(n, r) {
1546
- return this.request(j(r || {}, {
1544
+ i.forEach(["delete", "get", "head", "options"], function(t) {
1545
+ U.prototype[t] = function(n, r) {
1546
+ return this.request($(r || {}, {
1547
1547
  method: t,
1548
1548
  url: n,
1549
1549
  data: (r || {}).data
1550
1550
  }));
1551
1551
  };
1552
1552
  });
1553
- a.forEach(["post", "put", "patch"], function(t) {
1553
+ i.forEach(["post", "put", "patch"], function(t) {
1554
1554
  function n(r) {
1555
- return function(i, o, l) {
1556
- return this.request(j(l || {}, {
1555
+ return function(a, s, l) {
1556
+ return this.request($(l || {}, {
1557
1557
  method: t,
1558
1558
  headers: r ? {
1559
1559
  "Content-Type": "multipart/form-data"
1560
1560
  } : {},
1561
- url: i,
1562
- data: o
1561
+ url: a,
1562
+ data: s
1563
1563
  }));
1564
1564
  };
1565
1565
  }
1566
- q.prototype[t] = n(), q.prototype[t + "Form"] = n(!0);
1566
+ U.prototype[t] = n(), U.prototype[t + "Form"] = n(!0);
1567
1567
  });
1568
- let Xn = class mt {
1568
+ let Gn = class yt {
1569
1569
  constructor(t) {
1570
1570
  if (typeof t != "function")
1571
1571
  throw new TypeError("executor must be a function.");
1572
1572
  let n;
1573
- this.promise = new Promise(function(i) {
1574
- n = i;
1573
+ this.promise = new Promise(function(a) {
1574
+ n = a;
1575
1575
  });
1576
1576
  const r = this;
1577
- this.promise.then((s) => {
1577
+ this.promise.then((o) => {
1578
1578
  if (!r._listeners) return;
1579
- let i = r._listeners.length;
1580
- for (; i-- > 0; )
1581
- r._listeners[i](s);
1579
+ let a = r._listeners.length;
1580
+ for (; a-- > 0; )
1581
+ r._listeners[a](o);
1582
1582
  r._listeners = null;
1583
- }), this.promise.then = (s) => {
1584
- let i;
1585
- const o = new Promise((l) => {
1586
- r.subscribe(l), i = l;
1587
- }).then(s);
1588
- return o.cancel = function() {
1589
- r.unsubscribe(i);
1590
- }, o;
1591
- }, t(function(i, o, l) {
1592
- r.reason || (r.reason = new $(i, o, l), n(r.reason));
1583
+ }), this.promise.then = (o) => {
1584
+ let a;
1585
+ const s = new Promise((l) => {
1586
+ r.subscribe(l), a = l;
1587
+ }).then(o);
1588
+ return s.cancel = function() {
1589
+ r.unsubscribe(a);
1590
+ }, s;
1591
+ }, t(function(a, s, l) {
1592
+ r.reason || (r.reason = new W(a, s, l), n(r.reason));
1593
1593
  });
1594
1594
  }
1595
1595
  /**
@@ -1631,22 +1631,22 @@ let Xn = class mt {
1631
1631
  static source() {
1632
1632
  let t;
1633
1633
  return {
1634
- token: new mt(function(s) {
1635
- t = s;
1634
+ token: new yt(function(o) {
1635
+ t = o;
1636
1636
  }),
1637
1637
  cancel: t
1638
1638
  };
1639
1639
  }
1640
1640
  };
1641
- function Gn(e) {
1641
+ function Qn(e) {
1642
1642
  return function(n) {
1643
1643
  return e.apply(null, n);
1644
1644
  };
1645
1645
  }
1646
- function Yn(e) {
1647
- return a.isObject(e) && e.isAxiosError === !0;
1646
+ function Xn(e) {
1647
+ return i.isObject(e) && e.isAxiosError === !0;
1648
1648
  }
1649
- const Ee = {
1649
+ const we = {
1650
1650
  Continue: 100,
1651
1651
  SwitchingProtocols: 101,
1652
1652
  Processing: 102,
@@ -1711,85 +1711,85 @@ const Ee = {
1711
1711
  NotExtended: 510,
1712
1712
  NetworkAuthenticationRequired: 511
1713
1713
  };
1714
- Object.entries(Ee).forEach(([e, t]) => {
1715
- Ee[t] = e;
1714
+ Object.entries(we).forEach(([e, t]) => {
1715
+ we[t] = e;
1716
1716
  });
1717
- function yt(e) {
1718
- const t = new q(e), n = Je(q.prototype.request, t);
1719
- return a.extend(n, q.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1720
- return yt(j(e, s));
1717
+ function gt(e) {
1718
+ const t = new U(e), n = Ye(U.prototype.request, t);
1719
+ return i.extend(n, U.prototype, t, { allOwnKeys: !0 }), i.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
1720
+ return gt($(e, o));
1721
1721
  }, n;
1722
1722
  }
1723
- const w = yt(X);
1724
- w.Axios = q;
1725
- w.CanceledError = $;
1726
- w.CancelToken = Xn;
1727
- w.isCancel = lt;
1728
- w.VERSION = ht;
1729
- w.toFormData = le;
1730
- w.AxiosError = y;
1731
- w.Cancel = w.CanceledError;
1732
- w.all = function(t) {
1723
+ const x = gt(K);
1724
+ x.Axios = U;
1725
+ x.CanceledError = W;
1726
+ x.CancelToken = Gn;
1727
+ x.isCancel = ct;
1728
+ x.VERSION = ht;
1729
+ x.toFormData = le;
1730
+ x.AxiosError = y;
1731
+ x.Cancel = x.CanceledError;
1732
+ x.all = function(t) {
1733
1733
  return Promise.all(t);
1734
1734
  };
1735
- w.spread = Gn;
1736
- w.isAxiosError = Yn;
1737
- w.mergeConfig = j;
1738
- w.AxiosHeaders = A;
1739
- w.formToJSON = (e) => at(a.isHTMLForm(e) ? new FormData(e) : e);
1740
- w.getAdapter = pt.getAdapter;
1741
- w.HttpStatusCode = Ee;
1742
- w.default = w;
1735
+ x.spread = Qn;
1736
+ x.isAxiosError = Xn;
1737
+ x.mergeConfig = $;
1738
+ x.AxiosHeaders = k;
1739
+ x.formToJSON = (e) => lt(i.isHTMLForm(e) ? new FormData(e) : e);
1740
+ x.getAdapter = mt.getAdapter;
1741
+ x.HttpStatusCode = we;
1742
+ x.default = x;
1743
1743
  const {
1744
- Axios: Lr,
1745
- AxiosError: kr,
1746
- CanceledError: Fr,
1747
- isCancel: Nr,
1748
- CancelToken: Pr,
1749
- VERSION: Dr,
1750
- all: Br,
1751
- Cancel: Ur,
1752
- isAxiosError: Mr,
1753
- spread: _r,
1754
- toFormData: qr,
1755
- AxiosHeaders: jr,
1756
- HttpStatusCode: Ir,
1757
- formToJSON: vr,
1758
- getAdapter: Hr,
1759
- mergeConfig: $r
1760
- } = w;
1761
- function Qn() {
1744
+ Axios: ko,
1745
+ AxiosError: Ro,
1746
+ CanceledError: Ao,
1747
+ isCancel: Lo,
1748
+ CancelToken: Do,
1749
+ VERSION: Fo,
1750
+ all: Mo,
1751
+ Cancel: vo,
1752
+ isAxiosError: No,
1753
+ spread: Po,
1754
+ toFormData: Bo,
1755
+ AxiosHeaders: qo,
1756
+ HttpStatusCode: Uo,
1757
+ formToJSON: $o,
1758
+ getAdapter: Io,
1759
+ mergeConfig: jo
1760
+ } = x;
1761
+ function Zn() {
1762
1762
  function e(t, n = {}) {
1763
1763
  return n = { ...{
1764
1764
  timeout: 5e3,
1765
1765
  headers: {
1766
1766
  "Cache-Control": "no-cache"
1767
1767
  }
1768
- }, ...n }, w.get(t, n).then((i) => i.data);
1768
+ }, ...n }, x.get(t, n).then((a) => a.data);
1769
1769
  }
1770
1770
  return {
1771
1771
  loadResource: e
1772
1772
  };
1773
1773
  }
1774
- const Zn = {
1774
+ const er = {
1775
1775
  selectedStart: "已选:",
1776
1776
  selectedEnd: "项数据"
1777
- }, er = {
1777
+ }, tr = {
1778
1778
  placeholder: "请选择时间",
1779
1779
  time: {
1780
1780
  hour: "时",
1781
1781
  minute: "分",
1782
1782
  seconds: "秒"
1783
1783
  }
1784
- }, tr = {
1784
+ }, nr = {
1785
1785
  more: "更多",
1786
1786
  leftButton: "向左",
1787
1787
  rightButton: "向左",
1788
1788
  noData: "没有相关数据"
1789
- }, nr = {
1789
+ }, rr = {
1790
1790
  expandLabel: "展开",
1791
1791
  collapseLabel: "收起"
1792
- }, rr = {
1792
+ }, or = {
1793
1793
  more: "更多"
1794
1794
  }, sr = {
1795
1795
  saveAsDialog: {
@@ -1829,7 +1829,7 @@ const Zn = {
1829
1829
  clear: "清空",
1830
1830
  require: "请填写{fields}再进行筛选"
1831
1831
  }
1832
- }, or = {
1832
+ }, ar = {
1833
1833
  message: "共 <b>{1}</b> 条",
1834
1834
  totalInfo: {
1835
1835
  firstText: "共",
@@ -1852,7 +1852,7 @@ const Zn = {
1852
1852
  begin: "开始数字",
1853
1853
  end: "结束数字"
1854
1854
  }
1855
- }, ar = {
1855
+ }, lr = {
1856
1856
  yes: "是",
1857
1857
  no: "否",
1858
1858
  ok: "确定",
@@ -1884,7 +1884,7 @@ const Zn = {
1884
1884
  copyFailed: "复制失败",
1885
1885
  roger: "知道了"
1886
1886
  }
1887
- }, lr = {
1887
+ }, cr = {
1888
1888
  exact: "精确",
1889
1889
  placeholder: "请选择",
1890
1890
  favorites: "收藏夹",
@@ -1939,9 +1939,9 @@ const Zn = {
1939
1939
  },
1940
1940
  clearAllConditions: "清除所有查询条件",
1941
1941
  anyFields: "全部"
1942
- }, cr = {
1943
- message: "正在加载,请稍候..."
1944
1942
  }, ur = {
1943
+ message: "正在加载,请稍候..."
1944
+ }, dr = {
1945
1945
  emptyMessage: "暂无数据"
1946
1946
  }, fr = {
1947
1947
  cancelButton: "取消",
@@ -1978,7 +1978,7 @@ const Zn = {
1978
1978
  relation: "条件关系不完整,请检查",
1979
1979
  field: "条件字段未设置,请检查"
1980
1980
  }
1981
- }, dr = {
1981
+ }, pr = {
1982
1982
  confirm: "确定",
1983
1983
  cancel: "取消",
1984
1984
  advancedFilter: "更多筛选",
@@ -1986,7 +1986,7 @@ const Zn = {
1986
1986
  reset: "清空筛选",
1987
1987
  expand: "展开",
1988
1988
  fold: "收起"
1989
- }, pr = {
1989
+ }, mr = {
1990
1990
  title: "参数编辑器",
1991
1991
  ok: "确定",
1992
1992
  cancel: "取消",
@@ -2012,7 +2012,7 @@ const Zn = {
2012
2012
  }, hr = {
2013
2013
  cancel: "取消",
2014
2014
  confirm: "确定"
2015
- }, mr = {
2015
+ }, yr = {
2016
2016
  dayLabels: {
2017
2017
  Sun: "日",
2018
2018
  Mon: "一",
@@ -2095,7 +2095,7 @@ const Zn = {
2095
2095
  recent6Months: "最近6个月",
2096
2096
  nextYear: "明年"
2097
2097
  }
2098
- }, yr = {
2098
+ }, gr = {
2099
2099
  lineNumberTitle: "序号",
2100
2100
  emptyMessage: "暂无数据",
2101
2101
  pagination: {
@@ -2141,7 +2141,8 @@ const Zn = {
2141
2141
  sevenDays: "七天",
2142
2142
  oneMonth: "一个月",
2143
2143
  threeMonths: "三个月",
2144
- sixMonths: "半年"
2144
+ sixMonths: "半年",
2145
+ searchBoxPlaceholder: "请输入关键词"
2145
2146
  },
2146
2147
  settings: {
2147
2148
  visible: "显示列",
@@ -2214,13 +2215,13 @@ const Zn = {
2214
2215
  cancel: "取消",
2215
2216
  accept: "确定"
2216
2217
  }
2217
- }, gr = {
2218
+ }, br = {
2218
2219
  add: "添加条件",
2219
2220
  create: "生成条件组",
2220
2221
  reset: "重置",
2221
2222
  and: "与",
2222
2223
  or: "或"
2223
- }, br = {
2224
+ }, xr = {
2224
2225
  equal: "等于",
2225
2226
  notEqual: "不等于",
2226
2227
  greater: "大于",
@@ -2252,15 +2253,15 @@ const Zn = {
2252
2253
  }, Er = {
2253
2254
  remoteError: "请求方法类型不正确",
2254
2255
  placeholder: "请选择"
2255
- }, Sr = {
2256
+ }, Tr = {
2256
2257
  dayLabels: {
2257
- Sun: "周日",
2258
- Mon: "周一",
2259
- Tue: "周二",
2260
- Wed: "周三",
2261
- Thu: "周四",
2262
- Fri: "周五",
2263
- Sat: "周六"
2258
+ Sun: "星期日",
2259
+ Mon: "星期一",
2260
+ Tue: "星期二",
2261
+ Wed: "星期三",
2262
+ Thu: "星期四",
2263
+ Fri: "星期五",
2264
+ Sat: "星期六"
2264
2265
  },
2265
2266
  monthLabels: {
2266
2267
  1: "1月",
@@ -2291,73 +2292,1195 @@ const Zn = {
2291
2292
  prevDay: "上一天",
2292
2293
  nextDay: "下一天",
2293
2294
  prevYear: "上一年",
2294
- nextYear: "下一年"
2295
- }, Rr = {
2295
+ nextYear: "下一年",
2296
+ more: "还有 #count# 项..."
2297
+ }, Sr = {
2296
2298
  imgtitle: "点击修改",
2297
2299
  typeError: "上传图片类型不正确",
2298
2300
  sizeError: "上传图片不能大于",
2299
2301
  uploadError: "图片上传失败,请重试!",
2300
2302
  loadError: "加载错误",
2301
2303
  loading: "加载中"
2302
- }, Tr = {
2303
- transfer: Zn,
2304
- timePicker: er,
2305
- tabs: tr,
2306
- section: nr,
2307
- responseToolbar: rr,
2304
+ }, Cr = {
2305
+ transfer: er,
2306
+ timePicker: tr,
2307
+ tabs: nr,
2308
+ section: rr,
2309
+ responseToolbar: or,
2308
2310
  querySolution: sr,
2309
- pagination: or,
2311
+ pagination: ar,
2310
2312
  numberSpinner: ir,
2311
- messageBox: ar,
2312
- lookup: lr,
2313
- loading: cr,
2314
- listView: ur,
2313
+ messageBox: lr,
2314
+ lookup: cr,
2315
+ loading: ur,
2316
+ listView: dr,
2315
2317
  "input-group": {
2316
2318
  placeholder: "请输入"
2317
2319
  },
2318
2320
  filterConditionEditor: fr,
2319
- filterBar: dr,
2320
- eventParameter: pr,
2321
+ filterBar: pr,
2322
+ eventParameter: mr,
2321
2323
  drawer: hr,
2322
- datepicker: mr,
2323
- datagrid: yr,
2324
- condition: gr,
2325
- operators: br,
2324
+ datepicker: yr,
2325
+ datagrid: gr,
2326
+ condition: br,
2327
+ operators: xr,
2326
2328
  comment: wr,
2327
2329
  comboList: Er,
2328
- calendar: Sr,
2329
- avatar: Rr
2330
- }, b = class b {
2330
+ calendar: Tr,
2331
+ avatar: Sr
2332
+ }, Or = {
2333
+ selectedStart: "Selected: ",
2334
+ selectedEnd: " Items"
2335
+ }, kr = {
2336
+ placeholder: "Please select a time",
2337
+ time: {
2338
+ hour: "Hour",
2339
+ minute: "Minute",
2340
+ seconds: "Second"
2341
+ }
2342
+ }, Rr = {
2343
+ more: "More",
2344
+ leftButton: "Left",
2345
+ rightButton: "Right",
2346
+ noData: "No data available"
2347
+ }, Ar = {
2348
+ expandLabel: "Expand",
2349
+ collapseLabel: "Collapse"
2350
+ }, Lr = {
2351
+ more: "More"
2352
+ }, Dr = {
2353
+ saveAsDialog: {
2354
+ queryPlanName: "Solution Name",
2355
+ setAsDefault: "Set as default",
2356
+ confirm: "OK",
2357
+ cancel: "Cancel",
2358
+ caption: "New Solution",
2359
+ personal: "Personal solution",
2360
+ system: "System public solution",
2361
+ nameNotify: "Please enter solution name",
2362
+ authNotify: "You do not have permission to modify public solutions.",
2363
+ success: "Filter solution saved successfully.",
2364
+ maxLength: "Solution name cannot exceed 100 characters, please modify"
2365
+ },
2366
+ manageDialog: {
2367
+ caption: "Solution Management",
2368
+ default: "Default",
2369
+ system: "System Public",
2370
+ saveAs: "Save As",
2371
+ save: "Save",
2372
+ manage: "Manage",
2373
+ isDefault: "Default Solution",
2374
+ code: "Name",
2375
+ type: "Type",
2376
+ private: "Personal",
2377
+ public: "System Public",
2378
+ org: "Organization Public",
2379
+ remove: "Delete"
2380
+ },
2381
+ configDialog: {
2382
+ caption: "Filter Configuration"
2383
+ },
2384
+ container: {
2385
+ filter: "Filter",
2386
+ default: "Default Filter Solution",
2387
+ clear: "Clear",
2388
+ require: "Please fill in {fields} before filtering"
2389
+ }
2390
+ }, Fr = {
2391
+ message: "Total <b>{1}</b> Items ",
2392
+ totalInfo: {
2393
+ firstText: "Total",
2394
+ lastText: "Items"
2395
+ },
2396
+ pageList: {
2397
+ firstText: "Display",
2398
+ lastText: "Items"
2399
+ },
2400
+ previous: "Previous",
2401
+ next: "Next",
2402
+ goto: {
2403
+ prefix: "Go to",
2404
+ suffix: ""
2405
+ },
2406
+ show: "Display"
2407
+ }, Mr = {
2408
+ placeholder: "Please enter the number",
2409
+ range: {
2410
+ begin: "Begin number",
2411
+ end: "End number"
2412
+ }
2413
+ }, vr = {
2414
+ yes: "Yes",
2415
+ no: "No",
2416
+ ok: "OK",
2417
+ close: "Close",
2418
+ cancel: "Cancel",
2419
+ title: "System Information",
2420
+ errorTitle: "Error Information",
2421
+ prompt: {
2422
+ fontSize: {
2423
+ name: "Font Size",
2424
+ small: "Small",
2425
+ middle: "Middle",
2426
+ big: "Large",
2427
+ large: "Extra Large",
2428
+ huge: "Huge"
2429
+ },
2430
+ tips: {
2431
+ surplus: "You can also input {0} characters",
2432
+ length: "{0} characters have been entered"
2433
+ }
2434
+ },
2435
+ exception: {
2436
+ expand: "Expand",
2437
+ collapse: "Collapse",
2438
+ happend: "Happened Time",
2439
+ detail: "Detail",
2440
+ copy: "Copy Details",
2441
+ copySuccess: "Copy Success.",
2442
+ copyFailed: "Copy Failed.",
2443
+ roger: "OK"
2444
+ }
2445
+ }, Nr = {
2446
+ exact: "Exact",
2447
+ placeholder: "Please select",
2448
+ favorites: "Favorites",
2449
+ selected: "Selected Items",
2450
+ okText: "OK",
2451
+ cancelText: "Cancel",
2452
+ allColumns: "All Columns",
2453
+ datalist: "Data Items",
2454
+ mustWriteSomething: "Please enter a keyword to search.",
2455
+ mustChoosAdatarow: "Please select a record.",
2456
+ tipText: "Are these what you are looking for?",
2457
+ cascade: {
2458
+ enable: "Bidirectional Cascading",
2459
+ disable: "Disable Cascading",
2460
+ up: "Upward Cascading",
2461
+ down: "Downward Cascading"
2462
+ },
2463
+ includechildren: "Include Children",
2464
+ favoriteInfo: {
2465
+ addFav: "Collection Success.",
2466
+ cancelFav: "Unfavorite Successfully. ",
2467
+ addFavTitle: "Add to Favorite",
2468
+ cancelFavTitle: "Cancel Favorite"
2469
+ },
2470
+ getAllChilds: "Get All Children",
2471
+ contextMenu: {
2472
+ checkChildNodes: "Check Subordinate Nodes",
2473
+ uncheckChildNodes: "Uncheck Subordinate Nodes",
2474
+ expandall: "Expand All",
2475
+ collapseall: "Collapse All",
2476
+ expandByLayer: "Expand by Level",
2477
+ expand1: "Expand to Level 1",
2478
+ expand2: "Expand to Level 2",
2479
+ expand3: "Expand to Level 3",
2480
+ expand4: "Expand to Level 4",
2481
+ expand5: "Expand to Level 5",
2482
+ expand6: "Expand to Level 6",
2483
+ expand7: "Expand to Level 7",
2484
+ expand8: "Expand to Level 8",
2485
+ expand9: "Expand to Level 9"
2486
+ },
2487
+ quick: {
2488
+ notfind: "Search Content Not Found.",
2489
+ more: "Show More"
2490
+ },
2491
+ configError: "The help display column is not configured. Please check whether the help data source is configured correctly.",
2492
+ selectedInfo: {
2493
+ total: 'Selected Items <span style="font-size: 18px;padding: 0 3px;">{0}</span>',
2494
+ clear: "Cancel Selected",
2495
+ remove: "Delete ({0})",
2496
+ confirm: "Are you sure you want to cancel all selected records?"
2497
+ },
2498
+ clearAllConditions: "Clear All Conditions",
2499
+ anyFields: "All"
2500
+ }, Pr = {
2501
+ message: "Loading ..."
2502
+ }, Br = {
2503
+ emptyMessage: "Empty Data"
2504
+ }, qr = {
2505
+ cancelButton: "Cancel",
2506
+ okButton: "OK",
2507
+ addWhere: "Add",
2508
+ clear: "Clear",
2509
+ moveTop: "Top",
2510
+ moveUp: "Up",
2511
+ moveDown: "Down",
2512
+ moveBottom: "Bottom",
2513
+ leftBrackets: "Left Brackets",
2514
+ field: "Field Name",
2515
+ operator: "Operator",
2516
+ value: "Value",
2517
+ valueType: "Value type",
2518
+ expressType: {
2519
+ value: "Value",
2520
+ express: "Express",
2521
+ frontExpress: "Front Express"
2522
+ },
2523
+ rightBrackets: "Right Brackets",
2524
+ relation: "Relation",
2525
+ relationValue: {
2526
+ and: "And",
2527
+ or: "Or"
2528
+ },
2529
+ designTab: "Design",
2530
+ jsonTab: "JSON",
2531
+ sqlTab: "Sql",
2532
+ title: "Filter Designer",
2533
+ message: "Are you sure you want to clear all current data?",
2534
+ validate: {
2535
+ bracket: "The brackets do not match, please check",
2536
+ relation: "The condition relationship is incomplete, please check",
2537
+ field: "Condition field is not set, please check"
2538
+ }
2539
+ }, Ur = {
2540
+ confirm: "OK",
2541
+ cancel: "Cancel",
2542
+ advancedFilter: "More Conditions",
2543
+ clearAll: "Clear",
2544
+ reset: "Clear",
2545
+ expand: "Expand",
2546
+ fold: "Fold"
2547
+ }, $r = {
2548
+ title: "Parameter Editor",
2549
+ ok: "confirm",
2550
+ cancel: "cancel",
2551
+ workFlowClass: {
2552
+ title: "Please select a process category"
2553
+ },
2554
+ generalEditor: {
2555
+ field: "field",
2556
+ tabVar: "variable",
2557
+ form: "form components"
2558
+ },
2559
+ jsonEditor: {
2560
+ dialogTitle: "Configurable parameter editor",
2561
+ keyColumnTitle: "parameter",
2562
+ valueColumnTitle: "parameter value",
2563
+ addButtonText: "Add configuration parameters",
2564
+ keyColumnPlaceholder: "Please enter the parameters",
2565
+ error: "Expected array of parameter schema for JsonEditor, but received invalid JSON"
2566
+ },
2567
+ comboTree: {
2568
+ placeholder: "Please select"
2569
+ }
2570
+ }, Ir = {
2571
+ cancel: "Cancel",
2572
+ confirm: "Confirm"
2573
+ }, jr = {
2574
+ dayLabels: {
2575
+ Sun: "Sun",
2576
+ Mon: "Mon",
2577
+ Tue: "Tue",
2578
+ Wed: "Wed",
2579
+ Thu: "Thu",
2580
+ Fri: "Fri",
2581
+ Sat: "Sat"
2582
+ },
2583
+ monthLabels: {
2584
+ 1: "Jan",
2585
+ 2: "Feb",
2586
+ 3: "Mar",
2587
+ 4: "Apr",
2588
+ 5: "May",
2589
+ 6: "Jun",
2590
+ 7: "Jul",
2591
+ 8: "Aug",
2592
+ 9: "Sep",
2593
+ 10: "Oct",
2594
+ 11: "Nov",
2595
+ 12: "Dec"
2596
+ },
2597
+ dateFormat: "MM/dd/yyyy",
2598
+ returnFormat: "MM/dd/yyyy",
2599
+ firstDayOfWeek: "mo",
2600
+ sunHighlight: !1,
2601
+ yearTxt: "",
2602
+ timeBtnText: "Select Time",
2603
+ dateBtnText: "Select Date",
2604
+ commitBtnText: "OK",
2605
+ weekText: "Week",
2606
+ placeholder: "Please select a date",
2607
+ range: {
2608
+ begin: "Begin date",
2609
+ end: "End date"
2610
+ },
2611
+ message: {
2612
+ 101: "The end time must not be earlier than the start time.",
2613
+ 102: "Only ${0} dates are allowed to be selected."
2614
+ },
2615
+ current: {
2616
+ today: "Today",
2617
+ week: "This Week",
2618
+ month: "This Month",
2619
+ year: "This Year"
2620
+ },
2621
+ multiDatesLocale: {
2622
+ backtotoday: "Back to Today",
2623
+ clearSelections: "Clear All",
2624
+ delete: "Delete",
2625
+ selected: "Selected,Days"
2626
+ },
2627
+ quickSelectors: {
2628
+ today: "Today",
2629
+ yesterday: "Yesterday",
2630
+ tomorrow: "Tomorrow",
2631
+ thisMonday: "This Monday",
2632
+ nextMonday: "Next Monday",
2633
+ firstDayOfMonth: "First Day of Month",
2634
+ lastDayOfMonth: "Last Day of Month",
2635
+ firstDayOfLastMonth: "First Day of Last Month",
2636
+ lastDayOfLastMonth: "Last Day of Last Month",
2637
+ firstDayOfYear: "First Day of Year",
2638
+ lastDayOfYear: "Last Day of Year",
2639
+ firstDayOfQuarter: "First Day of Quarter",
2640
+ lastDayOfQuarter: "Last Day of Quarter",
2641
+ thisWeek: "This Week",
2642
+ lastWeek: "Last Week",
2643
+ nextWeek: "Next Week",
2644
+ past7Days: "Past 7 Days",
2645
+ past30Days: "Past 30 Days",
2646
+ thisMonth: "This Month",
2647
+ lastMonth: "Last Month",
2648
+ thisQuarter: "This Quarter",
2649
+ lastQuarter: "Last Quarter",
2650
+ thisYear: "This Year",
2651
+ lastYear: "Last Year",
2652
+ recent3Months: "Recent 3 Months",
2653
+ recent6Months: "Recent 6 Months",
2654
+ nextYear: "Next Year"
2655
+ }
2656
+ }, _r = {
2657
+ lineNumberTitle: "NO.",
2658
+ emptyMessage: "Empty Data",
2659
+ pagination: {
2660
+ previousLabel: "Prev Page",
2661
+ nextLabel: "Next Page",
2662
+ message: "Total <b>{1}</b> Items",
2663
+ pagelist: {
2664
+ firstText: "Display",
2665
+ lastText: "items"
2666
+ }
2667
+ },
2668
+ filter: {
2669
+ title: "Conditions",
2670
+ reset: "Reset",
2671
+ clear: "Clear",
2672
+ clearAll: "Clear All Conditions",
2673
+ setting: "Settings",
2674
+ nofilter: "[ Empty ]",
2675
+ checkAll: "Check All",
2676
+ and: "And",
2677
+ or: "Or",
2678
+ operators: {
2679
+ equal: "equal",
2680
+ notEqual: "not equal",
2681
+ greater: "greater than",
2682
+ greaterOrEqual: "greater than or equal",
2683
+ less: "less than",
2684
+ lessOrEqual: "less than or equal",
2685
+ contains: "contains",
2686
+ notContains: "not contains",
2687
+ like: "contains",
2688
+ notLike: "not contains",
2689
+ in: "in",
2690
+ notIn: "not in",
2691
+ empty: "empty",
2692
+ notEmpty: "not empty",
2693
+ null: "null",
2694
+ notNull: "not null"
2695
+ },
2696
+ more: "More",
2697
+ ok: "ok",
2698
+ cancel: "cancel",
2699
+ sevenDays: "Seven Days",
2700
+ oneMonth: "One Month",
2701
+ threeMonths: "Three Months",
2702
+ sixMonths: "Six Months",
2703
+ searchBoxPlaceholder: "Please enter a keyword"
2704
+ },
2705
+ settings: {
2706
+ visible: "Display Columns",
2707
+ sortting: "Sortting",
2708
+ title: "Column Settings",
2709
+ canchoose: "Can choose",
2710
+ choosed: "Choosed",
2711
+ asc: "ASC",
2712
+ desc: "DESC",
2713
+ cancelSort: "Cancel sortting",
2714
+ ok: "OK",
2715
+ cancel: "Cancel",
2716
+ reset: "Reset",
2717
+ conciseMode: "Concise",
2718
+ advancedMode: "Advanced",
2719
+ formatSetting: "Column format",
2720
+ properties: "Column properties",
2721
+ groupping: "Groupping",
2722
+ allColumns: "All",
2723
+ visibleColumns: "Visible",
2724
+ hiddenColumns: "Hidden",
2725
+ searchPlaceholder: "Please enter a column name",
2726
+ checkall: "Show or hide all",
2727
+ headeralign: "Header alignment",
2728
+ dataalign: "Data alignment",
2729
+ alignLeft: "Left",
2730
+ alignCenter: "Center",
2731
+ alignRight: "Right",
2732
+ summarytype: "Summary type",
2733
+ summarytext: "Summary text",
2734
+ summaryNone: "None",
2735
+ summarySum: "Sum",
2736
+ summaryMax: "Max",
2737
+ summaryMin: "Min",
2738
+ summarCount: "Count",
2739
+ summaryAverage: "Average",
2740
+ grouppingField: "Groupping field",
2741
+ moreGrouppingFieldWarningMessage: "Up to 3 fields are set for grouping",
2742
+ grouppingSummary: "Group total",
2743
+ addGrouppingFieldTip: "Add groupping field",
2744
+ removeGrouppingFieldTip: "Remove groupping field",
2745
+ grouppingSummaryType: "Group total type",
2746
+ grouppingSummaryText: "Group total text",
2747
+ restoreDefaultSettingsText: "Are you sure you want to restore the default settings",
2748
+ simple: {
2749
+ title: "Show Columns",
2750
+ tip: "The selected fields can be displayed in the list. Drag to adjust the display order in the list.",
2751
+ count: "show <span class='visible-cols-count'>{0}</span> columns"
2752
+ }
2753
+ },
2754
+ selectionData: {
2755
+ clearAll: "Clear all",
2756
+ tooltip: "Click here show list.",
2757
+ currentLenth: "<b>{0}</b> items selected."
2758
+ },
2759
+ groupRow: {
2760
+ tips: "Drag columns here to group data.",
2761
+ removeColumn: "Remove the group column.",
2762
+ clearTip: "Clear all grouped fields.",
2763
+ clear: "Empty"
2764
+ },
2765
+ summary: {
2766
+ title: "Current Page Total"
2767
+ },
2768
+ loadingMessage: "Loading",
2769
+ commandColumn: {
2770
+ title: "Operations",
2771
+ edit: "Edit",
2772
+ remove: "Remove",
2773
+ cancel: "Cancel",
2774
+ accept: "Accept"
2775
+ }
2776
+ }, Wr = {
2777
+ add: "Add condition",
2778
+ create: "Create condition group",
2779
+ reset: "Reset",
2780
+ and: "And",
2781
+ or: "Or"
2782
+ }, Hr = {
2783
+ equal: "Equal",
2784
+ notEqual: "Not equal",
2785
+ greater: "Greater than",
2786
+ greaterOrEqual: "Greater than or equal",
2787
+ less: "Less than",
2788
+ lessOrEqual: "Less than or equal",
2789
+ contains: "Contains",
2790
+ notContains: "Does not contain",
2791
+ like: "Contains",
2792
+ notLike: "Does not contain",
2793
+ in: "In",
2794
+ notIn: "Not in",
2795
+ empty: "Is empty",
2796
+ notEmpty: "Is not empty",
2797
+ null: "Null",
2798
+ notNull: "Not null",
2799
+ startWith: "Starts with",
2800
+ endWith: "Ends with",
2801
+ and: "And",
2802
+ or: "Or"
2803
+ }, Vr = {
2804
+ reply: "Reply",
2805
+ cancel: "Cancel",
2806
+ submit: "Submit",
2807
+ confirm: "Confirm",
2808
+ colleague: "Colleague",
2809
+ searchPlaceholder: "Enter name to search",
2810
+ submitEmpty: "Submission content cannot be empty"
2811
+ }, zr = {
2812
+ remoteError: "The request method type is incorrect",
2813
+ placeholder: "Please select"
2814
+ }, Jr = {
2815
+ dayLabels: {
2816
+ Sun: "Sun",
2817
+ Mon: "Mon",
2818
+ Tue: "Tue",
2819
+ Wed: "Wed",
2820
+ Thu: "Thu",
2821
+ Fri: "Fri",
2822
+ Sat: "Sat"
2823
+ },
2824
+ monthLabels: {
2825
+ 1: "Jan",
2826
+ 2: "Feb",
2827
+ 3: "Mar",
2828
+ 4: "Apr",
2829
+ 5: "May",
2830
+ 6: "Jun",
2831
+ 7: "Jul",
2832
+ 8: "Aug",
2833
+ 9: "Sep",
2834
+ 10: "Oct",
2835
+ 11: "Nov",
2836
+ 12: "Dec"
2837
+ },
2838
+ titleFormat: "MM yyyy",
2839
+ yearViewTitleFormat: "yyyy",
2840
+ today: "Today",
2841
+ thisYear: "This Year",
2842
+ monthView: "Month",
2843
+ weekView: "Week",
2844
+ dayView: "Day",
2845
+ yearView: "Year",
2846
+ prevMonth: "Prev Month",
2847
+ nextMonth: "Next Month",
2848
+ prevWeek: "Prev Week",
2849
+ nextWeek: "Next Week",
2850
+ prevDay: "Prev Day",
2851
+ nextDay: "Next Day",
2852
+ prevYear: "Prev Year",
2853
+ nextYear: "Next Year",
2854
+ more: "Still #count# more items..."
2855
+ }, Yr = {
2856
+ imgtitle: "Amend",
2857
+ typeError: "Type error",
2858
+ sizeError: "Can not be larger than",
2859
+ uploadError: "Upload Fail!",
2860
+ loadError: "Load error.",
2861
+ loading: "Loading"
2862
+ }, Kr = {
2863
+ transfer: Or,
2864
+ timePicker: kr,
2865
+ tabs: Rr,
2866
+ section: Ar,
2867
+ responseToolbar: Lr,
2868
+ querySolution: Dr,
2869
+ pagination: Fr,
2870
+ numberSpinner: Mr,
2871
+ messageBox: vr,
2872
+ lookup: Nr,
2873
+ loading: Pr,
2874
+ listView: Br,
2875
+ "input-group": {
2876
+ placeholder: "Enter"
2877
+ },
2878
+ filterConditionEditor: qr,
2879
+ filterBar: Ur,
2880
+ eventParameter: $r,
2881
+ drawer: Ir,
2882
+ datepicker: jr,
2883
+ datagrid: _r,
2884
+ condition: Wr,
2885
+ operators: Hr,
2886
+ comment: Vr,
2887
+ comboList: zr,
2888
+ calendar: Jr,
2889
+ avatar: Yr
2890
+ }, Gr = {
2891
+ selectedStart: "已選:",
2892
+ selectedEnd: "項數據"
2893
+ }, Qr = {
2894
+ placeholder: "請選擇時間",
2895
+ time: {
2896
+ hour: "時",
2897
+ minute: "分",
2898
+ seconds: "秒"
2899
+ }
2900
+ }, Xr = {
2901
+ more: "更多",
2902
+ leftButton: "向左",
2903
+ rightButton: "向左",
2904
+ noData: "沒有相關數據"
2905
+ }, Zr = {
2906
+ expandLabel: "展開",
2907
+ collapseLabel: "收起"
2908
+ }, eo = {
2909
+ more: "更多"
2910
+ }, to = {
2911
+ saveAsDialog: {
2912
+ queryPlanName: "方案名稱",
2913
+ setAsDefault: "設為預設",
2914
+ confirm: "確定",
2915
+ cancel: "取消",
2916
+ caption: "新增方案",
2917
+ personal: "使用者個人方案",
2918
+ system: "系統公共方案",
2919
+ nameNotify: "請填寫方案名稱",
2920
+ authNotify: "您暫無權限修改公共類型方案。",
2921
+ success: "査詢方案保存成功",
2922
+ maxLength: "方案名稱最多100個字元,超出請修改"
2923
+ },
2924
+ manageDialog: {
2925
+ caption: "方案管理",
2926
+ default: "預設",
2927
+ system: "系統公共",
2928
+ saveAs: "另存為",
2929
+ save: "保存",
2930
+ manage: "管理",
2931
+ isDefault: "預設方案",
2932
+ code: "名稱",
2933
+ type: "屬性",
2934
+ private: "用戶個人方案",
2935
+ public: "系統公共方案",
2936
+ org: "組織公共方案",
2937
+ remove: "刪除"
2938
+ },
2939
+ configDialog: {
2940
+ caption: "篩選條件配置"
2941
+ },
2942
+ container: {
2943
+ filter: "篩選",
2944
+ default: "默認篩選方案",
2945
+ clear: "清空",
2946
+ require: "請填寫{fields}再進行篩選"
2947
+ }
2948
+ }, no = {
2949
+ message: "共 <b>{1}</b> 條 ",
2950
+ totalInfo: {
2951
+ firstText: "共",
2952
+ lastText: "條"
2953
+ },
2954
+ pageList: {
2955
+ firstText: "每頁",
2956
+ lastText: "條"
2957
+ },
2958
+ previous: "上一頁",
2959
+ next: "下一頁",
2960
+ goto: {
2961
+ prefix: "跳轉至",
2962
+ suffix: "頁"
2963
+ },
2964
+ show: "顯示"
2965
+ }, ro = {
2966
+ placeholder: "請輸入數字",
2967
+ range: {
2968
+ begin: "開始數字",
2969
+ end: "結束數字"
2970
+ }
2971
+ }, oo = {
2972
+ yes: "是",
2973
+ no: "否",
2974
+ ok: "確定",
2975
+ close: "關閉",
2976
+ cancel: "取消",
2977
+ title: "係統提示",
2978
+ errorTitle: "錯誤提示",
2979
+ prompt: {
2980
+ fontSize: {
2981
+ name: "字體大小",
2982
+ small: "小",
2983
+ middle: "中",
2984
+ big: "大",
2985
+ large: "特大",
2986
+ huge: "超大"
2987
+ }
2988
+ },
2989
+ exception: {
2990
+ expand: "展開",
2991
+ collapse: "收起",
2992
+ happend: "發生時間",
2993
+ detail: "詳細信息",
2994
+ copy: "複制詳細信息",
2995
+ copySuccess: "複制成功",
2996
+ copyFailed: "複制失敗",
2997
+ roger: "知道了"
2998
+ }
2999
+ }, so = {
3000
+ exact: "精確",
3001
+ placeholder: "請選擇",
3002
+ favorites: "收藏夾",
3003
+ selected: "已選數據",
3004
+ okText: "確定",
3005
+ cancelText: "取消",
3006
+ allColumns: "所有列",
3007
+ datalist: "數據列錶",
3008
+ mustWriteSomething: "請輸入關鍵字後查詢。",
3009
+ mustChoosAdatarow: "請選擇一條記錄!",
3010
+ tipText: "您要找的是不是這些?",
3011
+ cascade: {
3012
+ enable: "同步選擇",
3013
+ disable: "僅選擇自身",
3014
+ up: "包含上級",
3015
+ down: "包含下級"
3016
+ },
3017
+ includechildren: "包含下級",
3018
+ favoriteInfo: {
3019
+ addFav: "已添加到收藏夾。",
3020
+ cancelFav: "已從收藏夾中移除。",
3021
+ addFavTitle: "收藏",
3022
+ cancelFavTitle: "取消收藏"
3023
+ },
3024
+ getAllChilds: "獲取所有子級數據",
3025
+ contextMenu: {
3026
+ checkChildNodes: "勾選下級數據",
3027
+ uncheckChildNodes: "取消勾選下級數據",
3028
+ expandall: "全部展開",
3029
+ collapseall: "全部收起",
3030
+ expandByLayer: "按層級展開",
3031
+ expand1: "展開 1 級",
3032
+ expand2: "展開 2 級",
3033
+ expand3: "展開 3 級",
3034
+ expand4: "展開 4 級",
3035
+ expand5: "展開 5 級",
3036
+ expand6: "展開 6 級",
3037
+ expand7: "展開 7 級",
3038
+ expand8: "展開 8 級",
3039
+ expand9: "展開 9 級"
3040
+ },
3041
+ quick: {
3042
+ notfind: "未找到搜索內容",
3043
+ more: "顯示更多"
3044
+ },
3045
+ configError: "幫助顯示列未配置,請檢查是否已正確配置幫助數據源!",
3046
+ selectedInfo: {
3047
+ total: '已選 <span style="font-size: 18px;padding: 0 3px;">{0}</span> 條',
3048
+ clear: "取消已選",
3049
+ remove: "移除 ({0})",
3050
+ confirm: "您確認要取消所有選中記錄嗎?"
3051
+ },
3052
+ clearAllConditions: "清除所有查詢條件",
3053
+ anyFields: "全部"
3054
+ }, ao = {
3055
+ message: "正在加載,請稍候..."
3056
+ }, io = {
3057
+ emptyMessage: "暫無數據"
3058
+ }, lo = {
3059
+ cancelButton: "取消",
3060
+ okButton: "確定",
3061
+ addWhere: "添加子句",
3062
+ clear: "清空",
3063
+ moveTop: "置頂",
3064
+ moveUp: "上移",
3065
+ moveDown: "下移",
3066
+ moveBottom: "置底",
3067
+ leftBrackets: "左括號",
3068
+ field: "字段",
3069
+ operator: "操作符",
3070
+ value: "值",
3071
+ valueType: "值類型",
3072
+ expressType: {
3073
+ value: "值",
3074
+ express: "錶達式",
3075
+ frontExpress: "表單表達式"
3076
+ },
3077
+ rightBrackets: "右括號",
3078
+ relation: "關係",
3079
+ relationValue: {
3080
+ and: "並且",
3081
+ or: "或者"
3082
+ },
3083
+ designTab: "設計器",
3084
+ jsonTab: "源代碼",
3085
+ sqlTab: "Sql預覽",
3086
+ title: "條件編輯器",
3087
+ message: "確認要清空當前所有數據嗎?",
3088
+ validate: {
3089
+ bracket: "左右括號不匹配,請檢查",
3090
+ relation: "條件關系不完整,請檢查",
3091
+ field: "條件字段未設置,請檢查"
3092
+ }
3093
+ }, co = {
3094
+ confirm: "確定",
3095
+ cancel: "取消",
3096
+ advancedFilter: "更多篩選",
3097
+ clearAll: "清空篩選",
3098
+ reset: "清空篩選",
3099
+ expand: "展開",
3100
+ fold: "收起"
3101
+ }, uo = {
3102
+ title: "參數編輯器",
3103
+ ok: "確定",
3104
+ cancel: "取消",
3105
+ workFlowClass: {
3106
+ title: "請選擇流程分類"
3107
+ },
3108
+ generalEditor: {
3109
+ field: "欄位",
3110
+ tabVar: "變數",
3111
+ form: "表單元件"
3112
+ },
3113
+ jsonEditor: {
3114
+ dialogTitle: "可配置參數編輯器",
3115
+ keyColumnTitle: "參數",
3116
+ valueColumnTitle: "參數值",
3117
+ addButtonText: "添加配置參數",
3118
+ keyColumnPlaceholder: "請輸入參數",
3119
+ error: "JsonEditor的參數預期是數位,但收到無效的JSON"
3120
+ },
3121
+ comboTree: {
3122
+ placeholder: "請選擇"
3123
+ }
3124
+ }, fo = {
3125
+ cancel: "取消",
3126
+ confirm: "確定"
3127
+ }, po = {
3128
+ dayLabels: {
3129
+ Sun: "日",
3130
+ Mon: "一",
3131
+ Tue: "二",
3132
+ Wed: "三",
3133
+ Thu: "四",
3134
+ Fri: "五",
3135
+ Sat: "六"
3136
+ },
3137
+ monthLabels: {
3138
+ 1: "一月",
3139
+ 2: "二月",
3140
+ 3: "三月",
3141
+ 4: "四月",
3142
+ 5: "五月",
3143
+ 6: "六月",
3144
+ 7: "七月",
3145
+ 8: "八月",
3146
+ 9: "九月",
3147
+ 10: "十月",
3148
+ 11: "十一月",
3149
+ 12: "十二月"
3150
+ },
3151
+ dateFormat: "yyyy-MM-dd",
3152
+ returnFormat: "yyyy-MM-dd",
3153
+ firstDayOfWeek: "mo",
3154
+ sunHighlight: !1,
3155
+ yearTxt: "年",
3156
+ timeBtnText: "選擇時間",
3157
+ dateBtnText: "選擇日期",
3158
+ commitBtnText: "確定",
3159
+ weekText: "周",
3160
+ placeholder: "請選擇日期",
3161
+ range: {
3162
+ begin: "開始日期",
3163
+ end: "結束日期"
3164
+ },
3165
+ message: {
3166
+ 101: "結束時間不得早于開始時間!",
3167
+ 102: "僅允許選擇 ${0} 個日期"
3168
+ },
3169
+ current: {
3170
+ today: "今天",
3171
+ month: "本月",
3172
+ week: "本周",
3173
+ year: "今年"
3174
+ },
3175
+ multiDatesLocale: {
3176
+ backtotoday: "回到今天",
3177
+ clearSelections: "清空",
3178
+ delete: "刪除",
3179
+ selected: "已選,天"
3180
+ },
3181
+ quickSelectors: {
3182
+ today: "今天",
3183
+ yesterday: "昨天",
3184
+ tomorrow: "明天",
3185
+ thisMonday: "本周一",
3186
+ nextMonday: "下周一",
3187
+ firstDayOfMonth: "本月初",
3188
+ lastDayOfMonth: "本月末",
3189
+ firstDayOfLastMonth: "上月初",
3190
+ lastDayOfLastMonth: "上月末",
3191
+ firstDayOfYear: "今年初",
3192
+ lastDayOfYear: "今年末",
3193
+ firstDayOfQuarter: "本季度初",
3194
+ lastDayOfQuarter: "本季度末",
3195
+ thisWeek: "本周",
3196
+ lastWeek: "上周",
3197
+ nextWeek: "下周",
3198
+ past7Days: "過去7天",
3199
+ past30Days: "過去30天",
3200
+ thisMonth: "本月",
3201
+ lastMonth: "上月",
3202
+ thisQuarter: "本季度",
3203
+ lastQuarter: "上季度",
3204
+ thisYear: "今年",
3205
+ lastYear: "去年",
3206
+ recent3Months: "最近3個月",
3207
+ recent6Months: "最近6個月",
3208
+ nextYear: "明年"
3209
+ }
3210
+ }, mo = {
3211
+ lineNumberTitle: "序號",
3212
+ emptyMessage: "暫無數據",
3213
+ pagination: {
3214
+ previousLabel: "上一頁",
3215
+ nextLabel: "下一頁",
3216
+ message: "共 <b>{1}</b> 條",
3217
+ pagelist: {
3218
+ firstText: "顯示",
3219
+ lastText: "條"
3220
+ }
3221
+ },
3222
+ filter: {
3223
+ title: "過濾條件",
3224
+ reset: "重置",
3225
+ clear: "清空條件",
3226
+ clearAll: "清空所有條件",
3227
+ setting: "高級設置",
3228
+ nofilter: "[ 無 ]",
3229
+ checkAll: "全選",
3230
+ and: "並且",
3231
+ or: "或者",
3232
+ operators: {
3233
+ equal: "等於",
3234
+ notEqual: "不等於",
3235
+ greater: "大於",
3236
+ greaterOrEqual: "大於等於",
3237
+ less: "小於",
3238
+ lessOrEqual: "小於等於",
3239
+ contains: "包含",
3240
+ notContains: "不包含",
3241
+ like: "包含",
3242
+ notLike: "不包含",
3243
+ in: "屬於",
3244
+ notIn: "不屬於",
3245
+ empty: "為空",
3246
+ notEmpty: "不為空",
3247
+ null: "null",
3248
+ notNull: "不為null"
3249
+ },
3250
+ more: "查看更多",
3251
+ ok: "確定",
3252
+ cancel: "取消",
3253
+ sevenDays: "七天",
3254
+ oneMonth: "一個月",
3255
+ threeMonths: "三個月",
3256
+ sixMonths: "半年",
3257
+ searchBoxPlaceholder: "請輸入關鍵詞"
3258
+ },
3259
+ settings: {
3260
+ visible: "顯示列",
3261
+ sortting: "列排序",
3262
+ title: "列配置",
3263
+ canchoose: "可選列",
3264
+ choosed: "已選列",
3265
+ asc: "升序",
3266
+ desc: "降序",
3267
+ cancelSort: "取消排序",
3268
+ ok: "確定",
3269
+ cancel: "取消",
3270
+ reset: "恢複默認",
3271
+ conciseMode: "簡潔模式",
3272
+ advancedMode: "高級模式",
3273
+ formatSetting: "列格式",
3274
+ properties: "列屬性",
3275
+ groupping: "分組",
3276
+ allColumns: "所有列",
3277
+ visibleColumns: "可見列",
3278
+ hiddenColumns: "隱藏列",
3279
+ searchPlaceholder: "請輸入列名稱",
3280
+ checkall: "全部顯示/隱藏",
3281
+ headeralign: "表頭對齊",
3282
+ dataalign: "數據對齊",
3283
+ alignLeft: "左對齊",
3284
+ alignCenter: "居中對齊",
3285
+ alignRight: "右對齊",
3286
+ summarytype: "匯總合計類型",
3287
+ summarytext: "匯總合計文本",
3288
+ summaryNone: "無",
3289
+ summarySum: "求和",
3290
+ summaryMax: "最大值",
3291
+ summaryMin: "最小值",
3292
+ summarCount: "計數",
3293
+ summaryAverage: "平均值",
3294
+ grouppingField: "分組字段",
3295
+ moreGrouppingFieldWarningMessage: "最多設置3個字段進行分組",
3296
+ grouppingSummary: "分組合計",
3297
+ addGrouppingFieldTip: "添加分組字段",
3298
+ removeGrouppingFieldTip: "移除分組字段",
3299
+ grouppingSummaryType: "分組合計類型e",
3300
+ grouppingSummaryText: "分組合計文本",
3301
+ restoreDefaultSettingsText: "確認要恢複默認設置嗎",
3302
+ simple: {
3303
+ title: "顯示列",
3304
+ tip: "選中的字段可展示到列表中,拖拽可調整在列表中的展示順序。",
3305
+ count: "已顯示 <span class='visible-cols-count'>{0}</span> 列"
3306
+ }
3307
+ },
3308
+ selectionData: {
3309
+ clearAll: "清空",
3310
+ tooltip: "點擊顯示已選記錄列錶",
3311
+ currentLenth: "已選擇:<b>{0}</b> 條"
3312
+ },
3313
+ groupRow: {
3314
+ tips: "拖動列到這兒可進行數據分組",
3315
+ removeColumn: "移除分組列",
3316
+ clearTip: "清除所有分組字段",
3317
+ clear: "清空"
3318
+ },
3319
+ summary: {
3320
+ title: "當頁合計"
3321
+ },
3322
+ loadingMessage: "正在載入",
3323
+ commandColumn: {
3324
+ title: "操作",
3325
+ edit: "編輯",
3326
+ remove: "刪除",
3327
+ cancel: "取消",
3328
+ accept: "確定"
3329
+ }
3330
+ }, ho = {
3331
+ add: "新增條件",
3332
+ create: "建立條件群組",
3333
+ reset: "重設",
3334
+ and: "且",
3335
+ or: "或"
3336
+ }, yo = {
3337
+ equal: "等於",
3338
+ notEqual: "不等於",
3339
+ greater: "大於",
3340
+ greaterOrEqual: "大於等於",
3341
+ less: "小於",
3342
+ lessOrEqual: "小於等於",
3343
+ contains: "包含",
3344
+ notContains: "不包含",
3345
+ like: "包含",
3346
+ notLike: "不包含",
3347
+ in: "屬於",
3348
+ notIn: "不屬於",
3349
+ empty: "為空",
3350
+ notEmpty: "不為空",
3351
+ null: "null",
3352
+ notNull: "不為null",
3353
+ startWith: "開始於",
3354
+ endWith: "結束於",
3355
+ and: "且",
3356
+ or: "或"
3357
+ }, go = {
3358
+ reply: "回覆",
3359
+ cancel: "取消",
3360
+ submit: "提交",
3361
+ confirm: "確定",
3362
+ colleague: "同事",
3363
+ searchPlaceholder: "請輸入姓名搜尋",
3364
+ submitEmpty: "提交內容不能為空"
3365
+ }, bo = {
3366
+ remoteError: "請求方法類型不正確",
3367
+ placeholder: "請選擇"
3368
+ }, xo = {
3369
+ dayLabels: {
3370
+ Sun: "星期日",
3371
+ Mon: "星期一",
3372
+ Tue: "星期二",
3373
+ Wed: "星期三",
3374
+ Thu: "星期四",
3375
+ Fri: "星期五",
3376
+ Sat: "星期六"
3377
+ },
3378
+ monthLabels: {
3379
+ 1: "1月",
3380
+ 2: "2月",
3381
+ 3: "3月",
3382
+ 4: "4月",
3383
+ 5: "5月",
3384
+ 6: "6月",
3385
+ 7: "7月",
3386
+ 8: "8月",
3387
+ 9: "9月",
3388
+ 10: "10月",
3389
+ 11: "11月",
3390
+ 12: "12月"
3391
+ },
3392
+ titleFormat: "yyyy年 MM月",
3393
+ yearViewTitleFormat: "yyyy年",
3394
+ today: "今天",
3395
+ thisYear: "今年",
3396
+ yearView: "年",
3397
+ monthView: "月",
3398
+ weekView: "周",
3399
+ dayView: "日",
3400
+ prevMonth: "上一月",
3401
+ nextMonth: "下一月",
3402
+ prevWeek: "上一周",
3403
+ nextWeek: "下一周",
3404
+ prevDay: "上一天",
3405
+ nextDay: "下一天",
3406
+ prevYear: "上一年",
3407
+ nextYear: "下一年",
3408
+ more: "還有 #count# 項..."
3409
+ }, wo = {
3410
+ imgtitle: "點擊修改",
3411
+ typeError: "上傳圖片類型不正確",
3412
+ sizeError: "上傳圖片不能大於",
3413
+ uploadError: "圖片上傳失敗,請重試!",
3414
+ loadError: "加載錯誤",
3415
+ loading: "加載中"
3416
+ }, Eo = {
3417
+ transfer: Gr,
3418
+ timePicker: Qr,
3419
+ tabs: Xr,
3420
+ section: Zr,
3421
+ responseToolbar: eo,
3422
+ querySolution: to,
3423
+ pagination: no,
3424
+ numberSpinner: ro,
3425
+ messageBox: oo,
3426
+ lookup: so,
3427
+ loading: ao,
3428
+ listView: io,
3429
+ "input-group": {
3430
+ placeholder: "請輸入"
3431
+ },
3432
+ filterConditionEditor: lo,
3433
+ filterBar: co,
3434
+ eventParameter: uo,
3435
+ drawer: fo,
3436
+ datepicker: po,
3437
+ datagrid: mo,
3438
+ condition: ho,
3439
+ operators: yo,
3440
+ comment: go,
3441
+ comboList: bo,
3442
+ calendar: xo,
3443
+ avatar: wo
3444
+ }, Je = {
3445
+ "zh-CHS": Cr,
3446
+ en: Kr,
3447
+ "zh-CHT": Eo
3448
+ }, g = class g {
2331
3449
  static async setup(t, n = {}) {
2332
- b.config = { ...Rt, ...n };
2333
- const r = b.config.locale;
2334
- b.i18n = Et({
3450
+ g.config = { ...St, ...n };
3451
+ const r = g.config.locale;
3452
+ g.i18n = Et({
2335
3453
  locale: r,
2336
- fallbackLocale: b.config.fallbackLocale,
3454
+ fallbackLocale: g.config.fallbackLocale,
2337
3455
  messages: {},
2338
3456
  legacy: !1,
2339
3457
  globalInjection: !0,
2340
3458
  silentTranslationWarn: !0,
2341
- silentFallbackWarn: !0
2342
- }), t.use(b.i18n), await this.loadResources();
3459
+ silentFallbackWarn: !0,
3460
+ missing: (o, a) => g.getDefaultLocaleValue(r, a)
3461
+ }), t.use(g.i18n), await this.loadResources();
2343
3462
  }
2344
3463
  /**
2345
3464
  * 获取当前语言
2346
3465
  * @returns
2347
3466
  */
2348
3467
  static getLocale() {
2349
- return b.i18n && b.i18n.global.locale;
3468
+ return g.i18n && g.i18n.global.locale.value || "zh-CHS";
2350
3469
  }
2351
3470
  /**
2352
3471
  * 默认加载的多语言值,返回中文值
2353
3472
  * @param key
2354
3473
  * @returns
2355
3474
  */
2356
- static getDefaultLocaleValue(t) {
2357
- return t.split(".").reduce((s, i) => s[i], Tr);
3475
+ static getDefaultLocaleValue(t, n) {
3476
+ const r = Je[t] || Je["zh-CHS"];
3477
+ return n.split(".").reduce((s, l) => s[l], r);
2358
3478
  }
2359
3479
  static getLocaleValue(t, n) {
2360
- return b.i18n && b.i18n.global.t(t, n) || b.getDefaultLocaleValue(t);
3480
+ if (g.i18n)
3481
+ return g.i18n.global.t(t, n);
3482
+ const r = g.getLocale();
3483
+ return g.getDefaultLocaleValue(r, t);
2361
3484
  }
2362
3485
  /**
2363
3486
  * 属性空值或者有值但等于默认值,返回默认值多语言属性;有值但不相等返回当前属性自有值
@@ -2367,37 +3490,37 @@ const Zn = {
2367
3490
  * @returns
2368
3491
  */
2369
3492
  static getRealPropertyValue(t, n, r) {
2370
- return !t || t === n ? b.getLocaleValue(r) : t;
3493
+ return !t || t === n ? g.getLocaleValue(r) : t;
2371
3494
  }
2372
3495
  static async loadResources(t = {}) {
2373
- const n = {}, r = b.config.locale, s = b.config.fallbackLocale;
2374
- return n[r] = await b.loadLocaleResources(r), s && r !== s && (n[s] = await b.loadLocaleResources(s), b.i18n.global.setLocaleMessage(s, n[s])), b.i18n.global.setLocaleMessage(r, n[r]), n;
3496
+ const n = {}, r = g.config.locale, o = g.config.fallbackLocale;
3497
+ return n[r] = await g.loadLocaleResources(r), o && r !== o && (n[o] = await g.loadLocaleResources(o), g.i18n.global.setLocaleMessage(o, n[o])), g.i18n.global.setLocaleMessage(r, n[r]), n;
2375
3498
  }
2376
3499
  static async loadLocaleResources(t) {
2377
3500
  var n, r;
2378
3501
  try {
2379
- let s = {};
2380
- const { loadResource: i } = Qn();
2381
- if (b.config.uri) {
2382
- const o = `${b.config.uri}/${t}.json?version=${(/* @__PURE__ */ new Date()).valueOf()}`;
2383
- s = await i(o);
3502
+ let o = {};
3503
+ const { loadResource: a } = Zn();
3504
+ if (g.config.uri) {
3505
+ const s = `${g.config.uri}/${t}.json?version=${(/* @__PURE__ */ new Date()).valueOf()}`;
3506
+ o = await a(s);
2384
3507
  }
2385
- return (n = b.config.localResources) != null && n[t] && (s = { ...s, ...b.config.localResources[t] }), s;
2386
- } catch (s) {
2387
- return console.warn(`Failed to load locale ${t}:`, s), ((r = b.config.localResources) == null ? void 0 : r[t]) || {};
3508
+ return (n = g.config.localResources) != null && n[t] && (o = { ...o, ...g.config.localResources[t] }), o;
3509
+ } catch (o) {
3510
+ return console.warn(`Failed to load locale ${t}:`, o), ((r = g.config.localResources) == null ? void 0 : r[t]) || {};
2388
3511
  }
2389
3512
  }
2390
3513
  };
2391
- de(b, "i18n"), de(b, "config");
2392
- let se = b;
2393
- const zr = {
3514
+ fe(g, "i18n"), fe(g, "config");
3515
+ let oe = g;
3516
+ const _o = {
2394
3517
  async install(e, t) {
2395
- await se.setup(e, t), e.provide(St, se);
3518
+ await oe.setup(e, t), e.provide(Tt, oe);
2396
3519
  }
2397
3520
  };
2398
3521
  export {
2399
- St as LOCALE_SERVICE_INJECTION_TOKEN,
2400
- se as LocaleService,
2401
- zr as default,
2402
- Qn as useResourceLoader
3522
+ Tt as LOCALE_SERVICE_INJECTION_TOKEN,
3523
+ oe as LocaleService,
3524
+ _o as default,
3525
+ Zn as useResourceLoader
2403
3526
  };