smarteye-e-components 0.0.78 → 0.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,43 +1,43 @@
1
- import { h as Ze, getCurrentInstance as Nt, effectScope as Zo, inject as St, onMounted as xe, onUnmounted as ot, ref as k, computed as U, watch as Ie, Fragment as ue, isRef as es, createVNode as B, Text as ts, defineComponent as Q, openBlock as N, createElementBlock as A, normalizeClass as ke, renderSlot as Y, createElementVNode as b, toDisplayString as j, createCommentVNode as pe, normalizeStyle as _e, renderList as Ee, resolveComponent as fe, withDirectives as Vn, withCtx as te, createBlock as Fe, vShow as Un, provide as ns, reactive as we, createTextVNode as Gn, unref as le, Teleport as zn, toRaw as ze } from "vue";
1
+ import { h as et, getCurrentInstance as Nt, effectScope as es, inject as St, onMounted as xe, onUnmounted as st, ref as k, computed as V, watch as Ie, Fragment as ue, isRef as ts, createVNode as B, Text as ns, defineComponent as q, openBlock as N, createElementBlock as C, normalizeClass as ke, renderSlot as Y, createElementVNode as b, toDisplayString as z, createCommentVNode as ge, normalizeStyle as me, renderList as Ee, resolveComponent as _e, withDirectives as Gn, withCtx as te, createBlock as Fe, vShow as zn, provide as os, reactive as we, createTextVNode as Ct, unref as ae, Teleport as Hn, toRaw as ze } from "vue";
2
2
  /*!
3
3
  * shared v9.2.2
4
4
  * (c) 2022 kazuya kawaguchi
5
5
  * Released under the MIT License.
6
6
  */
7
- const ge = typeof window < "u";
7
+ const he = typeof window < "u";
8
8
  let ie, Te;
9
9
  if (process.env.NODE_ENV !== "production") {
10
- const e = ge && window.performance;
10
+ const e = he && window.performance;
11
11
  e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (ie = (t) => e.mark(t), Te = (t, n, o) => {
12
12
  e.measure(t, n, o), e.clearMarks(n), e.clearMarks(o);
13
13
  });
14
14
  }
