china-mobile-international-custom-components 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ApplicationTypeTag.mjs +1 -1
- package/es/PageContainer.mjs +242 -211
- package/es/assets/PageContainer.css +1 -1
- package/es/chunks/{index.BcLVH95_.js → index.CEulrjCM.js} +266 -262
- package/es/chunks/index.CyqKJ7zE.js +4062 -0
- package/es/index.mjs +2 -2
- package/lib/ApplicationTypeTag.js +1 -1
- package/lib/PageContainer.js +1 -1
- package/lib/assets/PageContainer.css +1 -1
- package/lib/chunks/index.C-BOSJfQ.js +6 -0
- package/lib/chunks/{index.CV29Us4A.js → index.mVFuSNRS.js} +6 -6
- package/lib/index.js +1 -1
- package/package.json +6 -5
- package/es/chunks/index.Dh5IGfxO.js +0 -290
- package/lib/chunks/index.Bk55us0s.js +0 -1
|
@@ -3,7 +3,8 @@ import * as ht from "vue";
|
|
|
3
3
|
import { effectScope as br, ref as Ir, shallowRef as Or, computed as he, watch as Ot, isRef as Ar, defineComponent as Ut, h as wn, Fragment as Un, inject as vr, onMounted as Cr, onUnmounted as Dr, createVNode as Sr, Text as Pr, getCurrentInstance as Fr, createElementBlock as yr, openBlock as kr, normalizeClass as Rr, toDisplayString as Mr } from "vue";
|
|
4
4
|
import { A as qe } from "./config.DE5PZU2F.js";
|
|
5
5
|
import { ElMessageBox as wr } from "element-plus";
|
|
6
|
-
import
|
|
6
|
+
import Ur from "js-cookie";
|
|
7
|
+
import { _ as Vr } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
8
|
import '../assets/index3.css';function ue(e, t) {
|
|
8
9
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
9
10
|
}
|
|
@@ -22,11 +23,11 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
22
23
|
e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
|
-
const
|
|
26
|
+
const $r = /\{([0-9a-zA-Z]+)\}/g;
|
|
26
27
|
function et(e, ...t) {
|
|
27
|
-
return t.length === 1 && R(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(
|
|
28
|
+
return t.length === 1 && R(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace($r, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
28
29
|
}
|
|
29
|
-
const ce = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
30
|
+
const ce = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Br = (e, t, n) => xr({ l: e, k: t, s: n }), xr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), Wr = (e) => $t(e) === "[object Date]", Se = (e) => $t(e) === "[object RegExp]", tt = (e) => k(e) && Object.keys(e).length === 0, J = Object.assign, Gr = Object.create, $ = (e = null) => Gr(e);
|
|
30
31
|
let en;
|
|
31
32
|
const Le = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
|
|
32
33
|
function tn(e) {
|
|
@@ -35,7 +36,7 @@ function tn(e) {
|
|
|
35
36
|
function nn(e) {
|
|
36
37
|
return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
37
38
|
}
|
|
38
|
-
function
|
|
39
|
+
function Yr(e) {
|
|
39
40
|
return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, a, s) => `${a}="${nn(s)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, a, s) => `${a}='${nn(s)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && ue("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3")), [
|
|
40
41
|
// In href, src, action, formaction attributes
|
|
41
42
|
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
@@ -45,16 +46,16 @@ function Gr(e) {
|
|
|
45
46
|
e = e.replace(r, "$1javascript:");
|
|
46
47
|
}), e;
|
|
47
48
|
}
|
|
48
|
-
const
|
|
49
|
+
const Hr = Object.prototype.hasOwnProperty;
|
|
49
50
|
function se(e, t) {
|
|
50
|
-
return
|
|
51
|
+
return Hr.call(e, t);
|
|
51
52
|
}
|
|
52
|
-
const G = Array.isArray, B = (e) => typeof e == "function", I = (e) => typeof e == "string", M = (e) => typeof e == "boolean", R = (e) => e !== null && typeof e == "object",
|
|
53
|
+
const G = Array.isArray, B = (e) => typeof e == "function", I = (e) => typeof e == "string", M = (e) => typeof e == "boolean", R = (e) => e !== null && typeof e == "object", Kr = (e) => R(e) && B(e.then) && B(e.catch), Vn = Object.prototype.toString, $t = (e) => Vn.call(e), k = (e) => $t(e) === "[object Object]", jr = (e) => e == null ? "" : G(e) || k(e) && e.toString === Vn ? JSON.stringify(e, null, 2) : String(e);
|
|
53
54
|
function Bt(e, t = "") {
|
|
54
55
|
return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
|
|
55
56
|
}
|
|
56
57
|
const rn = 2;
|
|
57
|
-
function
|
|
58
|
+
function Xr(e, t = 0, n = e.length) {
|
|
58
59
|
const r = e.split(/\r?\n/);
|
|
59
60
|
let a = 0;
|
|
60
61
|
const s = [];
|
|
@@ -111,7 +112,7 @@ function Ze(e, t) {
|
|
|
111
112
|
});
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
+
function Jr(e, t, n) {
|
|
115
116
|
return { line: e, column: t, offset: n };
|
|
116
117
|
}
|
|
117
118
|
function At(e, t, n) {
|
|
@@ -138,7 +139,7 @@ const P = {
|
|
|
138
139
|
UNHANDLED_CODEGEN_NODE_TYPE: 15,
|
|
139
140
|
// minifier error codes
|
|
140
141
|
UNHANDLED_MINIFIER_NODE_TYPE: 16
|
|
141
|
-
},
|
|
142
|
+
}, Qr = 17, qr = {
|
|
142
143
|
// tokenizer error messages
|
|
143
144
|
[P.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
144
145
|
[P.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
@@ -161,18 +162,18 @@ const P = {
|
|
|
161
162
|
[P.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
162
163
|
};
|
|
163
164
|
function ke(e, t, n = {}) {
|
|
164
|
-
const { domain: r, messages: a, args: s } = n, o = process.env.NODE_ENV !== "production" ? et((a ||
|
|
165
|
+
const { domain: r, messages: a, args: s } = n, o = process.env.NODE_ENV !== "production" ? et((a || qr)[e] || "", ...s || []) : e, i = new SyntaxError(String(o));
|
|
165
166
|
return i.code = e, t && (i.location = t), i.domain = r, i;
|
|
166
167
|
}
|
|
167
|
-
function
|
|
168
|
+
function Zr(e) {
|
|
168
169
|
throw e;
|
|
169
170
|
}
|
|
170
|
-
const
|
|
171
|
-
`,
|
|
172
|
-
function
|
|
171
|
+
const zr = /<\/?[\w\s="/.':;#-\/]+>/, ea = (e) => zr.test(e), le = " ", ta = "\r", Q = `
|
|
172
|
+
`, na = "\u2028", ra = "\u2029";
|
|
173
|
+
function aa(e) {
|
|
173
174
|
const t = e;
|
|
174
175
|
let n = 0, r = 1, a = 1, s = 0;
|
|
175
|
-
const o = (g) => t[g] ===
|
|
176
|
+
const o = (g) => t[g] === ta && t[g + 1] === Q, i = (g) => t[g] === Q, c = (g) => t[g] === ra, E = (g) => t[g] === na, b = (g) => o(g) || i(g) || c(g) || E(g), L = () => n, N = () => r, C = () => a, F = () => s, v = (g) => o(g) || c(g) || E(g) ? Q : t[g], D = () => v(n), f = () => v(n + s);
|
|
176
177
|
function m() {
|
|
177
178
|
return s = 0, b(n) && (r++, a = 0), o(n) && n++, n++, a++, t[n];
|
|
178
179
|
}
|
|
@@ -206,9 +207,9 @@ function ra(e) {
|
|
|
206
207
|
skipToPeek: A
|
|
207
208
|
};
|
|
208
209
|
}
|
|
209
|
-
const _e = void 0,
|
|
210
|
-
function
|
|
211
|
-
const n = t.location !== !1, r =
|
|
210
|
+
const _e = void 0, sa = ".", an = "'", oa = "tokenizer";
|
|
211
|
+
function la(e, t = {}) {
|
|
212
|
+
const n = t.location !== !1, r = aa(e), a = () => r.index(), s = () => Jr(r.line(), r.column(), r.index()), o = s(), i = a(), c = {
|
|
212
213
|
currentType: 13,
|
|
213
214
|
offset: i,
|
|
214
215
|
startLoc: o,
|
|
@@ -225,7 +226,7 @@ function oa(e, t = {}) {
|
|
|
225
226
|
const W = E();
|
|
226
227
|
if (u.column += p, u.offset += p, b) {
|
|
227
228
|
const H = n ? At(W.startLoc, u) : null, w = ke(l, H, {
|
|
228
|
-
domain:
|
|
229
|
+
domain: oa,
|
|
229
230
|
args: S
|
|
230
231
|
});
|
|
231
232
|
b(w);
|
|
@@ -607,8 +608,8 @@ function oa(e, t = {}) {
|
|
|
607
608
|
context: E
|
|
608
609
|
};
|
|
609
610
|
}
|
|
610
|
-
const
|
|
611
|
-
function
|
|
611
|
+
const ia = "parser", ua = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
612
|
+
function ca(e, t, n) {
|
|
612
613
|
switch (e) {
|
|
613
614
|
case "\\\\":
|
|
614
615
|
return "\\";
|
|
@@ -621,13 +622,13 @@ function ua(e, t, n) {
|
|
|
621
622
|
}
|
|
622
623
|
}
|
|
623
624
|
}
|
|
624
|
-
function
|
|
625
|
+
function fa(e = {}) {
|
|
625
626
|
const t = e.location !== !1, { onError: n } = e;
|
|
626
627
|
function r(f, m, T, d, ...O) {
|
|
627
628
|
const A = f.currentPosition();
|
|
628
629
|
if (A.offset += d, A.column += d, n) {
|
|
629
630
|
const g = t ? At(T, A) : null, y = ke(m, g, {
|
|
630
|
-
domain:
|
|
631
|
+
domain: ia,
|
|
631
632
|
args: O
|
|
632
633
|
});
|
|
633
634
|
n(y);
|
|
@@ -654,7 +655,7 @@ function ca(e = {}) {
|
|
|
654
655
|
}
|
|
655
656
|
function E(f, m) {
|
|
656
657
|
const T = f.context(), { lastOffset: d, lastStartLoc: O } = T, A = a(9, d, O);
|
|
657
|
-
return A.value = m.replace(
|
|
658
|
+
return A.value = m.replace(ua, ca), f.nextToken(), s(A, f.currentOffset(), f.currentPosition()), A;
|
|
658
659
|
}
|
|
659
660
|
function b(f) {
|
|
660
661
|
const m = f.nextToken(), T = f.context(), { lastOffset: d, lastStartLoc: O } = T, A = a(8, d, O);
|
|
@@ -747,7 +748,7 @@ function ca(e = {}) {
|
|
|
747
748
|
return m.currentType === 13 ? O : F(f, T, d, O);
|
|
748
749
|
}
|
|
749
750
|
function D(f) {
|
|
750
|
-
const m =
|
|
751
|
+
const m = la(f, J({}, e)), T = m.context(), d = a(0, T.offset, T.startLoc);
|
|
751
752
|
return t && d.loc && (d.loc.source = f), d.body = v(m), e.onCacheKey && (d.cacheKey = e.onCacheKey(f)), T.currentType !== 13 && r(m, P.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, f[T.offset] || ""), s(d, m.currentOffset(), m.currentPosition()), d;
|
|
752
753
|
}
|
|
753
754
|
return { parse: D };
|
|
@@ -758,7 +759,7 @@ function ie(e) {
|
|
|
758
759
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
759
760
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
760
761
|
}
|
|
761
|
-
function
|
|
762
|
+
function _a(e, t = {}) {
|
|
762
763
|
const n = {
|
|
763
764
|
ast: e,
|
|
764
765
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -810,8 +811,8 @@ function Wt(e, t) {
|
|
|
810
811
|
break;
|
|
811
812
|
}
|
|
812
813
|
}
|
|
813
|
-
function
|
|
814
|
-
const n =
|
|
814
|
+
function ma(e, t = {}) {
|
|
815
|
+
const n = _a(e);
|
|
815
816
|
n.helper(
|
|
816
817
|
"normalize"
|
|
817
818
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -819,7 +820,7 @@ function _a(e, t = {}) {
|
|
|
819
820
|
const r = n.context();
|
|
820
821
|
e.helpers = Array.from(r.helpers);
|
|
821
822
|
}
|
|
822
|
-
function
|
|
823
|
+
function da(e) {
|
|
823
824
|
const t = e.body;
|
|
824
825
|
return t.type === 2 ? on(t) : t.cases.forEach((n) => on(n)), e;
|
|
825
826
|
}
|
|
@@ -844,7 +845,7 @@ function on(e) {
|
|
|
844
845
|
}
|
|
845
846
|
}
|
|
846
847
|
}
|
|
847
|
-
const
|
|
848
|
+
const Ea = "minifier";
|
|
848
849
|
function Ce(e) {
|
|
849
850
|
switch (e.t = e.type, e.type) {
|
|
850
851
|
case 0: {
|
|
@@ -892,14 +893,14 @@ function Ce(e) {
|
|
|
892
893
|
default:
|
|
893
894
|
if (process.env.NODE_ENV !== "production")
|
|
894
895
|
throw ke(P.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
895
|
-
domain:
|
|
896
|
+
domain: Ea,
|
|
896
897
|
args: [e.type]
|
|
897
898
|
});
|
|
898
899
|
}
|
|
899
900
|
delete e.type;
|
|
900
901
|
}
|
|
901
|
-
const
|
|
902
|
-
function
|
|
902
|
+
const ga = "parser";
|
|
903
|
+
function pa(e, t) {
|
|
903
904
|
const { filename: n, breakLineCode: r, needIndent: a } = t, s = t.location !== !1, o = {
|
|
904
905
|
filename: n,
|
|
905
906
|
code: "",
|
|
@@ -941,14 +942,14 @@ function ga(e, t) {
|
|
|
941
942
|
needIndent: () => o.needIndent
|
|
942
943
|
};
|
|
943
944
|
}
|
|
944
|
-
function
|
|
945
|
+
function Na(e, t) {
|
|
945
946
|
const { helper: n } = e;
|
|
946
947
|
e.push(`${n(
|
|
947
948
|
"linked"
|
|
948
949
|
/* HelperNameMap.LINKED */
|
|
949
950
|
)}(`), Pe(e, t.key), t.modifier ? (e.push(", "), Pe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
950
951
|
}
|
|
951
|
-
function
|
|
952
|
+
function ha(e, t) {
|
|
952
953
|
const { helper: n, needIndent: r } = e;
|
|
953
954
|
e.push(`${n(
|
|
954
955
|
"normalize"
|
|
@@ -959,7 +960,7 @@ function Na(e, t) {
|
|
|
959
960
|
e.push(", ");
|
|
960
961
|
e.deindent(r()), e.push("])");
|
|
961
962
|
}
|
|
962
|
-
function
|
|
963
|
+
function La(e, t) {
|
|
963
964
|
const { helper: n, needIndent: r } = e;
|
|
964
965
|
if (t.cases.length > 1) {
|
|
965
966
|
e.push(`${n(
|
|
@@ -972,23 +973,23 @@ function ha(e, t) {
|
|
|
972
973
|
e.deindent(r()), e.push("])");
|
|
973
974
|
}
|
|
974
975
|
}
|
|
975
|
-
function
|
|
976
|
+
function Ta(e, t) {
|
|
976
977
|
t.body ? Pe(e, t.body) : e.push("null");
|
|
977
978
|
}
|
|
978
979
|
function Pe(e, t) {
|
|
979
980
|
const { helper: n } = e;
|
|
980
981
|
switch (t.type) {
|
|
981
982
|
case 0:
|
|
982
|
-
|
|
983
|
+
Ta(e, t);
|
|
983
984
|
break;
|
|
984
985
|
case 1:
|
|
985
|
-
|
|
986
|
+
La(e, t);
|
|
986
987
|
break;
|
|
987
988
|
case 2:
|
|
988
|
-
|
|
989
|
+
ha(e, t);
|
|
989
990
|
break;
|
|
990
991
|
case 6:
|
|
991
|
-
|
|
992
|
+
Na(e, t);
|
|
992
993
|
break;
|
|
993
994
|
case 8:
|
|
994
995
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -1023,16 +1024,16 @@ function Pe(e, t) {
|
|
|
1023
1024
|
default:
|
|
1024
1025
|
if (process.env.NODE_ENV !== "production")
|
|
1025
1026
|
throw ke(P.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
1026
|
-
domain:
|
|
1027
|
+
domain: ga,
|
|
1027
1028
|
args: [t.type]
|
|
1028
1029
|
});
|
|
1029
1030
|
}
|
|
1030
1031
|
}
|
|
1031
|
-
const
|
|
1032
|
+
const ba = (e, t = {}) => {
|
|
1032
1033
|
const n = I(t.mode) ? t.mode : "normal", r = I(t.filename) ? t.filename : "message.intl";
|
|
1033
1034
|
t.sourceMap;
|
|
1034
1035
|
const a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
1035
|
-
`, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i =
|
|
1036
|
+
`, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = pa(e, {
|
|
1036
1037
|
filename: r,
|
|
1037
1038
|
breakLineCode: a,
|
|
1038
1039
|
needIndent: s
|
|
@@ -1046,30 +1047,30 @@ const Ta = (e, t = {}) => {
|
|
|
1046
1047
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1047
1048
|
};
|
|
1048
1049
|
};
|
|
1049
|
-
function
|
|
1050
|
-
const n = J({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, i =
|
|
1051
|
-
return r ? (s &&
|
|
1050
|
+
function Ia(e, t = {}) {
|
|
1051
|
+
const n = J({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, i = fa(n).parse(e);
|
|
1052
|
+
return r ? (s && da(i), a && Ce(i), { ast: i, code: "" }) : (ma(i, n), ba(i, n));
|
|
1052
1053
|
}
|
|
1053
|
-
function
|
|
1054
|
+
function Oa() {
|
|
1054
1055
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
1055
1056
|
}
|
|
1056
1057
|
function re(e) {
|
|
1057
1058
|
return R(e) && Gt(e) === 0 && (se(e, "b") || se(e, "body"));
|
|
1058
1059
|
}
|
|
1059
1060
|
const $n = ["b", "body"];
|
|
1060
|
-
function
|
|
1061
|
+
function Aa(e) {
|
|
1061
1062
|
return de(e, $n);
|
|
1062
1063
|
}
|
|
1063
1064
|
const Bn = ["c", "cases"];
|
|
1064
|
-
function
|
|
1065
|
+
function va(e) {
|
|
1065
1066
|
return de(e, Bn, []);
|
|
1066
1067
|
}
|
|
1067
1068
|
const xn = ["s", "static"];
|
|
1068
|
-
function
|
|
1069
|
+
function Ca(e) {
|
|
1069
1070
|
return de(e, xn);
|
|
1070
1071
|
}
|
|
1071
1072
|
const Wn = ["i", "items"];
|
|
1072
|
-
function
|
|
1073
|
+
function Da(e) {
|
|
1073
1074
|
return de(e, Wn, []);
|
|
1074
1075
|
}
|
|
1075
1076
|
const Gn = ["t", "type"];
|
|
@@ -1084,11 +1085,11 @@ function Je(e, t) {
|
|
|
1084
1085
|
throw $e(t);
|
|
1085
1086
|
}
|
|
1086
1087
|
const Hn = ["m", "modifier"];
|
|
1087
|
-
function
|
|
1088
|
+
function Sa(e) {
|
|
1088
1089
|
return de(e, Hn);
|
|
1089
1090
|
}
|
|
1090
1091
|
const Kn = ["k", "key"];
|
|
1091
|
-
function
|
|
1092
|
+
function Pa(e) {
|
|
1092
1093
|
const t = de(e, Kn);
|
|
1093
1094
|
if (t)
|
|
1094
1095
|
return t;
|
|
@@ -1119,17 +1120,17 @@ function $e(e) {
|
|
|
1119
1120
|
return new Error(`unhandled node type: ${e}`);
|
|
1120
1121
|
}
|
|
1121
1122
|
function Lt(e) {
|
|
1122
|
-
return (n) =>
|
|
1123
|
+
return (n) => Fa(n, e);
|
|
1123
1124
|
}
|
|
1124
|
-
function
|
|
1125
|
-
const n =
|
|
1125
|
+
function Fa(e, t) {
|
|
1126
|
+
const n = Aa(t);
|
|
1126
1127
|
if (n == null)
|
|
1127
1128
|
throw $e(
|
|
1128
1129
|
0
|
|
1129
1130
|
/* NodeTypes.Resource */
|
|
1130
1131
|
);
|
|
1131
1132
|
if (Gt(n) === 1) {
|
|
1132
|
-
const s =
|
|
1133
|
+
const s = va(n);
|
|
1133
1134
|
return e.plural(s.reduce((o, i) => [
|
|
1134
1135
|
...o,
|
|
1135
1136
|
ln(e, i)
|
|
@@ -1138,11 +1139,11 @@ function Pa(e, t) {
|
|
|
1138
1139
|
return ln(e, n);
|
|
1139
1140
|
}
|
|
1140
1141
|
function ln(e, t) {
|
|
1141
|
-
const n =
|
|
1142
|
+
const n = Ca(t);
|
|
1142
1143
|
if (n != null)
|
|
1143
1144
|
return e.type === "text" ? n : e.normalize([n]);
|
|
1144
1145
|
{
|
|
1145
|
-
const r =
|
|
1146
|
+
const r = Da(t).reduce((a, s) => [...a, vt(e, s)], []);
|
|
1146
1147
|
return e.normalize(r);
|
|
1147
1148
|
}
|
|
1148
1149
|
}
|
|
@@ -1170,7 +1171,7 @@ function vt(e, t) {
|
|
|
1170
1171
|
throw $e(n);
|
|
1171
1172
|
}
|
|
1172
1173
|
case 6: {
|
|
1173
|
-
const r = t, a =
|
|
1174
|
+
const r = t, a = Sa(r), s = Pa(r);
|
|
1174
1175
|
return e.linked(vt(e, s), a ? vt(e, a) : void 0, e.type);
|
|
1175
1176
|
}
|
|
1176
1177
|
case 7:
|
|
@@ -1181,28 +1182,28 @@ function vt(e, t) {
|
|
|
1181
1182
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1182
1183
|
}
|
|
1183
1184
|
}
|
|
1184
|
-
const
|
|
1185
|
-
function
|
|
1186
|
-
t &&
|
|
1185
|
+
const ya = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
1186
|
+
function ka(e, t) {
|
|
1187
|
+
t && ea(e) && ue(et(ya, { source: e }));
|
|
1187
1188
|
}
|
|
1188
|
-
const
|
|
1189
|
+
const Ra = (e) => e;
|
|
1189
1190
|
let Qe = $();
|
|
1190
|
-
function
|
|
1191
|
+
function Ma(e, t = {}) {
|
|
1191
1192
|
let n = !1;
|
|
1192
|
-
const r = t.onError ||
|
|
1193
|
+
const r = t.onError || Zr;
|
|
1193
1194
|
return t.onError = (a) => {
|
|
1194
1195
|
n = !0, r(a);
|
|
1195
|
-
}, { ...
|
|
1196
|
+
}, { ...Ia(e, t), detectError: n };
|
|
1196
1197
|
}
|
|
1197
1198
|
// @__NO_SIDE_EFFECTS__
|
|
1198
|
-
function
|
|
1199
|
+
function wa(e, t) {
|
|
1199
1200
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
|
|
1200
1201
|
const n = M(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
1201
|
-
process.env.NODE_ENV !== "production" &&
|
|
1202
|
-
const a = (t.onCacheKey ||
|
|
1202
|
+
process.env.NODE_ENV !== "production" && ka(e, n);
|
|
1203
|
+
const a = (t.onCacheKey || Ra)(e), s = Qe[a];
|
|
1203
1204
|
if (s)
|
|
1204
1205
|
return s;
|
|
1205
|
-
const { ast: o, detectError: i } =
|
|
1206
|
+
const { ast: o, detectError: i } = Ma(e, {
|
|
1206
1207
|
...t,
|
|
1207
1208
|
location: process.env.NODE_ENV !== "production",
|
|
1208
1209
|
jit: !0
|
|
@@ -1220,10 +1221,10 @@ function Ma(e, t) {
|
|
|
1220
1221
|
}
|
|
1221
1222
|
}
|
|
1222
1223
|
let Be = null;
|
|
1223
|
-
function
|
|
1224
|
+
function Ua(e) {
|
|
1224
1225
|
Be = e;
|
|
1225
1226
|
}
|
|
1226
|
-
function
|
|
1227
|
+
function Va(e, t, n) {
|
|
1227
1228
|
Be && Be.emit("i18n:init", {
|
|
1228
1229
|
timestamp: Date.now(),
|
|
1229
1230
|
i18n: e,
|
|
@@ -1231,12 +1232,12 @@ function Ua(e, t, n) {
|
|
|
1231
1232
|
meta: n
|
|
1232
1233
|
});
|
|
1233
1234
|
}
|
|
1234
|
-
const
|
|
1235
|
-
function
|
|
1235
|
+
const $a = /* @__PURE__ */ Ba("function:translate");
|
|
1236
|
+
function Ba(e) {
|
|
1236
1237
|
return (t) => Be && Be.emit(e, t);
|
|
1237
1238
|
}
|
|
1238
1239
|
const q = {
|
|
1239
|
-
INVALID_ARGUMENT:
|
|
1240
|
+
INVALID_ARGUMENT: Qr,
|
|
1240
1241
|
// 17
|
|
1241
1242
|
INVALID_DATE_ARGUMENT: 18,
|
|
1242
1243
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1244,11 +1245,11 @@ const q = {
|
|
|
1244
1245
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1245
1246
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1246
1247
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1247
|
-
},
|
|
1248
|
+
}, xa = 24;
|
|
1248
1249
|
function me(e) {
|
|
1249
|
-
return ke(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
1250
|
+
return ke(e, null, process.env.NODE_ENV !== "production" ? { messages: Wa } : void 0);
|
|
1250
1251
|
}
|
|
1251
|
-
const
|
|
1252
|
+
const Wa = {
|
|
1252
1253
|
[q.INVALID_ARGUMENT]: "Invalid arguments",
|
|
1253
1254
|
[q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
1254
1255
|
[q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
@@ -1269,7 +1270,7 @@ function un(e) {
|
|
|
1269
1270
|
return Tt;
|
|
1270
1271
|
if (e.constructor.name === "Function") {
|
|
1271
1272
|
const t = e();
|
|
1272
|
-
if (
|
|
1273
|
+
if (Kr(t))
|
|
1273
1274
|
throw me(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1274
1275
|
return Tt = t;
|
|
1275
1276
|
} else
|
|
@@ -1277,7 +1278,7 @@ function un(e) {
|
|
|
1277
1278
|
} else
|
|
1278
1279
|
throw me(q.NOT_SUPPORT_LOCALE_TYPE);
|
|
1279
1280
|
}
|
|
1280
|
-
function
|
|
1281
|
+
function Ga(e, t, n) {
|
|
1281
1282
|
return [.../* @__PURE__ */ new Set([
|
|
1282
1283
|
n,
|
|
1283
1284
|
...G(t) ? t : R(t) ? Object.keys(t) : I(t) ? [t] : [n]
|
|
@@ -1301,20 +1302,20 @@ function cn(e, t, n) {
|
|
|
1301
1302
|
let r = !0;
|
|
1302
1303
|
for (let a = 0; a < t.length && M(r); a++) {
|
|
1303
1304
|
const s = t[a];
|
|
1304
|
-
I(s) && (r =
|
|
1305
|
+
I(s) && (r = Ya(e, t[a], n));
|
|
1305
1306
|
}
|
|
1306
1307
|
return r;
|
|
1307
1308
|
}
|
|
1308
|
-
function
|
|
1309
|
+
function Ya(e, t, n) {
|
|
1309
1310
|
let r;
|
|
1310
1311
|
const a = t.split("-");
|
|
1311
1312
|
do {
|
|
1312
1313
|
const s = a.join("-");
|
|
1313
|
-
r =
|
|
1314
|
+
r = Ha(e, s, n), a.splice(-1, 1);
|
|
1314
1315
|
} while (a.length && r === !0);
|
|
1315
1316
|
return r;
|
|
1316
1317
|
}
|
|
1317
|
-
function
|
|
1318
|
+
function Ha(e, t, n) {
|
|
1318
1319
|
let r = !1;
|
|
1319
1320
|
if (!e.includes(t) && (r = !0, t)) {
|
|
1320
1321
|
r = t[t.length - 1] !== "!";
|
|
@@ -1484,15 +1485,15 @@ Ee[
|
|
|
1484
1485
|
/* Actions.APPEND */
|
|
1485
1486
|
]
|
|
1486
1487
|
};
|
|
1487
|
-
const
|
|
1488
|
-
function Ka(e) {
|
|
1489
|
-
return Ha.test(e);
|
|
1490
|
-
}
|
|
1488
|
+
const Ka = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1491
1489
|
function ja(e) {
|
|
1490
|
+
return Ka.test(e);
|
|
1491
|
+
}
|
|
1492
|
+
function Xa(e) {
|
|
1492
1493
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1493
1494
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1494
1495
|
}
|
|
1495
|
-
function
|
|
1496
|
+
function Ja(e) {
|
|
1496
1497
|
if (e == null)
|
|
1497
1498
|
return "o";
|
|
1498
1499
|
switch (e.charCodeAt(0)) {
|
|
@@ -1529,11 +1530,11 @@ function Xa(e) {
|
|
|
1529
1530
|
}
|
|
1530
1531
|
return "i";
|
|
1531
1532
|
}
|
|
1532
|
-
function
|
|
1533
|
+
function Qa(e) {
|
|
1533
1534
|
const t = e.trim();
|
|
1534
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1535
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ja(t) ? Xa(t) : "*" + t;
|
|
1535
1536
|
}
|
|
1536
|
-
function
|
|
1537
|
+
function qa(e) {
|
|
1537
1538
|
const t = [];
|
|
1538
1539
|
let n = -1, r = 0, a = 0, s, o, i, c, E, b, L;
|
|
1539
1540
|
const N = [];
|
|
@@ -1565,7 +1566,7 @@ function Qa(e) {
|
|
|
1565
1566
|
/* Actions.APPEND */
|
|
1566
1567
|
]();
|
|
1567
1568
|
else {
|
|
1568
|
-
if (a = 0, o === void 0 || (o =
|
|
1569
|
+
if (a = 0, o === void 0 || (o = Qa(o), o === !1))
|
|
1569
1570
|
return !1;
|
|
1570
1571
|
N[
|
|
1571
1572
|
1
|
|
@@ -1583,21 +1584,21 @@ function Qa(e) {
|
|
|
1583
1584
|
}
|
|
1584
1585
|
for (; r !== null; )
|
|
1585
1586
|
if (n++, s = e[n], !(s === "\\" && C())) {
|
|
1586
|
-
if (c =
|
|
1587
|
+
if (c = Ja(s), L = Ee[r], E = L[c] || L.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (b = N[E[1]], b && (i = s, b() === !1))))
|
|
1587
1588
|
return;
|
|
1588
1589
|
if (r === 7)
|
|
1589
1590
|
return t;
|
|
1590
1591
|
}
|
|
1591
1592
|
}
|
|
1592
1593
|
const fn = /* @__PURE__ */ new Map();
|
|
1593
|
-
function
|
|
1594
|
+
function Za(e, t) {
|
|
1594
1595
|
return R(e) ? e[t] : null;
|
|
1595
1596
|
}
|
|
1596
|
-
function
|
|
1597
|
+
function za(e, t) {
|
|
1597
1598
|
if (!R(e))
|
|
1598
1599
|
return null;
|
|
1599
1600
|
let n = fn.get(t);
|
|
1600
|
-
if (n || (n =
|
|
1601
|
+
if (n || (n = qa(t), n && fn.set(t, n)), !n)
|
|
1601
1602
|
return null;
|
|
1602
1603
|
const r = n.length;
|
|
1603
1604
|
let a = e, s = 0;
|
|
@@ -1620,7 +1621,7 @@ const Z = {
|
|
|
1620
1621
|
CANNOT_FORMAT_DATE: 5,
|
|
1621
1622
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
1622
1623
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
1623
|
-
},
|
|
1624
|
+
}, es = 8, ts = {
|
|
1624
1625
|
[Z.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
1625
1626
|
[Z.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
1626
1627
|
[Z.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -1630,10 +1631,10 @@ const Z = {
|
|
|
1630
1631
|
[Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
1631
1632
|
};
|
|
1632
1633
|
function be(e, ...t) {
|
|
1633
|
-
return et(
|
|
1634
|
+
return et(ts[e], ...t);
|
|
1634
1635
|
}
|
|
1635
|
-
const
|
|
1636
|
-
function
|
|
1636
|
+
const ns = "11.2.7", nt = -1, xe = "en-US", ze = "", _n = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1637
|
+
function rs() {
|
|
1637
1638
|
return {
|
|
1638
1639
|
upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1639
1640
|
lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1641,30 +1642,30 @@ function ns() {
|
|
|
1641
1642
|
};
|
|
1642
1643
|
}
|
|
1643
1644
|
let Jn;
|
|
1644
|
-
function
|
|
1645
|
+
function as(e) {
|
|
1645
1646
|
Jn = e;
|
|
1646
1647
|
}
|
|
1647
1648
|
let Qn;
|
|
1648
|
-
function
|
|
1649
|
+
function ss(e) {
|
|
1649
1650
|
Qn = e;
|
|
1650
1651
|
}
|
|
1651
1652
|
let qn;
|
|
1652
|
-
function
|
|
1653
|
+
function os(e) {
|
|
1653
1654
|
qn = e;
|
|
1654
1655
|
}
|
|
1655
1656
|
let Zn = null;
|
|
1656
|
-
const
|
|
1657
|
+
const ls = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1657
1658
|
Zn = e;
|
|
1658
|
-
},
|
|
1659
|
+
}, is = /* @__NO_SIDE_EFFECTS__ */ () => Zn;
|
|
1659
1660
|
let zn = null;
|
|
1660
1661
|
const mn = (e) => {
|
|
1661
1662
|
zn = e;
|
|
1662
|
-
},
|
|
1663
|
+
}, us = () => zn;
|
|
1663
1664
|
let dn = 0;
|
|
1664
|
-
function
|
|
1665
|
-
const t = B(e.onWarn) ? e.onWarn : ue, n = I(e.version) ? e.version :
|
|
1665
|
+
function cs(e = {}) {
|
|
1666
|
+
const t = B(e.onWarn) ? e.onWarn : ue, n = I(e.version) ? e.version : ns, r = I(e.locale) || B(e.locale) ? e.locale : xe, a = B(r) ? xe : r, s = G(e.fallbackLocale) || k(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = k(e.messages) ? e.messages : bt(a), i = k(e.datetimeFormats) ? e.datetimeFormats : bt(a), c = k(e.numberFormats) ? e.numberFormats : bt(a), E = J($(), e.modifiers, rs()), b = e.pluralRules || $(), L = B(e.missing) ? e.missing : null, N = M(e.missingWarn) || Se(e.missingWarn) ? e.missingWarn : !0, C = M(e.fallbackWarn) || Se(e.fallbackWarn) ? e.fallbackWarn : !0, F = !!e.fallbackFormat, v = !!e.unresolving, D = B(e.postTranslation) ? e.postTranslation : null, f = k(e.processor) ? e.processor : null, m = M(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, d = B(e.messageCompiler) ? e.messageCompiler : Jn;
|
|
1666
1667
|
process.env.NODE_ENV !== "production" && B(e.messageCompiler) && Vt(be(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1667
|
-
const O = B(e.messageResolver) ? e.messageResolver : Qn ||
|
|
1668
|
+
const O = B(e.messageResolver) ? e.messageResolver : Qn || Za, A = B(e.localeFallbacker) ? e.localeFallbacker : qn || Ga, g = R(e.fallbackContext) ? e.fallbackContext : void 0, y = e, U = R(y.__datetimeFormatters) ? y.__datetimeFormatters : /* @__PURE__ */ new Map(), X = R(y.__numberFormatters) ? y.__numberFormatters : /* @__PURE__ */ new Map(), ae = R(y.__meta) ? y.__meta : {};
|
|
1668
1669
|
dn++;
|
|
1669
1670
|
const Y = {
|
|
1670
1671
|
version: n,
|
|
@@ -1690,7 +1691,7 @@ function us(e = {}) {
|
|
|
1690
1691
|
onWarn: t,
|
|
1691
1692
|
__meta: ae
|
|
1692
1693
|
};
|
|
1693
|
-
return Y.datetimeFormats = i, Y.numberFormats = c, Y.__datetimeFormatters = U, Y.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Y.__v_emitter = y.__v_emitter != null ? y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
1694
|
+
return Y.datetimeFormats = i, Y.numberFormats = c, Y.__datetimeFormatters = U, Y.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Y.__v_emitter = y.__v_emitter != null ? y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Va(Y, n, ae), Y;
|
|
1694
1695
|
}
|
|
1695
1696
|
const bt = (e) => ({ [e]: $() });
|
|
1696
1697
|
function rt(e, t) {
|
|
@@ -1723,7 +1724,7 @@ function Ve(e, t, n) {
|
|
|
1723
1724
|
function tr(e, t) {
|
|
1724
1725
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1725
1726
|
}
|
|
1726
|
-
function
|
|
1727
|
+
function fs(e, t) {
|
|
1727
1728
|
const n = t.indexOf(e);
|
|
1728
1729
|
if (n === -1)
|
|
1729
1730
|
return !1;
|
|
@@ -1811,7 +1812,7 @@ function Ct(...e) {
|
|
|
1811
1812
|
} catch {
|
|
1812
1813
|
throw me(q.INVALID_ISO_DATE_ARGUMENT);
|
|
1813
1814
|
}
|
|
1814
|
-
} else if (
|
|
1815
|
+
} else if (Wr(t)) {
|
|
1815
1816
|
if (isNaN(t.getTime()))
|
|
1816
1817
|
throw me(q.INVALID_DATE_ARGUMENT);
|
|
1817
1818
|
i = t;
|
|
@@ -1908,26 +1909,26 @@ function hn(e, t, n) {
|
|
|
1908
1909
|
r.__numberFormatters.has(s) && r.__numberFormatters.delete(s);
|
|
1909
1910
|
}
|
|
1910
1911
|
}
|
|
1911
|
-
const
|
|
1912
|
+
const _s = (e) => e, ms = (e) => "", ds = "text", Es = (e) => e.length === 0 ? "" : Bt(e), gs = jr;
|
|
1912
1913
|
function Ln(e, t) {
|
|
1913
1914
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1914
1915
|
}
|
|
1915
|
-
function
|
|
1916
|
+
function ps(e) {
|
|
1916
1917
|
const t = j(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1917
1918
|
return e.named && (j(e.named.count) || j(e.named.n)) ? j(e.named.count) ? e.named.count : j(e.named.n) ? e.named.n : t : t;
|
|
1918
1919
|
}
|
|
1919
|
-
function
|
|
1920
|
+
function Ns(e, t) {
|
|
1920
1921
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1921
1922
|
}
|
|
1922
|
-
function
|
|
1923
|
-
const t = e.locale, n =
|
|
1924
|
-
j(e.pluralIndex) &&
|
|
1923
|
+
function hs(e = {}) {
|
|
1924
|
+
const t = e.locale, n = ps(e), r = R(e.pluralRules) && I(t) && B(e.pluralRules[t]) ? e.pluralRules[t] : Ln, a = R(e.pluralRules) && I(t) && B(e.pluralRules[t]) ? Ln : void 0, s = (f) => f[r(n, f.length, a)], o = e.list || [], i = (f) => o[f], c = e.named || $();
|
|
1925
|
+
j(e.pluralIndex) && Ns(n, c);
|
|
1925
1926
|
const E = (f) => c[f];
|
|
1926
1927
|
function b(f, m) {
|
|
1927
1928
|
const T = B(e.messages) ? e.messages(f, !!m) : R(e.messages) ? e.messages[f] : !1;
|
|
1928
|
-
return T || (e.parent ? e.parent.message(f) :
|
|
1929
|
+
return T || (e.parent ? e.parent.message(f) : ms);
|
|
1929
1930
|
}
|
|
1930
|
-
const L = (f) => e.modifiers ? e.modifiers[f] :
|
|
1931
|
+
const L = (f) => e.modifiers ? e.modifiers[f] : _s, N = k(e.processor) && B(e.processor.normalize) ? e.processor.normalize : Es, C = k(e.processor) && B(e.processor.interpolate) ? e.processor.interpolate : gs, F = k(e.processor) && I(e.processor.type) ? e.processor.type : ds, D = {
|
|
1931
1932
|
list: i,
|
|
1932
1933
|
named: E,
|
|
1933
1934
|
plural: s,
|
|
@@ -1952,7 +1953,7 @@ function Ns(e = {}) {
|
|
|
1952
1953
|
const Tn = () => "", te = (e) => B(e);
|
|
1953
1954
|
function bn(e, ...t) {
|
|
1954
1955
|
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: o, messages: i } = e, [c, E] = St(...t), b = M(E.missingWarn) ? E.missingWarn : e.missingWarn, L = M(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, N = M(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, C = !!E.resolvedMessage, F = I(E.default) || M(E.default) ? M(E.default) ? s ? c : () => c : E.default : n ? s ? c : () => c : null, v = n || F != null && (I(F) || B(F)), D = Yt(e, E);
|
|
1955
|
-
N &&
|
|
1956
|
+
N && Ls(E);
|
|
1956
1957
|
let [f, m, T] = C ? [
|
|
1957
1958
|
c,
|
|
1958
1959
|
D,
|
|
@@ -1968,9 +1969,9 @@ function bn(e, ...t) {
|
|
|
1968
1969
|
}, y = te(d) ? d : or(e, c, m, d, O, g);
|
|
1969
1970
|
if (A)
|
|
1970
1971
|
return d;
|
|
1971
|
-
const U =
|
|
1972
|
+
const U = Os(e, m, T, E), X = hs(U), ae = Ts(e, y, X);
|
|
1972
1973
|
let Y = r ? r(ae, c) : ae;
|
|
1973
|
-
if (N && I(Y) && (Y =
|
|
1974
|
+
if (N && I(Y) && (Y = Yr(Y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1974
1975
|
const Oe = {
|
|
1975
1976
|
timestamp: Date.now(),
|
|
1976
1977
|
key: I(c) ? c : te(d) ? d.key : "",
|
|
@@ -1978,11 +1979,11 @@ function bn(e, ...t) {
|
|
|
1978
1979
|
format: I(d) ? d : te(d) ? d.source : "",
|
|
1979
1980
|
message: Y
|
|
1980
1981
|
};
|
|
1981
|
-
Oe.meta = J({}, e.__meta, /* @__PURE__ */
|
|
1982
|
+
Oe.meta = J({}, e.__meta, /* @__PURE__ */ is() || {}), $a(Oe);
|
|
1982
1983
|
}
|
|
1983
1984
|
return Y;
|
|
1984
1985
|
}
|
|
1985
|
-
function
|
|
1986
|
+
function Ls(e) {
|
|
1986
1987
|
G(e.list) ? e.list = e.list.map((t) => I(t) ? tn(t) : t) : R(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1987
1988
|
I(e.named[t]) && (e.named[t] = tn(e.named[t]));
|
|
1988
1989
|
});
|
|
@@ -2019,7 +2020,7 @@ function sr(e, t, n, r, a, s) {
|
|
|
2019
2020
|
}
|
|
2020
2021
|
if (I(C) || re(C) || te(C))
|
|
2021
2022
|
break;
|
|
2022
|
-
if (!
|
|
2023
|
+
if (!fs(N, b)) {
|
|
2023
2024
|
const O = Ht(
|
|
2024
2025
|
e,
|
|
2025
2026
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -2046,7 +2047,7 @@ function or(e, t, n, r, a, s) {
|
|
|
2046
2047
|
}
|
|
2047
2048
|
let c = null, E, b;
|
|
2048
2049
|
process.env.NODE_ENV !== "production" && oe && (c = window.performance.now(), E = "intlify-message-compilation-start", b = "intlify-message-compilation-end", ee && ee(E));
|
|
2049
|
-
const L = o(r,
|
|
2050
|
+
const L = o(r, bs(e, n, a, r, i, s));
|
|
2050
2051
|
if (process.env.NODE_ENV !== "production" && oe) {
|
|
2051
2052
|
const N = window.performance.now(), C = e.__v_emitter;
|
|
2052
2053
|
C && c && C.emit("message-compilation", {
|
|
@@ -2058,7 +2059,7 @@ function or(e, t, n, r, a, s) {
|
|
|
2058
2059
|
}
|
|
2059
2060
|
return L.locale = n, L.key = t, L.source = r, L;
|
|
2060
2061
|
}
|
|
2061
|
-
function
|
|
2062
|
+
function Ts(e, t, n) {
|
|
2062
2063
|
let r = null, a, s;
|
|
2063
2064
|
process.env.NODE_ENV !== "production" && oe && (r = window.performance.now(), a = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", ee && ee(a));
|
|
2064
2065
|
const o = t(n);
|
|
@@ -2080,14 +2081,14 @@ function St(...e) {
|
|
|
2080
2081
|
const s = j(t) ? String(t) : (te(t), t);
|
|
2081
2082
|
return j(n) ? a.plural = n : I(n) ? a.default = n : k(n) && !tt(n) ? a.named = n : G(n) && (a.list = n), j(r) ? a.plural = r : I(r) ? a.default = r : k(r) && J(a, r), [s, a];
|
|
2082
2083
|
}
|
|
2083
|
-
function
|
|
2084
|
+
function bs(e, t, n, r, a, s) {
|
|
2084
2085
|
return {
|
|
2085
2086
|
locale: t,
|
|
2086
2087
|
key: n,
|
|
2087
2088
|
warnHtmlMessage: a,
|
|
2088
2089
|
onError: (o) => {
|
|
2089
2090
|
if (s && s(o), process.env.NODE_ENV !== "production") {
|
|
2090
|
-
const i =
|
|
2091
|
+
const i = Is(r), c = `Message compilation error: ${o.message}`, E = o.location && i && Xr(i, o.location.start.offset, o.location.end.offset), b = e.__v_emitter;
|
|
2091
2092
|
b && i && b.emit("compile-error", {
|
|
2092
2093
|
message: i,
|
|
2093
2094
|
error: o.message,
|
|
@@ -2099,16 +2100,16 @@ ${E}` : c);
|
|
|
2099
2100
|
} else
|
|
2100
2101
|
throw o;
|
|
2101
2102
|
},
|
|
2102
|
-
onCacheKey: (o) =>
|
|
2103
|
+
onCacheKey: (o) => Br(t, n, o)
|
|
2103
2104
|
};
|
|
2104
2105
|
}
|
|
2105
|
-
function
|
|
2106
|
+
function Is(e) {
|
|
2106
2107
|
if (I(e))
|
|
2107
2108
|
return e;
|
|
2108
2109
|
if (e.loc && e.loc.source)
|
|
2109
2110
|
return e.loc.source;
|
|
2110
2111
|
}
|
|
2111
|
-
function
|
|
2112
|
+
function Os(e, t, n, r) {
|
|
2112
2113
|
const { modifiers: a, pluralRules: s, messageResolver: o, fallbackLocale: i, fallbackWarn: c, missingWarn: E, fallbackContext: b } = e, N = {
|
|
2113
2114
|
locale: t,
|
|
2114
2115
|
modifiers: a,
|
|
@@ -2138,23 +2139,23 @@ function Is(e, t, n, r) {
|
|
|
2138
2139
|
};
|
|
2139
2140
|
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), j(r.plural) && (N.pluralIndex = r.plural), N;
|
|
2140
2141
|
}
|
|
2141
|
-
|
|
2142
|
-
function
|
|
2142
|
+
Oa();
|
|
2143
|
+
function As() {
|
|
2143
2144
|
return lr().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
2144
2145
|
}
|
|
2145
2146
|
function lr() {
|
|
2146
2147
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
2147
2148
|
}
|
|
2148
|
-
const
|
|
2149
|
+
const vs = typeof Proxy == "function", Cs = "devtools-plugin:setup", Ds = "plugin:settings:set";
|
|
2149
2150
|
let ve, Pt;
|
|
2150
|
-
function
|
|
2151
|
+
function Ss() {
|
|
2151
2152
|
var e;
|
|
2152
2153
|
return ve !== void 0 || (typeof window < "u" && window.performance ? (ve = !0, Pt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (ve = !0, Pt = globalThis.perf_hooks.performance) : ve = !1), ve;
|
|
2153
2154
|
}
|
|
2154
|
-
function
|
|
2155
|
-
return
|
|
2155
|
+
function Ps() {
|
|
2156
|
+
return Ss() ? Pt.now() : Date.now();
|
|
2156
2157
|
}
|
|
2157
|
-
class
|
|
2158
|
+
class Fs {
|
|
2158
2159
|
constructor(t, n) {
|
|
2159
2160
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
|
|
2160
2161
|
const r = {};
|
|
@@ -2182,9 +2183,9 @@ class Ps {
|
|
|
2182
2183
|
s = o;
|
|
2183
2184
|
},
|
|
2184
2185
|
now() {
|
|
2185
|
-
return
|
|
2186
|
+
return Ps();
|
|
2186
2187
|
}
|
|
2187
|
-
}, n && n.on(
|
|
2188
|
+
}, n && n.on(Ds, (o, i) => {
|
|
2188
2189
|
o === this.plugin.id && this.fallbacks.setSettings(i);
|
|
2189
2190
|
}), this.proxiedOn = new Proxy({}, {
|
|
2190
2191
|
get: (o, i) => this.target ? this.target.on[i] : (...c) => {
|
|
@@ -2216,12 +2217,12 @@ class Ps {
|
|
|
2216
2217
|
n.resolve(await this.target[n.method](...n.args));
|
|
2217
2218
|
}
|
|
2218
2219
|
}
|
|
2219
|
-
function
|
|
2220
|
-
const n = e, r = lr(), a =
|
|
2220
|
+
function ys(e, t) {
|
|
2221
|
+
const n = e, r = lr(), a = As(), s = vs && n.enableEarlyProxy;
|
|
2221
2222
|
if (a && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !s))
|
|
2222
|
-
a.emit(
|
|
2223
|
+
a.emit(Cs, e, t);
|
|
2223
2224
|
else {
|
|
2224
|
-
const o = s ? new
|
|
2225
|
+
const o = s ? new Fs(n, a) : null;
|
|
2225
2226
|
(r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
2226
2227
|
pluginDescriptor: n,
|
|
2227
2228
|
setupFn: t,
|
|
@@ -2229,13 +2230,13 @@ function Fs(e, t) {
|
|
|
2229
2230
|
}), o && t(o.proxiedTarget);
|
|
2230
2231
|
}
|
|
2231
2232
|
}
|
|
2232
|
-
const
|
|
2233
|
-
function
|
|
2233
|
+
const ks = "11.2.7";
|
|
2234
|
+
function Rs() {
|
|
2234
2235
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Le().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Le().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
2235
2236
|
}
|
|
2236
2237
|
const x = {
|
|
2237
2238
|
// composer module errors
|
|
2238
|
-
UNEXPECTED_RETURN_TYPE:
|
|
2239
|
+
UNEXPECTED_RETURN_TYPE: xa,
|
|
2239
2240
|
// 24
|
|
2240
2241
|
// legacy module errors
|
|
2241
2242
|
INVALID_ARGUMENT: 25,
|
|
@@ -2256,9 +2257,9 @@ const x = {
|
|
|
2256
2257
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
2257
2258
|
};
|
|
2258
2259
|
function z(e, ...t) {
|
|
2259
|
-
return ke(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
2260
|
+
return ke(e, null, process.env.NODE_ENV !== "production" ? { messages: Ms, args: t } : void 0);
|
|
2260
2261
|
}
|
|
2261
|
-
const
|
|
2262
|
+
const Ms = {
|
|
2262
2263
|
[x.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
2263
2264
|
[x.INVALID_ARGUMENT]: "Invalid argument",
|
|
2264
2265
|
[x.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
@@ -2271,7 +2272,7 @@ const Rs = {
|
|
|
2271
2272
|
[x.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
2272
2273
|
[x.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
2273
2274
|
}, Ft = /* @__PURE__ */ ce("__translateVNode"), yt = /* @__PURE__ */ ce("__datetimeParts"), kt = /* @__PURE__ */ ce("__numberParts"), Ie = /* @__PURE__ */ ce("__enableEmitter"), We = /* @__PURE__ */ ce("__disableEmitter"), ir = ce("__setPluralRules"), ur = /* @__PURE__ */ ce("__injectWithOption"), Rt = /* @__PURE__ */ ce("__dispose"), ne = {
|
|
2274
|
-
FALLBACK_TO_ROOT:
|
|
2275
|
+
FALLBACK_TO_ROOT: es,
|
|
2275
2276
|
// 8
|
|
2276
2277
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
2277
2278
|
IGNORE_OBJ_FLATTEN: 10,
|
|
@@ -2285,7 +2286,7 @@ const Rs = {
|
|
|
2285
2286
|
DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12,
|
|
2286
2287
|
// duplicate `useI18n` calling
|
|
2287
2288
|
DUPLICATE_USE_I18N_CALLING: 13
|
|
2288
|
-
},
|
|
2289
|
+
}, ws = {
|
|
2289
2290
|
[ne.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
2290
2291
|
[ne.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
2291
2292
|
[ne.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
@@ -2301,7 +2302,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
|
|
|
2301
2302
|
[ne.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
|
|
2302
2303
|
};
|
|
2303
2304
|
function Fe(e, ...t) {
|
|
2304
|
-
return et(
|
|
2305
|
+
return et(ws[e], ...t);
|
|
2305
2306
|
}
|
|
2306
2307
|
function Ge(e) {
|
|
2307
2308
|
if (!R(e) || re(e))
|
|
@@ -2379,12 +2380,12 @@ function De() {
|
|
|
2379
2380
|
const e = "currentInstance";
|
|
2380
2381
|
return e in ht ? ht[e] : ht.getCurrentInstance();
|
|
2381
2382
|
}
|
|
2382
|
-
const On = "__INTLIFY_META__", An = () => [],
|
|
2383
|
+
const On = "__INTLIFY_META__", An = () => [], Us = () => !1;
|
|
2383
2384
|
let vn = 0;
|
|
2384
2385
|
function Cn(e) {
|
|
2385
2386
|
return ((t, n, r, a) => e(n, r, De() || void 0, a));
|
|
2386
2387
|
}
|
|
2387
|
-
const
|
|
2388
|
+
const Vs = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
2388
2389
|
const e = De();
|
|
2389
2390
|
let t = null;
|
|
2390
2391
|
return e && (t = cr(e)[On]) ? { [On]: t } : null;
|
|
@@ -2405,7 +2406,7 @@ function jt(e = {}) {
|
|
|
2405
2406
|
g = (() => {
|
|
2406
2407
|
r && mn(null);
|
|
2407
2408
|
const _ = {
|
|
2408
|
-
version:
|
|
2409
|
+
version: ks,
|
|
2409
2410
|
locale: i.value,
|
|
2410
2411
|
fallbackLocale: c.value,
|
|
2411
2412
|
messages: E.value,
|
|
@@ -2424,7 +2425,7 @@ function jt(e = {}) {
|
|
|
2424
2425
|
__meta: { framework: "vue" }
|
|
2425
2426
|
};
|
|
2426
2427
|
_.datetimeFormats = b.value, _.numberFormats = L.value, _.__datetimeFormatters = k(g) ? g.__datetimeFormatters : void 0, _.__numberFormatters = k(g) ? g.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = k(g) ? g.__v_emitter : void 0);
|
|
2427
|
-
const h =
|
|
2428
|
+
const h = cs(_);
|
|
2428
2429
|
return r && mn(h), h;
|
|
2429
2430
|
})(), Ve(g, i.value, c.value);
|
|
2430
2431
|
function U() {
|
|
@@ -2466,7 +2467,7 @@ function jt(e = {}) {
|
|
|
2466
2467
|
U();
|
|
2467
2468
|
let Ae;
|
|
2468
2469
|
try {
|
|
2469
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (g.fallbackContext = t ?
|
|
2470
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (g.fallbackContext = t ? us() : void 0), Ae = _(g);
|
|
2470
2471
|
} finally {
|
|
2471
2472
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (g.fallbackContext = void 0);
|
|
2472
2473
|
}
|
|
@@ -2542,7 +2543,7 @@ function jt(e = {}) {
|
|
|
2542
2543
|
return !1;
|
|
2543
2544
|
const V = I(h) ? h : i.value, K = ge(V), pe = g.messageResolver(K, _);
|
|
2544
2545
|
return re(pe) || te(pe) || I(pe);
|
|
2545
|
-
}, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, h]),
|
|
2546
|
+
}, () => [_], "translate exists", (V) => Reflect.apply(V.te, V, [_, h]), Us, (V) => M(V));
|
|
2546
2547
|
}
|
|
2547
2548
|
function Me(_) {
|
|
2548
2549
|
let h = null;
|
|
@@ -2682,16 +2683,16 @@ const _r = "vue-i18n: composer properties", It = {
|
|
|
2682
2683
|
"vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
|
|
2683
2684
|
"vue-i18n-resource-inspector": "Vue I18n DevTools",
|
|
2684
2685
|
"vue-i18n-timeline": "Vue I18n"
|
|
2685
|
-
}, Vs = {
|
|
2686
|
-
"vue-i18n-resource-inspector": "Search for scopes ..."
|
|
2687
2686
|
}, $s = {
|
|
2687
|
+
"vue-i18n-resource-inspector": "Search for scopes ..."
|
|
2688
|
+
}, Bs = {
|
|
2688
2689
|
"vue-i18n-timeline": 16764185
|
|
2689
2690
|
};
|
|
2690
2691
|
let Mt;
|
|
2691
|
-
async function
|
|
2692
|
+
async function xs(e, t) {
|
|
2692
2693
|
return new Promise((n, r) => {
|
|
2693
2694
|
try {
|
|
2694
|
-
|
|
2695
|
+
ys({
|
|
2695
2696
|
id: "vue-devtools-plugin-vue-i18n",
|
|
2696
2697
|
label: It["vue-devtools-plugin-vue-i18n"],
|
|
2697
2698
|
packageName: "vue-i18n",
|
|
@@ -2702,36 +2703,36 @@ async function Bs(e, t) {
|
|
|
2702
2703
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2703
2704
|
}, (a) => {
|
|
2704
2705
|
Mt = a, a.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
|
|
2705
|
-
|
|
2706
|
+
Ws(o, i, t);
|
|
2706
2707
|
}), a.on.inspectComponent(({ componentInstance: o, instanceData: i }) => {
|
|
2707
2708
|
o.__VUE_I18N__ && i && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && Dn(i, o.__VUE_I18N__) : Dn(i, o.__VUE_I18N__));
|
|
2708
2709
|
}), a.addInspector({
|
|
2709
2710
|
id: "vue-i18n-resource-inspector",
|
|
2710
2711
|
label: It["vue-i18n-resource-inspector"],
|
|
2711
2712
|
icon: "language",
|
|
2712
|
-
treeFilterPlaceholder:
|
|
2713
|
+
treeFilterPlaceholder: $s["vue-i18n-resource-inspector"]
|
|
2713
2714
|
}), a.on.getInspectorTree((o) => {
|
|
2714
|
-
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" &&
|
|
2715
|
+
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && js(o, t);
|
|
2715
2716
|
});
|
|
2716
2717
|
const s = /* @__PURE__ */ new Map();
|
|
2717
2718
|
a.on.getInspectorState(async (o) => {
|
|
2718
2719
|
if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
|
|
2719
|
-
if (a.unhighlightElement(),
|
|
2720
|
+
if (a.unhighlightElement(), Js(o, t), o.nodeId === "global") {
|
|
2720
2721
|
if (!s.has(o.app)) {
|
|
2721
2722
|
const [i] = await a.getComponentInstances(o.app);
|
|
2722
2723
|
s.set(o.app, i);
|
|
2723
2724
|
}
|
|
2724
2725
|
a.highlightElement(s.get(o.app));
|
|
2725
2726
|
} else {
|
|
2726
|
-
const i =
|
|
2727
|
+
const i = Xs(o.nodeId, t);
|
|
2727
2728
|
i && a.highlightElement(i);
|
|
2728
2729
|
}
|
|
2729
2730
|
}), a.on.editInspectorState((o) => {
|
|
2730
|
-
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" &&
|
|
2731
|
+
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && qs(o, t);
|
|
2731
2732
|
}), a.addTimelineLayer({
|
|
2732
2733
|
id: "vue-i18n-timeline",
|
|
2733
2734
|
label: It["vue-i18n-timeline"],
|
|
2734
|
-
color:
|
|
2735
|
+
color: Bs["vue-i18n-timeline"]
|
|
2735
2736
|
}), n(!0);
|
|
2736
2737
|
});
|
|
2737
2738
|
} catch (a) {
|
|
@@ -2742,7 +2743,7 @@ async function Bs(e, t) {
|
|
|
2742
2743
|
function mr(e) {
|
|
2743
2744
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
2744
2745
|
}
|
|
2745
|
-
function
|
|
2746
|
+
function Ws(e, t, n) {
|
|
2746
2747
|
const r = n.mode === "composition" ? n.global : n.global.__composer;
|
|
2747
2748
|
if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== r) {
|
|
2748
2749
|
const a = {
|
|
@@ -2796,30 +2797,30 @@ function Xt(e) {
|
|
|
2796
2797
|
const t = {};
|
|
2797
2798
|
return Object.keys(e).forEach((n) => {
|
|
2798
2799
|
const r = e[n];
|
|
2799
|
-
B(r) && "source" in r ? t[n] =
|
|
2800
|
+
B(r) && "source" in r ? t[n] = Ks(r) : re(r) && r.loc && r.loc.source ? t[n] = r.loc.source : R(r) ? t[n] = Xt(r) : t[n] = r;
|
|
2800
2801
|
}), t;
|
|
2801
2802
|
}
|
|
2802
|
-
const
|
|
2803
|
+
const Gs = {
|
|
2803
2804
|
"<": "<",
|
|
2804
2805
|
">": ">",
|
|
2805
2806
|
'"': """,
|
|
2806
2807
|
"&": "&"
|
|
2807
2808
|
};
|
|
2808
|
-
function Gs(e) {
|
|
2809
|
-
return e.replace(/[<>"&]/g, Ys);
|
|
2810
|
-
}
|
|
2811
2809
|
function Ys(e) {
|
|
2812
|
-
return
|
|
2810
|
+
return e.replace(/[<>"&]/g, Hs);
|
|
2813
2811
|
}
|
|
2814
2812
|
function Hs(e) {
|
|
2813
|
+
return Gs[e] || e;
|
|
2814
|
+
}
|
|
2815
|
+
function Ks(e) {
|
|
2815
2816
|
return {
|
|
2816
2817
|
_custom: {
|
|
2817
2818
|
type: "function",
|
|
2818
|
-
display: `<span>ƒ</span> ${e.source ? `("${
|
|
2819
|
+
display: `<span>ƒ</span> ${e.source ? `("${Ys(e.source)}")` : "(?)"}`
|
|
2819
2820
|
}
|
|
2820
2821
|
};
|
|
2821
2822
|
}
|
|
2822
|
-
function
|
|
2823
|
+
function js(e, t) {
|
|
2823
2824
|
e.rootNodes.push({
|
|
2824
2825
|
id: "global",
|
|
2825
2826
|
label: "Global Scope"
|
|
@@ -2833,7 +2834,7 @@ function Ks(e, t) {
|
|
|
2833
2834
|
});
|
|
2834
2835
|
}
|
|
2835
2836
|
}
|
|
2836
|
-
function
|
|
2837
|
+
function Xs(e, t) {
|
|
2837
2838
|
let n = null;
|
|
2838
2839
|
if (e !== "global") {
|
|
2839
2840
|
for (const [r, a] of t.__instances.entries())
|
|
@@ -2852,11 +2853,11 @@ function dr(e, t) {
|
|
|
2852
2853
|
return n ? t.mode === "composition" ? n : n.__composer : null;
|
|
2853
2854
|
}
|
|
2854
2855
|
}
|
|
2855
|
-
function
|
|
2856
|
+
function Js(e, t) {
|
|
2856
2857
|
const n = dr(e.nodeId, t);
|
|
2857
|
-
return n && (e.state =
|
|
2858
|
+
return n && (e.state = Qs(n)), null;
|
|
2858
2859
|
}
|
|
2859
|
-
function
|
|
2860
|
+
function Qs(e) {
|
|
2860
2861
|
const t = {}, n = "Locale related info", r = [
|
|
2861
2862
|
{
|
|
2862
2863
|
type: n,
|
|
@@ -2931,14 +2932,14 @@ function Ye(e, t) {
|
|
|
2931
2932
|
});
|
|
2932
2933
|
}
|
|
2933
2934
|
}
|
|
2934
|
-
function
|
|
2935
|
+
function qs(e, t) {
|
|
2935
2936
|
const n = dr(e.nodeId, t);
|
|
2936
2937
|
if (n) {
|
|
2937
2938
|
const [r] = e.path;
|
|
2938
2939
|
r === "locale" && I(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (I(e.state.value) || G(e.state.value) || R(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && M(e.state.value) && (n.inheritLocale = e.state.value);
|
|
2939
2940
|
}
|
|
2940
2941
|
}
|
|
2941
|
-
function
|
|
2942
|
+
function Zs(e) {
|
|
2942
2943
|
const t = I(e.locale) ? e.locale : xe, n = I(e.fallbackLocale) || G(e.fallbackLocale) || k(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = B(e.missing) ? e.missing : void 0, a = M(e.silentTranslationWarn) || Se(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, s = M(e.silentFallbackWarn) || Se(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = M(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, c = k(e.modifiers) ? e.modifiers : {}, E = e.pluralizationRules, b = B(e.postTranslation) ? e.postTranslation : void 0, L = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, N = !!e.escapeParameterHtml, C = M(e.sync) ? e.sync : !0;
|
|
2943
2944
|
let F = e.messages;
|
|
2944
2945
|
if (k(e.sharedMessages)) {
|
|
@@ -2974,7 +2975,7 @@ function qs(e) {
|
|
|
2974
2975
|
};
|
|
2975
2976
|
}
|
|
2976
2977
|
function wt(e = {}) {
|
|
2977
|
-
const t = jt(
|
|
2978
|
+
const t = jt(Zs(e)), { __extender: n } = e, r = {
|
|
2978
2979
|
// id
|
|
2979
2980
|
id: t.id,
|
|
2980
2981
|
// locale
|
|
@@ -3142,7 +3143,7 @@ function wt(e = {}) {
|
|
|
3142
3143
|
a[We] && a[We]();
|
|
3143
3144
|
}), r;
|
|
3144
3145
|
}
|
|
3145
|
-
function
|
|
3146
|
+
function zs(e, t, n) {
|
|
3146
3147
|
return {
|
|
3147
3148
|
beforeCreate() {
|
|
3148
3149
|
const r = De();
|
|
@@ -3221,7 +3222,7 @@ const Jt = {
|
|
|
3221
3222
|
type: Object
|
|
3222
3223
|
}
|
|
3223
3224
|
};
|
|
3224
|
-
function
|
|
3225
|
+
function eo({ slots: e }, t) {
|
|
3225
3226
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, a) => [
|
|
3226
3227
|
...r,
|
|
3227
3228
|
// prettier-ignore
|
|
@@ -3234,7 +3235,7 @@ function zs({ slots: e }, t) {
|
|
|
3234
3235
|
function Er() {
|
|
3235
3236
|
return Un;
|
|
3236
3237
|
}
|
|
3237
|
-
const
|
|
3238
|
+
const to = /* @__PURE__ */ Ut({
|
|
3238
3239
|
/* eslint-disable */
|
|
3239
3240
|
name: "i18n-t",
|
|
3240
3241
|
props: J({
|
|
@@ -3257,12 +3258,12 @@ const eo = /* @__PURE__ */ Ut({
|
|
|
3257
3258
|
return () => {
|
|
3258
3259
|
const s = Object.keys(n).filter((L) => L[0] !== "_"), o = $();
|
|
3259
3260
|
e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
|
|
3260
|
-
const i =
|
|
3261
|
+
const i = eo(t, s), c = a[Ft](e.keypath, i, o), E = J($(), r), b = I(e.tag) || R(e.tag) ? e.tag : Er();
|
|
3261
3262
|
return wn(b, E, c);
|
|
3262
3263
|
};
|
|
3263
3264
|
}
|
|
3264
|
-
}), Pn =
|
|
3265
|
-
function
|
|
3265
|
+
}), Pn = to;
|
|
3266
|
+
function no(e) {
|
|
3266
3267
|
return G(e) && !I(e[0]);
|
|
3267
3268
|
}
|
|
3268
3269
|
function gr(e, t, n, r) {
|
|
@@ -3275,13 +3276,13 @@ function gr(e, t, n, r) {
|
|
|
3275
3276
|
let E = [o.key];
|
|
3276
3277
|
G(c) ? E = c.map((N, C) => {
|
|
3277
3278
|
const F = a[N.type], v = F ? F({ [N.type]: N.value, index: C, parts: c }) : [N.value];
|
|
3278
|
-
return
|
|
3279
|
+
return no(v) && (v[0].key = `${N.type}-${C}`), v;
|
|
3279
3280
|
}) : I(c) && (E = [c]);
|
|
3280
3281
|
const b = J($(), s), L = I(e.tag) || R(e.tag) ? e.tag : Er();
|
|
3281
3282
|
return wn(L, b, E);
|
|
3282
3283
|
};
|
|
3283
3284
|
}
|
|
3284
|
-
const
|
|
3285
|
+
const ro = /* @__PURE__ */ Ut({
|
|
3285
3286
|
/* eslint-disable */
|
|
3286
3287
|
name: "i18n-n",
|
|
3287
3288
|
props: J({
|
|
@@ -3305,8 +3306,8 @@ const no = /* @__PURE__ */ Ut({
|
|
|
3305
3306
|
n[kt](...r)
|
|
3306
3307
|
));
|
|
3307
3308
|
}
|
|
3308
|
-
}), Fn =
|
|
3309
|
-
function
|
|
3309
|
+
}), Fn = ro;
|
|
3310
|
+
function ao(e, t) {
|
|
3310
3311
|
const n = e;
|
|
3311
3312
|
if (e.mode === "composition")
|
|
3312
3313
|
return n.__getInstance(t) || e.global;
|
|
@@ -3315,13 +3316,13 @@ function ro(e, t) {
|
|
|
3315
3316
|
return r != null ? r.__composer : e.global.__composer;
|
|
3316
3317
|
}
|
|
3317
3318
|
}
|
|
3318
|
-
function
|
|
3319
|
+
function so(e) {
|
|
3319
3320
|
const t = (o) => {
|
|
3320
3321
|
process.env.NODE_ENV !== "production" && Vt(Fe(ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
3321
3322
|
const { instance: i, value: c } = o;
|
|
3322
3323
|
if (!i || !i.$)
|
|
3323
3324
|
throw z(x.UNEXPECTED_ERROR);
|
|
3324
|
-
const E =
|
|
3325
|
+
const E = ao(e, i.$), b = yn(c);
|
|
3325
3326
|
return [
|
|
3326
3327
|
Reflect.apply(E.t, E, [...kn(b)]),
|
|
3327
3328
|
E
|
|
@@ -3365,15 +3366,15 @@ function kn(e) {
|
|
|
3365
3366
|
const { path: t, locale: n, args: r, choice: a, plural: s } = e, o = {}, i = r || {};
|
|
3366
3367
|
return I(n) && (o.locale = n), j(a) && (o.plural = a), j(s) && (o.plural = s), [t, i, o];
|
|
3367
3368
|
}
|
|
3368
|
-
function
|
|
3369
|
+
function oo(e, t, ...n) {
|
|
3369
3370
|
const r = k(n[0]) ? n[0] : {};
|
|
3370
|
-
(!M(r.globalInstall) || r.globalInstall) && ([Pn.name, "I18nT"].forEach((s) => e.component(s, Pn)), [Fn.name, "I18nN"].forEach((s) => e.component(s, Fn)), [Mn.name, "I18nD"].forEach((s) => e.component(s, Mn))), e.directive("t",
|
|
3371
|
+
(!M(r.globalInstall) || r.globalInstall) && ([Pn.name, "I18nT"].forEach((s) => e.component(s, Pn)), [Fn.name, "I18nN"].forEach((s) => e.component(s, Fn)), [Mn.name, "I18nD"].forEach((s) => e.component(s, Mn))), e.directive("t", so(t));
|
|
3371
3372
|
}
|
|
3372
|
-
const
|
|
3373
|
-
function
|
|
3373
|
+
const lo = /* @__PURE__ */ ce("global-vue-i18n");
|
|
3374
|
+
function io(e = {}) {
|
|
3374
3375
|
const t = __VUE_I18N_LEGACY_API__ && M(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
3375
3376
|
process.env.NODE_ENV !== "production" && t && Vt(Fe(ne.DEPRECATE_LEGACY_MODE));
|
|
3376
|
-
const n = M(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] =
|
|
3377
|
+
const n = M(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] = uo(e, t), o = /* @__PURE__ */ ce(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
3377
3378
|
function i(L) {
|
|
3378
3379
|
return r.get(L) || null;
|
|
3379
3380
|
}
|
|
@@ -3395,12 +3396,12 @@ function lo(e = {}) {
|
|
|
3395
3396
|
b.__composerExtend = v.__composerExtend, b.__vueI18nExtend = v.__vueI18nExtend;
|
|
3396
3397
|
}
|
|
3397
3398
|
let C = null;
|
|
3398
|
-
!t && n && (C =
|
|
3399
|
+
!t && n && (C = No(L, b.global)), __VUE_I18N_FULL_INSTALL__ && oo(L, b, ...N), __VUE_I18N_LEGACY_API__ && t && L.mixin(zs(s, s.__composer, b));
|
|
3399
3400
|
const F = L.unmount;
|
|
3400
3401
|
if (L.unmount = () => {
|
|
3401
3402
|
C && C(), b.dispose(), F();
|
|
3402
3403
|
}, process.env.NODE_ENV !== "production") {
|
|
3403
|
-
if (!await
|
|
3404
|
+
if (!await xs(L, b))
|
|
3404
3405
|
throw z(x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
3405
3406
|
const D = xt();
|
|
3406
3407
|
if (t) {
|
|
@@ -3437,44 +3438,44 @@ function Qt(e = {}) {
|
|
|
3437
3438
|
throw z(x.MUST_BE_CALL_SETUP_TOP);
|
|
3438
3439
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
3439
3440
|
throw z(x.NOT_INSTALLED);
|
|
3440
|
-
const n =
|
|
3441
|
+
const n = co(t), r = _o(n), a = cr(t), s = fo(e, a);
|
|
3441
3442
|
if (s === "global")
|
|
3442
3443
|
return fr(r, e, a), r;
|
|
3443
3444
|
if (s === "parent") {
|
|
3444
|
-
let c =
|
|
3445
|
+
let c = mo(n, t, e.__useComponent);
|
|
3445
3446
|
return c == null && (process.env.NODE_ENV !== "production" && ue(Fe(ne.NOT_FOUND_PARENT_SCOPE)), c = r), c;
|
|
3446
3447
|
}
|
|
3447
3448
|
const o = n;
|
|
3448
3449
|
let i = o.__getInstance(t);
|
|
3449
3450
|
if (i == null) {
|
|
3450
3451
|
const c = J({}, e);
|
|
3451
|
-
"__i18n" in a && (c.__i18n = a.__i18n), r && (c.__root = r), i = jt(c), o.__composerExtend && (i[Rt] = o.__composerExtend(i)),
|
|
3452
|
+
"__i18n" in a && (c.__i18n = a.__i18n), r && (c.__root = r), i = jt(c), o.__composerExtend && (i[Rt] = o.__composerExtend(i)), go(o, t, i), o.__setInstance(t, i);
|
|
3452
3453
|
} else
|
|
3453
3454
|
process.env.NODE_ENV !== "production" && s === "local" && ue(Fe(ne.DUPLICATE_USE_I18N_CALLING));
|
|
3454
3455
|
return i;
|
|
3455
3456
|
}
|
|
3456
|
-
function
|
|
3457
|
+
function uo(e, t) {
|
|
3457
3458
|
const n = br(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => wt(e)) : n.run(() => jt(e));
|
|
3458
3459
|
if (r == null)
|
|
3459
3460
|
throw z(x.UNEXPECTED_ERROR);
|
|
3460
3461
|
return [n, r];
|
|
3461
3462
|
}
|
|
3462
|
-
function
|
|
3463
|
-
const t = vr(e.isCE ?
|
|
3463
|
+
function co(e) {
|
|
3464
|
+
const t = vr(e.isCE ? lo : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
3464
3465
|
if (!t)
|
|
3465
3466
|
throw z(e.isCE ? x.NOT_INSTALLED_WITH_PROVIDE : x.UNEXPECTED_ERROR);
|
|
3466
3467
|
return t;
|
|
3467
3468
|
}
|
|
3468
|
-
function
|
|
3469
|
+
function fo(e, t) {
|
|
3469
3470
|
return tt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
3470
3471
|
}
|
|
3471
|
-
function
|
|
3472
|
+
function _o(e) {
|
|
3472
3473
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
3473
3474
|
}
|
|
3474
|
-
function
|
|
3475
|
+
function mo(e, t, n = !1) {
|
|
3475
3476
|
let r = null;
|
|
3476
3477
|
const a = t.root;
|
|
3477
|
-
let s =
|
|
3478
|
+
let s = Eo(t, n);
|
|
3478
3479
|
for (; s != null; ) {
|
|
3479
3480
|
const o = e;
|
|
3480
3481
|
if (e.mode === "composition")
|
|
@@ -3489,10 +3490,10 @@ function _o(e, t, n = !1) {
|
|
|
3489
3490
|
}
|
|
3490
3491
|
return r;
|
|
3491
3492
|
}
|
|
3492
|
-
function
|
|
3493
|
+
function Eo(e, t = !1) {
|
|
3493
3494
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
3494
3495
|
}
|
|
3495
|
-
function
|
|
3496
|
+
function go(e, t, n) {
|
|
3496
3497
|
let r = null;
|
|
3497
3498
|
Cr(() => {
|
|
3498
3499
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -3507,14 +3508,14 @@ function Eo(e, t, n) {
|
|
|
3507
3508
|
s && (s(), delete a[Rt]);
|
|
3508
3509
|
}, t);
|
|
3509
3510
|
}
|
|
3510
|
-
const
|
|
3511
|
+
const po = [
|
|
3511
3512
|
"locale",
|
|
3512
3513
|
"fallbackLocale",
|
|
3513
3514
|
"availableLocales"
|
|
3514
3515
|
], Rn = ["t", "rt", "d", "n", "tm", "te"];
|
|
3515
|
-
function
|
|
3516
|
+
function No(e, t) {
|
|
3516
3517
|
const n = /* @__PURE__ */ Object.create(null);
|
|
3517
|
-
return
|
|
3518
|
+
return po.forEach((a) => {
|
|
3518
3519
|
const s = Object.getOwnPropertyDescriptor(t, a);
|
|
3519
3520
|
if (!s)
|
|
3520
3521
|
throw z(x.UNEXPECTED_ERROR);
|
|
@@ -3543,7 +3544,7 @@ function po(e, t) {
|
|
|
3543
3544
|
});
|
|
3544
3545
|
};
|
|
3545
3546
|
}
|
|
3546
|
-
const
|
|
3547
|
+
const ho = /* @__PURE__ */ Ut({
|
|
3547
3548
|
/* eslint-disable */
|
|
3548
3549
|
name: "i18n-d",
|
|
3549
3550
|
props: J({
|
|
@@ -3567,14 +3568,14 @@ const No = /* @__PURE__ */ Ut({
|
|
|
3567
3568
|
n[yt](...r)
|
|
3568
3569
|
));
|
|
3569
3570
|
}
|
|
3570
|
-
}), Mn =
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3571
|
+
}), Mn = ho;
|
|
3572
|
+
Rs();
|
|
3573
|
+
as(wa);
|
|
3574
|
+
ss(za);
|
|
3575
|
+
os(Xn);
|
|
3575
3576
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3576
3577
|
const e = Le();
|
|
3577
|
-
e.__INTLIFY__ = !0,
|
|
3578
|
+
e.__INTLIFY__ = !0, Ua(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
3578
3579
|
}
|
|
3579
3580
|
process.env.NODE_ENV;
|
|
3580
3581
|
var pr = {
|
|
@@ -3771,7 +3772,7 @@ var pr = {
|
|
|
3771
3772
|
}
|
|
3772
3773
|
}
|
|
3773
3774
|
};
|
|
3774
|
-
var
|
|
3775
|
+
var Lo = {
|
|
3775
3776
|
name: "en",
|
|
3776
3777
|
el: {
|
|
3777
3778
|
breadcrumb: {
|
|
@@ -3968,19 +3969,22 @@ var ho = {
|
|
|
3968
3969
|
const ye = {
|
|
3969
3970
|
zhCn: "zh-cn",
|
|
3970
3971
|
en: "en"
|
|
3971
|
-
},
|
|
3972
|
+
}, To = {
|
|
3972
3973
|
[ye.zhCn]: pr,
|
|
3973
|
-
[ye.en]:
|
|
3974
|
-
}, Nr = () => (navigator?.language || navigator?.userLanguage)?.startsWith("zh") ? ye.zhCn : ye.en,
|
|
3974
|
+
[ye.en]: Lo
|
|
3975
|
+
}, Nr = () => (navigator?.language || navigator?.userLanguage)?.startsWith("zh") ? ye.zhCn : ye.en, yo = () => {
|
|
3975
3976
|
const e = Nr() || ye.en;
|
|
3976
|
-
return
|
|
3977
|
-
},
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3977
|
+
return To[e] || pr;
|
|
3978
|
+
}, ko = (e = {}) => {
|
|
3979
|
+
const t = Nr();
|
|
3980
|
+
return Ur.set("lang", t), io({
|
|
3981
|
+
legacy: !1,
|
|
3982
|
+
locale: t,
|
|
3983
|
+
fallbackLocale: ye.zhCn,
|
|
3984
|
+
messages: e,
|
|
3985
|
+
globalInjection: !0
|
|
3986
|
+
});
|
|
3987
|
+
}, Ro = (e) => (t, n = {}) => e.global.t(t, n), hr = () => {
|
|
3984
3988
|
setTimeout(async () => {
|
|
3985
3989
|
wr.confirm(
|
|
3986
3990
|
"语言设置已更新<br/>是否重新加载页面以应用新的语言设置",
|
|
@@ -3996,17 +4000,17 @@ const ye = {
|
|
|
3996
4000
|
window.location.reload();
|
|
3997
4001
|
});
|
|
3998
4002
|
}, 0);
|
|
3999
|
-
},
|
|
4003
|
+
}, Mo = () => {
|
|
4000
4004
|
window.addEventListener("languagechange", hr);
|
|
4001
|
-
},
|
|
4005
|
+
}, wo = () => {
|
|
4002
4006
|
window.removeEventListener("languagechange", hr);
|
|
4003
|
-
},
|
|
4007
|
+
}, bo = () => {
|
|
4004
4008
|
const { t: e } = Fr().appContext.config.globalProperties;
|
|
4005
4009
|
return {
|
|
4006
4010
|
t: e
|
|
4007
4011
|
};
|
|
4008
|
-
},
|
|
4009
|
-
const { t: e } =
|
|
4012
|
+
}, Io = () => {
|
|
4013
|
+
const { t: e } = bo();
|
|
4010
4014
|
return {
|
|
4011
4015
|
APPLICATION_TYPE_TAB_LIST: [
|
|
4012
4016
|
{
|
|
@@ -4025,7 +4029,7 @@ const ye = {
|
|
|
4025
4029
|
}
|
|
4026
4030
|
]
|
|
4027
4031
|
};
|
|
4028
|
-
},
|
|
4032
|
+
}, Oo = /* @__PURE__ */ Object.assign({
|
|
4029
4033
|
name: "ApplicationTypeTag"
|
|
4030
4034
|
}, {
|
|
4031
4035
|
__name: "layout",
|
|
@@ -4037,22 +4041,22 @@ const ye = {
|
|
|
4037
4041
|
}
|
|
4038
4042
|
},
|
|
4039
4043
|
setup(e) {
|
|
4040
|
-
const t = e, { APPLICATION_TYPE_TAB_LIST: n } =
|
|
4044
|
+
const t = e, { APPLICATION_TYPE_TAB_LIST: n } = Io(), r = he(() => n.find((s) => s.value === t.type)?.alias || ""), a = he(() => t.type === qe.dialogue ? "dialogue" : "autonomously");
|
|
4041
4045
|
return (s, o) => (kr(), yr("div", {
|
|
4042
4046
|
class: Rr(a.value)
|
|
4043
4047
|
}, Mr(r.value), 3));
|
|
4044
4048
|
}
|
|
4045
|
-
}),
|
|
4049
|
+
}), Ao = /* @__PURE__ */ Vr(Oo, [["__scopeId", "data-v-6ba8ff75"]]), Uo = Tr(Ao);
|
|
4046
4050
|
export {
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4051
|
+
Uo as A,
|
|
4052
|
+
To as a,
|
|
4053
|
+
yo as b,
|
|
4054
|
+
ko as c,
|
|
4055
|
+
Ro as d,
|
|
4056
|
+
wo as e,
|
|
4057
|
+
bo as f,
|
|
4054
4058
|
Nr as g,
|
|
4055
4059
|
ye as l,
|
|
4056
|
-
|
|
4057
|
-
|
|
4060
|
+
Mo as s,
|
|
4061
|
+
Io as u
|
|
4058
4062
|
};
|