@i18n-micro/devtools-ui 1.2.0 → 1.2.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.
- package/dist/bridge/create-bridge.js +77 -0
- package/dist/bridge/create-bridge.js.map +1 -0
- package/dist/bridge/interface.d.ts +2 -0
- package/dist/bridge/interface.js +5 -0
- package/dist/bridge/interface.js.map +1 -0
- package/dist/composables/useI18nState.d.ts +56 -0
- package/dist/devtools-ui.css +1 -1
- package/dist/index.d.cts +19 -0
- package/dist/index.es.js +550 -625
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +8 -8
- package/dist/index.umd.js.map +1 -1
- package/dist/vite/plugin.d.cts +7 -0
- package/dist/vite/plugin.d.ts +1 -1
- package/package.json +43 -15
- package/dist/env.d.ts +0 -1
- package/vite/plugin.ts +0 -583
package/dist/index.es.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { createBridge as d0 } from "./bridge/create-bridge.js";
|
|
2
|
+
var Ji = {};
|
|
2
3
|
// @__NO_SIDE_EFFECTS__
|
|
3
4
|
function Ot(e) {
|
|
4
5
|
const t = /* @__PURE__ */ Object.create(null);
|
|
5
6
|
for (const o of e.split(",")) t[o] = 1;
|
|
6
7
|
return (o) => o in t;
|
|
7
8
|
}
|
|
8
|
-
const ce =
|
|
9
|
+
const ce = Ji.NODE_ENV !== "production" ? Object.freeze({}) : {}, io = Ji.NODE_ENV !== "production" ? Object.freeze([]) : [], De = () => {
|
|
9
10
|
}, Yi = () => !1, Ro = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
10
11
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), dr = (e) => e.startsWith("onUpdate:"), ge = Object.assign, yn = (e, t) => {
|
|
11
12
|
const o = e.indexOf(t);
|
|
12
13
|
o > -1 && e.splice(o, 1);
|
|
13
|
-
}, Vs = Object.prototype.hasOwnProperty, ee = (e, t) => Vs.call(e, t), L = Array.isArray, Kt = (e) => zo(e) === "[object Map]", uo = (e) => zo(e) === "[object Set]",
|
|
14
|
+
}, Vs = Object.prototype.hasOwnProperty, ee = (e, t) => Vs.call(e, t), L = Array.isArray, Kt = (e) => zo(e) === "[object Map]", uo = (e) => zo(e) === "[object Set]", Gn = (e) => zo(e) === "[object Date]", W = (e) => typeof e == "function", ve = (e) => typeof e == "string", Ze = (e) => typeof e == "symbol", ae = (e) => e !== null && typeof e == "object", _n = (e) => (ae(e) || W(e)) && W(e.then) && W(e.catch), Xi = Object.prototype.toString, zo = (e) => Xi.call(e), xn = (e) => zo(e).slice(8, -1), Or = (e) => zo(e) === "[object Object]", kn = (e) => ve(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Eo = /* @__PURE__ */ Ot(
|
|
14
15
|
// the leading comma is intentional so empty string "" is also included
|
|
15
16
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
16
17
|
), As = /* @__PURE__ */ Ot(
|
|
@@ -41,8 +42,8 @@ const ce = Gi.NODE_ENV !== "production" ? Object.freeze({}) : {}, io = Gi.NODE_E
|
|
|
41
42
|
const t = ve(e) ? Number(e) : NaN;
|
|
42
43
|
return isNaN(t) ? e : t;
|
|
43
44
|
};
|
|
44
|
-
let
|
|
45
|
-
const Ho = () =>
|
|
45
|
+
let Jn;
|
|
46
|
+
const Ho = () => Jn || (Jn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
46
47
|
function Et(e) {
|
|
47
48
|
if (L(e)) {
|
|
48
49
|
const t = {};
|
|
@@ -84,7 +85,7 @@ const Rs = "html,body,base,head,link,meta,style,title,address,article,aside,foot
|
|
|
84
85
|
function Zi(e) {
|
|
85
86
|
return !!e || e === "";
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
+
function Gs(e, t) {
|
|
88
89
|
if (e.length !== t.length) return !1;
|
|
89
90
|
let o = !0;
|
|
90
91
|
for (let r = 0; o && r < e.length; r++)
|
|
@@ -93,13 +94,13 @@ function Js(e, t) {
|
|
|
93
94
|
}
|
|
94
95
|
function Uo(e, t) {
|
|
95
96
|
if (e === t) return !0;
|
|
96
|
-
let o =
|
|
97
|
+
let o = Gn(e), r = Gn(t);
|
|
97
98
|
if (o || r)
|
|
98
99
|
return o && r ? e.getTime() === t.getTime() : !1;
|
|
99
100
|
if (o = Ze(e), r = Ze(t), o || r)
|
|
100
101
|
return e === t;
|
|
101
102
|
if (o = L(e), r = L(t), o || r)
|
|
102
|
-
return o && r ?
|
|
103
|
+
return o && r ? Gs(e, t) : !1;
|
|
103
104
|
if (o = ae(e), r = ae(t), o || r) {
|
|
104
105
|
if (!o || !r)
|
|
105
106
|
return !1;
|
|
@@ -117,7 +118,7 @@ function Uo(e, t) {
|
|
|
117
118
|
function En(e, t) {
|
|
118
119
|
return e.findIndex((o) => Uo(o, t));
|
|
119
120
|
}
|
|
120
|
-
const Qi = (e) => !!(e && e.__v_isRef === !0),
|
|
121
|
+
const Qi = (e) => !!(e && e.__v_isRef === !0), J = (e) => ve(e) ? e : e == null ? "" : L(e) || ae(e) && (e.toString === Xi || !W(e.toString)) ? Qi(e) ? J(e.value) : JSON.stringify(e, ea, 2) : String(e), ea = (e, t) => Qi(t) ? ea(e, t.value) : Kt(t) ? {
|
|
121
122
|
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
122
123
|
(o, [r, n], i) => (o[Rr(r, i) + " =>"] = n, o),
|
|
123
124
|
{}
|
|
@@ -137,7 +138,7 @@ function Qe(e, ...t) {
|
|
|
137
138
|
console.warn(`[Vue warn] ${e}`, ...t);
|
|
138
139
|
}
|
|
139
140
|
let He;
|
|
140
|
-
class
|
|
141
|
+
class Js {
|
|
141
142
|
constructor(t = !1) {
|
|
142
143
|
this.detached = t, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.parent = He, !t && He && (this.index = (He.scopes || (He.scopes = [])).push(
|
|
143
144
|
this
|
|
@@ -479,16 +480,16 @@ function pt(e, t, o, r, n, i) {
|
|
|
479
480
|
if (Nn(), t === "clear")
|
|
480
481
|
a.forEach(s);
|
|
481
482
|
else {
|
|
482
|
-
const l = L(e),
|
|
483
|
+
const l = L(e), u = l && kn(o);
|
|
483
484
|
if (l && o === "length") {
|
|
484
485
|
const c = Number(r);
|
|
485
486
|
a.forEach((d, p) => {
|
|
486
487
|
(p === "length" || p === Ao || !Ze(p) && p >= c) && s(d);
|
|
487
488
|
});
|
|
488
489
|
} else
|
|
489
|
-
switch ((o !== void 0 || a.has(void 0)) && s(a.get(o)),
|
|
490
|
+
switch ((o !== void 0 || a.has(void 0)) && s(a.get(o)), u && s(a.get(Ao)), t) {
|
|
490
491
|
case "add":
|
|
491
|
-
l ?
|
|
492
|
+
l ? u && s(a.get("length")) : (s(a.get(Wt)), Kt(e) && s(a.get(rn)));
|
|
492
493
|
break;
|
|
493
494
|
case "delete":
|
|
494
495
|
l || (s(a.get(Wt)), Kt(e) && s(a.get(rn)));
|
|
@@ -634,13 +635,13 @@ function mt(e, t, o, r, n, i) {
|
|
|
634
635
|
const d = l.apply(e, i);
|
|
635
636
|
return s ? rt(d) : d;
|
|
636
637
|
}
|
|
637
|
-
let
|
|
638
|
-
a !== e && (s ?
|
|
638
|
+
let u = o;
|
|
639
|
+
a !== e && (s ? u = function(d, p) {
|
|
639
640
|
return o.call(this, Tt(e, d), p, e);
|
|
640
|
-
} : o.length > 2 && (
|
|
641
|
+
} : o.length > 2 && (u = function(d, p) {
|
|
641
642
|
return o.call(this, d, p, e);
|
|
642
643
|
}));
|
|
643
|
-
const c = l.call(a,
|
|
644
|
+
const c = l.call(a, u, r);
|
|
644
645
|
return s && n ? n(c) : c;
|
|
645
646
|
}
|
|
646
647
|
function Xn(e, t, o, r) {
|
|
@@ -721,9 +722,9 @@ class fa extends da {
|
|
|
721
722
|
let i = t[o];
|
|
722
723
|
const a = L(t) && kn(o);
|
|
723
724
|
if (!this._isShallow) {
|
|
724
|
-
const
|
|
725
|
+
const u = ot(i);
|
|
725
726
|
if (!Le(r) && !ot(r) && (i = X(i), r = X(r)), !a && Se(i) && !Se(r))
|
|
726
|
-
return
|
|
727
|
+
return u ? (pe.NODE_ENV !== "production" && Qe(
|
|
727
728
|
`Set operation on key "${String(o)}" failed: target is readonly.`,
|
|
728
729
|
t[o]
|
|
729
730
|
), !0) : (i.value = r, !0);
|
|
@@ -772,7 +773,7 @@ class ua extends da {
|
|
|
772
773
|
const rl = /* @__PURE__ */ new fa(), nl = /* @__PURE__ */ new ua(), il = /* @__PURE__ */ new fa(!0), al = /* @__PURE__ */ new ua(!0), nn = (e) => e, Xo = (e) => Reflect.getPrototypeOf(e);
|
|
773
774
|
function sl(e, t, o) {
|
|
774
775
|
return function(...r) {
|
|
775
|
-
const n = this.__v_raw, i = X(n), a = Kt(i), s = e === "entries" || e === Symbol.iterator && a, l = e === "keys" && a,
|
|
776
|
+
const n = this.__v_raw, i = X(n), a = Kt(i), s = e === "entries" || e === Symbol.iterator && a, l = e === "keys" && a, u = n[e](...r), c = o ? nn : t ? co : rt;
|
|
776
777
|
return !t && Ce(
|
|
777
778
|
i,
|
|
778
779
|
"iterate",
|
|
@@ -780,7 +781,7 @@ function sl(e, t, o) {
|
|
|
780
781
|
), {
|
|
781
782
|
// iterator protocol
|
|
782
783
|
next() {
|
|
783
|
-
const { value: d, done: p } =
|
|
784
|
+
const { value: d, done: p } = u.next();
|
|
784
785
|
return p ? { value: d, done: p } : {
|
|
785
786
|
value: s ? [c(d[0]), c(d[1])] : c(d),
|
|
786
787
|
done: p
|
|
@@ -810,11 +811,11 @@ function ll(e, t) {
|
|
|
810
811
|
get(n) {
|
|
811
812
|
const i = this.__v_raw, a = X(i), s = X(n);
|
|
812
813
|
e || (Mt(n, s) && Ce(a, "get", n), Ce(a, "get", s));
|
|
813
|
-
const { has: l } = Xo(a),
|
|
814
|
+
const { has: l } = Xo(a), u = t ? nn : e ? co : rt;
|
|
814
815
|
if (l.call(a, n))
|
|
815
|
-
return
|
|
816
|
+
return u(i.get(n));
|
|
816
817
|
if (l.call(a, s))
|
|
817
|
-
return
|
|
818
|
+
return u(i.get(s));
|
|
818
819
|
i !== a && i.get(n);
|
|
819
820
|
},
|
|
820
821
|
get size() {
|
|
@@ -826,8 +827,8 @@ function ll(e, t) {
|
|
|
826
827
|
return e || (Mt(n, s) && Ce(a, "has", n), Ce(a, "has", s)), n === s ? i.has(n) : i.has(n) || i.has(s);
|
|
827
828
|
},
|
|
828
829
|
forEach(n, i) {
|
|
829
|
-
const a = this, s = a.__v_raw, l = X(s),
|
|
830
|
-
return !e && Ce(l, "iterate", Wt), s.forEach((c, d) => n.call(i,
|
|
830
|
+
const a = this, s = a.__v_raw, l = X(s), u = t ? nn : e ? co : rt;
|
|
831
|
+
return !e && Ce(l, "iterate", Wt), s.forEach((c, d) => n.call(i, u(c), u(d), a));
|
|
831
832
|
}
|
|
832
833
|
};
|
|
833
834
|
return ge(
|
|
@@ -846,17 +847,17 @@ function ll(e, t) {
|
|
|
846
847
|
set(n, i) {
|
|
847
848
|
!t && !Le(i) && !ot(i) && (i = X(i));
|
|
848
849
|
const a = X(this), { has: s, get: l } = Xo(a);
|
|
849
|
-
let
|
|
850
|
-
|
|
850
|
+
let u = s.call(a, n);
|
|
851
|
+
u ? pe.NODE_ENV !== "production" && Zn(a, s, n) : (n = X(n), u = s.call(a, n));
|
|
851
852
|
const c = l.call(a, n);
|
|
852
|
-
return a.set(n, i),
|
|
853
|
+
return a.set(n, i), u ? Mt(i, c) && pt(a, "set", n, i, c) : pt(a, "add", n, i), this;
|
|
853
854
|
},
|
|
854
855
|
delete(n) {
|
|
855
856
|
const i = X(this), { has: a, get: s } = Xo(i);
|
|
856
857
|
let l = a.call(i, n);
|
|
857
858
|
l ? pe.NODE_ENV !== "production" && Zn(i, a, n) : (n = X(n), l = a.call(i, n));
|
|
858
|
-
const
|
|
859
|
-
return l && pt(i, "delete", n, void 0,
|
|
859
|
+
const u = s ? s.call(i, n) : void 0, c = i.delete(n);
|
|
860
|
+
return l && pt(i, "delete", n, void 0, u), c;
|
|
860
861
|
},
|
|
861
862
|
clear() {
|
|
862
863
|
const n = X(this), i = n.size !== 0, a = pe.NODE_ENV !== "production" ? Kt(n) ? new Map(n) : new Set(n) : void 0, s = n.clear();
|
|
@@ -1082,7 +1083,7 @@ function xl(e, t = !1, o = Ht) {
|
|
|
1082
1083
|
);
|
|
1083
1084
|
}
|
|
1084
1085
|
function kl(e, t, o = ce) {
|
|
1085
|
-
const { immediate: r, deep: n, once: i, scheduler: a, augmentJob: s, call: l } = o,
|
|
1086
|
+
const { immediate: r, deep: n, once: i, scheduler: a, augmentJob: s, call: l } = o, u = (M) => {
|
|
1086
1087
|
(o.onWarn || Qe)(
|
|
1087
1088
|
"Invalid watch source: ",
|
|
1088
1089
|
M,
|
|
@@ -1097,7 +1098,7 @@ function kl(e, t, o = ce) {
|
|
|
1097
1098
|
return c(M);
|
|
1098
1099
|
if (W(M))
|
|
1099
1100
|
return l ? l(M, 2) : M();
|
|
1100
|
-
pe.NODE_ENV !== "production" &&
|
|
1101
|
+
pe.NODE_ENV !== "production" && u(M);
|
|
1101
1102
|
})) : W(e) ? t ? p = l ? () => l(e, 2) : e : p = () => {
|
|
1102
1103
|
if (w) {
|
|
1103
1104
|
et();
|
|
@@ -1114,7 +1115,7 @@ function kl(e, t, o = ce) {
|
|
|
1114
1115
|
} finally {
|
|
1115
1116
|
Ht = M;
|
|
1116
1117
|
}
|
|
1117
|
-
} : (p = De, pe.NODE_ENV !== "production" &&
|
|
1118
|
+
} : (p = De, pe.NODE_ENV !== "production" && u(e)), t && n) {
|
|
1118
1119
|
const M = p, j = n === !0 ? 1 / 0 : n;
|
|
1119
1120
|
p = () => kt(M(), j);
|
|
1120
1121
|
}
|
|
@@ -1211,7 +1212,7 @@ function O(e, ...t) {
|
|
|
1211
1212
|
}).join(""),
|
|
1212
1213
|
o && o.proxy,
|
|
1213
1214
|
n.map(
|
|
1214
|
-
({ vnode: i }) => `at <${
|
|
1215
|
+
({ vnode: i }) => `at <${Jo(o, i.type)}>`
|
|
1215
1216
|
).join(`
|
|
1216
1217
|
`),
|
|
1217
1218
|
n
|
|
@@ -1248,7 +1249,7 @@ function Nl(e) {
|
|
|
1248
1249
|
}), t;
|
|
1249
1250
|
}
|
|
1250
1251
|
function Ol({ vnode: e, recurseCount: t }) {
|
|
1251
|
-
const o = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, n = ` at <${
|
|
1252
|
+
const o = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, n = ` at <${Jo(
|
|
1252
1253
|
e.component,
|
|
1253
1254
|
e.type,
|
|
1254
1255
|
r
|
|
@@ -1327,12 +1328,12 @@ function Bo(e, t, o, r = !0) {
|
|
|
1327
1328
|
const n = t ? t.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: a } = t && t.appContext.config || ce;
|
|
1328
1329
|
if (t) {
|
|
1329
1330
|
let s = t.parent;
|
|
1330
|
-
const l = t.proxy,
|
|
1331
|
+
const l = t.proxy, u = v.NODE_ENV !== "production" ? Tn[o] : `https://vuejs.org/error-reference/#runtime-${o}`;
|
|
1331
1332
|
for (; s; ) {
|
|
1332
1333
|
const c = s.ec;
|
|
1333
1334
|
if (c) {
|
|
1334
1335
|
for (let d = 0; d < c.length; d++)
|
|
1335
|
-
if (c[d](e, l,
|
|
1336
|
+
if (c[d](e, l, u) === !1)
|
|
1336
1337
|
return;
|
|
1337
1338
|
}
|
|
1338
1339
|
s = s.parent;
|
|
@@ -1341,7 +1342,7 @@ function Bo(e, t, o, r = !0) {
|
|
|
1341
1342
|
et(), po(i, null, 10, [
|
|
1342
1343
|
e,
|
|
1343
1344
|
l,
|
|
1344
|
-
|
|
1345
|
+
u
|
|
1345
1346
|
]), tt();
|
|
1346
1347
|
return;
|
|
1347
1348
|
}
|
|
@@ -1455,7 +1456,7 @@ function Dn(e, t) {
|
|
|
1455
1456
|
}
|
|
1456
1457
|
return e.set(t, o + 1), !1;
|
|
1457
1458
|
}
|
|
1458
|
-
let
|
|
1459
|
+
let Je = !1;
|
|
1459
1460
|
const ar = /* @__PURE__ */ new Map();
|
|
1460
1461
|
v.NODE_ENV !== "production" && (Ho().__VUE_HMR_RUNTIME__ = {
|
|
1461
1462
|
createRecord: Kr(Ea),
|
|
@@ -1483,7 +1484,7 @@ function vr(e) {
|
|
|
1483
1484
|
function Ml(e, t) {
|
|
1484
1485
|
const o = Xt.get(e);
|
|
1485
1486
|
o && (o.initialDef.render = t, [...o.instances].forEach((r) => {
|
|
1486
|
-
t && (r.render = t, vr(r.type).render = t), r.renderCache = [],
|
|
1487
|
+
t && (r.render = t, vr(r.type).render = t), r.renderCache = [], Je = !0, r.job.flags & 8 || r.update(), Je = !1;
|
|
1487
1488
|
}));
|
|
1488
1489
|
}
|
|
1489
1490
|
function Il(e, t) {
|
|
@@ -1495,7 +1496,7 @@ function Il(e, t) {
|
|
|
1495
1496
|
const i = r[n], a = vr(i.type);
|
|
1496
1497
|
let s = ar.get(a);
|
|
1497
1498
|
s || (a !== o.initialDef && ei(a, t), ar.set(a, s = /* @__PURE__ */ new Set())), s.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (s.add(i), i.ceReload(t.styles), s.delete(i)) : i.parent ? Vr(() => {
|
|
1498
|
-
i.job.flags & 8 || (
|
|
1499
|
+
i.job.flags & 8 || (Je = !0, i.parent.update(), Je = !1, s.delete(i));
|
|
1499
1500
|
}) : i.appContext.reload ? i.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
1500
1501
|
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1501
1502
|
), i.root.ce && i !== i.root && i.root.ce._removeChildStyle(a);
|
|
@@ -1650,12 +1651,12 @@ function jt(e, t, o, r) {
|
|
|
1650
1651
|
]), tt());
|
|
1651
1652
|
}
|
|
1652
1653
|
}
|
|
1653
|
-
const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport,
|
|
1654
|
+
const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Gt = (e) => e && (e.disabled || e.disabled === ""), ti = (e) => e && (e.defer || e.defer === ""), oi = (e) => typeof SVGElement < "u" && e instanceof SVGElement, ri = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, sn = (e, t) => {
|
|
1654
1655
|
const o = e && e.to;
|
|
1655
1656
|
if (ve(o))
|
|
1656
1657
|
if (t) {
|
|
1657
1658
|
const r = t(o);
|
|
1658
|
-
return v.NODE_ENV !== "production" && !r && !
|
|
1659
|
+
return v.NODE_ENV !== "production" && !r && !Gt(e) && O(
|
|
1659
1660
|
`Failed to locate Teleport target with selector "${o}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`
|
|
1660
1661
|
), r;
|
|
1661
1662
|
} else
|
|
@@ -1663,19 +1664,19 @@ const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e)
|
|
|
1663
1664
|
"Current renderer does not support string target for Teleports. (missing querySelector renderer option)"
|
|
1664
1665
|
), null;
|
|
1665
1666
|
else
|
|
1666
|
-
return v.NODE_ENV !== "production" && !o && !
|
|
1667
|
+
return v.NODE_ENV !== "production" && !o && !Gt(e) && O(`Invalid Teleport target: ${o}`), o;
|
|
1667
1668
|
}, Va = {
|
|
1668
1669
|
name: "Teleport",
|
|
1669
1670
|
__isTeleport: !0,
|
|
1670
|
-
process(e, t, o, r, n, i, a, s, l,
|
|
1671
|
+
process(e, t, o, r, n, i, a, s, l, u) {
|
|
1671
1672
|
const {
|
|
1672
1673
|
mc: c,
|
|
1673
1674
|
pc: d,
|
|
1674
1675
|
pbc: p,
|
|
1675
1676
|
o: { insert: w, querySelector: N, createText: b, createComment: F }
|
|
1676
|
-
} =
|
|
1677
|
+
} = u, R = Gt(t.props);
|
|
1677
1678
|
let { shapeFlag: z, children: U, dynamicChildren: fe } = t;
|
|
1678
|
-
if (v.NODE_ENV !== "production" &&
|
|
1679
|
+
if (v.NODE_ENV !== "production" && Je && (l = !1, fe = null), e == null) {
|
|
1679
1680
|
const M = t.el = v.NODE_ENV !== "production" ? F("teleport start") : b(""), j = t.anchor = v.NODE_ENV !== "production" ? F("teleport end") : b("");
|
|
1680
1681
|
w(M, o, r), w(j, o, r);
|
|
1681
1682
|
const q = (_, I) => {
|
|
@@ -1713,13 +1714,13 @@ const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e)
|
|
|
1713
1714
|
a,
|
|
1714
1715
|
s,
|
|
1715
1716
|
l,
|
|
1716
|
-
|
|
1717
|
+
u
|
|
1717
1718
|
);
|
|
1718
1719
|
}, i);
|
|
1719
1720
|
return;
|
|
1720
1721
|
}
|
|
1721
1722
|
t.el = e.el, t.targetStart = e.targetStart;
|
|
1722
|
-
const M = t.anchor = e.anchor, j = t.target = e.target, q = t.targetAnchor = e.targetAnchor, H =
|
|
1723
|
+
const M = t.anchor = e.anchor, j = t.target = e.target, q = t.targetAnchor = e.targetAnchor, H = Gt(e.props), _ = H ? o : j, I = H ? M : q;
|
|
1723
1724
|
if (a === "svg" || oi(j) ? a = "svg" : (a === "mathml" || ri(j)) && (a = "mathml"), fe ? (p(
|
|
1724
1725
|
e.dynamicChildren,
|
|
1725
1726
|
fe,
|
|
@@ -1743,7 +1744,7 @@ const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e)
|
|
|
1743
1744
|
t,
|
|
1744
1745
|
o,
|
|
1745
1746
|
M,
|
|
1746
|
-
|
|
1747
|
+
u,
|
|
1747
1748
|
1
|
|
1748
1749
|
);
|
|
1749
1750
|
else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
|
|
@@ -1755,7 +1756,7 @@ const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e)
|
|
|
1755
1756
|
t,
|
|
1756
1757
|
P,
|
|
1757
1758
|
null,
|
|
1758
|
-
|
|
1759
|
+
u,
|
|
1759
1760
|
0
|
|
1760
1761
|
) : v.NODE_ENV !== "production" && O(
|
|
1761
1762
|
"Invalid Teleport target on update:",
|
|
@@ -1766,7 +1767,7 @@ const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e)
|
|
|
1766
1767
|
t,
|
|
1767
1768
|
j,
|
|
1768
1769
|
q,
|
|
1769
|
-
|
|
1770
|
+
u,
|
|
1770
1771
|
1
|
|
1771
1772
|
);
|
|
1772
1773
|
sr(t, R);
|
|
@@ -1777,13 +1778,13 @@ const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e)
|
|
|
1777
1778
|
shapeFlag: a,
|
|
1778
1779
|
children: s,
|
|
1779
1780
|
anchor: l,
|
|
1780
|
-
targetStart:
|
|
1781
|
+
targetStart: u,
|
|
1781
1782
|
targetAnchor: c,
|
|
1782
1783
|
target: d,
|
|
1783
1784
|
props: p
|
|
1784
1785
|
} = e;
|
|
1785
|
-
if (d && (n(
|
|
1786
|
-
const w = i || !
|
|
1786
|
+
if (d && (n(u), n(c)), i && n(l), a & 16) {
|
|
1787
|
+
const w = i || !Gt(p);
|
|
1787
1788
|
for (let N = 0; N < s.length; N++) {
|
|
1788
1789
|
const b = s[N];
|
|
1789
1790
|
r(
|
|
@@ -1801,11 +1802,11 @@ const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e)
|
|
|
1801
1802
|
};
|
|
1802
1803
|
function er(e, t, o, { o: { insert: r }, m: n }, i = 2) {
|
|
1803
1804
|
i === 0 && r(e.targetAnchor, t, o);
|
|
1804
|
-
const { el: a, anchor: s, shapeFlag: l, children:
|
|
1805
|
-
if (d && r(a, t, o), (!d ||
|
|
1806
|
-
for (let p = 0; p <
|
|
1805
|
+
const { el: a, anchor: s, shapeFlag: l, children: u, props: c } = e, d = i === 2;
|
|
1806
|
+
if (d && r(a, t, o), (!d || Gt(c)) && l & 16)
|
|
1807
|
+
for (let p = 0; p < u.length; p++)
|
|
1807
1808
|
n(
|
|
1808
|
-
|
|
1809
|
+
u[p],
|
|
1809
1810
|
t,
|
|
1810
1811
|
o,
|
|
1811
1812
|
2
|
|
@@ -1813,7 +1814,7 @@ function er(e, t, o, { o: { insert: r }, m: n }, i = 2) {
|
|
|
1813
1814
|
d && r(s, t, o);
|
|
1814
1815
|
}
|
|
1815
1816
|
function Bl(e, t, o, r, n, i, {
|
|
1816
|
-
o: { nextSibling: a, parentNode: s, querySelector: l, insert:
|
|
1817
|
+
o: { nextSibling: a, parentNode: s, querySelector: l, insert: u, createText: c }
|
|
1817
1818
|
}, d) {
|
|
1818
1819
|
function p(b, F, R, z) {
|
|
1819
1820
|
F.anchor = d(
|
|
@@ -1829,7 +1830,7 @@ function Bl(e, t, o, r, n, i, {
|
|
|
1829
1830
|
const w = t.target = sn(
|
|
1830
1831
|
t.props,
|
|
1831
1832
|
l
|
|
1832
|
-
), N =
|
|
1833
|
+
), N = Gt(t.props);
|
|
1833
1834
|
if (w) {
|
|
1834
1835
|
const b = w._lpa || w.firstChild;
|
|
1835
1836
|
if (t.shapeFlag & 16)
|
|
@@ -1854,7 +1855,7 @@ function Bl(e, t, o, r, n, i, {
|
|
|
1854
1855
|
}
|
|
1855
1856
|
F = a(F);
|
|
1856
1857
|
}
|
|
1857
|
-
t.targetAnchor || Aa(w, t, c,
|
|
1858
|
+
t.targetAnchor || Aa(w, t, c, u), d(
|
|
1858
1859
|
b && a(b),
|
|
1859
1860
|
t,
|
|
1860
1861
|
w,
|
|
@@ -1933,15 +1934,15 @@ const We = [Function, Array], Ma = {
|
|
|
1933
1934
|
const l = ni(i);
|
|
1934
1935
|
if (!l)
|
|
1935
1936
|
return Wr(i);
|
|
1936
|
-
let
|
|
1937
|
+
let u = ln(
|
|
1937
1938
|
l,
|
|
1938
1939
|
a,
|
|
1939
1940
|
r,
|
|
1940
1941
|
o,
|
|
1941
1942
|
// #11061, ensure enterHooks is fresh after clone
|
|
1942
|
-
(d) =>
|
|
1943
|
+
(d) => u = d
|
|
1943
1944
|
);
|
|
1944
|
-
l.type !== Ee && Io(l,
|
|
1945
|
+
l.type !== Ee && Io(l, u);
|
|
1945
1946
|
let c = o.subTree && ni(o.subTree);
|
|
1946
1947
|
if (c && c.type !== Ee && !Ut(c, l) && Ia(o).type !== Ee) {
|
|
1947
1948
|
let d = ln(
|
|
@@ -1960,9 +1961,9 @@ const We = [Function, Array], Ma = {
|
|
|
1960
1961
|
c
|
|
1961
1962
|
);
|
|
1962
1963
|
b[String(c.key)] = c, p[_t] = () => {
|
|
1963
|
-
w(), p[_t] = void 0, delete
|
|
1964
|
-
},
|
|
1965
|
-
N(), delete
|
|
1964
|
+
w(), p[_t] = void 0, delete u.delayedLeave, c = void 0;
|
|
1965
|
+
}, u.delayedLeave = () => {
|
|
1966
|
+
N(), delete u.delayedLeave, c = void 0;
|
|
1966
1967
|
};
|
|
1967
1968
|
} : c = void 0;
|
|
1968
1969
|
} else c && (c = void 0);
|
|
@@ -1987,7 +1988,7 @@ function Pa(e) {
|
|
|
1987
1988
|
}
|
|
1988
1989
|
return t;
|
|
1989
1990
|
}
|
|
1990
|
-
const
|
|
1991
|
+
const Gl = ql;
|
|
1991
1992
|
function ja(e, t) {
|
|
1992
1993
|
const { leavingVNodes: o } = e;
|
|
1993
1994
|
let r = o.get(t.type);
|
|
@@ -1999,7 +2000,7 @@ function ln(e, t, o, r, n) {
|
|
|
1999
2000
|
mode: a,
|
|
2000
2001
|
persisted: s = !1,
|
|
2001
2002
|
onBeforeEnter: l,
|
|
2002
|
-
onEnter:
|
|
2003
|
+
onEnter: u,
|
|
2003
2004
|
onAfterEnter: c,
|
|
2004
2005
|
onEnterCancelled: d,
|
|
2005
2006
|
onBeforeLeave: p,
|
|
@@ -2038,10 +2039,10 @@ function ln(e, t, o, r, n) {
|
|
|
2038
2039
|
P && Ut(e, P) && P.el[_t] && P.el[_t](), j(I, [_]);
|
|
2039
2040
|
},
|
|
2040
2041
|
enter(_) {
|
|
2041
|
-
let I =
|
|
2042
|
+
let I = u, P = c, $ = d;
|
|
2042
2043
|
if (!o.isMounted)
|
|
2043
2044
|
if (i)
|
|
2044
|
-
I = R ||
|
|
2045
|
+
I = R || u, P = z || c, $ = U || d;
|
|
2045
2046
|
else
|
|
2046
2047
|
return;
|
|
2047
2048
|
let se = !1;
|
|
@@ -2147,14 +2148,14 @@ function So(e, t, o, r, n = !1) {
|
|
|
2147
2148
|
);
|
|
2148
2149
|
return;
|
|
2149
2150
|
}
|
|
2150
|
-
const
|
|
2151
|
+
const u = t && t.r, c = s.refs === ce ? s.refs = {} : s.refs, d = s.setupState, p = X(d), w = d === ce ? Yi : (b) => v.NODE_ENV !== "production" && (ee(p, b) && !Se(p[b]) && O(
|
|
2151
2152
|
`Template ref "${b}" used on a non-ref value. It will not work in the production build.`
|
|
2152
2153
|
), ii.has(p[b])) ? !1 : ee(p, b), N = (b) => v.NODE_ENV === "production" || !ii.has(b);
|
|
2153
|
-
if (
|
|
2154
|
-
if (ai(t), ve(
|
|
2155
|
-
c[
|
|
2156
|
-
else if (Se(
|
|
2157
|
-
N(
|
|
2154
|
+
if (u != null && u !== l) {
|
|
2155
|
+
if (ai(t), ve(u))
|
|
2156
|
+
c[u] = null, w(u) && (d[u] = null);
|
|
2157
|
+
else if (Se(u)) {
|
|
2158
|
+
N(u) && (u.value = null);
|
|
2158
2159
|
const b = t;
|
|
2159
2160
|
b.k && (c[b.k] = null);
|
|
2160
2161
|
}
|
|
@@ -2196,7 +2197,7 @@ function ai(e) {
|
|
|
2196
2197
|
Ho().requestIdleCallback;
|
|
2197
2198
|
Ho().cancelIdleCallback;
|
|
2198
2199
|
const so = (e) => !!e.type.__asyncLoader, Wo = (e) => e.type.__isKeepAlive;
|
|
2199
|
-
function
|
|
2200
|
+
function Jl(e, t) {
|
|
2200
2201
|
Ra(e, "a", t);
|
|
2201
2202
|
}
|
|
2202
2203
|
function Yl(e, t) {
|
|
@@ -2234,7 +2235,7 @@ function Ar(e, t, o = Ne, r = !1) {
|
|
|
2234
2235
|
if (o) {
|
|
2235
2236
|
const n = o[e] || (o[e] = []), i = t.__weh || (t.__weh = (...a) => {
|
|
2236
2237
|
et();
|
|
2237
|
-
const s =
|
|
2238
|
+
const s = Go(o), l = nt(t, o, e, a);
|
|
2238
2239
|
return s(), tt(), l;
|
|
2239
2240
|
});
|
|
2240
2241
|
return r ? n.unshift(i) : n.push(i), i;
|
|
@@ -2297,11 +2298,11 @@ function Fe(e, t, o, r) {
|
|
|
2297
2298
|
const i = o, a = L(e);
|
|
2298
2299
|
if (a || ve(e)) {
|
|
2299
2300
|
const s = a && It(e);
|
|
2300
|
-
let l = !1,
|
|
2301
|
-
s && (l = !Le(e),
|
|
2301
|
+
let l = !1, u = !1;
|
|
2302
|
+
s && (l = !Le(e), u = ot(e), e = Cr(e)), n = new Array(e.length);
|
|
2302
2303
|
for (let c = 0, d = e.length; c < d; c++)
|
|
2303
2304
|
n[c] = t(
|
|
2304
|
-
l ?
|
|
2305
|
+
l ? u ? co(rt(e[c])) : rt(e[c]) : e[c],
|
|
2305
2306
|
c,
|
|
2306
2307
|
void 0,
|
|
2307
2308
|
i
|
|
@@ -2319,7 +2320,7 @@ function Fe(e, t, o, r) {
|
|
|
2319
2320
|
else {
|
|
2320
2321
|
const s = Object.keys(e);
|
|
2321
2322
|
n = new Array(s.length);
|
|
2322
|
-
for (let l = 0,
|
|
2323
|
+
for (let l = 0, u = s.length; l < u; l++) {
|
|
2323
2324
|
const c = s[l];
|
|
2324
2325
|
n[l] = t(e[c], c, l, i);
|
|
2325
2326
|
}
|
|
@@ -2330,12 +2331,12 @@ function Fe(e, t, o, r) {
|
|
|
2330
2331
|
}
|
|
2331
2332
|
function vt(e, t, o = {}, r, n) {
|
|
2332
2333
|
if (Oe.ce || Oe.parent && so(Oe.parent) && Oe.parent.ce) {
|
|
2333
|
-
const
|
|
2334
|
+
const u = Object.keys(o).length > 0;
|
|
2334
2335
|
return t !== "default" && (o.name = t), y(), me(
|
|
2335
2336
|
re,
|
|
2336
2337
|
null,
|
|
2337
2338
|
[Y("slot", o, r && r())],
|
|
2338
|
-
|
|
2339
|
+
u ? -2 : 64
|
|
2339
2340
|
);
|
|
2340
2341
|
}
|
|
2341
2342
|
let i = e[t];
|
|
@@ -2358,7 +2359,7 @@ function vt(e, t, o = {}, r, n) {
|
|
|
2358
2359
|
function Wa(e) {
|
|
2359
2360
|
return e.some((t) => Zt(t) ? !(t.type === Ee || t.type === re && !Wa(t.children)) : !0) ? e : null;
|
|
2360
2361
|
}
|
|
2361
|
-
const cn = (e) => e ? vs(e) ? Ir(e) : cn(e.parent) : null,
|
|
2362
|
+
const cn = (e) => e ? vs(e) ? Ir(e) : cn(e.parent) : null, Jt = (
|
|
2362
2363
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
2363
2364
|
// due to type annotation
|
|
2364
2365
|
/* @__PURE__ */ ge(/* @__PURE__ */ Object.create(null), {
|
|
@@ -2373,7 +2374,7 @@ const cn = (e) => e ? vs(e) ? Ir(e) : cn(e.parent) : null, Gt = (
|
|
|
2373
2374
|
$root: (e) => cn(e.root),
|
|
2374
2375
|
$host: (e) => e.ce,
|
|
2375
2376
|
$emit: (e) => e.emit,
|
|
2376
|
-
$options: (e) =>
|
|
2377
|
+
$options: (e) => Ja(e),
|
|
2377
2378
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
2378
2379
|
Vr(e.update);
|
|
2379
2380
|
}),
|
|
@@ -2412,10 +2413,10 @@ const cn = (e) => e ? vs(e) ? Ir(e) : cn(e.parent) : null, Gt = (
|
|
|
2412
2413
|
dn && (a[t] = 0);
|
|
2413
2414
|
}
|
|
2414
2415
|
}
|
|
2415
|
-
const
|
|
2416
|
+
const u = Jt[t];
|
|
2416
2417
|
let c, d;
|
|
2417
|
-
if (
|
|
2418
|
-
return t === "$attrs" ? (Ce(e.attrs, "get", ""), v.NODE_ENV !== "production" && yr()) : v.NODE_ENV !== "production" && t === "$slots" && Ce(e, "get", t),
|
|
2418
|
+
if (u)
|
|
2419
|
+
return t === "$attrs" ? (Ce(e.attrs, "get", ""), v.NODE_ENV !== "production" && yr()) : v.NODE_ENV !== "production" && t === "$slots" && Ce(e, "get", t), u(e);
|
|
2419
2420
|
if (
|
|
2420
2421
|
// css module (injected by vue-loader)
|
|
2421
2422
|
(c = s.__cssModules) && (c = c[t])
|
|
@@ -2452,7 +2453,7 @@ const cn = (e) => e ? vs(e) ? Ir(e) : cn(e.parent) : null, Gt = (
|
|
|
2452
2453
|
_: { data: e, setupState: t, accessCache: o, ctx: r, appContext: n, props: i, type: a }
|
|
2453
2454
|
}, s) {
|
|
2454
2455
|
let l;
|
|
2455
|
-
return !!(o[s] || e !== ce && s[0] !== "$" && ee(e, s) || qr(t, s) || ee(i, s) || ee(r, s) || ee(
|
|
2456
|
+
return !!(o[s] || e !== ce && s[0] !== "$" && ee(e, s) || qr(t, s) || ee(i, s) || ee(r, s) || ee(Jt, s) || ee(n.config.globalProperties, s) || (l = a.__cssModules) && l[s]);
|
|
2456
2457
|
},
|
|
2457
2458
|
defineProperty(e, t, o) {
|
|
2458
2459
|
return o.get != null ? e._.accessCache[t] = 0 : ee(o, "value") && this.set(e, t, o.value, null), Reflect.defineProperty(e, t, o);
|
|
@@ -2467,11 +2468,11 @@ function ac(e) {
|
|
|
2467
2468
|
configurable: !0,
|
|
2468
2469
|
enumerable: !1,
|
|
2469
2470
|
get: () => e
|
|
2470
|
-
}), Object.keys(
|
|
2471
|
+
}), Object.keys(Jt).forEach((o) => {
|
|
2471
2472
|
Object.defineProperty(t, o, {
|
|
2472
2473
|
configurable: !0,
|
|
2473
2474
|
enumerable: !1,
|
|
2474
|
-
get: () =>
|
|
2475
|
+
get: () => Jt[o](e),
|
|
2475
2476
|
// intercepted by the proxy so no need for implementation,
|
|
2476
2477
|
// but needed to prevent set errors
|
|
2477
2478
|
set: De
|
|
@@ -2527,7 +2528,7 @@ function cc() {
|
|
|
2527
2528
|
}
|
|
2528
2529
|
let dn = !0;
|
|
2529
2530
|
function dc(e) {
|
|
2530
|
-
const t =
|
|
2531
|
+
const t = Ja(e), o = e.proxy, r = e.ctx;
|
|
2531
2532
|
dn = !1, t.beforeCreate && ci(t.beforeCreate, e, "bc");
|
|
2532
2533
|
const {
|
|
2533
2534
|
// state
|
|
@@ -2536,7 +2537,7 @@ function dc(e) {
|
|
|
2536
2537
|
methods: a,
|
|
2537
2538
|
watch: s,
|
|
2538
2539
|
provide: l,
|
|
2539
|
-
inject:
|
|
2540
|
+
inject: u,
|
|
2540
2541
|
// lifecycle
|
|
2541
2542
|
created: c,
|
|
2542
2543
|
beforeMount: d,
|
|
@@ -2568,7 +2569,7 @@ function dc(e) {
|
|
|
2568
2569
|
for (const Q in Z)
|
|
2569
2570
|
$e("Props", Q);
|
|
2570
2571
|
}
|
|
2571
|
-
if (
|
|
2572
|
+
if (u && fc(u, r, $e), a)
|
|
2572
2573
|
for (const Z in a) {
|
|
2573
2574
|
const Q = a[Z];
|
|
2574
2575
|
W(Q) ? (v.NODE_ENV !== "production" ? Object.defineProperty(r, Z, {
|
|
@@ -2619,7 +2620,7 @@ function dc(e) {
|
|
|
2619
2620
|
}
|
|
2620
2621
|
if (s)
|
|
2621
2622
|
for (const Z in s)
|
|
2622
|
-
|
|
2623
|
+
Ga(s[Z], r, o, Z);
|
|
2623
2624
|
if (l) {
|
|
2624
2625
|
const Z = W(l) ? l.call(o) : l;
|
|
2625
2626
|
Reflect.ownKeys(Z).forEach((Q) => {
|
|
@@ -2630,7 +2631,7 @@ function dc(e) {
|
|
|
2630
2631
|
function xe(Z, Q) {
|
|
2631
2632
|
L(Q) ? Q.forEach((it) => Z(it.bind(o))) : Q && Z(Q.bind(o));
|
|
2632
2633
|
}
|
|
2633
|
-
if (xe(Zl, d), xe(Pt, p), xe(Ql, w), xe(ec, N), xe(
|
|
2634
|
+
if (xe(Zl, d), xe(Pt, p), xe(Ql, w), xe(ec, N), xe(Jl, b), xe(Yl, F), xe(nc, H), xe(rc, j), xe(oc, q), xe(za, z), xe(An, fe), xe(tc, _), L(I))
|
|
2634
2635
|
if (I.length) {
|
|
2635
2636
|
const Z = e.exposed || (e.exposed = {});
|
|
2636
2637
|
I.forEach((Q) => {
|
|
@@ -2667,7 +2668,7 @@ function ci(e, t, o) {
|
|
|
2667
2668
|
o
|
|
2668
2669
|
);
|
|
2669
2670
|
}
|
|
2670
|
-
function
|
|
2671
|
+
function Ga(e, t, o, r) {
|
|
2671
2672
|
let n = r.includes(".") ? Qa(o, r) : () => o[r];
|
|
2672
2673
|
if (ve(e)) {
|
|
2673
2674
|
const i = t[e];
|
|
@@ -2676,14 +2677,14 @@ function Ja(e, t, o, r) {
|
|
|
2676
2677
|
Te(n, e.bind(o));
|
|
2677
2678
|
else if (ae(e))
|
|
2678
2679
|
if (L(e))
|
|
2679
|
-
e.forEach((i) =>
|
|
2680
|
+
e.forEach((i) => Ga(i, t, o, r));
|
|
2680
2681
|
else {
|
|
2681
2682
|
const i = W(e.handler) ? e.handler.bind(o) : t[e.handler];
|
|
2682
2683
|
W(i) ? Te(n, i, e) : v.NODE_ENV !== "production" && O(`Invalid watch handler specified by key "${e.handler}"`, i);
|
|
2683
2684
|
}
|
|
2684
2685
|
else v.NODE_ENV !== "production" && O(`Invalid watch option: "${r}"`, e);
|
|
2685
2686
|
}
|
|
2686
|
-
function
|
|
2687
|
+
function Ja(e) {
|
|
2687
2688
|
const t = e.type, { mixins: o, extends: r } = t, {
|
|
2688
2689
|
mixins: n,
|
|
2689
2690
|
optionsCache: i,
|
|
@@ -2691,7 +2692,7 @@ function Ga(e) {
|
|
|
2691
2692
|
} = e.appContext, s = i.get(t);
|
|
2692
2693
|
let l;
|
|
2693
2694
|
return s ? l = s : !n.length && !o && !r ? l = t : (l = {}, n.length && n.forEach(
|
|
2694
|
-
(
|
|
2695
|
+
(u) => br(l, u, a, !0)
|
|
2695
2696
|
), br(l, t, a)), ae(t) && i.set(t, l), l;
|
|
2696
2697
|
}
|
|
2697
2698
|
function br(e, t, o, r = !1) {
|
|
@@ -2809,7 +2810,7 @@ function vc(e, t) {
|
|
|
2809
2810
|
W(r) || (r = ge({}, r)), n != null && !ae(n) && (v.NODE_ENV !== "production" && O("root props passed to app.mount() must be an object."), n = null);
|
|
2810
2811
|
const i = Ya(), a = /* @__PURE__ */ new WeakSet(), s = [];
|
|
2811
2812
|
let l = !1;
|
|
2812
|
-
const
|
|
2813
|
+
const u = i.app = {
|
|
2813
2814
|
_uid: gc++,
|
|
2814
2815
|
_component: r,
|
|
2815
2816
|
_props: n,
|
|
@@ -2826,20 +2827,20 @@ function vc(e, t) {
|
|
|
2826
2827
|
);
|
|
2827
2828
|
},
|
|
2828
2829
|
use(c, ...d) {
|
|
2829
|
-
return a.has(c) ? v.NODE_ENV !== "production" && O("Plugin has already been applied to target app.") : c && W(c.install) ? (a.add(c), c.install(
|
|
2830
|
+
return a.has(c) ? v.NODE_ENV !== "production" && O("Plugin has already been applied to target app.") : c && W(c.install) ? (a.add(c), c.install(u, ...d)) : W(c) ? (a.add(c), c(u, ...d)) : v.NODE_ENV !== "production" && O(
|
|
2830
2831
|
'A plugin must either be a function or an object with an "install" function.'
|
|
2831
|
-
),
|
|
2832
|
+
), u;
|
|
2832
2833
|
},
|
|
2833
2834
|
mixin(c) {
|
|
2834
2835
|
return i.mixins.includes(c) ? v.NODE_ENV !== "production" && O(
|
|
2835
2836
|
"Mixin has already been applied to target app" + (c.name ? `: ${c.name}` : "")
|
|
2836
|
-
) : i.mixins.push(c),
|
|
2837
|
+
) : i.mixins.push(c), u;
|
|
2837
2838
|
},
|
|
2838
2839
|
component(c, d) {
|
|
2839
|
-
return v.NODE_ENV !== "production" && vn(c, i.config), d ? (v.NODE_ENV !== "production" && i.components[c] && O(`Component "${c}" has already been registered in target app.`), i.components[c] = d,
|
|
2840
|
+
return v.NODE_ENV !== "production" && vn(c, i.config), d ? (v.NODE_ENV !== "production" && i.components[c] && O(`Component "${c}" has already been registered in target app.`), i.components[c] = d, u) : i.components[c];
|
|
2840
2841
|
},
|
|
2841
2842
|
directive(c, d) {
|
|
2842
|
-
return v.NODE_ENV !== "production" && Ca(c), d ? (v.NODE_ENV !== "production" && i.directives[c] && O(`Directive "${c}" has already been registered in target app.`), i.directives[c] = d,
|
|
2843
|
+
return v.NODE_ENV !== "production" && Ca(c), d ? (v.NODE_ENV !== "production" && i.directives[c] && O(`Directive "${c}" has already been registered in target app.`), i.directives[c] = d, u) : i.directives[c];
|
|
2843
2844
|
},
|
|
2844
2845
|
mount(c, d, p) {
|
|
2845
2846
|
if (l)
|
|
@@ -2850,11 +2851,11 @@ function vc(e, t) {
|
|
|
2850
2851
|
v.NODE_ENV !== "production" && c.__vue_app__ && O(
|
|
2851
2852
|
"There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first."
|
|
2852
2853
|
);
|
|
2853
|
-
const w =
|
|
2854
|
+
const w = u._ceVNode || Y(r, n);
|
|
2854
2855
|
return w.appContext = i, p === !0 ? p = "svg" : p === !1 && (p = void 0), v.NODE_ENV !== "production" && (i.reload = () => {
|
|
2855
2856
|
const N = wt(w);
|
|
2856
2857
|
N.el = null, e(N, c, p);
|
|
2857
|
-
}), e(w, c, p), l = !0,
|
|
2858
|
+
}), e(w, c, p), l = !0, u._container = c, c.__vue_app__ = u, v.NODE_ENV !== "production" && (u._instance = w.component, Pl(u, xi)), Ir(w.component);
|
|
2858
2859
|
}
|
|
2859
2860
|
},
|
|
2860
2861
|
onUnmount(c) {
|
|
@@ -2865,20 +2866,20 @@ function vc(e, t) {
|
|
|
2865
2866
|
unmount() {
|
|
2866
2867
|
l ? (nt(
|
|
2867
2868
|
s,
|
|
2868
|
-
|
|
2869
|
+
u._instance,
|
|
2869
2870
|
16
|
|
2870
|
-
), e(null,
|
|
2871
|
+
), e(null, u._container), v.NODE_ENV !== "production" && (u._instance = null, jl(u)), delete u._container.__vue_app__) : v.NODE_ENV !== "production" && O("Cannot unmount an app that is not mounted.");
|
|
2871
2872
|
},
|
|
2872
2873
|
provide(c, d) {
|
|
2873
2874
|
return v.NODE_ENV !== "production" && c in i.provides && (ee(i.provides, c) ? O(
|
|
2874
2875
|
`App already provides property with key "${String(c)}". It will be overwritten with the new value.`
|
|
2875
2876
|
) : O(
|
|
2876
2877
|
`App already provides property with key "${String(c)}" inherited from its parent element. It will be overwritten with the new value.`
|
|
2877
|
-
)), i.provides[c] = d,
|
|
2878
|
+
)), i.provides[c] = d, u;
|
|
2878
2879
|
},
|
|
2879
2880
|
runWithContext(c) {
|
|
2880
2881
|
const d = lo;
|
|
2881
|
-
lo =
|
|
2882
|
+
lo = u;
|
|
2882
2883
|
try {
|
|
2883
2884
|
return c();
|
|
2884
2885
|
} finally {
|
|
@@ -2886,7 +2887,7 @@ function vc(e, t) {
|
|
|
2886
2887
|
}
|
|
2887
2888
|
}
|
|
2888
2889
|
};
|
|
2889
|
-
return
|
|
2890
|
+
return u;
|
|
2890
2891
|
};
|
|
2891
2892
|
}
|
|
2892
2893
|
let lo = null;
|
|
@@ -2933,11 +2934,11 @@ function Za(e, t, o = ce) {
|
|
|
2933
2934
|
const s = ge({}, o);
|
|
2934
2935
|
v.NODE_ENV !== "production" && (s.onWarn = O);
|
|
2935
2936
|
const l = t && r || !t && i !== "post";
|
|
2936
|
-
let
|
|
2937
|
+
let u;
|
|
2937
2938
|
if (jo) {
|
|
2938
2939
|
if (i === "sync") {
|
|
2939
2940
|
const w = mc();
|
|
2940
|
-
|
|
2941
|
+
u = w.__watcherHandles || (w.__watcherHandles = []);
|
|
2941
2942
|
} else if (!l) {
|
|
2942
2943
|
const w = () => {
|
|
2943
2944
|
};
|
|
@@ -2955,13 +2956,13 @@ function Za(e, t, o = ce) {
|
|
|
2955
2956
|
t && (w.flags |= 4), d && (w.flags |= 2, c && (w.id = c.uid, w.i = c));
|
|
2956
2957
|
};
|
|
2957
2958
|
const p = kl(e, t, s);
|
|
2958
|
-
return jo && (
|
|
2959
|
+
return jo && (u ? u.push(p) : l && p()), p;
|
|
2959
2960
|
}
|
|
2960
2961
|
function bc(e, t, o) {
|
|
2961
2962
|
const r = this.proxy, n = ve(e) ? e.includes(".") ? Qa(r, e) : () => r[e] : e.bind(r, r);
|
|
2962
2963
|
let i;
|
|
2963
2964
|
W(t) ? i = t : (i = t.handler, o = t);
|
|
2964
|
-
const a =
|
|
2965
|
+
const a = Go(this), s = Za(n, i.bind(r), o);
|
|
2965
2966
|
return a(), s;
|
|
2966
2967
|
}
|
|
2967
2968
|
function Qa(e, t) {
|
|
@@ -2999,7 +3000,7 @@ function _c(e, t, ...o) {
|
|
|
2999
3000
|
if (a && (a.trim && (n = o.map((c) => ve(c) ? c.trim() : c)), a.number && (n = o.map($r))), v.NODE_ENV !== "production" && Ul(e, t, n), v.NODE_ENV !== "production") {
|
|
3000
3001
|
const c = t.toLowerCase();
|
|
3001
3002
|
c !== t && r[zt(c)] && O(
|
|
3002
|
-
`Event "${c}" is emitted in component ${
|
|
3003
|
+
`Event "${c}" is emitted in component ${Jo(
|
|
3003
3004
|
e,
|
|
3004
3005
|
e.type
|
|
3005
3006
|
)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Ue(
|
|
@@ -3015,14 +3016,14 @@ function _c(e, t, ...o) {
|
|
|
3015
3016
|
6,
|
|
3016
3017
|
n
|
|
3017
3018
|
);
|
|
3018
|
-
const
|
|
3019
|
-
if (
|
|
3019
|
+
const u = r[s + "Once"];
|
|
3020
|
+
if (u) {
|
|
3020
3021
|
if (!e.emitted)
|
|
3021
3022
|
e.emitted = {};
|
|
3022
3023
|
else if (e.emitted[s])
|
|
3023
3024
|
return;
|
|
3024
3025
|
e.emitted[s] = !0, nt(
|
|
3025
|
-
|
|
3026
|
+
u,
|
|
3026
3027
|
e,
|
|
3027
3028
|
6,
|
|
3028
3029
|
n
|
|
@@ -3037,8 +3038,8 @@ function es(e, t, o = !1) {
|
|
|
3037
3038
|
const i = e.emits;
|
|
3038
3039
|
let a = {}, s = !1;
|
|
3039
3040
|
if (!W(e)) {
|
|
3040
|
-
const l = (
|
|
3041
|
-
const c = es(
|
|
3041
|
+
const l = (u) => {
|
|
3042
|
+
const c = es(u, t, !0);
|
|
3042
3043
|
c && (s = !0, ge(a, c));
|
|
3043
3044
|
};
|
|
3044
3045
|
!o && t.mixins.length && t.mixins.forEach(l), e.extends && l(e.extends), e.mixins && e.mixins.forEach(l);
|
|
@@ -3062,7 +3063,7 @@ function ui(e) {
|
|
|
3062
3063
|
slots: a,
|
|
3063
3064
|
attrs: s,
|
|
3064
3065
|
emit: l,
|
|
3065
|
-
render:
|
|
3066
|
+
render: u,
|
|
3066
3067
|
renderCache: c,
|
|
3067
3068
|
props: d,
|
|
3068
3069
|
data: p,
|
|
@@ -3083,8 +3084,8 @@ function ui(e) {
|
|
|
3083
3084
|
), Reflect.get(q, H, _);
|
|
3084
3085
|
}
|
|
3085
3086
|
}) : M;
|
|
3086
|
-
R =
|
|
3087
|
-
|
|
3087
|
+
R = Ge(
|
|
3088
|
+
u.call(
|
|
3088
3089
|
j,
|
|
3089
3090
|
M,
|
|
3090
3091
|
c,
|
|
@@ -3096,7 +3097,7 @@ function ui(e) {
|
|
|
3096
3097
|
), z = s;
|
|
3097
3098
|
} else {
|
|
3098
3099
|
const M = t;
|
|
3099
|
-
v.NODE_ENV !== "production" && s === d && yr(), R =
|
|
3100
|
+
v.NODE_ENV !== "production" && s === d && yr(), R = Ge(
|
|
3100
3101
|
M.length > 1 ? M(
|
|
3101
3102
|
v.NODE_ENV !== "production" ? gt(d) : d,
|
|
3102
3103
|
v.NODE_ENV !== "production" ? {
|
|
@@ -3153,7 +3154,7 @@ const ts = (e) => {
|
|
|
3153
3154
|
const n = t.indexOf(r), i = o ? o.indexOf(r) : -1, a = (s) => {
|
|
3154
3155
|
t[n] = s, o && (i > -1 ? o[i] = s : s.patchFlag > 0 && (e.dynamicChildren = [...o, s]));
|
|
3155
3156
|
};
|
|
3156
|
-
return [
|
|
3157
|
+
return [Ge(r), a];
|
|
3157
3158
|
};
|
|
3158
3159
|
function In(e, t = !0) {
|
|
3159
3160
|
let o;
|
|
@@ -3183,24 +3184,24 @@ const kc = (e) => {
|
|
|
3183
3184
|
return o;
|
|
3184
3185
|
}, pi = (e) => e.shapeFlag & 7 || e.type === Ee;
|
|
3185
3186
|
function Nc(e, t, o) {
|
|
3186
|
-
const { props: r, children: n, component: i } = e, { props: a, children: s, patchFlag: l } = t,
|
|
3187
|
-
if (v.NODE_ENV !== "production" && (n || s) &&
|
|
3187
|
+
const { props: r, children: n, component: i } = e, { props: a, children: s, patchFlag: l } = t, u = i.emitsOptions;
|
|
3188
|
+
if (v.NODE_ENV !== "production" && (n || s) && Je || t.dirs || t.transition)
|
|
3188
3189
|
return !0;
|
|
3189
3190
|
if (o && l >= 0) {
|
|
3190
3191
|
if (l & 1024)
|
|
3191
3192
|
return !0;
|
|
3192
3193
|
if (l & 16)
|
|
3193
|
-
return r ? hi(r, a,
|
|
3194
|
+
return r ? hi(r, a, u) : !!a;
|
|
3194
3195
|
if (l & 8) {
|
|
3195
3196
|
const c = t.dynamicProps;
|
|
3196
3197
|
for (let d = 0; d < c.length; d++) {
|
|
3197
3198
|
const p = c[d];
|
|
3198
|
-
if (a[p] !== r[p] && !Mr(
|
|
3199
|
+
if (a[p] !== r[p] && !Mr(u, p))
|
|
3199
3200
|
return !0;
|
|
3200
3201
|
}
|
|
3201
3202
|
}
|
|
3202
3203
|
} else
|
|
3203
|
-
return (n || s) && (!s || !s.$stable) ? !0 : r === a ? !1 : r ? a ? hi(r, a,
|
|
3204
|
+
return (n || s) && (!s || !s.$stable) ? !0 : r === a ? !1 : r ? a ? hi(r, a, u) : !0 : !!a;
|
|
3204
3205
|
return !1;
|
|
3205
3206
|
}
|
|
3206
3207
|
function hi(e, t, o) {
|
|
@@ -3243,7 +3244,7 @@ function Cc(e, t, o, r) {
|
|
|
3243
3244
|
attrs: i,
|
|
3244
3245
|
vnode: { patchFlag: a }
|
|
3245
3246
|
} = e, s = X(n), [l] = e.propsOptions;
|
|
3246
|
-
let
|
|
3247
|
+
let u = !1;
|
|
3247
3248
|
if (
|
|
3248
3249
|
// always force full diff in dev
|
|
3249
3250
|
// - #1942 if hmr is enabled with sfc component
|
|
@@ -3259,7 +3260,7 @@ function Cc(e, t, o, r) {
|
|
|
3259
3260
|
const w = t[p];
|
|
3260
3261
|
if (l)
|
|
3261
3262
|
if (ee(i, p))
|
|
3262
|
-
w !== i[p] && (i[p] = w,
|
|
3263
|
+
w !== i[p] && (i[p] = w, u = !0);
|
|
3263
3264
|
else {
|
|
3264
3265
|
const N = Ae(p);
|
|
3265
3266
|
n[N] = pn(
|
|
@@ -3272,11 +3273,11 @@ function Cc(e, t, o, r) {
|
|
|
3272
3273
|
);
|
|
3273
3274
|
}
|
|
3274
3275
|
else
|
|
3275
|
-
w !== i[p] && (i[p] = w,
|
|
3276
|
+
w !== i[p] && (i[p] = w, u = !0);
|
|
3276
3277
|
}
|
|
3277
3278
|
}
|
|
3278
3279
|
} else {
|
|
3279
|
-
is(e, t, n, i) && (
|
|
3280
|
+
is(e, t, n, i) && (u = !0);
|
|
3280
3281
|
let c;
|
|
3281
3282
|
for (const d in s)
|
|
3282
3283
|
(!t || // for camelCase
|
|
@@ -3294,9 +3295,9 @@ function Cc(e, t, o, r) {
|
|
|
3294
3295
|
)) : delete n[d]);
|
|
3295
3296
|
if (i !== s)
|
|
3296
3297
|
for (const d in i)
|
|
3297
|
-
(!t || !ee(t, d)) && (delete i[d],
|
|
3298
|
+
(!t || !ee(t, d)) && (delete i[d], u = !0);
|
|
3298
3299
|
}
|
|
3299
|
-
|
|
3300
|
+
u && pt(e.attrs, "set", ""), v.NODE_ENV !== "production" && ss(t || {}, n, e);
|
|
3300
3301
|
}
|
|
3301
3302
|
function is(e, t, o, r) {
|
|
3302
3303
|
const [n, i] = e.propsOptions;
|
|
@@ -3305,21 +3306,21 @@ function is(e, t, o, r) {
|
|
|
3305
3306
|
for (let l in t) {
|
|
3306
3307
|
if (Eo(l))
|
|
3307
3308
|
continue;
|
|
3308
|
-
const
|
|
3309
|
+
const u = t[l];
|
|
3309
3310
|
let c;
|
|
3310
|
-
n && ee(n, c = Ae(l)) ? !i || !i.includes(c) ? o[c] =
|
|
3311
|
+
n && ee(n, c = Ae(l)) ? !i || !i.includes(c) ? o[c] = u : (s || (s = {}))[c] = u : Mr(e.emitsOptions, l) || (!(l in r) || u !== r[l]) && (r[l] = u, a = !0);
|
|
3311
3312
|
}
|
|
3312
3313
|
if (i) {
|
|
3313
|
-
const l = X(o),
|
|
3314
|
+
const l = X(o), u = s || ce;
|
|
3314
3315
|
for (let c = 0; c < i.length; c++) {
|
|
3315
3316
|
const d = i[c];
|
|
3316
3317
|
o[d] = pn(
|
|
3317
3318
|
n,
|
|
3318
3319
|
l,
|
|
3319
3320
|
d,
|
|
3320
|
-
|
|
3321
|
+
u[d],
|
|
3321
3322
|
e,
|
|
3322
|
-
!ee(
|
|
3323
|
+
!ee(u, d)
|
|
3323
3324
|
);
|
|
3324
3325
|
}
|
|
3325
3326
|
}
|
|
@@ -3332,12 +3333,12 @@ function pn(e, t, o, r, n, i) {
|
|
|
3332
3333
|
if (s && r === void 0) {
|
|
3333
3334
|
const l = a.default;
|
|
3334
3335
|
if (a.type !== Function && !a.skipFactory && W(l)) {
|
|
3335
|
-
const { propsDefaults:
|
|
3336
|
-
if (o in
|
|
3337
|
-
r =
|
|
3336
|
+
const { propsDefaults: u } = n;
|
|
3337
|
+
if (o in u)
|
|
3338
|
+
r = u[o];
|
|
3338
3339
|
else {
|
|
3339
|
-
const c =
|
|
3340
|
-
r =
|
|
3340
|
+
const c = Go(n);
|
|
3341
|
+
r = u[o] = l.call(
|
|
3341
3342
|
null,
|
|
3342
3343
|
t
|
|
3343
3344
|
), c();
|
|
@@ -3406,8 +3407,8 @@ function as(e, t, o = !1) {
|
|
|
3406
3407
|
}
|
|
3407
3408
|
}
|
|
3408
3409
|
}
|
|
3409
|
-
const
|
|
3410
|
-
return ae(e) && r.set(e,
|
|
3410
|
+
const u = [a, s];
|
|
3411
|
+
return ae(e) && r.set(e, u), u;
|
|
3411
3412
|
}
|
|
3412
3413
|
function gi(e) {
|
|
3413
3414
|
return e[0] !== "$" && !Eo(e) ? !0 : (v.NODE_ENV !== "production" && O(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
@@ -3436,13 +3437,13 @@ function Vc(e, t, o, r, n) {
|
|
|
3436
3437
|
}
|
|
3437
3438
|
if (!(t == null && !a)) {
|
|
3438
3439
|
if (i != null && i !== !0 && !l) {
|
|
3439
|
-
let
|
|
3440
|
+
let u = !1;
|
|
3440
3441
|
const c = L(i) ? i : [i], d = [];
|
|
3441
|
-
for (let p = 0; p < c.length && !
|
|
3442
|
+
for (let p = 0; p < c.length && !u; p++) {
|
|
3442
3443
|
const { valid: w, expectedType: N } = Mc(t, c[p]);
|
|
3443
|
-
d.push(N || ""),
|
|
3444
|
+
d.push(N || ""), u = w;
|
|
3444
3445
|
}
|
|
3445
|
-
if (!
|
|
3446
|
+
if (!u) {
|
|
3446
3447
|
O(Ic(e, t, d));
|
|
3447
3448
|
return;
|
|
3448
3449
|
}
|
|
@@ -3483,7 +3484,7 @@ function wi(e) {
|
|
|
3483
3484
|
function Pc(...e) {
|
|
3484
3485
|
return e.some((t) => t.toLowerCase() === "boolean");
|
|
3485
3486
|
}
|
|
3486
|
-
const Pn = (e) => e === "_" || e === "_ctx" || e === "$stable", jn = (e) => L(e) ? e.map(
|
|
3487
|
+
const Pn = (e) => e === "_" || e === "_ctx" || e === "$stable", jn = (e) => L(e) ? e.map(Ge) : [Ge(e)], jc = (e, t, o) => {
|
|
3487
3488
|
if (t._n)
|
|
3488
3489
|
return t;
|
|
3489
3490
|
const r = ke((...n) => (v.NODE_ENV !== "production" && Ne && !(o === null && Oe) && !(o && o.root !== Ne.root) && O(
|
|
@@ -3525,7 +3526,7 @@ const Pn = (e) => e === "_" || e === "_ctx" || e === "$stable", jn = (e) => L(e)
|
|
|
3525
3526
|
let i = !0, a = ce;
|
|
3526
3527
|
if (r.shapeFlag & 32) {
|
|
3527
3528
|
const s = t._;
|
|
3528
|
-
s ? v.NODE_ENV !== "production" &&
|
|
3529
|
+
s ? v.NODE_ENV !== "production" && Je ? (hn(n, t, o), pt(e, "set", "$slots")) : o && s === 1 ? i = !1 : hn(n, t, o) : (i = !t.$stable, ls(t, n)), a = t;
|
|
3529
3530
|
} else t && (cs(e, t), a = { default: 1 });
|
|
3530
3531
|
if (i)
|
|
3531
3532
|
for (const s in n)
|
|
@@ -3537,7 +3538,7 @@ function to(e, t) {
|
|
|
3537
3538
|
}
|
|
3538
3539
|
function oo(e, t) {
|
|
3539
3540
|
if (e.appContext.config.performance && _r()) {
|
|
3540
|
-
const o = `vue-${t}-${e.uid}`, r = o + ":end", n = `<${
|
|
3541
|
+
const o = `vue-${t}-${e.uid}`, r = o + ":end", n = `<${Jo(e, e.type)}> ${t}`;
|
|
3541
3542
|
xt.mark(r), xt.measure(n, o, r), xt.clearMeasures(n), xt.clearMarks(o), xt.clearMarks(r);
|
|
3542
3543
|
}
|
|
3543
3544
|
v.NODE_ENV !== "production" && Hl(e, t, _r() ? xt.now() : Date.now());
|
|
@@ -3571,30 +3572,30 @@ function Hc(e, t) {
|
|
|
3571
3572
|
createElement: a,
|
|
3572
3573
|
createText: s,
|
|
3573
3574
|
createComment: l,
|
|
3574
|
-
setText:
|
|
3575
|
+
setText: u,
|
|
3575
3576
|
setElementText: c,
|
|
3576
3577
|
parentNode: d,
|
|
3577
3578
|
nextSibling: p,
|
|
3578
3579
|
setScopeId: w = De,
|
|
3579
3580
|
insertStaticContent: N
|
|
3580
|
-
} = e, b = (
|
|
3581
|
-
if (
|
|
3581
|
+
} = e, b = (f, h, m, S = null, x = null, k = null, V = void 0, T = null, C = v.NODE_ENV !== "production" && Je ? !1 : !!h.dynamicChildren) => {
|
|
3582
|
+
if (f === h)
|
|
3582
3583
|
return;
|
|
3583
|
-
|
|
3584
|
+
f && !Ut(f, h) && (S = Yo(f), $t(f, x, k, !0), f = null), h.patchFlag === -2 && (C = !1, h.dynamicChildren = null);
|
|
3584
3585
|
const { type: E, ref: K, shapeFlag: A } = h;
|
|
3585
3586
|
switch (E) {
|
|
3586
3587
|
case qo:
|
|
3587
|
-
F(
|
|
3588
|
+
F(f, h, m, S);
|
|
3588
3589
|
break;
|
|
3589
3590
|
case Ee:
|
|
3590
|
-
R(
|
|
3591
|
+
R(f, h, m, S);
|
|
3591
3592
|
break;
|
|
3592
3593
|
case To:
|
|
3593
|
-
|
|
3594
|
+
f == null ? z(h, m, S, V) : v.NODE_ENV !== "production" && U(f, h, m, V);
|
|
3594
3595
|
break;
|
|
3595
3596
|
case re:
|
|
3596
3597
|
se(
|
|
3597
|
-
|
|
3598
|
+
f,
|
|
3598
3599
|
h,
|
|
3599
3600
|
m,
|
|
3600
3601
|
S,
|
|
@@ -3607,7 +3608,7 @@ function Hc(e, t) {
|
|
|
3607
3608
|
break;
|
|
3608
3609
|
default:
|
|
3609
3610
|
A & 1 ? j(
|
|
3610
|
-
|
|
3611
|
+
f,
|
|
3611
3612
|
h,
|
|
3612
3613
|
m,
|
|
3613
3614
|
S,
|
|
@@ -3617,7 +3618,7 @@ function Hc(e, t) {
|
|
|
3617
3618
|
T,
|
|
3618
3619
|
C
|
|
3619
3620
|
) : A & 6 ? we(
|
|
3620
|
-
|
|
3621
|
+
f,
|
|
3621
3622
|
h,
|
|
3622
3623
|
m,
|
|
3623
3624
|
S,
|
|
@@ -3627,7 +3628,7 @@ function Hc(e, t) {
|
|
|
3627
3628
|
T,
|
|
3628
3629
|
C
|
|
3629
3630
|
) : A & 64 || A & 128 ? E.process(
|
|
3630
|
-
|
|
3631
|
+
f,
|
|
3631
3632
|
h,
|
|
3632
3633
|
m,
|
|
3633
3634
|
S,
|
|
@@ -3639,56 +3640,56 @@ function Hc(e, t) {
|
|
|
3639
3640
|
vo
|
|
3640
3641
|
) : v.NODE_ENV !== "production" && O("Invalid VNode type:", E, `(${typeof E})`);
|
|
3641
3642
|
}
|
|
3642
|
-
K != null && x ? So(K,
|
|
3643
|
-
}, F = (
|
|
3644
|
-
if (
|
|
3643
|
+
K != null && x ? So(K, f && f.ref, k, h || f, !h) : K == null && f && f.ref != null && So(f.ref, null, k, f, !0);
|
|
3644
|
+
}, F = (f, h, m, S) => {
|
|
3645
|
+
if (f == null)
|
|
3645
3646
|
r(
|
|
3646
3647
|
h.el = s(h.children),
|
|
3647
3648
|
m,
|
|
3648
3649
|
S
|
|
3649
3650
|
);
|
|
3650
3651
|
else {
|
|
3651
|
-
const x = h.el =
|
|
3652
|
-
h.children !==
|
|
3652
|
+
const x = h.el = f.el;
|
|
3653
|
+
h.children !== f.children && u(x, h.children);
|
|
3653
3654
|
}
|
|
3654
|
-
}, R = (
|
|
3655
|
-
|
|
3655
|
+
}, R = (f, h, m, S) => {
|
|
3656
|
+
f == null ? r(
|
|
3656
3657
|
h.el = l(h.children || ""),
|
|
3657
3658
|
m,
|
|
3658
3659
|
S
|
|
3659
|
-
) : h.el =
|
|
3660
|
-
}, z = (
|
|
3661
|
-
[
|
|
3662
|
-
|
|
3660
|
+
) : h.el = f.el;
|
|
3661
|
+
}, z = (f, h, m, S) => {
|
|
3662
|
+
[f.el, f.anchor] = N(
|
|
3663
|
+
f.children,
|
|
3663
3664
|
h,
|
|
3664
3665
|
m,
|
|
3665
3666
|
S,
|
|
3666
|
-
|
|
3667
|
-
|
|
3667
|
+
f.el,
|
|
3668
|
+
f.anchor
|
|
3668
3669
|
);
|
|
3669
|
-
}, U = (
|
|
3670
|
-
if (h.children !==
|
|
3671
|
-
const x = p(
|
|
3672
|
-
M(
|
|
3670
|
+
}, U = (f, h, m, S) => {
|
|
3671
|
+
if (h.children !== f.children) {
|
|
3672
|
+
const x = p(f.anchor);
|
|
3673
|
+
M(f), [h.el, h.anchor] = N(
|
|
3673
3674
|
h.children,
|
|
3674
3675
|
m,
|
|
3675
3676
|
x,
|
|
3676
3677
|
S
|
|
3677
3678
|
);
|
|
3678
3679
|
} else
|
|
3679
|
-
h.el =
|
|
3680
|
-
}, fe = ({ el:
|
|
3680
|
+
h.el = f.el, h.anchor = f.anchor;
|
|
3681
|
+
}, fe = ({ el: f, anchor: h }, m, S) => {
|
|
3681
3682
|
let x;
|
|
3682
|
-
for (;
|
|
3683
|
-
x = p(
|
|
3683
|
+
for (; f && f !== h; )
|
|
3684
|
+
x = p(f), r(f, m, S), f = x;
|
|
3684
3685
|
r(h, m, S);
|
|
3685
|
-
}, M = ({ el:
|
|
3686
|
+
}, M = ({ el: f, anchor: h }) => {
|
|
3686
3687
|
let m;
|
|
3687
|
-
for (;
|
|
3688
|
-
m = p(
|
|
3688
|
+
for (; f && f !== h; )
|
|
3689
|
+
m = p(f), n(f), f = m;
|
|
3689
3690
|
n(h);
|
|
3690
|
-
}, j = (
|
|
3691
|
-
if (h.type === "svg" ? V = "svg" : h.type === "math" && (V = "mathml"),
|
|
3691
|
+
}, j = (f, h, m, S, x, k, V, T, C) => {
|
|
3692
|
+
if (h.type === "svg" ? V = "svg" : h.type === "math" && (V = "mathml"), f == null)
|
|
3692
3693
|
q(
|
|
3693
3694
|
h,
|
|
3694
3695
|
m,
|
|
@@ -3700,10 +3701,10 @@ function Hc(e, t) {
|
|
|
3700
3701
|
C
|
|
3701
3702
|
);
|
|
3702
3703
|
else {
|
|
3703
|
-
const E =
|
|
3704
|
+
const E = f.el && f.el._isVueCE ? f.el : null;
|
|
3704
3705
|
try {
|
|
3705
3706
|
E && E._beginPatch(), I(
|
|
3706
|
-
|
|
3707
|
+
f,
|
|
3707
3708
|
h,
|
|
3708
3709
|
x,
|
|
3709
3710
|
k,
|
|
@@ -3715,43 +3716,43 @@ function Hc(e, t) {
|
|
|
3715
3716
|
E && E._endPatch();
|
|
3716
3717
|
}
|
|
3717
3718
|
}
|
|
3718
|
-
}, q = (
|
|
3719
|
+
}, q = (f, h, m, S, x, k, V, T) => {
|
|
3719
3720
|
let C, E;
|
|
3720
|
-
const { props: K, shapeFlag: A, transition: B, dirs:
|
|
3721
|
-
if (C =
|
|
3722
|
-
|
|
3721
|
+
const { props: K, shapeFlag: A, transition: B, dirs: G } = f;
|
|
3722
|
+
if (C = f.el = a(
|
|
3723
|
+
f.type,
|
|
3723
3724
|
k,
|
|
3724
3725
|
K && K.is,
|
|
3725
3726
|
K
|
|
3726
|
-
), A & 8 ? c(C,
|
|
3727
|
-
|
|
3727
|
+
), A & 8 ? c(C, f.children) : A & 16 && _(
|
|
3728
|
+
f.children,
|
|
3728
3729
|
C,
|
|
3729
3730
|
null,
|
|
3730
3731
|
S,
|
|
3731
3732
|
x,
|
|
3732
|
-
|
|
3733
|
+
Gr(f, k),
|
|
3733
3734
|
V,
|
|
3734
3735
|
T
|
|
3735
|
-
),
|
|
3736
|
+
), G && jt(f, null, S, "created"), H(C, f, f.scopeId, V, S), K) {
|
|
3736
3737
|
for (const he in K)
|
|
3737
3738
|
he !== "value" && !Eo(he) && i(C, he, null, K[he], k, S);
|
|
3738
|
-
"value" in K && i(C, "value", null, K.value, k), (E = K.onVnodeBeforeMount) && ct(E, S,
|
|
3739
|
+
"value" in K && i(C, "value", null, K.value, k), (E = K.onVnodeBeforeMount) && ct(E, S, f);
|
|
3739
3740
|
}
|
|
3740
|
-
v.NODE_ENV !== "production" && (fr(C, "__vnode",
|
|
3741
|
+
v.NODE_ENV !== "production" && (fr(C, "__vnode", f, !0), fr(C, "__vueParentComponent", S, !0)), G && jt(f, null, S, "beforeMount");
|
|
3741
3742
|
const te = Uc(x, B);
|
|
3742
|
-
te && B.beforeEnter(C), r(C, h, m), ((E = K && K.onVnodeMounted) || te ||
|
|
3743
|
-
E && ct(E, S,
|
|
3743
|
+
te && B.beforeEnter(C), r(C, h, m), ((E = K && K.onVnodeMounted) || te || G) && Pe(() => {
|
|
3744
|
+
E && ct(E, S, f), te && B.enter(C), G && jt(f, null, S, "mounted");
|
|
3744
3745
|
}, x);
|
|
3745
|
-
}, H = (
|
|
3746
|
-
if (m && w(
|
|
3746
|
+
}, H = (f, h, m, S, x) => {
|
|
3747
|
+
if (m && w(f, m), S)
|
|
3747
3748
|
for (let k = 0; k < S.length; k++)
|
|
3748
|
-
w(
|
|
3749
|
+
w(f, S[k]);
|
|
3749
3750
|
if (x) {
|
|
3750
3751
|
let k = x.subTree;
|
|
3751
3752
|
if (v.NODE_ENV !== "production" && k.patchFlag > 0 && k.patchFlag & 2048 && (k = In(k.children) || k), h === k || fs(k.type) && (k.ssContent === h || k.ssFallback === h)) {
|
|
3752
3753
|
const V = x.vnode;
|
|
3753
3754
|
H(
|
|
3754
|
-
|
|
3755
|
+
f,
|
|
3755
3756
|
V,
|
|
3756
3757
|
V.scopeId,
|
|
3757
3758
|
V.slotScopeIds,
|
|
@@ -3759,9 +3760,9 @@ function Hc(e, t) {
|
|
|
3759
3760
|
);
|
|
3760
3761
|
}
|
|
3761
3762
|
}
|
|
3762
|
-
}, _ = (
|
|
3763
|
-
for (let E = C; E <
|
|
3764
|
-
const K =
|
|
3763
|
+
}, _ = (f, h, m, S, x, k, V, T, C = 0) => {
|
|
3764
|
+
for (let E = C; E < f.length; E++) {
|
|
3765
|
+
const K = f[E] = T ? Vt(f[E]) : Ge(f[E]);
|
|
3765
3766
|
b(
|
|
3766
3767
|
null,
|
|
3767
3768
|
K,
|
|
@@ -3774,29 +3775,29 @@ function Hc(e, t) {
|
|
|
3774
3775
|
T
|
|
3775
3776
|
);
|
|
3776
3777
|
}
|
|
3777
|
-
}, I = (
|
|
3778
|
-
const T = h.el =
|
|
3778
|
+
}, I = (f, h, m, S, x, k, V) => {
|
|
3779
|
+
const T = h.el = f.el;
|
|
3779
3780
|
v.NODE_ENV !== "production" && (T.__vnode = h);
|
|
3780
3781
|
let { patchFlag: C, dynamicChildren: E, dirs: K } = h;
|
|
3781
|
-
C |=
|
|
3782
|
-
const A =
|
|
3783
|
-
let
|
|
3784
|
-
if (m && Lt(m, !1), (
|
|
3785
|
-
|
|
3782
|
+
C |= f.patchFlag & 16;
|
|
3783
|
+
const A = f.props || ce, B = h.props || ce;
|
|
3784
|
+
let G;
|
|
3785
|
+
if (m && Lt(m, !1), (G = B.onVnodeBeforeUpdate) && ct(G, m, h, f), K && jt(h, f, m, "beforeUpdate"), m && Lt(m, !0), v.NODE_ENV !== "production" && Je && (C = 0, V = !1, E = null), (A.innerHTML && B.innerHTML == null || A.textContent && B.textContent == null) && c(T, ""), E ? (P(
|
|
3786
|
+
f.dynamicChildren,
|
|
3786
3787
|
E,
|
|
3787
3788
|
T,
|
|
3788
3789
|
m,
|
|
3789
3790
|
S,
|
|
3790
|
-
|
|
3791
|
+
Gr(h, x),
|
|
3791
3792
|
k
|
|
3792
|
-
), v.NODE_ENV !== "production" && Co(
|
|
3793
|
-
|
|
3793
|
+
), v.NODE_ENV !== "production" && Co(f, h)) : V || it(
|
|
3794
|
+
f,
|
|
3794
3795
|
h,
|
|
3795
3796
|
T,
|
|
3796
3797
|
null,
|
|
3797
3798
|
m,
|
|
3798
3799
|
S,
|
|
3799
|
-
|
|
3800
|
+
Gr(h, x),
|
|
3800
3801
|
k,
|
|
3801
3802
|
!1
|
|
3802
3803
|
), C > 0) {
|
|
@@ -3809,14 +3810,14 @@ function Hc(e, t) {
|
|
|
3809
3810
|
(ze !== Re || de === "value") && i(T, de, Re, ze, x, m);
|
|
3810
3811
|
}
|
|
3811
3812
|
}
|
|
3812
|
-
C & 1 &&
|
|
3813
|
+
C & 1 && f.children !== h.children && c(T, h.children);
|
|
3813
3814
|
} else !V && E == null && $(T, A, B, m, x);
|
|
3814
|
-
((
|
|
3815
|
-
|
|
3815
|
+
((G = B.onVnodeUpdated) || K) && Pe(() => {
|
|
3816
|
+
G && ct(G, m, h, f), K && jt(h, f, m, "updated");
|
|
3816
3817
|
}, S);
|
|
3817
|
-
}, P = (
|
|
3818
|
+
}, P = (f, h, m, S, x, k, V) => {
|
|
3818
3819
|
for (let T = 0; T < h.length; T++) {
|
|
3819
|
-
const C =
|
|
3820
|
+
const C = f[T], E = h[T], K = (
|
|
3820
3821
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
3821
3822
|
// which will not have a mounted element
|
|
3822
3823
|
C.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
@@ -3842,12 +3843,12 @@ function Hc(e, t) {
|
|
|
3842
3843
|
!0
|
|
3843
3844
|
);
|
|
3844
3845
|
}
|
|
3845
|
-
}, $ = (
|
|
3846
|
+
}, $ = (f, h, m, S, x) => {
|
|
3846
3847
|
if (h !== m) {
|
|
3847
3848
|
if (h !== ce)
|
|
3848
3849
|
for (const k in h)
|
|
3849
3850
|
!Eo(k) && !(k in m) && i(
|
|
3850
|
-
|
|
3851
|
+
f,
|
|
3851
3852
|
k,
|
|
3852
3853
|
h[k],
|
|
3853
3854
|
null,
|
|
@@ -3857,15 +3858,15 @@ function Hc(e, t) {
|
|
|
3857
3858
|
for (const k in m) {
|
|
3858
3859
|
if (Eo(k)) continue;
|
|
3859
3860
|
const V = m[k], T = h[k];
|
|
3860
|
-
V !== T && k !== "value" && i(
|
|
3861
|
+
V !== T && k !== "value" && i(f, k, T, V, x, S);
|
|
3861
3862
|
}
|
|
3862
|
-
"value" in m && i(
|
|
3863
|
+
"value" in m && i(f, "value", h.value, m.value, x);
|
|
3863
3864
|
}
|
|
3864
|
-
}, se = (
|
|
3865
|
-
const E = h.el =
|
|
3866
|
-
let { patchFlag: A, dynamicChildren: B, slotScopeIds:
|
|
3865
|
+
}, se = (f, h, m, S, x, k, V, T, C) => {
|
|
3866
|
+
const E = h.el = f ? f.el : s(""), K = h.anchor = f ? f.anchor : s("");
|
|
3867
|
+
let { patchFlag: A, dynamicChildren: B, slotScopeIds: G } = h;
|
|
3867
3868
|
v.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
|
|
3868
|
-
(
|
|
3869
|
+
(Je || A & 2048) && (A = 0, C = !1, B = null), G && (T = T ? T.concat(G) : G), f == null ? (r(E, m, S), r(K, m, S), _(
|
|
3869
3870
|
// #10007
|
|
3870
3871
|
// such fragment like `<></>` will be compiled into
|
|
3871
3872
|
// a fragment which doesn't have a children.
|
|
@@ -3880,27 +3881,27 @@ function Hc(e, t) {
|
|
|
3880
3881
|
C
|
|
3881
3882
|
)) : A > 0 && A & 64 && B && // #2715 the previous fragment could've been a BAILed one as a result
|
|
3882
3883
|
// of renderSlot() with no valid children
|
|
3883
|
-
|
|
3884
|
-
|
|
3884
|
+
f.dynamicChildren ? (P(
|
|
3885
|
+
f.dynamicChildren,
|
|
3885
3886
|
B,
|
|
3886
3887
|
m,
|
|
3887
3888
|
x,
|
|
3888
3889
|
k,
|
|
3889
3890
|
V,
|
|
3890
3891
|
T
|
|
3891
|
-
), v.NODE_ENV !== "production" ? Co(
|
|
3892
|
+
), v.NODE_ENV !== "production" ? Co(f, h) : (
|
|
3892
3893
|
// #2080 if the stable fragment has a key, it's a <template v-for> that may
|
|
3893
3894
|
// get moved around. Make sure all root level vnodes inherit el.
|
|
3894
3895
|
// #2134 or if it's a component root, it may also get moved around
|
|
3895
3896
|
// as the component is being moved.
|
|
3896
3897
|
(h.key != null || x && h === x.subTree) && Co(
|
|
3897
|
-
|
|
3898
|
+
f,
|
|
3898
3899
|
h,
|
|
3899
3900
|
!0
|
|
3900
3901
|
/* shallow */
|
|
3901
3902
|
)
|
|
3902
3903
|
)) : it(
|
|
3903
|
-
|
|
3904
|
+
f,
|
|
3904
3905
|
h,
|
|
3905
3906
|
m,
|
|
3906
3907
|
K,
|
|
@@ -3910,8 +3911,8 @@ function Hc(e, t) {
|
|
|
3910
3911
|
T,
|
|
3911
3912
|
C
|
|
3912
3913
|
);
|
|
3913
|
-
}, we = (
|
|
3914
|
-
h.slotScopeIds = T,
|
|
3914
|
+
}, we = (f, h, m, S, x, k, V, T, C) => {
|
|
3915
|
+
h.slotScopeIds = T, f == null ? h.shapeFlag & 512 ? x.ctx.activate(
|
|
3915
3916
|
h,
|
|
3916
3917
|
m,
|
|
3917
3918
|
S,
|
|
@@ -3925,22 +3926,22 @@ function Hc(e, t) {
|
|
|
3925
3926
|
k,
|
|
3926
3927
|
V,
|
|
3927
3928
|
C
|
|
3928
|
-
) : xe(
|
|
3929
|
-
}, $e = (
|
|
3930
|
-
const T =
|
|
3931
|
-
|
|
3929
|
+
) : xe(f, h, C);
|
|
3930
|
+
}, $e = (f, h, m, S, x, k, V) => {
|
|
3931
|
+
const T = f.component = Qc(
|
|
3932
|
+
f,
|
|
3932
3933
|
S,
|
|
3933
3934
|
x
|
|
3934
3935
|
);
|
|
3935
|
-
if (v.NODE_ENV !== "production" && T.type.__hmrId && Vl(T), v.NODE_ENV !== "production" && (nr(
|
|
3936
|
-
if (x && x.registerDep(T, Z, V), !
|
|
3936
|
+
if (v.NODE_ENV !== "production" && T.type.__hmrId && Vl(T), v.NODE_ENV !== "production" && (nr(f), to(T, "mount")), Wo(f) && (T.ctx.renderer = vo), v.NODE_ENV !== "production" && to(T, "init"), td(T, !1, V), v.NODE_ENV !== "production" && oo(T, "init"), v.NODE_ENV !== "production" && Je && (f.el = null), T.asyncDep) {
|
|
3937
|
+
if (x && x.registerDep(T, Z, V), !f.el) {
|
|
3937
3938
|
const C = T.subTree = Y(Ee);
|
|
3938
|
-
R(null, C, h, m),
|
|
3939
|
+
R(null, C, h, m), f.placeholder = C.el;
|
|
3939
3940
|
}
|
|
3940
3941
|
} else
|
|
3941
3942
|
Z(
|
|
3942
3943
|
T,
|
|
3943
|
-
|
|
3944
|
+
f,
|
|
3944
3945
|
h,
|
|
3945
3946
|
m,
|
|
3946
3947
|
x,
|
|
@@ -3948,87 +3949,87 @@ function Hc(e, t) {
|
|
|
3948
3949
|
V
|
|
3949
3950
|
);
|
|
3950
3951
|
v.NODE_ENV !== "production" && (ir(), oo(T, "mount"));
|
|
3951
|
-
}, xe = (
|
|
3952
|
-
const S = h.component =
|
|
3953
|
-
if (Nc(
|
|
3952
|
+
}, xe = (f, h, m) => {
|
|
3953
|
+
const S = h.component = f.component;
|
|
3954
|
+
if (Nc(f, h, m))
|
|
3954
3955
|
if (S.asyncDep && !S.asyncResolved) {
|
|
3955
3956
|
v.NODE_ENV !== "production" && nr(h), Q(S, h, m), v.NODE_ENV !== "production" && ir();
|
|
3956
3957
|
return;
|
|
3957
3958
|
} else
|
|
3958
3959
|
S.next = h, S.update();
|
|
3959
3960
|
else
|
|
3960
|
-
h.el =
|
|
3961
|
-
}, Z = (
|
|
3961
|
+
h.el = f.el, S.vnode = h;
|
|
3962
|
+
}, Z = (f, h, m, S, x, k, V) => {
|
|
3962
3963
|
const T = () => {
|
|
3963
|
-
if (
|
|
3964
|
-
let { next: A, bu: B, u:
|
|
3964
|
+
if (f.isMounted) {
|
|
3965
|
+
let { next: A, bu: B, u: G, parent: te, vnode: he } = f;
|
|
3965
3966
|
{
|
|
3966
|
-
const st = ds(
|
|
3967
|
+
const st = ds(f);
|
|
3967
3968
|
if (st) {
|
|
3968
|
-
A && (A.el = he.el, Q(
|
|
3969
|
-
|
|
3969
|
+
A && (A.el = he.el, Q(f, A, V)), st.asyncDep.then(() => {
|
|
3970
|
+
f.isUnmounted || T();
|
|
3970
3971
|
});
|
|
3971
3972
|
return;
|
|
3972
3973
|
}
|
|
3973
3974
|
}
|
|
3974
3975
|
let de = A, Re;
|
|
3975
|
-
v.NODE_ENV !== "production" && nr(A ||
|
|
3976
|
-
const ze = ui(
|
|
3977
|
-
v.NODE_ENV !== "production" && oo(
|
|
3978
|
-
const at =
|
|
3979
|
-
|
|
3976
|
+
v.NODE_ENV !== "production" && nr(A || f.vnode), Lt(f, !1), A ? (A.el = he.el, Q(f, A, V)) : A = he, B && ro(B), (Re = A.props && A.props.onVnodeBeforeUpdate) && ct(Re, te, A, he), Lt(f, !0), v.NODE_ENV !== "production" && to(f, "render");
|
|
3977
|
+
const ze = ui(f);
|
|
3978
|
+
v.NODE_ENV !== "production" && oo(f, "render");
|
|
3979
|
+
const at = f.subTree;
|
|
3980
|
+
f.subTree = ze, v.NODE_ENV !== "production" && to(f, "patch"), b(
|
|
3980
3981
|
at,
|
|
3981
3982
|
ze,
|
|
3982
3983
|
// parent may have changed if it's in a teleport
|
|
3983
3984
|
d(at.el),
|
|
3984
3985
|
// anchor may have changed if it's in a fragment
|
|
3985
3986
|
Yo(at),
|
|
3986
|
-
|
|
3987
|
+
f,
|
|
3987
3988
|
x,
|
|
3988
3989
|
k
|
|
3989
|
-
), v.NODE_ENV !== "production" && oo(
|
|
3990
|
+
), v.NODE_ENV !== "production" && oo(f, "patch"), A.el = ze.el, de === null && Oc(f, ze.el), G && Pe(G, x), (Re = A.props && A.props.onVnodeUpdated) && Pe(
|
|
3990
3991
|
() => ct(Re, te, A, he),
|
|
3991
3992
|
x
|
|
3992
|
-
), v.NODE_ENV !== "production" && Oa(
|
|
3993
|
+
), v.NODE_ENV !== "production" && Oa(f), v.NODE_ENV !== "production" && ir();
|
|
3993
3994
|
} else {
|
|
3994
3995
|
let A;
|
|
3995
|
-
const { el: B, props:
|
|
3996
|
-
Lt(
|
|
3996
|
+
const { el: B, props: G } = h, { bm: te, m: he, parent: de, root: Re, type: ze } = f, at = so(h);
|
|
3997
|
+
Lt(f, !1), te && ro(te), !at && (A = G && G.onVnodeBeforeMount) && ct(A, de, h), Lt(f, !0);
|
|
3997
3998
|
{
|
|
3998
3999
|
Re.ce && // @ts-expect-error _def is private
|
|
3999
|
-
Re.ce._def.shadowRoot !== !1 && Re.ce._injectChildStyle(ze), v.NODE_ENV !== "production" && to(
|
|
4000
|
-
const st =
|
|
4001
|
-
v.NODE_ENV !== "production" && oo(
|
|
4000
|
+
Re.ce._def.shadowRoot !== !1 && Re.ce._injectChildStyle(ze), v.NODE_ENV !== "production" && to(f, "render");
|
|
4001
|
+
const st = f.subTree = ui(f);
|
|
4002
|
+
v.NODE_ENV !== "production" && oo(f, "render"), v.NODE_ENV !== "production" && to(f, "patch"), b(
|
|
4002
4003
|
null,
|
|
4003
4004
|
st,
|
|
4004
4005
|
m,
|
|
4005
4006
|
S,
|
|
4006
|
-
|
|
4007
|
+
f,
|
|
4007
4008
|
x,
|
|
4008
4009
|
k
|
|
4009
|
-
), v.NODE_ENV !== "production" && oo(
|
|
4010
|
+
), v.NODE_ENV !== "production" && oo(f, "patch"), h.el = st.el;
|
|
4010
4011
|
}
|
|
4011
|
-
if (he && Pe(he, x), !at && (A =
|
|
4012
|
+
if (he && Pe(he, x), !at && (A = G && G.onVnodeMounted)) {
|
|
4012
4013
|
const st = h;
|
|
4013
4014
|
Pe(
|
|
4014
4015
|
() => ct(A, de, st),
|
|
4015
4016
|
x
|
|
4016
4017
|
);
|
|
4017
4018
|
}
|
|
4018
|
-
(h.shapeFlag & 256 || de && so(de.vnode) && de.vnode.shapeFlag & 256) &&
|
|
4019
|
+
(h.shapeFlag & 256 || de && so(de.vnode) && de.vnode.shapeFlag & 256) && f.a && Pe(f.a, x), f.isMounted = !0, v.NODE_ENV !== "production" && Ll(f), h = m = S = null;
|
|
4019
4020
|
}
|
|
4020
4021
|
};
|
|
4021
|
-
|
|
4022
|
-
const C =
|
|
4023
|
-
|
|
4024
|
-
const E =
|
|
4025
|
-
K.i =
|
|
4026
|
-
}, Q = (
|
|
4027
|
-
h.component =
|
|
4028
|
-
const S =
|
|
4029
|
-
|
|
4030
|
-
}, it = (
|
|
4031
|
-
const E =
|
|
4022
|
+
f.scope.on();
|
|
4023
|
+
const C = f.effect = new ta(T);
|
|
4024
|
+
f.scope.off();
|
|
4025
|
+
const E = f.update = C.run.bind(C), K = f.job = C.runIfDirty.bind(C);
|
|
4026
|
+
K.i = f, K.id = f.uid, C.scheduler = () => Vr(K), Lt(f, !0), v.NODE_ENV !== "production" && (C.onTrack = f.rtc ? (A) => ro(f.rtc, A) : void 0, C.onTrigger = f.rtg ? (A) => ro(f.rtg, A) : void 0), E();
|
|
4027
|
+
}, Q = (f, h, m) => {
|
|
4028
|
+
h.component = f;
|
|
4029
|
+
const S = f.vnode.props;
|
|
4030
|
+
f.vnode = h, f.next = null, Cc(f, h.props, S, m), Fc(f, h.children, m), et(), Qn(f), tt();
|
|
4031
|
+
}, it = (f, h, m, S, x, k, V, T, C = !1) => {
|
|
4032
|
+
const E = f && f.children, K = f ? f.shapeFlag : 0, A = h.children, { patchFlag: B, shapeFlag: G } = h;
|
|
4032
4033
|
if (B > 0) {
|
|
4033
4034
|
if (B & 128) {
|
|
4034
4035
|
ho(
|
|
@@ -4058,7 +4059,7 @@ function Hc(e, t) {
|
|
|
4058
4059
|
return;
|
|
4059
4060
|
}
|
|
4060
4061
|
}
|
|
4061
|
-
|
|
4062
|
+
G & 8 ? (K & 16 && go(E, x, k), A !== E && c(m, A)) : K & 16 ? G & 16 ? ho(
|
|
4062
4063
|
E,
|
|
4063
4064
|
A,
|
|
4064
4065
|
m,
|
|
@@ -4068,7 +4069,7 @@ function Hc(e, t) {
|
|
|
4068
4069
|
V,
|
|
4069
4070
|
T,
|
|
4070
4071
|
C
|
|
4071
|
-
) : go(E, x, k, !0) : (K & 8 && c(m, ""),
|
|
4072
|
+
) : go(E, x, k, !0) : (K & 8 && c(m, ""), G & 16 && _(
|
|
4072
4073
|
A,
|
|
4073
4074
|
m,
|
|
4074
4075
|
S,
|
|
@@ -4078,15 +4079,15 @@ function Hc(e, t) {
|
|
|
4078
4079
|
T,
|
|
4079
4080
|
C
|
|
4080
4081
|
));
|
|
4081
|
-
}, jr = (
|
|
4082
|
-
|
|
4083
|
-
const E =
|
|
4082
|
+
}, jr = (f, h, m, S, x, k, V, T, C) => {
|
|
4083
|
+
f = f || io, h = h || io;
|
|
4084
|
+
const E = f.length, K = h.length, A = Math.min(E, K);
|
|
4084
4085
|
let B;
|
|
4085
4086
|
for (B = 0; B < A; B++) {
|
|
4086
|
-
const
|
|
4087
|
+
const G = h[B] = C ? Vt(h[B]) : Ge(h[B]);
|
|
4087
4088
|
b(
|
|
4088
|
-
|
|
4089
|
-
|
|
4089
|
+
f[B],
|
|
4090
|
+
G,
|
|
4090
4091
|
m,
|
|
4091
4092
|
null,
|
|
4092
4093
|
x,
|
|
@@ -4097,7 +4098,7 @@ function Hc(e, t) {
|
|
|
4097
4098
|
);
|
|
4098
4099
|
}
|
|
4099
4100
|
E > K ? go(
|
|
4100
|
-
|
|
4101
|
+
f,
|
|
4101
4102
|
x,
|
|
4102
4103
|
k,
|
|
4103
4104
|
!0,
|
|
@@ -4114,15 +4115,15 @@ function Hc(e, t) {
|
|
|
4114
4115
|
C,
|
|
4115
4116
|
A
|
|
4116
4117
|
);
|
|
4117
|
-
}, ho = (
|
|
4118
|
+
}, ho = (f, h, m, S, x, k, V, T, C) => {
|
|
4118
4119
|
let E = 0;
|
|
4119
4120
|
const K = h.length;
|
|
4120
|
-
let A =
|
|
4121
|
+
let A = f.length - 1, B = K - 1;
|
|
4121
4122
|
for (; E <= A && E <= B; ) {
|
|
4122
|
-
const
|
|
4123
|
-
if (Ut(
|
|
4123
|
+
const G = f[E], te = h[E] = C ? Vt(h[E]) : Ge(h[E]);
|
|
4124
|
+
if (Ut(G, te))
|
|
4124
4125
|
b(
|
|
4125
|
-
|
|
4126
|
+
G,
|
|
4126
4127
|
te,
|
|
4127
4128
|
m,
|
|
4128
4129
|
null,
|
|
@@ -4137,10 +4138,10 @@ function Hc(e, t) {
|
|
|
4137
4138
|
E++;
|
|
4138
4139
|
}
|
|
4139
4140
|
for (; E <= A && E <= B; ) {
|
|
4140
|
-
const
|
|
4141
|
-
if (Ut(
|
|
4141
|
+
const G = f[A], te = h[B] = C ? Vt(h[B]) : Ge(h[B]);
|
|
4142
|
+
if (Ut(G, te))
|
|
4142
4143
|
b(
|
|
4143
|
-
|
|
4144
|
+
G,
|
|
4144
4145
|
te,
|
|
4145
4146
|
m,
|
|
4146
4147
|
null,
|
|
@@ -4156,11 +4157,11 @@ function Hc(e, t) {
|
|
|
4156
4157
|
}
|
|
4157
4158
|
if (E > A) {
|
|
4158
4159
|
if (E <= B) {
|
|
4159
|
-
const
|
|
4160
|
+
const G = B + 1, te = G < K ? h[G].el : S;
|
|
4160
4161
|
for (; E <= B; )
|
|
4161
4162
|
b(
|
|
4162
4163
|
null,
|
|
4163
|
-
h[E] = C ? Vt(h[E]) :
|
|
4164
|
+
h[E] = C ? Vt(h[E]) : Ge(h[E]),
|
|
4164
4165
|
m,
|
|
4165
4166
|
te,
|
|
4166
4167
|
x,
|
|
@@ -4172,11 +4173,11 @@ function Hc(e, t) {
|
|
|
4172
4173
|
}
|
|
4173
4174
|
} else if (E > B)
|
|
4174
4175
|
for (; E <= A; )
|
|
4175
|
-
$t(
|
|
4176
|
+
$t(f[E], x, k, !0), E++;
|
|
4176
4177
|
else {
|
|
4177
|
-
const
|
|
4178
|
+
const G = E, te = E, he = /* @__PURE__ */ new Map();
|
|
4178
4179
|
for (E = te; E <= B; E++) {
|
|
4179
|
-
const Me = h[E] = C ? Vt(h[E]) :
|
|
4180
|
+
const Me = h[E] = C ? Vt(h[E]) : Ge(h[E]);
|
|
4180
4181
|
Me.key != null && (v.NODE_ENV !== "production" && he.has(Me.key) && O(
|
|
4181
4182
|
"Duplicate keys found during update:",
|
|
4182
4183
|
JSON.stringify(Me.key),
|
|
@@ -4188,8 +4189,8 @@ function Hc(e, t) {
|
|
|
4188
4189
|
let at = !1, st = 0;
|
|
4189
4190
|
const wo = new Array(ze);
|
|
4190
4191
|
for (E = 0; E < ze; E++) wo[E] = 0;
|
|
4191
|
-
for (E =
|
|
4192
|
-
const Me =
|
|
4192
|
+
for (E = G; E <= A; E++) {
|
|
4193
|
+
const Me = f[E];
|
|
4193
4194
|
if (Re >= ze) {
|
|
4194
4195
|
$t(Me, x, k, !0);
|
|
4195
4196
|
continue;
|
|
@@ -4234,50 +4235,50 @@ function Hc(e, t) {
|
|
|
4234
4235
|
) : at && (de < 0 || E !== Kn[de] ? Qt(lt, m, qn, 2) : de--);
|
|
4235
4236
|
}
|
|
4236
4237
|
}
|
|
4237
|
-
}, Qt = (
|
|
4238
|
-
const { el: k, type: V, transition: T, children: C, shapeFlag: E } =
|
|
4238
|
+
}, Qt = (f, h, m, S, x = null) => {
|
|
4239
|
+
const { el: k, type: V, transition: T, children: C, shapeFlag: E } = f;
|
|
4239
4240
|
if (E & 6) {
|
|
4240
|
-
Qt(
|
|
4241
|
+
Qt(f.component.subTree, h, m, S);
|
|
4241
4242
|
return;
|
|
4242
4243
|
}
|
|
4243
4244
|
if (E & 128) {
|
|
4244
|
-
|
|
4245
|
+
f.suspense.move(h, m, S);
|
|
4245
4246
|
return;
|
|
4246
4247
|
}
|
|
4247
4248
|
if (E & 64) {
|
|
4248
|
-
V.move(
|
|
4249
|
+
V.move(f, h, m, vo);
|
|
4249
4250
|
return;
|
|
4250
4251
|
}
|
|
4251
4252
|
if (V === re) {
|
|
4252
4253
|
r(k, h, m);
|
|
4253
4254
|
for (let A = 0; A < C.length; A++)
|
|
4254
4255
|
Qt(C[A], h, m, S);
|
|
4255
|
-
r(
|
|
4256
|
+
r(f.anchor, h, m);
|
|
4256
4257
|
return;
|
|
4257
4258
|
}
|
|
4258
4259
|
if (V === To) {
|
|
4259
|
-
fe(
|
|
4260
|
+
fe(f, h, m);
|
|
4260
4261
|
return;
|
|
4261
4262
|
}
|
|
4262
4263
|
if (S !== 2 && E & 1 && T)
|
|
4263
4264
|
if (S === 0)
|
|
4264
4265
|
T.beforeEnter(k), r(k, h, m), Pe(() => T.enter(k), x);
|
|
4265
4266
|
else {
|
|
4266
|
-
const { leave: A, delayLeave: B, afterLeave:
|
|
4267
|
-
|
|
4267
|
+
const { leave: A, delayLeave: B, afterLeave: G } = T, te = () => {
|
|
4268
|
+
f.ctx.isUnmounted ? n(k) : r(k, h, m);
|
|
4268
4269
|
}, he = () => {
|
|
4269
4270
|
k._isLeaving && k[_t](
|
|
4270
4271
|
!0
|
|
4271
4272
|
/* cancelled */
|
|
4272
4273
|
), A(k, () => {
|
|
4273
|
-
te(),
|
|
4274
|
+
te(), G && G();
|
|
4274
4275
|
});
|
|
4275
4276
|
};
|
|
4276
4277
|
B ? B(k, te, he) : he();
|
|
4277
4278
|
}
|
|
4278
4279
|
else
|
|
4279
4280
|
r(k, h, m);
|
|
4280
|
-
}, $t = (
|
|
4281
|
+
}, $t = (f, h, m, S = !1, x = !1) => {
|
|
4281
4282
|
const {
|
|
4282
4283
|
type: k,
|
|
4283
4284
|
props: V,
|
|
@@ -4287,23 +4288,23 @@ function Hc(e, t) {
|
|
|
4287
4288
|
shapeFlag: K,
|
|
4288
4289
|
patchFlag: A,
|
|
4289
4290
|
dirs: B,
|
|
4290
|
-
cacheIndex:
|
|
4291
|
-
} =
|
|
4292
|
-
if (A === -2 && (x = !1), T != null && (et(), So(T, null, m,
|
|
4293
|
-
h.ctx.deactivate(
|
|
4291
|
+
cacheIndex: G
|
|
4292
|
+
} = f;
|
|
4293
|
+
if (A === -2 && (x = !1), T != null && (et(), So(T, null, m, f, !0), tt()), G != null && (h.renderCache[G] = void 0), K & 256) {
|
|
4294
|
+
h.ctx.deactivate(f);
|
|
4294
4295
|
return;
|
|
4295
4296
|
}
|
|
4296
|
-
const te = K & 1 && B, he = !so(
|
|
4297
|
+
const te = K & 1 && B, he = !so(f);
|
|
4297
4298
|
let de;
|
|
4298
|
-
if (he && (de = V && V.onVnodeBeforeUnmount) && ct(de, h,
|
|
4299
|
-
Ds(
|
|
4299
|
+
if (he && (de = V && V.onVnodeBeforeUnmount) && ct(de, h, f), K & 6)
|
|
4300
|
+
Ds(f.component, m, S);
|
|
4300
4301
|
else {
|
|
4301
4302
|
if (K & 128) {
|
|
4302
|
-
|
|
4303
|
+
f.suspense.unmount(m, S);
|
|
4303
4304
|
return;
|
|
4304
4305
|
}
|
|
4305
|
-
te && jt(
|
|
4306
|
-
|
|
4306
|
+
te && jt(f, null, h, "beforeUnmount"), K & 64 ? f.type.remove(
|
|
4307
|
+
f,
|
|
4307
4308
|
h,
|
|
4308
4309
|
m,
|
|
4309
4310
|
vo,
|
|
@@ -4320,64 +4321,64 @@ function Hc(e, t) {
|
|
|
4320
4321
|
m,
|
|
4321
4322
|
!1,
|
|
4322
4323
|
!0
|
|
4323
|
-
) : (k === re && A & 384 || !x && K & 16) && go(C, h, m), S && Lr(
|
|
4324
|
+
) : (k === re && A & 384 || !x && K & 16) && go(C, h, m), S && Lr(f);
|
|
4324
4325
|
}
|
|
4325
4326
|
(he && (de = V && V.onVnodeUnmounted) || te) && Pe(() => {
|
|
4326
|
-
de && ct(de, h,
|
|
4327
|
+
de && ct(de, h, f), te && jt(f, null, h, "unmounted");
|
|
4327
4328
|
}, m);
|
|
4328
|
-
}, Lr = (
|
|
4329
|
-
const { type: h, el: m, anchor: S, transition: x } =
|
|
4329
|
+
}, Lr = (f) => {
|
|
4330
|
+
const { type: h, el: m, anchor: S, transition: x } = f;
|
|
4330
4331
|
if (h === re) {
|
|
4331
|
-
v.NODE_ENV !== "production" &&
|
|
4332
|
+
v.NODE_ENV !== "production" && f.patchFlag > 0 && f.patchFlag & 2048 && x && !x.persisted ? f.children.forEach((V) => {
|
|
4332
4333
|
V.type === Ee ? n(V.el) : Lr(V);
|
|
4333
4334
|
}) : Ts(m, S);
|
|
4334
4335
|
return;
|
|
4335
4336
|
}
|
|
4336
4337
|
if (h === To) {
|
|
4337
|
-
M(
|
|
4338
|
+
M(f);
|
|
4338
4339
|
return;
|
|
4339
4340
|
}
|
|
4340
4341
|
const k = () => {
|
|
4341
4342
|
n(m), x && !x.persisted && x.afterLeave && x.afterLeave();
|
|
4342
4343
|
};
|
|
4343
|
-
if (
|
|
4344
|
+
if (f.shapeFlag & 1 && x && !x.persisted) {
|
|
4344
4345
|
const { leave: V, delayLeave: T } = x, C = () => V(m, k);
|
|
4345
|
-
T ? T(
|
|
4346
|
+
T ? T(f.el, k, C) : C();
|
|
4346
4347
|
} else
|
|
4347
4348
|
k();
|
|
4348
|
-
}, Ts = (
|
|
4349
|
+
}, Ts = (f, h) => {
|
|
4349
4350
|
let m;
|
|
4350
|
-
for (;
|
|
4351
|
-
m = p(
|
|
4351
|
+
for (; f !== h; )
|
|
4352
|
+
m = p(f), n(f), f = m;
|
|
4352
4353
|
n(h);
|
|
4353
|
-
}, Ds = (
|
|
4354
|
-
v.NODE_ENV !== "production" &&
|
|
4355
|
-
const { bum: S, scope: x, job: k, subTree: V, um: T, m: C, a: E } =
|
|
4356
|
-
mi(C), mi(E), S && ro(S), x.stop(), k && (k.flags |= 8, $t(V,
|
|
4357
|
-
|
|
4358
|
-
}, h), v.NODE_ENV !== "production" && Rl(
|
|
4359
|
-
}, go = (
|
|
4360
|
-
for (let V = k; V <
|
|
4361
|
-
$t(
|
|
4362
|
-
}, Yo = (
|
|
4363
|
-
if (
|
|
4364
|
-
return Yo(
|
|
4365
|
-
if (
|
|
4366
|
-
return
|
|
4367
|
-
const h = p(
|
|
4354
|
+
}, Ds = (f, h, m) => {
|
|
4355
|
+
v.NODE_ENV !== "production" && f.type.__hmrId && Al(f);
|
|
4356
|
+
const { bum: S, scope: x, job: k, subTree: V, um: T, m: C, a: E } = f;
|
|
4357
|
+
mi(C), mi(E), S && ro(S), x.stop(), k && (k.flags |= 8, $t(V, f, h, m)), T && Pe(T, h), Pe(() => {
|
|
4358
|
+
f.isUnmounted = !0;
|
|
4359
|
+
}, h), v.NODE_ENV !== "production" && Rl(f);
|
|
4360
|
+
}, go = (f, h, m, S = !1, x = !1, k = 0) => {
|
|
4361
|
+
for (let V = k; V < f.length; V++)
|
|
4362
|
+
$t(f[V], h, m, S, x);
|
|
4363
|
+
}, Yo = (f) => {
|
|
4364
|
+
if (f.shapeFlag & 6)
|
|
4365
|
+
return Yo(f.component.subTree);
|
|
4366
|
+
if (f.shapeFlag & 128)
|
|
4367
|
+
return f.suspense.next();
|
|
4368
|
+
const h = p(f.anchor || f.el), m = h && h[Ta];
|
|
4368
4369
|
return m ? p(m) : h;
|
|
4369
4370
|
};
|
|
4370
4371
|
let Fr = !1;
|
|
4371
|
-
const Bn = (
|
|
4372
|
-
|
|
4372
|
+
const Bn = (f, h, m) => {
|
|
4373
|
+
f == null ? h._vnode && $t(h._vnode, null, null, !0) : b(
|
|
4373
4374
|
h._vnode || null,
|
|
4374
|
-
|
|
4375
|
+
f,
|
|
4375
4376
|
h,
|
|
4376
4377
|
null,
|
|
4377
4378
|
null,
|
|
4378
4379
|
null,
|
|
4379
4380
|
m
|
|
4380
|
-
), h._vnode =
|
|
4381
|
+
), h._vnode = f, Fr || (Fr = !0, Qn(), xa(), Fr = !1);
|
|
4381
4382
|
}, vo = {
|
|
4382
4383
|
p: b,
|
|
4383
4384
|
um: $t,
|
|
@@ -4396,7 +4397,7 @@ function Hc(e, t) {
|
|
|
4396
4397
|
createApp: vc(Bn)
|
|
4397
4398
|
};
|
|
4398
4399
|
}
|
|
4399
|
-
function
|
|
4400
|
+
function Gr({ type: e, props: t }, o) {
|
|
4400
4401
|
return o === "svg" && e === "foreignObject" || o === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : o;
|
|
4401
4402
|
}
|
|
4402
4403
|
function Lt({ effect: e, job: t }, o) {
|
|
@@ -4420,15 +4421,15 @@ function Bc(e) {
|
|
|
4420
4421
|
let r, n, i, a, s;
|
|
4421
4422
|
const l = e.length;
|
|
4422
4423
|
for (r = 0; r < l; r++) {
|
|
4423
|
-
const
|
|
4424
|
-
if (
|
|
4425
|
-
if (n = o[o.length - 1], e[n] <
|
|
4424
|
+
const u = e[r];
|
|
4425
|
+
if (u !== 0) {
|
|
4426
|
+
if (n = o[o.length - 1], e[n] < u) {
|
|
4426
4427
|
t[r] = n, o.push(r);
|
|
4427
4428
|
continue;
|
|
4428
4429
|
}
|
|
4429
4430
|
for (i = 0, a = o.length - 1; i < a; )
|
|
4430
|
-
s = i + a >> 1, e[o[s]] <
|
|
4431
|
-
|
|
4431
|
+
s = i + a >> 1, e[o[s]] < u ? i = s + 1 : a = s;
|
|
4432
|
+
u < e[o[i]] && (i > 0 && (t[r] = o[i - 1]), o[i] = r);
|
|
4432
4433
|
}
|
|
4433
4434
|
}
|
|
4434
4435
|
for (i = o.length, a = o[i - 1]; i-- > 0; )
|
|
@@ -4559,7 +4560,7 @@ function hs(e, t = null, o = null, r = 0, n = null, i = !1) {
|
|
|
4559
4560
|
return o && Ln(s, o), Po > 0 && !i && Be && (s.shapeFlag & 6 ? Be[Be.indexOf(e)] = s : Be.push(s)), s.patchFlag = -2, s;
|
|
4560
4561
|
}
|
|
4561
4562
|
if (ms(e) && (e = e.__vccOpts), t) {
|
|
4562
|
-
t =
|
|
4563
|
+
t = Gc(t);
|
|
4563
4564
|
let { class: s, style: l } = t;
|
|
4564
4565
|
s && !ve(s) && (t.class = ye(s)), ae(l) && (pr(l) && !L(l) && (l = ge({}, l)), t.style = Et(l));
|
|
4565
4566
|
}
|
|
@@ -4580,16 +4581,16 @@ Component that was made reactive: `,
|
|
|
4580
4581
|
!0
|
|
4581
4582
|
);
|
|
4582
4583
|
}
|
|
4583
|
-
function
|
|
4584
|
+
function Gc(e) {
|
|
4584
4585
|
return e ? pr(e) || ns(e) ? ge({}, e) : e : null;
|
|
4585
4586
|
}
|
|
4586
4587
|
function wt(e, t, o = !1, r = !1) {
|
|
4587
|
-
const { props: n, ref: i, patchFlag: a, children: s, transition: l } = e,
|
|
4588
|
+
const { props: n, ref: i, patchFlag: a, children: s, transition: l } = e, u = t ? Yc(n || {}, t) : n, c = {
|
|
4588
4589
|
__v_isVNode: !0,
|
|
4589
4590
|
__v_skip: !0,
|
|
4590
4591
|
type: e.type,
|
|
4591
|
-
props:
|
|
4592
|
-
key:
|
|
4592
|
+
props: u,
|
|
4593
|
+
key: u && ps(u),
|
|
4593
4594
|
ref: t && t.ref ? (
|
|
4594
4595
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
4595
4596
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
@@ -4640,14 +4641,14 @@ function gs(e) {
|
|
|
4640
4641
|
function qe(e = " ", t = 0) {
|
|
4641
4642
|
return Y(qo, null, e, t);
|
|
4642
4643
|
}
|
|
4643
|
-
function
|
|
4644
|
+
function Jc(e, t) {
|
|
4644
4645
|
const o = Y(To, null, e);
|
|
4645
4646
|
return o.staticCount = t, o;
|
|
4646
4647
|
}
|
|
4647
4648
|
function ie(e = "", t = !1) {
|
|
4648
4649
|
return t ? (y(), me(Ee, null, e)) : Y(Ee, null, e);
|
|
4649
4650
|
}
|
|
4650
|
-
function
|
|
4651
|
+
function Ge(e) {
|
|
4651
4652
|
return e == null || typeof e == "boolean" ? Y(Ee) : L(e) ? Y(
|
|
4652
4653
|
re,
|
|
4653
4654
|
null,
|
|
@@ -4718,7 +4719,7 @@ function Qc(e, t, o) {
|
|
|
4718
4719
|
update: null,
|
|
4719
4720
|
// will be set synchronously right after creation
|
|
4720
4721
|
job: null,
|
|
4721
|
-
scope: new
|
|
4722
|
+
scope: new Js(
|
|
4722
4723
|
!0
|
|
4723
4724
|
/* detached */
|
|
4724
4725
|
),
|
|
@@ -4799,7 +4800,7 @@ let kr, gn;
|
|
|
4799
4800
|
(o) => jo = o
|
|
4800
4801
|
);
|
|
4801
4802
|
}
|
|
4802
|
-
const
|
|
4803
|
+
const Go = (e) => {
|
|
4803
4804
|
const t = Ne;
|
|
4804
4805
|
return kr(e), e.scope.on(), () => {
|
|
4805
4806
|
e.scope.off(), kr(t);
|
|
@@ -4844,7 +4845,7 @@ function od(e, t) {
|
|
|
4844
4845
|
const { setup: r } = o;
|
|
4845
4846
|
if (r) {
|
|
4846
4847
|
et();
|
|
4847
|
-
const n = e.setupContext = r.length > 1 ? id(e) : null, i =
|
|
4848
|
+
const n = e.setupContext = r.length > 1 ? id(e) : null, i = Go(e), a = po(
|
|
4848
4849
|
r,
|
|
4849
4850
|
e,
|
|
4850
4851
|
0,
|
|
@@ -4861,7 +4862,7 @@ function od(e, t) {
|
|
|
4861
4862
|
Bo(l, e, 0);
|
|
4862
4863
|
});
|
|
4863
4864
|
if (e.asyncDep = a, v.NODE_ENV !== "production" && !e.suspense) {
|
|
4864
|
-
const l =
|
|
4865
|
+
const l = Jo(e, o);
|
|
4865
4866
|
O(
|
|
4866
4867
|
`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`
|
|
4867
4868
|
);
|
|
@@ -4883,7 +4884,7 @@ function ws(e, t, o) {
|
|
|
4883
4884
|
const r = e.type;
|
|
4884
4885
|
e.render || (e.render = r.render || De);
|
|
4885
4886
|
{
|
|
4886
|
-
const n =
|
|
4887
|
+
const n = Go(e);
|
|
4887
4888
|
et();
|
|
4888
4889
|
try {
|
|
4889
4890
|
dc(e);
|
|
@@ -4954,11 +4955,11 @@ function Ir(e) {
|
|
|
4954
4955
|
get(t, o) {
|
|
4955
4956
|
if (o in t)
|
|
4956
4957
|
return t[o];
|
|
4957
|
-
if (o in
|
|
4958
|
-
return
|
|
4958
|
+
if (o in Jt)
|
|
4959
|
+
return Jt[o](e);
|
|
4959
4960
|
},
|
|
4960
4961
|
has(t, o) {
|
|
4961
|
-
return o in t || o in
|
|
4962
|
+
return o in t || o in Jt;
|
|
4962
4963
|
}
|
|
4963
4964
|
})) : e.proxy;
|
|
4964
4965
|
}
|
|
@@ -4966,7 +4967,7 @@ const ad = /(?:^|[-_])\w/g, sd = (e) => e.replace(ad, (t) => t.toUpperCase()).re
|
|
|
4966
4967
|
function Rn(e, t = !0) {
|
|
4967
4968
|
return W(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
4968
4969
|
}
|
|
4969
|
-
function
|
|
4970
|
+
function Jo(e, t, o = !1) {
|
|
4970
4971
|
let r = Rn(t);
|
|
4971
4972
|
if (!r && t.__file) {
|
|
4972
4973
|
const n = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
@@ -5112,12 +5113,12 @@ function cd() {
|
|
|
5112
5113
|
return;
|
|
5113
5114
|
const N = {};
|
|
5114
5115
|
for (const b in d.ctx)
|
|
5115
|
-
|
|
5116
|
+
u(w, b, p) && (N[b] = d.ctx[b]);
|
|
5116
5117
|
return N;
|
|
5117
5118
|
}
|
|
5118
|
-
function
|
|
5119
|
+
function u(d, p, w) {
|
|
5119
5120
|
const N = d[w];
|
|
5120
|
-
if (L(N) && N.includes(p) || ae(N) && p in N || d.extends &&
|
|
5121
|
+
if (L(N) && N.includes(p) || ae(N) && p in N || d.extends && u(d.extends, p, w) || d.mixins && d.mixins.some((b) => u(b, p, w)))
|
|
5121
5122
|
return !0;
|
|
5122
5123
|
}
|
|
5123
5124
|
function c(d) {
|
|
@@ -5214,7 +5215,7 @@ const bs = wn ? (e) => wn.createHTML(e) : (e) => e, dd = "http://www.w3.org/2000
|
|
|
5214
5215
|
Ma,
|
|
5215
5216
|
ys
|
|
5216
5217
|
), hd = (e) => (e.displayName = "Transition", e.props = pd, e), mn = /* @__PURE__ */ hd(
|
|
5217
|
-
(e, { slots: t }) => ld(
|
|
5218
|
+
(e, { slots: t }) => ld(Gl, gd(e), t)
|
|
5218
5219
|
), Ft = (e, t = []) => {
|
|
5219
5220
|
L(e) ? e.forEach((o) => o(...t)) : e && e(...t);
|
|
5220
5221
|
}, Ni = (e) => e ? L(e) ? e.some((t) => t.length > 1) : e.length > 1 : !1;
|
|
@@ -5232,7 +5233,7 @@ function gd(e) {
|
|
|
5232
5233
|
enterActiveClass: a = `${o}-enter-active`,
|
|
5233
5234
|
enterToClass: s = `${o}-enter-to`,
|
|
5234
5235
|
appearFromClass: l = i,
|
|
5235
|
-
appearActiveClass:
|
|
5236
|
+
appearActiveClass: u = a,
|
|
5236
5237
|
appearToClass: c = s,
|
|
5237
5238
|
leaveFromClass: d = `${o}-leave-from`,
|
|
5238
5239
|
leaveActiveClass: p = `${o}-leave-active`,
|
|
@@ -5247,7 +5248,7 @@ function gd(e) {
|
|
|
5247
5248
|
onAppear: q = z,
|
|
5248
5249
|
onAppearCancelled: H = U
|
|
5249
5250
|
} = t, _ = ($, se, we, $e) => {
|
|
5250
|
-
$._enterCancelled = $e, Rt($, se ? c : s), Rt($, se ?
|
|
5251
|
+
$._enterCancelled = $e, Rt($, se ? c : s), Rt($, se ? u : a), we && we();
|
|
5251
5252
|
}, I = ($, se) => {
|
|
5252
5253
|
$._isLeaving = !1, Rt($, d), Rt($, w), Rt($, p), se && se();
|
|
5253
5254
|
}, P = ($) => (se, we) => {
|
|
@@ -5261,7 +5262,7 @@ function gd(e) {
|
|
|
5261
5262
|
Ft(R, [$]), bt($, i), bt($, a);
|
|
5262
5263
|
},
|
|
5263
5264
|
onBeforeAppear($) {
|
|
5264
|
-
Ft(j, [$]), bt($, l), bt($,
|
|
5265
|
+
Ft(j, [$]), bt($, l), bt($, u);
|
|
5265
5266
|
},
|
|
5266
5267
|
onEnter: P(!1),
|
|
5267
5268
|
onAppear: P(!0),
|
|
@@ -5287,13 +5288,13 @@ function vd(e) {
|
|
|
5287
5288
|
if (e == null)
|
|
5288
5289
|
return null;
|
|
5289
5290
|
if (ae(e))
|
|
5290
|
-
return [
|
|
5291
|
+
return [Jr(e.enter), Jr(e.leave)];
|
|
5291
5292
|
{
|
|
5292
|
-
const t =
|
|
5293
|
+
const t = Jr(e);
|
|
5293
5294
|
return [t, t];
|
|
5294
5295
|
}
|
|
5295
5296
|
}
|
|
5296
|
-
function
|
|
5297
|
+
function Jr(e) {
|
|
5297
5298
|
const t = en(e);
|
|
5298
5299
|
return Ve.NODE_ENV !== "production" && $l(t, "<transition> explicit duration"), t;
|
|
5299
5300
|
}
|
|
@@ -5320,21 +5321,21 @@ function Si(e, t, o, r) {
|
|
|
5320
5321
|
const { type: a, timeout: s, propCount: l } = md(e, t);
|
|
5321
5322
|
if (!a)
|
|
5322
5323
|
return r();
|
|
5323
|
-
const
|
|
5324
|
+
const u = a + "end";
|
|
5324
5325
|
let c = 0;
|
|
5325
5326
|
const d = () => {
|
|
5326
|
-
e.removeEventListener(
|
|
5327
|
+
e.removeEventListener(u, p), i();
|
|
5327
5328
|
}, p = (w) => {
|
|
5328
5329
|
w.target === e && ++c >= l && d();
|
|
5329
5330
|
};
|
|
5330
5331
|
setTimeout(() => {
|
|
5331
5332
|
c < l && d();
|
|
5332
|
-
}, s + 1), e.addEventListener(
|
|
5333
|
+
}, s + 1), e.addEventListener(u, p);
|
|
5333
5334
|
}
|
|
5334
5335
|
function md(e, t) {
|
|
5335
|
-
const o = window.getComputedStyle(e), r = (N) => (o[N] || "").split(", "), n = r(`${Ct}Delay`), i = r(`${Ct}Duration`), a = $i(n, i), s = r(`${yo}Delay`), l = r(`${yo}Duration`),
|
|
5336
|
+
const o = window.getComputedStyle(e), r = (N) => (o[N] || "").split(", "), n = r(`${Ct}Delay`), i = r(`${Ct}Duration`), a = $i(n, i), s = r(`${yo}Delay`), l = r(`${yo}Duration`), u = $i(s, l);
|
|
5336
5337
|
let c = null, d = 0, p = 0;
|
|
5337
|
-
t === Ct ? a > 0 && (c = Ct, d = a, p = i.length) : t === yo ?
|
|
5338
|
+
t === Ct ? a > 0 && (c = Ct, d = a, p = i.length) : t === yo ? u > 0 && (c = yo, d = u, p = l.length) : (d = Math.max(a, u), c = d > 0 ? a > u ? Ct : yo : null, p = c ? c === Ct ? i.length : l.length : 0);
|
|
5338
5339
|
const w = c === Ct && /\b(?:transform|all)(?:,|$)/.test(
|
|
5339
5340
|
r(`${Ct}Property`).toString()
|
|
5340
5341
|
);
|
|
@@ -5490,11 +5491,11 @@ function Sd(e, t, o, r, n = null) {
|
|
|
5490
5491
|
else {
|
|
5491
5492
|
const [s, l] = $d(t);
|
|
5492
5493
|
if (r) {
|
|
5493
|
-
const
|
|
5494
|
+
const u = i[t] = Dd(
|
|
5494
5495
|
Ve.NODE_ENV !== "production" ? Li(r, t) : r,
|
|
5495
5496
|
n
|
|
5496
5497
|
);
|
|
5497
|
-
At(e, s,
|
|
5498
|
+
At(e, s, u, l);
|
|
5498
5499
|
} else a && (Od(e, s, a, l), i[t] = void 0);
|
|
5499
5500
|
}
|
|
5500
5501
|
}
|
|
@@ -5630,8 +5631,8 @@ class zn extends Pd {
|
|
|
5630
5631
|
let s;
|
|
5631
5632
|
if (i && !L(i))
|
|
5632
5633
|
for (const l in i) {
|
|
5633
|
-
const
|
|
5634
|
-
(
|
|
5634
|
+
const u = i[l];
|
|
5635
|
+
(u === Number || u && u.type === Number) && (l in this._props && (this._props[l] = en(this._props[l])), (s || (s = /* @__PURE__ */ Object.create(null)))[Ae(l)] = !0);
|
|
5635
5636
|
}
|
|
5636
5637
|
this._numberProps = s, this._resolveProps(r), this.shadowRoot ? this._applyStyles(a) : Ve.NODE_ENV !== "production" && a && Ke(
|
|
5637
5638
|
"Custom element style injection is not supported when using shadowRoot: false"
|
|
@@ -5754,11 +5755,11 @@ class zn extends Pd {
|
|
|
5754
5755
|
if (a)
|
|
5755
5756
|
for (const l of a) {
|
|
5756
5757
|
if (o && l.nodeType === 1) {
|
|
5757
|
-
const
|
|
5758
|
-
l.setAttribute(
|
|
5758
|
+
const u = o + "-s", c = document.createTreeWalker(l, 1);
|
|
5759
|
+
l.setAttribute(u, "");
|
|
5759
5760
|
let d;
|
|
5760
5761
|
for (; d = c.nextNode(); )
|
|
5761
|
-
d.setAttribute(
|
|
5762
|
+
d.setAttribute(u, "");
|
|
5762
5763
|
}
|
|
5763
5764
|
s.insertBefore(l, n);
|
|
5764
5765
|
}
|
|
@@ -5854,8 +5855,8 @@ const Nr = {
|
|
|
5854
5855
|
if (i && !l)
|
|
5855
5856
|
a(r.concat(n));
|
|
5856
5857
|
else if (!i && l) {
|
|
5857
|
-
const
|
|
5858
|
-
|
|
5858
|
+
const u = [...r];
|
|
5859
|
+
u.splice(s, 1), a(u);
|
|
5859
5860
|
}
|
|
5860
5861
|
} else if (uo(r)) {
|
|
5861
5862
|
const s = new Set(r);
|
|
@@ -5924,7 +5925,7 @@ function Bi(e, t) {
|
|
|
5924
5925
|
if (o)
|
|
5925
5926
|
if (r) {
|
|
5926
5927
|
const l = typeof s;
|
|
5927
|
-
l === "string" || l === "number" ? a.selected = t.some((
|
|
5928
|
+
l === "string" || l === "number" ? a.selected = t.some((u) => String(u) === String(s)) : a.selected = En(t, s) > -1;
|
|
5928
5929
|
} else
|
|
5929
5930
|
a.selected = t.has(s);
|
|
5930
5931
|
else if (Uo(Fo(a), t)) {
|
|
@@ -5993,7 +5994,7 @@ const Bd = ((...e) => {
|
|
|
5993
5994
|
Ve.NODE_ENV !== "production" && (Wd(t), qd(t));
|
|
5994
5995
|
const { mount: o } = t;
|
|
5995
5996
|
return t.mount = (r) => {
|
|
5996
|
-
const n =
|
|
5997
|
+
const n = Gd(r);
|
|
5997
5998
|
if (!n) return;
|
|
5998
5999
|
const i = t._component;
|
|
5999
6000
|
!W(i) && !i.render && !i.template && (i.template = n.innerHTML), n.nodeType === 1 && (n.textContent = "");
|
|
@@ -6037,7 +6038,7 @@ function qd(e) {
|
|
|
6037
6038
|
});
|
|
6038
6039
|
}
|
|
6039
6040
|
}
|
|
6040
|
-
function
|
|
6041
|
+
function Gd(e) {
|
|
6041
6042
|
if (ve(e)) {
|
|
6042
6043
|
const t = document.querySelector(e);
|
|
6043
6044
|
return Ve.NODE_ENV !== "production" && !t && Ke(
|
|
@@ -6048,11 +6049,11 @@ function Jd(e) {
|
|
|
6048
6049
|
'mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'
|
|
6049
6050
|
), e;
|
|
6050
6051
|
}
|
|
6051
|
-
var
|
|
6052
|
+
var Jd = {};
|
|
6052
6053
|
function Yd() {
|
|
6053
6054
|
cd();
|
|
6054
6055
|
}
|
|
6055
|
-
|
|
6056
|
+
Jd.NODE_ENV !== "production" && Yd();
|
|
6056
6057
|
const Xd = ".icon[data-v-6fc289e2]{width:1em;height:1em;display:inline-block;vertical-align:middle}", be = (e, t) => {
|
|
6057
6058
|
const o = e.__vccOpts || e;
|
|
6058
6059
|
for (const [r, n] of t)
|
|
@@ -6148,7 +6149,7 @@ const Os = /* @__PURE__ */ be(sf, [["render", cf], ["styles", [af]], ["__scopeId
|
|
|
6148
6149
|
return (t, o) => (y(), D("div", df, [
|
|
6149
6150
|
g("div", ff, [
|
|
6150
6151
|
o[0] || (o[0] = g("div", { class: "loader-circle" }, null, -1)),
|
|
6151
|
-
g("div", uf,
|
|
6152
|
+
g("div", uf, J(e.message), 1)
|
|
6152
6153
|
])
|
|
6153
6154
|
]));
|
|
6154
6155
|
}
|
|
@@ -6178,7 +6179,7 @@ const Os = /* @__PURE__ */ be(sf, [["render", cf], ["styles", [af]], ["__scopeId
|
|
|
6178
6179
|
innerHTML: s.icon
|
|
6179
6180
|
}, null, 8, mf))
|
|
6180
6181
|
])) : ie("", !0),
|
|
6181
|
-
g("span", bf,
|
|
6182
|
+
g("span", bf, J(s.label), 1)
|
|
6182
6183
|
], 10, vf))), 128))
|
|
6183
6184
|
]));
|
|
6184
6185
|
}
|
|
@@ -6194,7 +6195,7 @@ function kf() {
|
|
|
6194
6195
|
}, l = async () => {
|
|
6195
6196
|
const w = new Blob([JSON.stringify(n.value, null, 2)], { type: "application/json" }), N = URL.createObjectURL(w), b = document.createElement("a");
|
|
6196
6197
|
b.href = N, b.download = "translations.json", b.click(), URL.revokeObjectURL(N);
|
|
6197
|
-
},
|
|
6198
|
+
}, u = (w) => {
|
|
6198
6199
|
const N = w.target;
|
|
6199
6200
|
if (N.files && N.files.length > 0) {
|
|
6200
6201
|
const b = N.files[0];
|
|
@@ -6256,7 +6257,7 @@ function kf() {
|
|
|
6256
6257
|
init: d,
|
|
6257
6258
|
handleFileSelected: s,
|
|
6258
6259
|
exportTranslations: l,
|
|
6259
|
-
importTranslations:
|
|
6260
|
+
importTranslations: u,
|
|
6260
6261
|
getDefaultLocaleTranslation: c,
|
|
6261
6262
|
saveCurrent: p
|
|
6262
6263
|
};
|
|
@@ -6278,10 +6279,10 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6278
6279
|
g("div", Nf, [
|
|
6279
6280
|
g("span", Of, [
|
|
6280
6281
|
vt(t.$slots, "icon", {}, () => [
|
|
6281
|
-
e.icon ? (y(), D("span", Sf,
|
|
6282
|
+
e.icon ? (y(), D("span", Sf, J(e.icon), 1)) : ie("", !0)
|
|
6282
6283
|
])
|
|
6283
6284
|
]),
|
|
6284
|
-
g("h3", $f,
|
|
6285
|
+
g("h3", $f, J(e.title), 1)
|
|
6285
6286
|
]),
|
|
6286
6287
|
g("div", Cf, [
|
|
6287
6288
|
vt(t.$slots, "default", {}, void 0)
|
|
@@ -6340,10 +6341,10 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6340
6341
|
}, null, 2),
|
|
6341
6342
|
g("span", {
|
|
6342
6343
|
class: ye(["status-indicator__text", r.value])
|
|
6343
|
-
},
|
|
6344
|
+
}, J(e.label), 3)
|
|
6344
6345
|
]));
|
|
6345
6346
|
}
|
|
6346
|
-
}), Mf = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-ceddd4fb],[data-v-ceddd4fb]:before,[data-v-ceddd4fb]:after,[data-v-ceddd4fb]::backdrop{--tw-duration:initial;--tw-font-weight:initial}}}.status-indicator[data-v-ceddd4fb]{align-items:center;gap:calc(var(--spacing,.25rem)*2);display:flex}.status-indicator__dot[data-v-ceddd4fb]{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-radius:3.40282e38px;transition-duration:.2s}.status-indicator__dot--sm[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*2);width:calc(var(--spacing,.25rem)*2)}.status-indicator__dot--md[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*3);width:calc(var(--spacing,.25rem)*3)}.status-indicator__dot--lg[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*4);width:calc(var(--spacing,.25rem)*4)}.status-indicator__dot--success[data-v-ceddd4fb]{background-color:var(--color-green-500,oklch(72.3% .219 149.579));box-shadow:0 0 0 2px #22c55e33}.status-indicator__dot--disabled[data-v-ceddd4fb]{background-color:var(--color-red-500,oklch(63.7% .237 25.331));box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--warning[data-v-ceddd4fb]{background-color:var(--color-yellow-500,oklch(79.5% .184 86.047));box-shadow:0 0 0 2px #eab30833}.status-indicator__dot--error[data-v-ceddd4fb]{background-color:var(--color-red-500,oklch(63.7% .237 25.331));box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--info[data-v-ceddd4fb]{background-color:var(--color-blue-500,oklch(62.3% .214 259.815));box-shadow:0 0 0 2px #3b82f633}.status-indicator__dot--default[data-v-ceddd4fb]{background-color:var(--color-slate-500,oklch(55.4% .046 257.417));box-shadow:0 0 0 2px #64748b33}.status-indicator__text[data-v-ceddd4fb]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}', bn = /* @__PURE__ */ be(Af, [["styles", [Mf]], ["__scopeId", "data-v-ceddd4fb"]]), If = { class: "locale-table-container" }, Pf = { class: "locale-table-wrapper" }, jf = { class: "locale-table" }, Lf = { class: "locale-table__header" }, Ff = { class: "header-content" }, Rf = { class: "header-icon" }, zf = { key: 1 }, Hf = { class: "header-text" }, Uf = { class: "locale-table__body" }, Bf = { class: "locale-table__cell" }, Kf = { class: "locale-code" }, Wf = { class: "locale-code__text" }, qf = { class: "locale-table__cell" },
|
|
6347
|
+
}), Mf = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-ceddd4fb],[data-v-ceddd4fb]:before,[data-v-ceddd4fb]:after,[data-v-ceddd4fb]::backdrop{--tw-duration:initial;--tw-font-weight:initial}}}.status-indicator[data-v-ceddd4fb]{align-items:center;gap:calc(var(--spacing,.25rem)*2);display:flex}.status-indicator__dot[data-v-ceddd4fb]{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-radius:3.40282e38px;transition-duration:.2s}.status-indicator__dot--sm[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*2);width:calc(var(--spacing,.25rem)*2)}.status-indicator__dot--md[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*3);width:calc(var(--spacing,.25rem)*3)}.status-indicator__dot--lg[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*4);width:calc(var(--spacing,.25rem)*4)}.status-indicator__dot--success[data-v-ceddd4fb]{background-color:var(--color-green-500,oklch(72.3% .219 149.579));box-shadow:0 0 0 2px #22c55e33}.status-indicator__dot--disabled[data-v-ceddd4fb]{background-color:var(--color-red-500,oklch(63.7% .237 25.331));box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--warning[data-v-ceddd4fb]{background-color:var(--color-yellow-500,oklch(79.5% .184 86.047));box-shadow:0 0 0 2px #eab30833}.status-indicator__dot--error[data-v-ceddd4fb]{background-color:var(--color-red-500,oklch(63.7% .237 25.331));box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--info[data-v-ceddd4fb]{background-color:var(--color-blue-500,oklch(62.3% .214 259.815));box-shadow:0 0 0 2px #3b82f633}.status-indicator__dot--default[data-v-ceddd4fb]{background-color:var(--color-slate-500,oklch(55.4% .046 257.417));box-shadow:0 0 0 2px #64748b33}.status-indicator__text[data-v-ceddd4fb]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}', bn = /* @__PURE__ */ be(Af, [["styles", [Mf]], ["__scopeId", "data-v-ceddd4fb"]]), If = { class: "locale-table-container" }, Pf = { class: "locale-table-wrapper" }, jf = { class: "locale-table" }, Lf = { class: "locale-table__header" }, Ff = { class: "header-content" }, Rf = { class: "header-icon" }, zf = { key: 1 }, Hf = { class: "header-text" }, Uf = { class: "locale-table__body" }, Bf = { class: "locale-table__cell" }, Kf = { class: "locale-code" }, Wf = { class: "locale-code__text" }, qf = { class: "locale-table__cell" }, Gf = { class: "locale-name" }, Jf = { class: "locale-table__cell" }, Yf = { class: "locale-iso" }, Xf = { class: "locale-table__cell" }, Zf = { class: "direction-indicator" }, Qf = { class: "locale-table__cell" }, eu = { class: "base-url" }, tu = { class: "locale-table__cell" }, ou = /* @__PURE__ */ _e({
|
|
6347
6348
|
__name: "LocaleTable",
|
|
6348
6349
|
props: {
|
|
6349
6350
|
locales: { type: Array }
|
|
@@ -6368,9 +6369,9 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6368
6369
|
}, [
|
|
6369
6370
|
g("div", Ff, [
|
|
6370
6371
|
g("span", Rf, [
|
|
6371
|
-
n.iconComponent ? (y(), me(Ba(n.iconComponent), { key: 0 })) : (y(), D("span", zf,
|
|
6372
|
+
n.iconComponent ? (y(), me(Ba(n.iconComponent), { key: 0 })) : (y(), D("span", zf, J(n.icon), 1))
|
|
6372
6373
|
]),
|
|
6373
|
-
g("span", Hf,
|
|
6374
|
+
g("span", Hf, J(n.label), 1)
|
|
6374
6375
|
])
|
|
6375
6376
|
])), 64))
|
|
6376
6377
|
])
|
|
@@ -6382,24 +6383,24 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6382
6383
|
}, [
|
|
6383
6384
|
g("td", Bf, [
|
|
6384
6385
|
g("div", Kf, [
|
|
6385
|
-
g("span", Wf,
|
|
6386
|
+
g("span", Wf, J(n.code), 1)
|
|
6386
6387
|
])
|
|
6387
6388
|
]),
|
|
6388
6389
|
g("td", qf, [
|
|
6389
|
-
g("span",
|
|
6390
|
+
g("span", Gf, J(n.displayName || "—"), 1)
|
|
6390
6391
|
]),
|
|
6391
|
-
g("td",
|
|
6392
|
-
g("span", Yf,
|
|
6392
|
+
g("td", Jf, [
|
|
6393
|
+
g("span", Yf, J(n.iso || "—"), 1)
|
|
6393
6394
|
]),
|
|
6394
6395
|
g("td", Xf, [
|
|
6395
6396
|
g("div", Zf, [
|
|
6396
6397
|
g("span", {
|
|
6397
6398
|
class: ye(["direction-badge", `direction-badge--${n.dir || "ltr"}`])
|
|
6398
|
-
},
|
|
6399
|
+
}, J((n.dir || "ltr").toUpperCase()), 3)
|
|
6399
6400
|
])
|
|
6400
6401
|
]),
|
|
6401
6402
|
g("td", Qf, [
|
|
6402
|
-
g("span", eu,
|
|
6403
|
+
g("span", eu, J(n.baseUrl || "—"), 1)
|
|
6403
6404
|
]),
|
|
6404
6405
|
g("td", tu, [
|
|
6405
6406
|
Y(bn, {
|
|
@@ -6431,15 +6432,15 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6431
6432
|
g("div", su, [
|
|
6432
6433
|
g("div", lu, [
|
|
6433
6434
|
n[0] || (n[0] = g("span", { class: "config-label" }, "Default Locale", -1)),
|
|
6434
|
-
g("span", cu,
|
|
6435
|
+
g("span", cu, J(ue(o).defaultLocale || "—"), 1)
|
|
6435
6436
|
]),
|
|
6436
6437
|
g("div", du, [
|
|
6437
6438
|
n[1] || (n[1] = g("span", { class: "config-label" }, "Routing Strategy", -1)),
|
|
6438
|
-
g("span", fu,
|
|
6439
|
+
g("span", fu, J(ue(o).strategy || "—"), 1)
|
|
6439
6440
|
]),
|
|
6440
6441
|
g("div", uu, [
|
|
6441
6442
|
n[2] || (n[2] = g("span", { class: "config-label" }, "Fallback Locale", -1)),
|
|
6442
|
-
g("span", pu,
|
|
6443
|
+
g("span", pu, J(ue(o).fallbackLocale || "—"), 1)
|
|
6443
6444
|
]),
|
|
6444
6445
|
g("div", hu, [
|
|
6445
6446
|
n[3] || (n[3] = g("span", { class: "config-label" }, "Debug Mode", -1)),
|
|
@@ -6478,15 +6479,15 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6478
6479
|
]),
|
|
6479
6480
|
g("div", wu, [
|
|
6480
6481
|
n[5] || (n[5] = g("span", { class: "config-label" }, "Translation Directory", -1)),
|
|
6481
|
-
g("span", mu,
|
|
6482
|
+
g("span", mu, J(ue(o).translationDir || "—"), 1)
|
|
6482
6483
|
]),
|
|
6483
6484
|
g("div", bu, [
|
|
6484
6485
|
n[6] || (n[6] = g("span", { class: "config-label" }, "API Base URL", -1)),
|
|
6485
|
-
g("span", yu,
|
|
6486
|
+
g("span", yu, J(ue(o).apiBaseUrl || "—"), 1)
|
|
6486
6487
|
]),
|
|
6487
6488
|
g("div", _u, [
|
|
6488
6489
|
n[7] || (n[7] = g("span", { class: "config-label" }, "Locale Cookie", -1)),
|
|
6489
|
-
g("span", xu,
|
|
6490
|
+
g("span", xu, J(ue(o).localeCookie || "—"), 1)
|
|
6490
6491
|
])
|
|
6491
6492
|
])
|
|
6492
6493
|
]),
|
|
@@ -6541,7 +6542,7 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6541
6542
|
},
|
|
6542
6543
|
{ immediate: !0 }
|
|
6543
6544
|
);
|
|
6544
|
-
function
|
|
6545
|
+
function u(c, d) {
|
|
6545
6546
|
r("fileSelected", c, d);
|
|
6546
6547
|
}
|
|
6547
6548
|
return (c, d) => {
|
|
@@ -6553,7 +6554,7 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6553
6554
|
style: Et(a.value),
|
|
6554
6555
|
onClick: l
|
|
6555
6556
|
}, [
|
|
6556
|
-
d[0] || (d[0] =
|
|
6557
|
+
d[0] || (d[0] = Jc('<span class="file-icon" data-v-42ac6ca2><svg class="icon" viewBox="0 0 24 24" data-v-42ac6ca2><g transform="translate(4 4) scale(0.8)" data-v-42ac6ca2><circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" stroke-width="1.5" data-v-42ac6ca2></circle><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" fill="none" stroke="currentColor" stroke-width="1" data-v-42ac6ca2></path><path d="M2 12h20M5 5.2l14 14M5 18.8l14-14" fill="none" stroke="currentColor" stroke-width="1" data-v-42ac6ca2></path></g></svg></span>', 1)),
|
|
6557
6558
|
g("span", {
|
|
6558
6559
|
class: "file-name",
|
|
6559
6560
|
innerHTML: e.node.name
|
|
@@ -6582,7 +6583,7 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6582
6583
|
})
|
|
6583
6584
|
])
|
|
6584
6585
|
], -1)),
|
|
6585
|
-
g("span", Vu,
|
|
6586
|
+
g("span", Vu, J(e.node.name), 1)
|
|
6586
6587
|
], 6),
|
|
6587
6588
|
n.value ? (y(), D("div", Au, [
|
|
6588
6589
|
(y(!0), D(re, null, Fe(e.node.children, (w) => (y(), me(p, {
|
|
@@ -6592,7 +6593,7 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6592
6593
|
depth: e.depth + 1,
|
|
6593
6594
|
"selected-file": e.selectedFile,
|
|
6594
6595
|
"default-expanded": !1,
|
|
6595
|
-
onFileSelected:
|
|
6596
|
+
onFileSelected: u
|
|
6596
6597
|
}, null, 8, ["node", "locale", "depth", "selected-file"]))), 128))
|
|
6597
6598
|
])) : ie("", !0)
|
|
6598
6599
|
]))
|
|
@@ -6608,13 +6609,13 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6608
6609
|
emits: ["fileSelected"],
|
|
6609
6610
|
setup(e, { emit: t }) {
|
|
6610
6611
|
const o = e, r = t, n = oe(() => {
|
|
6611
|
-
const l = Object.keys(o.locales),
|
|
6612
|
-
name: a(
|
|
6613
|
-
fullPath:
|
|
6612
|
+
const l = Object.keys(o.locales), u = i(l), c = {
|
|
6613
|
+
name: a(u) || "/",
|
|
6614
|
+
fullPath: u || "/",
|
|
6614
6615
|
children: []
|
|
6615
6616
|
};
|
|
6616
6617
|
l.forEach((p) => {
|
|
6617
|
-
const w = p.startsWith(
|
|
6618
|
+
const w = p.startsWith(u) ? p.slice(u.length).split("/").filter(Boolean) : p.split("/").filter(Boolean);
|
|
6618
6619
|
let N = c;
|
|
6619
6620
|
for (let b = 0; b < w.length; b++) {
|
|
6620
6621
|
const F = w[b];
|
|
@@ -6638,10 +6639,10 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6638
6639
|
});
|
|
6639
6640
|
function i(l) {
|
|
6640
6641
|
if (l.length === 0) return "";
|
|
6641
|
-
const
|
|
6642
|
+
const u = l.map((p) => p.split("/")), c = [], d = Math.min(...u.map((p) => p.length));
|
|
6642
6643
|
for (let p = 0; p < d; p++) {
|
|
6643
|
-
const w =
|
|
6644
|
-
if (w &&
|
|
6644
|
+
const w = u[0]?.[p];
|
|
6645
|
+
if (w && u.every((N) => N[p] === w))
|
|
6645
6646
|
c.push(w);
|
|
6646
6647
|
else
|
|
6647
6648
|
break;
|
|
@@ -6649,13 +6650,13 @@ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of =
|
|
|
6649
6650
|
return c.join("/");
|
|
6650
6651
|
}
|
|
6651
6652
|
function a(l) {
|
|
6652
|
-
const
|
|
6653
|
-
return
|
|
6653
|
+
const u = l.split("/").filter((c) => c);
|
|
6654
|
+
return u[u.length - 1] || "";
|
|
6654
6655
|
}
|
|
6655
6656
|
function s(l) {
|
|
6656
6657
|
r("fileSelected", l);
|
|
6657
6658
|
}
|
|
6658
|
-
return (l,
|
|
6659
|
+
return (l, u) => (y(), D("div", ju, [
|
|
6659
6660
|
g("div", Lu, [
|
|
6660
6661
|
(y(!0), D(re, null, Fe(n.value, (c) => (y(), me(Pu, {
|
|
6661
6662
|
key: c.fullPath,
|
|
@@ -6689,7 +6690,7 @@ const $s = (e) => {
|
|
|
6689
6690
|
for (let s = 0; s < r.length; s++) {
|
|
6690
6691
|
const l = r[s];
|
|
6691
6692
|
if (!l) continue;
|
|
6692
|
-
const
|
|
6693
|
+
const u = l.startsWith("[]"), c = u ? Number(l.slice(2)) : Number.NaN;
|
|
6693
6694
|
if (s === r.length - 1) {
|
|
6694
6695
|
if (typeof n == "object" && n !== null && l) {
|
|
6695
6696
|
const d = n, p = e[o];
|
|
@@ -6698,7 +6699,7 @@ const $s = (e) => {
|
|
|
6698
6699
|
} else {
|
|
6699
6700
|
(typeof n != "object" || n === null) && (n = {});
|
|
6700
6701
|
const d = n;
|
|
6701
|
-
if (
|
|
6702
|
+
if (u) {
|
|
6702
6703
|
if (!Array.isArray(d)) {
|
|
6703
6704
|
const w = [];
|
|
6704
6705
|
i !== null && a !== null && typeof a == "string" ? i[a] = w : l && (t[l] = w), n = w;
|
|
@@ -6712,7 +6713,7 @@ const $s = (e) => {
|
|
|
6712
6713
|
}
|
|
6713
6714
|
}
|
|
6714
6715
|
return t;
|
|
6715
|
-
}, Hu = { class: "diff-viewer" }, Uu = { class: "filters" }, Bu = ["value"], Ku = { class: "diff-list" }, Wu = { class: "key-row" }, qu = { class: "key-label" },
|
|
6716
|
+
}, Hu = { class: "diff-viewer" }, Uu = { class: "filters" }, Bu = ["value"], Ku = { class: "diff-list" }, Wu = { class: "key-row" }, qu = { class: "key-label" }, Gu = { class: "value-compare" }, Ju = { class: "value old" }, Yu = { class: "value-content" }, Xu = { class: "value new" }, Zu = { class: "value-content" }, Qu = { class: "value-content" }, ep = /* @__PURE__ */ _e({
|
|
6716
6717
|
__name: "DiffViewer",
|
|
6717
6718
|
props: {
|
|
6718
6719
|
current: { type: Object },
|
|
@@ -6728,9 +6729,9 @@ const $s = (e) => {
|
|
|
6728
6729
|
modified: "text-yellow-600",
|
|
6729
6730
|
removed: "text-red-600"
|
|
6730
6731
|
}, i = oe(() => {
|
|
6731
|
-
const l = Xe(t.current),
|
|
6732
|
+
const l = Xe(t.current), u = Xe(t.base), c = /* @__PURE__ */ new Set([...Object.keys(l), ...Object.keys(u)]);
|
|
6732
6733
|
return Array.from(c).map((d) => {
|
|
6733
|
-
const p = l[d], w =
|
|
6734
|
+
const p = l[d], w = u[d];
|
|
6734
6735
|
return !p && w ? { key: d, type: "removed", baseValue: w } : p && !w ? { key: d, type: "added", currentValue: p } : p !== w ? {
|
|
6735
6736
|
key: d,
|
|
6736
6737
|
type: "modified",
|
|
@@ -6743,14 +6744,14 @@ const $s = (e) => {
|
|
|
6743
6744
|
modified: i.value.filter((l) => l.type === "modified").length,
|
|
6744
6745
|
removed: i.value.filter((l) => l.type === "removed").length
|
|
6745
6746
|
})), s = oe(() => i.value.filter((l) => o.value.includes(l.type)));
|
|
6746
|
-
return (l,
|
|
6747
|
+
return (l, u) => (y(), D("div", Hu, [
|
|
6747
6748
|
g("div", Uu, [
|
|
6748
6749
|
(y(), D(re, null, Fe(r, (c) => g("label", {
|
|
6749
6750
|
key: c.type,
|
|
6750
6751
|
class: "filter-item"
|
|
6751
6752
|
}, [
|
|
6752
6753
|
ut(g("input", {
|
|
6753
|
-
"onUpdate:modelValue":
|
|
6754
|
+
"onUpdate:modelValue": u[0] || (u[0] = (d) => o.value = d),
|
|
6754
6755
|
type: "checkbox",
|
|
6755
6756
|
value: c.type,
|
|
6756
6757
|
class: "sr-only"
|
|
@@ -6759,7 +6760,7 @@ const $s = (e) => {
|
|
|
6759
6760
|
]),
|
|
6760
6761
|
g("span", {
|
|
6761
6762
|
class: ye(["filter-badge", c.class])
|
|
6762
|
-
},
|
|
6763
|
+
}, J(c.label) + " (" + J(a.value[c.type]) + ") ", 3)
|
|
6763
6764
|
])), 64))
|
|
6764
6765
|
]),
|
|
6765
6766
|
g("div", Ku, [
|
|
@@ -6768,27 +6769,27 @@ const $s = (e) => {
|
|
|
6768
6769
|
class: "diff-item"
|
|
6769
6770
|
}, [
|
|
6770
6771
|
g("div", Wu, [
|
|
6771
|
-
g("span", qu,
|
|
6772
|
+
g("span", qu, J(c.key), 1),
|
|
6772
6773
|
c.type ? (y(), D("span", {
|
|
6773
6774
|
key: 0,
|
|
6774
6775
|
class: ye(["change-type", n[c.type]])
|
|
6775
|
-
},
|
|
6776
|
+
}, J(c.type.toUpperCase()), 3)) : ie("", !0)
|
|
6776
6777
|
]),
|
|
6777
|
-
g("div",
|
|
6778
|
+
g("div", Gu, [
|
|
6778
6779
|
c.type === "modified" ? (y(), D(re, { key: 0 }, [
|
|
6779
|
-
g("div",
|
|
6780
|
-
|
|
6781
|
-
g("span", Yu,
|
|
6780
|
+
g("div", Ju, [
|
|
6781
|
+
u[1] || (u[1] = g("span", { class: "value-label" }, "Default:", -1)),
|
|
6782
|
+
g("span", Yu, J(c.baseValue), 1)
|
|
6782
6783
|
]),
|
|
6783
6784
|
g("div", Xu, [
|
|
6784
|
-
|
|
6785
|
-
g("span", Zu,
|
|
6785
|
+
u[2] || (u[2] = g("span", { class: "value-label" }, "Current:", -1)),
|
|
6786
|
+
g("span", Zu, J(c.currentValue), 1)
|
|
6786
6787
|
])
|
|
6787
6788
|
], 64)) : (y(), D("div", {
|
|
6788
6789
|
key: 1,
|
|
6789
6790
|
class: ye(["value", c.type])
|
|
6790
6791
|
}, [
|
|
6791
|
-
g("span", Qu,
|
|
6792
|
+
g("span", Qu, J(c.currentValue || c.baseValue), 1)
|
|
6792
6793
|
], 2))
|
|
6793
6794
|
])
|
|
6794
6795
|
]))), 128))
|
|
@@ -6815,26 +6816,26 @@ const $s = (e) => {
|
|
|
6815
6816
|
class: ye(["p-3 bg-gray-50 rounded-lg transition-all duration-200 hover:bg-gray-100", e.stacked ? "block" : "flex items-center justify-between"])
|
|
6816
6817
|
}, [
|
|
6817
6818
|
e.stacked ? (y(), D("div", np, [
|
|
6818
|
-
g("span", ip,
|
|
6819
|
+
g("span", ip, J(e.label), 1),
|
|
6819
6820
|
g("span", {
|
|
6820
6821
|
class: ye(["font-semibold mt-1", n.$attrs.class])
|
|
6821
6822
|
}, [
|
|
6822
|
-
qe(
|
|
6823
|
+
qe(J(o.value) + " ", 1),
|
|
6823
6824
|
e.trend ? (y(), D("span", {
|
|
6824
6825
|
key: 0,
|
|
6825
6826
|
class: ye(["ml-2 text-xs", r.value])
|
|
6826
|
-
},
|
|
6827
|
+
}, J(e.trend) + "% ", 3)) : ie("", !0)
|
|
6827
6828
|
], 2)
|
|
6828
6829
|
])) : (y(), D(re, { key: 0 }, [
|
|
6829
|
-
g("span", rp,
|
|
6830
|
+
g("span", rp, J(e.label), 1),
|
|
6830
6831
|
g("span", {
|
|
6831
6832
|
class: ye(["font-semibold min-w-[60px] text-right", n.$attrs.class])
|
|
6832
6833
|
}, [
|
|
6833
|
-
qe(
|
|
6834
|
+
qe(J(o.value) + " ", 1),
|
|
6834
6835
|
e.trend ? (y(), D("span", {
|
|
6835
6836
|
key: 0,
|
|
6836
6837
|
class: ye(["ml-2 text-xs", r.value])
|
|
6837
|
-
},
|
|
6838
|
+
}, J(e.trend) + "% ", 3)) : ie("", !0)
|
|
6838
6839
|
], 2)
|
|
6839
6840
|
], 64))
|
|
6840
6841
|
], 2));
|
|
@@ -6848,7 +6849,7 @@ const $s = (e) => {
|
|
|
6848
6849
|
content: { type: Object }
|
|
6849
6850
|
},
|
|
6850
6851
|
setup(e) {
|
|
6851
|
-
const { getDefaultLocaleTranslation: t } = Pr(), o = e, r = (_) => typeof _ == "string" ? _.trim() : "", n = (_) => typeof _ == "string", i = oe(() => Xe(o.content)), a = oe(() => Xe(t())), s = (_) => oe(() => Object.values(i.value).filter((I) => n(I) && _(I)).length), l = oe(() => Object.keys(i.value).length),
|
|
6852
|
+
const { getDefaultLocaleTranslation: t } = Pr(), o = e, r = (_) => typeof _ == "string" ? _.trim() : "", n = (_) => typeof _ == "string", i = oe(() => Xe(o.content)), a = oe(() => Xe(t())), s = (_) => oe(() => Object.values(i.value).filter((I) => n(I) && _(I)).length), l = oe(() => Object.keys(i.value).length), u = oe(() => Object.values(i.value).filter((_) => n(_) && r(_) !== "").length), c = oe(() => l.value ? (u.value / l.value * 100).toFixed(2) : "0.00"), d = oe(() => {
|
|
6852
6853
|
const _ = {};
|
|
6853
6854
|
return Object.values(i.value).forEach((I) => {
|
|
6854
6855
|
n(I) && (_[I] = (_[I] || 0) + 1);
|
|
@@ -6866,8 +6867,8 @@ const $s = (e) => {
|
|
|
6866
6867
|
}).length
|
|
6867
6868
|
), b = oe(() => w.value ? (N.value / w.value * 100).toFixed(2) : "0.00"), F = oe(() => [
|
|
6868
6869
|
{ label: "Total Keys", value: l.value, class: "text-blue-600" },
|
|
6869
|
-
{ label: "Translated Keys", value: `${
|
|
6870
|
-
{ label: "Missing Translations", value: l.value -
|
|
6870
|
+
{ label: "Translated Keys", value: `${u.value} (${c.value}%)`, class: "text-green-600" },
|
|
6871
|
+
{ label: "Missing Translations", value: l.value - u.value, class: "text-red-600" },
|
|
6871
6872
|
{ label: "Duplicate Values", value: d.value, class: "text-orange-600" },
|
|
6872
6873
|
{ label: "Long Translations (>100 chars)", value: z?.value ?? 0, class: "text-yellow-600" },
|
|
6873
6874
|
{ label: "Short Translations (<3 chars)", value: U?.value ?? 0, class: "text-pink-600" },
|
|
@@ -7184,44 +7185,44 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7184
7185
|
emits: ["update:page"],
|
|
7185
7186
|
setup(e, { emit: t }) {
|
|
7186
7187
|
const o = e, r = t, n = oe(() => [1, 2].filter((l) => l <= o.totalPages)), i = oe(() => [o.totalPages - 1, o.totalPages].filter((l) => l >= 1)), a = oe(() => {
|
|
7187
|
-
const l = [],
|
|
7188
|
-
for (let d =
|
|
7188
|
+
const l = [], u = Math.max(1, o.currentPage - 2), c = Math.min(o.totalPages, o.currentPage + 2);
|
|
7189
|
+
for (let d = u; d <= c; d++)
|
|
7189
7190
|
l.push(d);
|
|
7190
7191
|
return l;
|
|
7191
7192
|
}), s = (l) => {
|
|
7192
7193
|
l >= 1 && l <= o.totalPages && r("update:page", l);
|
|
7193
7194
|
};
|
|
7194
|
-
return (l,
|
|
7195
|
+
return (l, u) => (y(), D("div", hp, [
|
|
7195
7196
|
g("button", {
|
|
7196
7197
|
disabled: e.currentPage === 1,
|
|
7197
7198
|
class: "pagination-button",
|
|
7198
|
-
onClick:
|
|
7199
|
+
onClick: u[0] || (u[0] = (c) => s(e.currentPage - 1))
|
|
7199
7200
|
}, " Previous ", 8, gp),
|
|
7200
7201
|
e.currentPage > 3 ? (y(), D(re, { key: 0 }, [
|
|
7201
7202
|
(y(!0), D(re, null, Fe(n.value, (c) => (y(), D("button", {
|
|
7202
7203
|
key: c,
|
|
7203
7204
|
class: "pagination-button",
|
|
7204
7205
|
onClick: (d) => s(c)
|
|
7205
|
-
},
|
|
7206
|
+
}, J(c), 9, vp))), 128)),
|
|
7206
7207
|
e.currentPage > 4 ? (y(), D("span", wp, "...")) : ie("", !0)
|
|
7207
7208
|
], 64)) : ie("", !0),
|
|
7208
7209
|
(y(!0), D(re, null, Fe(a.value, (c) => (y(), D("button", {
|
|
7209
7210
|
key: c,
|
|
7210
7211
|
class: ye(["pagination-button", { active: e.currentPage === c }]),
|
|
7211
7212
|
onClick: (d) => s(c)
|
|
7212
|
-
},
|
|
7213
|
+
}, J(c), 11, mp))), 128)),
|
|
7213
7214
|
e.currentPage < e.totalPages - 2 ? (y(), D(re, { key: 1 }, [
|
|
7214
7215
|
e.currentPage < e.totalPages - 3 ? (y(), D("span", bp, "...")) : ie("", !0),
|
|
7215
7216
|
(y(!0), D(re, null, Fe(i.value, (c) => (y(), D("button", {
|
|
7216
7217
|
key: c,
|
|
7217
7218
|
class: "pagination-button",
|
|
7218
7219
|
onClick: (d) => s(c)
|
|
7219
|
-
},
|
|
7220
|
+
}, J(c), 9, yp))), 128))
|
|
7220
7221
|
], 64)) : ie("", !0),
|
|
7221
7222
|
g("button", {
|
|
7222
7223
|
disabled: e.currentPage === e.totalPages || e.totalPages === 0,
|
|
7223
7224
|
class: "pagination-button",
|
|
7224
|
-
onClick:
|
|
7225
|
+
onClick: u[1] || (u[1] = (c) => s(e.currentPage + 1))
|
|
7225
7226
|
}, " Next ", 8, _p)
|
|
7226
7227
|
]));
|
|
7227
7228
|
}
|
|
@@ -7232,10 +7233,10 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7232
7233
|
},
|
|
7233
7234
|
emits: ["update:modelValue"],
|
|
7234
7235
|
setup(e, { emit: t }) {
|
|
7235
|
-
const o = e, r = t, { selectedFile: n, configs: i, getDefaultLocaleTranslation: a } = Pr(), s = ne(Xe(o.modelValue)), l = ne({}),
|
|
7236
|
+
const o = e, r = t, { selectedFile: n, configs: i, getDefaultLocaleTranslation: a } = Pr(), s = ne(Xe(o.modelValue)), l = ne({}), u = ne(""), c = ne(1), d = ne("disabled"), p = ne(""), w = ne({}), N = oe(() => {
|
|
7236
7237
|
const j = Object.keys(l.value);
|
|
7237
|
-
if (!
|
|
7238
|
-
const q =
|
|
7238
|
+
if (!u.value.trim()) return F.value;
|
|
7239
|
+
const q = u.value.toLowerCase();
|
|
7239
7240
|
return j.filter((H) => H.toLowerCase().includes(q) || l.value[H]?.toLowerCase().includes(q));
|
|
7240
7241
|
}), b = oe(() => Math.ceil(Object.keys(l.value).length / Qr)), F = oe(() => {
|
|
7241
7242
|
const j = (c.value - 1) * Qr, q = j + Qr;
|
|
@@ -7283,11 +7284,11 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7283
7284
|
g("div", Op, [
|
|
7284
7285
|
g("div", Sp, [
|
|
7285
7286
|
ut(g("input", {
|
|
7286
|
-
"onUpdate:modelValue": q[0] || (q[0] = (H) =>
|
|
7287
|
+
"onUpdate:modelValue": q[0] || (q[0] = (H) => u.value = H),
|
|
7287
7288
|
placeholder: "Search keys or values...",
|
|
7288
7289
|
class: "search-input"
|
|
7289
7290
|
}, null, 512), [
|
|
7290
|
-
[Nr,
|
|
7291
|
+
[Nr, u.value]
|
|
7291
7292
|
])
|
|
7292
7293
|
]),
|
|
7293
7294
|
g("div", $p, [
|
|
@@ -7299,7 +7300,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7299
7300
|
g("span", {
|
|
7300
7301
|
class: "key-label",
|
|
7301
7302
|
title: H
|
|
7302
|
-
},
|
|
7303
|
+
}, J(H), 9, Tp),
|
|
7303
7304
|
d.value !== "disabled" ? (y(), D("button", {
|
|
7304
7305
|
key: 0,
|
|
7305
7306
|
class: "translate-btn",
|
|
@@ -7313,7 +7314,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7313
7314
|
], -1)
|
|
7314
7315
|
])], 8, Dp)) : ie("", !0)
|
|
7315
7316
|
]),
|
|
7316
|
-
g("div", Vp,
|
|
7317
|
+
g("div", Vp, J(l.value[H] || "No default value"), 1),
|
|
7317
7318
|
ut(g("textarea", {
|
|
7318
7319
|
"onUpdate:modelValue": (_) => s.value[H] = _,
|
|
7319
7320
|
class: "translation-input",
|
|
@@ -7327,7 +7328,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7327
7328
|
])
|
|
7328
7329
|
]),
|
|
7329
7330
|
g("div", Mp, [
|
|
7330
|
-
|
|
7331
|
+
u.value ? ie("", !0) : (y(), me(Ep, {
|
|
7331
7332
|
key: 0,
|
|
7332
7333
|
"current-page": c.value,
|
|
7333
7334
|
"total-pages": b.value,
|
|
@@ -7450,8 +7451,8 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7450
7451
|
r.value = !0, document.body.style.cursor = "col-resize", window.addEventListener("mousemove", i), window.addEventListener("mouseup", a);
|
|
7451
7452
|
}, i = (s) => {
|
|
7452
7453
|
if (!r.value || !s.target.closest(".split-pane")) return;
|
|
7453
|
-
const
|
|
7454
|
-
|
|
7454
|
+
const u = s.clientX;
|
|
7455
|
+
u >= t.minLeftWidth && (o.value = `${u}px`);
|
|
7455
7456
|
}, a = () => {
|
|
7456
7457
|
r.value && (r.value = !1, document.body.style.cursor = "", t.storageKey && localStorage.setItem(`split-pane-${t.storageKey}`, o.value), window.removeEventListener("mousemove", i), window.removeEventListener("mouseup", a));
|
|
7457
7458
|
};
|
|
@@ -7482,7 +7483,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7482
7483
|
r.value ? (y(), D("div", Wp)) : ie("", !0)
|
|
7483
7484
|
], 32));
|
|
7484
7485
|
}
|
|
7485
|
-
}),
|
|
7486
|
+
}), Gp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-d964db95],[data-v-d964db95]:before,[data-v-d964db95]:after,[data-v-d964db95]::backdrop{--tw-border-style:solid}}}.split-pane[data-v-d964db95]{background-color:var(--color-white,#fff);width:100%;height:100%;position:relative;overflow:hidden}.split-pane__left[data-v-d964db95]{top:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);left:calc(var(--spacing,.25rem)*0);z-index:0;border-right-style:var(--tw-border-style);border-right-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);position:absolute;overflow:hidden}.split-pane__divider[data-v-d964db95]{top:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);z-index:50;width:calc(var(--spacing,.25rem)*4);cursor:col-resize;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:center;display:flex;position:absolute}@media(hover:hover){.split-pane__divider[data-v-d964db95]:hover{background-color:#eff6ff80}@supports (color:color-mix(in lab,red,red)){.split-pane__divider[data-v-d964db95]:hover{background-color:color-mix(in oklab,var(--color-blue-50,oklch(97% .014 254.604))50%,transparent)}}}.split-pane__divider[data-v-d964db95]{margin-left:-2px}.divider-handle[data-v-d964db95]{background-color:var(--color-slate-200,oklch(92.9% .013 255.508));width:1px;height:100%;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s))}.split-pane__divider:hover .divider-handle[data-v-d964db95],.split-pane__divider:active .divider-handle[data-v-d964db95]{background-color:var(--color-blue-500,oklch(62.3% .214 259.815));width:2px}.split-pane__right[data-v-d964db95]{top:calc(var(--spacing,.25rem)*0);right:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);z-index:0;background-color:var(--color-white,#fff);position:absolute;overflow:hidden}.resize-overlay[data-v-d964db95]{inset:calc(var(--spacing,.25rem)*0);z-index:100;cursor:col-resize;position:fixed}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}', Jp = /* @__PURE__ */ be(qp, [["styles", [Gp]], ["__scopeId", "data-v-d964db95"]]), Yp = { class: "header-content" }, Xp = { class: "modal-title" }, Zp = { class: "modal-body" }, Qp = {
|
|
7486
7487
|
key: 0,
|
|
7487
7488
|
class: "modal-footer"
|
|
7488
7489
|
}, eh = /* @__PURE__ */ _e({
|
|
@@ -7510,10 +7511,10 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7510
7511
|
r("update:show", !1), r("close");
|
|
7511
7512
|
}, l = () => {
|
|
7512
7513
|
o.disableOutsideClick || s();
|
|
7513
|
-
},
|
|
7514
|
+
}, u = () => {
|
|
7514
7515
|
o.disableEsc || s();
|
|
7515
7516
|
}, c = (p) => {
|
|
7516
|
-
p.key === "Escape" &&
|
|
7517
|
+
p.key === "Escape" && u();
|
|
7517
7518
|
}, d = ne("");
|
|
7518
7519
|
return Pt(() => {
|
|
7519
7520
|
if (document.addEventListener("keydown", c), o.show) {
|
|
@@ -7537,7 +7538,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7537
7538
|
key: 0,
|
|
7538
7539
|
class: "modal-overlay",
|
|
7539
7540
|
onClick: ks(l, ["self"]),
|
|
7540
|
-
onKeydown: Hd(
|
|
7541
|
+
onKeydown: Hd(u, ["esc"])
|
|
7541
7542
|
}, [
|
|
7542
7543
|
g("div", {
|
|
7543
7544
|
class: "modal-content",
|
|
@@ -7551,7 +7552,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7551
7552
|
}, [
|
|
7552
7553
|
g("div", Yp, [
|
|
7553
7554
|
vt(p.$slots, "header", {}, () => [
|
|
7554
|
-
g("h3", Xp,
|
|
7555
|
+
g("h3", Xp, J(e.title), 1)
|
|
7555
7556
|
], !0)
|
|
7556
7557
|
]),
|
|
7557
7558
|
e.showCloseButton ? (y(), D("button", {
|
|
@@ -7596,7 +7597,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7596
7597
|
locales: a,
|
|
7597
7598
|
selectedFile: s,
|
|
7598
7599
|
selectedFileContent: l,
|
|
7599
|
-
handleFileSelected:
|
|
7600
|
+
handleFileSelected: u,
|
|
7600
7601
|
exportTranslations: c,
|
|
7601
7602
|
importTranslations: d,
|
|
7602
7603
|
getDefaultLocaleTranslation: p,
|
|
@@ -7661,7 +7662,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7661
7662
|
}
|
|
7662
7663
|
};
|
|
7663
7664
|
return (I, P) => (y(), D("div", oh, [
|
|
7664
|
-
ue(i) ? (y(), me(Un, { key: 0 })) : (y(), me(
|
|
7665
|
+
ue(i) ? (y(), me(Un, { key: 0 })) : (y(), me(Jp, {
|
|
7665
7666
|
key: 1,
|
|
7666
7667
|
"storage-key": "tab-i18n-locales",
|
|
7667
7668
|
"default-left-width": "280px"
|
|
@@ -7671,7 +7672,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7671
7672
|
Y(zu, {
|
|
7672
7673
|
locales: F.value,
|
|
7673
7674
|
"selected-file": ue(s),
|
|
7674
|
-
onFileSelected: ue(
|
|
7675
|
+
onFileSelected: ue(u)
|
|
7675
7676
|
}, null, 8, ["locales", "selected-file", "onFileSelected"])
|
|
7676
7677
|
])
|
|
7677
7678
|
]),
|
|
@@ -7681,7 +7682,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7681
7682
|
g("div", ah, [
|
|
7682
7683
|
g("div", sh, [
|
|
7683
7684
|
P[5] || (P[5] = g("span", { class: "breadcrumbs__icon" }, "📄", -1)),
|
|
7684
|
-
g("span", lh,
|
|
7685
|
+
g("span", lh, J(ue(s)), 1)
|
|
7685
7686
|
]),
|
|
7686
7687
|
g("div", ch, [
|
|
7687
7688
|
Y(Kp, {
|
|
@@ -7782,10 +7783,10 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7782
7783
|
g("div", mh, [
|
|
7783
7784
|
g("span", bh, [
|
|
7784
7785
|
vt(t.$slots, "icon", {}, () => [
|
|
7785
|
-
e.icon ? (y(), D("span", yh,
|
|
7786
|
+
e.icon ? (y(), D("span", yh, J(e.icon), 1)) : ie("", !0)
|
|
7786
7787
|
])
|
|
7787
7788
|
]),
|
|
7788
|
-
g("h3", _h,
|
|
7789
|
+
g("h3", _h, J(e.title), 1)
|
|
7789
7790
|
]),
|
|
7790
7791
|
g("div", xh, [
|
|
7791
7792
|
vt(t.$slots, "default", {}, void 0)
|
|
@@ -7822,28 +7823,28 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7822
7823
|
const o = e, r = t, n = ne(o.driver), i = ne(o.apiToken), a = ne({ ...o.options });
|
|
7823
7824
|
Te(
|
|
7824
7825
|
() => o.driver,
|
|
7825
|
-
async (
|
|
7826
|
-
|
|
7826
|
+
async (u) => {
|
|
7827
|
+
u !== n.value && (await ft(), n.value = u);
|
|
7827
7828
|
}
|
|
7828
7829
|
), Te(
|
|
7829
7830
|
() => o.apiToken,
|
|
7830
|
-
async (
|
|
7831
|
-
|
|
7831
|
+
async (u) => {
|
|
7832
|
+
u !== i.value && (await ft(), i.value = u);
|
|
7832
7833
|
}
|
|
7833
7834
|
), Te(
|
|
7834
7835
|
() => o.options,
|
|
7835
|
-
async (
|
|
7836
|
-
JSON.stringify(
|
|
7836
|
+
async (u) => {
|
|
7837
|
+
JSON.stringify(u) !== JSON.stringify(a.value) && (await ft(), a.value = { ...u });
|
|
7837
7838
|
},
|
|
7838
7839
|
{ deep: !0 }
|
|
7839
|
-
), Te(n, async (
|
|
7840
|
-
|
|
7841
|
-
}), Te(i, async (
|
|
7842
|
-
|
|
7840
|
+
), Te(n, async (u) => {
|
|
7841
|
+
u !== o.driver && (await ft(), r("update:driver", u));
|
|
7842
|
+
}), Te(i, async (u) => {
|
|
7843
|
+
u !== o.apiToken && (await ft(), r("update:apiToken", u));
|
|
7843
7844
|
}), Te(
|
|
7844
7845
|
a,
|
|
7845
|
-
async (
|
|
7846
|
-
JSON.stringify(
|
|
7846
|
+
async (u) => {
|
|
7847
|
+
JSON.stringify(u) !== JSON.stringify(o.options) && (await ft(), r("update:options", { ...u }));
|
|
7847
7848
|
},
|
|
7848
7849
|
{ deep: !0 }
|
|
7849
7850
|
);
|
|
@@ -7937,7 +7938,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7937
7938
|
"gpt-3.5-turbo-1106",
|
|
7938
7939
|
"gpt-3.5-turbo-0125"
|
|
7939
7940
|
];
|
|
7940
|
-
return (
|
|
7941
|
+
return (u, c) => (y(), D("div", Oh, [
|
|
7941
7942
|
g("div", Sh, [
|
|
7942
7943
|
g("div", $h, [
|
|
7943
7944
|
c[8] || (c[8] = g("label", { class: "control-label" }, [
|
|
@@ -7957,7 +7958,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
7957
7958
|
(y(), D(re, null, Fe(s, (d) => g("option", {
|
|
7958
7959
|
key: d.value,
|
|
7959
7960
|
value: d.value
|
|
7960
|
-
},
|
|
7961
|
+
}, J(d.label), 9, Th)), 64))
|
|
7961
7962
|
], 512), [
|
|
7962
7963
|
[or, n.value]
|
|
7963
7964
|
]),
|
|
@@ -8032,7 +8033,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
8032
8033
|
(y(), D(re, null, Fe(l, (d) => g("option", {
|
|
8033
8034
|
key: d,
|
|
8034
8035
|
value: d
|
|
8035
|
-
},
|
|
8036
|
+
}, J(d), 9, Lh)), 64))
|
|
8036
8037
|
], 512), [
|
|
8037
8038
|
[or, a.value.model]
|
|
8038
8039
|
]),
|
|
@@ -8064,7 +8065,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
8064
8065
|
])
|
|
8065
8066
|
]));
|
|
8066
8067
|
}
|
|
8067
|
-
}), Hh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-946f5883],[data-v-946f5883]:before,[data-v-946f5883]:after,[data-v-946f5883]::backdrop{--tw-space-y-reverse:0;--tw-font-weight:initial;--tw-border-style:solid;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}:where(.translation-controls[data-v-946f5883]>:not(:last-child)),:where(.translation-controls__content[data-v-946f5883]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.control-group[data-v-946f5883]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*2)*calc(1 - var(--tw-space-y-reverse)))}.control-label[data-v-946f5883]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-600,oklch(44.6% .043 257.281));align-items:center;display:flex}.control-icon[data-v-946f5883]{margin-right:calc(var(--spacing,.25rem)*2)}.control-select[data-v-946f5883]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s;position:relative}@media(hover:hover){.control-select[data-v-946f5883]:hover{border-color:var(--color-blue-400,oklch(70.7% .165 254.624))}}.select-input[data-v-946f5883]{appearance:none;border-radius:var(--radius-lg,.5rem);width:100%;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);padding-right:calc(var(--spacing,.25rem)*8);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-slate-700,oklch(37.2% .044 257.287));--tw-outline-style:none;background-color:#0000;outline-style:none}@media(forced-colors:active){.select-input[data-v-946f5883]{outline-offset:2px;outline:2px solid #0000}}.select-arrow[data-v-946f5883]{pointer-events:none;top:50%;right:calc(var(--spacing,.25rem)*2);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-400,oklch(70.4% .04 256.788));position:absolute}.styled-input[data-v-946f5883]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));width:100%;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.styled-input[data-v-946f5883]::placeholder{color:var(--color-slate-400,oklch(70.4% .04 256.788))}.styled-input[data-v-946f5883]{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.styled-input[data-v-946f5883]{outline-offset:2px;outline:2px solid #0000}}.styled-input[data-v-946f5883]{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s}.styled-input[data-v-946f5883]:focus{border-color:var(--color-blue-400,oklch(70.7% .165 254.624));--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-blue-200,oklch(88.2% .059 254.128))}.driver-options[data-v-946f5883]{margin-left:calc(var(--spacing,.25rem)*2)}:where(.driver-options[data-v-946f5883]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*3)*calc(1 - var(--tw-space-y-reverse)))}.driver-options[data-v-946f5883]{border-left-style:var(--tw-border-style);border-left-width:2px;border-color:var(--color-blue-100,oklch(93.2% .032 255.585));padding-left:calc(var(--spacing,.25rem)*4)}.fade-slide-enter-active[data-v-946f5883],.fade-slide-leave-active[data-v-946f5883]{transition:all .3s}.fade-slide-enter-from[data-v-946f5883],.fade-slide-leave-to[data-v-946f5883]{opacity:0;transform:translate(10px)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}', Uh = /* @__PURE__ */ be(zh, [["styles", [Hh]], ["__scopeId", "data-v-946f5883"]]), Bh = { class: "settings-view" }, Kh = { class: "space-y-6" },
|
|
8068
|
+
}), Hh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-946f5883],[data-v-946f5883]:before,[data-v-946f5883]:after,[data-v-946f5883]::backdrop{--tw-space-y-reverse:0;--tw-font-weight:initial;--tw-border-style:solid;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}:where(.translation-controls[data-v-946f5883]>:not(:last-child)),:where(.translation-controls__content[data-v-946f5883]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.control-group[data-v-946f5883]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*2)*calc(1 - var(--tw-space-y-reverse)))}.control-label[data-v-946f5883]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-600,oklch(44.6% .043 257.281));align-items:center;display:flex}.control-icon[data-v-946f5883]{margin-right:calc(var(--spacing,.25rem)*2)}.control-select[data-v-946f5883]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s;position:relative}@media(hover:hover){.control-select[data-v-946f5883]:hover{border-color:var(--color-blue-400,oklch(70.7% .165 254.624))}}.select-input[data-v-946f5883]{appearance:none;border-radius:var(--radius-lg,.5rem);width:100%;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);padding-right:calc(var(--spacing,.25rem)*8);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-slate-700,oklch(37.2% .044 257.287));--tw-outline-style:none;background-color:#0000;outline-style:none}@media(forced-colors:active){.select-input[data-v-946f5883]{outline-offset:2px;outline:2px solid #0000}}.select-arrow[data-v-946f5883]{pointer-events:none;top:50%;right:calc(var(--spacing,.25rem)*2);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-400,oklch(70.4% .04 256.788));position:absolute}.styled-input[data-v-946f5883]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));width:100%;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.styled-input[data-v-946f5883]::placeholder{color:var(--color-slate-400,oklch(70.4% .04 256.788))}.styled-input[data-v-946f5883]{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.styled-input[data-v-946f5883]{outline-offset:2px;outline:2px solid #0000}}.styled-input[data-v-946f5883]{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s}.styled-input[data-v-946f5883]:focus{border-color:var(--color-blue-400,oklch(70.7% .165 254.624));--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-blue-200,oklch(88.2% .059 254.128))}.driver-options[data-v-946f5883]{margin-left:calc(var(--spacing,.25rem)*2)}:where(.driver-options[data-v-946f5883]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*3)*calc(1 - var(--tw-space-y-reverse)))}.driver-options[data-v-946f5883]{border-left-style:var(--tw-border-style);border-left-width:2px;border-color:var(--color-blue-100,oklch(93.2% .032 255.585));padding-left:calc(var(--spacing,.25rem)*4)}.fade-slide-enter-active[data-v-946f5883],.fade-slide-leave-active[data-v-946f5883]{transition:all .3s}.fade-slide-enter-from[data-v-946f5883],.fade-slide-leave-to[data-v-946f5883]{opacity:0;transform:translate(10px)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}', Uh = /* @__PURE__ */ be(zh, [["styles", [Hh]], ["__scopeId", "data-v-946f5883"]]), Bh = { class: "settings-view" }, Kh = { class: "space-y-6" }, Gi = "translationSettings", Wh = /* @__PURE__ */ _e({
|
|
8068
8069
|
__name: "SettingsView",
|
|
8069
8070
|
setup(e) {
|
|
8070
8071
|
const t = ne("disabled"), o = ne(""), r = ne({
|
|
@@ -8076,7 +8077,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
8076
8077
|
// For OpenAI and DeepSeek
|
|
8077
8078
|
});
|
|
8078
8079
|
return Pt(() => {
|
|
8079
|
-
const n = localStorage.getItem(
|
|
8080
|
+
const n = localStorage.getItem(Gi);
|
|
8080
8081
|
if (n) {
|
|
8081
8082
|
const { driver: i, token: a, options: s } = JSON.parse(n);
|
|
8082
8083
|
t.value = i, o.value = a, r.value = s || {};
|
|
@@ -8090,7 +8091,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
8090
8091
|
token: o.value,
|
|
8091
8092
|
options: r.value
|
|
8092
8093
|
};
|
|
8093
|
-
localStorage.setItem(
|
|
8094
|
+
localStorage.setItem(Gi, JSON.stringify(n));
|
|
8094
8095
|
},
|
|
8095
8096
|
{ deep: !0 }
|
|
8096
8097
|
), (n, i) => (y(), D("div", Bh, [
|
|
@@ -8114,7 +8115,7 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
8114
8115
|
])
|
|
8115
8116
|
]));
|
|
8116
8117
|
}
|
|
8117
|
-
}), qh = ".settings-view[data-v-8ffb2606]{height:100%;padding:calc(var(--spacing,.25rem)*4);overflow:auto}",
|
|
8118
|
+
}), qh = ".settings-view[data-v-8ffb2606]{height:100%;padding:calc(var(--spacing,.25rem)*4);overflow:auto}", Gh = /* @__PURE__ */ be(Wh, [["styles", [qh]], ["__scopeId", "data-v-8ffb2606"]]), Jh = { class: "i18n-devtools" }, Yh = { class: "header" }, Xh = { class: "content-area" }, Zh = { class: "view-container" }, Qh = /* @__PURE__ */ _e({
|
|
8118
8119
|
__name: "App.ce",
|
|
8119
8120
|
props: {
|
|
8120
8121
|
bridge: {
|
|
@@ -8142,106 +8143,30 @@ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
|
|
|
8142
8143
|
const a = oe(() => o.isLoading.value || !o.bridge.value);
|
|
8143
8144
|
return Pt(() => {
|
|
8144
8145
|
t.bridge ? i(t.bridge) : console.log("[i18n-devtools] Waiting for bridge...");
|
|
8145
|
-
}), (s, l) => (y(), D("div",
|
|
8146
|
+
}), (s, l) => (y(), D("div", Jh, [
|
|
8146
8147
|
a.value ? (y(), me(Un, { key: 0 })) : (y(), D(re, { key: 1 }, [
|
|
8147
8148
|
g("div", Yh, [
|
|
8148
8149
|
Y(xf, {
|
|
8149
8150
|
modelValue: r.value,
|
|
8150
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
8151
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => r.value = u),
|
|
8151
8152
|
tabs: n
|
|
8152
8153
|
}, null, 8, ["modelValue"])
|
|
8153
8154
|
]),
|
|
8154
8155
|
g("div", Xh, [
|
|
8155
8156
|
g("div", Zh, [
|
|
8156
8157
|
r.value === "i18n" ? (y(), me(vh, { key: 0 })) : ie("", !0),
|
|
8157
|
-
r.value === "settings" ? (y(), me(
|
|
8158
|
+
r.value === "settings" ? (y(), me(Gh, { key: 1 })) : ie("", !0),
|
|
8158
8159
|
r.value === "config" ? (y(), me(Nu, { key: 2 })) : ie("", !0)
|
|
8159
8160
|
])
|
|
8160
8161
|
])
|
|
8161
8162
|
], 64))
|
|
8162
8163
|
]));
|
|
8163
8164
|
}
|
|
8164
|
-
}), eg = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-600:oklch(64.6% .222 41.116);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-teal-600:oklch(60% .118 184.704);--color-cyan-600:oklch(60.9% .126 221.723);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-600:oklch(55.8% .288 302.321);--color-pink-600:oklch(59.2% .249 .584);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-20{z-index:20}.z-50{z-index:50}.z-\\[100\\]{z-index:100}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.my-1{margin-block:calc(var(--spacing)*1)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-4{margin-top:calc(var(--spacing)*4)}.-mr-2{margin-right:calc(var(--spacing)*-2)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[38px\\]{min-height:38px}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-\\[1px\\]{width:1px}.w-full{width:100%}.min-w-\\[60px\\]{min-width:60px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-col-resize{cursor:col-resize}.cursor-pointer{cursor:pointer}.resize{resize:both}.appearance-none{appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-red-200{border-color:var(--color-red-200)}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-transparent{border-color:#0000}.border-l-yellow-500{border-left-color:var(--color-yellow-500)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-all{word-break:break-all}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-cyan-600{color:var(--color-cyan-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-indigo-600{color:var(--color-indigo-600)}.text-orange-600{color:var(--color-orange-600)}.text-pink-600{color:var(--color-pink-600)}.text-purple-600{color:var(--color-purple-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-slate-400{color:var(--color-slate-400)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-teal-600{color:var(--color-teal-600)}.text-white{color:var(--color-white)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-400::placeholder{color:var(--color-slate-400)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.hover\\:bg-blue-50\\/50:hover{background-color:#eff6ff80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-50\\/50:hover{background-color:color-mix(in oklab,var(--color-blue-50)50%,transparent)}}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-300:hover{background-color:var(--color-slate-300)}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-slate-800:hover{color:var(--color-slate-800)}}.focus\\:border-blue-400:focus{border-color:var(--color-blue-400)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-200:focus{--tw-ring-color:var(--color-blue-200)}.focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.disabled\\:opacity-50:disabled{opacity:.5}}.i18n-devtools{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}:host{width:100%;height:100vh;display:block;overflow:hidden}.i18n-devtools{background-color:var(--color-white);width:100%;height:100%;color:var(--color-slate-700);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;display:flex;overflow:hidden}.header{z-index:20;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200);background-color:var(--color-white);flex-shrink:0;position:relative}.content-area{flex:1;width:100%;height:100%;position:relative;overflow:hidden}.view-container{inset:calc(var(--spacing)*0);width:100%;height:100%;position:absolute;overflow:hidden}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}', tg = /* @__PURE__ */ be(Qh, [["styles", [eg]]]);
|
|
8165
|
-
function
|
|
8166
|
-
const { adapter: t, locales: o = [], defaultLocale: r = "en", translationDir: n = "src/locales" } = e, i = () => {
|
|
8167
|
-
const a = {}, s = t.getRouteCache();
|
|
8168
|
-
for (const [l, f] of Object.entries(s)) {
|
|
8169
|
-
if (!f || typeof f != "object" || Array.isArray(f) || Object.keys(f).length === 0)
|
|
8170
|
-
continue;
|
|
8171
|
-
const c = l.indexOf(":");
|
|
8172
|
-
if (c === -1)
|
|
8173
|
-
continue;
|
|
8174
|
-
const d = l.substring(0, c), p = l.substring(c + 1);
|
|
8175
|
-
p === "index" ? a[`${d}.json`] = f : a[`pages/${p}/${d}.json`] = f;
|
|
8176
|
-
}
|
|
8177
|
-
return a;
|
|
8178
|
-
};
|
|
8179
|
-
return {
|
|
8180
|
-
async getLocalesAndTranslations() {
|
|
8181
|
-
return i();
|
|
8182
|
-
},
|
|
8183
|
-
async getConfigs() {
|
|
8184
|
-
return {
|
|
8185
|
-
defaultLocale: r || t.getCurrentLocale?.() || "en",
|
|
8186
|
-
fallbackLocale: t.getFallbackLocale?.() || r || "en",
|
|
8187
|
-
locales: o || [],
|
|
8188
|
-
translationDir: n || "locales"
|
|
8189
|
-
};
|
|
8190
|
-
},
|
|
8191
|
-
async saveTranslation(a, s) {
|
|
8192
|
-
try {
|
|
8193
|
-
const l = a.replace(/^\/+/, "").replace(/\/+/g, "/"), f = l.match(/^pages\/([^/]+)\/([^/]+)\.json$/);
|
|
8194
|
-
if (f) {
|
|
8195
|
-
const [, d, p] = f;
|
|
8196
|
-
p && d && t.addRouteTranslations(p, d, s, !1);
|
|
8197
|
-
} else {
|
|
8198
|
-
const d = l.match(/^([^/]+)\.json$/);
|
|
8199
|
-
if (d) {
|
|
8200
|
-
const [, p] = d;
|
|
8201
|
-
p && t.addTranslations(p, s, !1);
|
|
8202
|
-
} else
|
|
8203
|
-
throw new Error(`Unknown file path format: ${a}`);
|
|
8204
|
-
}
|
|
8205
|
-
const c = n ? `${n}/${l}` : l;
|
|
8206
|
-
try {
|
|
8207
|
-
const d = await fetch("/__i18n_api/save", {
|
|
8208
|
-
method: "POST",
|
|
8209
|
-
headers: {
|
|
8210
|
-
"Content-Type": "application/json"
|
|
8211
|
-
},
|
|
8212
|
-
body: JSON.stringify({
|
|
8213
|
-
file: c,
|
|
8214
|
-
content: s
|
|
8215
|
-
})
|
|
8216
|
-
});
|
|
8217
|
-
if (!d.ok) {
|
|
8218
|
-
const p = await d.json().catch(() => ({ error: "Unknown error" }));
|
|
8219
|
-
throw new Error(p.error || `Network response was not ok: ${d.statusText}`);
|
|
8220
|
-
}
|
|
8221
|
-
console.log(`[i18n-bridge] Saved to disk: ${c}`);
|
|
8222
|
-
} catch (d) {
|
|
8223
|
-
if (typeof localStorage < "u") {
|
|
8224
|
-
console.warn("[i18n-bridge] Server save failed, falling back to localStorage:", d);
|
|
8225
|
-
const p = `i18n_save_${a}`;
|
|
8226
|
-
localStorage.setItem(p, JSON.stringify(s, null, 2));
|
|
8227
|
-
} else
|
|
8228
|
-
throw d;
|
|
8229
|
-
}
|
|
8230
|
-
} catch (l) {
|
|
8231
|
-
throw new Error(`Failed to save: ${l instanceof Error ? l.message : String(l)}`);
|
|
8232
|
-
}
|
|
8233
|
-
},
|
|
8234
|
-
onLocalesUpdate(a) {
|
|
8235
|
-
return t.subscribe(() => {
|
|
8236
|
-
a(i());
|
|
8237
|
-
});
|
|
8238
|
-
}
|
|
8239
|
-
};
|
|
8240
|
-
}
|
|
8241
|
-
function og() {
|
|
8165
|
+
}), e0 = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-600:oklch(64.6% .222 41.116);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-teal-600:oklch(60% .118 184.704);--color-cyan-600:oklch(60.9% .126 221.723);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-600:oklch(55.8% .288 302.321);--color-pink-600:oklch(59.2% .249 .584);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-20{z-index:20}.z-50{z-index:50}.z-\\[100\\]{z-index:100}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.my-1{margin-block:calc(var(--spacing)*1)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-4{margin-top:calc(var(--spacing)*4)}.-mr-2{margin-right:calc(var(--spacing)*-2)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[38px\\]{min-height:38px}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-\\[1px\\]{width:1px}.w-full{width:100%}.min-w-\\[60px\\]{min-width:60px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-col-resize{cursor:col-resize}.cursor-pointer{cursor:pointer}.resize{resize:both}.appearance-none{appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-red-200{border-color:var(--color-red-200)}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-transparent{border-color:#0000}.border-l-yellow-500{border-left-color:var(--color-yellow-500)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-all{word-break:break-all}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-cyan-600{color:var(--color-cyan-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-indigo-600{color:var(--color-indigo-600)}.text-orange-600{color:var(--color-orange-600)}.text-pink-600{color:var(--color-pink-600)}.text-purple-600{color:var(--color-purple-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-slate-400{color:var(--color-slate-400)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-teal-600{color:var(--color-teal-600)}.text-white{color:var(--color-white)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-400::placeholder{color:var(--color-slate-400)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.hover\\:bg-blue-50\\/50:hover{background-color:#eff6ff80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-50\\/50:hover{background-color:color-mix(in oklab,var(--color-blue-50)50%,transparent)}}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-300:hover{background-color:var(--color-slate-300)}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-slate-800:hover{color:var(--color-slate-800)}}.focus\\:border-blue-400:focus{border-color:var(--color-blue-400)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-200:focus{--tw-ring-color:var(--color-blue-200)}.focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.disabled\\:opacity-50:disabled{opacity:.5}}.i18n-devtools{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}:host{width:100%;height:100vh;display:block;overflow:hidden}.i18n-devtools{background-color:var(--color-white);width:100%;height:100%;color:var(--color-slate-700);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;display:flex;overflow:hidden}.header{z-index:20;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200);background-color:var(--color-white);flex-shrink:0;position:relative}.content-area{flex:1;width:100%;height:100%;position:relative;overflow:hidden}.view-container{inset:calc(var(--spacing)*0);width:100%;height:100%;position:absolute;overflow:hidden}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}', t0 = /* @__PURE__ */ be(Qh, [["styles", [e0]]]);
|
|
8166
|
+
function o0() {
|
|
8242
8167
|
return Date.now().toString(36) + Math.random().toString(36).substring(2);
|
|
8243
8168
|
}
|
|
8244
|
-
function
|
|
8169
|
+
function i0() {
|
|
8245
8170
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set();
|
|
8246
8171
|
window.addEventListener("message", (r) => {
|
|
8247
8172
|
const n = r.data;
|
|
@@ -8257,7 +8182,7 @@ function ag() {
|
|
|
8257
8182
|
});
|
|
8258
8183
|
});
|
|
8259
8184
|
const o = (r, n) => new Promise((i, a) => {
|
|
8260
|
-
const s =
|
|
8185
|
+
const s = o0();
|
|
8261
8186
|
e.set(s, { resolve: i, reject: a });
|
|
8262
8187
|
const l = { jsonrpc: "2.0", id: s, method: r, params: n };
|
|
8263
8188
|
window.parent.postMessage(l, "*");
|
|
@@ -8271,7 +8196,7 @@ function ag() {
|
|
|
8271
8196
|
})
|
|
8272
8197
|
};
|
|
8273
8198
|
}
|
|
8274
|
-
function
|
|
8199
|
+
function a0(e, t) {
|
|
8275
8200
|
const o = async (n) => {
|
|
8276
8201
|
if (n.source !== e) return;
|
|
8277
8202
|
const i = n.data;
|
|
@@ -8315,15 +8240,15 @@ function sg(e, t) {
|
|
|
8315
8240
|
window.removeEventListener("message", o), r();
|
|
8316
8241
|
};
|
|
8317
8242
|
}
|
|
8318
|
-
const
|
|
8319
|
-
function
|
|
8320
|
-
customElements.get("i18n-devtools-ui") || customElements.define("i18n-devtools-ui",
|
|
8243
|
+
const r0 = /* @__PURE__ */ Id(t0);
|
|
8244
|
+
function s0() {
|
|
8245
|
+
customElements.get("i18n-devtools-ui") || customElements.define("i18n-devtools-ui", r0);
|
|
8321
8246
|
}
|
|
8322
8247
|
export {
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8248
|
+
r0 as I18nDevToolsElement,
|
|
8249
|
+
d0 as createBridge,
|
|
8250
|
+
i0 as createRpcClient,
|
|
8251
|
+
s0 as register,
|
|
8252
|
+
a0 as setupRpcHost
|
|
8328
8253
|
};
|
|
8329
8254
|
//# sourceMappingURL=index.es.js.map
|