@skyfox2000/webui 1.6.0 → 1.6.2

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.
@@ -1,20 +1,20 @@
1
- var mr = Object.defineProperty;
2
- var pr = (e, t, a) => t in e ? mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
- var ne = (e, t, a) => pr(e, typeof t != "symbol" ? t + "" : t, a);
1
+ var pr = Object.defineProperty;
2
+ var _r = (e, t, a) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
+ var ne = (e, t, a) => _r(e, typeof t != "symbol" ? t + "" : t, a);
4
4
  import * as wa from "vue";
5
- import { effectScope as _r, ref as w, shallowRef as De, computed as tt, watch as B, isRef as gr, defineComponent as Ce, h as Ie, Fragment as Ye, inject as nt, onMounted as wt, onUnmounted as dt, createVNode as Be, Text as hr, nextTick as Er, provide as ka, toRaw as fs, reactive as vr, createBlock as zt, createCommentVNode as ot, openBlock as le, unref as X, mergeProps as kt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Ue, createTextVNode as ta, toDisplayString as je, renderList as nn, normalizeClass as ds, createElementVNode as br } from "vue";
6
- import { Switch as Ir, AutoComplete as yr, Input as Nr, CheckboxGroup as Sr, Checkbox as Tr, RadioGroup as Lr, Radio as Or, Select as Ar, SelectOption as Pr } from "ant-design-vue";
7
- import { createPinia as Rr, defineStore as Dt } from "pinia";
8
- import wr from "pinia-plugin-persistedstate";
9
- import { EnvConfig as ke, AppAction as Sn, AppSource as Tn, isMicroApp as Fe, isBaseMicroApp as kr, combineParams as Ct } from "@skyfox2000/microbase";
10
- import { httpPost as qe, ResStatus as ie, setToken as Wt, httpGet as ms, fieldMapping as Dr, parseFieldTemplate as Qt, API_HOST as Da, SERVER_HOST as Cr } from "@skyfox2000/fapi";
5
+ import { effectScope as gr, ref as w, shallowRef as De, computed as tt, watch as B, isRef as hr, defineComponent as Ce, h as Ie, Fragment as Ye, inject as nt, onMounted as wt, onUnmounted as dt, createVNode as Be, Text as Er, nextTick as vr, provide as ka, toRaw as ds, reactive as br, createBlock as zt, createCommentVNode as ot, openBlock as le, unref as X, mergeProps as kt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Ue, createTextVNode as ta, toDisplayString as je, renderList as nn, normalizeClass as ms, createElementVNode as Ir } from "vue";
6
+ import { Switch as yr, AutoComplete as Nr, Input as Sr, CheckboxGroup as Tr, Checkbox as Lr, RadioGroup as Or, Radio as Ar, Select as Pr, SelectOption as Rr } from "ant-design-vue";
7
+ import { createPinia as wr, defineStore as Dt } from "pinia";
8
+ import kr from "pinia-plugin-persistedstate";
9
+ import { EnvConfig as ke, AppAction as Sn, AppSource as Tn, isMicroApp as Fe, isBaseMicroApp as Dr, combineParams as Ct } from "@skyfox2000/microbase";
10
+ import { httpPost as qe, ResStatus as ie, setToken as Wt, httpGet as ps, fieldMapping as Cr, parseFieldTemplate as Qt, API_HOST as Da, SERVER_HOST as Ln } from "@skyfox2000/fapi";
11
11
  import se from "vue-m-message";
12
12
  import { createRouter as Fr, createWebHashHistory as Mr } from "vue-router";
13
13
  import aa from "async-validator";
14
14
  import "dayjs";
15
15
  import "vue-draggable-next";
16
- const Ur = Rr();
17
- Ur.use(wr);
16
+ const Ur = wr();
17
+ Ur.use(kr);
18
18
  var Re = /* @__PURE__ */ ((e) => (e.PageControl = "Page.PageControl", e.EditorControl = "Page.EditorControl", e.GridControl = "Page.GridControl", e.LabelText = "FormItem.LabelText", e.LabelWidth = "FormItem.LabelWidth", e.RuleKey = "FormItem.RuleKey", e.ErrInfo = "FormItem.ErrInfo", e))(Re || {});