15
- const os = /\{([0-9a-zA-Z]+)\}/g;
16
- function Ct(e, ...t) {
17
- return t.length === 1 && x(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(os, (n, o) => t.hasOwnProperty(o) ? t[o] : "");
15
+ const ss = /\{([0-9a-zA-Z]+)\}/g;
16
+ function At(e, ...t) {
17
+ return t.length === 1 && x(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ss, (n, o) => t.hasOwnProperty(o) ? t[o] : "");
18
18
  }
19
- const ss = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", he = (e) => ss ? Symbol(e) : e, rs = (e, t, n) => as({ l: e, k: t, s: n }), as = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), ls = (e) => Pt(e) === "[object Date]", et = (e) => Pt(e) === "[object RegExp]", st = (e) => M(e) && Object.keys(e).length === 0;
19
+ const rs = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", ve = (e) => rs ? Symbol(e) : e, as = (e, t, n) => ls({ l: e, k: t, s: n }), ls = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), is = (e) => $t(e) === "[object Date]", tt = (e) => $t(e) === "[object RegExp]", rt = (e) => M(e) && Object.keys(e).length === 0;
20
20
  function Ve(e, t) {
21
21
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
22
22
  }
23
23
  const ne = Object.assign;
24
- let Ht;
25
- const At = () => Ht || (Ht = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
26
- function jt(e) {
24
+ let Wt;
25
+ const Dt = () => Wt || (Wt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
26
+ function Bt(e) {
27
27
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
28
28
  }
29
- const is = Object.prototype.hasOwnProperty;
30
- function Dt(e, t) {
31
- return is.call(e, t);
29
+ const cs = Object.prototype.hasOwnProperty;
30
+ function Pt(e, t) {
31
+ return cs.call(e, t);
32
32
  }
33
- const z = Array.isArray, W = (e) => typeof e == "function", L = (e) => typeof e == "string", G = (e) => typeof e == "boolean", x = (e) => e !== null && typeof e == "object", Hn = Object.prototype.toString, Pt = (e) => Hn.call(e), M = (e) => Pt(e) === "[object Object]", cs = (e) => e == null ? "" : z(e) || M(e) && e.toString === Hn ? JSON.stringify(e, null, 2) : String(e), Wt = 2;
34
- function us(e, t = 0, n = e.length) {
33
+ const H = Array.isArray, W = (e) => typeof e == "function", L = (e) => typeof e == "string", G = (e) => typeof e == "boolean", x = (e) => e !== null && typeof e == "object", jn = Object.prototype.toString, $t = (e) => jn.call(e), M = (e) => $t(e) === "[object Object]", us = (e) => e == null ? "" : H(e) || M(e) && e.toString === jn ? JSON.stringify(e, null, 2) : String(e), Kt = 2;
34
+ function ds(e, t = 0, n = e.length) {
35
35
  const o = e.split(/\r?\n/);
36
36
  let s = 0;
37
37
  const a = [];
38
38
  for (let r = 0; r < o.length; r++)
39
39
  if (s += o[r].length + 1, s >= t) {
40
- for (let l = r - Wt; l <= r + Wt || n > s; l++) {
40
+ for (let l = r - Kt; l <= r + Kt || n > s; l++) {
41
41
  if (l < 0 || l >= o.length)
42
42
  continue;
43
43
  const i = l + 1;
@@ -59,7 +59,7 @@ function us(e, t = 0, n = e.length) {
59
59
  return a.join(`
60
60
  `);
61
61
  }
62
- function jn() {
62
+ function Wn() {
63
63
  const e = /* @__PURE__ */ new Map();
64
64
  return {
65
65
  events: e,
@@ -81,7 +81,7 @@ function jn() {
81
81
  * (c) 2022 kazuya kawaguchi
82
82
  * Released under the MIT License.
83
83
  */
84
- const J = {
84
+ const Q = {
85
85
  EXPECTED_TOKEN: 1,
86
86
  INVALID_TOKEN_IN_PLACEHOLDER: 2,
87
87
  UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,
@@ -97,24 +97,24 @@ const J = {
97
97
  UNEXPECTED_EMPTY_LINKED_KEY: 13,
98
98
  UNEXPECTED_LEXICAL_ANALYSIS: 14,
99
99
  __EXTEND_POINT__: 15
100
- }, ds = {
101
- [J.EXPECTED_TOKEN]: "Expected token: '{0}'",
102
- [J.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
103
- [J.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
104
- [J.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
105
- [J.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
106
- [J.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
107
- [J.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
108
- [J.EMPTY_PLACEHOLDER]: "Empty placeholder",
109
- [J.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
110
- [J.INVALID_LINKED_FORMAT]: "Invalid linked format",
111
- [J.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
112
- [J.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
113
- [J.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
114
- [J.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'"
100
+ }, fs = {
101
+ [Q.EXPECTED_TOKEN]: "Expected token: '{0}'",
102
+ [Q.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
103
+ [Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
104
+ [Q.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
105
+ [Q.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
106
+ [Q.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
107
+ [Q.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
108
+ [Q.EMPTY_PLACEHOLDER]: "Empty placeholder",
109
+ [Q.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
110
+ [Q.INVALID_LINKED_FORMAT]: "Invalid linked format",
111
+ [Q.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
112
+ [Q.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
113
+ [Q.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
114
+ [Q.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'"
115
115
  };
116
- function Wn(e, t, n = {}) {
117
- const { domain: o, messages: s, args: a } = n, r = process.env.NODE_ENV !== "production" ? Ct((s || ds)[e] || "", ...a || []) : e, l = new SyntaxError(String(r));
116
+ function Bn(e, t, n = {}) {
117
+ const { domain: o, messages: s, args: a } = n, r = process.env.NODE_ENV !== "production" ? At((s || fs)[e] || "", ...a || []) : e, l = new SyntaxError(String(r));
118
118
  return l.code = e, t && (l.location = t), l.domain = o, l;
119
119
  }
120
120
  /*!
@@ -122,7 +122,7 @@ function Wn(e, t, n = {}) {
122
122
  * (c) 2022 kazuya kawaguchi
123
123
  * Released under the MIT License.
124
124
  */
125
- const Bn = {
125
+ const Kn = {
126
126
  I18nInit: "i18n:init",
127
127
  FunctionTranslate: "function:translate"
128
128
  };
@@ -178,15 +178,15 @@ be[6] = {
178
178
  o: 8,
179
179
  l: [6, 0]
180
180
  };
181
- const fs = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
182
- function _s(e) {
183
- return fs.test(e);
184
- }
181
+ const _s = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
185
182
  function ms(e) {
183
+ return _s.test(e);
184
+ }
185
+ function ps(e) {
186
186
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
187
187
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
188
188
  }
189
- function ps(e) {
189
+ function gs(e) {
190
190
  if (e == null)
191
191
  return "o";
192
192
  switch (e.charCodeAt(0)) {
@@ -211,11 +211,11 @@ function ps(e) {
211
211
  }
212
212
  return "i";
213
213
  }
214
- function gs(e) {
214
+ function hs(e) {
215
215
  const t = e.trim();
216
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : _s(t) ? ms(t) : "*" + t;
216
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ms(t) ? ps(t) : "*" + t;
217
217
  }
218
- function hs(e) {
218
+ function vs(e) {
219
219
  const t = [];
220
220
  let n = -1, o = 0, s = 0, a, r, l, i, c, m, f;
221
221
  const u = [];
@@ -229,33 +229,33 @@ function hs(e) {
229
229
  if (s > 0)
230
230
  s--, o = 4, u[0]();
231
231
  else {
232
- if (s = 0, r === void 0 || (r = gs(r), r === !1))
232
+ if (s = 0, r === void 0 || (r = hs(r), r === !1))
233
233
  return !1;
234
234
  u[1]();
235
235
  }
236
236
  };
237
237
  function d() {
238
- const p = e[n + 1];
239
- if (o === 5 && p === "'" || o === 6 && p === '"')
240
- return n++, l = "\\" + p, u[0](), !0;
238
+ const g = e[n + 1];
239
+ if (o === 5 && g === "'" || o === 6 && g === '"')
240
+ return n++, l = "\\" + g, u[0](), !0;
241
241
  }
242
242
  for (; o !== null; )
243
243
  if (n++, a = e[n], !(a === "\\" && d())) {
244
- if (i = ps(a), f = be[o], c = f[i] || f.l || 8, c === 8 || (o = c[0], c[1] !== void 0 && (m = u[c[1]], m && (l = a, m() === !1))))
244
+ if (i = gs(a), f = be[o], c = f[i] || f.l || 8, c === 8 || (o = c[0], c[1] !== void 0 && (m = u[c[1]], m && (l = a, m() === !1))))
245
245
  return;
246
246
  if (o === 7)
247
247
  return t;
248
248
  }
249
249
  }
250
- const Bt = /* @__PURE__ */ new Map();
251
- function vs(e, t) {
250
+ const Yt = /* @__PURE__ */ new Map();
251
+ function ys(e, t) {
252
252
  return x(e) ? e[t] : null;
253
253
  }
254
- function ys(e, t) {
254
+ function Es(e, t) {
255
255
  if (!x(e))
256
256
  return null;
257
- let n = Bt.get(t);
258
- if (n || (n = hs(t), n && Bt.set(t, n)), !n)
257
+ let n = Yt.get(t);
258
+ if (n || (n = vs(t), n && Yt.set(t, n)), !n)
259
259
  return null;
260
260
  const o = n.length;
261
261
  let s = e, a = 0;
@@ -267,60 +267,60 @@ function ys(e, t) {
267
267
  }
268
268
  return s;
269
269
  }
270
- const Es = (e) => e, ws = (e) => "", bs = "text", Ls = (e) => e.length === 0 ? "" : e.join(""), Os = cs;
271
- function Kt(e, t) {
270
+ const ws = (e) => e, bs = (e) => "", Ls = "text", Os = (e) => e.length === 0 ? "" : e.join(""), Is = us;
271
+ function Xt(e, t) {
272
272
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
273
273
  }
274
- function Is(e) {
274
+ function Ts(e) {
275
275
  const t = K(e.pluralIndex) ? e.pluralIndex : -1;
276
276
  return e.named && (K(e.named.count) || K(e.named.n)) ? K(e.named.count) ? e.named.count : K(e.named.n) ? e.named.n : t : t;
277
277
  }
278
- function Ts(e, t) {
278
+ function Ns(e, t) {
279
279
  t.count || (t.count = e), t.n || (t.n = e);
280
280
  }
281
- function Ns(e = {}) {
282
- const t = e.locale, n = Is(e), o = x(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Kt, s = x(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? Kt : void 0, a = (g) => g[o(n, g.length, s)], r = e.list || [], l = (g) => r[g], i = e.named || {};
283
- K(e.pluralIndex) && Ts(n, i);
284
- const c = (g) => i[g];
285
- function m(g) {
286
- const w = W(e.messages) ? e.messages(g) : x(e.messages) ? e.messages[g] : !1;
287
- return w || (e.parent ? e.parent.message(g) : ws);
281
+ function Ss(e = {}) {
282
+ const t = e.locale, n = Ts(e), o = x(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Xt, s = x(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? Xt : void 0, a = (p) => p[o(n, p.length, s)], r = e.list || [], l = (p) => r[p], i = e.named || {};
283
+ K(e.pluralIndex) && Ns(n, i);
284
+ const c = (p) => i[p];
285
+ function m(p) {
286
+ const w = W(e.messages) ? e.messages(p) : x(e.messages) ? e.messages[p] : !1;
287
+ return w || (e.parent ? e.parent.message(p) : bs);
288
288
  }
289
- const f = (g) => e.modifiers ? e.modifiers[g] : Es, u = M(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Ls, d = M(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : Os, p = M(e.processor) && L(e.processor.type) ? e.processor.type : bs, y = {
289
+ const f = (p) => e.modifiers ? e.modifiers[p] : ws, u = M(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Os, d = M(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : Is, g = M(e.processor) && L(e.processor.type) ? e.processor.type : Ls, y = {
290
290
  list: l,
291
291
  named: c,
292
292
  plural: a,
293
- linked: (g, ...w) => {
293
+ linked: (p, ...w) => {
294
294
  const [S, T] = w;
295
295
  let E = "text", P = "";
296
296
  w.length === 1 ? x(S) ? (P = S.modifier || P, E = S.type || E) : L(S) && (P = S || P) : w.length === 2 && (L(S) && (P = S || P), L(T) && (E = T || E));
297
- let $ = m(g)(y);
298
- return E === "vnode" && z($) && P && ($ = $[0]), P ? f(P)($, E) : $;
297
+ let $ = m(p)(y);
298
+ return E === "vnode" && H($) && P && ($ = $[0]), P ? f(P)($, E) : $;
299
299
  },
300
300
  message: m,
301
- type: p,
301
+ type: g,
302
302
  interpolate: d,
303
303
  normalize: u
304
304
  };
305
305
  return y;
306
306
  }
307
307
  let Be = null;
308
- function Ss(e) {
308
+ function Cs(e) {
309
309
  Be = e;
310
310
  }
311
- function Cs(e, t, n) {
312
- Be && Be.emit(Bn.I18nInit, {
311
+ function As(e, t, n) {
312
+ Be && Be.emit(Kn.I18nInit, {
313
313
  timestamp: Date.now(),
314
314
  i18n: e,
315
315
  version: t,
316
316
  meta: n
317
317
  });
318
318
  }
319
- const As = /* @__PURE__ */ Ds(Bn.FunctionTranslate);
320
- function Ds(e) {
319
+ const Ds = /* @__PURE__ */ Ps(Kn.FunctionTranslate);
320
+ function Ps(e) {
321
321
  return (t) => Be && Be.emit(e, t);
322
322
  }
323
- const ae = {
323
+ const le = {
324
324
  NOT_FOUND_KEY: 1,
325
325
  FALLBACK_TO_TRANSLATE: 2,
326
326
  CANNOT_FORMAT_NUMBER: 3,
@@ -328,94 +328,94 @@ const ae = {
328
328
  CANNOT_FORMAT_DATE: 5,
329
329
  FALLBACK_TO_DATE_FORMAT: 6,
330
330
  __EXTEND_POINT__: 7
331
- }, Ps = {
332
- [ae.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
333
- [ae.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
334
- [ae.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
335
- [ae.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
336
- [ae.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
337
- [ae.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale."
331
+ }, $s = {
332
+ [le.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
333
+ [le.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
334
+ [le.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
335
+ [le.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
336
+ [le.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
337
+ [le.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale."
338
338
  };
339
339
  function Re(e, ...t) {
340
- return Ct(Ps[e], ...t);
340
+ return At($s[e], ...t);
341
341
  }
342
- function $s(e, t, n) {
342
+ function Ms(e, t, n) {
343
343
  return [.../* @__PURE__ */ new Set([
344
344
  n,
345
- ...z(t) ? t : x(t) ? Object.keys(t) : L(t) ? [t] : [n]
345
+ ...H(t) ? t : x(t) ? Object.keys(t) : L(t) ? [t] : [n]
346
346
  ])];
347
347
  }
348
- function Kn(e, t, n) {
349
- const o = L(n) ? n : $t, s = e;
348
+ function Yn(e, t, n) {
349
+ const o = L(n) ? n : Mt, s = e;
350
350
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
351
351
  let a = s.__localeChainCache.get(o);
352
352
  if (!a) {
353
353
  a = [];
354
354
  let r = [n];
355
- for (; z(r); )
356
- r = Yt(a, r, t);
357
- const l = z(t) || !M(t) ? t : t.default ? t.default : null;
358
- r = L(l) ? [l] : l, z(r) && Yt(a, r, !1), s.__localeChainCache.set(o, a);
355
+ for (; H(r); )
356
+ r = Jt(a, r, t);
357
+ const l = H(t) || !M(t) ? t : t.default ? t.default : null;
358
+ r = L(l) ? [l] : l, H(r) && Jt(a, r, !1), s.__localeChainCache.set(o, a);
359
359
  }
360
360
  return a;
361
361
  }
362
- function Yt(e, t, n) {
362
+ function Jt(e, t, n) {
363
363
  let o = !0;
364
364
  for (let s = 0; s < t.length && G(o); s++) {
365
365
  const a = t[s];
366
- L(a) && (o = Ms(e, t[s], n));
366
+ L(a) && (o = ks(e, t[s], n));
367
367
  }
368
368
  return o;
369
369
  }
370
- function Ms(e, t, n) {
370
+ function ks(e, t, n) {
371
371
  let o;
372
372
  const s = t.split("-");
373
373
  do {
374
374
  const a = s.join("-");
375
- o = ks(e, a, n), s.splice(-1, 1);
375
+ o = Rs(e, a, n), s.splice(-1, 1);
376
376
  } while (s.length && o === !0);
377
377
  return o;
378
378
  }
379
- function ks(e, t, n) {
379
+ function Rs(e, t, n) {
380
380
  let o = !1;
381
381
  if (!e.includes(t) && (o = !0, t)) {
382
382
  o = t[t.length - 1] !== "!";
383
383
  const s = t.replace(/!/g, "");
384
- e.push(s), (z(n) || M(n)) && n[s] && (o = n[s]);
384
+ e.push(s), (H(n) || M(n)) && n[s] && (o = n[s]);
385
385
  }
386
386
  return o;
387
387
  }
388
- const Rs = "9.2.2", rt = -1, $t = "en-US", tt = "", Xt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
389
- function xs() {
388
+ const xs = "9.2.2", at = -1, Mt = "en-US", nt = "", Qt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
389
+ function Fs() {
390
390
  return {
391
391
  upper: (e, t) => t === "text" && L(e) ? e.toUpperCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
392
392
  lower: (e, t) => t === "text" && L(e) ? e.toLowerCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
393
- capitalize: (e, t) => t === "text" && L(e) ? Xt(e) : t === "vnode" && x(e) && "__v_isVNode" in e ? Xt(e.children) : e
393
+ capitalize: (e, t) => t === "text" && L(e) ? Qt(e) : t === "vnode" && x(e) && "__v_isVNode" in e ? Qt(e.children) : e
394
394
  };
395
395
  }
396
- let Fs, Yn;
397
- function Vs(e) {
398
- Yn = e;
399
- }
400
- let Xn;
396
+ let Vs, Xn;
401
397
  function Us(e) {
402
398
  Xn = e;
403
399
  }
404
- let Jn = null;
405
- const Jt = (e) => {
400
+ let Jn;
401
+ function Gs(e) {
406
402
  Jn = e;
407
- }, Gs = () => Jn;
403
+ }
408
404
  let Qn = null;
409
- const Qt = (e) => {
405
+ const qt = (e) => {
410
406
  Qn = e;
411
407
  }, zs = () => Qn;
412
- let qt = 0;
413
- function Hs(e = {}) {
414
- const t = L(e.version) ? e.version : Rs, n = L(e.locale) ? e.locale : $t, o = z(e.fallbackLocale) || M(e.fallbackLocale) || L(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = M(e.messages) ? e.messages : { [n]: {} }, a = M(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, r = M(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = ne({}, e.modifiers || {}, xs()), i = e.pluralRules || {}, c = W(e.missing) ? e.missing : null, m = G(e.missingWarn) || et(e.missingWarn) ? e.missingWarn : !0, f = G(e.fallbackWarn) || et(e.fallbackWarn) ? e.fallbackWarn : !0, u = !!e.fallbackFormat, d = !!e.unresolving, p = W(e.postTranslation) ? e.postTranslation : null, v = M(e.processor) ? e.processor : null, y = G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter, w = W(e.messageCompiler) ? e.messageCompiler : Fs, S = W(e.messageResolver) ? e.messageResolver : Yn || vs, T = W(e.localeFallbacker) ? e.localeFallbacker : Xn || $s, E = x(e.fallbackContext) ? e.fallbackContext : void 0, P = W(e.onWarn) ? e.onWarn : Ve, $ = e, D = x($.__datetimeFormatters) ? $.__datetimeFormatters : /* @__PURE__ */ new Map(), X = x($.__numberFormatters) ? $.__numberFormatters : /* @__PURE__ */ new Map(), q = x($.__meta) ? $.__meta : {};
415
- qt++;
416
- const Z = {
408
+ let qn = null;
409
+ const Zt = (e) => {
410
+ qn = e;
411
+ }, Hs = () => qn;
412
+ let en = 0;
413
+ function js(e = {}) {
414
+ const t = L(e.version) ? e.version : xs, n = L(e.locale) ? e.locale : Mt, o = H(e.fallbackLocale) || M(e.fallbackLocale) || L(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = M(e.messages) ? e.messages : { [n]: {} }, a = M(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, r = M(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = ne({}, e.modifiers || {}, Fs()), i = e.pluralRules || {}, c = W(e.missing) ? e.missing : null, m = G(e.missingWarn) || tt(e.missingWarn) ? e.missingWarn : !0, f = G(e.fallbackWarn) || tt(e.fallbackWarn) ? e.fallbackWarn : !0, u = !!e.fallbackFormat, d = !!e.unresolving, g = W(e.postTranslation) ? e.postTranslation : null, v = M(e.processor) ? e.processor : null, y = G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter, w = W(e.messageCompiler) ? e.messageCompiler : Vs, S = W(e.messageResolver) ? e.messageResolver : Xn || ys, T = W(e.localeFallbacker) ? e.localeFallbacker : Jn || Ms, E = x(e.fallbackContext) ? e.fallbackContext : void 0, P = W(e.onWarn) ? e.onWarn : Ve, $ = e, D = x($.__datetimeFormatters) ? $.__datetimeFormatters : /* @__PURE__ */ new Map(), X = x($.__numberFormatters) ? $.__numberFormatters : /* @__PURE__ */ new Map(), Z = x($.__meta) ? $.__meta : {};
415
+ en++;
416
+ const J = {
417
417
  version: t,
418
- cid: qt,
418
+ cid: en,
419
419
  locale: n,
420
420
  fallbackLocale: o,
421
421
  messages: s,
@@ -426,26 +426,26 @@ function Hs(e = {}) {
426
426
  fallbackWarn: f,
427
427
  fallbackFormat: u,
428
428
  unresolving: d,
429
- postTranslation: p,
429
+ postTranslation: g,
430
430
  processor: v,
431
431
  warnHtmlMessage: y,
432
- escapeParameter: g,
432
+ escapeParameter: p,
433
433
  messageCompiler: w,
434
434
  messageResolver: S,
435
435
  localeFallbacker: T,
436
436
  fallbackContext: E,
437
437
  onWarn: P,
438
- __meta: q
438
+ __meta: Z
439
439
  };
440
- return Z.datetimeFormats = a, Z.numberFormats = r, Z.__datetimeFormatters = D, Z.__numberFormatters = X, process.env.NODE_ENV !== "production" && (Z.__v_emitter = $.__v_emitter != null ? $.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Cs(Z, t, q), Z;
440
+ return J.datetimeFormats = a, J.numberFormats = r, J.__datetimeFormatters = D, J.__numberFormatters = X, process.env.NODE_ENV !== "production" && (J.__v_emitter = $.__v_emitter != null ? $.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && As(J, t, Z), J;
441
441
  }
442
- function at(e, t) {
442
+ function lt(e, t) {
443
443
  return e instanceof RegExp ? e.test(t) : e;
444
444
  }
445
- function qn(e, t) {
445
+ function Zn(e, t) {
446
446
  return e instanceof RegExp ? e.test(t) : e;
447
447
  }
448
- function Mt(e, t, n, o, s) {
448
+ function kt(e, t, n, o, s) {
449
449
  const { missing: a, onWarn: r } = e;
450
450
  if (process.env.NODE_ENV !== "production") {
451
451
  const l = e.__v_emitter;
@@ -460,69 +460,69 @@ function Mt(e, t, n, o, s) {
460
460
  const l = a(e, n, t, s);
461
461
  return L(l) ? l : t;
462
462
  } else
463
- return process.env.NODE_ENV !== "production" && qn(o, t) && r(Re(ae.NOT_FOUND_KEY, { key: t, locale: n })), t;
463
+ return process.env.NODE_ENV !== "production" && Zn(o, t) && r(Re(le.NOT_FOUND_KEY, { key: t, locale: n })), t;
464
464
  }
465
465
  function Ge(e, t, n) {
466
466
  const o = e;
467
467
  o.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
468
468
  }
469
- let Zn = J.__EXTEND_POINT__;
470
- const ft = () => ++Zn, ye = {
471
- INVALID_ARGUMENT: Zn,
469
+ let eo = Q.__EXTEND_POINT__;
470
+ const ft = () => ++eo, ye = {
471
+ INVALID_ARGUMENT: eo,
472
472
  INVALID_DATE_ARGUMENT: ft(),
473
473
  INVALID_ISO_DATE_ARGUMENT: ft(),
474
474
  __EXTEND_POINT__: ft()
475
475
  };
476
476
  function Me(e) {
477
- return Wn(e, null, process.env.NODE_ENV !== "production" ? { messages: js } : void 0);
477
+ return Bn(e, null, process.env.NODE_ENV !== "production" ? { messages: Ws } : void 0);
478
478
  }
479
- const js = {
479
+ const Ws = {
480
480
  [ye.INVALID_ARGUMENT]: "Invalid arguments",
481
481
  [ye.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
482
482
  [ye.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
483
- }, Zt = () => "", me = (e) => W(e);
484
- function en(e, ...t) {
485
- const { fallbackFormat: n, postTranslation: o, unresolving: s, messageCompiler: a, fallbackLocale: r, messages: l } = e, [i, c] = pt(...t), m = G(c.missingWarn) ? c.missingWarn : e.missingWarn, f = G(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, u = G(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, d = !!c.resolvedMessage, p = L(c.default) || G(c.default) ? G(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", v = n || p !== "", y = L(c.locale) ? c.locale : e.locale;
486
- u && Ws(c);
487
- let [g, w, S] = d ? [
483
+ }, tn = () => "", pe = (e) => W(e);
484
+ function nn(e, ...t) {
485
+ const { fallbackFormat: n, postTranslation: o, unresolving: s, messageCompiler: a, fallbackLocale: r, messages: l } = e, [i, c] = pt(...t), m = G(c.missingWarn) ? c.missingWarn : e.missingWarn, f = G(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, u = G(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, d = !!c.resolvedMessage, g = L(c.default) || G(c.default) ? G(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", v = n || g !== "", y = L(c.locale) ? c.locale : e.locale;
486
+ u && Bs(c);
487
+ let [p, w, S] = d ? [
488
488
  i,
489
489
  y,
490
490
  l[y] || {}
491
- ] : eo(e, i, y, r, f, m), T = g, E = i;
492
- if (!d && !(L(T) || me(T)) && v && (T = p, E = T), !d && (!(L(T) || me(T)) || !L(w)))
493
- return s ? rt : i;
491
+ ] : to(e, i, y, r, f, m), T = p, E = i;
492
+ if (!d && !(L(T) || pe(T)) && v && (T = g, E = T), !d && (!(L(T) || pe(T)) || !L(w)))
493
+ return s ? at : i;
494
494
  if (process.env.NODE_ENV !== "production" && L(T) && e.messageCompiler == null)
495
495
  return Ve(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`), i;
496
496
  let P = !1;
497
497
  const $ = () => {
498
498
  P = !0;
499
- }, D = me(T) ? T : to(e, i, w, T, E, $);
499
+ }, D = pe(T) ? T : no(e, i, w, T, E, $);
500
500
  if (P)
501
501
  return T;
502
- const X = Ys(e, w, S, c), q = Ns(X), Z = Bs(e, D, q), O = o ? o(Z, i) : Z;
502
+ const X = Xs(e, w, S, c), Z = Ss(X), J = Ks(e, D, Z), Ae = o ? o(J, i) : J;
503
503
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
504
- const C = {
504
+ const O = {
505
505
  timestamp: Date.now(),
506
- key: L(i) ? i : me(T) ? T.key : "",
507
- locale: w || (me(T) ? T.locale : ""),
508
- format: L(T) ? T : me(T) ? T.source : "",
509
- message: O
506
+ key: L(i) ? i : pe(T) ? T.key : "",
507
+ locale: w || (pe(T) ? T.locale : ""),
508
+ format: L(T) ? T : pe(T) ? T.source : "",
509
+ message: Ae
510
510
  };
511
- C.meta = ne({}, e.__meta, Gs() || {}), As(C);
511
+ O.meta = ne({}, e.__meta, zs() || {}), Ds(O);
512
512
  }
513
- return O;
513
+ return Ae;
514
514
  }
515
- function Ws(e) {
516
- z(e.list) ? e.list = e.list.map((t) => L(t) ? jt(t) : t) : x(e.named) && Object.keys(e.named).forEach((t) => {
517
- L(e.named[t]) && (e.named[t] = jt(e.named[t]));
515
+ function Bs(e) {
516
+ H(e.list) ? e.list = e.list.map((t) => L(t) ? Bt(t) : t) : x(e.named) && Object.keys(e.named).forEach((t) => {
517
+ L(e.named[t]) && (e.named[t] = Bt(e.named[t]));
518
518
  });
519
519
  }
520
- function eo(e, t, n, o, s, a) {
520
+ function to(e, t, n, o, s, a) {
521
521
  const { messages: r, onWarn: l, messageResolver: i, localeFallbacker: c } = e, m = c(e, o, n);
522
- let f = {}, u, d = null, p = n, v = null;
522
+ let f = {}, u, d = null, g = n, v = null;
523
523
  const y = "translate";
524
- for (let g = 0; g < m.length; g++) {
525
- if (u = v = m[g], process.env.NODE_ENV !== "production" && n !== u && at(s, t) && l(Re(ae.FALLBACK_TO_TRANSLATE, {
524
+ for (let p = 0; p < m.length; p++) {
525
+ if (u = v = m[p], process.env.NODE_ENV !== "production" && n !== u && lt(s, t) && l(Re(le.FALLBACK_TO_TRANSLATE, {
526
526
  key: t,
527
527
  target: u
528
528
  })), process.env.NODE_ENV !== "production" && n !== u) {
@@ -530,14 +530,14 @@ function eo(e, t, n, o, s, a) {
530
530
  P && P.emit("fallback", {
531
531
  type: y,
532
532
  key: t,
533
- from: p,
533
+ from: g,
534
534
  to: v,
535
535
  groupId: `${y}:${t}`
536
536
  });
537
537
  }
538
538
  f = r[u] || {};
539
539
  let w = null, S, T;
540
- if (process.env.NODE_ENV !== "production" && ge && (w = window.performance.now(), S = "intlify-message-resolve-start", T = "intlify-message-resolve-end", ie && ie(S)), (d = i(f, t)) === null && (d = f[t]), process.env.NODE_ENV !== "production" && ge) {
540
+ if (process.env.NODE_ENV !== "production" && he && (w = window.performance.now(), S = "intlify-message-resolve-start", T = "intlify-message-resolve-end", ie && ie(S)), (d = i(f, t)) === null && (d = f[t]), process.env.NODE_ENV !== "production" && he) {
541
541
  const P = window.performance.now(), $ = e.__v_emitter;
542
542
  $ && w && d && $.emit("message-resolve", {
543
543
  type: "message-resolve",
@@ -549,20 +549,20 @@ function eo(e, t, n, o, s, a) {
549
549
  }
550
550
  if (L(d) || W(d))
551
551
  break;
552
- const E = Mt(
552
+ const E = kt(
553
553
  e,
554
554
  t,
555
555
  u,
556
556
  a,
557
557
  y
558
558
  );
559
- E !== t && (d = E), p = v;
559
+ E !== t && (d = E), g = v;
560
560
  }
561
561
  return [d, u, f];
562
562
  }
563
- function to(e, t, n, o, s, a) {
563
+ function no(e, t, n, o, s, a) {
564
564
  const { messageCompiler: r, warnHtmlMessage: l } = e;
565
- if (me(o)) {
565
+ if (pe(o)) {
566
566
  const u = o;
567
567
  return u.locale = u.locale || n, u.key = u.key || t, u;
568
568
  }
@@ -571,9 +571,9 @@ function to(e, t, n, o, s, a) {
571
571
  return u.locale = n, u.key = t, u;
572
572
  }
573
573
  let i = null, c, m;
574
- process.env.NODE_ENV !== "production" && ge && (i = window.performance.now(), c = "intlify-message-compilation-start", m = "intlify-message-compilation-end", ie && ie(c));
575
- const f = r(o, Ks(e, n, s, o, l, a));
576
- if (process.env.NODE_ENV !== "production" && ge) {
574
+ process.env.NODE_ENV !== "production" && he && (i = window.performance.now(), c = "intlify-message-compilation-start", m = "intlify-message-compilation-end", ie && ie(c));
575
+ const f = r(o, Ys(e, n, s, o, l, a));
576
+ if (process.env.NODE_ENV !== "production" && he) {
577
577
  const u = window.performance.now(), d = e.__v_emitter;
578
578
  d && i && d.emit("message-compilation", {
579
579
  type: "message-compilation",
@@ -584,11 +584,11 @@ function to(e, t, n, o, s, a) {
584
584
  }
585
585
  return f.locale = n, f.key = t, f.source = o, f;
586
586
  }
587
- function Bs(e, t, n) {
587
+ function Ks(e, t, n) {
588
588
  let o = null, s, a;
589
- process.env.NODE_ENV !== "production" && ge && (o = window.performance.now(), s = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", ie && ie(s));
589
+ process.env.NODE_ENV !== "production" && he && (o = window.performance.now(), s = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", ie && ie(s));
590
590
  const r = t(n);
591
- if (process.env.NODE_ENV !== "production" && ge) {
591
+ if (process.env.NODE_ENV !== "production" && he) {
592
592
  const l = window.performance.now(), i = e.__v_emitter;
593
593
  i && o && i.emit("message-evaluation", {
594
594
  type: "message-evaluation",
@@ -601,17 +601,17 @@ function Bs(e, t, n) {
601
601
  }
602
602
  function pt(...e) {
603
603
  const [t, n, o] = e, s = {};
604
- if (!L(t) && !K(t) && !me(t))
604
+ if (!L(t) && !K(t) && !pe(t))
605
605
  throw Me(ye.INVALID_ARGUMENT);
606
- const a = K(t) ? String(t) : (me(t), t);
607
- return K(n) ? s.plural = n : L(n) ? s.default = n : M(n) && !st(n) ? s.named = n : z(n) && (s.list = n), K(o) ? s.plural = o : L(o) ? s.default = o : M(o) && ne(s, o), [a, s];
606
+ const a = K(t) ? String(t) : (pe(t), t);
607
+ return K(n) ? s.plural = n : L(n) ? s.default = n : M(n) && !rt(n) ? s.named = n : H(n) && (s.list = n), K(o) ? s.plural = o : L(o) ? s.default = o : M(o) && ne(s, o), [a, s];
608
608
  }
609
- function Ks(e, t, n, o, s, a) {
609
+ function Ys(e, t, n, o, s, a) {
610
610
  return {
611
611
  warnHtmlMessage: s,
612
612
  onError: (r) => {
613
613
  if (a && a(r), process.env.NODE_ENV !== "production") {
614
- const l = `Message compilation error: ${r.message}`, i = r.location && us(o, r.location.start.offset, r.location.end.offset), c = e.__v_emitter;
614
+ const l = `Message compilation error: ${r.message}`, i = r.location && ds(o, r.location.start.offset, r.location.end.offset), c = e.__v_emitter;
615
615
  c && c.emit("compile-error", {
616
616
  message: o,
617
617
  error: r.message,
@@ -623,56 +623,56 @@ ${i}` : l);
623
623
  } else
624
624
  throw r;
625
625
  },
626
- onCacheKey: (r) => rs(t, n, r)
626
+ onCacheKey: (r) => as(t, n, r)
627
627
  };
628
628
  }
629
- function Ys(e, t, n, o) {
629
+ function Xs(e, t, n, o) {
630
630
  const { modifiers: s, pluralRules: a, messageResolver: r, fallbackLocale: l, fallbackWarn: i, missingWarn: c, fallbackContext: m } = e, u = {
631
631
  locale: t,
632
632
  modifiers: s,
633
633
  pluralRules: a,
634
634
  messages: (d) => {
635
- let p = r(n, d);
636
- if (p == null && m) {
637
- const [, , v] = eo(m, d, t, l, i, c);
638
- p = r(v, d);
635
+ let g = r(n, d);
636
+ if (g == null && m) {
637
+ const [, , v] = to(m, d, t, l, i, c);
638
+ g = r(v, d);
639
639
  }
640
- if (L(p)) {
640
+ if (L(g)) {
641
641
  let v = !1;
642
- const g = to(e, d, t, p, d, () => {
642
+ const p = no(e, d, t, g, d, () => {
643
643
  v = !0;
644
644
  });
645
- return v ? Zt : g;
645
+ return v ? tn : p;
646
646
  } else
647
- return me(p) ? p : Zt;
647
+ return pe(g) ? g : tn;
648
648
  }
649
649
  };
650
650
  return e.processor && (u.processor = e.processor), o.list && (u.list = o.list), o.named && (u.named = o.named), K(o.plural) && (u.pluralIndex = o.plural), u;
651
651
  }
652
- const tn = typeof Intl < "u", no = {
653
- dateTimeFormat: tn && typeof Intl.DateTimeFormat < "u",
654
- numberFormat: tn && typeof Intl.NumberFormat < "u"
652
+ const on = typeof Intl < "u", oo = {
653
+ dateTimeFormat: on && typeof Intl.DateTimeFormat < "u",
654
+ numberFormat: on && typeof Intl.NumberFormat < "u"
655
655
  };
656
- function nn(e, ...t) {
656
+ function sn(e, ...t) {
657
657
  const { datetimeFormats: n, unresolving: o, fallbackLocale: s, onWarn: a, localeFallbacker: r } = e, { __datetimeFormatters: l } = e;
658
- if (process.env.NODE_ENV !== "production" && !no.dateTimeFormat)
659
- return a(Re(ae.CANNOT_FORMAT_DATE)), tt;
660
- const [i, c, m, f] = gt(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, d = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, p = !!m.part, v = L(m.locale) ? m.locale : e.locale, y = r(
658
+ if (process.env.NODE_ENV !== "production" && !oo.dateTimeFormat)
659
+ return a(Re(le.CANNOT_FORMAT_DATE)), nt;
660
+ const [i, c, m, f] = gt(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, d = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, g = !!m.part, v = L(m.locale) ? m.locale : e.locale, y = r(
661
661
  e,
662
662
  s,
663
663
  v
664
664
  );
665
665
  if (!L(i) || i === "")
666
666
  return new Intl.DateTimeFormat(v, f).format(c);
667
- let g = {}, w, S = null, T = v, E = null;
667
+ let p = {}, w, S = null, T = v, E = null;
668
668
  const P = "datetime format";
669
669
  for (let X = 0; X < y.length; X++) {
670
- if (w = E = y[X], process.env.NODE_ENV !== "production" && v !== w && at(d, i) && a(Re(ae.FALLBACK_TO_DATE_FORMAT, {
670
+ if (w = E = y[X], process.env.NODE_ENV !== "production" && v !== w && lt(d, i) && a(Re(le.FALLBACK_TO_DATE_FORMAT, {
671
671
  key: i,
672
672
  target: w
673
673
  })), process.env.NODE_ENV !== "production" && v !== w) {
674
- const q = e.__v_emitter;
675
- q && q.emit("fallback", {
674
+ const Z = e.__v_emitter;
675
+ Z && Z.emit("fallback", {
676
676
  type: P,
677
677
  key: i,
678
678
  from: T,
@@ -680,18 +680,18 @@ function nn(e, ...t) {
680
680
  groupId: `${P}:${i}`
681
681
  });
682
682
  }
683
- if (g = n[w] || {}, S = g[i], M(S))
683
+ if (p = n[w] || {}, S = p[i], M(S))
684
684
  break;
685
- Mt(e, i, w, u, P), T = E;
685
+ kt(e, i, w, u, P), T = E;
686
686
  }
687
687
  if (!M(S) || !L(w))
688
- return o ? rt : i;
688
+ return o ? at : i;
689
689
  let $ = `${w}__${i}`;
690
- st(f) || ($ = `${$}__${JSON.stringify(f)}`);
690
+ rt(f) || ($ = `${$}__${JSON.stringify(f)}`);
691
691
  let D = l.get($);
692
- return D || (D = new Intl.DateTimeFormat(w, ne({}, S, f)), l.set($, D)), p ? D.formatToParts(c) : D.format(c);
692
+ return D || (D = new Intl.DateTimeFormat(w, ne({}, S, f)), l.set($, D)), g ? D.formatToParts(c) : D.format(c);
693
693
  }
694
- const oo = [
694
+ const so = [
695
695
  "localeMatcher",
696
696
  "weekday",
697
697
  "era",
@@ -727,7 +727,7 @@ function gt(...e) {
727
727
  } catch {
728
728
  throw Me(ye.INVALID_ISO_DATE_ARGUMENT);
729
729
  }
730
- } else if (ls(t)) {
730
+ } else if (is(t)) {
731
731
  if (isNaN(t.getTime()))
732
732
  throw Me(ye.INVALID_DATE_ARGUMENT);
733
733
  l = t;
@@ -736,36 +736,36 @@ function gt(...e) {
736
736
  else
737
737
  throw Me(ye.INVALID_ARGUMENT);
738
738
  return L(n) ? a.key = n : M(n) && Object.keys(n).forEach((i) => {
739
- oo.includes(i) ? r[i] = n[i] : a[i] = n[i];
739
+ so.includes(i) ? r[i] = n[i] : a[i] = n[i];
740
740
  }), L(o) ? a.locale = o : M(o) && (r = o), M(s) && (r = s), [a.key || "", l, a, r];
741
741
  }
742
- function on(e, t, n) {
742
+ function rn(e, t, n) {
743
743
  const o = e;
744
744
  for (const s in n) {
745
745
  const a = `${t}__${s}`;
746
746
  !o.__datetimeFormatters.has(a) || o.__datetimeFormatters.delete(a);
747
747
  }
748
748
  }
749
- function sn(e, ...t) {
749
+ function an(e, ...t) {
750
750
  const { numberFormats: n, unresolving: o, fallbackLocale: s, onWarn: a, localeFallbacker: r } = e, { __numberFormatters: l } = e;
751
- if (process.env.NODE_ENV !== "production" && !no.numberFormat)
752
- return a(Re(ae.CANNOT_FORMAT_NUMBER)), tt;
753
- const [i, c, m, f] = ht(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, d = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, p = !!m.part, v = L(m.locale) ? m.locale : e.locale, y = r(
751
+ if (process.env.NODE_ENV !== "production" && !oo.numberFormat)
752
+ return a(Re(le.CANNOT_FORMAT_NUMBER)), nt;
753
+ const [i, c, m, f] = ht(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, d = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, g = !!m.part, v = L(m.locale) ? m.locale : e.locale, y = r(
754
754
  e,
755
755
  s,
756
756
  v
757
757
  );
758
758
  if (!L(i) || i === "")
759
759
  return new Intl.NumberFormat(v, f).format(c);
760
- let g = {}, w, S = null, T = v, E = null;
760
+ let p = {}, w, S = null, T = v, E = null;
761
761
  const P = "number format";
762
762
  for (let X = 0; X < y.length; X++) {
763
- if (w = E = y[X], process.env.NODE_ENV !== "production" && v !== w && at(d, i) && a(Re(ae.FALLBACK_TO_NUMBER_FORMAT, {
763
+ if (w = E = y[X], process.env.NODE_ENV !== "production" && v !== w && lt(d, i) && a(Re(le.FALLBACK_TO_NUMBER_FORMAT, {
764
764
  key: i,
765
765
  target: w
766
766
  })), process.env.NODE_ENV !== "production" && v !== w) {
767
- const q = e.__v_emitter;
768
- q && q.emit("fallback", {
767
+ const Z = e.__v_emitter;
768
+ Z && Z.emit("fallback", {
769
769
  type: P,
770
770
  key: i,
771
771
  from: T,
@@ -773,18 +773,18 @@ function sn(e, ...t) {
773
773
  groupId: `${P}:${i}`
774
774
  });
775
775
  }
776
- if (g = n[w] || {}, S = g[i], M(S))
776
+ if (p = n[w] || {}, S = p[i], M(S))
777
777
  break;
778
- Mt(e, i, w, u, P), T = E;
778
+ kt(e, i, w, u, P), T = E;
779
779
  }
780
780
  if (!M(S) || !L(w))
781
- return o ? rt : i;
781
+ return o ? at : i;
782
782
  let $ = `${w}__${i}`;
783
- st(f) || ($ = `${$}__${JSON.stringify(f)}`);
783
+ rt(f) || ($ = `${$}__${JSON.stringify(f)}`);
784
784
  let D = l.get($);
785
- return D || (D = new Intl.NumberFormat(w, ne({}, S, f)), l.set($, D)), p ? D.formatToParts(c) : D.format(c);
785
+ return D || (D = new Intl.NumberFormat(w, ne({}, S, f)), l.set($, D)), g ? D.formatToParts(c) : D.format(c);
786
786
  }
787
- const so = [
787
+ const ro = [
788
788
  "localeMatcher",
789
789
  "style",
790
790
  "currency",
@@ -813,33 +813,33 @@ function ht(...e) {
813
813
  throw Me(ye.INVALID_ARGUMENT);
814
814
  const l = t;
815
815
  return L(n) ? a.key = n : M(n) && Object.keys(n).forEach((i) => {
816
- so.includes(i) ? r[i] = n[i] : a[i] = n[i];
816
+ ro.includes(i) ? r[i] = n[i] : a[i] = n[i];
817
817
  }), L(o) ? a.locale = o : M(o) && (r = o), M(s) && (r = s), [a.key || "", l, a, r];
818
818
  }
819
- function rn(e, t, n) {
819
+ function ln(e, t, n) {
820
820
  const o = e;
821
821
  for (const s in n) {
822
822
  const a = `${t}__${s}`;
823
823
  !o.__numberFormatters.has(a) || o.__numberFormatters.delete(a);
824
824
  }
825
825
  }
826
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (At().__INTLIFY_PROD_DEVTOOLS__ = !1);
827
- function Xs() {
828
- return ro().__VUE_DEVTOOLS_GLOBAL_HOOK__;
826
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Dt().__INTLIFY_PROD_DEVTOOLS__ = !1);
827
+ function Js() {
828
+ return ao().__VUE_DEVTOOLS_GLOBAL_HOOK__;
829
829
  }
830
- function ro() {
830
+ function ao() {
831
831
  return typeof navigator < "u" && typeof window < "u" ? window : typeof global < "u" ? global : {};
832
832
  }
833
- const Js = typeof Proxy == "function", Qs = "devtools-plugin:setup", qs = "plugin:settings:set";
833
+ const Qs = typeof Proxy == "function", qs = "devtools-plugin:setup", Zs = "plugin:settings:set";
834
834
  let Pe, vt;
835
- function Zs() {
835
+ function er() {
836
836
  var e;
837
837
  return Pe !== void 0 || (typeof window < "u" && window.performance ? (Pe = !0, vt = window.performance) : typeof global < "u" && ((e = global.perf_hooks) === null || e === void 0 ? void 0 : e.performance) ? (Pe = !0, vt = global.perf_hooks.performance) : Pe = !1), Pe;
838
838
  }
839
- function er() {
840
- return Zs() ? vt.now() : Date.now();
839
+ function tr() {
840
+ return er() ? vt.now() : Date.now();
841
841
  }
842
- class tr {
842
+ class nr {
843
843
  constructor(t, n) {
844
844
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
845
845
  const o = {};
@@ -867,9 +867,9 @@ class tr {
867
867
  a = r;
868
868
  },
869
869
  now() {
870
- return er();
870
+ return tr();
871
871
  }
872
- }, n && n.on(qs, (r, l) => {
872
+ }, n && n.on(Zs, (r, l) => {
873
873
  r === this.plugin.id && this.fallbacks.setSettings(l);
874
874
  }), this.proxiedOn = new Proxy({}, {
875
875
  get: (r, l) => this.target ? this.target.on[l] : (...i) => {
@@ -901,12 +901,12 @@ class tr {
901
901
  n.resolve(await this.target[n.method](...n.args));
902
902
  }
903
903
  }
904
- function nr(e, t) {
905
- const n = e, o = ro(), s = Xs(), a = Js && n.enableEarlyProxy;
904
+ function or(e, t) {
905
+ const n = e, o = ao(), s = Js(), a = Qs && n.enableEarlyProxy;
906
906
  if (s && (o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
907
- s.emit(Qs, e, t);
907
+ s.emit(qs, e, t);
908
908
  else {
909
- const r = a ? new tr(n, s) : null;
909
+ const r = a ? new nr(n, s) : null;
910
910
  (o.__VUE_DEVTOOLS_PLUGINS__ = o.__VUE_DEVTOOLS_PLUGINS__ || []).push({
911
911
  pluginDescriptor: n,
912
912
  setupFn: t,
@@ -923,9 +923,9 @@ const _t = {
923
923
  ["vue-devtools-plugin-vue-i18n"]: "Vue I18n devtools",
924
924
  ["vue-i18n-resource-inspector"]: "I18n Resources",
925
925
  ["vue-i18n-timeline"]: "Vue I18n"
926
- }, or = {
927
- ["vue-i18n-resource-inspector"]: "Search for scopes ..."
928
926
  }, sr = {
927
+ ["vue-i18n-resource-inspector"]: "Search for scopes ..."
928
+ }, rr = {
929
929
  ["vue-i18n-timeline"]: 16764185
930
930
  };
931
931
  /*!
@@ -933,35 +933,35 @@ const _t = {
933
933
  * (c) 2022 kazuya kawaguchi
934
934
  * Released under the MIT License.
935
935
  */
936
- const rr = "9.2.2";
937
- function ar() {
936
+ const ar = "9.2.2";
937
+ function lr() {
938
938
  let e = !1;
939
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (At().__INTLIFY_PROD_DEVTOOLS__ = !1), process.env.NODE_ENV !== "production" && e && console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.");
939
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Dt().__INTLIFY_PROD_DEVTOOLS__ = !1), process.env.NODE_ENV !== "production" && e && console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.");
940
940
  }
941
- let ao = ae.__EXTEND_POINT__;
942
- const $e = () => ++ao, de = {
943
- FALLBACK_TO_ROOT: ao,
941
+ let lo = le.__EXTEND_POINT__;
942
+ const $e = () => ++lo, fe = {
943
+ FALLBACK_TO_ROOT: lo,
944
944
  NOT_SUPPORTED_PRESERVE: $e(),
945
945
  NOT_SUPPORTED_FORMATTER: $e(),
946
946
  NOT_SUPPORTED_PRESERVE_DIRECTIVE: $e(),
947
947
  NOT_SUPPORTED_GET_CHOICE_INDEX: $e(),
948
948
  COMPONENT_NAME_LEGACY_COMPATIBLE: $e(),
949
949
  NOT_FOUND_PARENT_SCOPE: $e()
950
- }, lr = {
951
- [de.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
952
- [de.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
953
- [de.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
954
- [de.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: "Not supported 'preserveDirectiveContent'.",
955
- [de.NOT_SUPPORTED_GET_CHOICE_INDEX]: "Not supported 'getChoiceIndex'.",
956
- [de.COMPONENT_NAME_LEGACY_COMPATIBLE]: "Component name legacy compatible: '{name}' -> 'i18n'",
957
- [de.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
950
+ }, ir = {
951
+ [fe.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
952
+ [fe.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
953
+ [fe.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
954
+ [fe.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: "Not supported 'preserveDirectiveContent'.",
955
+ [fe.NOT_SUPPORTED_GET_CHOICE_INDEX]: "Not supported 'getChoiceIndex'.",
956
+ [fe.COMPONENT_NAME_LEGACY_COMPATIBLE]: "Component name legacy compatible: '{name}' -> 'i18n'",
957
+ [fe.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
958
958
  };
959
- function lt(e, ...t) {
960
- return Ct(lr[e], ...t);
959
+ function it(e, ...t) {
960
+ return At(ir[e], ...t);
961
961
  }
962
- let lo = J.__EXTEND_POINT__;
963
- const re = () => ++lo, F = {
964
- UNEXPECTED_RETURN_TYPE: lo,
962
+ let io = Q.__EXTEND_POINT__;
963
+ const re = () => ++io, F = {
964
+ UNEXPECTED_RETURN_TYPE: io,
965
965
  INVALID_ARGUMENT: re(),
966
966
  MUST_BE_CALL_SETUP_TOP: re(),
967
967
  NOT_INSLALLED: re(),
@@ -978,9 +978,9 @@ const re = () => ++lo, F = {
978
978
  __EXTEND_POINT__: re()
979
979
  };
980
980
  function ce(e, ...t) {
981
- return Wn(e, null, process.env.NODE_ENV !== "production" ? { messages: ir, args: t } : void 0);
981
+ return Bn(e, null, process.env.NODE_ENV !== "production" ? { messages: cr, args: t } : void 0);
982
982
  }
983
- const ir = {
983
+ const cr = {
984
984
  [F.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
985
985
  [F.INVALID_ARGUMENT]: "Invalid argument",
986
986
  [F.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -995,14 +995,14 @@ const ir = {
995
995
  [F.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
996
996
  [F.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",
997
997
  [F.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
998
- }, yt = /* @__PURE__ */ he("__transrateVNode"), Et = /* @__PURE__ */ he("__datetimeParts"), wt = /* @__PURE__ */ he("__numberParts"), Ke = /* @__PURE__ */ he("__enableEmitter"), bt = /* @__PURE__ */ he("__disableEmitter"), cr = he("__setPluralRules");
999
- he("__intlifyMeta");
1000
- const ur = /* @__PURE__ */ he("__injectWithOption");
998
+ }, yt = /* @__PURE__ */ ve("__transrateVNode"), Et = /* @__PURE__ */ ve("__datetimeParts"), wt = /* @__PURE__ */ ve("__numberParts"), Ke = /* @__PURE__ */ ve("__enableEmitter"), bt = /* @__PURE__ */ ve("__disableEmitter"), ur = ve("__setPluralRules");
999
+ ve("__intlifyMeta");
1000
+ const dr = /* @__PURE__ */ ve("__injectWithOption");
1001
1001
  function Lt(e) {
1002
1002
  if (!x(e))
1003
1003
  return e;
1004
1004
  for (const t in e)
1005
- if (!!Dt(e, t))
1005
+ if (!!Pt(e, t))
1006
1006
  if (!t.includes("."))
1007
1007
  x(e[t]) && Lt(e[t]);
1008
1008
  else {
@@ -1014,9 +1014,9 @@ function Lt(e) {
1014
1014
  }
1015
1015
  return e;
1016
1016
  }
1017
- function io(e, t) {
1018
- const { messages: n, __i18n: o, messageResolver: s, flatJson: a } = t, r = M(n) ? n : z(o) ? {} : { [e]: {} };
1019
- if (z(o) && o.forEach((l) => {
1017
+ function co(e, t) {
1018
+ const { messages: n, __i18n: o, messageResolver: s, flatJson: a } = t, r = M(n) ? n : H(o) ? {} : { [e]: {} };
1019
+ if (H(o) && o.forEach((l) => {
1020
1020
  if ("locale" in l && "resource" in l) {
1021
1021
  const { locale: i, resource: c } = l;
1022
1022
  i ? (r[i] = r[i] || {}, je(c, r[i])) : je(c, r);
@@ -1024,22 +1024,22 @@ function io(e, t) {
1024
1024
  L(l) && je(JSON.parse(l), r);
1025
1025
  }), s == null && a)
1026
1026
  for (const l in r)
1027
- Dt(r, l) && Lt(r[l]);
1027
+ Pt(r, l) && Lt(r[l]);
1028
1028
  return r;
1029
1029
  }
1030
- const Je = (e) => !x(e) || z(e);
1030
+ const Qe = (e) => !x(e) || H(e);
1031
1031
  function je(e, t) {
1032
- if (Je(e) || Je(t))
1032
+ if (Qe(e) || Qe(t))
1033
1033
  throw ce(F.INVALID_VALUE);
1034
1034
  for (const n in e)
1035
- Dt(e, n) && (Je(e[n]) || Je(t[n]) ? t[n] = e[n] : je(e[n], t[n]));
1035
+ Pt(e, n) && (Qe(e[n]) || Qe(t[n]) ? t[n] = e[n] : je(e[n], t[n]));
1036
1036
  }
1037
- function co(e) {
1037
+ function uo(e) {
1038
1038
  return e.type;
1039
1039
  }
1040
- function dr(e, t, n) {
1040
+ function fr(e, t, n) {
1041
1041
  let o = x(t.messages) ? t.messages : {};
1042
- "__i18nGlobal" in n && (o = io(e.locale.value, {
1042
+ "__i18nGlobal" in n && (o = co(e.locale.value, {
1043
1043
  messages: o,
1044
1044
  __i18n: n.__i18nGlobal
1045
1045
  }));
@@ -1062,34 +1062,34 @@ function dr(e, t, n) {
1062
1062
  }
1063
1063
  }
1064
1064
  }
1065
- function an(e) {
1066
- return B(ts, null, e, 0);
1065
+ function cn(e) {
1066
+ return B(ns, null, e, 0);
1067
1067
  }
1068
- const ln = "__INTLIFY_META__";
1069
- let cn = 0;
1070
- function un(e) {
1068
+ const un = "__INTLIFY_META__";
1069
+ let dn = 0;
1070
+ function fn(e) {
1071
1071
  return (t, n, o, s) => e(n, o, Nt() || void 0, s);
1072
1072
  }
1073
- const fr = () => {
1073
+ const _r = () => {
1074
1074
  const e = Nt();
1075
1075
  let t = null;
1076
- return e && (t = co(e)[ln]) ? { [ln]: t } : null;
1076
+ return e && (t = uo(e)[un]) ? { [un]: t } : null;
1077
1077
  };
1078
- function uo(e = {}, t) {
1078
+ function fo(e = {}, t) {
1079
1079
  const { __root: n } = e, o = n === void 0;
1080
1080
  let s = G(e.inheritLocale) ? e.inheritLocale : !0;
1081
1081
  const a = k(
1082
- n && s ? n.locale.value : L(e.locale) ? e.locale : $t
1082
+ n && s ? n.locale.value : L(e.locale) ? e.locale : Mt
1083
1083
  ), r = k(
1084
- n && s ? n.fallbackLocale.value : L(e.fallbackLocale) || z(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
1085
- ), l = k(io(a.value, e)), i = k(M(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = k(M(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
1086
- let m = n ? n.missingWarn : G(e.missingWarn) || et(e.missingWarn) ? e.missingWarn : !0, f = n ? n.fallbackWarn : G(e.fallbackWarn) || et(e.fallbackWarn) ? e.fallbackWarn : !0, u = n ? n.fallbackRoot : G(e.fallbackRoot) ? e.fallbackRoot : !0, d = !!e.fallbackFormat, p = W(e.missing) ? e.missing : null, v = W(e.missing) ? un(e.missing) : null, y = W(e.postTranslation) ? e.postTranslation : null, g = n ? n.warnHtmlMessage : G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, w = !!e.escapeParameter;
1084
+ n && s ? n.fallbackLocale.value : L(e.fallbackLocale) || H(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
1085
+ ), l = k(co(a.value, e)), i = k(M(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = k(M(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
1086
+ let m = n ? n.missingWarn : G(e.missingWarn) || tt(e.missingWarn) ? e.missingWarn : !0, f = n ? n.fallbackWarn : G(e.fallbackWarn) || tt(e.fallbackWarn) ? e.fallbackWarn : !0, u = n ? n.fallbackRoot : G(e.fallbackRoot) ? e.fallbackRoot : !0, d = !!e.fallbackFormat, g = W(e.missing) ? e.missing : null, v = W(e.missing) ? fn(e.missing) : null, y = W(e.postTranslation) ? e.postTranslation : null, p = n ? n.warnHtmlMessage : G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, w = !!e.escapeParameter;
1087
1087
  const S = n ? n.modifiers : M(e.modifiers) ? e.modifiers : {};
1088
1088
  let T = e.pluralRules || n && n.pluralRules, E;
1089
1089
  E = (() => {
1090
- o && Qt(null);
1090
+ o && Zt(null);
1091
1091
  const _ = {
1092
- version: rr,
1092
+ version: ar,
1093
1093
  locale: a.value,
1094
1094
  fallbackLocale: r.value,
1095
1095
  messages: l.value,
@@ -1101,14 +1101,14 @@ function uo(e = {}, t) {
1101
1101
  fallbackFormat: d,
1102
1102
  unresolving: !0,
1103
1103
  postTranslation: y === null ? void 0 : y,
1104
- warnHtmlMessage: g,
1104
+ warnHtmlMessage: p,
1105
1105
  escapeParameter: w,
1106
1106
  messageResolver: e.messageResolver,
1107
1107
  __meta: { framework: "vue" }
1108
1108
  };
1109
1109
  _.datetimeFormats = i.value, _.numberFormats = c.value, _.__datetimeFormatters = M(E) ? E.__datetimeFormatters : void 0, _.__numberFormatters = M(E) ? E.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = M(E) ? E.__v_emitter : void 0);
1110
- const h = Hs(_);
1111
- return o && Qt(h), h;
1110
+ const h = js(_);
1111
+ return o && Zt(h), h;
1112
1112
  })(), Ge(E, a.value, r.value);
1113
1113
  function $() {
1114
1114
  return [
@@ -1119,51 +1119,51 @@ function uo(e = {}, t) {
1119
1119
  c.value
1120
1120
  ];
1121
1121
  }
1122
- const D = U({
1122
+ const D = V({
1123
1123
  get: () => a.value,
1124
1124
  set: (_) => {
1125
1125
  a.value = _, E.locale = a.value;
1126
1126
  }
1127
- }), X = U({
1127
+ }), X = V({
1128
1128
  get: () => r.value,
1129
1129
  set: (_) => {
1130
1130
  r.value = _, E.fallbackLocale = r.value, Ge(E, a.value, _);
1131
1131
  }
1132
- }), q = U(() => l.value), Z = /* @__PURE__ */ U(() => i.value), O = /* @__PURE__ */ U(() => c.value);
1133
- function C() {
1132
+ }), Z = V(() => l.value), J = /* @__PURE__ */ V(() => i.value), Ae = /* @__PURE__ */ V(() => c.value);
1133
+ function O() {
1134
1134
  return W(y) ? y : null;
1135
1135
  }
1136
- function R(_) {
1136
+ function A(_) {
1137
1137
  y = _, E.postTranslation = _;
1138
1138
  }
1139
- function V() {
1140
- return p;
1139
+ function R() {
1140
+ return g;
1141
1141
  }
1142
- function Le(_) {
1143
- _ !== null && (v = un(_)), p = _, E.missing = v;
1142
+ function U(_) {
1143
+ _ !== null && (v = fn(_)), g = _, E.missing = v;
1144
1144
  }
1145
- function Ae(_, h) {
1145
+ function Le(_, h) {
1146
1146
  return _ !== "translate" || !h.resolvedMessage;
1147
1147
  }
1148
- const ve = (_, h, se, ee, dt, Xe) => {
1148
+ const de = (_, h, se, ee, dt, Je) => {
1149
1149
  $();
1150
1150
  let De;
1151
1151
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
1152
1152
  try {
1153
- Jt(fr()), o || (E.fallbackContext = n ? zs() : void 0), De = _(E);
1153
+ qt(_r()), o || (E.fallbackContext = n ? Hs() : void 0), De = _(E);
1154
1154
  } finally {
1155
- Jt(null), o || (E.fallbackContext = void 0);
1155
+ qt(null), o || (E.fallbackContext = void 0);
1156
1156
  }
1157
1157
  else
1158
1158
  De = _(E);
1159
- if (K(De) && De === rt) {
1160
- const [Oe, qo] = h();
1161
- if (process.env.NODE_ENV !== "production" && n && L(Oe) && Ae(se, qo) && (u && (at(f, Oe) || qn(m, Oe)) && Ve(lt(de.FALLBACK_TO_ROOT, {
1159
+ if (K(De) && De === at) {
1160
+ const [Oe, Zo] = h();
1161
+ if (process.env.NODE_ENV !== "production" && n && L(Oe) && Le(se, Zo) && (u && (lt(f, Oe) || Zn(m, Oe)) && Ve(it(fe.FALLBACK_TO_ROOT, {
1162
1162
  key: Oe,
1163
1163
  type: se
1164
1164
  })), process.env.NODE_ENV !== "production")) {
1165
- const { __v_emitter: zt } = E;
1166
- zt && u && zt.emit("fallback", {
1165
+ const { __v_emitter: jt } = E;
1166
+ jt && u && jt.emit("fallback", {
1167
1167
  type: se,
1168
1168
  key: Oe,
1169
1169
  to: "global",
@@ -1172,41 +1172,41 @@ function uo(e = {}, t) {
1172
1172
  }
1173
1173
  return n && u ? ee(n) : dt(Oe);
1174
1174
  } else {
1175
- if (Xe(De))
1175
+ if (Je(De))
1176
1176
  return De;
1177
1177
  throw ce(F.UNEXPECTED_RETURN_TYPE);
1178
1178
  }
1179
1179
  };
1180
1180
  function Ue(..._) {
1181
- return ve((h) => Reflect.apply(en, null, [h, ..._]), () => pt(..._), "translate", (h) => Reflect.apply(h.t, h, [..._]), (h) => h, (h) => L(h));
1181
+ return de((h) => Reflect.apply(nn, null, [h, ..._]), () => pt(..._), "translate", (h) => Reflect.apply(h.t, h, [..._]), (h) => h, (h) => L(h));
1182
1182
  }
1183
- function ct(..._) {
1183
+ function Ye(..._) {
1184
1184
  const [h, se, ee] = _;
1185
1185
  if (ee && !x(ee))
1186
1186
  throw ce(F.INVALID_ARGUMENT);
1187
1187
  return Ue(h, se, ne({ resolvedMessage: !0 }, ee || {}));
1188
1188
  }
1189
- function Ut(..._) {
1190
- return ve((h) => Reflect.apply(nn, null, [h, ..._]), () => gt(..._), "datetime format", (h) => Reflect.apply(h.d, h, [..._]), () => tt, (h) => L(h));
1189
+ function ut(..._) {
1190
+ return de((h) => Reflect.apply(sn, null, [h, ..._]), () => gt(..._), "datetime format", (h) => Reflect.apply(h.d, h, [..._]), () => nt, (h) => L(h));
1191
1191
  }
1192
- function Ye(..._) {
1193
- return ve((h) => Reflect.apply(sn, null, [h, ..._]), () => ht(..._), "number format", (h) => Reflect.apply(h.n, h, [..._]), () => tt, (h) => L(h));
1192
+ function Gt(..._) {
1193
+ return de((h) => Reflect.apply(an, null, [h, ..._]), () => ht(..._), "number format", (h) => Reflect.apply(h.n, h, [..._]), () => nt, (h) => L(h));
1194
1194
  }
1195
- function ut(_) {
1196
- return _.map((h) => L(h) || K(h) || G(h) ? an(String(h)) : h);
1195
+ function Xe(_) {
1196
+ return _.map((h) => L(h) || K(h) || G(h) ? cn(String(h)) : h);
1197
1197
  }
1198
- const Ro = {
1199
- normalize: ut,
1198
+ const xo = {
1199
+ normalize: Xe,
1200
1200
  interpolate: (_) => _,
1201
1201
  type: "vnode"
1202
1202
  };
1203
- function xo(..._) {
1204
- return ve(
1203
+ function Fo(..._) {
1204
+ return de(
1205
1205
  (h) => {
1206
1206
  let se;
1207
1207
  const ee = h;
1208
1208
  try {
1209
- ee.processor = Ro, se = Reflect.apply(en, null, [ee, ..._]);
1209
+ ee.processor = xo, se = Reflect.apply(nn, null, [ee, ..._]);
1210
1210
  } finally {
1211
1211
  ee.processor = null;
1212
1212
  }
@@ -1215,87 +1215,87 @@ function uo(e = {}, t) {
1215
1215
  () => pt(..._),
1216
1216
  "translate",
1217
1217
  (h) => h[yt](..._),
1218
- (h) => [an(h)],
1219
- (h) => z(h)
1218
+ (h) => [cn(h)],
1219
+ (h) => H(h)
1220
1220
  );
1221
1221
  }
1222
- function Fo(..._) {
1223
- return ve(
1224
- (h) => Reflect.apply(sn, null, [h, ..._]),
1222
+ function Vo(..._) {
1223
+ return de(
1224
+ (h) => Reflect.apply(an, null, [h, ..._]),
1225
1225
  () => ht(..._),
1226
1226
  "number format",
1227
1227
  (h) => h[wt](..._),
1228
1228
  () => [],
1229
- (h) => L(h) || z(h)
1229
+ (h) => L(h) || H(h)
1230
1230
  );
1231
1231
  }
1232
- function Vo(..._) {
1233
- return ve(
1234
- (h) => Reflect.apply(nn, null, [h, ..._]),
1232
+ function Uo(..._) {
1233
+ return de(
1234
+ (h) => Reflect.apply(sn, null, [h, ..._]),
1235
1235
  () => gt(..._),
1236
1236
  "datetime format",
1237
1237
  (h) => h[Et](..._),
1238
1238
  () => [],
1239
- (h) => L(h) || z(h)
1239
+ (h) => L(h) || H(h)
1240
1240
  );
1241
1241
  }
1242
- function Uo(_) {
1242
+ function Go(_) {
1243
1243
  T = _, E.pluralRules = T;
1244
1244
  }
1245
- function Go(_, h) {
1246
- const se = L(h) ? h : a.value, ee = Gt(se);
1245
+ function zo(_, h) {
1246
+ const se = L(h) ? h : a.value, ee = Ht(se);
1247
1247
  return E.messageResolver(ee, _) !== null;
1248
1248
  }
1249
- function zo(_) {
1249
+ function Ho(_) {
1250
1250
  let h = null;
1251
- const se = Kn(E, r.value, a.value);
1251
+ const se = Yn(E, r.value, a.value);
1252
1252
  for (let ee = 0; ee < se.length; ee++) {
1253
- const dt = l.value[se[ee]] || {}, Xe = E.messageResolver(dt, _);
1254
- if (Xe != null) {
1255
- h = Xe;
1253
+ const dt = l.value[se[ee]] || {}, Je = E.messageResolver(dt, _);
1254
+ if (Je != null) {
1255
+ h = Je;
1256
1256
  break;
1257
1257
  }
1258
1258
  }
1259
1259
  return h;
1260
1260
  }
1261
- function Ho(_) {
1262
- const h = zo(_);
1261
+ function jo(_) {
1262
+ const h = Ho(_);
1263
1263
  return h != null ? h : n ? n.tm(_) || {} : {};
1264
1264
  }
1265
- function Gt(_) {
1265
+ function Ht(_) {
1266
1266
  return l.value[_] || {};
1267
1267
  }
1268
- function jo(_, h) {
1268
+ function Wo(_, h) {
1269
1269
  l.value[_] = h, E.messages = l.value;
1270
1270
  }
1271
- function Wo(_, h) {
1271
+ function Bo(_, h) {
1272
1272
  l.value[_] = l.value[_] || {}, je(h, l.value[_]), E.messages = l.value;
1273
1273
  }
1274
- function Bo(_) {
1274
+ function Ko(_) {
1275
1275
  return i.value[_] || {};
1276
1276
  }
1277
- function Ko(_, h) {
1278
- i.value[_] = h, E.datetimeFormats = i.value, on(E, _, h);
1279
- }
1280
1277
  function Yo(_, h) {
1281
- i.value[_] = ne(i.value[_] || {}, h), E.datetimeFormats = i.value, on(E, _, h);
1278
+ i.value[_] = h, E.datetimeFormats = i.value, rn(E, _, h);
1282
1279
  }
1283
- function Xo(_) {
1284
- return c.value[_] || {};
1280
+ function Xo(_, h) {
1281
+ i.value[_] = ne(i.value[_] || {}, h), E.datetimeFormats = i.value, rn(E, _, h);
1285
1282
  }
1286
- function Jo(_, h) {
1287
- c.value[_] = h, E.numberFormats = c.value, rn(E, _, h);
1283
+ function Jo(_) {
1284
+ return c.value[_] || {};
1288
1285
  }
1289
1286
  function Qo(_, h) {
1290
- c.value[_] = ne(c.value[_] || {}, h), E.numberFormats = c.value, rn(E, _, h);
1287
+ c.value[_] = h, E.numberFormats = c.value, ln(E, _, h);
1288
+ }
1289
+ function qo(_, h) {
1290
+ c.value[_] = ne(c.value[_] || {}, h), E.numberFormats = c.value, ln(E, _, h);
1291
1291
  }
1292
- cn++, n && ge && (Ie(n.locale, (_) => {
1292
+ dn++, n && he && (Ie(n.locale, (_) => {
1293
1293
  s && (a.value = _, E.locale = _, Ge(E, a.value, r.value));
1294
1294
  }), Ie(n.fallbackLocale, (_) => {
1295
1295
  s && (r.value = _, E.fallbackLocale = _, Ge(E, a.value, r.value));
1296
1296
  }));
1297
- const H = {
1298
- id: cn,
1297
+ const j = {
1298
+ id: dn,
1299
1299
  locale: D,
1300
1300
  fallbackLocale: X,
1301
1301
  get inheritLocale() {
@@ -1307,7 +1307,7 @@ function uo(e = {}, t) {
1307
1307
  get availableLocales() {
1308
1308
  return Object.keys(l.value).sort();
1309
1309
  },
1310
- messages: q,
1310
+ messages: Z,
1311
1311
  get modifiers() {
1312
1312
  return S;
1313
1313
  },
@@ -1342,10 +1342,10 @@ function uo(e = {}, t) {
1342
1342
  d = _, E.fallbackFormat = d;
1343
1343
  },
1344
1344
  get warnHtmlMessage() {
1345
- return g;
1345
+ return p;
1346
1346
  },
1347
1347
  set warnHtmlMessage(_) {
1348
- g = _, E.warnHtmlMessage = _;
1348
+ p = _, E.warnHtmlMessage = _;
1349
1349
  },
1350
1350
  get escapeParameter() {
1351
1351
  return w;
@@ -1354,22 +1354,22 @@ function uo(e = {}, t) {
1354
1354
  w = _, E.escapeParameter = _;
1355
1355
  },
1356
1356
  t: Ue,
1357
- getLocaleMessage: Gt,
1358
- setLocaleMessage: jo,
1359
- mergeLocaleMessage: Wo,
1360
- getPostTranslationHandler: C,
1361
- setPostTranslationHandler: R,
1362
- getMissingHandler: V,
1363
- setMissingHandler: Le,
1364
- [cr]: Uo
1357
+ getLocaleMessage: Ht,
1358
+ setLocaleMessage: Wo,
1359
+ mergeLocaleMessage: Bo,
1360
+ getPostTranslationHandler: O,
1361
+ setPostTranslationHandler: A,
1362
+ getMissingHandler: R,
1363
+ setMissingHandler: U,
1364
+ [ur]: Go
1365
1365
  };
1366
- return H.datetimeFormats = Z, H.numberFormats = O, H.rt = ct, H.te = Go, H.tm = Ho, H.d = Ut, H.n = Ye, H.getDateTimeFormat = Bo, H.setDateTimeFormat = Ko, H.mergeDateTimeFormat = Yo, H.getNumberFormat = Xo, H.setNumberFormat = Jo, H.mergeNumberFormat = Qo, H[ur] = e.__injectWithOption, H[yt] = xo, H[Et] = Vo, H[wt] = Fo, process.env.NODE_ENV !== "production" && (H[Ke] = (_) => {
1366
+ return j.datetimeFormats = J, j.numberFormats = Ae, j.rt = Ye, j.te = zo, j.tm = jo, j.d = ut, j.n = Gt, j.getDateTimeFormat = Ko, j.setDateTimeFormat = Yo, j.mergeDateTimeFormat = Xo, j.getNumberFormat = Jo, j.setNumberFormat = Qo, j.mergeNumberFormat = qo, j[dr] = e.__injectWithOption, j[yt] = Fo, j[Et] = Uo, j[wt] = Vo, process.env.NODE_ENV !== "production" && (j[Ke] = (_) => {
1367
1367
  E.__v_emitter = _;
1368
- }, H[bt] = () => {
1368
+ }, j[bt] = () => {
1369
1369
  E.__v_emitter = void 0;
1370
- }), H;
1370
+ }), j;
1371
1371
  }
1372
- const kt = {
1372
+ const Rt = {
1373
1373
  tag: {
1374
1374
  type: [String, Object]
1375
1375
  },
@@ -1385,16 +1385,16 @@ const kt = {
1385
1385
  type: Object
1386
1386
  }
1387
1387
  };
1388
- function _r({ slots: e }, t) {
1388
+ function mr({ slots: e }, t) {
1389
1389
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((o, s) => o = [
1390
1390
  ...o,
1391
- ...z(s.children) ? s.children : [s]
1391
+ ...H(s.children) ? s.children : [s]
1392
1392
  ], []) : t.reduce((n, o) => {
1393
1393
  const s = e[o];
1394
1394
  return s && (n[o] = s()), n;
1395
1395
  }, {});
1396
1396
  }
1397
- function fo(e) {
1397
+ function _o(e) {
1398
1398
  return ue;
1399
1399
  }
1400
1400
  const mt = {
@@ -1408,24 +1408,24 @@ const mt = {
1408
1408
  type: [Number, String],
1409
1409
  validator: (e) => K(e) || !isNaN(e)
1410
1410
  }
1411
- }, kt),
1411
+ }, Rt),
1412
1412
  setup(e, t) {
1413
- const { slots: n, attrs: o } = t, s = e.i18n || xt({
1413
+ const { slots: n, attrs: o } = t, s = e.i18n || Ft({
1414
1414
  useScope: e.scope,
1415
1415
  __useComponent: !0
1416
1416
  });
1417
1417
  return () => {
1418
1418
  const a = Object.keys(n).filter((f) => f !== "_"), r = {};
1419
1419
  e.locale && (r.locale = e.locale), e.plural !== void 0 && (r.plural = L(e.plural) ? +e.plural : e.plural);
1420
- const l = _r(t, a), i = s[yt](e.keypath, l, r), c = ne({}, o), m = L(e.tag) || x(e.tag) ? e.tag : fo();
1421
- return Ze(m, c, i);
1420
+ const l = mr(t, a), i = s[yt](e.keypath, l, r), c = ne({}, o), m = L(e.tag) || x(e.tag) ? e.tag : _o();
1421
+ return et(m, c, i);
1422
1422
  };
1423
1423
  }
1424
1424
  };
1425
- function mr(e) {
1426
- return z(e) && !L(e[0]);
1425
+ function pr(e) {
1426
+ return H(e) && !L(e[0]);
1427
1427
  }
1428
- function _o(e, t, n, o) {
1428
+ function mo(e, t, n, o) {
1429
1429
  const { slots: s, attrs: a } = t;
1430
1430
  return () => {
1431
1431
  const r = { part: !0 };
@@ -1433,15 +1433,15 @@ function _o(e, t, n, o) {
1433
1433
  e.locale && (r.locale = e.locale), L(e.format) ? r.key = e.format : x(e.format) && (L(e.format.key) && (r.key = e.format.key), l = Object.keys(e.format).reduce((u, d) => n.includes(d) ? ne({}, u, { [d]: e.format[d] }) : u, {}));
1434
1434
  const i = o(e.value, r, l);
1435
1435
  let c = [r.key];
1436
- z(i) ? c = i.map((u, d) => {
1437
- const p = s[u.type], v = p ? p({ [u.type]: u.value, index: d, parts: i }) : [u.value];
1438
- return mr(v) && (v[0].key = `${u.type}-${d}`), v;
1436
+ H(i) ? c = i.map((u, d) => {
1437
+ const g = s[u.type], v = g ? g({ [u.type]: u.value, index: d, parts: i }) : [u.value];
1438
+ return pr(v) && (v[0].key = `${u.type}-${d}`), v;
1439
1439
  }) : L(i) && (c = [i]);
1440
- const m = ne({}, a), f = L(e.tag) || x(e.tag) ? e.tag : fo();
1441
- return Ze(f, m, c);
1440
+ const m = ne({}, a), f = L(e.tag) || x(e.tag) ? e.tag : _o();
1441
+ return et(f, m, c);
1442
1442
  };
1443
1443
  }
1444
- const dn = {
1444
+ const _n = {
1445
1445
  name: "i18n-n",
1446
1446
  props: ne({
1447
1447
  value: {
@@ -1451,12 +1451,12 @@ const dn = {
1451
1451
  format: {
1452
1452
  type: [String, Object]
1453
1453
  }
1454
- }, kt),
1454
+ }, Rt),
1455
1455
  setup(e, t) {
1456
- const n = e.i18n || xt({ useScope: "parent", __useComponent: !0 });
1457
- return _o(e, t, so, (...o) => n[wt](...o));
1456
+ const n = e.i18n || Ft({ useScope: "parent", __useComponent: !0 });
1457
+ return mo(e, t, ro, (...o) => n[wt](...o));
1458
1458
  }
1459
- }, fn = {
1459
+ }, mn = {
1460
1460
  name: "i18n-d",
1461
1461
  props: ne({
1462
1462
  value: {
@@ -1466,13 +1466,13 @@ const dn = {
1466
1466
  format: {
1467
1467
  type: [String, Object]
1468
1468
  }
1469
- }, kt),
1469
+ }, Rt),
1470
1470
  setup(e, t) {
1471
- const n = e.i18n || xt({ useScope: "parent", __useComponent: !0 });
1472
- return _o(e, t, oo, (...o) => n[Et](...o));
1471
+ const n = e.i18n || Ft({ useScope: "parent", __useComponent: !0 });
1472
+ return mo(e, t, so, (...o) => n[Et](...o));
1473
1473
  }
1474
1474
  };
1475
- function pr(e, t) {
1475
+ function gr(e, t) {
1476
1476
  const n = e;
1477
1477
  if (e.mode === "composition")
1478
1478
  return n.__getInstance(t) || e.global;
@@ -1481,34 +1481,34 @@ function pr(e, t) {
1481
1481
  return o != null ? o.__composer : e.global.__composer;
1482
1482
  }
1483
1483
  }
1484
- function gr(e) {
1484
+ function hr(e) {
1485
1485
  const t = (r) => {
1486
1486
  const { instance: l, modifiers: i, value: c } = r;
1487
1487
  if (!l || !l.$)
1488
1488
  throw ce(F.UNEXPECTED_ERROR);
1489
- const m = pr(e, l.$);
1490
- process.env.NODE_ENV !== "production" && i.preserve && Ve(lt(de.NOT_SUPPORTED_PRESERVE));
1491
- const f = _n(c);
1489
+ const m = gr(e, l.$);
1490
+ process.env.NODE_ENV !== "production" && i.preserve && Ve(it(fe.NOT_SUPPORTED_PRESERVE));
1491
+ const f = pn(c);
1492
1492
  return [
1493
- Reflect.apply(m.t, m, [...mn(f)]),
1493
+ Reflect.apply(m.t, m, [...gn(f)]),
1494
1494
  m
1495
1495
  ];
1496
1496
  };
1497
1497
  return {
1498
1498
  created: (r, l) => {
1499
1499
  const [i, c] = t(l);
1500
- ge && e.global === c && (r.__i18nWatcher = Ie(c.locale, () => {
1500
+ he && e.global === c && (r.__i18nWatcher = Ie(c.locale, () => {
1501
1501
  l.instance && l.instance.$forceUpdate();
1502
1502
  })), r.__composer = c, r.textContent = i;
1503
1503
  },
1504
1504
  unmounted: (r) => {
1505
- ge && r.__i18nWatcher && (r.__i18nWatcher(), r.__i18nWatcher = void 0, delete r.__i18nWatcher), r.__composer && (r.__composer = void 0, delete r.__composer);
1505
+ he && r.__i18nWatcher && (r.__i18nWatcher(), r.__i18nWatcher = void 0, delete r.__i18nWatcher), r.__composer && (r.__composer = void 0, delete r.__composer);
1506
1506
  },
1507
1507
  beforeUpdate: (r, { value: l }) => {
1508
1508
  if (r.__composer) {
1509
- const i = r.__composer, c = _n(l);
1509
+ const i = r.__composer, c = pn(l);
1510
1510
  r.textContent = Reflect.apply(i.t, i, [
1511
- ...mn(c)
1511
+ ...gn(c)
1512
1512
  ]);
1513
1513
  }
1514
1514
  },
@@ -1518,7 +1518,7 @@ function gr(e) {
1518
1518
  }
1519
1519
  };
1520
1520
  }
1521
- function _n(e) {
1521
+ function pn(e) {
1522
1522
  if (L(e))
1523
1523
  return { path: e };
1524
1524
  if (M(e)) {
@@ -1528,61 +1528,61 @@ function _n(e) {
1528
1528
  } else
1529
1529
  throw ce(F.INVALID_VALUE);
1530
1530
  }
1531
- function mn(e) {
1531
+ function gn(e) {
1532
1532
  const { path: t, locale: n, args: o, choice: s, plural: a } = e, r = {}, l = o || {};
1533
1533
  return L(n) && (r.locale = n), K(s) && (r.plural = s), K(a) && (r.plural = a), [t, l, r];
1534
1534
  }
1535
- function hr(e, t, ...n) {
1535
+ function vr(e, t, ...n) {
1536
1536
  const o = M(n[0]) ? n[0] : {}, s = !!o.useI18nComponentName, a = G(o.globalInstall) ? o.globalInstall : !0;
1537
- process.env.NODE_ENV !== "production" && a && s && Ve(lt(de.COMPONENT_NAME_LEGACY_COMPATIBLE, {
1537
+ process.env.NODE_ENV !== "production" && a && s && Ve(it(fe.COMPONENT_NAME_LEGACY_COMPATIBLE, {
1538
1538
  name: mt.name
1539
- })), a && (e.component(s ? "i18n" : mt.name, mt), e.component(dn.name, dn), e.component(fn.name, fn)), e.directive("t", gr(t));
1539
+ })), a && (e.component(s ? "i18n" : mt.name, mt), e.component(_n.name, _n), e.component(mn.name, mn)), e.directive("t", hr(t));
1540
1540
  }
1541
- const mo = "vue-i18n: composer properties";
1541
+ const po = "vue-i18n: composer properties";
1542
1542
  let Ot;
1543
- async function vr(e, t) {
1543
+ async function yr(e, t) {
1544
1544
  return new Promise((n, o) => {
1545
1545
  try {
1546
- nr({
1546
+ or({
1547
1547
  id: "vue-devtools-plugin-vue-i18n",
1548
1548
  label: _t["vue-devtools-plugin-vue-i18n"],
1549
1549
  packageName: "vue-i18n",
1550
1550
  homepage: "https://vue-i18n.intlify.dev",
1551
1551
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
1552
- componentStateTypes: [mo],
1552
+ componentStateTypes: [po],
1553
1553
  app: e
1554
1554
  }, (s) => {
1555
1555
  Ot = s, s.on.visitComponentTree(({ componentInstance: r, treeNode: l }) => {
1556
- yr(r, l, t);
1556
+ Er(r, l, t);
1557
1557
  }), s.on.inspectComponent(({ componentInstance: r, instanceData: l }) => {
1558
- r.vnode.el && r.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? r.vnode.el.__VUE_I18N__ !== t.global.__composer && pn(l, r.vnode.el.__VUE_I18N__) : pn(l, r.vnode.el.__VUE_I18N__));
1558
+ r.vnode.el && r.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? r.vnode.el.__VUE_I18N__ !== t.global.__composer && hn(l, r.vnode.el.__VUE_I18N__) : hn(l, r.vnode.el.__VUE_I18N__));
1559
1559
  }), s.addInspector({
1560
1560
  id: "vue-i18n-resource-inspector",
1561
1561
  label: _t["vue-i18n-resource-inspector"],
1562
1562
  icon: "language",
1563
- treeFilterPlaceholder: or["vue-i18n-resource-inspector"]
1563
+ treeFilterPlaceholder: sr["vue-i18n-resource-inspector"]
1564
1564
  }), s.on.getInspectorTree((r) => {
1565
- r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Or(r, t);
1565
+ r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Ir(r, t);
1566
1566
  });
1567
1567
  const a = /* @__PURE__ */ new Map();
1568
1568
  s.on.getInspectorState(async (r) => {
1569
1569
  if (r.app === e && r.inspectorId === "vue-i18n-resource-inspector")
1570
- if (s.unhighlightElement(), Tr(r, t), r.nodeId === "global") {
1570
+ if (s.unhighlightElement(), Nr(r, t), r.nodeId === "global") {
1571
1571
  if (!a.has(r.app)) {
1572
1572
  const [l] = await s.getComponentInstances(r.app);
1573
1573
  a.set(r.app, l);
1574
1574
  }
1575
1575
  s.highlightElement(a.get(r.app));
1576
1576
  } else {
1577
- const l = Ir(r.nodeId, t);
1577
+ const l = Tr(r.nodeId, t);
1578
1578
  l && s.highlightElement(l);
1579
1579
  }
1580
1580
  }), s.on.editInspectorState((r) => {
1581
- r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Sr(r, t);
1581
+ r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Cr(r, t);
1582
1582
  }), s.addTimelineLayer({
1583
1583
  id: "vue-i18n-timeline",
1584
1584
  label: _t["vue-i18n-timeline"],
1585
- color: sr["vue-i18n-timeline"]
1585
+ color: rr["vue-i18n-timeline"]
1586
1586
  }), n(!0);
1587
1587
  });
1588
1588
  } catch (s) {
@@ -1590,22 +1590,22 @@ async function vr(e, t) {
1590
1590
  }
1591
1591
  });
1592
1592
  }
1593
- function po(e) {
1593
+ function go(e) {
1594
1594
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
1595
1595
  }
1596
- function yr(e, t, n) {
1596
+ function Er(e, t, n) {
1597
1597
  const o = n.mode === "composition" ? n.global : n.global.__composer;
1598
1598
  if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== o) {
1599
1599
  const s = {
1600
- label: `i18n (${po(e)} Scope)`,
1600
+ label: `i18n (${go(e)} Scope)`,
1601
1601
  textColor: 0,
1602
1602
  backgroundColor: 16764185
1603
1603
  };
1604
1604
  t.tags.push(s);
1605
1605
  }
1606
1606
  }
1607
- function pn(e, t) {
1608
- const n = mo;
1607
+ function hn(e, t) {
1608
+ const n = po;
1609
1609
  e.state.push({
1610
1610
  type: n,
1611
1611
  key: "locale",
@@ -1630,7 +1630,7 @@ function pn(e, t) {
1630
1630
  type: n,
1631
1631
  key: "messages",
1632
1632
  editable: !1,
1633
- value: Rt(t.messages.value)
1633
+ value: xt(t.messages.value)
1634
1634
  }), e.state.push({
1635
1635
  type: n,
1636
1636
  key: "datetimeFormats",
@@ -1643,27 +1643,27 @@ function pn(e, t) {
1643
1643
  value: t.numberFormats.value
1644
1644
  });
1645
1645
  }
1646
- function Rt(e) {
1646
+ function xt(e) {
1647
1647
  const t = {};
1648
1648
  return Object.keys(e).forEach((n) => {
1649
1649
  const o = e[n];
1650
- W(o) && "source" in o ? t[n] = Lr(o) : x(o) ? t[n] = Rt(o) : t[n] = o;
1650
+ W(o) && "source" in o ? t[n] = Or(o) : x(o) ? t[n] = xt(o) : t[n] = o;
1651
1651
  }), t;
1652
1652
  }
1653
- const Er = {
1653
+ const wr = {
1654
1654
  "<": "&lt;",
1655
1655
  ">": "&gt;",
1656
1656
  '"': "&quot;",
1657
1657
  "&": "&amp;"
1658
1658
  };
1659
- function wr(e) {
1660
- return e.replace(/[<>"&]/g, br);
1661
- }
1662
1659
  function br(e) {
1663
- return Er[e] || e;
1660
+ return e.replace(/[<>"&]/g, Lr);
1664
1661
  }
1665
1662
  function Lr(e) {
1666
- const t = e.source ? `("${wr(e.source)}")` : "(?)";
1663
+ return wr[e] || e;
1664
+ }
1665
+ function Or(e) {
1666
+ const t = e.source ? `("${br(e.source)}")` : "(?)";
1667
1667
  return {
1668
1668
  _custom: {
1669
1669
  type: "function",
@@ -1671,7 +1671,7 @@ function Lr(e) {
1671
1671
  }
1672
1672
  };
1673
1673
  }
1674
- function Or(e, t) {
1674
+ function Ir(e, t) {
1675
1675
  e.rootNodes.push({
1676
1676
  id: "global",
1677
1677
  label: "Global Scope"
@@ -1681,11 +1681,11 @@ function Or(e, t) {
1681
1681
  const a = t.mode === "composition" ? s : s.__composer;
1682
1682
  n !== a && e.rootNodes.push({
1683
1683
  id: a.id.toString(),
1684
- label: `${po(o)} Scope`
1684
+ label: `${go(o)} Scope`
1685
1685
  });
1686
1686
  }
1687
1687
  }
1688
- function Ir(e, t) {
1688
+ function Tr(e, t) {
1689
1689
  let n = null;
1690
1690
  if (e !== "global") {
1691
1691
  for (const [o, s] of t.__instances.entries())
@@ -1696,7 +1696,7 @@ function Ir(e, t) {
1696
1696
  }
1697
1697
  return n;
1698
1698
  }
1699
- function go(e, t) {
1699
+ function ho(e, t) {
1700
1700
  if (e === "global")
1701
1701
  return t.mode === "composition" ? t.global : t.global.__composer;
1702
1702
  {
@@ -1704,11 +1704,11 @@ function go(e, t) {
1704
1704
  return n ? t.mode === "composition" ? n : n.__composer : null;
1705
1705
  }
1706
1706
  }
1707
- function Tr(e, t) {
1708
- const n = go(e.nodeId, t);
1709
- return n && (e.state = Nr(n)), null;
1707
+ function Nr(e, t) {
1708
+ const n = ho(e.nodeId, t);
1709
+ return n && (e.state = Sr(n)), null;
1710
1710
  }
1711
- function Nr(e) {
1711
+ function Sr(e) {
1712
1712
  const t = {}, n = "Locale related info", o = [
1713
1713
  {
1714
1714
  type: n,
@@ -1741,7 +1741,7 @@ function Nr(e) {
1741
1741
  type: s,
1742
1742
  key: "messages",
1743
1743
  editable: !1,
1744
- value: Rt(e.messages.value)
1744
+ value: xt(e.messages.value)
1745
1745
  }
1746
1746
  ];
1747
1747
  t[s] = a;
@@ -1783,16 +1783,16 @@ function It(e, t) {
1783
1783
  });
1784
1784
  }
1785
1785
  }
1786
- function Sr(e, t) {
1787
- const n = go(e.nodeId, t);
1786
+ function Cr(e, t) {
1787
+ const n = ho(e.nodeId, t);
1788
1788
  if (n) {
1789
1789
  const [o] = e.path;
1790
- o === "locale" && L(e.state.value) ? n.locale.value = e.state.value : o === "fallbackLocale" && (L(e.state.value) || z(e.state.value) || x(e.state.value)) ? n.fallbackLocale.value = e.state.value : o === "inheritLocale" && G(e.state.value) && (n.inheritLocale = e.state.value);
1790
+ o === "locale" && L(e.state.value) ? n.locale.value = e.state.value : o === "fallbackLocale" && (L(e.state.value) || H(e.state.value) || x(e.state.value)) ? n.fallbackLocale.value = e.state.value : o === "inheritLocale" && G(e.state.value) && (n.inheritLocale = e.state.value);
1791
1791
  }
1792
1792
  }
1793
- const Cr = /* @__PURE__ */ he("global-vue-i18n");
1794
- function Ar(e = {}, t) {
1795
- const n = G(e.globalInjection) ? e.globalInjection : !0, o = !0, s = /* @__PURE__ */ new Map(), [a, r] = Dr(e), l = he(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
1793
+ const Ar = /* @__PURE__ */ ve("global-vue-i18n");
1794
+ function Dr(e = {}, t) {
1795
+ const n = G(e.globalInjection) ? e.globalInjection : !0, o = !0, s = /* @__PURE__ */ new Map(), [a, r] = Pr(e), l = ve(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
1796
1796
  function i(f) {
1797
1797
  return s.get(f) || null;
1798
1798
  }
@@ -1811,17 +1811,17 @@ function Ar(e = {}, t) {
1811
1811
  return o;
1812
1812
  },
1813
1813
  async install(u, ...d) {
1814
- process.env.NODE_ENV !== "production" && (u.__VUE_I18N__ = f), u.__VUE_I18N_SYMBOL__ = l, u.provide(u.__VUE_I18N_SYMBOL__, f), n && Vr(u, f.global), hr(u, f, ...d);
1815
- const p = u.unmount;
1814
+ process.env.NODE_ENV !== "production" && (u.__VUE_I18N__ = f), u.__VUE_I18N_SYMBOL__ = l, u.provide(u.__VUE_I18N_SYMBOL__, f), n && Ur(u, f.global), vr(u, f, ...d);
1815
+ const g = u.unmount;
1816
1816
  if (u.unmount = () => {
1817
- f.dispose(), p();
1817
+ f.dispose(), g();
1818
1818
  }, process.env.NODE_ENV !== "production" || !1) {
1819
- if (!await vr(u, f))
1819
+ if (!await yr(u, f))
1820
1820
  throw ce(F.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
1821
- const y = jn();
1821
+ const y = Wn();
1822
1822
  {
1823
- const g = r;
1824
- g[Ke] && g[Ke](y);
1823
+ const p = r;
1824
+ p[Ke] && p[Ke](y);
1825
1825
  }
1826
1826
  y.on("*", It);
1827
1827
  }
@@ -1840,51 +1840,51 @@ function Ar(e = {}, t) {
1840
1840
  return f;
1841
1841
  }
1842
1842
  }
1843
- function xt(e = {}) {
1843
+ function Ft(e = {}) {
1844
1844
  const t = Nt();
1845
1845
  if (t == null)
1846
1846
  throw ce(F.MUST_BE_CALL_SETUP_TOP);
1847
1847
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
1848
1848
  throw ce(F.NOT_INSLALLED);
1849
- const n = Pr(t), o = Mr(n), s = co(t), a = $r(e, s);
1849
+ const n = $r(t), o = kr(n), s = uo(t), a = Mr(e, s);
1850
1850
  if (a === "global")
1851
- return dr(o, e, s), o;
1851
+ return fr(o, e, s), o;
1852
1852
  if (a === "parent") {
1853
- let i = kr(n, t, e.__useComponent);
1854
- return i == null && (process.env.NODE_ENV !== "production" && Ve(lt(de.NOT_FOUND_PARENT_SCOPE)), i = o), i;
1853
+ let i = Rr(n, t, e.__useComponent);
1854
+ return i == null && (process.env.NODE_ENV !== "production" && Ve(it(fe.NOT_FOUND_PARENT_SCOPE)), i = o), i;
1855
1855
  }
1856
1856
  const r = n;
1857
1857
  let l = r.__getInstance(t);
1858
1858
  if (l == null) {
1859
1859
  const i = ne({}, e);
1860
- "__i18n" in s && (i.__i18n = s.__i18n), o && (i.__root = o), l = uo(i), Rr(r, t, l), r.__setInstance(t, l);
1860
+ "__i18n" in s && (i.__i18n = s.__i18n), o && (i.__root = o), l = fo(i), xr(r, t, l), r.__setInstance(t, l);
1861
1861
  }
1862
1862
  return l;
1863
1863
  }
1864
- function Dr(e, t, n) {
1865
- const o = Zo();
1864
+ function Pr(e, t, n) {
1865
+ const o = es();
1866
1866
  {
1867
- const s = o.run(() => uo(e));
1867
+ const s = o.run(() => fo(e));
1868
1868
  if (s == null)
1869
1869
  throw ce(F.UNEXPECTED_ERROR);
1870
1870
  return [o, s];
1871
1871
  }
1872
1872
  }
1873
- function Pr(e) {
1873
+ function $r(e) {
1874
1874
  {
1875
- const t = St(e.isCE ? Cr : e.appContext.app.__VUE_I18N_SYMBOL__);
1875
+ const t = St(e.isCE ? Ar : e.appContext.app.__VUE_I18N_SYMBOL__);
1876
1876
  if (!t)
1877
1877
  throw ce(e.isCE ? F.NOT_INSLALLED_WITH_PROVIDE : F.UNEXPECTED_ERROR);
1878
1878
  return t;
1879
1879
  }
1880
1880
  }
1881
- function $r(e, t) {
1882
- return st(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
1881
+ function Mr(e, t) {
1882
+ return rt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
1883
1883
  }
1884
- function Mr(e) {
1884
+ function kr(e) {
1885
1885
  return e.mode === "composition" ? e.global : e.global.__composer;
1886
1886
  }
1887
- function kr(e, t, n = !1) {
1887
+ function Rr(e, t, n = !1) {
1888
1888
  let o = null;
1889
1889
  const s = t.root;
1890
1890
  let a = t.parent;
@@ -1896,15 +1896,15 @@ function kr(e, t, n = !1) {
1896
1896
  }
1897
1897
  return o;
1898
1898
  }
1899
- function Rr(e, t, n) {
1899
+ function xr(e, t, n) {
1900
1900
  let o = null;
1901
1901
  xe(() => {
1902
1902
  if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el) {
1903
- t.vnode.el.__VUE_I18N__ = n, o = jn();
1903
+ t.vnode.el.__VUE_I18N__ = n, o = Wn();
1904
1904
  const s = n;
1905
1905
  s[Ke] && s[Ke](o), o.on("*", It);
1906
1906
  }
1907
- }, t), ot(() => {
1907
+ }, t), st(() => {
1908
1908
  if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el && t.vnode.el.__VUE_I18N__) {
1909
1909
  o && o.off("*", It);
1910
1910
  const s = n;
@@ -1913,18 +1913,18 @@ function Rr(e, t, n) {
1913
1913
  e.__deleteInstance(t);
1914
1914
  }, t);
1915
1915
  }
1916
- const xr = [
1916
+ const Fr = [
1917
1917
  "locale",
1918
1918
  "fallbackLocale",
1919
1919
  "availableLocales"
1920
- ], Fr = ["t", "rt", "d", "n", "tm"];
1921
- function Vr(e, t) {
1920
+ ], Vr = ["t", "rt", "d", "n", "tm"];
1921
+ function Ur(e, t) {
1922
1922
  const n = /* @__PURE__ */ Object.create(null);
1923
- xr.forEach((o) => {
1923
+ Fr.forEach((o) => {
1924
1924
  const s = Object.getOwnPropertyDescriptor(t, o);
1925
1925
  if (!s)
1926
1926
  throw ce(F.UNEXPECTED_ERROR);
1927
- const a = es(s.value) ? {
1927
+ const a = ts(s.value) ? {
1928
1928
  get() {
1929
1929
  return s.value.value;
1930
1930
  },
@@ -1937,25 +1937,25 @@ function Vr(e, t) {
1937
1937
  }
1938
1938
  };
1939
1939
  Object.defineProperty(n, o, a);
1940
- }), e.config.globalProperties.$i18n = n, Fr.forEach((o) => {
1940
+ }), e.config.globalProperties.$i18n = n, Vr.forEach((o) => {
1941
1941
  const s = Object.getOwnPropertyDescriptor(t, o);
1942
1942
  if (!s || !s.value)
1943
1943
  throw ce(F.UNEXPECTED_ERROR);
1944
1944
  Object.defineProperty(e.config.globalProperties, `$${o}`, s);
1945
1945
  });
1946
1946
  }
1947
- Vs(ys);
1948
- Us(Kn);
1949
- ar();
1947
+ Us(Es);
1948
+ Gs(Yn);
1949
+ lr();
1950
1950
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1951
- const e = At();
1952
- e.__INTLIFY__ = !0, Ss(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
1951
+ const e = Dt();
1952
+ e.__INTLIFY__ = !0, Cs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
1953
1953
  }
1954
1954
  process.env.NODE_ENV;
1955
- const Ur = {
1955
+ const Gr = {
1956
1956
  "zhi-xian-shi-zai-xian-she-bei": (e) => {
1957
1957
  const { normalize: t } = e;
1958
- return t(["\u53EA\u663E\u793A\u5728\u7EBF\u8BBE\u5907"]);
1958
+ return t(["\u53EA\u663E\u793A\u5728\u7EBF\u7EC8\u7AEF"]);
1959
1959
  },
1960
1960
  "qing-xuan-ze-bu-ju-yang-shi": (e) => {
1961
1961
  const { normalize: t } = e;
@@ -1985,7 +1985,7 @@ const Ur = {
1985
1985
  const { normalize: t } = e;
1986
1986
  return t(["\u5217\u6570"]);
1987
1987
  }
1988
- }, Gr = {
1988
+ }, zr = {
1989
1989
  "zhi-xian-shi-zai-xian-she-bei": (e) => {
1990
1990
  const { normalize: t } = e;
1991
1991
  return t(["Online Only"]);
@@ -2019,53 +2019,53 @@ const Ur = {
2019
2019
  return t(["Number of columns"]);
2020
2020
  }
2021
2021
  };
2022
- var ho = /* @__PURE__ */ ((e) => (e.zh = "zh", e.en = "en", e))(ho || {});
2022
+ var vo = /* @__PURE__ */ ((e) => (e.zh = "zh", e.en = "en", e))(vo || {});
2023
2023
  let We;
2024
- function zr(e) {
2025
- We && We.dispose(), We = Ar({
2024
+ function Hr(e) {
2025
+ We && We.dispose(), We = Dr({
2026
2026
  locale: e,
2027
2027
  messages: {
2028
- zh: Ur,
2029
- en: Gr
2028
+ zh: Gr,
2029
+ en: zr
2030
2030
  },
2031
2031
  fallbackLocale: "en",
2032
2032
  silentTranslationWarn: !0,
2033
2033
  silentFallbackWarn: !0
2034
2034
  });
2035
2035
  }
2036
- function Hr(e) {
2037
- zr(e), We.global.locale = e;
2036
+ function jr(e) {
2037
+ Hr(e), We.global.locale = e;
2038
2038
  }
2039
2039
  function Ne(e) {
2040
2040
  return We.global.t(e);
2041
2041
  }
2042
- var vo = /* @__PURE__ */ ((e) => (e.UserFirst = "UserFirst", e.PUFirst = "PUFirst", e))(vo || {}), yo = /* @__PURE__ */ ((e) => (e.BACKGROUND_WHITE = "white", e.BACKGROUND_DRAK = "drak", e))(yo || {});
2043
- const Eo = k(
2042
+ var yo = /* @__PURE__ */ ((e) => (e.UserFirst = "UserFirst", e.PUFirst = "PUFirst", e))(yo || {}), Eo = /* @__PURE__ */ ((e) => (e.BACKGROUND_WHITE = "white", e.BACKGROUND_DRAK = "drak", e))(Eo || {});
2043
+ const wo = k(
2044
2044
  "white"
2045
2045
  );
2046
2046
  function Ki(e) {
2047
- Eo.value = e;
2048
- }
2049
- function jr() {
2050
- return Eo;
2051
- }
2052
- const wo = k(
2053
- "UserFirst"
2054
- );
2055
- function Wr(e) {
2056
2047
  wo.value = e;
2057
2048
  }
2058
- function Br() {
2049
+ function Wr() {
2059
2050
  return wo;
2060
2051
  }
2061
- const bo = k(!1);
2062
- function Yi(e) {
2052
+ const bo = k(
2053
+ "UserFirst"
2054
+ );
2055
+ function Br(e) {
2063
2056
  bo.value = e;
2064
2057
  }
2065
2058
  function Kr() {
2066
2059
  return bo;
2067
2060
  }
2068
- var gn;
2061
+ const Lo = k(!1);
2062
+ function Yi(e) {
2063
+ Lo.value = e;
2064
+ }
2065
+ function Yr() {
2066
+ return Lo;
2067
+ }
2068
+ var vn;
2069
2069
  ((e) => {
2070
2070
  ((n) => {
2071
2071
  function o(r, l) {
@@ -2102,13 +2102,15 @@ var gn;
2102
2102
  pid: "",
2103
2103
  onlineCount: 0,
2104
2104
  totalCount: 0,
2105
- devices: [{
2106
- id: "testId",
2107
- pid: "",
2108
- name: "999999",
2109
- online: !1,
2110
- channels: []
2111
- }],
2105
+ devices: [
2106
+ {
2107
+ id: "testId",
2108
+ pid: "",
2109
+ name: "999999",
2110
+ online: !1,
2111
+ channels: []
2112
+ }
2113
+ ],
2112
2114
  items: []
2113
2115
  }), console.log(l), {
2114
2116
  name: "hah",
@@ -2145,7 +2147,7 @@ var gn;
2145
2147
  }
2146
2148
  n.AccessSession = o;
2147
2149
  })(e.Utils || (e.Utils = {}));
2148
- })(gn || (gn = {}));
2150
+ })(vn || (vn = {}));
2149
2151
  var I;
2150
2152
  ((e) => {
2151
2153
  e.zeroLayout = {
@@ -2225,18 +2227,18 @@ var I;
2225
2227
  n.getTestLayout = s;
2226
2228
  })(e.Test || (e.Test = {}));
2227
2229
  })(I || (I = {}));
2228
- const Lo = String.prototype.includes, Oo = function(e, t) {
2230
+ const Oo = String.prototype.includes, Io = function(e, t) {
2229
2231
  const n = this.toLocaleLowerCase(), o = e.toLocaleLowerCase();
2230
- String.prototype.includes = Lo;
2232
+ String.prototype.includes = Oo;
2231
2233
  const s = n.includes(o, t);
2232
- return String.prototype.includes = Oo, s;
2234
+ return String.prototype.includes = Io, s;
2233
2235
  };
2234
- function nt(e) {
2235
- String.prototype.includes = Oo;
2236
+ function ot(e) {
2237
+ String.prototype.includes = Io;
2236
2238
  const t = e();
2237
- return String.prototype.includes = Lo, t;
2239
+ return String.prototype.includes = Oo, t;
2238
2240
  }
2239
- const Yr = Q({
2241
+ const Xr = q({
2240
2242
  props: {
2241
2243
  countInfo: Object,
2242
2244
  controlParams: Object
@@ -2251,12 +2253,12 @@ const Yr = Q({
2251
2253
  }
2252
2254
  return 0;
2253
2255
  }
2254
- const n = U(() => t((a) => {
2256
+ const n = V(() => t((a) => {
2255
2257
  var r, l;
2256
2258
  if (a.devices) {
2257
2259
  let i = (r = a.devices) == null ? void 0 : r.filter((m) => m.online);
2258
2260
  const c = (l = e.controlParams) == null ? void 0 : l.searchStr;
2259
- return c && (i = i.filter((m) => nt(
2261
+ return c && (i = i.filter((m) => ot(
2260
2262
  () => {
2261
2263
  var f;
2262
2264
  return m.name.includes(c) || ((f = m.user) == null ? void 0 : f.includes(c)) || m.id.includes(c);
@@ -2264,12 +2266,12 @@ const Yr = Q({
2264
2266
  ))), i.length;
2265
2267
  }
2266
2268
  return 0;
2267
- }, e.countInfo)), o = U(() => t((a) => {
2269
+ }, e.countInfo)), o = V(() => t((a) => {
2268
2270
  var r;
2269
2271
  if (a.devices) {
2270
2272
  let l = a.devices;
2271
2273
  const i = (r = e.controlParams) == null ? void 0 : r.searchStr;
2272
- return i && (l = l.filter((c) => nt(
2274
+ return i && (l = l.filter((c) => ot(
2273
2275
  () => {
2274
2276
  var m;
2275
2277
  return c.name.includes(i) || ((m = c.user) == null ? void 0 : m.includes(i)) || c.id.includes(i);
@@ -2290,65 +2292,65 @@ const oe = (e, t) => {
2290
2292
  for (const [o, s] of t)
2291
2293
  n[o] = s;
2292
2294
  return n;
2293
- }, Xr = { class: "count-show" }, Jr = { class: "count-show-online" }, Qr = { key: 0 };
2294
- function qr(e, t, n, o, s, a) {
2295
+ }, Jr = { class: "count-show" }, Qr = { class: "count-show-online" }, qr = { key: 0 };
2296
+ function Zr(e, t, n, o, s, a) {
2295
2297
  var r;
2296
- return N(), A("div", {
2298
+ return N(), C("div", {
2297
2299
  class: ke(`root ${e.theme}`)
2298
2300
  }, [
2299
2301
  Y(e.$slots, "default", {
2300
2302
  total: e.totalCount,
2301
2303
  online: e.onlineCount
2302
2304
  }, void 0, !0),
2303
- b("span", Xr, [
2304
- b("span", Jr, j(e.onlineCount), 1),
2305
- (r = e.controlParams) != null && r.onlyShowOnline ? pe("", !0) : (N(), A("span", Qr, "/" + j(e.totalCount), 1))
2305
+ b("span", Jr, [
2306
+ b("span", Qr, z(e.onlineCount), 1),
2307
+ (r = e.controlParams) != null && r.onlyShowOnline ? ge("", !0) : (N(), C("span", qr, "/" + z(e.totalCount), 1))
2306
2308
  ])
2307
2309
  ], 2);
2308
2310
  }
2309
- const Io = /* @__PURE__ */ oe(Yr, [["render", qr], ["__scopeId", "data-v-378b853b"]]), To = Object.freeze(
2311
+ const To = /* @__PURE__ */ oe(Xr, [["render", Zr], ["__scopeId", "data-v-378b853b"]]), No = Object.freeze(
2310
2312
  {
2311
2313
  left: 0,
2312
2314
  top: 0,
2313
2315
  width: 16,
2314
2316
  height: 16
2315
2317
  }
2316
- ), No = Object.freeze({
2318
+ ), So = Object.freeze({
2317
2319
  rotate: 0,
2318
2320
  vFlip: !1,
2319
2321
  hFlip: !1
2320
- }), Ft = Object.freeze({
2321
- ...To,
2322
- ...No
2322
+ }), Vt = Object.freeze({
2323
+ ...No,
2324
+ ...So
2323
2325
  });
2324
2326
  Object.freeze({
2325
- ...Ft,
2327
+ ...Vt,
2326
2328
  body: "",
2327
2329
  hidden: !1
2328
2330
  });
2329
2331
  ({
2330
- ...To
2332
+ ...No
2331
2333
  });
2332
- const So = Object.freeze({
2334
+ const Co = Object.freeze({
2333
2335
  width: null,
2334
2336
  height: null
2335
- }), Co = Object.freeze({
2336
- ...So,
2337
- ...No
2337
+ }), Ao = Object.freeze({
2338
+ ...Co,
2339
+ ...So
2338
2340
  });
2339
- function Zr(e, t) {
2341
+ function ea(e, t) {
2340
2342
  const n = {
2341
2343
  ...e
2342
2344
  };
2343
2345
  for (const o in t) {
2344
2346
  const s = t[o], a = typeof s;
2345
- o in So ? (s === null || s && (a === "string" || a === "number")) && (n[o] = s) : a === typeof n[o] && (n[o] = o === "rotate" ? s % 4 : s);
2347
+ o in Co ? (s === null || s && (a === "string" || a === "number")) && (n[o] = s) : a === typeof n[o] && (n[o] = o === "rotate" ? s % 4 : s);
2346
2348
  }
2347
2349
  return n;
2348
2350
  }
2349
- const ea = /[\s,]+/;
2350
- function ta(e, t) {
2351
- t.split(ea).forEach((n) => {
2351
+ const ta = /[\s,]+/;
2352
+ function na(e, t) {
2353
+ t.split(ta).forEach((n) => {
2352
2354
  switch (n.trim()) {
2353
2355
  case "horizontal":
2354
2356
  e.hFlip = !0;
@@ -2359,7 +2361,7 @@ function ta(e, t) {
2359
2361
  }
2360
2362
  });
2361
2363
  }
2362
- function na(e, t = 0) {
2364
+ function oa(e, t = 0) {
2363
2365
  const n = e.replace(/^-?[0-9.]*/, "");
2364
2366
  function o(s) {
2365
2367
  for (; s < 0; )
@@ -2385,19 +2387,19 @@ function na(e, t = 0) {
2385
2387
  }
2386
2388
  return t;
2387
2389
  }
2388
- const oa = /(-?[0-9.]*[0-9]+[0-9.]*)/g, sa = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2389
- function hn(e, t, n) {
2390
+ const sa = /(-?[0-9.]*[0-9]+[0-9.]*)/g, ra = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2391
+ function yn(e, t, n) {
2390
2392
  if (t === 1)
2391
2393
  return e;
2392
2394
  if (n = n || 100, typeof e == "number")
2393
2395
  return Math.ceil(e * t * n) / n;
2394
2396
  if (typeof e != "string")
2395
2397
  return e;
2396
- const o = e.split(oa);
2398
+ const o = e.split(sa);
2397
2399
  if (o === null || !o.length)
2398
2400
  return e;
2399
2401
  const s = [];
2400
- let a = o.shift(), r = sa.test(a);
2402
+ let a = o.shift(), r = ra.test(a);
2401
2403
  for (; ; ) {
2402
2404
  if (r) {
2403
2405
  const l = parseFloat(a);
@@ -2409,12 +2411,12 @@ function hn(e, t, n) {
2409
2411
  r = !r;
2410
2412
  }
2411
2413
  }
2412
- function ra(e, t) {
2414
+ function aa(e, t) {
2413
2415
  const n = {
2414
- ...Ft,
2416
+ ...Vt,
2415
2417
  ...e
2416
2418
  }, o = {
2417
- ...Co,
2419
+ ...Ao,
2418
2420
  ...t
2419
2421
  }, s = {
2420
2422
  left: n.left,
@@ -2424,36 +2426,36 @@ function ra(e, t) {
2424
2426
  };
2425
2427
  let a = n.body;
2426
2428
  [n, o].forEach((d) => {
2427
- const p = [], v = d.hFlip, y = d.vFlip;
2428
- let g = d.rotate;
2429
- v ? y ? g += 2 : (p.push(
2429
+ const g = [], v = d.hFlip, y = d.vFlip;
2430
+ let p = d.rotate;
2431
+ v ? y ? p += 2 : (g.push(
2430
2432
  "translate(" + (s.width + s.left).toString() + " " + (0 - s.top).toString() + ")"
2431
- ), p.push("scale(-1 1)"), s.top = s.left = 0) : y && (p.push(
2433
+ ), g.push("scale(-1 1)"), s.top = s.left = 0) : y && (g.push(
2432
2434
  "translate(" + (0 - s.left).toString() + " " + (s.height + s.top).toString() + ")"
2433
- ), p.push("scale(1 -1)"), s.top = s.left = 0);
2435
+ ), g.push("scale(1 -1)"), s.top = s.left = 0);
2434
2436
  let w;
2435
- switch (g < 0 && (g -= Math.floor(g / 4) * 4), g = g % 4, g) {
2437
+ switch (p < 0 && (p -= Math.floor(p / 4) * 4), p = p % 4, p) {
2436
2438
  case 1:
2437
- w = s.height / 2 + s.top, p.unshift(
2439
+ w = s.height / 2 + s.top, g.unshift(
2438
2440
  "rotate(90 " + w.toString() + " " + w.toString() + ")"
2439
2441
  );
2440
2442
  break;
2441
2443
  case 2:
2442
- p.unshift(
2444
+ g.unshift(
2443
2445
  "rotate(180 " + (s.width / 2 + s.left).toString() + " " + (s.height / 2 + s.top).toString() + ")"
2444
2446
  );
2445
2447
  break;
2446
2448
  case 3:
2447
- w = s.width / 2 + s.left, p.unshift(
2449
+ w = s.width / 2 + s.left, g.unshift(
2448
2450
  "rotate(-90 " + w.toString() + " " + w.toString() + ")"
2449
2451
  );
2450
2452
  break;
2451
2453
  }
2452
- g % 2 === 1 && (s.left !== s.top && (w = s.left, s.left = s.top, s.top = w), s.width !== s.height && (w = s.width, s.width = s.height, s.height = w)), p.length && (a = '<g transform="' + p.join(" ") + '">' + a + "</g>");
2454
+ p % 2 === 1 && (s.left !== s.top && (w = s.left, s.left = s.top, s.top = w), s.width !== s.height && (w = s.width, s.width = s.height, s.height = w)), g.length && (a = '<g transform="' + g.join(" ") + '">' + a + "</g>");
2453
2455
  });
2454
2456
  const r = o.width, l = o.height, i = s.width, c = s.height;
2455
2457
  let m, f;
2456
- return r === null ? (f = l === null ? "1em" : l === "auto" ? c : l, m = hn(f, i / c)) : (m = r === "auto" ? i : r, f = l === null ? hn(m, c / i) : l === "auto" ? c : l), {
2458
+ return r === null ? (f = l === null ? "1em" : l === "auto" ? c : l, m = yn(f, i / c)) : (m = r === "auto" ? i : r, f = l === null ? yn(m, c / i) : l === "auto" ? c : l), {
2457
2459
  attributes: {
2458
2460
  width: m.toString(),
2459
2461
  height: f.toString(),
@@ -2462,71 +2464,71 @@ function ra(e, t) {
2462
2464
  body: a
2463
2465
  };
2464
2466
  }
2465
- const aa = /\sid="(\S+)"/g, la = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
2466
- let ia = 0;
2467
- function ca(e, t = la) {
2467
+ const la = /\sid="(\S+)"/g, ia = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
2468
+ let ca = 0;
2469
+ function ua(e, t = ia) {
2468
2470
  const n = [];
2469
2471
  let o;
2470
- for (; o = aa.exec(e); )
2472
+ for (; o = la.exec(e); )
2471
2473
  n.push(o[1]);
2472
2474
  return n.length && n.forEach((s) => {
2473
- const a = typeof t == "function" ? t(s) : t + (ia++).toString(), r = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2475
+ const a = typeof t == "function" ? t(s) : t + (ca++).toString(), r = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2474
2476
  e = e.replace(
2475
2477
  new RegExp('([#;"])(' + r + ')([")]|\\.[a-z])', "g"),
2476
2478
  "$1" + a + "$3"
2477
2479
  );
2478
2480
  }), e;
2479
2481
  }
2480
- function ua(e, t) {
2482
+ function da(e, t) {
2481
2483
  let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
2482
2484
  for (const o in t)
2483
2485
  n += " " + o + '="' + t[o] + '"';
2484
2486
  return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
2485
2487
  }
2486
- function da(e) {
2488
+ function fa(e) {
2487
2489
  return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
2488
2490
  }
2489
- function fa(e) {
2490
- return 'url("data:image/svg+xml,' + da(e) + '")';
2491
+ function _a(e) {
2492
+ return 'url("data:image/svg+xml,' + fa(e) + '")';
2491
2493
  }
2492
- const vn = {
2493
- ...Co,
2494
+ const En = {
2495
+ ...Ao,
2494
2496
  inline: !1
2495
- }, _a = {
2497
+ }, ma = {
2496
2498
  xmlns: "http://www.w3.org/2000/svg",
2497
2499
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
2498
2500
  "aria-hidden": !0,
2499
2501
  role: "img"
2500
- }, ma = {
2502
+ }, pa = {
2501
2503
  display: "inline-block"
2502
2504
  }, Tt = {
2503
2505
  backgroundColor: "currentColor"
2504
- }, Ao = {
2506
+ }, Do = {
2505
2507
  backgroundColor: "transparent"
2506
- }, yn = {
2508
+ }, wn = {
2507
2509
  Image: "var(--svg)",
2508
2510
  Repeat: "no-repeat",
2509
2511
  Size: "100% 100%"
2510
- }, En = {
2512
+ }, bn = {
2511
2513
  webkitMask: Tt,
2512
2514
  mask: Tt,
2513
- background: Ao
2515
+ background: Do
2514
2516
  };
2515
- for (const e in En) {
2516
- const t = En[e];
2517
- for (const n in yn)
2518
- t[e + n] = yn[n];
2517
+ for (const e in bn) {
2518
+ const t = bn[e];
2519
+ for (const n in wn)
2520
+ t[e + n] = wn[n];
2519
2521
  }
2520
- const qe = {};
2522
+ const Ze = {};
2521
2523
  ["horizontal", "vertical"].forEach((e) => {
2522
2524
  const t = e.slice(0, 1) + "Flip";
2523
- qe[e + "-flip"] = t, qe[e.slice(0, 1) + "-flip"] = t, qe[e + "Flip"] = t;
2525
+ Ze[e + "-flip"] = t, Ze[e.slice(0, 1) + "-flip"] = t, Ze[e + "Flip"] = t;
2524
2526
  });
2525
- function wn(e) {
2527
+ function Ln(e) {
2526
2528
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
2527
2529
  }
2528
- const pa = (e, t) => {
2529
- const n = Zr(vn, t), o = { ..._a }, s = t.mode || "svg", a = {}, r = t.style, l = typeof r == "object" && !(r instanceof Array) ? r : {};
2530
+ const ga = (e, t) => {
2531
+ const n = ea(En, t), o = { ...ma }, s = t.mode || "svg", a = {}, r = t.style, l = typeof r == "object" && !(r instanceof Array) ? r : {};
2530
2532
  for (let v in t) {
2531
2533
  const y = t[v];
2532
2534
  if (y !== void 0)
@@ -2542,69 +2544,69 @@ const pa = (e, t) => {
2542
2544
  n[v] = y === !0 || y === "true" || y === 1;
2543
2545
  break;
2544
2546
  case "flip":
2545
- typeof y == "string" && ta(n, y);
2547
+ typeof y == "string" && na(n, y);
2546
2548
  break;
2547
2549
  case "color":
2548
2550
  a.color = y;
2549
2551
  break;
2550
2552
  case "rotate":
2551
- typeof y == "string" ? n[v] = na(y) : typeof y == "number" && (n[v] = y);
2553
+ typeof y == "string" ? n[v] = oa(y) : typeof y == "number" && (n[v] = y);
2552
2554
  break;
2553
2555
  case "ariaHidden":
2554
2556
  case "aria-hidden":
2555
2557
  y !== !0 && y !== "true" && delete o["aria-hidden"];
2556
2558
  break;
2557
2559
  default: {
2558
- const g = qe[v];
2559
- g ? (y === !0 || y === "true" || y === 1) && (n[g] = !0) : vn[v] === void 0 && (o[v] = y);
2560
+ const p = Ze[v];
2561
+ p ? (y === !0 || y === "true" || y === 1) && (n[p] = !0) : En[v] === void 0 && (o[v] = y);
2560
2562
  }
2561
2563
  }
2562
2564
  }
2563
- const i = ra(e, n), c = i.attributes;
2565
+ const i = aa(e, n), c = i.attributes;
2564
2566
  if (n.inline && (a.verticalAlign = "-0.125em"), s === "svg") {
2565
2567
  o.style = {
2566
2568
  ...a,
2567
2569
  ...l
2568
2570
  }, Object.assign(o, c);
2569
2571
  let v = 0, y = t.id;
2570
- return typeof y == "string" && (y = y.replace(/-/g, "_")), o.innerHTML = ca(i.body, y ? () => y + "ID" + v++ : "iconifyVue"), Ze("svg", o);
2572
+ return typeof y == "string" && (y = y.replace(/-/g, "_")), o.innerHTML = ua(i.body, y ? () => y + "ID" + v++ : "iconifyVue"), et("svg", o);
2571
2573
  }
2572
- const { body: m, width: f, height: u } = e, d = s === "mask" || (s === "bg" ? !1 : m.indexOf("currentColor") !== -1), p = ua(m, {
2574
+ const { body: m, width: f, height: u } = e, d = s === "mask" || (s === "bg" ? !1 : m.indexOf("currentColor") !== -1), g = da(m, {
2573
2575
  ...c,
2574
2576
  width: f + "",
2575
2577
  height: u + ""
2576
2578
  });
2577
2579
  return o.style = {
2578
2580
  ...a,
2579
- "--svg": fa(p),
2580
- width: wn(c.width),
2581
- height: wn(c.height),
2582
- ...ma,
2583
- ...d ? Tt : Ao,
2581
+ "--svg": _a(g),
2582
+ width: Ln(c.width),
2583
+ height: Ln(c.height),
2584
+ ...pa,
2585
+ ...d ? Tt : Do,
2584
2586
  ...l
2585
- }, Ze("span", o);
2586
- }, Do = /* @__PURE__ */ Object.create(null);
2587
+ }, et("span", o);
2588
+ }, Po = /* @__PURE__ */ Object.create(null);
2587
2589
  function Ce(e, t) {
2588
- Do[e] = t;
2590
+ Po[e] = t;
2589
2591
  }
2590
- const it = Q({
2592
+ const ct = q({
2591
2593
  inheritAttrs: !1,
2592
2594
  render() {
2593
- const e = this.$attrs, t = e.icon, n = typeof t == "string" ? Do[t] : typeof t == "object" ? t : null;
2594
- return n === null || typeof n != "object" || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null : pa({
2595
- ...Ft,
2595
+ const e = this.$attrs, t = e.icon, n = typeof t == "string" ? Po[t] : typeof t == "object" ? t : null;
2596
+ return n === null || typeof n != "object" || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null : ga({
2597
+ ...Vt,
2596
2598
  ...n
2597
2599
  }, e);
2598
2600
  }
2599
2601
  });
2600
- var ga = Object.defineProperty, ha = Object.defineProperties, va = Object.getOwnPropertyDescriptors, bn = Object.getOwnPropertySymbols, ya = Object.prototype.hasOwnProperty, Ea = Object.prototype.propertyIsEnumerable, Ln = (e, t, n) => t in e ? ga(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, On = (e, t) => {
2602
+ var ha = Object.defineProperty, va = Object.defineProperties, ya = Object.getOwnPropertyDescriptors, On = Object.getOwnPropertySymbols, Ea = Object.prototype.hasOwnProperty, wa = Object.prototype.propertyIsEnumerable, In = (e, t, n) => t in e ? ha(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tn = (e, t) => {
2601
2603
  for (var n in t || (t = {}))
2602
- ya.call(t, n) && Ln(e, n, t[n]);
2603
- if (bn)
2604
- for (var n of bn(t))
2605
- Ea.call(t, n) && Ln(e, n, t[n]);
2604
+ Ea.call(t, n) && In(e, n, t[n]);
2605
+ if (On)
2606
+ for (var n of On(t))
2607
+ wa.call(t, n) && In(e, n, t[n]);
2606
2608
  return e;
2607
- }, wa = (e, t) => ha(e, va(t)), ba = (e, t, n) => new Promise((o, s) => {
2609
+ }, ba = (e, t) => va(e, ya(t)), La = (e, t, n) => new Promise((o, s) => {
2608
2610
  var a = (i) => {
2609
2611
  try {
2610
2612
  l(n.next(i));
@@ -2620,7 +2622,7 @@ var ga = Object.defineProperty, ha = Object.defineProperties, va = Object.getOwn
2620
2622
  }, l = (i) => i.done ? o(i.value) : Promise.resolve(i.value).then(a, r);
2621
2623
  l((n = n.apply(e, t)).next());
2622
2624
  });
2623
- const La = {
2625
+ const Oa = {
2624
2626
  name: "VirtualList",
2625
2627
  props: {
2626
2628
  listData: {
@@ -2639,17 +2641,17 @@ const La = {
2639
2641
  start: k(0),
2640
2642
  end: k(0)
2641
2643
  }, n = k(), o = {
2642
- listHeight: U(() => e.listData.length * e.itemSize),
2643
- visibleCount: U(() => Math.ceil(t.screenHeight.value / e.itemSize)),
2644
- getTransform: U(() => `translate3d(0,${t.startOffset.value}px,0)`),
2645
- visibleData: U(() => e.listData.slice(t.start.value, Math.min(t.end.value, e.listData.length)))
2644
+ listHeight: V(() => e.listData.length * e.itemSize),
2645
+ visibleCount: V(() => Math.ceil(t.screenHeight.value / e.itemSize)),
2646
+ getTransform: V(() => `translate3d(0,${t.startOffset.value}px,0)`),
2647
+ visibleData: V(() => e.listData.slice(t.start.value, Math.min(t.end.value, e.listData.length)))
2646
2648
  };
2647
- return On(wa(On({}, o), {
2649
+ return Tn(ba(Tn({}, o), {
2648
2650
  virList: n
2649
2651
  }), t);
2650
2652
  },
2651
2653
  mounted() {
2652
- this.init(), Ie(() => this.listData.length, () => ba(this, null, function* () {
2654
+ this.init(), Ie(() => this.listData.length, () => La(this, null, function* () {
2653
2655
  yield this.$nextTick(), this.init();
2654
2656
  }));
2655
2657
  },
@@ -2665,46 +2667,46 @@ const La = {
2665
2667
  }
2666
2668
  }
2667
2669
  };
2668
- function Oa(e, t, n, o, s, a) {
2669
- return N(), A("div", {
2670
+ function Ia(e, t, n, o, s, a) {
2671
+ return N(), C("div", {
2670
2672
  ref: "virList",
2671
2673
  class: "infinite-list-container",
2672
2674
  onScroll: t[0] || (t[0] = (r) => a.scrollEvent())
2673
2675
  }, [
2674
2676
  b("div", {
2675
2677
  class: "infinite-list-phantom",
2676
- style: _e({ height: e.listHeight + "px" })
2678
+ style: me({ height: e.listHeight + "px" })
2677
2679
  }, null, 4),
2678
2680
  b("div", {
2679
2681
  class: "infinite-list",
2680
- style: _e({ transform: e.getTransform })
2682
+ style: me({ transform: e.getTransform })
2681
2683
  }, [
2682
- (N(!0), A(ue, null, Ee(e.visibleData, (r) => (N(), A("div", {
2684
+ (N(!0), C(ue, null, Ee(e.visibleData, (r) => (N(), C("div", {
2683
2685
  ref_for: !0,
2684
2686
  ref: "items",
2685
2687
  class: "infinite-list-item",
2686
2688
  key: r.id,
2687
- style: _e({ height: n.itemSize + "px", lineHeight: n.itemSize + "px" })
2689
+ style: me({ height: n.itemSize + "px", lineHeight: n.itemSize + "px" })
2688
2690
  }, [
2689
2691
  Y(e.$slots, "default", { data: r }, void 0, !0)
2690
2692
  ], 4))), 128))
2691
2693
  ], 4)
2692
2694
  ], 544);
2693
2695
  }
2694
- const Ia = /* @__PURE__ */ oe(La, [["render", Oa], ["__scopeId", "data-v-12d2a294"]]);
2695
- var Ta = Object.defineProperty, Na = Object.defineProperties, Sa = Object.getOwnPropertyDescriptors, In = Object.getOwnPropertySymbols, Ca = Object.prototype.hasOwnProperty, Aa = Object.prototype.propertyIsEnumerable, Tn = (e, t, n) => t in e ? Ta(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Da = (e, t) => {
2696
+ const Ta = /* @__PURE__ */ oe(Oa, [["render", Ia], ["__scopeId", "data-v-12d2a294"]]);
2697
+ var Na = Object.defineProperty, Sa = Object.defineProperties, Ca = Object.getOwnPropertyDescriptors, Nn = Object.getOwnPropertySymbols, Aa = Object.prototype.hasOwnProperty, Da = Object.prototype.propertyIsEnumerable, Sn = (e, t, n) => t in e ? Na(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pa = (e, t) => {
2696
2698
  for (var n in t || (t = {}))
2697
- Ca.call(t, n) && Tn(e, n, t[n]);
2698
- if (In)
2699
- for (var n of In(t))
2700
- Aa.call(t, n) && Tn(e, n, t[n]);
2699
+ Aa.call(t, n) && Sn(e, n, t[n]);
2700
+ if (Nn)
2701
+ for (var n of Nn(t))
2702
+ Da.call(t, n) && Sn(e, n, t[n]);
2701
2703
  return e;
2702
- }, Pa = (e, t) => Na(e, Sa(t));
2703
- const $a = Q({
2704
+ }, $a = (e, t) => Sa(e, Ca(t));
2705
+ const Ma = q({
2704
2706
  components: {
2705
- VirtualList: Ia,
2706
- CountShow: Io,
2707
- Icon: it
2707
+ VirtualList: Ta,
2708
+ CountShow: To,
2709
+ Icon: ct
2708
2710
  },
2709
2711
  name: "group-show",
2710
2712
  props: {
@@ -2713,48 +2715,48 @@ const $a = Q({
2713
2715
  uiParams: Object
2714
2716
  },
2715
2717
  setup(e, t) {
2716
- const n = Br(), o = Kr(), s = k(), a = St("theme"), r = {
2718
+ const n = Kr(), o = Yr(), s = k(), a = St("theme"), r = {
2717
2719
  filterDevice(d) {
2718
- var p;
2720
+ var g;
2719
2721
  let v = !0;
2720
- v = nt(() => {
2721
- var g, w, S, T;
2722
- return (g = e.controlParams) != null && g.searchStr ? d.name.includes((w = e.controlParams) == null ? void 0 : w.searchStr) || d.id.includes((S = e.controlParams) == null ? void 0 : S.searchStr) || typeof d.user == "string" && d.user.includes((T = e.controlParams) == null ? void 0 : T.searchStr) : v;
2722
+ v = ot(() => {
2723
+ var p, w, S, T;
2724
+ return (p = e.controlParams) != null && p.searchStr ? d.name.includes((w = e.controlParams) == null ? void 0 : w.searchStr) || d.id.includes((S = e.controlParams) == null ? void 0 : S.searchStr) || typeof d.user == "string" && d.user.includes((T = e.controlParams) == null ? void 0 : T.searchStr) : v;
2723
2725
  });
2724
2726
  let y = !0;
2725
- return (p = e.controlParams) != null && p.onlyShowOnline && (y = d.online), v && y;
2727
+ return (g = e.controlParams) != null && g.onlyShowOnline && (y = d.online), v && y;
2726
2728
  },
2727
2729
  deviceText(d) {
2728
- const p = `${o.value ? "" : `[${d.id}] `}`;
2729
- return d.user ? n.value == vo.PUFirst ? d.name.length > 0 ? `${d.name} ${p}[${d.user}]` : ` ${p}[${d.user}]` : d.name.length > 0 ? `${d.user} ${p}[${d.name}]` : `${d.user} ${p}[]` : d.name.length > 0 ? `${d.name} ${p}` : ` ${p}`;
2730
+ const g = `${o.value ? "" : `[${d.id}] `}`;
2731
+ return d.user ? n.value == yo.PUFirst ? d.name.length > 0 ? `${d.name} ${g}[${d.user}]` : ` ${g}[${d.user}]` : d.name.length > 0 ? `${d.user} ${g}[${d.name}]` : `${d.user} ${g}[]` : d.name.length > 0 ? `${d.name} ${g}` : ` ${g}`;
2730
2732
  },
2731
2733
  groupText(d) {
2732
2734
  if (d)
2733
2735
  return d.name.length > 0 ? d.name : d.id;
2734
2736
  }
2735
2737
  }, l = {
2736
- filteredDevices: U(() => {
2738
+ filteredDevices: V(() => {
2737
2739
  var d;
2738
- const p = (d = e.deviceGroup) == null ? void 0 : d.devices, v = p && p.filter((g) => r.filterDevice(g)) || [];
2739
- return v.filter((g) => g.online).concat(v.filter((g) => !g.online));
2740
+ const g = (d = e.deviceGroup) == null ? void 0 : d.devices, v = g && g.filter((p) => r.filterDevice(p)) || [];
2741
+ return v.filter((p) => p.online).concat(v.filter((p) => !p.online));
2740
2742
  })
2741
- }, i = U(() => l.filteredDevices.value.length > 10 ? "400px" : `${l.filteredDevices.value.length * 40}px`);
2742
- function c(d, p) {
2743
- return nt(() => {
2744
- if (p.length == 0)
2743
+ }, i = V(() => l.filteredDevices.value.length > 10 ? "400px" : `${l.filteredDevices.value.length * 40}px`);
2744
+ function c(d, g) {
2745
+ return ot(() => {
2746
+ if (g.length == 0)
2745
2747
  return !0;
2746
2748
  let v = !1;
2747
- if ((d == null ? void 0 : d.name.indexOf(p)) > 0 && (v = !0), v || (v = (d == null ? void 0 : d.devices.find(
2748
- (y) => y.name.includes(p) || y.id.includes(p) || y.user && y.user.includes(p)
2749
+ if ((d == null ? void 0 : d.name.indexOf(g)) > 0 && (v = !0), v || (v = (d == null ? void 0 : d.devices.find(
2750
+ (y) => y.name.includes(g) || y.id.includes(g) || y.user && y.user.includes(g)
2749
2751
  )) != null), !v) {
2750
2752
  for (let y = 0; y < d.items.length; y++)
2751
- if (c(d.items[y], p))
2753
+ if (c(d.items[y], g))
2752
2754
  return !0;
2753
2755
  }
2754
2756
  return v;
2755
2757
  });
2756
2758
  }
2757
- const m = U(() => {
2759
+ const m = V(() => {
2758
2760
  if (e.controlParams) {
2759
2761
  const d = e.controlParams.searchStr;
2760
2762
  if (e.deviceGroup)
@@ -2766,7 +2768,7 @@ const $a = Q({
2766
2768
  var d;
2767
2769
  (d = e.uiParams) != null && d.dbclickExpandsDisable || (f.value = !f.value);
2768
2770
  }
2769
- return Pa(Da({
2771
+ return $a(Pa({
2770
2772
  OnHeadDbClick: u,
2771
2773
  innerUtils: r
2772
2774
  }, l), {
@@ -2778,23 +2780,23 @@ const $a = Q({
2778
2780
  });
2779
2781
  }
2780
2782
  });
2781
- const Ma = {
2783
+ const ka = {
2782
2784
  key: 0,
2783
2785
  class: "head-op"
2784
- }, ka = {
2786
+ }, Ra = {
2785
2787
  key: 1,
2786
2788
  style: { display: "inline-block", width: "25px" }
2787
- }, Ra = {
2789
+ }, xa = {
2788
2790
  key: 0,
2789
2791
  class: "group-head-count"
2790
- }, xa = ["title"], Fa = { class: "group-slot" }, Va = {
2792
+ }, Fa = ["title"], Va = { class: "group-slot" }, Ua = {
2791
2793
  key: 0,
2792
2794
  style: { "margin-left": "26px" }
2793
- }, Ua = ["title"], Ga = { class: "device-slot" };
2794
- function za(e, t, n, o, s, a) {
2795
+ }, Ga = ["title"], za = { class: "device-slot" };
2796
+ function Ha(e, t, n, o, s, a) {
2795
2797
  var r, l, i;
2796
- const c = fe("Icon"), m = fe("CountShow"), f = fe("group-show"), u = fe("VirtualList");
2797
- return e.showGroup ? Vn((N(), A("div", {
2798
+ const c = _e("Icon"), m = _e("CountShow"), f = _e("group-show"), u = _e("VirtualList");
2799
+ return e.showGroup ? Gn((N(), C("div", {
2798
2800
  key: 0,
2799
2801
  class: ke("group " + e.theme)
2800
2802
  }, [
@@ -2803,43 +2805,43 @@ function za(e, t, n, o, s, a) {
2803
2805
  controlParams: e.controlParams,
2804
2806
  ref: "countRef"
2805
2807
  }, {
2806
- default: te(({ online: d, total: p }) => {
2808
+ default: te(({ online: d, total: g }) => {
2807
2809
  var v, y;
2808
2810
  return [
2809
- e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (N(), A("span", Ma, [
2811
+ e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (N(), C("span", ka, [
2810
2812
  B(c, {
2811
2813
  icon: e.bShow ? "minus" : "plus",
2812
2814
  width: "20",
2813
- onClick: t[0] || (t[0] = (g) => e.bShow = !e.bShow),
2815
+ onClick: t[0] || (t[0] = (p) => e.bShow = !e.bShow),
2814
2816
  class: "handle-ls-svg"
2815
2817
  }, null, 8, ["icon"])
2816
- ])) : (N(), A("span", ka)),
2818
+ ])) : (N(), C("span", Ra)),
2817
2819
  b("span", {
2818
2820
  class: "group-head-db-click",
2819
- onDblclick: t[1] || (t[1] = (...g) => e.OnHeadDbClick && e.OnHeadDbClick(...g))
2821
+ onDblclick: t[1] || (t[1] = (...p) => e.OnHeadDbClick && e.OnHeadDbClick(...p))
2820
2822
  }, [
2821
2823
  B(c, {
2822
2824
  icon: e.bShow ? "group" : "group-closed",
2823
2825
  width: "24",
2824
2826
  class: "group-avatar"
2825
2827
  }, null, 8, ["icon"]),
2826
- e.bShow ? pe("", !0) : (N(), A("span", Ra, j((v = e.deviceGroup) == null ? void 0 : v.items.length), 1)),
2828
+ e.bShow ? ge("", !0) : (N(), C("span", xa, z((v = e.deviceGroup) == null ? void 0 : v.items.length), 1)),
2827
2829
  Y(e.$slots, "groupHead", { group: e.deviceGroup }, void 0, !0),
2828
2830
  b("span", {
2829
2831
  class: "group-name",
2830
2832
  title: (y = e.deviceGroup) == null ? void 0 : y.name
2831
- }, j(e.innerUtils.groupText(e.deviceGroup)), 9, xa)
2833
+ }, z(e.innerUtils.groupText(e.deviceGroup)), 9, Fa)
2832
2834
  ], 32),
2833
- b("div", Fa, [
2835
+ b("div", Va, [
2834
2836
  Y(e.$slots, "group", { group: e.deviceGroup }, void 0, !0)
2835
2837
  ])
2836
2838
  ];
2837
2839
  }),
2838
2840
  _: 3
2839
2841
  }, 8, ["countInfo", "controlParams"]),
2840
- e.bShow ? (N(), A("div", Va, [
2841
- (N(!0), A(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (d, p) => (N(), Fe(f, {
2842
- key: p,
2842
+ e.bShow ? (N(), C("div", Ua, [
2843
+ (N(!0), C(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (d, g) => (N(), Fe(f, {
2844
+ key: d.id,
2843
2845
  deviceGroup: d,
2844
2846
  "ui-params": e.uiParams,
2845
2847
  controlParams: e.controlParams
@@ -2866,7 +2868,7 @@ function za(e, t, n, o, s, a) {
2866
2868
  }, 1032, ["deviceGroup", "ui-params", "controlParams"]))), 128)),
2867
2869
  b("div", {
2868
2870
  class: "device-show-div",
2869
- style: _e(`height: ${e.filteredDevices.length > 10 ? "400px" : `${e.filteredDevices.length * 40}px`}`)
2871
+ style: me(`height: ${e.filteredDevices.length > 10 ? "400px" : `${e.filteredDevices.length * 40}px`}`)
2870
2872
  }, [
2871
2873
  B(u, {
2872
2874
  "list-data": e.filteredDevices,
@@ -2888,8 +2890,8 @@ function za(e, t, n, o, s, a) {
2888
2890
  b("span", {
2889
2891
  title: e.innerUtils.deviceText(d),
2890
2892
  class: "device-name"
2891
- }, j(e.innerUtils.deviceText(d)), 9, Ua),
2892
- b("div", Ga, [
2893
+ }, z(e.innerUtils.deviceText(d)), 9, Ga),
2894
+ b("div", za, [
2893
2895
  Y(e.$slots, "device", {
2894
2896
  device: d,
2895
2897
  group: e.deviceGroup
@@ -2900,46 +2902,46 @@ function za(e, t, n, o, s, a) {
2900
2902
  _: 3
2901
2903
  }, 8, ["list-data"])
2902
2904
  ], 4)
2903
- ])) : pe("", !0)
2905
+ ])) : ge("", !0)
2904
2906
  ], 2)), [
2905
- [Un, !((l = e.controlParams) != null && l.onlyShowOnline) || ((i = e.countRef) == null ? void 0 : i.onlineCount)]
2906
- ]) : pe("", !0);
2907
+ [zn, !((l = e.controlParams) != null && l.onlyShowOnline) || ((i = e.countRef) == null ? void 0 : i.onlineCount)]
2908
+ ]) : ge("", !0);
2907
2909
  }
2908
- const Ha = /* @__PURE__ */ oe($a, [["render", za], ["__scopeId", "data-v-f297bb7a"]]), ja = {
2910
+ const ja = /* @__PURE__ */ oe(Ma, [["render", Ha], ["__scopeId", "data-v-c816085d"]]), Wa = {
2909
2911
  width: 1024,
2910
2912
  height: 1024,
2911
2913
  body: '<path fill="currentColor" d="M384 192v640l384-320.064z"/>'
2912
- }, Wa = {
2914
+ }, Ba = {
2913
2915
  width: 1024,
2914
2916
  height: 1024,
2915
2917
  body: '<path fill="currentColor" d="M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384H832zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896z"/>'
2916
- }, Ba = {
2918
+ }, Ka = {
2917
2919
  width: 1024,
2918
2920
  height: 1024,
2919
2921
  body: '<path fill="currentColor" d="M128 192v640h768V320H485.76L357.504 192H128zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32z"/>'
2920
- }, Ka = {
2922
+ }, Ya = {
2921
2923
  width: 1024,
2922
2924
  height: 1024,
2923
2925
  body: '<path fill="currentColor" d="M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704l116.736-175.104zM720 304a208 208 0 1 1-416 0a208 208 0 0 1 416 0z"/>'
2924
- }, Ya = {
2926
+ }, Xa = {
2925
2927
  width: 1024,
2926
2928
  height: 1024,
2927
2929
  body: '<path fill="currentColor" d="M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"/>'
2928
- }, Xa = {
2930
+ }, Ja = {
2929
2931
  width: 1024,
2930
2932
  height: 1024,
2931
2933
  body: '<path fill="currentColor" d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"/>'
2932
2934
  };
2933
- Ce("right", ja);
2934
- Ce("group", Wa);
2935
- Ce("group-closed", Ba);
2936
- Ce("user", Ka);
2937
- Ce("plus", Ya);
2938
- Ce("minus", Xa);
2939
- const Ja = Q({
2935
+ Ce("right", Wa);
2936
+ Ce("group", Ba);
2937
+ Ce("group-closed", Ka);
2938
+ Ce("user", Ya);
2939
+ Ce("plus", Xa);
2940
+ Ce("minus", Ja);
2941
+ const Qa = q({
2940
2942
  components: {
2941
- CountShow: Io,
2942
- GroupShow: Ha
2943
+ CountShow: To,
2944
+ GroupShow: ja
2943
2945
  },
2944
2946
  props: {
2945
2947
  deviceGroup: Object,
@@ -2964,8 +2966,8 @@ const Ja = Q({
2964
2966
  }
2965
2967
  },
2966
2968
  setup(e) {
2967
- const t = jr(), n = U(() => t.value == yo.BACKGROUND_WHITE ? "" : "dark");
2968
- ns("theme", n);
2969
+ const t = Wr(), n = V(() => t.value == Eo.BACKGROUND_WHITE ? "" : "dark");
2970
+ os("theme", n);
2969
2971
  const o = k({
2970
2972
  onlyShowOnline: !1,
2971
2973
  searchStr: ""
@@ -2987,14 +2989,14 @@ const Ja = Q({
2987
2989
  };
2988
2990
  }
2989
2991
  });
2990
- const Qa = { class: "search-panel" }, qa = { for: "onlineShow" }, Za = { class: "device-panel" };
2991
- function el(e, t, n, o, s, a) {
2992
+ const qa = { class: "search-panel" }, Za = { for: "onlineShow" }, el = { class: "device-panel" };
2993
+ function tl(e, t, n, o, s, a) {
2992
2994
  var r;
2993
- const l = fe("CountShow"), i = fe("group-show");
2994
- return N(), A("div", {
2995
+ const l = _e("CountShow"), i = _e("group-show");
2996
+ return N(), C("div", {
2995
2997
  class: ke(`device-group-list ${e.theme}`)
2996
2998
  }, [
2997
- b("div", Qa, [
2999
+ b("div", qa, [
2998
3000
  B(l, {
2999
3001
  countInfo: e.deviceGroup,
3000
3002
  "control-params": e.controlParams
@@ -3007,13 +3009,13 @@ function el(e, t, n, o, s, a) {
3007
3009
  onChange: t[0] || (t[0] = () => e.onCheckBoxChange()),
3008
3010
  ref: "inputShowOnlineOnly"
3009
3011
  }, null, 544),
3010
- b("label", qa, j(e.i18nT("zhi-xian-shi-zai-xian-she-bei")), 1)
3012
+ b("label", Za, z(e.i18nT("zhi-xian-shi-zai-xian-she-bei")), 1)
3011
3013
  ]),
3012
3014
  _: 1
3013
3015
  }, 8, ["countInfo", "control-params"])
3014
3016
  ]),
3015
- b("div", Za, [
3016
- (N(!0), A(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (c, m) => (N(), Fe(i, {
3017
+ b("div", el, [
3018
+ (N(!0), C(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (c, m) => (N(), Fe(i, {
3017
3019
  controlParams: e.controlParams,
3018
3020
  key: c.id,
3019
3021
  "ui-params": e.uiControl,
@@ -3042,17 +3044,17 @@ function el(e, t, n, o, s, a) {
3042
3044
  ])
3043
3045
  ], 2);
3044
3046
  }
3045
- const tl = /* @__PURE__ */ oe(Ja, [["render", el], ["__scopeId", "data-v-bf84d159"]]);
3046
- var nl = Object.defineProperty, ol = Object.defineProperties, sl = Object.getOwnPropertyDescriptors, Nn = Object.getOwnPropertySymbols, rl = Object.prototype.hasOwnProperty, al = Object.prototype.propertyIsEnumerable, Sn = (e, t, n) => t in e ? nl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Po = (e, t) => {
3047
+ const nl = /* @__PURE__ */ oe(Qa, [["render", tl], ["__scopeId", "data-v-d3dc39fb"]]);
3048
+ var ol = Object.defineProperty, sl = Object.defineProperties, rl = Object.getOwnPropertyDescriptors, Cn = Object.getOwnPropertySymbols, al = Object.prototype.hasOwnProperty, ll = Object.prototype.propertyIsEnumerable, An = (e, t, n) => t in e ? ol(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $o = (e, t) => {
3047
3049
  for (var n in t || (t = {}))
3048
- rl.call(t, n) && Sn(e, n, t[n]);
3049
- if (Nn)
3050
- for (var n of Nn(t))
3051
- al.call(t, n) && Sn(e, n, t[n]);
3050
+ al.call(t, n) && An(e, n, t[n]);
3051
+ if (Cn)
3052
+ for (var n of Cn(t))
3053
+ ll.call(t, n) && An(e, n, t[n]);
3052
3054
  return e;
3053
- }, ll = (e, t) => ol(e, sl(t));
3054
- const He = 6, Cn = He * 2;
3055
- function il(e, t) {
3055
+ }, il = (e, t) => sl(e, rl(t));
3056
+ const He = 6, Dn = He * 2;
3057
+ function cl(e, t) {
3056
3058
  return e.map(
3057
3059
  ({
3058
3060
  leftTop: { col: n, row: o },
@@ -3060,13 +3062,13 @@ function il(e, t) {
3060
3062
  }) => `<line x1="${n * t.col + He}" y1="${o * t.row + He}" x2="${s * t.col + He}" y2="${a * t.row + He}" stroke="black" stroke-width="5"/>`
3061
3063
  ).join(" ");
3062
3064
  }
3063
- function cl(e, t, n) {
3065
+ function ul(e, t, n) {
3064
3066
  return n.findIndex((o) => e >= o.leftTop.row && e < o.rightBottom.row && t >= o.leftTop.col && t < o.rightBottom.col) >= 0;
3065
3067
  }
3066
- function ul(e, t, n) {
3068
+ function dl(e, t, n) {
3067
3069
  n.forEach((o) => {
3068
- const s = ll(Po({}, o.leftTop), {
3069
- id: $o(o.leftTop),
3070
+ const s = il($o({}, o.leftTop), {
3071
+ id: Mo(o.leftTop),
3070
3072
  layout: {
3071
3073
  left: 100 / t.col * o.leftTop.col,
3072
3074
  top: 100 / t.row * o.leftTop.row,
@@ -3079,11 +3081,11 @@ function ul(e, t, n) {
3079
3081
  e.push(s);
3080
3082
  });
3081
3083
  }
3082
- function $o(e) {
3084
+ function Mo(e) {
3083
3085
  return `${e.row}-${e.col}`;
3084
3086
  }
3085
- const An = "ComponentsDefaultLayoutKeyAF84566", Dn = "ComponentsCustomLayoutsKeyAF84566";
3086
- function dl(e) {
3087
+ const Pn = "ComponentsDefaultLayoutKeyAF84566", $n = "ComponentsCustomLayoutsKeyAF84566";
3088
+ function fl(e) {
3087
3089
  const t = [], n = [];
3088
3090
  for (let o = 0; o < e.points.length / 2; o++)
3089
3091
  n.push(e.points.slice(o * 2, o * 2 + 2));
@@ -3114,20 +3116,20 @@ const Se = {
3114
3116
  const n = [];
3115
3117
  for (let o = 0; o < e.row; o++)
3116
3118
  for (let s = 0; s < e.col; s++) {
3117
- if (cl(o, s, t))
3119
+ if (ul(o, s, t))
3118
3120
  continue;
3119
- const a = Po({
3121
+ const a = $o({
3120
3122
  layout: {
3121
3123
  left: 100 / e.col * s,
3122
3124
  top: 100 / e.row * o,
3123
3125
  width: 100 / e.col,
3124
3126
  height: 100 / e.row
3125
3127
  },
3126
- id: $o({ row: o, col: s })
3128
+ id: Mo({ row: o, col: s })
3127
3129
  }, { row: o, col: s, w: 1, h: 1 });
3128
3130
  n.push(a);
3129
3131
  }
3130
- return ul(n, e, t), n;
3132
+ return dl(n, e, t), n;
3131
3133
  },
3132
3134
  TransLayoutToSVG(e, t) {
3133
3135
  const n = [];
@@ -3156,17 +3158,17 @@ const Se = {
3156
3158
  );
3157
3159
  const a = o.concat(...s), r = [];
3158
3160
  a.forEach((c) => {
3159
- c.points = c.points.sort(), r.push(...dl(c));
3161
+ c.points = c.points.sort(), r.push(...fl(c));
3160
3162
  });
3161
3163
  const l = {
3162
3164
  row: t.height / e.row,
3163
3165
  col: t.width / e.col
3164
- }, i = il(r, l);
3165
- return `<svg viewBox='0 0 ${t.width + Cn} ${t.height + Cn} ' width="100%" height="100%"> ${i} </svg>`;
3166
+ }, i = cl(r, l);
3167
+ return `<svg viewBox='0 0 ${t.width + Dn} ${t.height + Dn} ' width="100%" height="100%"> ${i} </svg>`;
3166
3168
  },
3167
3169
  StorageDefaultLayout: {
3168
3170
  get() {
3169
- const e = localStorage.getItem(An);
3171
+ const e = localStorage.getItem(Pn);
3170
3172
  if (e != null)
3171
3173
  try {
3172
3174
  return JSON.parse(e);
@@ -3175,12 +3177,12 @@ const Se = {
3175
3177
  }
3176
3178
  },
3177
3179
  set(e) {
3178
- localStorage.setItem(An, JSON.stringify(e));
3180
+ localStorage.setItem(Pn, JSON.stringify(e));
3179
3181
  }
3180
3182
  },
3181
3183
  CustomLayouts: {
3182
3184
  get() {
3183
- const e = localStorage.getItem(Dn);
3185
+ const e = localStorage.getItem($n);
3184
3186
  if (e == null)
3185
3187
  return [];
3186
3188
  try {
@@ -3190,10 +3192,10 @@ const Se = {
3190
3192
  }
3191
3193
  },
3192
3194
  set(e) {
3193
- localStorage.setItem(Dn, JSON.stringify(e));
3195
+ localStorage.setItem($n, JSON.stringify(e));
3194
3196
  }
3195
3197
  }
3196
- }, fl = Q({
3198
+ }, _l = q({
3197
3199
  emits: {
3198
3200
  onselect(e, t) {
3199
3201
  return !0;
@@ -3208,7 +3210,7 @@ const Se = {
3208
3210
  }
3209
3211
  },
3210
3212
  setup(e) {
3211
- const t = U(() => {
3213
+ const t = V(() => {
3212
3214
  var o;
3213
3215
  return e.layouts ? (o = e.layouts) == null ? void 0 : o.map((s) => ({
3214
3216
  svg: Se.TransLayoutToSVG(s, { width: 100, height: 100 }),
@@ -3252,33 +3254,33 @@ const Se = {
3252
3254
  }
3253
3255
  }
3254
3256
  });
3255
- const _l = ["onClick"], ml = { style: { position: "relative", display: "inline-block", margin: "10px" } }, pl = ["innerHTML"], gl = { style: { "vertical-align": "middle" } };
3256
- function hl(e, t, n, o, s, a) {
3257
- return N(), A("div", null, [
3258
- (N(!0), A(ue, null, Ee(e.layoutInfos, (r) => (N(), A("div", {
3257
+ const ml = ["onClick"], pl = { style: { position: "relative", display: "inline-block", margin: "10px" } }, gl = ["innerHTML"], hl = { style: { "vertical-align": "middle" } };
3258
+ function vl(e, t, n, o, s, a) {
3259
+ return N(), C("div", null, [
3260
+ (N(!0), C(ue, null, Ee(e.layoutInfos, (r) => (N(), C("div", {
3259
3261
  class: ke(e.getClassLayout(r)),
3260
3262
  onClick: (l) => e.selectClick(r)
3261
3263
  }, [
3262
- b("div", ml, [
3264
+ b("div", pl, [
3263
3265
  b("div", {
3264
3266
  innerHTML: r.svg,
3265
3267
  class: "svg-style"
3266
- }, null, 8, pl),
3267
- b("span", gl, j(r.layout.name), 1)
3268
+ }, null, 8, gl),
3269
+ b("span", hl, z(r.layout.name), 1)
3268
3270
  ])
3269
- ], 10, _l))), 256))
3271
+ ], 10, ml))), 256))
3270
3272
  ]);
3271
3273
  }
3272
- const Mo = /* @__PURE__ */ oe(fl, [["render", hl], ["__scopeId", "data-v-75abecd2"]]), vl = Q({
3274
+ const ko = /* @__PURE__ */ oe(_l, [["render", vl], ["__scopeId", "data-v-75abecd2"]]), yl = q({
3273
3275
  props: {
3274
3276
  layout: {
3275
3277
  type: Object
3276
3278
  }
3277
3279
  },
3278
3280
  setup(e) {
3279
- const t = U(() => e.layout ? Se.TransLayoutToFrams(e.layout).sort((o, s) => o.row == s.row ? o.col - s.col : o.row - s.row) : []);
3281
+ const t = V(() => e.layout ? Se.TransLayoutToFrams(e.layout).sort((o, s) => o.row == s.row ? o.col - s.col : o.row - s.row) : []);
3280
3282
  return {
3281
- areas: U(() => t.value.map((o) => ({
3283
+ areas: V(() => t.value.map((o) => ({
3282
3284
  id: o.id,
3283
3285
  row: o.row,
3284
3286
  col: o.col,
@@ -3289,13 +3291,13 @@ const Mo = /* @__PURE__ */ oe(fl, [["render", hl], ["__scopeId", "data-v-75abecd
3289
3291
  };
3290
3292
  }
3291
3293
  });
3292
- const yl = { style: { position: "relative", height: "100%", width: "100%" } };
3293
- function El(e, t, n, o, s, a) {
3294
- return N(), A("div", yl, [
3295
- (N(!0), A(ue, null, Ee(e.frameRef, ({ layout: r, id: l, row: i, col: c, w: m, h: f }, u) => (N(), A("div", {
3294
+ const El = { style: { position: "relative", height: "100%", width: "100%" } };
3295
+ function wl(e, t, n, o, s, a) {
3296
+ return N(), C("div", El, [
3297
+ (N(!0), C(ue, null, Ee(e.frameRef, ({ layout: r, id: l, row: i, col: c, w: m, h: f }, u) => (N(), C("div", {
3296
3298
  class: "play-area",
3297
3299
  key: u,
3298
- style: _e(`position: absolute; top: calc(${r.top}%); left: calc(${r.left}%); width: calc(${r.width}%); height: calc(${r.height}%);`)
3300
+ style: me(`position: absolute; top: calc(${r.top}%); left: calc(${r.left}%); width: calc(${r.width}%); height: calc(${r.height}%);`)
3299
3301
  }, [
3300
3302
  Y(e.$slots, "default", {
3301
3303
  id: l,
@@ -3309,21 +3311,21 @@ function El(e, t, n, o, s, a) {
3309
3311
  ], 4))), 128))
3310
3312
  ]);
3311
3313
  }
3312
- const Vt = /* @__PURE__ */ oe(vl, [["render", El], ["__scopeId", "data-v-e6baa31a"]]), wl = {
3314
+ const Ut = /* @__PURE__ */ oe(yl, [["render", wl], ["__scopeId", "data-v-e6baa31a"]]), bl = {
3313
3315
  width: 1024,
3314
3316
  height: 1024,
3315
3317
  body: '<path fill="currentColor" d="M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504L738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512L828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496L285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512L195.2 285.696a64 64 0 0 1 0-90.496z"/>'
3316
3318
  };
3317
- Ce("close", wl);
3318
- const bl = Q({
3319
+ Ce("close", bl);
3320
+ const Ll = q({
3319
3321
  components: {
3320
- VideoAreaLayoutShow: Vt,
3321
- Icon: it
3322
+ VideoAreaLayoutShow: Ut,
3323
+ Icon: ct
3322
3324
  },
3323
3325
  setup() {
3324
3326
  const e = k(3), t = k(3), n = k(
3325
3327
  []
3326
- ), o = U(() => I.genLayout(e.value, t.value, n.value)), s = k({}), a = k([]);
3328
+ ), o = V(() => I.genLayout(e.value, t.value, n.value)), s = k({}), a = k([]);
3327
3329
  return {
3328
3330
  areas: n,
3329
3331
  row: e,
@@ -3431,10 +3433,10 @@ const bl = Q({
3431
3433
  }
3432
3434
  }
3433
3435
  });
3434
- const Ll = { style: { height: "calc(100% - 80px)", width: "calc(100%)", position: "relative" } }, Ol = ["onMouseenter", "onMousedown"], Il = { style: { "font-size": "32px" } }, Tl = { style: { display: "inline-block", width: "40px", "text-align": "center" } }, Nl = { style: { display: "inline-block", width: "calc(100% - 40px)", "text-align": "right", "vertical-align": "middle" } }, Sl = ["onClick"];
3435
- function Cl(e, t, n, o, s, a) {
3436
- const r = fe("Icon"), l = fe("VideoAreaLayoutShow");
3437
- return N(), A("div", Ll, [
3436
+ const Ol = { style: { height: "calc(100% - 80px)", width: "calc(100%)", position: "relative" } }, Il = ["onMouseenter", "onMousedown"], Tl = { style: { "font-size": "32px" } }, Nl = { style: { display: "inline-block", width: "40px", "text-align": "center" } }, Sl = { style: { display: "inline-block", width: "calc(100% - 40px)", "text-align": "right", "vertical-align": "middle" } }, Cl = ["onClick"];
3437
+ function Al(e, t, n, o, s, a) {
3438
+ const r = _e("Icon"), l = _e("VideoAreaLayoutShow");
3439
+ return N(), C("div", Ol, [
3438
3440
  B(l, { layout: e.layout }, {
3439
3441
  default: te((i) => [
3440
3442
  b("div", {
@@ -3443,9 +3445,9 @@ function Cl(e, t, n, o, s, a) {
3443
3445
  onMousedown: (c) => e.onMouseDown(i),
3444
3446
  style: { "user-select": "none" }
3445
3447
  }, [
3446
- b("div", Il, [
3447
- b("div", Tl, j(i.index + 1), 1),
3448
- b("div", Nl, [
3448
+ b("div", Tl, [
3449
+ b("div", Nl, z(i.index + 1), 1),
3450
+ b("div", Sl, [
3449
3451
  b("span", {
3450
3452
  onClick: (c) => e.onDelLayout(i)
3451
3453
  }, [
@@ -3453,21 +3455,21 @@ function Cl(e, t, n, o, s, a) {
3453
3455
  key: 0,
3454
3456
  icon: "close",
3455
3457
  class: "close-btn"
3456
- })) : pe("", !0)
3457
- ], 8, Sl)
3458
+ })) : ge("", !0)
3459
+ ], 8, Cl)
3458
3460
  ])
3459
3461
  ])
3460
- ], 42, Ol)
3462
+ ], 42, Il)
3461
3463
  ]),
3462
3464
  _: 1
3463
3465
  }, 8, ["layout"])
3464
3466
  ]);
3465
3467
  }
3466
- const Al = /* @__PURE__ */ oe(bl, [["render", Cl], ["__scopeId", "data-v-c3d9b21a"]]), Dl = Q({
3468
+ const Dl = /* @__PURE__ */ oe(Ll, [["render", Al], ["__scopeId", "data-v-c3d9b21a"]]), Pl = q({
3467
3469
  components: {
3468
- Icon: it,
3469
- LayoutShow: Mo,
3470
- CustomLayoutGen: Al
3470
+ Icon: ct,
3471
+ LayoutShow: ko,
3472
+ CustomLayoutGen: Dl
3471
3473
  },
3472
3474
  setup() {
3473
3475
  return {
@@ -3478,37 +3480,37 @@ const Al = /* @__PURE__ */ oe(bl, [["render", Cl], ["__scopeId", "data-v-c3d9b21
3478
3480
  };
3479
3481
  }
3480
3482
  });
3481
- const Pl = { style: { "margin-left": "10px", "margin-top": "10px" } }, $l = { class: "plus-custom-layout" }, Ml = /* @__PURE__ */ Gn("\u6DFB\u52A0\u5E03\u5C40 "), kl = { style: { "margin-top": "10px" } }, Rl = { style: { height: "300px" } };
3482
- function xl(e, t, n, o, s, a) {
3483
- const r = fe("Icon"), l = fe("CustomLayoutGen");
3484
- return N(), A("div", Pl, [
3483
+ const $l = { style: { "margin-left": "10px", "margin-top": "10px" } }, Ml = { class: "plus-custom-layout" }, kl = /* @__PURE__ */ Ct("\u6DFB\u52A0\u5E03\u5C40 "), Rl = { style: { "margin-top": "10px" } }, xl = { style: { height: "300px" } };
3484
+ function Fl(e, t, n, o, s, a) {
3485
+ const r = _e("Icon"), l = _e("CustomLayoutGen");
3486
+ return N(), C("div", $l, [
3485
3487
  b("span", null, [
3486
- Gn(j(e.i18nT("zi-ding-yi-bu-ju")) + "\uFF1A ", 1),
3487
- b("span", $l, [
3488
+ Ct(z(e.i18nT("zi-ding-yi-bu-ju")) + "\uFF1A ", 1),
3489
+ b("span", Ml, [
3488
3490
  B(r, {
3489
3491
  icon: "plus",
3490
3492
  style: { "vertical-align": "text-top" }
3491
3493
  }),
3492
- Ml
3494
+ kl
3493
3495
  ])
3494
3496
  ]),
3495
- b("div", kl, [
3496
- b("div", Rl, [
3497
+ b("div", Rl, [
3498
+ b("div", xl, [
3497
3499
  B(l)
3498
3500
  ])
3499
3501
  ])
3500
3502
  ]);
3501
3503
  }
3502
- const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b51862"]]), Vl = Q({
3504
+ const Vl = /* @__PURE__ */ oe(Pl, [["render", Fl], ["__scopeId", "data-v-f8b51862"]]), Ul = q({
3503
3505
  emits: {
3504
3506
  LayoutChange(e, t, n) {
3505
3507
  return !0;
3506
3508
  }
3507
3509
  },
3508
3510
  components: {
3509
- UseCustomLayoutSelector: Fl,
3510
- LayoutShow: Mo,
3511
- Icon: it
3511
+ UseCustomLayoutSelector: Vl,
3512
+ LayoutShow: ko,
3513
+ Icon: ct
3512
3514
  },
3513
3515
  props: {
3514
3516
  layouts: {
@@ -3547,8 +3549,8 @@ const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b5186
3547
3549
  () => e.layouts,
3548
3550
  () => {
3549
3551
  if (e.layouts && e.layouts.length > 0) {
3550
- const g = e.layouts;
3551
- o.splice(0, o.length, ...g);
3552
+ const p = e.layouts;
3553
+ o.splice(0, o.length, ...p);
3552
3554
  }
3553
3555
  },
3554
3556
  {
@@ -3559,39 +3561,39 @@ const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b5186
3559
3561
  let a = Se.StorageDefaultLayout.get();
3560
3562
  function r() {
3561
3563
  return a ? o.findIndex(
3562
- (g) => JSON.stringify(g) == JSON.stringify(a)
3564
+ (p) => JSON.stringify(p) == JSON.stringify(a)
3563
3565
  ) >= 0 : !1;
3564
3566
  }
3565
3567
  const l = r() ? a : o[2];
3566
- function i(g, w) {
3568
+ function i(p, w) {
3567
3569
  return t.emit(
3568
3570
  "LayoutChange",
3569
- JSON.stringify(g.layout),
3570
- g,
3571
+ JSON.stringify(p.layout),
3572
+ p,
3571
3573
  () => {
3572
3574
  u.value && d();
3573
3575
  }
3574
- ), g.cancel || (f.value = w), !g.cancel;
3576
+ ), p.cancel || (f.value = w), !p.cancel;
3575
3577
  }
3576
3578
  let c = !0;
3577
- const m = function(g, w) {
3578
- JSON.stringify(a) != JSON.stringify(g) && i(g, w) && c && (a = g.layout, Se.StorageDefaultLayout.set(g.layout)), f.value.length == 0 && i(g, w);
3579
+ const m = function(p, w) {
3580
+ JSON.stringify(a) != JSON.stringify(p) && i(p, w) && c && (a = p.layout, Se.StorageDefaultLayout.set(p.layout)), f.value.length == 0 && i(p, w);
3579
3581
  }, f = k(""), u = k(!1), d = () => {
3580
- u.value = !u.value, u.value ? window.addEventListener("click", p) : window.removeEventListener("click", p);
3581
- }, p = (g) => {
3582
- u.value && g.composedPath().findIndex(({ className: S }) => S == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", p));
3582
+ u.value = !u.value, u.value ? window.addEventListener("click", g) : window.removeEventListener("click", g);
3583
+ }, g = (p) => {
3584
+ u.value && p.composedPath().findIndex(({ className: S }) => S == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", g));
3583
3585
  };
3584
3586
  return {
3585
3587
  i18nT: Ne,
3586
- selectClassicalLayout: (g, w, S) => {
3588
+ selectClassicalLayout: (p, w, S) => {
3587
3589
  var T;
3588
3590
  S || (c = !1);
3589
- const E = o.find((P) => P.row == g && P.col == w && typeof P.area > "u" && typeof P.areas > "u");
3591
+ const E = o.find((P) => P.row == p && P.col == w && typeof P.area > "u" && typeof P.areas > "u");
3590
3592
  E && ((T = s.value) == null || T.SelectLayoutById(JSON.stringify(E))), S = !0;
3591
3593
  },
3592
- selectLoyoutById: (g, w) => {
3594
+ selectLoyoutById: (p, w) => {
3593
3595
  var S;
3594
- w || (c = !1), (S = s.value) == null || S.SelectLayoutById(g), w = !0;
3596
+ w || (c = !1), (S = s.value) == null || S.SelectLayoutById(p), w = !0;
3595
3597
  },
3596
3598
  refLayoutShow: s,
3597
3599
  clickShowSelectPanel: d,
@@ -3604,10 +3606,10 @@ const Fl = /* @__PURE__ */ oe(Dl, [["render", xl], ["__scopeId", "data-v-f8b5186
3604
3606
  },
3605
3607
  expose: ["selectLoyoutById", "selectClassicalLayout"]
3606
3608
  });
3607
- const Ul = { class: "layout-switcher" }, Gl = ["innerHTML"], zl = { class: "switch-panel" }, Hl = { style: { "margin-left": "10px" } }, jl = { style: { "margin-left": "10px", padding: "10px" } }, Wl = { style: { "margin-left": "10px" } };
3608
- function Bl(e, t, n, o, s, a) {
3609
- const r = fe("LayoutShow");
3610
- return N(), A("div", Ul, [
3609
+ const Gl = { class: "layout-switcher" }, zl = ["innerHTML"], Hl = { class: "switch-panel" }, jl = { style: { "margin-left": "10px" } }, Wl = { style: { "margin-left": "10px", padding: "10px" } }, Bl = { style: { "margin-left": "10px" } };
3610
+ function Kl(e, t, n, o, s, a) {
3611
+ const r = _e("LayoutShow");
3612
+ return N(), C("div", Gl, [
3611
3613
  b("div", {
3612
3614
  onClick: t[0] || (t[0] = (...l) => e.clickShowSelectPanel && e.clickShowSelectPanel(...l)),
3613
3615
  class: "switch-switcher"
@@ -3615,15 +3617,15 @@ function Bl(e, t, n, o, s, a) {
3615
3617
  b("div", {
3616
3618
  innerHTML: e.svgSelect,
3617
3619
  style: { height: "32px", display: "inline-block", "vertical-align": "middle", width: "32px" }
3618
- }, null, 8, Gl)
3620
+ }, null, 8, zl)
3619
3621
  ]),
3620
- Vn(b("div", zl, [
3621
- b("div", Hl, [
3622
- b("span", null, j(e.i18nT("qing-xuan-ze-bu-ju-yang-shi")), 1)
3623
- ]),
3622
+ Gn(b("div", Hl, [
3624
3623
  b("div", jl, [
3625
- b("div", Wl, [
3626
- b("span", null, j(e.i18nT("biao-zhun-bu-ju")) + "\uFF1A", 1),
3624
+ b("span", null, z(e.i18nT("qing-xuan-ze-bu-ju-yang-shi")), 1)
3625
+ ]),
3626
+ b("div", Wl, [
3627
+ b("div", Bl, [
3628
+ b("span", null, z(e.i18nT("biao-zhun-bu-ju")) + "\uFF1A", 1),
3627
3629
  B(r, {
3628
3630
  ref: "refLayoutShow",
3629
3631
  layouts: e.layout,
@@ -3633,14 +3635,14 @@ function Bl(e, t, n, o, s, a) {
3633
3635
  ])
3634
3636
  ])
3635
3637
  ], 512), [
3636
- [Un, e.showSelectPanel]
3638
+ [zn, e.showSelectPanel]
3637
3639
  ])
3638
3640
  ]);
3639
3641
  }
3640
- const Kl = /* @__PURE__ */ oe(Vl, [["render", Bl], ["__scopeId", "data-v-1b358304"]]), Yl = {
3642
+ const Yl = /* @__PURE__ */ oe(Ul, [["render", Kl], ["__scopeId", "data-v-1b358304"]]), Xl = {
3641
3643
  key: 0,
3642
3644
  class: "layout-display"
3643
- }, Xl = ["innerHTML"], Jl = { style: { display: "inline-block", height: "32px", width: "20px", "line-height": "32px", "vertical-align": "top" } }, Ql = /* @__PURE__ */ Q({
3645
+ }, Jl = ["innerHTML"], Ql = { style: { display: "inline-block", height: "32px", width: "32px", "line-height": "32px", "vertical-align": "top" } }, ql = /* @__PURE__ */ q({
3644
3646
  __name: "layoutDisplay",
3645
3647
  props: {
3646
3648
  layout: {
@@ -3655,7 +3657,7 @@ const Kl = /* @__PURE__ */ oe(Vl, [["render", Bl], ["__scopeId", "data-v-1b35830
3655
3657
  function n(s) {
3656
3658
  return s < 10 ? `0${s}` : s;
3657
3659
  }
3658
- const o = U(() => {
3660
+ const o = V(() => {
3659
3661
  if (t.layout) {
3660
3662
  const s = t.layout;
3661
3663
  return {
@@ -3667,26 +3669,26 @@ const Kl = /* @__PURE__ */ oe(Vl, [["render", Bl], ["__scopeId", "data-v-1b35830
3667
3669
  });
3668
3670
  return (s, a) => {
3669
3671
  var r;
3670
- return le(o) ? (N(), A("div", Yl, [
3672
+ return ae(o) ? (N(), C("div", Xl, [
3671
3673
  b("span", {
3672
- innerHTML: (r = le(o)) == null ? void 0 : r.svg,
3674
+ innerHTML: (r = ae(o)) == null ? void 0 : r.svg,
3673
3675
  style: { display: "inline-block", height: "32px", width: "32px", "line-height": "32px", "background-color": "rgb(201, 201, 201)" }
3674
- }, null, 8, Xl),
3675
- b("span", Jl, j(n(le(o).frams.length)), 1)
3676
- ])) : pe("", !0);
3676
+ }, null, 8, Jl),
3677
+ b("span", Ql, z(n(ae(o).frams.length)), 1)
3678
+ ])) : ge("", !0);
3677
3679
  };
3678
3680
  }
3679
3681
  });
3680
- const ko = /* @__PURE__ */ oe(Ql, [["__scopeId", "data-v-4e937302"]]);
3681
- var ql = Object.defineProperty, Zl = Object.defineProperties, ei = Object.getOwnPropertyDescriptors, Pn = Object.getOwnPropertySymbols, ti = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, $n = (e, t, n) => t in e ? ql(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, oi = (e, t) => {
3682
+ const Ro = /* @__PURE__ */ oe(ql, [["__scopeId", "data-v-0cfd31aa"]]);
3683
+ var Zl = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, Mn = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, kn = (e, t, n) => t in e ? Zl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, si = (e, t) => {
3682
3684
  for (var n in t || (t = {}))
3683
- ti.call(t, n) && $n(e, n, t[n]);
3684
- if (Pn)
3685
- for (var n of Pn(t))
3686
- ni.call(t, n) && $n(e, n, t[n]);
3685
+ ni.call(t, n) && kn(e, n, t[n]);
3686
+ if (Mn)
3687
+ for (var n of Mn(t))
3688
+ oi.call(t, n) && kn(e, n, t[n]);
3687
3689
  return e;
3688
- }, si = (e, t) => Zl(e, ei(t));
3689
- const Qe = [
3690
+ }, ri = (e, t) => ei(e, ti(t));
3691
+ const qe = [
3690
3692
  I.Test.genLayout(1, 1),
3691
3693
  I.Test.genLayout(1, 2),
3692
3694
  I.Test.genLayout(2, 2),
@@ -3710,7 +3712,7 @@ const Qe = [
3710
3712
  [3, 0, 5, 2],
3711
3713
  [5, 0, 7, 2]
3712
3714
  ])
3713
- ], ri = /* @__PURE__ */ Q({
3715
+ ], ai = /* @__PURE__ */ q({
3714
3716
  __name: "preLayout",
3715
3717
  props: {
3716
3718
  zIndexModal: {
@@ -3760,39 +3762,39 @@ const Qe = [
3760
3762
  [3, 0, 5, 2],
3761
3763
  [5, 0, 7, 2]
3762
3764
  ])
3763
- ]), c = U(() => i.map((f) => ({
3765
+ ]), c = V(() => i.map((f) => ({
3764
3766
  layout: f
3765
3767
  }))), m = document.body;
3766
- return ot(() => {
3768
+ return st(() => {
3767
3769
  window.document.removeEventListener("click", r);
3768
- }), (f, u) => (N(), A(ue, null, [
3769
- (N(), Fe(zn, { to: le(m) }, [
3770
- n.value ? (N(), A("div", {
3770
+ }), (f, u) => (N(), C(ue, null, [
3771
+ (N(), Fe(Hn, { to: ae(m) }, [
3772
+ n.value ? (N(), C("div", {
3771
3773
  key: 0,
3772
- style: _e([{ width: "330px", position: "absolute", "background-color": "white", "padding-left": "25px", border: "1px solid", "padding-top": "20px", "padding-bottom": "20px", "border-radius": "5px" }, si(oi({}, o), { zIndex: t.zIndexModal })]),
3774
+ style: me([{ width: "330px", position: "absolute", "background-color": "white", "padding-left": "25px", border: "1px solid", "padding-top": "20px", "padding-bottom": "20px", "border-radius": "5px" }, ri(si({}, o), { zIndex: t.zIndexModal })]),
3773
3775
  onClick: u[0] || (u[0] = (d) => d.stopPropagation())
3774
3776
  }, [
3775
- (N(!0), A(ue, null, Ee(le(c), (d, p) => (N(), A("span", {
3776
- key: p,
3777
+ (N(!0), C(ue, null, Ee(ae(c), (d, g) => (N(), C("span", {
3778
+ key: g,
3777
3779
  class: "layout-panel-item-container",
3778
3780
  style: { border: "1px solid" }
3779
3781
  }, [
3780
- B(ko, {
3782
+ B(Ro, {
3781
3783
  layout: d.layout,
3782
3784
  onClick: (v) => a(d.layout)
3783
3785
  }, null, 8, ["layout", "onClick"])
3784
3786
  ]))), 128))
3785
- ], 4)) : pe("", !0)
3787
+ ], 4)) : ge("", !0)
3786
3788
  ], 8, ["to"])),
3787
3789
  Y(f.$slots, "default", { addPreSetLayout: l }, void 0, !0)
3788
3790
  ], 64));
3789
3791
  }
3790
3792
  });
3791
- const ai = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-954fc7ec"]]), li = {
3793
+ const li = /* @__PURE__ */ oe(ai, [["__scopeId", "data-v-954fc7ec"]]), ii = {
3792
3794
  key: 0,
3793
3795
  style: { position: "relative" },
3794
3796
  class: "layout-container"
3795
- }, ii = { key: 1 }, ci = /* @__PURE__ */ Q({
3797
+ }, ci = { key: 1 }, ui = /* @__PURE__ */ q({
3796
3798
  __name: "layoutSelector",
3797
3799
  props: {
3798
3800
  row: {
@@ -3835,11 +3837,11 @@ const ai = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-954fc7ec"]]), li = {
3835
3837
  n("addPreset", f, i, { row: o.row, col: o.col });
3836
3838
  }
3837
3839
  return xe(() => {
3838
- o.layout ? o.layout == I.zeroLayout ? l.value = void 0 : l.value = o.layout : typeof o.index == "number" && o.index < Qe.length && (l.value = Qe[o.index]);
3840
+ o.layout ? o.layout == I.zeroLayout ? l.value = void 0 : l.value = o.layout : typeof o.index == "number" && o.index < qe.length && (l.value = qe[o.index]);
3839
3841
  }), Ie(
3840
3842
  () => o.index,
3841
3843
  () => {
3842
- typeof o.index == "number" && (o.index < Qe.length ? l.value = Qe[o.index] : l.value = void 0);
3844
+ typeof o.index == "number" && (o.index < qe.length ? l.value = qe[o.index] : l.value = void 0);
3843
3845
  }
3844
3846
  ), t({
3845
3847
  getLayout() {
@@ -3852,8 +3854,8 @@ const ai = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-954fc7ec"]]), li = {
3852
3854
  }
3853
3855
  };
3854
3856
  }
3855
- }), (f, u) => l.value ? (N(), A("div", li, [
3856
- B(ko, { layout: l.value }, null, 8, ["layout"]),
3857
+ }), (f, u) => l.value ? (N(), C("div", ii, [
3858
+ B(Ro, { layout: l.value }, null, 8, ["layout"]),
3857
3859
  b("div", {
3858
3860
  class: "close-btn",
3859
3861
  onClick: u[0] || (u[0] = (d) => c())
@@ -3863,23 +3865,23 @@ const ai = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-954fc7ec"]]), li = {
3863
3865
  class: "close-svg"
3864
3866
  })
3865
3867
  ])
3866
- ])) : (N(), A("div", ii, [
3868
+ ])) : (N(), C("div", ci, [
3867
3869
  b("div", null, [
3868
3870
  b("div", {
3869
3871
  class: "options",
3870
3872
  style: { "margin-bottom": "1px", "line-height": "18px", height: "18px" },
3871
3873
  onClick: u[1] || (u[1] = (d) => m(d))
3872
- }, j(le(Ne)("yu-she")), 1),
3874
+ }, z(ae(Ne)("yu-she")), 1),
3873
3875
  b("div", {
3874
3876
  class: "options",
3875
3877
  onClick: u[2] || (u[2] = (d) => r(d)),
3876
3878
  style: { "line-height": "19px", height: "19px" }
3877
- }, j(le(Ne)("zi-ding-yi")), 1)
3879
+ }, z(ae(Ne)("zi-ding-yi")), 1)
3878
3880
  ])
3879
3881
  ]));
3880
3882
  }
3881
3883
  });
3882
- const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { style: { height: "100%", width: "100%", position: "relative", padding: "5px", border: "1px solid", "border-radius": "5px", "background-color": "white" } }, fi = { style: { height: "40px" } }, _i = { style: { display: "inline-block", width: "150px", "margin-left": "30px" } }, mi = { style: { display: "inline-block", width: "40px" } }, pi = { style: { display: "inline-block", width: "20px" } }, gi = { style: { display: "inline-block", width: "150px" } }, hi = { style: { display: "inline-block", width: "40px" } }, vi = { style: { display: "inline-block", width: "20px" } }, yi = { style: { height: "calc(100% - 60px)", width: "calc(100% - 60px)", "margin-left": "30px", position: "relative" } }, Ei = ["onMousemove", "onMousedown"], wi = { style: { "text-align": "center", color: "white", "font-size": "48px", "margin-left": "20px", "margin-top": "20px" } }, bi = ["onClick"], Li = /* @__PURE__ */ Q({
3884
+ const di = /* @__PURE__ */ oe(ui, [["__scopeId", "data-v-d1d54937"]]), fi = { style: { height: "100%", width: "100%", "min-width": "522px", position: "relative", padding: "5px", border: "1px solid", "border-radius": "5px", "background-color": "white" } }, _i = { style: { height: "40px" } }, mi = { style: { display: "inline-block", width: "180px", "margin-left": "30px" } }, pi = { style: { display: "inline-block", width: "40px" } }, gi = { style: { display: "inline-block", width: "20px" } }, hi = { style: { display: "inline-block", width: "180px" } }, vi = { style: { display: "inline-block", width: "40px" } }, yi = { style: { display: "inline-block", width: "20px" } }, Ei = { style: { height: "calc(100% - 60px)", width: "calc(100% - 60px)", "margin-left": "30px", position: "relative" } }, wi = ["onMousemove", "onMousedown"], bi = { style: { "text-align": "center", color: "white", "font-size": "48px", "margin-left": "20px", "margin-top": "20px" } }, Li = ["onClick"], Oi = /* @__PURE__ */ q({
3883
3885
  __name: "index",
3884
3886
  props: {
3885
3887
  row: {
@@ -3902,14 +3904,14 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
3902
3904
  setup(e, { expose: t, emit: n }) {
3903
3905
  const o = e, s = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="black" d="M24 2.4L21.6 0L12 9.6L2.4 0L0 2.4L9.6 12L0 21.6L2.4 24l9.6-9.6l9.6 9.6l2.4-2.4l-9.6-9.6z"/></svg>', a = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 1200 1200"><path fill="#539d65" d="m1004.237 99.152l-611.44 611.441l-198.305-198.305L0 706.779l198.305 198.306l195.762 195.763L588.56 906.355L1200 294.916z"/></svg>';
3904
3906
  function r(O) {
3905
- p.splice(O, 1), $();
3907
+ g.splice(O, 1), $();
3906
3908
  }
3907
3909
  function l() {
3908
- n("ApplyLayoutCustom", Z());
3910
+ n("ApplyLayoutCustom", J());
3909
3911
  }
3910
3912
  function i() {
3911
3913
  var O;
3912
- o.row < 10 && ((O = o.updataLayoutInfo) == null || O.call(o, o.row + 1, o.col));
3914
+ o.row && ((O = o.updataLayoutInfo) == null || O.call(o, o.row + 1, o.col));
3913
3915
  }
3914
3916
  function c() {
3915
3917
  var O;
@@ -3917,39 +3919,39 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
3917
3919
  }
3918
3920
  function m() {
3919
3921
  var O;
3920
- o.col < 10 && ((O = o.updataLayoutInfo) == null || O.call(o, o.row, o.col + 1));
3922
+ o.col && ((O = o.updataLayoutInfo) == null || O.call(o, o.row, o.col + 1));
3921
3923
  }
3922
3924
  function f() {
3923
3925
  var O;
3924
3926
  o.col > 2 && d.value.col < o.col && ((O = o.updataLayoutInfo) == null || O.call(o, o.row, o.col - 1));
3925
3927
  }
3926
- const u = U(() => I.genLayout(o.row, o.col)), d = U(() => ({
3927
- col: Math.max(...p.map((O) => O.area.colsMax)),
3928
- row: Math.max(...p.map((O) => O.area.rowsMax))
3929
- })), p = we(new Array()), v = ["green", "red", "blue"];
3928
+ const u = V(() => I.genLayout(o.row, o.col)), d = V(() => ({
3929
+ col: Math.max(...g.map((O) => O.area.colsMax)),
3930
+ row: Math.max(...g.map((O) => O.area.rowsMax))
3931
+ })), g = we(new Array()), v = ["green", "red", "blue"];
3930
3932
  function y() {
3931
- return v[p.length % v.length];
3933
+ return v[g.length % v.length];
3932
3934
  }
3933
- const g = 0.125, w = U(() => {
3935
+ const p = 0.125, w = V(() => {
3934
3936
  if (D.first && D.last) {
3935
3937
  const O = {
3936
3938
  colsMin: Math.min(D.first.colsMin, D.last.colsMin),
3937
3939
  colsMax: Math.max(D.first.colsMax, D.last.colsMax),
3938
3940
  rowsMin: Math.min(D.first.rowsMin, D.last.rowsMin),
3939
3941
  rowsMax: Math.max(D.first.rowsMax, D.last.rowsMax)
3940
- }, C = y();
3942
+ }, A = y();
3941
3943
  return {
3942
3944
  infoGetter() {
3943
- const V = (O.colsMax - O.colsMin) / u.value.col * 100, Le = (O.rowsMax - O.rowsMin) / u.value.row * 100, Ae = V / 100 * u.value.col, ve = Le / 100 * u.value.row;
3945
+ const U = (O.colsMax - O.colsMin) / u.value.col * 100, Le = (O.rowsMax - O.rowsMin) / u.value.row * 100, de = U / 100 * u.value.col, Ue = Le / 100 * u.value.row;
3944
3946
  return {
3945
3947
  style: {
3946
- left: `calc(${(O.colsMin + g) / u.value.col * 100}%)`,
3947
- top: `calc(${(O.rowsMin + g) / u.value.row * 100}% `,
3948
- width: `calc(${V - g * 2 / u.value.col * 100}% )`,
3949
- height: `calc(${Le - g * 2 / u.value.row * 100}%)`,
3950
- backgroundColor: C
3948
+ left: `calc(${(O.colsMin + p) / u.value.col * 100}%)`,
3949
+ top: `calc(${(O.rowsMin + p) / u.value.row * 100}% `,
3950
+ width: `calc(${U - p * 2 / u.value.col * 100}% )`,
3951
+ height: `calc(${Le - p * 2 / u.value.row * 100}%)`,
3952
+ backgroundColor: A
3951
3953
  },
3952
- areaCount: Ae * ve
3954
+ areaCount: de * Ue
3953
3955
  };
3954
3956
  },
3955
3957
  area: O
@@ -3957,66 +3959,66 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
3957
3959
  }
3958
3960
  });
3959
3961
  function S(O) {
3960
- const [C, R] = [O.colsMin, O.colsMax], [V, Le] = [O.rowsMin, O.rowsMax], Ae = [];
3961
- return Array.from({ length: R - C }).map((ve, Ue) => {
3962
- const ct = `${Ue + C}-${Ue + C + 1}`;
3963
- Array.from({ length: Le - V }).map((Ut, Ye) => {
3964
- const ut = `${Ye + V}-${Ye + V + 1}`;
3965
- Ae.push(`${ct}|${ut}`);
3962
+ const [A, R] = [O.colsMin, O.colsMax], [U, Le] = [O.rowsMin, O.rowsMax], de = [];
3963
+ return Array.from({ length: R - A }).map((Ue, Ye) => {
3964
+ const ut = `${Ye + A}-${Ye + A + 1}`;
3965
+ Array.from({ length: Le - U }).map((Gt, Xe) => {
3966
+ const zt = `${Xe + U}-${Xe + U + 1}`;
3967
+ de.push(`${ut}|${zt}`);
3966
3968
  });
3967
- }), Ae;
3969
+ }), de;
3968
3970
  }
3969
- function T(O, C) {
3970
- return S(O).findIndex((R) => S(C).findIndex((V) => R == V) >= 0) >= 0;
3971
+ function T(O, A) {
3972
+ return S(O).findIndex((R) => S(A).findIndex((U) => R == U) >= 0) >= 0;
3971
3973
  }
3972
- function E(O, C) {
3974
+ function E(O, A) {
3973
3975
  const R = {
3974
- colsMin: Math.min(O.colsMin, C.colsMin),
3975
- colsMax: Math.max(O.colsMax, C.colsMax),
3976
- rowsMin: Math.min(O.rowsMin, C.rowsMin),
3977
- rowsMax: Math.max(O.rowsMax, C.rowsMax)
3976
+ colsMin: Math.min(O.colsMin, A.colsMin),
3977
+ colsMax: Math.max(O.colsMax, A.colsMax),
3978
+ rowsMin: Math.min(O.rowsMin, A.rowsMin),
3979
+ rowsMax: Math.max(O.rowsMax, A.rowsMax)
3978
3980
  };
3979
- return p.findIndex((V) => T(R, V.area)) >= 0;
3981
+ return g.findIndex((U) => T(R, U.area)) >= 0;
3980
3982
  }
3981
3983
  function P(O) {
3982
- const C = {
3984
+ const A = {
3983
3985
  colsMin: O.col,
3984
3986
  colsMax: O.col + O.w,
3985
3987
  rowsMin: O.row,
3986
3988
  rowsMax: O.row + O.h
3987
3989
  };
3988
- !D.first && E(C, C) || (D.first || (D.first = C), !E(D.first, C) && (D.last && Object.keys(C).findIndex(
3990
+ !D.first && E(A, A) || (D.first || (D.first = A), !E(D.first, A) && (D.last && Object.keys(A).findIndex(
3989
3991
  (R) => {
3990
- var V;
3991
- return ((V = D.last) == null ? void 0 : V[R]) != C[R];
3992
+ var U;
3993
+ return ((U = D.last) == null ? void 0 : U[R]) != A[R];
3992
3994
  }
3993
- ) < 0 || (D.last = C)));
3995
+ ) < 0 || (D.last = A)));
3994
3996
  }
3995
3997
  function $() {
3996
3998
  D.first = void 0, D.last = void 0;
3997
3999
  }
3998
4000
  const D = we({});
3999
- function X(O, C) {
4000
- O.buttons && P(C);
4001
+ function X(O, A) {
4002
+ O.buttons && P(A);
4001
4003
  }
4002
- function q() {
4004
+ function Z() {
4003
4005
  if (w.value) {
4004
4006
  const O = w.value;
4005
4007
  if (O && O.infoGetter().areaCount > 1) {
4006
- p.push(O);
4007
- const C = p.sort((R, V) => (R.area.rowsMin - V.area.rowsMin) * 1e3 + R.area.colsMin - V.area.colsMin);
4008
- p.splice(0, p.length, ...C);
4008
+ g.push(O);
4009
+ const A = g.sort((R, U) => (R.area.rowsMin - U.area.rowsMin) * 1e3 + R.area.colsMin - U.area.colsMin);
4010
+ g.splice(0, g.length, ...A);
4009
4011
  }
4010
4012
  $();
4011
4013
  }
4012
4014
  }
4013
4015
  xe(() => {
4014
- window.document.addEventListener("mouseup", q);
4015
- }), ot(() => {
4016
- window.document.removeEventListener("mouseup", q);
4016
+ window.document.addEventListener("mouseup", Z);
4017
+ }), st(() => {
4018
+ window.document.removeEventListener("mouseup", Z);
4017
4019
  });
4018
- function Z() {
4019
- const O = p.map((R) => [
4020
+ function J() {
4021
+ const O = g.map((R) => [
4020
4022
  R.area.colsMin,
4021
4023
  R.area.rowsMin,
4022
4024
  R.area.colsMax,
@@ -4028,85 +4030,87 @@ const ui = /* @__PURE__ */ oe(ci, [["__scopeId", "data-v-74c8042d"]]), di = { st
4028
4030
  O
4029
4031
  );
4030
4032
  }
4033
+ const Ae = V(() => J().count);
4031
4034
  return t({
4032
- getLayout: Z
4033
- }), (O, C) => (N(), A("div", di, [
4034
- b("div", fi, [
4035
- b("div", _i, [
4036
- b("span", mi, j(le(Ne)("hang-shu")), 1),
4037
- b("span", pi, j(o.row), 1),
4035
+ getLayout: J
4036
+ }), (O, A) => (N(), C("div", fi, [
4037
+ b("div", _i, [
4038
+ b("div", mi, [
4039
+ b("span", pi, z(ae(Ne)("hang-shu")), 1),
4040
+ b("span", gi, z(o.row), 1),
4038
4041
  b("button", {
4039
- onClick: C[0] || (C[0] = (R) => i()),
4042
+ onClick: A[0] || (A[0] = (R) => i()),
4040
4043
  style: { cursor: "pointer" }
4041
4044
  }, "+"),
4042
4045
  b("button", {
4043
4046
  style: { "margin-left": "2px", cursor: "pointer" },
4044
- onClick: C[1] || (C[1] = (R) => c())
4047
+ onClick: A[1] || (A[1] = (R) => c())
4045
4048
  }, " - ")
4046
4049
  ]),
4047
- b("div", gi, [
4048
- b("span", hi, j(le(Ne)("lie-shu")), 1),
4049
- b("span", vi, j(o.col), 1),
4050
+ b("div", hi, [
4051
+ b("span", vi, z(ae(Ne)("lie-shu")), 1),
4052
+ b("span", yi, z(o.col), 1),
4050
4053
  b("button", {
4051
- onClick: C[2] || (C[2] = (R) => m()),
4054
+ onClick: A[2] || (A[2] = (R) => m()),
4052
4055
  style: { cursor: "pointer" }
4053
4056
  }, "+"),
4054
4057
  b("button", {
4055
- onClick: C[3] || (C[3] = (R) => f()),
4058
+ onClick: A[3] || (A[3] = (R) => f()),
4056
4059
  style: { "margin-left": "2px", cursor: "pointer" }
4057
4060
  }, " - ")
4058
4061
  ]),
4062
+ Ct(" " + z(ae(Ae)) + " ", 1),
4059
4063
  b("button", {
4060
- style: { cursor: "pointer", position: "absolute", right: "10px" },
4061
- onClick: C[4] || (C[4] = (R) => l())
4064
+ style: { cursor: "pointer", "margin-left": "20px" },
4065
+ onClick: A[4] || (A[4] = (R) => l())
4062
4066
  }, [
4063
4067
  b("span", { innerHTML: a })
4064
4068
  ])
4065
4069
  ]),
4066
- b("div", yi, [
4067
- B(Vt, {
4068
- layout: le(u),
4070
+ b("div", Ei, [
4071
+ B(Ut, {
4072
+ layout: ae(u),
4069
4073
  class: "area-layout"
4070
4074
  }, {
4071
4075
  default: te((R) => [
4072
4076
  b("div", {
4073
4077
  class: "area-item",
4074
- onMousemove: (V) => X(V, R),
4075
- onMousedown: (V) => X(V, R)
4076
- }, j(R.id), 41, Ei)
4078
+ onMousemove: (U) => X(U, R),
4079
+ onMousedown: (U) => X(U, R)
4080
+ }, z(R.id), 41, wi)
4077
4081
  ]),
4078
4082
  _: 1
4079
4083
  }, 8, ["layout"]),
4080
- le(w) ? (N(), A("div", {
4084
+ ae(w) ? (N(), C("div", {
4081
4085
  key: 0,
4082
- style: _e(le(w).infoGetter().style),
4086
+ style: me(ae(w).infoGetter().style),
4083
4087
  class: "current-area"
4084
- }, null, 4)) : pe("", !0),
4085
- (N(!0), A(ue, null, Ee(p, (R, V) => (N(), A("div", {
4086
- style: _e([R.infoGetter().style, {}]),
4088
+ }, null, 4)) : ge("", !0),
4089
+ (N(!0), C(ue, null, Ee(g, (R, U) => (N(), C("div", {
4090
+ style: me([R.infoGetter().style, {}]),
4087
4091
  class: "current-area"
4088
4092
  }, [
4089
- b("span", wi, j(V + 1), 1),
4093
+ b("span", bi, z(U + 1), 1),
4090
4094
  b("span", {
4091
4095
  class: "close-svg",
4092
4096
  innerHTML: s,
4093
- onClick: (Le) => r(V)
4094
- }, null, 8, bi)
4097
+ onClick: (Le) => r(U)
4098
+ }, null, 8, Li)
4095
4099
  ], 4))), 256))
4096
4100
  ])
4097
4101
  ]));
4098
4102
  }
4099
4103
  });
4100
- const Oi = /* @__PURE__ */ oe(Li, [["__scopeId", "data-v-dc80afb8"]]);
4101
- var Ii = Object.defineProperty, Ti = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Mn = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, kn = (e, t, n) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ai = (e, t) => {
4104
+ const Ii = /* @__PURE__ */ oe(Oi, [["__scopeId", "data-v-27292e2e"]]);
4105
+ var Ti = Object.defineProperty, Ni = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Rn = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, xn = (e, t, n) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Di = (e, t) => {
4102
4106
  for (var n in t || (t = {}))
4103
- Si.call(t, n) && kn(e, n, t[n]);
4104
- if (Mn)
4105
- for (var n of Mn(t))
4106
- Ci.call(t, n) && kn(e, n, t[n]);
4107
+ Ci.call(t, n) && xn(e, n, t[n]);
4108
+ if (Rn)
4109
+ for (var n of Rn(t))
4110
+ Ai.call(t, n) && xn(e, n, t[n]);
4107
4111
  return e;
4108
- }, Di = (e, t) => Ti(e, Ni(t));
4109
- const Pi = /* @__PURE__ */ Q({
4112
+ }, Pi = (e, t) => Ni(e, Si(t));
4113
+ const $i = /* @__PURE__ */ q({
4110
4114
  __name: "layout-custom-editor",
4111
4115
  props: {
4112
4116
  zIndexModal: {
@@ -4119,7 +4123,7 @@ const Pi = /* @__PURE__ */ Q({
4119
4123
  a.row = u, a.col = d;
4120
4124
  }
4121
4125
  function s(u) {
4122
- r == null || r(u);
4126
+ r == null || r(u), f.value = !1;
4123
4127
  }
4124
4128
  const a = we({
4125
4129
  row: 5,
@@ -4129,10 +4133,10 @@ const Pi = /* @__PURE__ */ Q({
4129
4133
  function l() {
4130
4134
  f.value = !1, window.document.removeEventListener("click", l);
4131
4135
  }
4132
- const i = U(() => c.value ? {
4136
+ const i = V(() => c.value ? {
4133
4137
  position: "absolute",
4134
- top: `${c.value.y}px`,
4135
- left: `${c.value.x}px`,
4138
+ top: `${c.value.y * 0 + 80}px`,
4139
+ left: `${c.value.x * 0 + 40}px`,
4136
4140
  height: `${a.row * 50 + 60}px`,
4137
4141
  width: `${a.col * 80 + 60}px`
4138
4142
  } : {}), c = k();
@@ -4144,45 +4148,45 @@ const Pi = /* @__PURE__ */ Q({
4144
4148
  const f = k(!1);
4145
4149
  return xe(() => {
4146
4150
  n.value = document.body;
4147
- }), ot(() => {
4151
+ }), st(() => {
4148
4152
  window.document.removeEventListener("click", l);
4149
- }), (u, d) => (N(), A(ue, null, [
4150
- n.value ? (N(), Fe(zn, {
4153
+ }), (u, d) => (N(), C(ue, null, [
4154
+ n.value ? (N(), Fe(Hn, {
4151
4155
  key: 0,
4152
4156
  to: n.value
4153
4157
  }, [
4154
- f.value ? (N(), A("div", {
4158
+ f.value ? (N(), C("div", {
4155
4159
  key: 0,
4156
- style: _e([{ "background-color": "white" }, Di(Ai({}, le(i)), { zIndex: t.zIndexModal })]),
4157
- onClick: d[0] || (d[0] = (p) => p.stopPropagation())
4160
+ style: me([{ "background-color": "white" }, Pi(Di({}, ae(i)), { zIndex: t.zIndexModal })]),
4161
+ onClick: d[0] || (d[0] = (g) => g.stopPropagation())
4158
4162
  }, [
4159
- B(Oi, {
4163
+ B(Ii, {
4160
4164
  row: a.row,
4161
4165
  col: a.col,
4162
4166
  updataLayoutInfo: o,
4163
4167
  onApplyLayoutCustom: s
4164
4168
  }, null, 8, ["row", "col"])
4165
- ], 4)) : pe("", !0)
4166
- ], 8, ["to"])) : pe("", !0),
4169
+ ], 4)) : ge("", !0)
4170
+ ], 8, ["to"])) : ge("", !0),
4167
4171
  Y(u.$slots, "default", { addCustomLayoutGen: m })
4168
4172
  ], 64));
4169
4173
  }
4170
4174
  });
4171
- var $i = Object.defineProperty, Rn = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, xn = (e, t, n) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ri = (e, t) => {
4175
+ var Mi = Object.defineProperty, Fn = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Vn = (e, t, n) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xi = (e, t) => {
4172
4176
  for (var n in t || (t = {}))
4173
- Mi.call(t, n) && xn(e, n, t[n]);
4174
- if (Rn)
4175
- for (var n of Rn(t))
4176
- ki.call(t, n) && xn(e, n, t[n]);
4177
+ ki.call(t, n) && Vn(e, n, t[n]);
4178
+ if (Fn)
4179
+ for (var n of Fn(t))
4180
+ Ri.call(t, n) && Vn(e, n, t[n]);
4177
4181
  return e;
4178
4182
  };
4179
- const xi = {
4183
+ const Fi = {
4180
4184
  class: "dash-border",
4181
4185
  style: {
4182
4186
  width: "78px",
4183
4187
  height: "48px"
4184
4188
  }
4185
- }, Fi = { style: { width: "100%", height: "40px" } }, Vi = { class: "add-row-panel" }, Ui = /* @__PURE__ */ Q({
4189
+ }, Vi = { style: { width: "100%", height: "40px" } }, Ui = { class: "add-row-panel" }, Gi = /* @__PURE__ */ q({
4186
4190
  __name: "layoutGen",
4187
4191
  props: {
4188
4192
  savedLayout: {
@@ -4208,7 +4212,7 @@ const xi = {
4208
4212
  getLayouts() {
4209
4213
  return {
4210
4214
  layouts: r.value.map((m) => m.getLayout()).filter((m) => !!m),
4211
- meta: Ri({}, ze(o))
4215
+ meta: xi({}, ze(o))
4212
4216
  };
4213
4217
  }
4214
4218
  });
@@ -4224,24 +4228,24 @@ const xi = {
4224
4228
  }
4225
4229
  return xe(() => {
4226
4230
  n.savedLayout && (o.row = n.savedLayout.meta.row, o.col = n.savedLayout.meta.col);
4227
- }), (i, c) => (N(), Fe(Pi, {
4231
+ }), (i, c) => (N(), Fe($i, {
4228
4232
  zIndexModal: n.zIndexModal
4229
4233
  }, {
4230
4234
  default: te(({ addCustomLayoutGen: m }) => [
4231
- B(ai, {
4235
+ B(li, {
4232
4236
  zIndexModal: n.zIndexModal
4233
4237
  }, {
4234
4238
  default: te(({ addPreSetLayout: f }) => [
4235
4239
  b("div", null, [
4236
4240
  b("div", {
4237
- style: _e([{ display: "inline-block", "vertical-align": "top" }, { width: `${80 * o.col}px` }])
4241
+ style: me([{ display: "inline-block", "vertical-align": "top" }, { width: `${80 * o.col}px` }])
4238
4242
  }, [
4239
- (N(!0), A(ue, null, Ee(Array.from({ length: o.row }), (u, d) => (N(), A("div", {
4240
- style: _e({ width: `${80 * o.col}px` })
4243
+ (N(!0), C(ue, null, Ee(Array.from({ length: o.row }), (u, d) => (N(), C("div", {
4244
+ style: me({ width: `${80 * o.col}px` })
4241
4245
  }, [
4242
- (N(!0), A(ue, null, Ee(Array.from({ length: o.col }), (p, v) => (N(), A("div", xi, [
4243
- b("div", Fi, [
4244
- B(ui, {
4246
+ (N(!0), C(ue, null, Ee(Array.from({ length: o.col }), (g, v) => (N(), C("div", Fi, [
4247
+ b("div", Vi, [
4248
+ B(di, {
4245
4249
  ref_for: !0,
4246
4250
  ref_key: "layoutSelectorRefs",
4247
4251
  ref: r,
@@ -4255,7 +4259,7 @@ const xi = {
4255
4259
  ])
4256
4260
  ]))), 256))
4257
4261
  ], 4))), 256)),
4258
- b("div", Vi, [
4262
+ b("div", Ui, [
4259
4263
  b("div", {
4260
4264
  onClick: c[0] || (c[0] = (u) => a()),
4261
4265
  style: { display: "inline-block", width: "calc(50% - 5px)" },
@@ -4277,7 +4281,7 @@ const xi = {
4277
4281
  }, 8, ["zIndexModal"]));
4278
4282
  }
4279
4283
  });
4280
- const Gi = /* @__PURE__ */ oe(Ui, [["__scopeId", "data-v-a44695f9"]]), zi = { style: { "background-color": "white" } }, Hi = /* @__PURE__ */ Q({
4284
+ const zi = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-c71da28e"]]), Hi = { style: { "background-color": "white" } }, ji = /* @__PURE__ */ q({
4281
4285
  __name: "index",
4282
4286
  props: {
4283
4287
  savedLayout: {
@@ -4288,45 +4292,46 @@ const Gi = /* @__PURE__ */ oe(Ui, [["__scopeId", "data-v-a44695f9"]]), zi = { st
4288
4292
  }
4289
4293
  },
4290
4294
  setup(e, { expose: t }) {
4291
- const n = e, o = k();
4295
+ const n = k();
4292
4296
  return t({
4293
4297
  getLayout() {
4294
- var s;
4295
- return (s = o.value) == null ? void 0 : s.getLayouts();
4298
+ var o;
4299
+ return (o = n.value) == null ? void 0 : o.getLayouts();
4296
4300
  }
4297
- }), (s, a) => (N(), A("div", zi, [
4298
- B(Gi, {
4301
+ }), (o, s) => (N(), C("div", Hi, [
4302
+ B(zi, {
4299
4303
  ref_key: "refLayoutGen",
4300
- ref: o,
4301
- savedLayout: n.savedLayout,
4302
- zIndexModal: n.zIndexModal
4304
+ ref: n,
4305
+ savedLayout: e.savedLayout,
4306
+ zIndexModal: e.zIndexModal
4303
4307
  }, null, 8, ["savedLayout", "zIndexModal"])
4304
4308
  ]));
4305
4309
  }
4306
4310
  });
4307
- const ji = /* @__PURE__ */ oe(Hi, [["__scopeId", "data-v-ab800ae2"]]), Fn = {
4308
- RecursionDeviceGroup: tl,
4309
- VideoAreasLayoutShow: Vt,
4310
- MultiVideoAreaLayoutSwitch: Kl,
4311
- VideoAreasLayoutCustom: ji
4311
+ const Wi = /* @__PURE__ */ oe(ji, [["__scopeId", "data-v-a049e2ea"]]), Un = {
4312
+ RecursionDeviceGroup: nl,
4313
+ VideoAreasLayoutShow: Ut,
4314
+ MultiVideoAreaLayoutSwitch: Yl,
4315
+ VideoAreasLayoutCustom: Wi
4312
4316
  }, Xi = {
4313
4317
  install(e, t) {
4314
- Hr(
4315
- t && typeof t.locale < "u" ? t.locale : ho.en
4316
- ), t.deviceListDisplayStyle && Wr(t.deviceListDisplayStyle);
4317
- for (const n in Fn) {
4318
- const o = Fn[n];
4318
+ jr(
4319
+ t && typeof t.locale < "u" ? t.locale : vo.en
4320
+ ), t.deviceListDisplayStyle && Br(t.deviceListDisplayStyle);
4321
+ for (const n in Un) {
4322
+ const o = Un[n];
4319
4323
  e.component(n, o);
4320
4324
  }
4321
4325
  }
4322
4326
  };
4323
4327
  export {
4324
- vo as DeviceListNameDisplayStyle,
4325
- yo as DeviceListTheme,
4326
- jr as GetGlobalDeviceListTheme,
4327
- Kr as GetIsHideDeviceIdInDeviceDisplay,
4328
- gn as RecursionDeviceGroup,
4329
- Wr as SetDeviceListNameDisplayStyle,
4328
+ yo as DeviceListNameDisplayStyle,
4329
+ Eo as DeviceListTheme,
4330
+ Wr as GetGlobalDeviceListTheme,
4331
+ Yr as GetIsHideDeviceIdInDeviceDisplay,
4332
+ vn as RecursionDeviceGroup,
4333
+ vn as RecursionDeviceGroupModel,
4334
+ Br as SetDeviceListNameDisplayStyle,
4330
4335
  Ki as SetGlobalDeviceListTheme,
4331
4336
  Yi as SetIsHideDeviceIdInDeviceDisplay,
4332
4337
  I as VideoAreaLayout,