19
19
  /*!
20
20
  * shared v11.2.7
@@ -24,9 +24,9 @@ var Re = /* @__PURE__ */ ((e) => (e.PageControl = "Page.PageControl", e.EditorCo
24
24
  function Le(e, t) {
25
25
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
26
26
  }
27
- const Ln = {};
27
+ const On = {};
28
28
  function sn(e) {
29
- Ln[e] || (Ln[e] = !0, Le(e));
29
+ On[e] || (On[e] = !0, Le(e));
30
30
  }
31
31
  const Ne = typeof window < "u";
32
32
  let fe, Je;
@@ -44,16 +44,16 @@ function na(e, ...t) {
44
44
  return t.length === 1 && U(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(xr, (a, n) => t.hasOwnProperty(n) ? t[n] : "");
45
45
  }
46
46
  const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Vr = (e, t, a) => $r({ l: e, k: t, s: a }), $r = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), Hr = (e) => rn(e) === "[object Date]", lt = (e) => rn(e) === "[object RegExp]", sa = (e) => F(e) && Object.keys(e).length === 0, te = Object.assign, Wr = Object.create, W = (e = null) => Wr(e);
47
- let On;
48
- const Ge = () => On || (On = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
49
- function An(e) {
47
+ let An;
48
+ const Ge = () => An || (An = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
49
+ function Pn(e) {
50
50
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
51
51
  }
52
- function Pn(e) {
52
+ function Rn(e) {
53
53
  return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
54
54
  }
55
55
  function Gr(e) {
56
- return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (n, s, r) => `${s}="${Pn(r)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (n, s, r) => `${s}='${Pn(r)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && Le("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
56
+ return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (n, s, r) => `${s}="${Rn(r)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (n, s, r) => `${s}='${Rn(r)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && Le("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
57
57
  // In href, src, action, formaction attributes
58
58
  /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
59
59
  // In style attributes within url()
@@ -66,18 +66,18 @@ const Kr = Object.prototype.hasOwnProperty;
66
66
  function be(e, t) {
67
67
  return Kr.call(e, t);
68
68
  }
69
- const J = Array.isArray, G = (e) => typeof e == "function", A = (e) => typeof e == "string", x = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", Yr = (e) => U(e) && G(e.then) && G(e.catch), ps = Object.prototype.toString, rn = (e) => ps.call(e), F = (e) => rn(e) === "[object Object]", Br = (e) => e == null ? "" : J(e) || F(e) && e.toString === ps ? JSON.stringify(e, null, 2) : String(e);
69
+ const J = Array.isArray, G = (e) => typeof e == "function", A = (e) => typeof e == "string", x = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", Yr = (e) => U(e) && G(e.then) && G(e.catch), _s = Object.prototype.toString, rn = (e) => _s.call(e), F = (e) => rn(e) === "[object Object]", Br = (e) => e == null ? "" : J(e) || F(e) && e.toString === _s ? JSON.stringify(e, null, 2) : String(e);
70
70
  function on(e, t = "") {
71
71
  return e.reduce((a, n, s) => s === 0 ? a + n : a + t + n, "");
72
72
  }
73
- const Rn = 2;
73
+ const wn = 2;
74
74
  function jr(e, t = 0, a = e.length) {
75
75
  const n = e.split(/\r?\n/);
76
76
  let s = 0;
77
77
  const r = [];
78
78
  for (let o = 0; o < n.length; o++)
79
79
  if (s += n[o].length + 1, s >= t) {
80
- for (let l = o - Rn; l <= o + Rn || a > s; l++) {
80
+ for (let l = o - wn; l <= o + wn || a > s; l++) {
81
81
  if (l < 0 || l >= n.length)
82
82
  continue;
83
83
  const i = l + 1;
@@ -228,7 +228,7 @@ function no(e) {
228
228
  skipToPeek: L
229
229
  };
230
230
  }
231
- const Pe = void 0, so = ".", wn = "'", ro = "tokenizer";
231
+ const Pe = void 0, so = ".", kn = "'", ro = "tokenizer";
232
232
  function oo(e, t = {}) {
233
233
  const a = t.location !== !1, n = no(e), s = () => n.index(), r = () => Jr(n.line(), n.column(), n.index()), o = r(), l = s(), i = {
234
234
  currentType: 13,
@@ -311,7 +311,7 @@ function oo(e, t = {}) {
311
311
  if (N !== 2)
312
312
  return !1;
313
313
  S(u);
314
- const k = u.currentPeek() === wn;
314
+ const k = u.currentPeek() === kn;
315
315
  return u.resetPeek(), k;
316
316
  }
317
317
  function L(u, f) {
@@ -446,7 +446,7 @@ function oo(e, t = {}) {
446
446
  return u.currentChar() === "-" ? (u.next(), f += `-${_t(u)}`) : f += _t(u), u.currentChar() === Pe && g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), f;
447
447
  }
448
448
  function Ta(u) {
449
- return u !== wn && u !== re;
449
+ return u !== kn && u !== re;
450
450
  }
451
451
  function yn(u) {
452
452
  O(u), R(u, "'");
@@ -787,20 +787,20 @@ function fo(e, t = {}) {
787
787
  };
788
788
  return { context: () => a, helper: (r) => (a.helpers.add(r), r) };
789
789
  }
790
- function kn(e, t) {
790
+ function Dn(e, t) {
791
791
  for (let a = 0; a < e.length; a++)
792
792
  cn(e[a], t);
793
793
  }
794
794
  function cn(e, t) {
795
795
  switch (e.type) {
796
796
  case 1:
797
- kn(e.cases, t), t.helper(
797
+ Dn(e.cases, t), t.helper(
798
798
  "plural"
799
799
  /* HelperNameMap.PLURAL */
800
800
  );
801
801
  break;
802
802
  case 2:
803
- kn(e.items, t);
803
+ Dn(e.items, t);
804
804
  break;
805
805
  case 6: {
806
806
  cn(e.key, t), t.helper(
@@ -843,9 +843,9 @@ function mo(e, t = {}) {
843
843
  }
844
844
  function po(e) {
845
845
  const t = e.body;
846
- return t.type === 2 ? Dn(t) : t.cases.forEach((a) => Dn(a)), e;
846
+ return t.type === 2 ? Cn(t) : t.cases.forEach((a) => Cn(a)), e;
847
847
  }
848
- function Dn(e) {
848
+ function Cn(e) {
849
849
  if (e.items.length === 1) {
850
850
  const t = e.items[0];
851
851
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -1083,40 +1083,40 @@ function So() {
1083
1083
  function he(e) {
1084
1084
  return U(e) && un(e) === 0 && (be(e, "b") || be(e, "body"));
1085
1085
  }
1086
- const _s = ["b", "body"];
1086
+ const gs = ["b", "body"];
1087
1087
  function To(e) {
1088
- return xe(e, _s);
1088
+ return xe(e, gs);
1089
1089
  }
1090
- const gs = ["c", "cases"];
1090
+ const hs = ["c", "cases"];
1091
1091
  function Lo(e) {
1092
- return xe(e, gs, []);
1092
+ return xe(e, hs, []);
1093
1093
  }
1094
- const hs = ["s", "static"];
1094
+ const Es = ["s", "static"];
1095
1095
  function Oo(e) {
1096
- return xe(e, hs);
1096
+ return xe(e, Es);
1097
1097
  }
1098
- const Es = ["i", "items"];
1098
+ const vs = ["i", "items"];
1099
1099
  function Ao(e) {
1100
- return xe(e, Es, []);
1100
+ return xe(e, vs, []);
1101
1101
  }
1102
- const vs = ["t", "type"];
1102
+ const bs = ["t", "type"];
1103
1103
  function un(e) {
1104
- return xe(e, vs);
1104
+ return xe(e, bs);
1105
1105
  }
1106
- const bs = ["v", "value"];
1106
+ const Is = ["v", "value"];
1107
1107
  function Kt(e, t) {
1108
- const a = xe(e, bs);
1108
+ const a = xe(e, Is);
1109
1109
  if (a != null)
1110
1110
  return a;
1111
1111
  throw St(t);
1112
1112
  }
1113
- const Is = ["m", "modifier"];
1113
+ const ys = ["m", "modifier"];
1114
1114
  function Po(e) {
1115
- return xe(e, Is);
1115
+ return xe(e, ys);
1116
1116
  }
1117
- const ys = ["k", "key"];
1117
+ const Ns = ["k", "key"];
1118
1118
  function Ro(e) {
1119
- const t = xe(e, ys);
1119
+ const t = xe(e, Ns);
1120
1120
  if (t)
1121
1121
  return t;
1122
1122
  throw St(
@@ -1132,15 +1132,15 @@ function xe(e, t, a) {
1132
1132
  }
1133
1133
  return a;
1134
1134
  }
1135
- const Ns = [
1136
- ..._s,
1135
+ const Ss = [
1137
1136
  ...gs,
1138
1137
  ...hs,
1139
1138
  ...Es,
1139
+ ...vs,
1140
+ ...Ns,
1140
1141
  ...ys,
1141
1142
  ...Is,
1142
- ...bs,
1143
- ...vs
1143
+ ...bs
1144
1144
  ];
1145
1145
  function St(e) {
1146
1146
  return new Error(`unhandled node type: ${e}`);
@@ -1159,12 +1159,12 @@ function wo(e, t) {
1159
1159
  const r = Lo(a);
1160
1160
  return e.plural(r.reduce((o, l) => [
1161
1161
  ...o,
1162
- Cn(e, l)
1162
+ Fn(e, l)
1163
1163
  ], []));
1164
1164
  } else
1165
- return Cn(e, a);
1165
+ return Fn(e, a);
1166
1166
  }
1167
- function Cn(e, t) {
1167
+ function Fn(e, t) {
1168
1168
  const a = Oo(t);
1169
1169
  if (a != null)
1170
1170
  return e.type === "text" ? a : e.normalize([a]);
@@ -1285,10 +1285,10 @@ const Wo = {
1285
1285
  [oe.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
1286
1286
  };
1287
1287
  function fn(e, t) {
1288
- return t.locale != null ? Fn(t.locale) : Fn(e.locale);
1288
+ return t.locale != null ? Mn(t.locale) : Mn(e.locale);
1289
1289
  }
1290
1290
  let Fa;
1291
- function Fn(e) {
1291
+ function Mn(e) {
1292
1292
  if (A(e))
1293
1293
  return e;
1294
1294
  if (G(e)) {
@@ -1310,7 +1310,7 @@ function Go(e, t, a) {
1310
1310
  ...J(t) ? t : U(t) ? Object.keys(t) : A(t) ? [t] : [a]
1311
1311
  ])];
1312
1312
  }
1313
- function Ss(e, t, a) {
1313
+ function Ts(e, t, a) {
1314
1314
  const n = A(a) ? a : Lt, s = e;
1315
1315
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1316
1316
  let r = s.__localeChainCache.get(n);
@@ -1318,13 +1318,13 @@ function Ss(e, t, a) {
1318
1318
  r = [];
1319
1319
  let o = [a];
1320
1320
  for (; J(o); )
1321
- o = Mn(r, o, t);
1321
+ o = Un(r, o, t);
1322
1322
  const l = J(t) || !F(t) ? t : t.default ? t.default : null;
1323
- o = A(l) ? [l] : l, J(o) && Mn(r, o, !1), s.__localeChainCache.set(n, r);
1323
+ o = A(l) ? [l] : l, J(o) && Un(r, o, !1), s.__localeChainCache.set(n, r);
1324
1324
  }
1325
1325
  return r;
1326
1326
  }
1327
- function Mn(e, t, a) {
1327
+ function Un(e, t, a) {
1328
1328
  let n = !0;
1329
1329
  for (let s = 0; s < t.length && x(n); s++) {
1330
1330
  const r = t[s];
@@ -1616,21 +1616,21 @@ function qo(e) {
1616
1616
  return t;
1617
1617
  }
1618
1618
  }
1619
- const Un = /* @__PURE__ */ new Map();
1619
+ const xn = /* @__PURE__ */ new Map();
1620
1620
  function zo(e, t) {
1621
1621
  return U(e) ? e[t] : null;
1622
1622
  }
1623
1623
  function Zo(e, t) {
1624
1624
  if (!U(e))
1625
1625
  return null;
1626
- let a = Un.get(t);
1627
- if (a || (a = qo(t), a && Un.set(t, a)), !a)
1626
+ let a = xn.get(t);
1627
+ if (a || (a = qo(t), a && xn.set(t, a)), !a)
1628
1628
  return null;
1629
1629
  const n = a.length;
1630
1630
  let s = e, r = 0;
1631
1631
  for (; r < n; ) {
1632
1632
  const o = a[r];
1633
- if (Ns.includes(o) && he(s))
1633
+ if (Ss.includes(o) && he(s))
1634
1634
  return null;
1635
1635
  const l = s[o];
1636
1636
  if (l === void 0 || G(s))
@@ -1659,43 +1659,43 @@ const ce = {
1659
1659
  function Qe(e, ...t) {
1660
1660
  return na(tl[e], ...t);
1661
1661
  }
1662
- const al = "11.2.7", ra = -1, Lt = "en-US", Xt = "", xn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1662
+ const al = "11.2.7", ra = -1, Lt = "en-US", Xt = "", Vn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1663
1663
  function nl() {
1664
1664
  return {
1665
1665
  upper: (e, t) => t === "text" && A(e) ? e.toUpperCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1666
1666
  lower: (e, t) => t === "text" && A(e) ? e.toLowerCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1667
- capitalize: (e, t) => t === "text" && A(e) ? xn(e) : t === "vnode" && U(e) && "__v_isVNode" in e ? xn(e.children) : e
1667
+ capitalize: (e, t) => t === "text" && A(e) ? Vn(e) : t === "vnode" && U(e) && "__v_isVNode" in e ? Vn(e.children) : e
1668
1668
  };
1669
1669
  }
1670
- let Ts;
1671
- function sl(e) {
1672
- Ts = e;
1673
- }
1674
1670
  let Ls;
1675
- function rl(e) {
1671
+ function sl(e) {
1676
1672
  Ls = e;
1677
1673
  }
1678
1674
  let Os;
1679
- function ol(e) {
1675
+ function rl(e) {
1680
1676
  Os = e;
1681
1677
  }
1682
- let As = null;
1683
- const ll = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1678
+ let As;
1679
+ function ol(e) {
1684
1680
  As = e;
1685
- }, il = /* @__NO_SIDE_EFFECTS__ */ () => As;
1681
+ }
1686
1682
  let Ps = null;
1687
- const Vn = (e) => {
1683
+ const ll = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1688
1684
  Ps = e;
1689
- }, cl = () => Ps;
1690
- let $n = 0;
1685
+ }, il = /* @__NO_SIDE_EFFECTS__ */ () => Ps;
1686
+ let Rs = null;
1687
+ const $n = (e) => {
1688
+ Rs = e;
1689
+ }, cl = () => Rs;
1690
+ let Hn = 0;
1691
1691
  function ul(e = {}) {
1692
- const t = G(e.onWarn) ? e.onWarn : Le, a = A(e.version) ? e.version : al, n = A(e.locale) || G(e.locale) ? e.locale : Lt, s = G(n) ? Lt : n, r = J(e.fallbackLocale) || F(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = F(e.messages) ? e.messages : Ma(s), l = F(e.datetimeFormats) ? e.datetimeFormats : Ma(s), i = F(e.numberFormats) ? e.numberFormats : Ma(s), c = te(W(), e.modifiers, nl()), m = e.pluralRules || W(), g = G(e.missing) ? e.missing : null, p = x(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, y = x(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!e.fallbackFormat, S = !!e.unresolving, O = G(e.postTranslation) ? e.postTranslation : null, d = F(e.processor) ? e.processor : null, _ = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, I = !!e.escapeParameter, E = G(e.messageCompiler) ? e.messageCompiler : Ts;
1692
+ const t = G(e.onWarn) ? e.onWarn : Le, a = A(e.version) ? e.version : al, n = A(e.locale) || G(e.locale) ? e.locale : Lt, s = G(n) ? Lt : n, r = J(e.fallbackLocale) || F(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = F(e.messages) ? e.messages : Ma(s), l = F(e.datetimeFormats) ? e.datetimeFormats : Ma(s), i = F(e.numberFormats) ? e.numberFormats : Ma(s), c = te(W(), e.modifiers, nl()), m = e.pluralRules || W(), g = G(e.missing) ? e.missing : null, p = x(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, y = x(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!e.fallbackFormat, S = !!e.unresolving, O = G(e.postTranslation) ? e.postTranslation : null, d = F(e.processor) ? e.processor : null, _ = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, I = !!e.escapeParameter, E = G(e.messageCompiler) ? e.messageCompiler : Ls;
1693
1693
  process.env.NODE_ENV !== "production" && G(e.messageCompiler) && sn(Qe(ce.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1694
- const b = G(e.messageResolver) ? e.messageResolver : Ls || zo, L = G(e.localeFallbacker) ? e.localeFallbacker : Os || Go, v = U(e.fallbackContext) ? e.fallbackContext : void 0, C = e, M = U(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), K = U(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), Ee = U(C.__meta) ? C.__meta : {};
1695
- $n++;
1694
+ const b = G(e.messageResolver) ? e.messageResolver : Os || zo, L = G(e.localeFallbacker) ? e.localeFallbacker : As || Go, v = U(e.fallbackContext) ? e.fallbackContext : void 0, C = e, M = U(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), K = U(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), Ee = U(C.__meta) ? C.__meta : {};
1695
+ Hn++;
1696
1696
  const Q = {
1697
1697
  version: a,
1698
- cid: $n,
1698
+ cid: Hn,
1699
1699
  locale: n,
1700
1700
  fallbackLocale: r,
1701
1701
  messages: o,
@@ -1723,7 +1723,7 @@ const Ma = (e) => ({ [e]: W() });
1723
1723
  function oa(e, t) {
1724
1724
  return e instanceof RegExp ? e.test(t) : e;
1725
1725
  }
1726
- function Rs(e, t) {
1726
+ function ws(e, t) {
1727
1727
  return e instanceof RegExp ? e.test(t) : e;
1728
1728
  }
1729
1729
  function dn(e, t, a, n, s) {
@@ -1741,13 +1741,13 @@ function dn(e, t, a, n, s) {
1741
1741
  const l = r(e, a, t, s);
1742
1742
  return A(l) ? l : t;
1743
1743
  } else
1744
- return process.env.NODE_ENV !== "production" && Rs(n, t) && o(Qe(ce.NOT_FOUND_KEY, { key: t, locale: a })), t;
1744
+ return process.env.NODE_ENV !== "production" && ws(n, t) && o(Qe(ce.NOT_FOUND_KEY, { key: t, locale: a })), t;
1745
1745
  }
1746
1746
  function vt(e, t, a) {
1747
1747
  const n = e;
1748
1748
  n.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, a, t);
1749
1749
  }
1750
- function ws(e, t) {
1750
+ function ks(e, t) {
1751
1751
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1752
1752
  }
1753
1753
  function fl(e, t) {
@@ -1755,17 +1755,17 @@ function fl(e, t) {
1755
1755
  if (a === -1)
1756
1756
  return !1;
1757
1757
  for (let n = a + 1; n < t.length; n++)
1758
- if (ws(e, t[n]))
1758
+ if (ks(e, t[n]))
1759
1759
  return !0;
1760
1760
  return !1;
1761
1761
  }
1762
- const Hn = typeof Intl < "u", ks = {
1763
- dateTimeFormat: Hn && typeof Intl.DateTimeFormat < "u",
1764
- numberFormat: Hn && typeof Intl.NumberFormat < "u"
1762
+ const Wn = typeof Intl < "u", Ds = {
1763
+ dateTimeFormat: Wn && typeof Intl.DateTimeFormat < "u",
1764
+ numberFormat: Wn && typeof Intl.NumberFormat < "u"
1765
1765
  };
1766
- function Wn(e, ...t) {
1766
+ function Gn(e, ...t) {
1767
1767
  const { datetimeFormats: a, unresolving: n, fallbackLocale: s, onWarn: r, localeFallbacker: o } = e, { __datetimeFormatters: l } = e;
1768
- if (process.env.NODE_ENV !== "production" && !ks.dateTimeFormat)
1768
+ if (process.env.NODE_ENV !== "production" && !Ds.dateTimeFormat)
1769
1769
  return r(Qe(ce.CANNOT_FORMAT_DATE)), Xt;
1770
1770
  const [i, c, m, g] = Wa(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, y = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, R = !!m.part, S = fn(e, m), O = o(
1771
1771
  e,
@@ -1802,7 +1802,7 @@ function Wn(e, ...t) {
1802
1802
  let C = l.get(v);
1803
1803
  return C || (C = new Intl.DateTimeFormat(_, te({}, I, g)), l.set(v, C)), R ? C.formatToParts(c) : C.format(c);
1804
1804
  }
1805
- const Ds = [
1805
+ const Cs = [
1806
1806
  "localeMatcher",
1807
1807
  "weekday",
1808
1808
  "era",
@@ -1847,19 +1847,19 @@ function Wa(...e) {
1847
1847
  else
1848
1848
  throw we(oe.INVALID_ARGUMENT);
1849
1849
  return A(a) ? r.key = a : F(a) && Object.keys(a).forEach((i) => {
1850
- Ds.includes(i) ? o[i] = a[i] : r[i] = a[i];
1850
+ Cs.includes(i) ? o[i] = a[i] : r[i] = a[i];
1851
1851
  }), A(n) ? r.locale = n : F(n) && (o = n), F(s) && (o = s), [r.key || "", l, r, o];
1852
1852
  }
1853
- function Gn(e, t, a) {
1853
+ function Kn(e, t, a) {
1854
1854
  const n = e;
1855
1855
  for (const s in a) {
1856
1856
  const r = `${t}__${s}`;
1857
1857
  n.__datetimeFormatters.has(r) && n.__datetimeFormatters.delete(r);
1858
1858
  }
1859
1859
  }
1860
- function Kn(e, ...t) {
1860
+ function Yn(e, ...t) {
1861
1861
  const { numberFormats: a, unresolving: n, fallbackLocale: s, onWarn: r, localeFallbacker: o } = e, { __numberFormatters: l } = e;
1862
- if (process.env.NODE_ENV !== "production" && !ks.numberFormat)
1862
+ if (process.env.NODE_ENV !== "production" && !Ds.numberFormat)
1863
1863
  return r(Qe(ce.CANNOT_FORMAT_NUMBER)), Xt;
1864
1864
  const [i, c, m, g] = Ga(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, y = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, R = !!m.part, S = fn(e, m), O = o(
1865
1865
  e,
@@ -1896,7 +1896,7 @@ function Kn(e, ...t) {
1896
1896
  let C = l.get(v);
1897
1897
  return C || (C = new Intl.NumberFormat(_, te({}, I, g)), l.set(v, C)), R ? C.formatToParts(c) : C.format(c);
1898
1898
  }
1899
- const Cs = [
1899
+ const Fs = [
1900
1900
  "localeMatcher",
1901
1901
  "style",
1902
1902
  "currency",
@@ -1925,10 +1925,10 @@ function Ga(...e) {
1925
1925
  throw we(oe.INVALID_ARGUMENT);
1926
1926
  const l = t;
1927
1927
  return A(a) ? r.key = a : F(a) && Object.keys(a).forEach((i) => {
1928
- Cs.includes(i) ? o[i] = a[i] : r[i] = a[i];
1928
+ Fs.includes(i) ? o[i] = a[i] : r[i] = a[i];
1929
1929
  }), A(n) ? r.locale = n : F(n) && (o = n), F(s) && (o = s), [r.key || "", l, r, o];
1930
1930
  }
1931
- function Yn(e, t, a) {
1931
+ function Bn(e, t, a) {
1932
1932
  const n = e;
1933
1933
  for (const s in a) {
1934
1934
  const r = `${t}__${s}`;
@@ -1936,7 +1936,7 @@ function Yn(e, t, a) {
1936
1936
  }
1937
1937
  }
1938
1938
  const dl = (e) => e, ml = (e) => "", pl = "text", _l = (e) => e.length === 0 ? "" : on(e), gl = Br;
1939
- function Bn(e, t) {
1939
+ function jn(e, t) {
1940
1940
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1941
1941
  }
1942
1942
  function hl(e) {
@@ -1947,7 +1947,7 @@ function El(e, t) {
1947
1947
  t.count || (t.count = e), t.n || (t.n = e);
1948
1948
  }
1949
1949
  function vl(e = {}) {
1950
- const t = e.locale, a = hl(e), n = U(e.pluralRules) && A(t) && G(e.pluralRules[t]) ? e.pluralRules[t] : Bn, s = U(e.pluralRules) && A(t) && G(e.pluralRules[t]) ? Bn : void 0, r = (d) => d[n(a, d.length, s)], o = e.list || [], l = (d) => o[d], i = e.named || W();
1950
+ const t = e.locale, a = hl(e), n = U(e.pluralRules) && A(t) && G(e.pluralRules[t]) ? e.pluralRules[t] : jn, s = U(e.pluralRules) && A(t) && G(e.pluralRules[t]) ? jn : void 0, r = (d) => d[n(a, d.length, s)], o = e.list || [], l = (d) => o[d], i = e.named || W();
1951
1951
  ee(e.pluralIndex) && El(a, i);
1952
1952
  const c = (d) => i[d];
1953
1953
  function m(d, _) {
@@ -1976,15 +1976,15 @@ function vl(e = {}) {
1976
1976
  };
1977
1977
  return O;
1978
1978
  }
1979
- const jn = () => "", pe = (e) => G(e);
1980
- function Jn(e, ...t) {
1979
+ const Jn = () => "", pe = (e) => G(e);
1980
+ function Qn(e, ...t) {
1981
1981
  const { fallbackFormat: a, postTranslation: n, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [i, c] = Ka(...t), m = x(c.missingWarn) ? c.missingWarn : e.missingWarn, g = x(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, p = x(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, y = !!c.resolvedMessage, R = A(c.default) || x(c.default) ? x(c.default) ? r ? i : () => i : c.default : a ? r ? i : () => i : null, S = a || R != null && (A(R) || G(R)), O = fn(e, c);
1982
1982
  p && bl(c);
1983
1983
  let [d, _, I] = y ? [
1984
1984
  i,
1985
1985
  O,
1986
1986
  l[O] || W()
1987
- ] : Fs(e, i, O, o, g, m), E = d, b = i;
1987
+ ] : Ms(e, i, O, o, g, m), E = d, b = i;
1988
1988
  if (!y && !(A(E) || he(E) || pe(E)) && S && (E = R, b = E), !y && (!(A(E) || he(E) || pe(E)) || !A(_)))
1989
1989
  return s ? ra : i;
1990
1990
  if (process.env.NODE_ENV !== "production" && A(E) && e.messageCompiler == null)
@@ -1992,7 +1992,7 @@ function Jn(e, ...t) {
1992
1992
  let L = !1;
1993
1993
  const v = () => {
1994
1994
  L = !0;
1995
- }, C = pe(E) ? E : Ms(e, i, _, E, b, v);
1995
+ }, C = pe(E) ? E : Us(e, i, _, E, b, v);
1996
1996
  if (L)
1997
1997
  return E;
1998
1998
  const M = Sl(e, _, I, c), K = vl(M), Ee = Il(e, C, K);
@@ -2010,16 +2010,16 @@ function Jn(e, ...t) {
2010
2010
  return Q;
2011
2011
  }
2012
2012
  function bl(e) {
2013
- J(e.list) ? e.list = e.list.map((t) => A(t) ? An(t) : t) : U(e.named) && Object.keys(e.named).forEach((t) => {
2014
- A(e.named[t]) && (e.named[t] = An(e.named[t]));
2013
+ J(e.list) ? e.list = e.list.map((t) => A(t) ? Pn(t) : t) : U(e.named) && Object.keys(e.named).forEach((t) => {
2014
+ A(e.named[t]) && (e.named[t] = Pn(e.named[t]));
2015
2015
  });
2016
2016
  }
2017
- function Fs(e, t, a, n, s, r) {
2017
+ function Ms(e, t, a, n, s, r) {
2018
2018
  const { messages: o, onWarn: l, messageResolver: i, localeFallbacker: c } = e, m = c(e, n, a);
2019
2019
  let g = W(), p, y = null, R = a, S = null;
2020
2020
  const O = "translate";
2021
2021
  for (let d = 0; d < m.length; d++) {
2022
- if (p = S = m[d], process.env.NODE_ENV !== "production" && a !== p && !ws(a, p) && oa(s, t) && l(Qe(ce.FALLBACK_TO_TRANSLATE, {
2022
+ if (p = S = m[d], process.env.NODE_ENV !== "production" && a !== p && !ks(a, p) && oa(s, t) && l(Qe(ce.FALLBACK_TO_TRANSLATE, {
2023
2023
  key: t,
2024
2024
  target: p
2025
2025
  })), process.env.NODE_ENV !== "production" && a !== p) {
@@ -2061,7 +2061,7 @@ function Fs(e, t, a, n, s, r) {
2061
2061
  }
2062
2062
  return [y, p, g];
2063
2063
  }
2064
- function Ms(e, t, a, n, s, r) {
2064
+ function Us(e, t, a, n, s, r) {
2065
2065
  const { messageCompiler: o, warnHtmlMessage: l } = e;
2066
2066
  if (pe(n)) {
2067
2067
  const p = n;
@@ -2143,7 +2143,7 @@ function Sl(e, t, a, n) {
2143
2143
  messages: (y, R) => {
2144
2144
  let S = o(a, y);
2145
2145
  if (S == null && (m || R)) {
2146
- const [, , O] = Fs(
2146
+ const [, , O] = Ms(
2147
2147
  m || e,
2148
2148
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2149
2149
  y,
@@ -2156,20 +2156,20 @@ function Sl(e, t, a, n) {
2156
2156
  }
2157
2157
  if (A(S) || he(S)) {
2158
2158
  let O = !1;
2159
- const _ = Ms(e, y, t, S, y, () => {
2159
+ const _ = Us(e, y, t, S, y, () => {
2160
2160
  O = !0;
2161
2161
  });
2162
- return O ? jn : _;
2163
- } else return pe(S) ? S : jn;
2162
+ return O ? Jn : _;
2163
+ } else return pe(S) ? S : Jn;
2164
2164
  }
2165
2165
  };
2166
2166
  return e.processor && (p.processor = e.processor), n.list && (p.list = n.list), n.named && (p.named = n.named), ee(n.plural) && (p.pluralIndex = n.plural), p;
2167
2167
  }
2168
2168
  So();
2169
2169
  function Tl() {
2170
- return Us().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2170
+ return xs().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2171
2171
  }
2172
- function Us() {
2172
+ function xs() {
2173
2173
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2174
2174
  }
2175
2175
  const Ll = typeof Proxy == "function", Ol = "devtools-plugin:setup", Al = "plugin:settings:set";
@@ -2244,7 +2244,7 @@ class wl {
2244
2244
  }
2245
2245
  }
2246
2246
  function kl(e, t) {
2247
- const a = e, n = Us(), s = Tl(), r = Ll && a.enableEarlyProxy;
2247
+ const a = e, n = xs(), s = Tl(), r = Ll && a.enableEarlyProxy;
2248
2248
  if (s && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !r))
2249
2249
  s.emit(Ol, e, t);
2250
2250
  else {
@@ -2302,7 +2302,7 @@ const Fl = {
2302
2302
  [Y.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2303
2303
  [Y.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2304
2304
  [Y.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2305
- }, Ba = /* @__PURE__ */ Oe("__translateVNode"), ja = /* @__PURE__ */ Oe("__datetimeParts"), Ja = /* @__PURE__ */ Oe("__numberParts"), Xe = /* @__PURE__ */ Oe("__enableEmitter"), Ot = /* @__PURE__ */ Oe("__disableEmitter"), xs = Oe("__setPluralRules"), Vs = /* @__PURE__ */ Oe("__injectWithOption"), Qa = /* @__PURE__ */ Oe("__dispose"), _e = {
2305
+ }, Ba = /* @__PURE__ */ Oe("__translateVNode"), ja = /* @__PURE__ */ Oe("__datetimeParts"), Ja = /* @__PURE__ */ Oe("__numberParts"), Xe = /* @__PURE__ */ Oe("__enableEmitter"), Ot = /* @__PURE__ */ Oe("__disableEmitter"), Vs = Oe("__setPluralRules"), $s = /* @__PURE__ */ Oe("__injectWithOption"), Qa = /* @__PURE__ */ Oe("__dispose"), _e = {
2306
2306
  FALLBACK_TO_ROOT: el,
2307
2307
  // 8
2308
2308
  NOT_FOUND_PARENT_SCOPE: 9,
@@ -2356,7 +2356,7 @@ function At(e) {
2356
2356
  }
2357
2357
  s = s[a[o]];
2358
2358
  }
2359
- if (r || (he(s) ? Ns.includes(a[n]) || delete e[t] : (s[a[n]] = e[t], delete e[t])), !he(s)) {
2359
+ if (r || (he(s) ? Ss.includes(a[n]) || delete e[t] : (s[a[n]] = e[t], delete e[t])), !he(s)) {
2360
2360
  const o = s[a[n]];
2361
2361
  U(o) && At(o);
2362
2362
  }
@@ -2376,10 +2376,10 @@ function mn(e, t) {
2376
2376
  be(o, l) && At(o[l]);
2377
2377
  return o;
2378
2378
  }
2379
- function $s(e) {
2379
+ function Hs(e) {
2380
2380
  return e.type;
2381
2381
  }
2382
- function Hs(e, t, a) {
2382
+ function Ws(e, t, a) {
2383
2383
  let n = U(t.messages) ? t.messages : W();
2384
2384
  "__i18nGlobal" in a && (n = mn(e.locale.value, {
2385
2385
  messages: n,
@@ -2404,22 +2404,22 @@ function Hs(e, t, a) {
2404
2404
  }
2405
2405
  }
2406
2406
  }
2407
- function Qn(e) {
2408
- return Be(hr, null, e, 0);
2407
+ function Xn(e) {
2408
+ return Be(Er, null, e, 0);
2409
2409
  }
2410
2410
  function rt() {
2411
2411
  const e = "currentInstance";
2412
2412
  return e in wa ? wa[e] : wa.getCurrentInstance();
2413
2413
  }
2414
- const Xn = "__INTLIFY_META__", qn = () => [], Ul = () => !1;
2415
- let zn = 0;
2416
- function Zn(e) {
2414
+ const qn = "__INTLIFY_META__", zn = () => [], Ul = () => !1;
2415
+ let Zn = 0;
2416
+ function es(e) {
2417
2417
  return ((t, a, n, s) => e(a, n, rt() || void 0, s));
2418
2418
  }
2419
2419
  const xl = /* @__NO_SIDE_EFFECTS__ */ () => {
2420
2420
  const e = rt();
2421
2421
  let t = null;
2422
- return e && (t = $s(e)[Xn]) ? { [Xn]: t } : null;
2422
+ return e && (t = Hs(e)[qn]) ? { [qn]: t } : null;
2423
2423
  };
2424
2424
  function pn(e = {}) {
2425
2425
  const { __root: t, __injectWithOption: a } = e, n = t === void 0, s = e.flatJson, r = Ne ? w : De;
@@ -2431,11 +2431,11 @@ function pn(e = {}) {
2431
2431
  // prettier-ignore
2432
2432
  t && o ? t.fallbackLocale.value : A(e.fallbackLocale) || J(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
2433
2433
  ), c = r(mn(l.value, e)), m = r(F(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), g = r(F(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2434
- let p = t ? t.missingWarn : x(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, y = t ? t.fallbackWarn : x(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : x(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, O = G(e.missing) ? e.missing : null, d = G(e.missing) ? Zn(e.missing) : null, _ = G(e.postTranslation) ? e.postTranslation : null, I = t ? t.warnHtmlMessage : x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
2434
+ let p = t ? t.missingWarn : x(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, y = t ? t.fallbackWarn : x(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : x(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, O = G(e.missing) ? e.missing : null, d = G(e.missing) ? es(e.missing) : null, _ = G(e.postTranslation) ? e.postTranslation : null, I = t ? t.warnHtmlMessage : x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
2435
2435
  const b = t ? t.modifiers : F(e.modifiers) ? e.modifiers : {};
2436
2436
  let L = e.pluralRules || t && t.pluralRules, v;
2437
2437
  v = (() => {
2438
- n && Vn(null);
2438
+ n && $n(null);
2439
2439
  const h = {
2440
2440
  version: Dl,
2441
2441
  locale: l.value,
@@ -2457,7 +2457,7 @@ function pn(e = {}) {
2457
2457
  };
2458
2458
  h.datetimeFormats = m.value, h.numberFormats = g.value, h.__datetimeFormatters = F(v) ? v.__datetimeFormatters : void 0, h.__numberFormatters = F(v) ? v.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (h.__v_emitter = F(v) ? v.__v_emitter : void 0);
2459
2459
  const T = ul(h);
2460
- return n && Vn(T), T;
2460
+ return n && $n(T), T;
2461
2461
  })(), vt(v, l.value, i.value);
2462
2462
  function M() {
2463
2463
  return [
@@ -2489,7 +2489,7 @@ function pn(e = {}) {
2489
2489
  return O;
2490
2490
  }
2491
2491
  function ba(h) {
2492
- h !== null && (d = Zn(h)), O = h, v.missing = d;
2492
+ h !== null && (d = es(h)), O = h, v.missing = d;
2493
2493
  }
2494
2494
  function Ia(h, T) {
2495
2495
  return h !== "translate" || !T.resolvedMessage;
@@ -2504,8 +2504,8 @@ function pn(e = {}) {
2504
2504
  }
2505
2505
  if (H !== "translate exists" && // for not `te` (e.g `t`)
2506
2506
  ee(Ze) && Ze === ra || H === "translate exists" && !Ze) {
2507
- const [We, dr] = T();
2508
- if (process.env.NODE_ENV !== "production" && t && A(We) && Ia(H, dr) && (R && (oa(y, We) || Rs(p, We)) && Le(ct(_e.FALLBACK_TO_ROOT, {
2507
+ const [We, mr] = T();
2508
+ if (process.env.NODE_ENV !== "production" && t && A(We) && Ia(H, mr) && (R && (oa(y, We) || ws(p, We)) && Le(ct(_e.FALLBACK_TO_ROOT, {
2509
2509
  key: We,
2510
2510
  type: H
2511
2511
  })), process.env.NODE_ENV !== "production")) {
@@ -2525,7 +2525,7 @@ function pn(e = {}) {
2525
2525
  }
2526
2526
  };
2527
2527
  function _t(...h) {
2528
- return Ae((T) => Reflect.apply(Jn, null, [T, ...h]), () => Ka(...h), "translate", (T) => Reflect.apply(T.t, T, [...h]), (T) => T, (T) => A(T));
2528
+ return Ae((T) => Reflect.apply(Qn, null, [T, ...h]), () => Ka(...h), "translate", (T) => Reflect.apply(T.t, T, [...h]), (T) => T, (T) => A(T));
2529
2529
  }
2530
2530
  function ya(...h) {
2531
2531
  const [T, H, z] = h;
@@ -2534,13 +2534,13 @@ function pn(e = {}) {
2534
2534
  return _t(T, H, te({ resolvedMessage: !0 }, z || {}));
2535
2535
  }
2536
2536
  function Na(...h) {
2537
- return Ae((T) => Reflect.apply(Wn, null, [T, ...h]), () => Wa(...h), "datetime format", (T) => Reflect.apply(T.d, T, [...h]), () => Xt, (T) => A(T) || J(T));
2537
+ return Ae((T) => Reflect.apply(Gn, null, [T, ...h]), () => Wa(...h), "datetime format", (T) => Reflect.apply(T.d, T, [...h]), () => Xt, (T) => A(T) || J(T));
2538
2538
  }
2539
2539
  function Sa(...h) {
2540
- return Ae((T) => Reflect.apply(Kn, null, [T, ...h]), () => Ga(...h), "number format", (T) => Reflect.apply(T.n, T, [...h]), () => Xt, (T) => A(T) || J(T));
2540
+ return Ae((T) => Reflect.apply(Yn, null, [T, ...h]), () => Ga(...h), "number format", (T) => Reflect.apply(T.n, T, [...h]), () => Xt, (T) => A(T) || J(T));
2541
2541
  }
2542
2542
  function Ta(h) {
2543
- return h.map((T) => A(T) || ee(T) || x(T) ? Qn(String(T)) : T);
2543
+ return h.map((T) => A(T) || ee(T) || x(T) ? Xn(String(T)) : T);
2544
2544
  }
2545
2545
  const La = {
2546
2546
  normalize: Ta,
@@ -2552,18 +2552,18 @@ function pn(e = {}) {
2552
2552
  let H;
2553
2553
  const z = T;
2554
2554
  try {
2555
- z.processor = La, H = Reflect.apply(Jn, null, [z, ...h]);
2555
+ z.processor = La, H = Reflect.apply(Qn, null, [z, ...h]);
2556
2556
  } finally {
2557
2557
  z.processor = null;
2558
2558
  }
2559
2559
  return H;
2560
- }, () => Ka(...h), "translate", (T) => T[Ba](...h), (T) => [Qn(T)], (T) => J(T));
2560
+ }, () => Ka(...h), "translate", (T) => T[Ba](...h), (T) => [Xn(T)], (T) => J(T));
2561
2561
  }
2562
2562
  function Oa(...h) {
2563
- return Ae((T) => Reflect.apply(Kn, null, [T, ...h]), () => Ga(...h), "number format", (T) => T[Ja](...h), qn, (T) => A(T) || J(T));
2563
+ return Ae((T) => Reflect.apply(Yn, null, [T, ...h]), () => Ga(...h), "number format", (T) => T[Ja](...h), zn, (T) => A(T) || J(T));
2564
2564
  }
2565
2565
  function $t(...h) {
2566
- return Ae((T) => Reflect.apply(Wn, null, [T, ...h]), () => Wa(...h), "datetime format", (T) => T[ja](...h), qn, (T) => A(T) || J(T));
2566
+ return Ae((T) => Reflect.apply(Gn, null, [T, ...h]), () => Wa(...h), "datetime format", (T) => T[ja](...h), zn, (T) => A(T) || J(T));
2567
2567
  }
2568
2568
  function Aa(h) {
2569
2569
  L = h, v.pluralRules = L;
@@ -2578,7 +2578,7 @@ function pn(e = {}) {
2578
2578
  }
2579
2579
  function gt(h) {
2580
2580
  let T = null;
2581
- const H = Ss(v, i.value, l.value);
2581
+ const H = Ts(v, i.value, l.value);
2582
2582
  for (let z = 0; z < H.length; z++) {
2583
2583
  const He = c.value[H[z]] || {}, Ht = v.messageResolver(He, h);
2584
2584
  if (Ht != null) {
@@ -2616,27 +2616,27 @@ function pn(e = {}) {
2616
2616
  return m.value[h] || {};
2617
2617
  }
2618
2618
  function f(h, T) {
2619
- m.value[h] = T, v.datetimeFormats = m.value, Gn(v, h, T);
2619
+ m.value[h] = T, v.datetimeFormats = m.value, Kn(v, h, T);
2620
2620
  }
2621
2621
  function N(h, T) {
2622
- m.value[h] = te(m.value[h] || {}, T), v.datetimeFormats = m.value, Gn(v, h, T);
2622
+ m.value[h] = te(m.value[h] || {}, T), v.datetimeFormats = m.value, Kn(v, h, T);
2623
2623
  }
2624
2624
  function k(h) {
2625
2625
  return g.value[h] || {};
2626
2626
  }
2627
2627
  function j(h, T) {
2628
- g.value[h] = T, v.numberFormats = g.value, Yn(v, h, T);
2628
+ g.value[h] = T, v.numberFormats = g.value, Bn(v, h, T);
2629
2629
  }
2630
2630
  function q(h, T) {
2631
- g.value[h] = te(g.value[h] || {}, T), v.numberFormats = g.value, Yn(v, h, T);
2631
+ g.value[h] = te(g.value[h] || {}, T), v.numberFormats = g.value, Bn(v, h, T);
2632
2632
  }
2633
- zn++, t && Ne && (B(t.locale, (h) => {
2633
+ Zn++, t && Ne && (B(t.locale, (h) => {
2634
2634
  o && (l.value = h, v.locale = h, vt(v, l.value, i.value));
2635
2635
  }), B(t.fallbackLocale, (h) => {
2636
2636
  o && (i.value = h, v.fallbackLocale = h, vt(v, l.value, i.value));
2637
2637
  }));
2638
2638
  const V = {
2639
- id: zn,
2639
+ id: Zn,
2640
2640
  locale: K,
2641
2641
  fallbackLocale: Ee,
2642
2642
  get inheritLocale() {
@@ -2702,15 +2702,15 @@ function pn(e = {}) {
2702
2702
  setPostTranslationHandler: Ea,
2703
2703
  getMissingHandler: va,
2704
2704
  setMissingHandler: ba,
2705
- [xs]: Aa
2705
+ [Vs]: Aa
2706
2706
  };
2707
- return V.datetimeFormats = ze, V.numberFormats = ga, V.rt = ya, V.te = Pa, V.tm = ht, V.d = Na, V.n = Sa, V.getDateTimeFormat = u, V.setDateTimeFormat = f, V.mergeDateTimeFormat = N, V.getNumberFormat = k, V.setNumberFormat = j, V.mergeNumberFormat = q, V[Vs] = a, V[Ba] = Vt, V[ja] = $t, V[Ja] = Oa, process.env.NODE_ENV !== "production" && (V[Xe] = (h) => {
2707
+ return V.datetimeFormats = ze, V.numberFormats = ga, V.rt = ya, V.te = Pa, V.tm = ht, V.d = Na, V.n = Sa, V.getDateTimeFormat = u, V.setDateTimeFormat = f, V.mergeDateTimeFormat = N, V.getNumberFormat = k, V.setNumberFormat = j, V.mergeNumberFormat = q, V[$s] = a, V[Ba] = Vt, V[ja] = $t, V[Ja] = Oa, process.env.NODE_ENV !== "production" && (V[Xe] = (h) => {
2708
2708
  v.__v_emitter = h;
2709
2709
  }, V[Ot] = () => {
2710
2710
  v.__v_emitter = void 0;
2711
2711
  }), V;
2712
2712
  }
2713
- const Ws = "vue-i18n: composer properties", Ua = {
2713
+ const Gs = "vue-i18n: composer properties", Ua = {
2714
2714
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2715
2715
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2716
2716
  "vue-i18n-timeline": "Vue I18n"
@@ -2729,14 +2729,14 @@ async function Hl(e, t) {
2729
2729
  packageName: "vue-i18n",
2730
2730
  homepage: "https://vue-i18n.intlify.dev",
2731
2731
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
2732
- componentStateTypes: [Ws],
2732
+ componentStateTypes: [Gs],
2733
2733
  app: e
2734
2734
  // eslint-disable-line @typescript-eslint/no-explicit-any
2735
2735
  }, (s) => {
2736
2736
  Xa = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
2737
2737
  Wl(o, l, t);
2738
2738
  }), s.on.inspectComponent(({ componentInstance: o, instanceData: l }) => {
2739
- o.__VUE_I18N__ && l && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && es(l, o.__VUE_I18N__) : es(l, o.__VUE_I18N__));
2739
+ o.__VUE_I18N__ && l && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && ts(l, o.__VUE_I18N__) : ts(l, o.__VUE_I18N__));
2740
2740
  }), s.addInspector({
2741
2741
  id: "vue-i18n-resource-inspector",
2742
2742
  label: Ua["vue-i18n-resource-inspector"],
@@ -2771,22 +2771,22 @@ async function Hl(e, t) {
2771
2771
  }
2772
2772
  });
2773
2773
  }
2774
- function Gs(e) {
2774
+ function Ks(e) {
2775
2775
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2776
2776
  }
2777
2777
  function Wl(e, t, a) {
2778
2778
  const n = a.mode === "composition" ? a.global : a.global.__composer;
2779
2779
  if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== n) {
2780
2780
  const s = {
2781
- label: `i18n (${Gs(e)} Scope)`,
2781
+ label: `i18n (${Ks(e)} Scope)`,
2782
2782
  textColor: 0,
2783
2783
  backgroundColor: 16764185
2784
2784
  };
2785
2785
  t.tags.push(s);
2786
2786
  }
2787
2787
  }
2788
- function es(e, t) {
2789
- const a = Ws;
2788
+ function ts(e, t) {
2789
+ const a = Gs;
2790
2790
  e.state.push({
2791
2791
  type: a,
2792
2792
  key: "locale",
@@ -2861,7 +2861,7 @@ function jl(e, t) {
2861
2861
  const r = t.mode === "composition" ? s : s.__composer;
2862
2862
  a !== r && e.rootNodes.push({
2863
2863
  id: r.id.toString(),
2864
- label: `${Gs(n)} Scope`
2864
+ label: `${Ks(n)} Scope`
2865
2865
  });
2866
2866
  }
2867
2867
  }
@@ -2876,7 +2876,7 @@ function Jl(e, t) {
2876
2876
  }
2877
2877
  return a;
2878
2878
  }
2879
- function Ks(e, t) {
2879
+ function Ys(e, t) {
2880
2880
  if (e === "global")
2881
2881
  return t.mode === "composition" ? t.global : t.global.__composer;
2882
2882
  {
@@ -2885,7 +2885,7 @@ function Ks(e, t) {
2885
2885
  }
2886
2886
  }
2887
2887
  function Ql(e, t) {
2888
- const a = Ks(e.nodeId, t);
2888
+ const a = Ys(e.nodeId, t);
2889
2889
  return a && (e.state = Xl(a)), null;
2890
2890
  }
2891
2891
  function Xl(e) {
@@ -2964,7 +2964,7 @@ function Pt(e, t) {
2964
2964
  }
2965
2965
  }
2966
2966
  function ql(e, t) {
2967
- const a = Ks(e.nodeId, t);
2967
+ const a = Ys(e.nodeId, t);
2968
2968
  if (a) {
2969
2969
  const [n] = e.path;
2970
2970
  n === "locale" && A(e.state.value) ? a.locale.value = e.state.value : n === "fallbackLocale" && (A(e.state.value) || J(e.state.value) || U(e.state.value)) ? a.fallbackLocale.value = e.state.value : n === "inheritLocale" && x(e.state.value) && (a.inheritLocale = e.state.value);
@@ -3184,7 +3184,7 @@ function Zl(e, t, a) {
3184
3184
  if (s.i18n) {
3185
3185
  const r = s.i18n;
3186
3186
  if (s.__i18n && (r.__i18n = s.__i18n), r.__root = t, this === this.$root)
3187
- this.$i18n = ts(e, r);
3187
+ this.$i18n = as(e, r);
3188
3188
  else {
3189
3189
  r.__injectWithOption = !0, r.__extender = a.__vueI18nExtend, this.$i18n = qa(r);
3190
3190
  const o = this.$i18n;
@@ -3192,7 +3192,7 @@ function Zl(e, t, a) {
3192
3192
  }
3193
3193
  } else if (s.__i18n)
3194
3194
  if (this === this.$root)
3195
- this.$i18n = ts(e, s);
3195
+ this.$i18n = as(e, s);
3196
3196
  else {
3197
3197
  this.$i18n = qa({
3198
3198
  __i18n: s.__i18n,
@@ -3205,7 +3205,7 @@ function Zl(e, t, a) {
3205
3205
  }
3206
3206
  else
3207
3207
  this.$i18n = e;
3208
- s.__i18nGlobal && Hs(t, s, s), this.$t = (...r) => this.$i18n.t(...r), this.$rt = (...r) => this.$i18n.rt(...r), this.$te = (r, o) => this.$i18n.te(r, o), this.$d = (...r) => this.$i18n.d(...r), this.$n = (...r) => this.$i18n.n(...r), this.$tm = (r) => this.$i18n.tm(r), a.__setInstance(n, this.$i18n);
3208
+ s.__i18nGlobal && Ws(t, s, s), this.$t = (...r) => this.$i18n.t(...r), this.$rt = (...r) => this.$i18n.rt(...r), this.$te = (r, o) => this.$i18n.te(r, o), this.$d = (...r) => this.$i18n.d(...r), this.$n = (...r) => this.$i18n.n(...r), this.$tm = (r) => this.$i18n.tm(r), a.__setInstance(n, this.$i18n);
3209
3209
  },
3210
3210
  mounted() {
3211
3211
  if (process.env.NODE_ENV !== "production" && this.$i18n) {
@@ -3227,8 +3227,8 @@ function Zl(e, t, a) {
3227
3227
  }
3228
3228
  };
3229
3229
  }
3230
- function ts(e, t) {
3231
- e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[xs](t.pluralizationRules || e.pluralizationRules);
3230
+ function as(e, t) {
3231
+ e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[Vs](t.pluralizationRules || e.pluralizationRules);
3232
3232
  const a = mn(e.locale, {
3233
3233
  messages: t.messages,
3234
3234
  __i18n: t.__i18n
@@ -3263,7 +3263,7 @@ function ei({ slots: e }, t) {
3263
3263
  return s && (a[n] = s()), a;
3264
3264
  }, W());
3265
3265
  }
3266
- function Ys() {
3266
+ function Bs() {
3267
3267
  return Ye;
3268
3268
  }
3269
3269
  const ti = /* @__PURE__ */ Ce({
@@ -3289,15 +3289,15 @@ const ti = /* @__PURE__ */ Ce({
3289
3289
  return () => {
3290
3290
  const r = Object.keys(a).filter((g) => g[0] !== "_"), o = W();
3291
3291
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = A(e.plural) ? +e.plural : e.plural);
3292
- const l = ei(t, r), i = s[Ba](e.keypath, l, o), c = te(W(), n), m = A(e.tag) || U(e.tag) ? e.tag : Ys();
3292
+ const l = ei(t, r), i = s[Ba](e.keypath, l, o), c = te(W(), n), m = A(e.tag) || U(e.tag) ? e.tag : Bs();
3293
3293
  return Ie(m, c, i);
3294
3294
  };
3295
3295
  }
3296
- }), as = ti;
3296
+ }), ns = ti;
3297
3297
  function ai(e) {
3298
3298
  return J(e) && !A(e[0]);
3299
3299
  }
3300
- function Bs(e, t, a, n) {
3300
+ function js(e, t, a, n) {
3301
3301
  const { slots: s, attrs: r } = t;
3302
3302
  return () => {
3303
3303
  const o = { part: !0 };
@@ -3309,7 +3309,7 @@ function Bs(e, t, a, n) {
3309
3309
  const R = s[p.type], S = R ? R({ [p.type]: p.value, index: y, parts: i }) : [p.value];
3310
3310
  return ai(S) && (S[0].key = `${p.type}-${y}`), S;
3311
3311
  }) : A(i) && (c = [i]);
3312
- const m = te(W(), r), g = A(e.tag) || U(e.tag) ? e.tag : Ys();
3312
+ const m = te(W(), r), g = A(e.tag) || U(e.tag) ? e.tag : Bs();
3313
3313
  return Ie(g, m, c);
3314
3314
  };
3315
3315
  }
@@ -3332,12 +3332,12 @@ const ni = /* @__PURE__ */ Ce({
3332
3332
  useScope: e.scope,
3333
3333
  __useComponent: !0
3334
3334
  });
3335
- return Bs(e, t, Cs, (...n) => (
3335
+ return js(e, t, Fs, (...n) => (
3336
3336
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3337
3337
  a[Ja](...n)
3338
3338
  ));
3339
3339
  }
3340
- }), ns = ni;
3340
+ }), ss = ni;
3341
3341
  function si(e, t) {
3342
3342
  const a = e;
3343
3343
  if (e.mode === "composition")
@@ -3353,9 +3353,9 @@ function ri(e) {
3353
3353
  const { instance: l, value: i } = o;
3354
3354
  if (!l || !l.$)
3355
3355
  throw ue(Y.UNEXPECTED_ERROR);
3356
- const c = si(e, l.$), m = ss(i);
3356
+ const c = si(e, l.$), m = rs(i);
3357
3357
  return [
3358
- Reflect.apply(c.t, c, [...rs(m)]),
3358
+ Reflect.apply(c.t, c, [...os(m)]),
3359
3359
  c
3360
3360
  ];
3361
3361
  };
@@ -3371,9 +3371,9 @@ function ri(e) {
3371
3371
  },
3372
3372
  beforeUpdate: (o, { value: l }) => {
3373
3373
  if (o.__composer) {
3374
- const i = o.__composer, c = ss(l);
3374
+ const i = o.__composer, c = rs(l);
3375
3375
  o.textContent = Reflect.apply(i.t, i, [
3376
- ...rs(c)
3376
+ ...os(c)
3377
3377
  ]);
3378
3378
  }
3379
3379
  },
@@ -3383,7 +3383,7 @@ function ri(e) {
3383
3383
  }
3384
3384
  };
3385
3385
  }
3386
- function ss(e) {
3386
+ function rs(e) {
3387
3387
  if (A(e))
3388
3388
  return { path: e };
3389
3389
  if (F(e)) {
@@ -3393,13 +3393,13 @@ function ss(e) {
3393
3393
  } else
3394
3394
  throw ue(Y.INVALID_VALUE);
3395
3395
  }
3396
- function rs(e) {
3396
+ function os(e) {
3397
3397
  const { path: t, locale: a, args: n, choice: s, plural: r } = e, o = {}, l = n || {};
3398
3398
  return A(a) && (o.locale = a), ee(s) && (o.plural = s), ee(r) && (o.plural = r), [t, l, o];
3399
3399
  }
3400
3400
  function oi(e, t, ...a) {
3401
3401
  const n = F(a[0]) ? a[0] : {};
3402
- (x(n.globalInstall) ? n.globalInstall : !0) && ([as.name, "I18nT"].forEach((r) => e.component(r, as)), [ns.name, "I18nN"].forEach((r) => e.component(r, ns)), [ls.name, "I18nD"].forEach((r) => e.component(r, ls))), e.directive("t", ri(t));
3402
+ (x(n.globalInstall) ? n.globalInstall : !0) && ([ns.name, "I18nT"].forEach((r) => e.component(r, ns)), [ss.name, "I18nN"].forEach((r) => e.component(r, ss)), [is.name, "I18nD"].forEach((r) => e.component(r, is))), e.directive("t", ri(t));
3403
3403
  }
3404
3404
  const li = /* @__PURE__ */ Oe("global-vue-i18n");
3405
3405
  function ii(e = {}) {
@@ -3469,9 +3469,9 @@ function la(e = {}) {
3469
3469
  throw ue(Y.MUST_BE_CALL_SETUP_TOP);
3470
3470
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3471
3471
  throw ue(Y.NOT_INSTALLED);
3472
- const a = ui(t), n = di(a), s = $s(t), r = fi(e, s);
3472
+ const a = ui(t), n = di(a), s = Hs(t), r = fi(e, s);
3473
3473
  if (r === "global")
3474
- return Hs(n, e, s), n;
3474
+ return Ws(n, e, s), n;
3475
3475
  if (r === "parent") {
3476
3476
  let i = mi(a, t, e.__useComponent);
3477
3477
  return i == null && (process.env.NODE_ENV !== "production" && Le(ct(_e.NOT_FOUND_PARENT_SCOPE)), i = n), i;
@@ -3486,7 +3486,7 @@ function la(e = {}) {
3486
3486
  return l;
3487
3487
  }
3488
3488
  function ci(e, t) {
3489
- const a = _r(), n = __VUE_I18N_LEGACY_API__ && t ? a.run(() => qa(e)) : a.run(() => pn(e));
3489
+ const a = gr(), n = __VUE_I18N_LEGACY_API__ && t ? a.run(() => qa(e)) : a.run(() => pn(e));
3490
3490
  if (n == null)
3491
3491
  throw ue(Y.UNEXPECTED_ERROR);
3492
3492
  return [a, n];
@@ -3513,7 +3513,7 @@ function mi(e, t, a = !1) {
3513
3513
  n = o.__getInstance(r);
3514
3514
  else if (__VUE_I18N_LEGACY_API__) {
3515
3515
  const l = o.__getInstance(r);
3516
- l != null && (n = l.__composer, a && n && !n[Vs] && (n = null));
3516
+ l != null && (n = l.__composer, a && n && !n[$s] && (n = null));
3517
3517
  }
3518
3518
  if (n != null || s === r)
3519
3519
  break;
@@ -3543,14 +3543,14 @@ const gi = [
3543
3543
  "locale",
3544
3544
  "fallbackLocale",
3545
3545
  "availableLocales"
3546
- ], os = ["t", "rt", "d", "n", "tm", "te"];
3546
+ ], ls = ["t", "rt", "d", "n", "tm", "te"];
3547
3547
  function hi(e, t) {
3548
3548
  const a = /* @__PURE__ */ Object.create(null);
3549
3549
  return gi.forEach((s) => {
3550
3550
  const r = Object.getOwnPropertyDescriptor(t, s);
3551
3551
  if (!r)
3552
3552
  throw ue(Y.UNEXPECTED_ERROR);
3553
- const o = gr(r.value) ? {
3553
+ const o = hr(r.value) ? {
3554
3554
  get() {
3555
3555
  return r.value.value;
3556
3556
  },
@@ -3564,13 +3564,13 @@ function hi(e, t) {
3564
3564
  }
3565
3565
  };
3566
3566
  Object.defineProperty(a, s, o);
3567
- }), e.config.globalProperties.$i18n = a, os.forEach((s) => {
3567
+ }), e.config.globalProperties.$i18n = a, ls.forEach((s) => {
3568
3568
  const r = Object.getOwnPropertyDescriptor(t, s);
3569
3569
  if (!r || !r.value)
3570
3570
  throw ue(Y.UNEXPECTED_ERROR);
3571
3571
  Object.defineProperty(e.config.globalProperties, `$${s}`, r);
3572
3572
  }), () => {
3573
- delete e.config.globalProperties.$i18n, os.forEach((s) => {
3573
+ delete e.config.globalProperties.$i18n, ls.forEach((s) => {
3574
3574
  delete e.config.globalProperties[`$${s}`];
3575
3575
  });
3576
3576
  };
@@ -3594,16 +3594,16 @@ const Ei = /* @__PURE__ */ Ce({
3594
3594
  useScope: e.scope,
3595
3595
  __useComponent: !0
3596
3596
  });
3597
- return Bs(e, t, Ds, (...n) => (
3597
+ return js(e, t, Cs, (...n) => (
3598
3598
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3599
3599
  a[ja](...n)
3600
3600
  ));
3601
3601
  }
3602
- }), ls = Ei;
3602
+ }), is = Ei;
3603
3603
  Cl();
3604
3604
  sl(Mo);
3605
3605
  rl(Zo);
3606
- ol(Ss);
3606
+ ol(Ts);
3607
3607
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3608
3608
  const e = Ge();
3609
3609
  e.__INTLIFY__ = !0, Uo(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
@@ -3990,7 +3990,7 @@ function Rt(e, t) {
3990
3990
  let za = "/", qt = {
3991
3991
  "zh-CN": "简体中文"
3992
3992
  };
3993
- const js = {};
3993
+ const Js = {};
3994
3994
  function bi() {
3995
3995
  return localStorage.getItem("language") || "zh-CN";
3996
3996
  }
@@ -4001,7 +4001,7 @@ const me = ii({
4001
4001
  // 从localStorage获取语言设置
4002
4002
  fallbackLocale: "en-US",
4003
4003
  // 回退语言
4004
- messages: js,
4004
+ messages: Js,
4005
4005
  silentTranslationWarn: !0,
4006
4006
  // 禁用翻译警告
4007
4007
  fallbackWarn: !1,
@@ -4019,7 +4019,7 @@ async function Ii(e) {
4019
4019
  return t instanceof TypeError && console.error(`Error loading locale ${e}:`, t), {};
4020
4020
  }
4021
4021
  }
4022
- function Js(e) {
4022
+ function Qs(e) {
4023
4023
  try {
4024
4024
  const t = localStorage.getItem(`locale_cache_${e}`);
4025
4025
  if (t)
@@ -4029,7 +4029,7 @@ function Js(e) {
4029
4029
  }
4030
4030
  return null;
4031
4031
  }
4032
- function Qs(e, t) {
4032
+ function Xs(e, t) {
4033
4033
  try {
4034
4034
  const a = {
4035
4035
  messages: t,
@@ -4055,15 +4055,15 @@ function Za(e) {
4055
4055
  }
4056
4056
  return e;
4057
4057
  }
4058
- async function Xs(e) {
4059
- const t = Za(vi), a = Js(e);
4058
+ async function qs(e) {
4059
+ const t = Za(vi), a = Qs(e);
4060
4060
  let n = {};
4061
4061
  try {
4062
4062
  n = await Ii(e);
4063
4063
  } catch {
4064
4064
  }
4065
4065
  let s = t;
4066
- a && Object.keys(a).length > 0 && (s = Rt(s, a)), n && Object.keys(n).length > 0 && (s = Rt(s, n)), js[e] = s, me.global.setLocaleMessage(e, s), Qs(e, s);
4066
+ a && Object.keys(a).length > 0 && (s = Rt(s, a)), n && Object.keys(n).length > 0 && (s = Rt(s, n)), Js[e] = s, me.global.setLocaleMessage(e, s), Xs(e, s);
4067
4067
  }
4068
4068
  async function Ec(e = "/", t) {
4069
4069
  za = e;
@@ -4074,10 +4074,10 @@ async function Ec(e = "/", t) {
4074
4074
  n instanceof TypeError && console.error("[Locale] Network error:", n);
4075
4075
  }
4076
4076
  const a = localStorage.getItem("language") || t || "zh-CN";
4077
- me.global.locale.value = a, localStorage.setItem("language", a), await Xs(a);
4077
+ me.global.locale.value = a, localStorage.setItem("language", a), await qs(a);
4078
4078
  }
4079
4079
  async function vc(e) {
4080
- await Xs(e), me.global.locale.value = e, localStorage.setItem("language", e);
4080
+ await qs(e), me.global.locale.value = e, localStorage.setItem("language", e);
4081
4081
  }
4082
4082
  function bc(e = "code") {
4083
4083
  const t = me.global.locale.value;
@@ -4095,10 +4095,10 @@ function P(e, t) {
4095
4095
  if (a === e) {
4096
4096
  const n = me.global.getLocaleMessage(me.global.locale.value);
4097
4097
  if (!n || Object.keys(n).length === 0) {
4098
- const r = Js(me.global.locale.value);
4098
+ const r = Qs(me.global.locale.value);
4099
4099
  if (r) {
4100
4100
  const o = Rt({}, r);
4101
- me.global.setLocaleMessage(me.global.locale.value, o), Qs(me.global.locale.value, o);
4101
+ me.global.setLocaleMessage(me.global.locale.value, o), Xs(me.global.locale.value, o);
4102
4102
  const l = me.global.t(e, t || {});
4103
4103
  return l === e ? e : l;
4104
4104
  }
@@ -4210,7 +4210,7 @@ ne($, "YesNo", []), /**
4210
4210
  * - 女 F
4211
4211
  */
4212
4212
  ne($, "MaleFemale", []);
4213
- let en = $, qs = "";
4213
+ let en = $, zs = "";
4214
4214
  const ia = {
4215
4215
  login: {
4216
4216
  api: "PLATFORM_API",
@@ -4228,7 +4228,7 @@ const ia = {
4228
4228
  authorize: !0,
4229
4229
  url: "/api/LoginSrv/logout"
4230
4230
  }
4231
- }, zs = {
4231
+ }, Zs = {
4232
4232
  host: {
4233
4233
  api: "SITEHOST_API",
4234
4234
  url: "/openapi/RCSiteHostSrv/get",
@@ -4241,7 +4241,7 @@ const ia = {
4241
4241
  }
4242
4242
  };
4243
4243
  function yc() {
4244
- qs = P("webui.stores.userInfo.tokenParseFailed"), ia.logout.loadingText = P("webui.stores.userInfo.exiting"), zs.host.loadingText = P("webui.stores.hostInfo.loading");
4244
+ zs = P("webui.stores.userInfo.tokenParseFailed"), ia.logout.loadingText = P("webui.stores.userInfo.exiting"), Zs.host.loadingText = P("webui.stores.hostInfo.loading");
4245
4245
  }
4246
4246
  const Ft = {
4247
4247
  /**
@@ -4314,14 +4314,14 @@ const Ft = {
4314
4314
  type: Object,
4315
4315
  required: !1
4316
4316
  }
4317
- }, ve = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, is = "/login/", Jt = [], yi = (e) => {
4317
+ }, ve = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, cs = "/login/", Jt = [], yi = (e) => {
4318
4318
  for (const t of e) {
4319
4319
  const a = Jt.findIndex((n) => n.path === t.path);
4320
4320
  a !== -1 && Jt.splice(a, 1), Jt.push(t), ca.addRoute(t);
4321
4321
  }
4322
- }, Zs = (e, t, a, n = "") => {
4322
+ }, er = (e, t, a, n = "") => {
4323
4323
  const s = n + (n ? "/" : "") + e.path;
4324
- t[s] = { ...e, parent: a }, e.children && e.children.forEach((r) => Zs(r, t, e, s));
4324
+ t[s] = { ...e, parent: a }, e.children && e.children.forEach((r) => er(r, t, e, s));
4325
4325
  }, ca = Fr({
4326
4326
  history: Mr("/"),
4327
4327
  routes: Jt
@@ -4352,7 +4352,7 @@ const Ft = {
4352
4352
  ca.beforeEach((e, t, a) => {
4353
4353
  var l;
4354
4354
  const n = e;
4355
- if (e.path.startsWith("/error/") || e.path.startsWith(is))
4355
+ if (e.path.startsWith("/error/") || e.path.startsWith(cs))
4356
4356
  return a();
4357
4357
  const s = n.meta, o = ((s == null ? void 0 : s.roles) ?? []).length > 0 || ((l = s == null ? void 0 : s.permission) == null ? void 0 : l.length);
4358
4358
  if (e.path === "/") {
@@ -4374,7 +4374,7 @@ ca.beforeEach((e, t, a) => {
4374
4374
  else {
4375
4375
  const i = ye();
4376
4376
  if (!i.isLogin)
4377
- a({ path: is });
4377
+ a({ path: cs });
4378
4378
  else {
4379
4379
  if (!Me().menuLoaded) {
4380
4380
  yt.value = {
@@ -4573,17 +4573,17 @@ const Nt = {
4573
4573
  return ve(a) || (s = t.hasRole(a)), t.isAdmin() ? s : (ve(n) || (r = t.hasPermit(e.path, n)), s || r);
4574
4574
  }
4575
4575
  return !1;
4576
- }, er = (e) => e.map((t) => {
4576
+ }, tr = (e) => e.map((t) => {
4577
4577
  const a = { ...t };
4578
- return Ai(a) ? (a.children && (a.children = er(a.children)), a) : null;
4579
- }).filter(Boolean), tr = (e, t = "") => {
4578
+ return Ai(a) ? (a.children && (a.children = tr(a.children)), a) : null;
4579
+ }).filter(Boolean), ar = (e, t = "") => {
4580
4580
  for (const a of e) {
4581
4581
  if (!a.children && !a.redirect) {
4582
4582
  let n = t + a.path;
4583
4583
  return n.startsWith("/") || (n = "/" + n), n;
4584
4584
  }
4585
4585
  if (a.children && a.children.length > 0 && a.path !== "/error" && a.path !== "/login" && a.path !== "/:page(.*)") {
4586
- const n = tr(a.children, t + a.path + "/");
4586
+ const n = ar(a.children, t + a.path + "/");
4587
4587
  if (n)
4588
4588
  return n;
4589
4589
  }
@@ -4666,7 +4666,7 @@ const Nt = {
4666
4666
  flattenRoutes: {},
4667
4667
  Routes: t ?? [],
4668
4668
  defaultPage: ""
4669
- }), !Fe() || !kr())) {
4669
+ }), !Fe() || !Dr())) {
4670
4670
  const n = ye();
4671
4671
  ke.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
4672
4672
  }
@@ -4684,13 +4684,13 @@ const Nt = {
4684
4684
  };
4685
4685
  const t = this.appInfo.flattenRoutes;
4686
4686
  for (const a of e)
4687
- Zs(a, t, void 0);
4687
+ er(a, t, void 0);
4688
4688
  if (Object.keys(t).forEach((a) => {
4689
4689
  const n = t[a];
4690
4690
  n.children || !n.component || (n.meta && n.meta.keepAlive === !1 ? this.ExcludeComponents.push(a) : this.CachedComponents.push(a));
4691
4691
  }), ye().isLogin) {
4692
- const a = er(this.appInfo.Routes);
4693
- if (yi(a), this.appInfo.defaultPage = tr(a) || "", this.appInfo.defaultPage) {
4692
+ const a = tr(this.appInfo.Routes);
4693
+ if (yi(a), this.appInfo.defaultPage = ar(a) || "", this.appInfo.defaultPage) {
4694
4694
  if (this.menuLoaded = !0, Fe()) {
4695
4695
  const n = this.formatRoute(this.appInfo.defaultPage);
4696
4696
  Nt.mainAppPush(n);
@@ -4713,7 +4713,7 @@ const Nt = {
4713
4713
  * @param path 路由地址
4714
4714
  */
4715
4715
  push(e) {
4716
- this.findRoute(e) && hn().setTabActive(e), Er(() => {
4716
+ this.findRoute(e) && hn().setTabActive(e), vr(() => {
4717
4717
  if (ca.push({ path: e }), Fe()) {
4718
4718
  const a = this.formatRoute(e);
4719
4719
  Nt.mainAppPush(a);
@@ -4822,7 +4822,7 @@ const Nt = {
4822
4822
  const t = JSON.parse(atob(e.token.split(".")[1]));
4823
4823
  return t.user = JSON.parse(t.user), e.UserInfo = t.user, !0;
4824
4824
  } catch (t) {
4825
- return console.error(qs, t), !1;
4825
+ return console.error(zs, t), !1;
4826
4826
  }
4827
4827
  }, de = w(""), bt = w(null), ye = Dt("userInfo", {
4828
4828
  state: () => ({
@@ -5019,12 +5019,12 @@ const Nt = {
5019
5019
  JSON.parse(JSON.stringify(n.params ?? {})),
5020
5020
  JSON.parse(JSON.stringify(t.params ?? {}))
5021
5021
  );
5022
- return t.processParams && (s = t.processParams(s)), t.loadingState && (t.loadingState.value = !0), t.hideErrorToast && (n.hideErrorToast = !0), (n.method === "GET" ? ms : qe)(n, s).then((o) => (t.loadingState && (t.loadingState.value = !1), (o == null ? void 0 : o.errno) == ua ? (ye().logout(!1), null) : o)).catch((o) => (t.loadingState && (t.loadingState.value = !1), null));
5022
+ return t.processParams && (s = t.processParams(s)), t.loadingState && (t.loadingState.value = !0), t.hideErrorToast && (n.hideErrorToast = !0), (n.method === "GET" ? ps : qe)(n, s).then((o) => (t.loadingState && (t.loadingState.value = !1), (o == null ? void 0 : o.errno) == ua ? (ye().logout(!1), null) : o)).catch((o) => (t.loadingState && (t.loadingState.value = !1), null));
5023
5023
  }, En = (e, t) => {
5024
5024
  t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
5025
5025
  const a = fa(e, t);
5026
5026
  return t.url = a, da(e, t);
5027
- }, Nc = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || P("webui.utils.data.startExecute"), t.url = fa(e, t), da(e, t).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && (t.hideErrorToast || se.success(P("webui.utils.data.executeSuccess"))), a))), ar = (e, t = {}) => {
5027
+ }, Nc = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || P("webui.utils.data.startExecute"), t.url = fa(e, t), da(e, t).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && (t.hideErrorToast || se.success(P("webui.utils.data.executeSuccess"))), a))), nr = (e, t = {}) => {
5028
5028
  const a = t.primaryKey || "Id";
5029
5029
  if (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), !t.params.Data)
5030
5030
  return se.error(P("webui.utils.data.noSaveData")), Promise.resolve(null);
@@ -5224,7 +5224,7 @@ const Tc = (e) => {
5224
5224
  rule: e.rule
5225
5225
  },
5226
5226
  t == null ? void 0 : t.formRules.value,
5227
- fs(s)
5227
+ ds(s)
5228
5228
  );
5229
5229
  a.value.errClass = r.errClass.value, a.value.msg = r.msg.value;
5230
5230
  }
@@ -5271,13 +5271,13 @@ const Tc = (e) => {
5271
5271
  if (t[a])
5272
5272
  return xi(n, t[a].fields);
5273
5273
  }, Rc = (e) => {
5274
- nr(e);
5274
+ sr(e);
5275
5275
  }, wc = (e) => {
5276
5276
  const t = e.page, a = e.formData.value;
5277
- a[e.primaryKey ?? t.primaryKey] = null, nr(e);
5277
+ a[e.primaryKey ?? t.primaryKey] = null, sr(e);
5278
5278
  }, kc = (e) => {
5279
5279
  bn(e), e.visible.value = !1;
5280
- }, nr = async (e) => {
5280
+ }, sr = async (e) => {
5281
5281
  var n;
5282
5282
  const t = e.page;
5283
5283
  if (e.isFormSaving.value = !0, vn(e), e.beforeSave && e.beforeSave() === !1)
@@ -5285,7 +5285,7 @@ const Tc = (e) => {
5285
5285
  if (e.formRules.value && await Mt(e), e.ruleResults.value)
5286
5286
  return se.error(P("webui.utils.form.submitValidationFailed")), console.error("表单验证失败!", e.ruleResults.value), e.isFormSaving.value = !1, Promise.resolve();
5287
5287
  const a = e.formData.value;
5288
- return ar(
5288
+ return nr(
5289
5289
  {
5290
5290
  page: t,
5291
5291
  // 转换为AnyControl接口
@@ -5332,15 +5332,15 @@ const Tc = (e) => {
5332
5332
  const t = e.page, a = e.grid;
5333
5333
  e.isFormLoading.value = !0;
5334
5334
  const n = e.formData.value, s = e.primaryKey ?? t.primaryKey;
5335
- return or(a, { [s]: n[s] }, e.detailUrl).then((r) => {
5336
- e.isFormLoading.value = !1, r && sr(e, r);
5335
+ return lr(a, { [s]: n[s] }, e.detailUrl).then((r) => {
5336
+ e.isFormLoading.value = !1, r && rr(e, r);
5337
5337
  });
5338
5338
  }, Cc = (e) => {
5339
5339
  const t = e.grid;
5340
5340
  t && (t.rowData.value = void 0), e && (bn(e), e.visible && (e.visible.value = !1), setTimeout(() => {
5341
5341
  e.visible.value = !0;
5342
5342
  }, 1));
5343
- }, sr = (e, t) => {
5343
+ }, rr = (e, t) => {
5344
5344
  bn(e);
5345
5345
  const a = { ...e.formData.value, ...t };
5346
5346
  e.formData.value = JSON.parse(JSON.stringify(a));
@@ -5365,7 +5365,7 @@ const Tc = (e) => {
5365
5365
  return s ? { ...n, ...s } : !1;
5366
5366
  });
5367
5367
  return [...a || [], ...e.filter((n) => !(a != null && a.includes(n)))];
5368
- }, Vi = (e) => rr(e).then((t) => t.rows), rr = (e) => {
5368
+ }, Vi = (e) => or(e).then((t) => t.rows), or = (e) => {
5369
5369
  var a, n, s, r;
5370
5370
  e.gridQuery || (e.gridQuery = {});
5371
5371
  const t = e.remotePage ? "find" : "list";
@@ -5399,7 +5399,7 @@ const Tc = (e) => {
5399
5399
  rows: []
5400
5400
  };
5401
5401
  });
5402
- }, $i = (e, t, a = {}) => ar(e, {
5402
+ }, $i = (e, t, a = {}) => nr(e, {
5403
5403
  urlKey: "update",
5404
5404
  url: e.updateUrl,
5405
5405
  params: {
@@ -5416,17 +5416,17 @@ const Tc = (e) => {
5416
5416
  loadingText: !1,
5417
5417
  hideErrorToast: !0
5418
5418
  });
5419
- }, or = async (e, t, a) => await En(e, {
5419
+ }, lr = async (e, t, a) => await En(e, {
5420
5420
  urlKey: "detail",
5421
5421
  url: a,
5422
5422
  params: t,
5423
5423
  loadingState: e.isGridLoading
5424
5424
  }), xc = (e, t) => {
5425
5425
  const a = t;
5426
- return or(e, { [e.primaryKey]: a[e.primaryKey] }).then((n) => ((n == null ? void 0 : n.status) === ie.SUCCESS && n.data && (e.expandRows.value[a[e.primaryKey]] = n), n));
5426
+ return lr(e, { [e.primaryKey]: a[e.primaryKey] }).then((n) => ((n == null ? void 0 : n.status) === ie.SUCCESS && n.data && (e.expandRows.value[a[e.primaryKey]] = n), n));
5427
5427
  }, Vc = (e, t) => {
5428
5428
  let a = e.editor;
5429
- e.rowData.value = t, a && (sr(a, t), a.visible.value = !0);
5429
+ e.rowData.value = t, a && (rr(a, t), a.visible.value = !0);
5430
5430
  }, $c = (e, t) => Di(e, t, {
5431
5431
  url: e.deleteUrl,
5432
5432
  primaryKey: e.primaryKey
@@ -5496,7 +5496,7 @@ const st = new Hi(), pt = (e, t, a) => {
5496
5496
  { deep: !0, immediate: !0 }
5497
5497
  );
5498
5498
  else if (t.url && t.url.url)
5499
- e && lr(t.url, t, t.params ?? {});
5499
+ e && ir(t.url, t, t.params ?? {});
5500
5500
  else {
5501
5501
  const n = w(nt(Re.LabelText, ""));
5502
5502
  se.error("`" + n.value + "` " + P("webui.utils.options.notConfigured"), {
@@ -5508,18 +5508,18 @@ const st = new Hi(), pt = (e, t, a) => {
5508
5508
  const n = {
5509
5509
  ...e.fieldMap
5510
5510
  };
5511
- t = Dr(n, t);
5511
+ t = Cr(n, t);
5512
5512
  }
5513
5513
  t = JSON.parse(JSON.stringify(t ?? [])), e.all && t.unshift({
5514
5514
  label: P("webui.components.form.radio.all"),
5515
5515
  value: e.allValue ?? void 0
5516
5516
  }), e.options.value = t;
5517
5517
  }, Wi = (e, t, a) => {
5518
- Array.isArray(a) ? In(t, a, !0) : lr(e, t, a);
5518
+ Array.isArray(a) ? In(t, a, !0) : ir(e, t, a);
5519
5519
  }, Ut = (e, t) => {
5520
5520
  var a;
5521
5521
  (a = e.inputFactory) != null && a.value && t.reloadEvent && e.inputFactory.value.reloadHandler && st.off(t.reloadEvent, e.inputFactory.value.reloadHandler);
5522
- }, lr = (e, t, a) => {
5522
+ }, ir = (e, t, a) => {
5523
5523
  const n = JSON.parse(JSON.stringify(e.params ?? {})), s = JSON.parse(JSON.stringify(t.params ?? {})), r = Ct(n, s, a);
5524
5524
  Gi(e, t, t.fieldMap, r).then((o) => {
5525
5525
  In(t, o, !1);
@@ -5536,7 +5536,7 @@ const st = new Hi(), pt = (e, t, a) => {
5536
5536
  },
5537
5537
  ...r
5538
5538
  };
5539
- return l.loadingText = !1, n || (n = {}), n.Query || (n.Query = {}), t.optionQuery = n, t.isOptionLoading.value = !0, (l.method === "GET" ? ms : qe)(l, n).then((c) => {
5539
+ return l.loadingText = !1, n || (n = {}), n.Query || (n.Query = {}), t.optionQuery = n, t.isOptionLoading.value = !0, (l.method === "GET" ? ps : qe)(l, n).then((c) => {
5540
5540
  if ((c == null ? void 0 : c.status) === ie.SUCCESS) {
5541
5541
  if (c.data)
5542
5542
  return c.data;
@@ -5576,7 +5576,7 @@ const st = new Hi(), pt = (e, t, a) => {
5576
5576
  s[o] || (s[o] = {}), s = s[o];
5577
5577
  }
5578
5578
  s[n[n.length - 1]] = a;
5579
- }, ir = (e, t, a) => {
5579
+ }, cr = (e, t, a) => {
5580
5580
  if (a == null) {
5581
5581
  Object.entries(t).forEach(([n]) => {
5582
5582
  It(e, n, a);
@@ -5610,7 +5610,7 @@ const st = new Hi(), pt = (e, t, a) => {
5610
5610
  const n = (r = e.inputFactory) == null ? void 0 : r.value;
5611
5611
  n != null && n.editorCtrl && ((o = n.errInfo) != null && o.value.errClass) && Mt(n.editorCtrl), e.selected.value = a;
5612
5612
  const s = Ki(a, e.options.value);
5613
- if (e.selectedOptions.value = s, t.formData && t.outFields && ir(t.formData, t.outFields, s), t.changeEvent) {
5613
+ if (e.selectedOptions.value = s, t.formData && t.outFields && cr(t.formData, t.outFields, s), t.changeEvent) {
5614
5614
  const [l, i] = t.changeEvent;
5615
5615
  if (i)
5616
5616
  if (Array.isArray(l))
@@ -5743,7 +5743,7 @@ const st = new Hi(), pt = (e, t, a) => {
5743
5743
  (s) => {
5744
5744
  s && (setTimeout(() => {
5745
5745
  n.reload.value = !1;
5746
- }, 1), n.remotePage ? rr(n) : Vi(n));
5746
+ }, 1), n.remotePage ? or(n) : Vi(n));
5747
5747
  }
5748
5748
  ), {
5749
5749
  gridCtrl: n
@@ -5802,7 +5802,7 @@ const st = new Hi(), pt = (e, t, a) => {
5802
5802
  editorCtrl: s,
5803
5803
  gridCtrl: r
5804
5804
  };
5805
- }, ji = 10080 * 60 * 1e3, Va = /* @__PURE__ */ new Map(), cs = /* @__PURE__ */ new Set(), Ke = w({}), Kc = Ke, Yc = (e) => {
5805
+ }, ji = 10080 * 60 * 1e3, Va = /* @__PURE__ */ new Map(), us = /* @__PURE__ */ new Set(), Ke = w({}), Kc = Ke, Yc = (e) => {
5806
5806
  var s;
5807
5807
  if (!e.iconUrl) return an;
5808
5808
  const t = w(!0), a = w("");
@@ -5870,7 +5870,7 @@ const st = new Hi(), pt = (e, t, a) => {
5870
5870
  let r = this.class, o = "";
5871
5871
  Array.isArray(r) ? o = r.join(" ") : typeof r == "string" && (o = r);
5872
5872
  let l = [o];
5873
- return !/\bw-/.test(o) && !/$w-/.test(o) && l.push("w-4"), !/\bh-/.test(o) && !/$h-/.test(o) && l.push("h-4"), a.value ? Ie(fs(a.value), {
5873
+ return !/\bw-/.test(o) && !/$w-/.test(o) && l.push("w-4"), !/\bh-/.test(o) && !/$h-/.test(o) && l.push("h-4"), a.value ? Ie(ds(a.value), {
5874
5874
  onClick: this.$props.clickable ? this.handleClick : void 0,
5875
5875
  class: `${l.join(" ")}`,
5876
5876
  style: {
@@ -5887,9 +5887,9 @@ const st = new Hi(), pt = (e, t, a) => {
5887
5887
  return console.error("图标库地址不能为空"), Promise.resolve();
5888
5888
  if (Va.has(a))
5889
5889
  return Promise.resolve();
5890
- const n = ur(a);
5890
+ const n = fr(a);
5891
5891
  if (n)
5892
- return new Promise(async (r) => (cr(n.scriptContent), r()));
5892
+ return new Promise(async (r) => (ur(n.scriptContent), r()));
5893
5893
  t.value = !1;
5894
5894
  const s = new Promise(async (r) => {
5895
5895
  await Qi(a, e.monoColor || !1), r(), Va.delete(a);
@@ -5910,12 +5910,12 @@ const st = new Hi(), pt = (e, t, a) => {
5910
5910
  let o = r[1];
5911
5911
  Xi(e, o, t, n);
5912
5912
  }
5913
- cr(n);
5913
+ ur(n);
5914
5914
  return;
5915
5915
  } catch (a) {
5916
5916
  return console.error(P("webui.utils.iconLoader.networkError") + ":", a), null;
5917
5917
  }
5918
- }, cr = (e) => {
5918
+ }, ur = (e) => {
5919
5919
  const t = document.createElement("script");
5920
5920
  t.textContent = e, document.head.appendChild(t);
5921
5921
  }, Xi = (e, t, a, n) => {
@@ -5928,7 +5928,7 @@ const st = new Hi(), pt = (e, t, a) => {
5928
5928
  // 缓存时间:7天
5929
5929
  };
5930
5930
  localStorage.setItem(s, JSON.stringify(r));
5931
- }, ur = (e) => {
5931
+ }, fr = (e) => {
5932
5932
  let t = `icon_cache:${e}`;
5933
5933
  const a = localStorage.getItem(t);
5934
5934
  if (!a) return null;
@@ -5971,9 +5971,9 @@ const st = new Hi(), pt = (e, t, a) => {
5971
5971
  })
5972
5972
  ]
5973
5973
  ), qi = (e, t) => {
5974
- const a = ur(e);
5974
+ const a = fr(e);
5975
5975
  Object.keys(window).forEach((n) => {
5976
- n.startsWith("_iconfont_svg_string_") && (a == null ? void 0 : a.windowKey) === n && !cs.has(n) && (cs.add(n), zi(n, t));
5976
+ n.startsWith("_iconfont_svg_string_") && (a == null ? void 0 : a.windowKey) === n && !us.has(n) && (us.add(n), zi(n, t));
5977
5977
  });
5978
5978
  }, zi = (e, t) => {
5979
5979
  const a = window[e], r = new DOMParser().parseFromString(a, "image/svg+xml").getElementsByTagName("symbol"), o = document.querySelectorAll("symbol");
@@ -5987,8 +5987,8 @@ const st = new Hi(), pt = (e, t, a) => {
5987
5987
  let a = "";
5988
5988
  return e && (a += `rotate(${e}deg)`), t && (a += " scaleX(-1)"), a;
5989
5989
  }, jc = (e, t, a, n) => {
5990
- fr(e, [], a, n).forEach((r) => t.push(r));
5991
- }, fr = (e, t, a, n) => {
5990
+ dr(e, [], a, n).forEach((r) => t.push(r));
5991
+ }, dr = (e, t, a, n) => {
5992
5992
  var o, l, i, c, m, g;
5993
5993
  const s = [], r = ye();
5994
5994
  for (const p of e) {
@@ -5997,7 +5997,7 @@ const st = new Hi(), pt = (e, t, a) => {
5997
5997
  continue;
5998
5998
  const y = p.path.split("/");
5999
5999
  y.unshift(...t);
6000
- const R = fr(p.children || [], y, a, n), S = {
6000
+ const R = dr(p.children || [], y, a, n), S = {
6001
6001
  key: y.join("/"),
6002
6002
  label: ((m = p.name) == null ? void 0 : m.toString()) ?? "",
6003
6003
  title: ((g = p.name) == null ? void 0 : g.toString()) ?? "",
@@ -6007,8 +6007,8 @@ const st = new Hi(), pt = (e, t, a) => {
6007
6007
  (R.length > 0 || !p.children) && s.push(S);
6008
6008
  }
6009
6009
  return s;
6010
- }, us = vr([]), Jc = () => {
6011
- us.length = 0;
6010
+ }, fs = br([]), Jc = () => {
6011
+ fs.length = 0;
6012
6012
  const e = Me();
6013
6013
  let a = hn().TabActive;
6014
6014
  e.matchedRoutes(a).forEach((s, r) => {
@@ -6018,7 +6018,7 @@ const st = new Hi(), pt = (e, t, a) => {
6018
6018
  path: s.path,
6019
6019
  breadcrumbName: ((l = s.name) == null ? void 0 : l.toString()) ?? ""
6020
6020
  };
6021
- us.push(o);
6021
+ fs.push(o);
6022
6022
  });
6023
6023
  }, Qc = Dt("hostInfo", {
6024
6024
  state: () => ({
@@ -6053,7 +6053,7 @@ const st = new Hi(), pt = (e, t, a) => {
6053
6053
  return (!a || a === "/") && (a = window.location.origin), a.endsWith("/") && (a = a.slice(0, -1)), new Promise((n) => {
6054
6054
  Da.SITEHOST_API || (Da.SITEHOST_API = a);
6055
6055
  const s = t || window.location.origin;
6056
- qe(zs.host, {
6056
+ Ln.SITE_HOST = s, qe(Zs.host, {
6057
6057
  Query: {
6058
6058
  Host: s
6059
6059
  }
@@ -6096,7 +6096,7 @@ const st = new Hi(), pt = (e, t, a) => {
6096
6096
  if (this.hostInfo.SERVER_HOST)
6097
6097
  for (const t in this.hostInfo.SERVER_HOST) {
6098
6098
  let a = this.hostInfo.SERVER_HOST[t];
6099
- a = a.startsWith("http://") || a.startsWith("https://") || a.startsWith("//") ? a : window.location.origin + a, a.endsWith("/") && (a = a.slice(0, -1)), this.hostInfo.SERVER_HOST[t] = a, Cr[t] = a;
6099
+ a = a.startsWith("http://") || a.startsWith("https://") || a.startsWith("//") ? a : window.location.origin + a, a.endsWith("/") && (a = a.slice(0, -1)), this.hostInfo.SERVER_HOST[t] = a, Ln[t] = a;
6100
6100
  }
6101
6101
  },
6102
6102
  getHostInfo() {
@@ -6158,7 +6158,7 @@ const st = new Hi(), pt = (e, t, a) => {
6158
6158
  r && Ut(r, a);
6159
6159
  }), (y, R) => {
6160
6160
  var S;
6161
- return o.value.length === 2 ? (le(), zt(X(Ir), kt({
6161
+ return o.value.length === 2 ? (le(), zt(X(yr), kt({
6162
6162
  key: 0,
6163
6163
  size: e.size,
6164
6164
  class: [
@@ -6211,7 +6211,7 @@ const st = new Hi(), pt = (e, t, a) => {
6211
6211
  ), B(
6212
6212
  () => l.value,
6213
6213
  (S) => {
6214
- a.autoClean && a.formData && a.outFields && S !== a.value && ir(a.formData, a.outFields, null);
6214
+ a.autoClean && a.formData && a.outFields && S !== a.value && cr(a.formData, a.outFields, null);
6215
6215
  }
6216
6216
  );
6217
6217
  const { editorCtrl: i, errInfo: c, labelText: m } = s, g = t;
@@ -6245,7 +6245,7 @@ const st = new Hi(), pt = (e, t, a) => {
6245
6245
  }), (S, O) => {
6246
6246
  var d;
6247
6247
  return le(), ge("div", null, [
6248
- Be(X(yr), kt({
6248
+ Be(X(Nr), kt({
6249
6249
  value: l.value,
6250
6250
  "onUpdate:value": O[0] || (O[0] = (_) => l.value = _),
6251
6251
  class: ["w-full", (d = X(c)) == null ? void 0 : d.errClass],
@@ -6257,7 +6257,7 @@ const st = new Hi(), pt = (e, t, a) => {
6257
6257
  ta(je(_), 1)
6258
6258
  ]),
6259
6259
  default: Ue(() => [
6260
- Be(X(Nr), {
6260
+ Be(X(Sr), {
6261
6261
  "allow-clear": "",
6262
6262
  placeholder: "请输入并选择" + X(m)
6263
6263
  }, null, 8, ["placeholder"])
@@ -6326,18 +6326,18 @@ const st = new Hi(), pt = (e, t, a) => {
6326
6326
  }), dt(() => {
6327
6327
  o && Ut(o, a);
6328
6328
  }), (S, O) => (le(), ge("div", ec, [
6329
- Be(X(Sr), kt({
6329
+ Be(X(Tr), kt({
6330
6330
  onChange: g,
6331
6331
  class: "w-full mb-[-3px]"
6332
6332
  }, X(n)), {
6333
6333
  default: Ue(() => [
6334
6334
  m.value.length > 0 ? (le(!0), ge(Ye, { key: 0 }, nn(m.value, (d) => {
6335
6335
  var _;
6336
- return le(), zt(X(Tr), {
6336
+ return le(), zt(X(Lr), {
6337
6337
  key: d.value,
6338
6338
  value: d.value,
6339
6339
  disabled: d.disabled || d.value && e.disabledItems && e.disabledItems.indexOf(d.value.toString()) > -1,
6340
- class: ds([
6340
+ class: ms([
6341
6341
  ((_ = X(i)) == null ? void 0 : _.errClass) === "error" ? "error !text-red-400" : "",
6342
6342
  "text-nowrap",
6343
6343
  "pb-1",
@@ -6428,7 +6428,7 @@ const st = new Hi(), pt = (e, t, a) => {
6428
6428
  }), dt(() => {
6429
6429
  o && Ut(o, a);
6430
6430
  }), (d, _) => (le(), ge("div", ac, [
6431
- Be(X(Lr), kt({
6431
+ Be(X(Or), kt({
6432
6432
  value: i.value,
6433
6433
  "onUpdate:value": _[0] || (_[0] = (I) => i.value = I),
6434
6434
  autocheck: !1,
@@ -6441,11 +6441,11 @@ const st = new Hi(), pt = (e, t, a) => {
6441
6441
  return le(), ge(Ye, {
6442
6442
  key: I.value
6443
6443
  }, [
6444
- I.visible !== !1 ? (le(), zt(X(Or), {
6444
+ I.visible !== !1 ? (le(), zt(X(Ar), {
6445
6445
  key: 0,
6446
6446
  checked: p(I.value, a.value),
6447
6447
  value: I.value,
6448
- class: ds([
6448
+ class: ms([
6449
6449
  ((E = X(c)) == null ? void 0 : E.errClass) === "error" ? "error !text-red-400" : "",
6450
6450
  "text-nowrap",
6451
6451
  "pb-1",
@@ -6585,9 +6585,9 @@ const st = new Hi(), pt = (e, t, a) => {
6585
6585
  return le(), ge("div", null, [
6586
6586
  (C = (v = X(c)) == null ? void 0 : v.url) != null && C.loading ? (le(), ge("div", sc, [
6587
6587
  Be(X(an), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
6588
- br("span", null, je(X(P)("webui.components.form.upload.dataLoading")), 1)
6588
+ Ir("span", null, je(X(P)("webui.components.form.upload.dataLoading")), 1)
6589
6589
  ])) : ot("", !0),
6590
- Be(X(Ar), kt({
6590
+ Be(X(Pr), kt({
6591
6591
  class: [(M = X(o)) == null ? void 0 : M.errClass, "w-full"],
6592
6592
  value: y.value,
6593
6593
  "onUpdate:value": L[0] || (L[0] = (K) => y.value = K),
@@ -6600,7 +6600,7 @@ const st = new Hi(), pt = (e, t, a) => {
6600
6600
  (le(!0), ge(Ye, null, nn(O.value, (K) => (le(), ge(Ye, {
6601
6601
  key: K.value
6602
6602
  }, [
6603
- K.visible !== !1 ? (le(), zt(X(Pr), {
6603
+ K.visible !== !1 ? (le(), zt(X(Rr), {
6604
6604
  key: 0,
6605
6605
  value: K.value
6606
6606
  }, {
@@ -6647,7 +6647,7 @@ export {
6647
6647
  Wc as R,
6648
6648
  Gc as S,
6649
6649
  Ki as T,
6650
- ir as U,
6650
+ cr as U,
6651
6651
  Kc as V,
6652
6652
  Bc as W,
6653
6653
  zi as X,
@@ -6655,11 +6655,11 @@ export {
6655
6655
  jc as Z,
6656
6656
  Xc as _,
6657
6657
  Sc as a,
6658
- us as a0,
6658
+ fs as a0,
6659
6659
  Jc as a1,
6660
- nr as a2,
6660
+ sr as a2,
6661
6661
  Dc as a3,
6662
- sr as a4,
6662
+ rr as a4,
6663
6663
  Tc as a5,
6664
6664
  Ac as a6,
6665
6665
  vn as a7,
@@ -6667,10 +6667,10 @@ export {
6667
6667
  Oc as a9,
6668
6668
  Mc as aa,
6669
6669
  $i as ab,
6670
- or as ac,
6670
+ lr as ac,
6671
6671
  xc as ad,
6672
6672
  Nc as ae,
6673
- ar as af,
6673
+ nr as af,
6674
6674
  Di as ag,
6675
6675
  tn as ah,
6676
6676
  st as ai,
@@ -6697,7 +6697,7 @@ export {
6697
6697
  ve as i,
6698
6698
  Fc as j,
6699
6699
  Cc as k,
6700
- rr as l,
6700
+ or as l,
6701
6701
  Vi as m,
6702
6702
  Uc as n,
6703
6703
  Rc as o,